[<zlib2] build failure

Host Environment
Windows

OS: [e.g. Windows/Linux etc...]
Compiler: revision

To Reproduce
Steps to reproduce the behavior:
I failed to create a package according to the official website：https://vcpkg.io/en/docs/examples/packaging-zipfiles.html#bootstrap-with-create
vcpkg create zlib2 http://zlib.net/zlib-1.2.13.tar.gz zlib1213.tar.gz
vcpkg install zlib2

Failure logs
D:\lthinstall\vcpkg>vcpkg install zlib2:x64-uwp
Computing installation plan...
The following packages will be built and installed:
    zlib2[core]:x64-uwp -> 1.2.13
Detecting compiler hash for triplet x64-uwp...
-- Automatically setting HTTP(S)_PROXY environment variables to "<IP_ADDRESS>:10809".
Restored 0 package(s) from C:\Users\litaihong.LUCULENT\AppData\Local\vcpkg\archives in 1.619 ms. Use --debug to see more details.
Installing 1/1 zlib2:x64-uwp...
Building zlib2[core]:x64-uwp...
-- Using cached zlib1213.tar.gz.
-- Cleaning sources at D:/lthinstall/vcpkg/buildtrees/zlib2/src/zlib1213-6bc4f4f9f5.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/lthinstall/vcpkg/downloads/zlib1213.tar.gz
-- Using source at D:/lthinstall/vcpkg/buildtrees/zlib2/src/zlib1213-6bc4f4f9f5.clean
-- Configuring x64-uwp
-- Building x64-uwp-dbg
-- Building x64-uwp-rel
-- Performing post-build validation
warning: Include files should not be duplicated into the /debug/include directory. If this cannot be disabled in the project cmake, use
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
warning: /debug/share should not exist. Please reorganize any important files, then use
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
INTERNAL ERROR: failed to format default format string for index 649
format string: The software license must be available at ${CURRENT_PACKAGES_DIR}/share/{spec}/copyright

Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.
vcpkg.json
{
  "name": "zlib2",
  "version": "1.2.13",
  "homepage": "https://www.zlib.net/",
  "license": "Zlib",
  "description": "",
  "dependencies": [
    {
      "name": "vcpkg-cmake",
      "host": true
    }
  ]
}

I also have this problem. I am using a custom triplet and a package on a custom registry:
Installing 9/9 wslay:x64-linux-heroic...
Building wslay[core]:x64-linux-heroic...
-- [OVERLAY] Loading triplet configuration from: /home/lugehorsam/nakama-cpp/cmake/triplets/x64-linux-heroic.cmake
-- Installing port from location: /home/lugehorsam/.cache/vcpkg/registries/git-trees/ab0bd4657c308e631f074b134d8b38056b405888
-- Using cached tatsuhiro-t-wslay-release-1.1.1.tar.gz.
-- Cleaning sources at /home/lugehorsam/vcpkg/buildtrees/wslay/src/ease-1.1.1-4691e9c609.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/lugehorsam/vcpkg/downloads/tatsuhiro-t-wslay-release-1.1.1.tar.gz
-- Using source at /home/lugehorsam/vcpkg/buildtrees/wslay/src/ease-1.1.1-4691e9c609.clean
-- Configuring x64-linux-heroic
-- Building x64-linux-heroic-rel
-- Performing post-build validation
INTERNAL ERROR: failed to format default format string for index 649
format string: The software license must be available at ${CURRENT_PACKAGES_DIR}/share/{spec}/copyright
-- Running vcpkg install - failed
CMake Error at /home/lugehorsam/vcpkg/scripts/buildsystems/vcpkg.cmake:883 (message):
  vcpkg install failed.  See logs for more information:
  /home/lugehorsam/nakama-cpp/build/linux-amd64/vcpkg-manifest-install.log
Call Stack (most recent call first):
  /usr/share/cmake-3.23/Modules/CMakeDetermineSystem.cmake:124 (include)
  CMakeLists.txt:70 (project)

The portfile:
set(VERSION 1.1.1)

vcpkg_from_github(
    OUT_SOURCE_PATH SOURCE_PATH
    REPO tatsuhiro-t/wslay
    REF release-${VERSION}
    SHA512 b42c66c738a3f33bc7de30e8975f4fb2dc60a8baef44be8d254110c8915e14cdaa4cbdd6b29184a66061fe387ec0948e896cb174a1dd8c85a97b5feedfde162e
    HEAD_REF master
)

string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" BUILD_SHARED)

vcpkg_cmake_configure(
    SOURCE_PATH ${SOURCE_PATH}
    OPTIONS
        -DWSLAY_STATIC=${BUILD_STATIC}
        -DWSLAY_SHARED=${BUILD_SHARED}

        # On consoles system header files are using GNU extensions
        -DCMAKE_C_FLAGS_INIT="-Wno-gnu-statement-expression"
    OPTIONS_DEBUG
        # vcpkg wants debug not to install headers, only binaries
        # so in debug mode we install them outside of CMAKE_INSTALL_PREFIX
        -DCMAKE_INSTALL_INCLUDEDIR=/tmp/ignoreme
)
vcpkg_cmake_install()

vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})

file(REMOVE_RECURSE
        ${CURRENT_PACKAGES_DIR}/debug/share
)

You need to customize the generated portfile. Like cleaning up redundant directories or installing a share/${PORT}/copyright.

Thanks. Installing the license resolved the issue for me.

INTERNAL ERROR: failed to format default format string for index 649
format string: The software license must be available at ${CURRENT_PACKAGES_DIR}/share/{spec}/copyright

This  specific error war reported again as #28845 and fixed in vcpkg tool (but not released yet).


BUG: Alignment issue in the navbar inside the login section

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
The navbar alignment is misaligned in the login section, causing layout issues.

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

i want to work on this project .please assign it to me

/assign


Post-training quantization for efficientnet_lite give bad accuracy

Click to expand!
Issue Type
Performance
Source
source
Tensorflow Version
tf 2.8
Custom Code
No
OS Platform and Distribution
ubntu 18.04
Mobile device
None
Python version
3.8.10
Bazel version
None
GCC/Compiler version
None
CUDA/cuDNN version
None
GPU model and memory
None
Current Behaviour?
Thank for your image classification model [maker](https://www.tensorflow.org/lite/tutorials/model_maker_image_classification). By follow your tutorial, i create a training script with a purpose to use efficientnet-lite as our classifier.

However, after export tflite model (efficientnet_lite2). Without quantization, out model get high accuracy (99.4% on my test dataset), very low speed (1.3748071193695068/image).
So i decide to use quantization to get better speed.
But the accuray is really bad.

### Relevant log output

```shell
Model: "sequential"
_________________________________________________________________
Layer (type)                 Output Shape              Param #
=================================================================
hub_keras_layer_v1v2 (HubKer (None, 1280)              4869168
_________________________________________________________________
dropout (Dropout)            (None, 1280)              0
_________________________________________________________________
dense (Dense)                (None, 2)                 2562
=================================================================
Total params: 4,871,730
Trainable params: 2,562
Non-trainable params: 4,869,168
_________________________________________________________________
None
/usr/local/lib/python3.8/dist-packages/keras/optimizer_v2/optimizer_v2.py:355: UserWarning: The `lr` argument is deprecated, use `learning_rate` instead.
  warnings.warn(
Epoch 1/5
2022-04-19 03:05:06.677678: I tensorflow/stream_executor/cuda/cuda_dnn.cc:381] Loaded cuDNN version 8204
455/455 [==============================] - 204s 442ms/step - loss: 0.2681 - accuracy: 0.9708 - val_loss: 0.2391 - val_accuracy: 0.9897
Epoch 2/5
455/455 [==============================] - 202s 441ms/step - loss: 0.2428 - accuracy: 0.9881 - val_loss: 0.2343 - val_accuracy: 0.9930
Epoch 3/5
455/455 [==============================] - 203s 443ms/step - loss: 0.2396 - accuracy: 0.9901 - val_loss: 0.2320 - val_accuracy: 0.9933
Epoch 4/5
455/455 [==============================] - 203s 445ms/step - loss: 0.2373 - accuracy: 0.9909 - val_loss: 0.2308 - val_accuracy: 0.9941
Epoch 5/5
455/455 [==============================] - 202s 442ms/step - loss: 0.2365 - accuracy: 0.9913 - val_loss: 0.2301 - val_accuracy: 0.9940
Model: "sequential"
_________________________________________________________________
Layer (type)                 Output Shape              Param #
=================================================================
hub_keras_layer_v1v2 (HubKer (None, 1280)              4869168
_________________________________________________________________
dropout (Dropout)            (None, 1280)              0
_________________________________________________________________
dense (Dense)                (None, 2)                 2562
=================================================================
Total params: 4,871,730
Trainable params: 2,562
Non-trainable params: 4,869,168
_________________________________________________________________
228/228 [==============================] - 33s 54ms/step - loss: 0.2290 - accuracy: 0.9951
############### FOR FP32 MODEL
2022-04-19 03:22:31.386912: W tensorflow/python/util/util.cc:348] Sets are not currently considered sequences, but this may change in the future, so consider avoiding using them.
2022-04-19 03:22:33.971451: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1050] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-04-19 03:22:33.972101: I tensorflow/core/grappler/devices.cc:66] Number of eligible GPUs (core count >= 8, compute capability >= 0.0): 1
2022-04-19 03:22:33.972400: I tensorflow/core/grappler/clusters/single_machine.cc:357] Starting new session
2022-04-19 03:22:33.973941: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1050] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-04-19 03:22:33.974352: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1050] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-04-19 03:22:33.974627: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1050] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-04-19 03:22:33.976490: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1050] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-04-19 03:22:33.976763: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1050] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-04-19 03:22:33.977095: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1510] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 8938 MB memory:  -> device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:2d:00.0, compute capability: 7.5
2022-04-19 03:22:34.005010: I tensorflow/core/grappler/optimizers/meta_optimizer.cc:1164] Optimization results for grappler item: graph_to_optimize
  function_optimizer: Graph size after: 1188 nodes (856), 1203 edges (869), time = 13.073ms.
  function_optimizer: function_optimizer did nothing. time = 0.225ms.

2022-04-19 03:22:34.653218: W tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc:351] Ignored output_format.
2022-04-19 03:22:34.653265: W tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc:354] Ignored drop_control_dependency.
2022-04-19 03:22:34.711780: I tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc:210] disabling MLIR crash reproducer, set env var `MLIR_CRASH_REPRODUCER_DIRECTORY` to enable.
fully_quantize: 0, inference_type: 6, input_inference_type: 3, output_inference_type: 3
WARNING:absl:For model inputs containing unsupported operations which cannot be quantized, the `inference_input_type` attribute will default to the original type.
############### FOR FP16 MODEL
2022-04-19 03:32:07.372624: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1050] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-04-19 03:32:07.372880: I tensorflow/core/grappler/devices.cc:66] Number of eligible GPUs (core count >= 8, compute capability >= 0.0): 1
2022-04-19 03:32:07.372951: I tensorflow/core/grappler/clusters/single_machine.cc:357] Starting new session
2022-04-19 03:32:07.373226: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1050] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-04-19 03:32:07.373494: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1050] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-04-19 03:32:07.373724: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1050] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-04-19 03:32:07.373987: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1050] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-04-19 03:32:07.374212: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1050] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-04-19 03:32:07.374402: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1510] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 8938 MB memory:  -> device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:2d:00.0, compute capability: 7.5
2022-04-19 03:32:07.397998: I tensorflow/core/grappler/optimizers/meta_optimizer.cc:1164] Optimization results for grappler item: graph_to_optimize
  function_optimizer: Graph size after: 1188 nodes (856), 1203 edges (869), time = 12.634ms.
  function_optimizer: function_optimizer did nothing. time = 0.21ms.

2022-04-19 03:32:08.278801: W tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc:351] Ignored output_format.
2022-04-19 03:32:08.278847: W tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc:354] Ignored drop_control_dependency.

Hi everyone, Is there any update?

Hi @HoangTienDuc ! Sorry for the late response. Could you check with the below code snippet and let us know the difference.
import tensorflow as tf
print(tf.__version__)

model_file = '/content/mobilenet_v2_1.0_224_frozen_pb' // your model here
converter = tf.lite.TFLiteConverter.from_saved_model(model_file)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
#converter.target_spec.supported_ops = [
 # tf.lite.OpsSet.TFLITE_BUILTINS, # enable TensorFlow Lite ops.
  #tf.lite.OpsSet.SELECT_TF_OPS # enable TensorFlow ops.
#] use select ops too if you face any select ops issue
converter.experimental_new_converter = True //enables MLIR operator conversion.
converter.allow_custom_ops = True
tflite_model = converter.convert()

Hi @mohantym
Thank for your response
However, the result is still very bad.
Reproduce
Train code
import os

import numpy as np

import tensorflow as tf
assert tf.__version__.startswith('2')

from tflite_model_maker import model_spec
from tflite_model_maker import image_classifier
from tflite_model_maker.config import ExportFormat
from tflite_model_maker.config import QuantizationConfig
from tflite_model_maker.image_classifier import DataLoader

# PATH TO FOLDER CONTAIN DATASET
image_path = "/ws/dataset/flower_photos_preprocess"

data = DataLoader.from_folder(image_path)

train_data, rest_data = data.split(0.80)
validation_data, test_data = rest_data.split(0.5)

# IMAGE_CLASSIFICATION_MODELS = [
    # 'efficientnet_lite0', 'efficientnet_lite1', 'efficientnet_lite2',
    # 'efficientnet_lite3', 'efficientnet_lite4', 'mobilenet_v2', 'resnet_50'
# ]
# model = image_classifier.create(train_data, model_spec=model_spec.get('mobilenet_v2'), validation_data=validation_data)
model_dir = "/ws/tensorflow/tensorflow/lite/g3doc/tutorials/models/2"
model = image_classifier.create(train_data, model_spec=model_spec.get('efficientnet_lite2'), validation_data=validation_data, \
    batch_size=128, shuffle=True, model_dir=model_dir, epochs=100, use_hub_library=False)

model.summary()

loss, accuracy = model.evaluate(test_data)

print("############### EVELUATE FP32 MODEL")
model.export(export_dir=model_dir, \
    tflite_filename='model.tflite')
# model.evaluate_tflite(os.path.join(model_dir, 'model.tflite'), test_data)

model.export(export_dir=model_dir, export_format=ExportFormat.SAVED_MODEL)
# model.evaluate_tflite('model.tflite', test_data)

print("############### EVELUATE FP16 MODEL")
config = QuantizationConfig.for_float16()
model.export(export_dir=model_dir, \
    tflite_filename='model_fp16.tflite', quantization_config=config)
model.evaluate_tflite(os.path.join(model_dir, 'model_fp16.tflite'), test_data)

Export code
import tensorflow as tf
print(tf.__version__)

model_file = '/ws/models/2/saved_model' #// your model here
converter = tf.lite.TFLiteConverter.from_saved_model(model_file)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
#converter.target_spec.supported_ops = [
 # tf.lite.OpsSet.TFLITE_BUILTINS, # enable TensorFlow Lite ops.
  #tf.lite.OpsSet.SELECT_TF_OPS # enable TensorFlow ops.
#] use select ops too if you face any select ops issue
converter.experimental_new_quantizer = True #//enables MLIR operator  quantization
converter.allow_custom_ops = True
tflite_model = converter.convert()
with open('model_fp16_haha.tflite', 'wb') as f:
  f.write(tflite_model)

Test code
import tflite_runtime.interpreter as tflite
import cv2
import numpy as np
import os

class Classifier():
    def __init__(self, model_file="model_fp16_haha.tflite"):
        self.model_file = model_file

    def prepare(self):
        self.interpreter = tflite.Interpreter(model_path=self.model_file)
        self.interpreter.allocate_tensors()
        self.input_details = self.interpreter.get_input_details()
        self.output_details = self.interpreter.get_output_details()
        self.width = self.input_details[0]['shape'][1]
        self.height = self.input_details[0]['shape'][2]

    def preprocess(self, img):
        img = cv2.resize(img, (self.width, self.height))
        img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
        img = (img - 128.) / 128.
        input_data = np.expand_dims(img, axis=0).astype('float32')
        return input_data
    def run(self, img):
        input_data = self.preprocess(img)
        self.interpreter.set_tensor(self.input_details[0]['index'], input_data)
        self.interpreter.invoke()
        output_data = self.interpreter.get_tensor(self.output_details[0]['index'])
        results = np.squeeze(output_data)
        top_k = np.argmax(results)
        return top_k

model = Classifier()
model.prepare()

test_dir = "/ws/re-training/dataset/flower_photos/daisy/"
image_names = os.listdir(test_dir)
for image_name in image_names:
    path = os.path.join(test_dir, image_name)
    image = cv2.imread(path)
    print(model.run(image))

@HoangTienDuc I have run the code using tflite model maker nightly version and I have observed that fp16 quantization gives comparable results with non quantized one. Could you please check this gist and let us know if it helps. Thank you.


The issue of errors in cross package serialization processing

When the defined structure and the processed program are not in the same package in a program, it will affect the serialization processing. Why not use the encoding/gob package for cross package serialization processing?

I am facing a similar issue that service-weaver's weaver.AutoMarshal is failing to recognize other structs in different package which are also serialized using weaver.AutoMarshal
My use-case is similar to this
Package 1 -> Contains a complex struct , lets call it A ( serialize using weaver.AutoMarshal  )
type A struct {
        weaver.AutoMarshal
         fields...
  }

Package 2 -> Contains a nested struct  with a field composed of struct from package 1
type B {
      weaver.AutoMarshal
      field A
      fields...
  }

Now weaver generate fails to generate bindings for my type B saying that A is not serializable although I already did weaver generate for the first type.
I am new to service weaver and types in my projects are very complex and nested and till now weaver.AutoMarshal is not working very well for me, any hints on above issue ?

@flouthoc, what you described it should work with weaver.
There are 2 possible scenarios why you might have issues with this:

You forgot to run weaver generate in all packages in the right order; best is you run weaver generate ./... from your root directory
your A or B type might have other fields that are not serializable, which is unclear from your description

@rgrandl Thanks for the quick reply, it seems my mistake was not running weaver generate ./.. from root directory and I was manually doing it maybe that was causing unordered codegen.


QM job Icon no longer have command colors

About the PR
Changes the QM icon to use the cargo colors instead of the command colors since they aren't a head of anything.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

Tweak: Changes the QM job icon to no longer use command colors.

Looks good to me.

ah thanks i must have missed when this got reverted at some point


cmd/adapter: add prometheus bearer token configuration

Often prometheus is gated by some proxy requiring an auth bearer
token. Currently there is no possibility to configure one except for
providing a full-fledged kubeconfig.
This fixes it by adding a new flag pointing to an optional file
containing the auth bearer for prometheus communication.

lgtm :+1:
(as a side note for next time, we really should have done the full integration, before cutting a release, now we need to do v0.5.0 .. nothing bad, just a side note)


Issue where knex config is lost in scope of a migration

Had a weird issue where knex lost its config from the knexfile.
A sample of what i had to do to get it working is located below.
https://gist.github.com/arnold-almeida/abc74d260d1d71098563

No idea what's going on here. If you can reproduce it in a repo we can clone and run, we can help. Otherwise it's impossible to say what you're doing wrong.


Add chat icon

Fix for isue #138

now that we have secure messaging we are removing that chat, but thank you!


Uncaught Error: spawn EACCES

Installed atom binary
Built Julia from the Master branch (that is v 0.4)
installed Julia to a folder on my path
Julia now works from the terminal, but atom's julia client cannot see it
Specify the path to the executable in julia-client options '/Users/michael/Documents/github/julia/usr/bin'
'Toggle console', then write 2 + 2

Atom Version: 1.0.7
System: Mac OS X 10.10.5
Thrown From: julia-client package, v0.1.2
Stack Trace
Uncaught Error: spawn EACCES
At child_process.js:1145

Error: spawn EACCES
  at exports._errnoException (util.js:734:11)
  at ChildProcess.spawn (child_process.js:1145:11)
  at Object.exports.spawn (child_process.js:977:9)
  at Object.module.exports.start (/Users/michael/.atom/packages/julia-client/lib/connection/process.coffee:12:21)
  at /Users/michael/.atom/packages/julia-client/lib/julia-client.coffee:82:40
  at Server.<anonymous> (/Users/michael/.atom/packages/julia-client/lib/connection/tcp.coffee:40:7)
  at Server.g (events.js:257:16)
  at emitNone (events.js:67:13)
  at Server.emit (events.js:163:7)
  at net.js:1192:12
  at process._tickCallback (node.js:357:13)

Commands
  3x -0:12.8.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:08.1.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:04.3.0 julia-client:toggle-console (atom-text-editor.editor)
     -0:00.8.0 console:evaluate (atom-text-editor.editor.is-focused)
     -0:00.8.0 julia-client:start-julia (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-solarized-light-syntax.theme-one-light-ui)

Config
{
  "core": {
    "themes": [
      "one-light-ui",
      "solarized-light-syntax"
    ]
  },
  "julia-client": {
    "juliaPath": "/Users/michael/Documents/github/julia/usr/bin"
  }
}

Installed Packages
# User
color-picker, v2.0.11
ink, v0.1.1
julia-client, v0.1.2
language-julia, v0.4.1
language-r, v0.2.0

# Dev
No dev packages

Looks like your juliaPath config is pointing at the bin folder rather than the julia executable inside – appending /julia should do the trick.

Thanks, sorry.

No problem, glad to help!


Flaky Snowflake integration tests

Description
very frequently do i get a failed ci build due to snowflake. This gets really annoying having to re-run the pipelines all the time. We should either fix root cause, or allow snowflake tests to fail

I believe that this has been resolved by #2278


Get the number of points from a depth frame

Required Info

Camera Model
D435

Operating System & Version
Linux

Language
C++

Issue Description
I need to get the number of points from a depth frame after being processed by each filters. So for the moment I use this:
rs_points = rs_pointcloud.calculate(f);
output << rs_points.size() << ";";

But it is extremely slow, without I can process approx 40 frames per second and with it I drop to only 13 frames per second. My question is, is there a way to get the number of points from a depth frame directly ?
Thanks for your help.

Hi @louis-etne   Do you have different results if you use std::cout instead of display?
std::cout << rs_points.size() << ";";
Would it also be practical to put the display code within a keypress check so that it only updates the value when a particular key is pressed?  For example, the C++ script in the link below has a mechanism for checking if 'q' is pressed and take an action if the key is pressed.
https://github.com/IntelRealSense/librealsense/issues/6337

Thanks for your answer.
Unfortunately, my code doesn't take any user input, it runs by itself on a headless raspberry pi. I need to get the number of points from the depth frame within an infinite loop where all the processing appends and write the result to a csv file to analyse the timing after. And i need to get the number of points after each filter, so I need it to be quick.

Writing to csv in librealsense is slow.  The most efficient recording method is a bag file, though it requires a large storage drive because the file sizes can be tens of gigabytes for a prolonged recording duration..
https://github.com/IntelRealSense/librealsense/issues/1485#issuecomment-380728118

Hi @louis-etne   Do you require further assistance with this case, please?   Thanks!

Case closed due to no further comments received.


Cannot find "recode_data.xml"

When I run Biber in MacOSX Yosemite I obtain the following error message:
$ ./biber main
INFO - This is Biber 1.9
INFO - Logfile is 'main.blg'
read_file '/var/folders/91/510dl_y10nl_gj61qq8x7_3r0000gn/T/par-4272756e6f/cache-a3cdad92316c60c9c5179d80d6bb51a7a024393c//inc/lib/Biber/LaTeX/recode_data.xml' - sysopen: No such file or directory at /var/folders/91/510dl_y10nl_gj61qq8x7_3r0000gn/T/par-4272756e6f/cache-a3cdad92316c60c9c5179d80d6bb51a7a024393c/bda77484.pm line 112.

Could you tell me why?
Thanks!

This has been answered many times on tex.stackexchange.com:
Just delete the cache folder and run biber once more. The cache folder for you is:
/var/folders/91/510dl_y10nl_gj61qq8x7_3r0000gn/T/par-4272756e6f/cache-a3cdad92316c60c9c5179d80d6bb51a7a024393c
This is usually to do with some OS automated cleanup deleting files from the cache or can also happen when you interrupt biber's first run when it unpacks itself. The PAR::Packers maintainers (module which controls the cache) are looking at this.


Can you make a new stable release?

The last release was in 2015. I think you should make a new release so that this tool has a better chance of getting into distros.

@krrishnarraj ping

@krrishnarraj pretty please :)

Haha
I don't have a mac. If somebody can let me know if master branch runs fine on mac, I'll make the release

On my mid 2015 MBP the tool runs fine using the dedicated GPU. Using the integrated one freezes the system during the integer compute tests.
This message appears quite a bit in console before the crash:
void IOAccelFenceMachine::fence_timeout(IOTimerEventSource *): IntelAccelerator prodding blockFenceInterrupt

That looks like a driver error, which I'll pass.
I'll make a release in few days

Great! Looking forward to 1.0.0. :D


Required licensing to deploy Teams Rooms in Exchange on-prem

Hello,
The licensing requirements mention there is a need to have a SfB Server license to deploy Teams Rooms. Is this really necessary?
Thank you,
Julia

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

ID: 91cd0219-b3b0-da60-6416-c6b5a67623e3
Version Independent ID: 983d08b5-4a2c-838a-52eb-821045d2c9df
Content: Deploy Microsoft Teams Rooms with Exchange on-premises - Microsoft Teams
Content Source: Teams/rooms/with-exchange-on-premises.md
Service: msteams
GitHub Login: @dstrome
Microsoft Alias: dstrome

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


worked on : Docker daemon is hard requirement #724

Pull Request Title
worked on : Docker daemon is hard requirement #724
Description
When the server is started a message stating that docker daemon ins't running shows. This message shows up regardless of if docker installed or not.
Please include a summary of the change or the feature being introduced. Include relevant motivation and context. List any dependencies that are required for this change.
I added a check for docker installation and stop further execution regarding connecting to the Docker daemon if docker in not installed. This requires the import of the os/exec library
Also i re-worded the message that shows up when the program can't access the docker daemon; I added a clear message before appending the actual error message

[ ] This change requires a documentation update
[ ] I have made corresponding changes to the documentation

Related Issue(s)
This PR addresses issue #724
closes #724
/claim #724
Screenshots
If relevant, please add screenshots.
Notes
Please add any relevant notes if necessary.

This Pull Request has been automatically marked as "stale" because it has not had recent activity (for 14 days). It will be closed if no further activity occurs. Thank you for your contribution.

Closing in favor of https://github.com/daytonaio/daytona/pull/902 since this is stale


Initial Draco landing page.

TODO:

[ ] Setup github actions for react build + github pages deploy
[ ] Fill page with content
[ ] Include derpy

Ran a formatter (tell me before manually linting all those :')).

Known issues:

Back button doesn't works. When I will use next.js we will use it's router so my own buggy router won't be used.


How to evaluate the model on 3DPW dataset？

The code only provides how to evaluate on the Human 3.6m dataset and 3DHP dataset, while the PoseAug paper also has a cross-dataset validation on the outdoor 3DPW dataset, but I don't know how to download the dataset and process it as described in the DATASET.md file（DATASET. md file in this project only writes how to process Human 3.6m  and 3DHP dataset）.Hope you can provide the operation method. Thank you very much!

Hi, thank you for the interest!
Here is the 16 joints gt version data.
For the preprocessing code, as it belongs to another project, we will release it in the future.
Thank you~


[staging-20.09] openssl: 1.1.1g -> 1.1.1i

Motivation for this change
Backports https://github.com/NixOS/nixpkgs/pull/106362 https://github.com/NixOS/nixpkgs/pull/99987
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
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)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

I'm running openssl 1.1.1i on my NixOS 20.09 with ~200 package rebuilds and haven't encountered problems. scipy tests kept segfaulting and I had to disable them, but I assume that's unrelated.


How the calculation works?

Good Work! Congratulations! :smiley:
I need to make this same calculation in a Android App. You can explain me how this calculation works? I want to understand what is the theory from behind your code...

Hi I have ported my code from https://bazaar.launchpad.net/~keturn/py-moon-phase/trunk/annotate/head:/moon.py which explains a bit more where the theory comes from. Hope this helps!


Correcting composer.json version constraint definitions

@Ocramius I tested this last night and it worked fine for me. What version of composer?

You can define multiple ranges. Ranges separated by a space () or comma (,) will be treated as a logical AND.

https://getcomposer.org/doc/01-basic-usage.md#package-versions

@SocalNick see Roave/SecurityAdvisories#8 - installing didn't work for me either

@Ocramius - I edited my sandbox app's composer.json and everything worked fine. See https://github.com/SocalNick/ScnSocialAuth-Sandbox/commit/478f660dc3dba70844ea8615f1434e64888569ce and below.
 |2.0.0-p481| Nicholass-MacBook-Air in ~/workspace/ScnSocialAuth-Sandbox
±  |master ✓| → composer --version
Composer version 1.0-dev (8db7420f025b5c4705ce6f66b65c6d2b52d27813) 2015-01-12 23:02:29

 |2.0.0-p481| Nicholass-MacBook-Air in ~/workspace/ScnSocialAuth-Sandbox
±  |master ✓| → vim composer.json

 |2.0.0-p481| Nicholass-MacBook-Air in ~/workspace/ScnSocialAuth-Sandbox
±  |master ✗| → composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Removing zendframework/zendframework (2.3.3)
  - Installing zendframework/zendframework (2.3.4)
    Loading from cache

  - Removing zf-commons/zfc-user (1.2.1)
  - Installing zf-commons/zfc-user (1.2.2)
    Loading from cache

  - Removing socalnick/scn-social-auth (1.15.1)
  - Installing socalnick/scn-social-auth (1.15.2)
    Loading from cache

Writing lock file
Generating autoload files

@Ocramius ok to close?

@SocalNick I guess so: thanks for checking, seems like it may be a packagist issue

@SocalNick I guess so: thanks for checking, seems like it may be a packagist issue


Enable a simple start offset in addition to the cursor

Related to write up in #65

This has all the similar problems of the solr and elastic search implementations with a few differences. LuMongo does not request a full amount from each shard so start of a 1 million with 10 shards(segments in LuMongo) does not request 10 million results but somewhere about 3 million depending on the settings. However, Lumongo is not optimized for the one shard case like Solr is (and I assume elastic search is).


Precompiled functions - access is denied when redeploying

Git deploy a precompiled function
Gt deploy updated binary
Error logged in deployment activity:
Could not remove 'D:/home/site/wwwroot/DataRouting/DataRouting.dll': Access is denied.\r\n
Workaround:
Stop the function
Redeploy
Start the function

I believe this is the same issue addressed by https://github.com/Azure/azure-webjobs-sdk-script/pull/1169.  We're in the process of deploying that fix now. Right @fabiocav?

@JonCanning this should be fixed now. Restart your app if you continue to see this and you'll get the updated version.


Gene-of-Interest List Includes Genes with No Counts, Causing FeaturePlot Failure

The list of genes of interest provided by the user may contain an existing gene in the file features.tsv.gz, but with no count.
This results in an issue with creating the plots at the end of DEA.
The gene is not removed from the goiList, but the function FeaturePlot can't find it in the dataset (as there was no count, the feature has been deleted).

The gene_of_interest is used in few files:
/scDataPipeline $ grep -in genes_of_interest *
00_pipeline_launcher.R:700:    genes_of_interest = if (exists("PATH_GENES_OF_INTEREST")) PATH_GENES_OF_INTEREST else NULL
05_annotDEAviz_pipeline.Rmd:148:if (!is.null(genes_of_interest)) {
05_annotDEAviz_pipeline.Rmd:149:    checkPath(genes_of_interest)
05_annotDEAviz_pipeline.Rmd:166:if (!is.null(genes_of_interest)) {
05_annotDEAviz_pipeline.Rmd:167:    checkPath(genes_of_interest)
05_annotDEAviz_pipeline.Rmd:266:```{r load-goi-list, eval=!is.null(genes_of_interest), echo=!is.null(genes_of_interest)}
05_annotDEAviz_pipeline.Rmd:268:goi <- readLines(genes_of_interest)
05_annotDEAviz_pipeline.Rmd:450:if(!is.null(genes_of_interest)){
globalParameters_MODEL_2_combined.toml:30:PATH_GENES_OF_INTEREST = "XXXXX"              # path from the PATH_ROOT to the list of genes of interest
globalParameters_MODEL_single.toml:32:PATH_GENES_OF_INTEREST = "XXXXX"          # path from the PATH_ROOT to the list of genes of interest
load_parameters.R:46:    assignPath("PATH_GENES_OF_INTEREST", path$input$PATH_GENES_OF_INTEREST)
README.md:102:PATH_GENES_OF_INTEREST = "XXXXX"          # path to the list of specific genes of interest (text file with one gene per line), usually in $PATH_ROOT/01_requirements.


GNU license within test file

https://github.com/nelmio/NelmioCorsBundle/blob/master/Tests/DependencyInjection/CorsConfigurationProviderPassTest.php#L6
Is this on purpose or a legacy thing?

I think this was a mistake by @bdunogier probably using default IDE settings to create the new test file. It probably should be removed as it indeed has no relation to the project's license.

Thanks @Seldaek


DOC-385 FB CAPI Actions

Proposed changes
This will be in Private Beta, deploy on 12/2.

Merge timing

Related issues (optional)

Hi @markzegarelli before we merge this, can we make a quick swap on the image used to show the externalId coalesce function? This is the updated image (the coalesce looks at the top-level userId and anonymousId not properties.etc...). I believe it is used twice. The other image that shows all of the User Data mapping is so small I think it's fine that it still says properties..


Mdnkspb feature/share block

Deploy preview for spb-frontend processing.
Built with commit 343f96abf2de3b6e7c132f91d7b38d5b603592af
https://app.netlify.com/sites/spb-frontend/deploys/5af9f2863672df636e36f66a


Add sample SPARQL queries

It would be really useful to add sample SPARQL queries.

Will do!

Duplicate of #14


Perhaps here should be something to prevent this (and stick to the description):
<!-- Deemphasize a button by making it look like a link while maintaining button behavior -->

@bembelimen Bug reports must include a live demo of the problem. Per the contributing guidelines, please create a reduced test case via JS Bin or CodePen and report back with your link, Bootstrap version, and specific browser and OS details.

@cr101, it's obvious. Goto https://v4-alpha.getbootstrap.com/components/buttons/#examples and click on "Link" button.

you can fix it, by removing the "btn" class, but so you have the default user agent border width

Small update, Can't reproduce on Safari, but issue is present on Chrome

I do see a style being applied to it on
.btn.focus, .btn:focus {
    outline: 0;
    -webkit-box-shadow: 0 0 0 2px rgba(2,117,216,.25);
    box-shadow: 0 0 0 2px rgba(2,117,216,.25);
}

And similarly on the other types of buttons
.btn-danger:focus {
    -webkit-box-shadow: 0 0 0 2px rgba(217,83,79,.5);
    box-shadow: 0 0 0 2px rgba(217,83,79,.5);
}

So I don't know if that's necessarily a chrome thing.
When looking at it in Safari, clicking it does not look like it triggers the :focus state. You can inspect it and manually trigger it through the styles inspector, and you see similar behavior with the blue outline.

Fixed. Good catch.


Feature Request: Custom Policy Names

It would be nice to be able to supply your own policy names optionally to override the default one.

there is something here that might cause a problem I think, in the current implementation For each command like SELECT or INSERT we create a separate policy not just one policy containing all chosen commands so the name would have to be prefixed for each policy and may cause confusion if the name is directly accessed someplace in the codebase.
so I was checking the documentation if I can just specify multiple commands in the same policy creation SQL or just prefix the policy name.

oh that makes sense - I think the prefix would be ok - just might be nice to have more human readable policies as an option

Added in this PR #27


Modal and Iron Router's hooks (Question)

Hello, I'm struggling with modals and Iron Router's hooks, I'm adding a new product right from the front page of my app, for this I'm using a modal. I simply want this modal only to be shown if the user is logged in, so I thought about using an Iron Router's onBeforeAction hook to see whether the user is logged or not and if not, open a new modal with my login page.
I don't know if this can be done, as Iron Router hooks seem not to be triggered by modals.
Any advise is appreciated.

What about {{#if currentUser}}?

I think this is real security concern when using modals to render restricted data.
Routes can be secured properly but modals has to re-authenticate using method call when they gets created. Anyone knows the clean solution for that?

@mordka Take a look at viewmodel.


test e2e: improve IPv6 handling and bump versions

@uablrek I think it will impact #313 significantly.

@nehaLohia27 @jayunit100 @qabpea does it looks good? To me it looks like IPv6 was just setup with default IP ranges and kpng not given the right CIDRs without those changes.

/lgtm

That would explain a lot of the problems with the v6 tests.
--Per
Sent from Ninehttp://www.9folders.com/

From: Mikaël Cluseau @.***>
Sent: Monday, August 1, 2022 20:51
To: kubernetes-sigs/kpng
Cc: Per Andersson; Mention
Subject: Re: [kubernetes-sigs/kpng] test e2e: improve IPv6 handling and bump versions (PR #319)
@nehaLohia27https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FnehaLohia27&data=05|01|per%40kaloom.com|608d62363e56406ba8af08da73f72f76|47d58e26f79648e8ac401c365c204513|0|0|637949802735556201|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=uzND568dfLpg4Gvri2pfsITYFUEFJswKrqOGsmIbGjc%3D&reserved=0 @jayunit100https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjayunit100&data=05|01|per%40kaloom.com|608d62363e56406ba8af08da73f72f76|47d58e26f79648e8ac401c365c204513|0|0|637949802735556201|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=MZIclkyyVuv%2Feyz20oHBUBtbFHfYye05iCqGi%2F5QcT0%3D&reserved=0 @qabpeahttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fqabpea&data=05|01|per%40kaloom.com|608d62363e56406ba8af08da73f72f76|47d58e26f79648e8ac401c365c204513|0|0|637949802735556201|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=26PqvQnRFmPXJIRwGjZ5a1YR4YbdgOG%2BKAUgs13OjfI%3D&reserved=0 does it looks good? To me it looks like IPv6 was just setup with default IP ranges and kpng not given the right CIDRs without those changes.
—
Reply to this email directly, view it on GitHubhttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkubernetes-sigs%2Fkpng%2Fpull%2F319%23issuecomment-1201644144&data=05|01|per%40kaloom.com|608d62363e56406ba8af08da73f72f76|47d58e26f79648e8ac401c365c204513|0|0|637949802735556201|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=20nQNs98l39hOfNbjRutLyIbbwBQNQ%2FZNDxB9L%2BawB4%3D&reserved=0, or unsubscribehttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAC46J7FA37MK2H6HDZ2Y3XDVXATC7ANCNFSM55EWD66A&data=05|01|per%40kaloom.com|608d62363e56406ba8af08da73f72f76|47d58e26f79648e8ac401c365c204513|0|0|637949802735556201|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=giAq6S%2FgLxAUaFG4IQkT2wDUyY%2BN9mpq6M%2Btc3fPDpk%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>


[stable/postgresql] Fix bug in exporter config when creating custom db

Signed-off-by: tompizmor<EMAIL_ADDRESS>
What this PR does / why we need it:
This PRs fixes the DATA_SOURCE_URI value when metrics are enabled and adds a validation to ensure a database is provided when metrics are enabled.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #8427

Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped

/ok-to-test
/lgtm


Add flexbox compat features and status

This adds features and simplified support status to flexbox. This is probably the first great example of messy data creating issues.
Some issues I encountered here:

I skimmed through the flexbox spec and wrote a list of expected BCD features. I commented out the ones that don't exist in BCD. It's interesting to see what keys do and do not exist in BCD. The two exceptions I deleted outright were css.properties.flex-basis.content and css.properties.flex-basis.fit-content, which seem to be distinctly later additions. It's interesting to consider whether we ought to complete the "missing" subfeatures, or to do as BCD does: assume they're supported with the parent feature.

The {flex,grid}_context pseudo-groups in BCD are quite challenging to deal with. I once opened https://github.com/mdn/browser-compat-data/issues/13804 to address this and it was "fixed" by adding more compat features, instead of fixing the muddled structure (e.g., css.properties.align-content contains a __compat object). But I still don't get what the data really means: what could css.properties.align-content represent, independently of flexbox and grid? Are all of the subfeatures of flex_context exclusive to flexbox (since none appear beneath grid_context)?

Firefox has lots of weird notes—something to do with multi-line flexbox—especially css.properties.flex-direction. Thankfully this is all in the rather distant past so it's not critical if we're off by even dozens of releases, but it's a good example of the kind of thing that would be very challenging to untangle for a more recent feature.

On flex_context and grid_context, I think that distinction will soon fade into the background. It made sense for the gap property in particular, but going forward I assume that new CSS properties will be supported in Flexbox and Grid. I think that at some point it will make sense to collapse these and treat it as partial_implementation. However, doing that will make it harder to interpret the data to determine support for Flex and Grid overall. So let's just deal with the current BCD structure for this entry.


Bug: Error on multiple instance rig with maya

In case of multiple subset rig in the maya scene, there is an error on the plugin rig output ids
Changelog Description
I change endswith method by startswith method because the set are automacaly name out_SET, out_SET1, out_SET2 ...

Testing notes:

Open maya
Add multiple rig instance with different subset
Publish and see the error

I dont think this is the right way of fixing this. I've proposed some suggestions to fix this instead; https://github.com/quadproduction/OpenPype/pull/539

Review quadproduction#539

Yes, it looks better, thanks.

Did you also test the publishing of the animation instances that are generated when loading the rigs that have the out_SET2 named nodes, etc?

Did you also test the publishing and loading of the animation instances that are generated when loading the rigs that have the out_SET2 named nodes, etc?

Yup, all seems to be working. Technically there wont be any out_SET2 but rather {subset}_out_SET.

It seems this PR has broken rig publishing for me since it doesn't pass this validator.
It seems that the Validator is disabled by default in settings so it has likely not been tested.

It seems this PR has broken rig publishing for me since it doesn't pass this validator.
It seems that the Validator is disabled by default in settings so it has likely not been tested.

Also it seems it broke asset switching...


How exclude some objects from .requestAll

Hi.
I want to get some games based on platforms but seems like .requestAll returns all games that endpoint can provide. Is there any way to make .requestAll return objects based on parameters I set?

Hi.
I want to get some games based on platforms but seems like .requestAll returns all games that endpoint can provide. Is there any way to make .requestAll return objects based on parameters I set?

A hacky solution to this may be to set a request interceptor in the requestAll options that filters data there.


bottom-right ROI handle not working

The bottom-right handle behaves strangely for me....moves the top of the box rather than the bottom.

I've removed ROIs in favor of linear regions in 85c07424f4ce17b8011dc272ad0c5cc647974bb4. Let me know what you think.

c/c @eteq

Works for me. I like it!


error creating project

Plugin Version:

1.1.0

Nx Version (nx --version):

11.0.16

Angular CLI version (ng --version):

not using angular

Expected Behaviour
expected the command:
nx g @nxrocks/nx-spring-boot:app
to create a spring application.
Actual Behaviour
TypeError: Cannot read property 'toString' of null
`

#### Steps to reproduce the behaviour
```sh
nx g @nxrocks/nx-spring-boot:app
? What name would you like to use? spring
? Which type of project would you like to generate? Gradle Project
? Which packaging would you like to use? Jar
? Which version of Java would you like to use? 11
? Which language would you like to use? Kotlin
? What groupId would you like to use? com.au11s
? What artifactId would you like to use? spring
? What package name would you like to use? com.au11s.spring
? What is the project about? experiments
? What dependencies would you like to use (comma separated)?
        > Go to https://start.spring.io/dependencies to get the ids needed here
    Downloading Spring Boot project zip from : https://start.spring.io/starter.zip?type=gradle-project&language=kotlin&groupdId=com.au11s&artifactId=spring&packageName=com.au11s.spring&javaVersion=11&packaging=jar&description=experiments...
    Extracting Spring Boot project zip to : apps/spring...
TypeError: Cannot read property 'toString' of null
    at /home/davem/au/codebase/2020/au-2020-devops-api/node_modules/@nxrocks/nx-spring-boot/src/schematics/application/lib/add-build-info-task.js:13:51
    at MergeMapSubscriber.project (/home/davem/au/codebase/2020/au-2020-devops-api/node_modules/@angular-devkit/schematics/src/rules/call.js:75:24)
    at MergeMapSubscriber._tryNext (/home/davem/au/codebase/2020/au-2020-devops-api/node_modules/rxjs/internal/operators/mergeMap.js:67:27)
    at MergeMapSubscriber._next (/home/davem/au/codebase/2020/au-2020-devops-api/node_modules/rxjs/internal/operators/mergeMap.js:57:18)
    at MergeMapSubscriber.Subscriber.next (/home/davem/au/codebase/2020/au-2020-devops-api/node_modules/rxjs/internal/Subscriber.js:66:18)
    at MergeMapSubscriber.notifyNext (/home/davem/au/codebase/2020/au-2020-devops-api/node_modules/rxjs/internal/operators/mergeMap.js:93:26)
    at SimpleInnerSubscriber._next (/home/davem/au/codebase/2020/au-2020-devops-api/node_modules/rxjs/internal/innerSubscribe.js:27:21)
    at SimpleInnerSubscriber.Subscriber.next (/home/davem/au/codebase/2020/au-2020-devops-api/node_modules/rxjs/internal/Subscriber.js:66:18)
    at Observable._subscribe (/home/davem/au/codebase/2020/au-2020-devops-api/node_modules/rxjs/internal/util/subscribeToArray.js:5:20)
    at Observable._trySubscribe (/home/davem/au/codebase/2020/au-2020-devops-api/node_modules/rxjs/internal/Observable.js:44:25)
    at Observable.subscribe (/home/davem/au/codebase/2020/au-2020-devops-api/node_modules/rxjs/internal/Observable.js:30:22)
    at Object.innerSubscribe (/home/davem/au/codebase/2020/au-2020-devops-api/node_modules/rxjs/internal/innerSubscribe.js:102:23)
    at MergeMapSubscriber._innerSub (/home/davem/au/codebase/2020/au-2020-devops-api/node_modules/rxjs/internal/operators/mergeMap.js:80:50)
    at MergeMapSubscriber._tryNext (/home/davem/au/codebase/2020/au-2020-devops-api/node_modules/rxjs/internal/operators/mergeMap.js:74:14)
    at MergeMapSubscriber._next (/home/davem/au/codebase/2020/au-2020-devops-api/node_modules/rxjs/internal/operators/mergeMap.js:57:18)
    at MergeMapSubscriber.Subscriber.next (/home/davem/au/codebase/2020/au-2020-devops-api/node_modules/rxjs/internal/Subscriber.js:66:18)
Cannot read property 'toString' of null

Note: it seems that this error is specific to Kotlin Gradle projects only!

Gradle/Kotlin project creation fails.
Gradle/Java project creation works.
Maven/Kotlin project creation works.
David

Workaround:

create a Gradle/Java project say "projectJ".
create a Gradle/Kotlin project say "projectK".

Even though projectK fails with above error message, the Spring project is created (though nx.json and workspace.json are not updated).

manually copy and paste the "projectK" information in nx.json and workspace.json, renaming projectJ references to projectK.
remove ProjectJ (nx g remove projectJ).

Hi @davidmoshal
Thanks for using the plugin, and for reporting the issue, as well as the workaround.
I will look into it and provide a proper fix asap.
Cheers!


Restricting the available days when data lags expected; COUNTRY=jordan

Description
This update addresses this request: https://github.com/WFP-VAM/prism-app/pull/1259#issuecomment-2201896395
It applies the "earliestExpectedDataLagDays" logic across our default data selection and which dates are available to select.
In my opinion, this is probably not worth the effort to maintain — it's not intuitive and could easily result in future bugs. But we could always merge it has a hack and remove it once https://github.com/WFP-VAM/hip-service/issues/12 is ready
How to test the feature:

[ ] Open the jordan prism instance
[ ] Select the Combined Drought Index (v2)

Checklist - did you ...
Test your changes with

[ ] REACT_APP_COUNTRY=rbd yarn start
[ ] REACT_APP_COUNTRY=cambodia yarn start
[ ] REACT_APP_COUNTRY=mozambique yarn start
[ ] Add / update necessary tests?
[ ] Add / update outdated documentation?

Screenshot/video of feature:

Converting to draft — only for use in demo

Closing in favor of #1326


Can we run this code on windows 10

Hi, I am using windows 10 .
you have mentioned that the prerequisites are Linux and mac-os.
Can i run this code on windows.

If you can get Pytorch and the other libraries installed successfully (Visdom is not mandatory), then sure why not.
But I have not confirmed this works for sure.


Exception while uploading Image

Is there an existing issue for this?

[X] I have searched the existing issues

Flutter Quill version
9.2.2
Steps to reproduce
``Using the example app in the example folder

starting with an empty window (start from scratch)
click the "image" icon on the toolbar and select an image
the editor asks me to crop the image
when click the "crop" button, VS code reports an exception and the edit window shows this

a red box with the words unsupported operation _Namespace
The relevant error-causing widget was:
    MaterialApp MaterialApp:file:///C:/Users/saich/Editor/flutter-quill/example/lib/main.dart:70:22

: To inspect this widget in Flutter DevTools, visit: http://<IP_ADDRESS>:9101/#/inspector?uri=http%3A%2F%2F<IP_ADDRESS>%3A52255%2FHes8qkr5piA%3D&inspectorRef=inspector-8

The overflowing RenderFlex has an orientation of Axis.vertical.
The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the RenderFlex to fit within the available space instead of being sized to their natural size.
This is considered an error condition because it indicates that there is content that cannot be seen. If the content is legitimately bigger than the available space, consider clipping it with a ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex, like a ListView.
The specific RenderFlex in question is: RenderFlex#92f7a OVERFLOWING
    needs compositing
    parentData: <none> (can use size)
    constraints: BoxConstraints(w=898.0, h=691.2)
    size: Size(898.0, 691.2)
    direction: vertical
    mainAxisAlignment: start
    mainAxisSize: min
    crossAxisAlignment: center
    verticalDirection: down
    child 1: RenderPadding#72b46 relayoutBoundary=up1
        parentData: offset=Offset(0.0, 0.0); flex=null; fit=null (can use size)
        constraints: BoxConstraints(0.0<=w<=898.0, 0.0<=h<=Infinity)
        size: Size(898.0, 64.0)
        padding: EdgeInsets(24.0, 16.0, 24.0, 16.0)
        textDirection: ltr
        child: RenderFlex#029d9 relayoutBoundary=up2
            parentData: offset=Offset(24.0, 16.0) (can use size)
            constraints: BoxConstraints(0.0<=w<=850.0, 0.0<=h<=Infinity)
            size: Size(850.0, 32.0)
            direction: horizontal
            mainAxisAlignment: spaceBetween
            mainAxisSize: max
            crossAxisAlignment: center
            textDirection: ltr
            verticalDirection: down
            child 1: RenderParagraph#21b96 relayoutBoundary=up3
                parentData: offset=Offset(0.0, 0.0); flex=null; fit=null (can use size)
                constraints: BoxConstraints(unconstrained)
                size: Size(123.4, 32.0)
                textAlign: start
                textDirection: ltr
                softWrap: wrapping at box width
                overflow: clip
                locale: en_US
                maxLines: unlimited
                text: TextSpan
                    debugLabel: (englishLike headlineSmall 2021).merge((blackRedmond headlineSmall).apply)
                    inherit: false
                    color: Color(0xff1c1b1f)
                    family: Segoe UI
                    size: 24.0
                    weight: 400
                    letterSpacing: 0.0
                    baseline: alphabetic
                    height: 1.3x
                    leadingDistribution: even
                    decoration: Color(0xff1c1b1f) TextDecoration.none
                    "Crop Image"
    child 2: RenderConstrainedBox#da844 relayoutBoundary=up1
        parentData: offset=Offset(0.0, 64.0); flex=null; fit=null (can use size)
        constraints: BoxConstraints(0.0<=w<=898.0, 0.0<=h<=Infinity)
        size: Size(898.0, 1.0)
        additionalConstraints: BoxConstraints(0.0<=w<=Infinity, h=1.0)
        child: RenderPositionedBox#065b4 relayoutBoundary=up2
            parentData: <none> (can use size)
            constraints: BoxConstraints(0.0<=w<=898.0, h=1.0)
            size: Size(898.0, 1.0)
            alignment: Alignment.center
            textDirection: ltr
            widthFactor: expand
            heightFactor: expand
            child: RenderPadding#484ff relayoutBoundary=up3
                parentData: offset=Offset(0.0, 0.0) (can use size)
                constraints: BoxConstraints(0.0<=w<=898.0, 0.0<=h<=1.0)
                size: Size(898.0, 1.0)
                padding: EdgeInsets.zero
                textDirection: ltr
                child: RenderConstrainedBox#800fb relayoutBoundary=up4
                    parentData: offset=Offset(0.0, 0.0) (can use size)
                    constraints: BoxConstraints(0.0<=w<=898.0, 0.0<=h<=1.0)
                    size: Size(898.0, 1.0)
                    additionalConstraints: BoxConstraints(0.0<=w<=Infinity, h=1.0)
    child 3: RenderPadding#00881 relayoutBoundary=up1
        needs compositing
        parentData: offset=Offset(0.0, 65.0); flex=null; fit=null (can use size)
        constraints: BoxConstraints(0.0<=w<=898.0, 0.0<=h<=Infinity)
        size: Size(898.0, 582.0)
        padding: EdgeInsets(24.0, 24.0, 24.0, 8.0)
        textDirection: ltr
        child: RenderStack#e23bc relayoutBoundary=up2
            needs compositing
            parentData: offset=Offset(24.0, 24.0) (can use size)
            constraints: BoxConstraints(0.0<=w<=850.0, 0.0<=h<=Infinity)
            size: Size(850.0, 550.0)
            alignment: Alignment.bottomCenter
            textDirection: ltr
            fit: loose
            child 1: RenderPositionedBox#fcf70 relayoutBoundary=up3
                needs compositing
                parentData: not positioned; offset=Offset(0.0, 0.0) (can use size)
                constraints: BoxConstraints(0.0<=w<=850.0, 0.0<=h<=Infinity)
                size: Size(850.0, 550.0)
                alignment: Alignment.center
                textDirection: ltr
                widthFactor: expand
                heightFactor: expand
                child: RenderConstrainedBox#a5eb9 relayoutBoundary=up4
                    needs compositing
                    parentData: offset=Offset(0.0, 0.0) (can use size)
                    constraints: BoxConstraints(0.0<=w<=850.0, 0.0<=h<=Infinity)
                    size: Size(850.0, 550.0)
                    additionalConstraints: BoxConstraints(w=850.0, h=550.0)
            child 2: RenderPadding#2883b relayoutBoundary=up3
                parentData: not positioned; offset=Offset(0.0, 505.0) (can use size)
                constraints: BoxConstraints(0.0<=w<=850.0, 0.0<=h<=Infinity)
                size: Size(850.0, 45.0)
                padding: EdgeInsets(24.0, 0.0, 24.0, 5.0)
                textDirection: ltr
                child: RenderFlex#8c474 relayoutBoundary=up4
                    parentData: offset=Offset(24.0, 0.0) (can use size)
                    constraints: BoxConstraints(0.0<=w<=802.0, 0.0<=h<=Infinity)
                    size: Size(802.0, 40.0)
                    direction: horizontal
                    mainAxisAlignment: spaceBetween
                    mainAxisSize: max
                    crossAxisAlignment: center
                    textDirection: ltr
                    verticalDirection: down
    child 4: RenderConstrainedBox#bc0eb relayoutBoundary=up1
        parentData: offset=Offset(0.0, 647.0); flex=null; fit=null (can use size)
        constraints: BoxConstraints(0.0<=w<=898.0, 0.0<=h<=Infinity)
        size: Size(898.0, 1.0)
        additionalConstraints: BoxConstraints(0.0<=w<=Infinity, h=1.0)
        child: RenderPositionedBox#13ae7 relayoutBoundary=up2
            parentData: <none> (can use size)
            constraints: BoxConstraints(0.0<=w<=898.0, h=1.0)
            size: Size(898.0, 1.0)
            alignment: Alignment.center
            textDirection: ltr
            widthFactor: expand
            heightFactor: expand
            child: RenderPadding#f5dd0 relayoutBoundary=up3
                parentData: offset=Offset(0.0, 0.0) (can use size)
                constraints: BoxConstraints(0.0<=w<=898.0, 0.0<=h<=1.0)
                size: Size(898.0, 1.0)
                padding: EdgeInsets.zero
                textDirection: ltr
                child: RenderConstrainedBox#b6932 relayoutBoundary=up4
                    parentData: offset=Offset(0.0, 0.0) (can use size)
                    constraints: BoxConstraints(0.0<=w<=898.0, 0.0<=h<=1.0)
                    size: Size(898.0, 1.0)
                    additionalConstraints: BoxConstraints(0.0<=w<=Infinity, h=1.0)
    child 5: RenderPadding#d35d0 relayoutBoundary=up1
        parentData: offset=Offset(0.0, 648.0); flex=null; fit=null (can use size)
        constraints: BoxConstraints(0.0<=w<=898.0, 0.0<=h<=Infinity)
        size: Size(898.0, 64.0)
        padding: EdgeInsets(8.0, 16.0, 8.0, 16.0)
        textDirection: ltr
        child: _RenderButtonBarRow#971b9 relayoutBoundary=up2
            parentData: offset=Offset(8.0, 16.0) (can use size)
            constraints: BoxConstraints(0.0<=w<=882.0, 0.0<=h<=Infinity)
            size: Size(882.0, 32.0)
            direction: horizontal
            mainAxisAlignment: end
            mainAxisSize: max
            crossAxisAlignment: center
            textDirection: ltr
            verticalDirection: down
            child 1: RenderPadding#1602e relayoutBoundary=up3
                parentData: offset=Offset(704.9, 0.0); flex=null; fit=null (can use size)
                constraints: BoxConstraints(unconstrained)
                size: Size(91.2, 32.0)
                padding: EdgeInsets(8.0, 0.0, 8.0, 0.0)
                textDirection: ltr
                child: RenderSemanticsAnnotations#2b476 relayoutBoundary=up4
                    parentData: offset=Offset(8.0, 0.0) (can use size)
                    constraints: BoxConstraints(unconstrained)
                    semantic boundary
                    size: Size(75.2, 32.0)
            child 2: RenderPadding#8a7d9 relayoutBoundary=up3
                parentData: offset=Offset(796.0, 0.0); flex=null; fit=null (can use size)
                constraints: BoxConstraints(unconstrained)
                size: Size(86.0, 32.0)
                padding: EdgeInsets(8.0, 0.0, 8.0, 0.0)
                textDirection: ltr
                child: RenderSemanticsAnnotations#b8790 relayoutBoundary=up4
                    parentData: offset=Offset(8.0, 0.0) (can use size)
                    constraints: BoxConstraints(unconstrained)
                    semantic boundary
                    size: Size(70.0, 32.0)
◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤

Expected results
The image should be loaded and be visible in the edit window.
Actual results
Getting a small red rectangle with an error message "unsupported operation", Also the dialog box for cropping is also having the flow issues which should be properly adressed
Code sample
Using the example from the github repo with no changes
Screenshots or Video

Logs
Logs
[Paste your logs here]

Hi. Can you tell me which platform you are using?

Hi. Can you tell me which platform you are using?

It is coming for the web platform.
For Android, the initial build only failed, the console message was

Is there anything i need to do or I was missing for android?

Do you update to te last version of the package? If it is the case, can you confirm if this issue persists? I will close by now since we have no similiar experience with these type errores and i think that this was fixed. Reopen if needed

It seems that a Flutter plugin that has native Android code that requires at least Java 17. Don't know which plugin but most plugins still target Java 11 or 17 for compatibility with older versions. Java do have packages that are replaced by newer APIs but still not deprecated, which is why most projects (including Gradle) use java.io.File instead of java.nio.File.
quill_native_bridge and most Flutter plugins do require at least Java 8.
Seems like a platform configuration / plugin issue that's not related to the dart code in the project.


chore: use ts versions below 4.5

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #626 (631c885) into tagged-release/forms-and-views (940c2ec) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 631c885 differs from pull request most recent head 65a9d36. Consider uploading reports for the commit 65a9d36 to get more accurate results

@@                       Coverage Diff                       @@
##           tagged-release/forms-and-views     #626   +/-   ##
===============================================================
  Coverage                           90.32%   90.32%
===============================================================
  Files                                  95       95
  Lines                                3505     3505
  Branches                              951      951
===============================================================
  Hits                                 3166     3166
  Misses                                317      317
  Partials                               22       22

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 940c2ec...65a9d36. Read the comment docs.

merging as the pull works locally


Support Xcode 7 Beta 3 and remove unused variable

One more small one.

Thanks! Just a couple comments.

:metal:


remove axios dependency

closes https://github.com/cloud-annotations/docusaurus-openapi/issues/287

no problem! thanks for the quick merge!
any chance I'd be able to get a release with the new change? I'm looking forward to shutting up our security audit bot warnings about axios :laughing:

Yea you can start the release process by following the steps here: https://github.com/cloud-annotations/docusaurus-openapi/tree/main/scripts


Allow generating fast (LUT-based?) approximations for trig functions, esp for embedded

Could maybe subclass the CppCodePrinter?  Have an option for it?  Do we want to copy these approximations into SymForce?
Want user to be able to provide their own for their application
Could also provide a layer for the user to find-replace (provide a dictionary?) or do arbitrary post-processing on the generated code

Fixed by #225


Rival 600 Issues

Note: I've read that there are issues with the Rival 600.
When resetting the mouse, I receive this error:
TypeError: rgbuniversal_handler() takes exactly 5 arguments (2 given)

Hello,
I have no Rival 600 mouse to test, but maybe @ergor can help with this? :)

I've submitted a PR with a quick fix

The fix is merged, I will probably release a new version this weekend with this fix :)

This fix is now released in rivalcfg 3.1.0, thanks for your help :)


Add offline functionality

User Stories

As a user, I want to use the Food Festival application even if I don't have an internet connection

Added minimum offline availability by caching critical files.


[QUESTION] Conflict when using vertical-timeline with react-scroll

I am using react-vertical-timeline with react-scroll, but it seems like i am having a conflict between the 2 components.
When i click on a scroll Link, the page stop scrolling in the middle of the vertical-timeline.
But, if i load the page and i scroll to the bottom (So i have displayed the entire content of the page) then the scroll links will work perfectly..
Anyone already had this issue??
Thanks

Can you provide an online example ?
Maybe, it's a conflict with react-visibility-sensor ?

Yes sure, you can take a look at my site.
If you click on skills after loading the page, it will stop before the anchor..
www.oliviercastroperrier.com
Thanks!

And I use scroll link on my website without issues :
https://stephanemonnot.com/

Oh wow! it is working now!
Thank you! Really appreciated :P

Glad to hear that ;) . And good job for your work.

Thanks!!


Need to add promises to ThaliReplicationManager

Strictly speaking we don't need them as we already have events that we can catch that let us know when functions like start and stop are done. But in practice using event handling code to deal with start and stop is a real pain. Take a look at onChannelBindingError in SmallerHashStateMachine to see what I mean.

This is part of the rewrite.


Increase field length for substrate in collecting event

Data from DAOM exceeds the backend substrate field for CollectingEvent. Please increase this to minimally 255 characters.

Done in 0.59


misc/ios: possible lldb io processing bug in go_darwin_arm_exec

Appears sporadically on the builder:
 breakpoint set -n getwd
run
Breakpoint 1: where = libsystem_c.dylib`getwd, address = 0x2f7f7294
(lldb) success
(lldb) Process 22484 stopped
* thread #1: tid = 0xfd6a7, 0x1fedf000 dyld`_dyld_start
    frame #0: 0x1fedf000 dyld`_dyld_start
dyld`_dyld_start:
-> 0x1fedf000:  stmibge pc, {r0, r2, r3, r4, r5, r7, r12, sp}
   0x1fedf004:  bhs    0x20b66f44
   0x1fedf008:  sbcseq r0, r1, r10, lsl r12
   0x1fedf00c:  andeq  r0, r0, r0
(lldb) go_darwin_arm_exec: failed (stage br getwd): <nil>
FAIL	crypto/x509	45.722s

"failed" means the process on the iOS device died. I have a very similar failure here:
Breakpoint 1: where = libsystem_c.dylib`getwd, address = 0x2f7f7294
(lldb) success
(lldb) Process 54969 stopped

thread #1: tid = 0x21b6b6, 0x1febb000 dyld_dyld_start   frame #0: 0x1febb000 dyld_dyld_start
dyld`_dyld_start:
-> 0x1febb000:  svcne  #0xcea98f
0x1febb004:  .long  0x0c1a2a32                ; unknown opcode
0x1febb008:  .long  0x000000d1                ; unknown opcode
0x1febb00c:  andeq  r0, r0, r0
(lldb) go_darwin_arm_exec: failed (stage br getwd):
FAIL	go/printer	49.412s

where importantly the timeout was 4m:
go_darwin_arm_exec: script -q -t 0 /dev/null ios-deploy --debug -u -r -n --args=-test.short=true -test.timeout=4m0s --bundle /var/folders/2g/gfk3yj9d4318d1x3j8jgkjjw0000gn/T/go_darwin_arm_exec_211943220/gotest.app
go_darwin_arm_exec: parseTimeout of [-test.timeout=4m0s], got 4m0s
So it is entirely possible this is the process randomly dying on its own, but given the predictable state, the similar timing of each failure (46s and 49s), and the fact that the timeouts were far beyond that, I suspect this is the app being killed by iOS app launch timeout.
This means the brTimeout I set in golang.org/cl/8080 may be far too long.

Not fixed yet:
go_darwin_arm_exec: timed out on stage br getwd, continuing
breakpoint delete 1
expr char* $mem = (char*)malloc(512)
go_darwin_arm_exec: timeout (stage prompt after "expr char* $mem = (char*)malloc(512)")
FAIL	sync/atomic	239.252s

At this point, I suspect ios-deploy is buffering output somewhere:
go_darwin_arm_exec: timed out on stage br getwd, continuing
--- go_darwin_arm_exec clear ---
 breakpoint set -n getwd
run
Breakpoint 1: where = libsystem_c.dylib`getwd, address = 0x2f7f7294
(lldb)
--- go_darwin_arm_exec clear ---
--- go_darwin_arm_exec clear ---
 Process 3618 stopped
* thread #1: tid = 0x19506, 0x1fe5f000 dyld`_dyld_start, stop reason = signal SIGSTOP
    frame #0: 0x1fe5f000 dyld`_dyld_start
dyld`_dyld_start:
-> 0x1fe5f000:  mov    r8, sp
   0x1fe5f004:  sub    sp, sp, #0x10
   0x1fe5f008:  bic    sp, sp, #0x7
   0x1fe5f00c:  ldr    r3, [pc, #112]            ; _dyld_start + 132
(lldb)
--- go_darwin_arm_exec clear ---
 breakpoint delete 1
expr char* $mem = (char*)malloc(512)
go_darwin_arm_exec: timeout (stage prompt after "expr char* $mem = (char*)malloc(512)")
FAIL	cmd/internal/rsc.io/x86/x86asm	239.249s

A related but not exactly the same problem: after about 500 app installs the device becomes very slow. I have idevicediagnostics working from libimobiledevice.org, which lets me reboot devices, which I'll add to the test process somehow.
So far I have been impressed by this software and I'm considering switching from ios-deploy to ideviceinstaller, but I fear it will be a large amount of work.

Fixed by a series of CLs in misc/ios/go_darwin_arm_exec.go.


Dockerfile Missing Apex

Hello Nvidia,
Following the instructions, the README suggests downloading the apex repo, prior to building the Dockefile.
Is there a reason to not include the apex directory in the dockerfile?
e.g. RUN git clone https://github.com/NVIDIA/apex

yeah I think that might be the least of your troubles -  The code is for python 2 and all the container images are python 3

If you check out my fork of mellotron there's a passable Docker file.  Hack at will

Where is the docker file?

Dockerfile
you might want to take a look at the included scripts, for firing it off.

Thanks, I didn't see the docker branch. Is your docker branch of mellotron in a working state? I've been researching every flavor of TacoTron I could find but I everything seems very out of date.
Mellotron seems like its what I really want to be using.
Anyways for this repo, I'm trying to dev on my Docker on Windows but now I get "Warning: Torch did not find available GPUs on this system." and adding --runtime=nvidia doesn't help. Not sure if its my CUDA 10.2 or if it really doesn't work for nvidia docker.
I just want one of these tacotrons to work in Docker
FROM pytorch/pytorch:nightly-devel-cuda10.0-cudnn7
ENV PATH /usr/local/nvidia/bin:/usr/local/cuda/bin:${PATH}

RUN apt-get update -y

RUN pip install numpy scipy matplotlib librosa==0.6.0 tensorflow tensorboardX inflect==0.2.5 Unidecode==1.0.22 pillow jupyter

WORKDIR /
RUN git clone https://github.com/NVIDIA/apex

#ADD apex /apex/
WORKDIR /apex/
RUN pip install -v --no-cache-dir --global-option="--pyprof" --global-option="--cpp_ext" --global-option="--cuda_ext" ./

I have not actually tested this with Tacotron but I have to believe it should work - mellotron is mostly based on tacotron.  With regards to your GPU error, do you have other containers that are working?  I might suggest going out to nvidia/ngc to get one of their canned examples.  I think this code likes relatively modern GPUs,  I've tried to run things off of some not what I would call ancient but not new laptops, and they did not support the required API.  If that's the case the only solution is to update the hardware.  Since this is containerized, the Cuda,  Cudnn, and Apex are in the container, you just need a proper driver.  I haven't used this container with windows, or windows docker for that matter, so I can't help you with that.  note: if you find that TensorFlow is causing your GPU issue, it's not really used - they only use TF to wrangle the hyperparams.

I switched to Ubuntu 16.04. and I can see my GPUs now. (sudo docker run --gpus all nvidia/cuda:9.0-base nvidia-smi) I don't think its possible to do docker on windows with cuda.
Mellotron: Weird docker issue was downloading every container 3 times.
Rayhane-mamah's Tacotron: I got a docker image to start preprocessing
Nvidia's Tacotron2: I have 10.2 cuda installed but I think most containers aren't compatible with it
Rayhane-mamah/Tacotron-2
FROM continuumio/anaconda3:latest
FROM tensorflow/tensorflow:1.11.0-gpu-py3

RUN apt-get update
RUN apt-get install -y libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0 ffmpeg wget git vim

COPY ./ /tacotron2/

RUN pip install --upgrade pip
RUN ls
RUN pwd
WORKDIR /tacotron2
RUN pip install -r requirements.txt

Requirements.txt
falcon==1.2.0
inflect==0.2.5
audioread==2.1.5
librosa==0.6.3
matplotlib==2.0.2
numpy==1.14.6
scipy==1.0.0
llvmlite==0.31.0
tqdm==4.11.2
Unidecode==0.4.20
pyaudio==0.2.11
sounddevice==0.3.10
lws
keras==2.1.6

Rayhane-mamah's Tacotron output forr preprocessing:
root@147e6ad52570:/tacotron2# TMPDIR=$HOME/tmp
root@147e6ad52570:/tacotron2# python preprocess.py --dataset='M-AILABS' --language='en_US' --voice='female' --reader='mary_ann' --merge_books=True --base_dir='./datasets/M-AILABS'
initializing preprocessing..
Selecting data folders..
 10%|######7                                                            | 1356/13371 [01:42<20:36,  9.71it/s]file ./datasets/M-AILABS/en_US/by_book/female/mary_ann/midnight_passenger/wavs/midnight_passenger_05_f000269.wav present in csv metadata is not present in wav folder. skipping!
 29%|###################1                                               | 3831/13371 [04:49<16:25,  9.68it/s]concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
  File "/usr/lib/python3.5/concurrent/futures/process.py", line 175, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/tacotron2/datasets/preprocessor.py", line 159, in _process_utterance
    np.save(os.path.join(linear_dir, linear_filename), linear_spectrogram.T, allow_pickle=False)
  File "/usr/local/lib/python3.5/dist-packages/numpy/lib/npyio.py", line 511, in save
    pickle_kwargs=pickle_kwargs)
  File "/usr/local/lib/python3.5/dist-packages/numpy/lib/format.py", line 597, in write_array
    array.tofile(fp)
OSError: 681625 requested and 65504 written
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "preprocess.py", line 112, in <module>
    main()
  File "preprocess.py", line 108, in main
    run_preprocess(args, modified_hp)
  File "preprocess.py", line 83, in run_preprocess
    preprocess(args, input_folders, output_folder, hparams)
  File "preprocess.py", line 17, in preprocess
    metadata = preprocessor.build_from_path(hparams, input_folders, mel_dir, linear_dir, wav_dir, args.n_jobs, tqdm=tqdm)
  File "/tacotron2/datasets/preprocessor.py", line 42, in build_from_path
    return [future.result() for future in tqdm(futures) if future.result() is not None]
  File "/tacotron2/datasets/preprocessor.py", line 42, in <listcomp>
    return [future.result() for future in tqdm(futures) if future.result() is not None]
  File "/usr/lib/python3.5/concurrent/futures/_base.py", line 405, in result
    return self.__get_result()
  File "/usr/lib/python3.5/concurrent/futures/_base.py", line 357, in __get_result
    raise self._exception
OSError: 681625 requested and 65504 written

conda install -c conda-forge nvidia-apex


Output dir target/  could be renamed

Hi! I've been using trancrypt to access P5.js lib from Python and it's been awesome! Congratulations for the good job on this project! I think I have a feature suggestion I'd like to share with you.
I'm having some issues with Github.io using the compiled js files from the default __target__ directory. If you want more details about that, you can go to this issue and also this fix commit. But the short story is I'm having rename the directory from __target__  to target to be able to properly access the compiled files. I don't know why, but it's probably something with Github's URL...
Anyway, I took a look at the code and noticed the __target__ dir is hardcoded as a string in transcrypt/modules/org/transcrypt/compiler.py and transcrypt/modules/org/transcrypt/autotester/html.py files.
I was wondering if there's a way to add a flag to the trancrypt command to customize this directory name. For now I'm renaming this directory from my own script, but I guess this could be a nice thing to have available in the command line interface as well. What do you think about that?
Thanks :+1:

Thanks for the practical suggestion. The switch will be there in the next minor version.

also
https://github.com/QQuick/Transcrypt/issues/675

As of version 3.9.0, Transcrypt now has the --outdir command line parameter that lets you optionally specify the build folder.


Minimize task queue access in epoll event loop

Motivation
This is a follow-on change to #9191 which simplified the event loop task wakeup coordination. There are still redundant checks for task existence, which aren't free since they each involve 4 separate volatile reads, at least one of which is possibly contended.
Modifications
Add a variant of SingleThreadEventExecutor#runAllTasks(long) whose return value indicates whether any tasks still remain, rather than whether any were run. This is used to avoid immediately re-checking the queue after it's just been processed. Add a local hasTasks variable in the event loop run() method to keep track of whether or not outstanding tasks are known to be in the queue.
Result
Less coordination overhead in epoll event loop

I'm less convinced than I was originally that this is correct. Shouldn't the loop unconditionally set the wakenUp to ?

@carl-mastrangelo I don't quite follow, could you elaborate?

@carl-mastrangelo the main requirements are that

we want wakenUp to be 1 whenever we aren't in epollWait
there must not be a race when entering epollWait whereby task submissions could be missed

I'm fairly sure these are both met by the current logic - presumably you think one of them might not be?

we want wakenUp to be 1 whenever we aren't in epollWait

I think you mean to say it should be 1 when we are planning to check the task queue shortly.  It's okay for wakenUp to be 1 while it's in the process of waking up.  It just can't go back to sleep while it's still 1.  That's why I suggested disableWakeUp, because it expresses that wakeups should be debounced.

there must not be a race when entering epollWait whereby task submissions could be missed

Well, it's okay if that happens, as long as the event FD has  been written to since the last time epollWait woke up.

@njhill The thing that makes me less convinced is the reading of wakeUp == 0, previously, only one writer could make the wakeUp go to 1, and only one writer can make it go to 0.  Now, the poller checks for 0, which I don't know is correct (it's hard to reason about the race).
Also, why is the strategy > 0 part of the  conditional?  That just means there are fd's to read and write, not anything to do with tasks.  It seems like you would want to unconditionally set it to 1, because outside threads should not be able to wake it up then.

I would like to be very caution with this kind of changes if we not see a "massive" performance improvements. I would be very bad if we introduce a regression here...

we want wakenUp to be 1 whenever we aren't in epollWait

I think you mean to say it should be 1 when we are planning to check the task queue shortly. It's okay for wakenUp to be 1 while it's in the process of waking up. It just can't go back to sleep while it's still 1.

I think we may have a slight mental-model mismatch :) I did mean what I wrote ... the loop is either waiting or not waiting and we want the field to reflect that binary state as closely as possible since it's what guards against task-submission fdwrite syscalls when they aren't needed. So if some IO event wakes it up then the field will still be 0 and we want to set it to 1 immediately. This is the reason for the strategy > 0 check, it's is just an optimization to avoid the subsequent volatile read when we're almost certainly still 0.
In most other cases we will already be 1 because we would have been woken up by a task-submission CAS, however that's not guaranteed since it could be the 1sec timeout or possibly a race involving the hasTasks() above returning true. So we also need to check it explicitly, better to do that than volatile write unconditionally.
There is no race possibility around the wakeup (by race i'm referring to possibility of ending up stuck waiting while the queue is nonempty)... it does not matter when / how many fd writes or 0 -> 1 attempts happen or coincide. The sensitive part is entering sleep, that's where the possible interleavings matter, but I'm quite certain this is also robust (famous last words). It could be shown via a case analysis of the possible orderings.

Closing since this largely obsolete following other recent changes.


Continuing Full Stack Web Development Course [3]

As a member of the team, I need to learn how to connect react to node.js by
completing module 3 of Full Stack Web Development Course course so that I can be ready to initialize react during sprint 2.https://www.youtube.com/watch?v=DO_wR1tx-O0&list=PLpPqplz6dKxUaZ630TY1BFIo5nP-_x-nL&index=3

In this module I was able to learn how to set up react in a project. I also learned how to make api  request from react to the server to retrieve information and display it in the web application.


Wai manifest error while publishing

When I use cargo wapm --dry-run with the following:
[package.metadata.wapm]
namespace = "wasmer"
abi = "none"
bindings = { wai-version = "0.2.0", exports = "sha2.wai" }

I get the errrors:
Error: Could not parse manifest because missing field `wit-exports` for key `module.bindings` at line 14 column 1.
Error: Unable to publish "sha2-wasm"

Caused by:
    The wapm CLI exited unsuccessfully with exit code -1

This is another poor error message we were running into:
$ cargo wapm --dry-run
Error: Unable to publish "hello-world"

Caused by:
    0: Unable to deserialize the [metadata] table
    1: data did not match any variant of untagged enum Bindings

With the following Cargo.toml:
[package.metadata.wapm]
namespace = "wasmer"  # Replace this with your WAPM username
abi = "none"
bindings = { wai-bindgen = "0.1.0", exports = "hello-world.wai" }

(note the wai-bindgen instead of wai-version)

Fixed in #7 when we updated the wapm-toml dependency.


RHBPMS-4199, JBPM-5301 - Different behavior of task service on EAP6 a…

…nd EAP7
unfortunately couldn't figure out how to write a test for this as the only change is to use the main interface of the listener this producer will return rather than actual impl as it seems CDI impl in wildfly 10 interprets it differently.

+1, jenkins failures are unrelated to this change.


append_column method doesn't exist

The documentation for Tables lists a method called append_column, but there doesn't seem to be such a method.

It looks like this is cause the package isn't updated to the latest version on our servers.

The latest __setitem__ method actually uses Table.append_column (https://github.com/dsten/datascience/blob/master/datascience/tables.py#L156)
@ryanlovett , can you update us to the latest version? It should be 0.3.dev15.

This method is now available on the servers!


feat(textlint): support ESM rule/filter-rule/preset/plugin

[ ] use import() instead of require
[ ] remove deprecated loading API
[ ] create new async api for returing status

availableExtensions → async getAvailableExtensions
rethink new API

fix #868

Currently, new Config is sync.
ESM supporting need to make it async...

closed by https://github.com/textlint/textlint/issues/868


Spill metrics everywhere

This enables spill metrics for all parts of the GPU plan (except UCX shuffle) that can spill. It also removes some old code there was there when cudf contiguous split did not work with nested types.
Right now it changes the API in a non-backwards compatible way to force all of the operators that can spill to report metrics on spilling. I am OK with keeping it backwards compatible for now, but eventually I want to make the change permanent.

build


ENH: dimensional return from which

The current implementation of image relational operators applied to an antsImage ( e.g. maskImg > 0 ) always return a 1D vector, unlike the same operation on an array which returns a boolean array of the same size and dimension as the input array, thus providing the ability to get the indices of the locations via "indices = which( myArray > 0, arr.ind=T )"  The changes here resize the returned vector to equal the dimensions of the input image so voxel indices can be obtained via "which( maskImage > 0, arr.ind=T )" Since these arrays can also be indexed as 1D vectors, this shouldn't be problematic for existing code.

@jeffduda  i had to make some significant changes to the code base in order to allow us to continue testing on travis.   ANTsR now requires ANTsRCore which is similar to ITKR.  will test this now with new framework.


Create UnityExecuteActivityFactory.cs

create a unity factory class for execute activity to register the ExecuteContext instance to the child container. This will allow us to resolve the Executecontext in the Activity Ctor() using scoped container.

Rebased/merged.


Undocumented behaviour

LXSS can pass -2 (fffffffffffffffe) for the times. Can we please have it documented exactly what this means?

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

ID: 30d6a301-2028-bba5-0e43-092824810891
Version Independent ID: 5c8c373a-b34a-5e73-8002-57076540e6ce
Content: _FILE_BASIC_INFORMATION - Windows driver
Content Source: wdk-ddi-src/content/wdm/ns-wdm-_file_basic_information.md
Product: windows-hardware
GitHub Login: @windows-driver-content
Microsoft Alias: windowsdriverdev

See also [this link](url
https://community.osr.com/discussion/comment/290374)
I have scoured the header for appropriation conte t and found nothing so there have to be code changes as well.

Cheers Rod. I can see that NtfsSetBasicInfo is clearing a flag, so that thread is probably right.

FWIW I would trust an analysis by @ladislav-zezula
Notwithstanding this behavior should be documented and the symbolic values made available in the WDK

Apologies for the delay on this one.  I've been unable to get more info on the -2.  Recommend you try http://www.osronline.com/showlists.cfm?list=ntdev if it's still an issue.  If you figure it out, please use the Edit button on a docs page to open a PR :)

@tedhudek FWIW: The initial report came from ntfsd !(a much better resource for file systems that NTDEV).
https://community.osr.com/discussion/comment/290374  That describes what it does (which is effectively to unto the -1 thing).  I'd rather not add the text since I don't have code access and I'd be making it up based on empirical evidence.

We got an answer!  Assigning to Lori to add it

@maharmstone , thanks for pointing out that meaning of -2 was missing! I've updated the page to answer the mystery. Tagging @rodwiddowson since you're interested. :)

Thanks for sorting this!


What michrophone/speakers are best for  leds best performance?

I noticed while testing my LEDs to the demo video Scott made that it doesn't match up, what would me the best michrophone/speakers for this?

So you use a microphone? I'd recommend using a usb soundcard and feeding the signal directly per 3,5mm Jack into your computer/rpi. Since the program sets the gain automtatically I would assume that every soundcard goes well with it.

So you use a microphone? I'd recommend using a usb soundcard and feeding the signal directly per 3,5mm Jack into your computer/rpi. Since the program sets the gain automatically I would assume that every soundcard goes well with it.

Will I get better results with a soundcard? Do you use a soundcard? I thought everyone was using microphones

I tried both and for what I can say is the result with a soundcard is way better than with a microphone. Makes sense because the pc/pi gets the signal without interference and in full dynamic range (20-22kHz).
Also you have to play a little with your frequency range. I use it for bass visualization and therefore set it to 50-400Hz. Looks great!

What soundcard do you recommend? And also, I don't understand how can a
soundcard power the code, isn't a soundcard something you plug your mic or
speakers into?
2019-12-13, pn, 12:06 Leo<EMAIL_ADDRESS>rašė:

I tried both and for what I can say is the result with a soundcard is way
better than with a microphone. Makes sense because the pc/pi gets the
signal without interference and in full dynamic range (20-22kHz).
Also you have to play a little with your frequency range. I use it for
bass visualization and therefore set it to 50-400Hz. Looks great!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/scottlawsonbc/audio-reactive-led-strip/issues/253?email_source=notifications&email_token=AN6RZZZOCNSNY3AZOYTT6QDQYNNBJA5CNFSM4JVUNNZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGZQQOA#issuecomment-565381176,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN6RZZ6KTBJCQM7FQKDCTI3QYNNBJANCNFSM4JVUNNZQ
.

I tried both and for what I can say is the result with a soundcard is way better than with a microphone. Makes sense because the pc/pi gets the signal without interference and in full dynamic range (20-22kHz).
Also you have to play a little with your frequency range. I use it for bass visualization and therefore set it to 50-400Hz. Looks great!

Still waiting for your reply :D

Oh sorry I didn't see your message. Most soundcards will funktion if you configure teh Raspi like mentioned in the readme. Though there are some cards that don't work, buying a 3$ card from ebay should do the trick. Mine is about 9 Years old but works like a charm. The soundcard does the same like any usb microphone. The advantage is that the Sound does not need to travel through the air so the signal is much cleaner and better. I hope that helped you and sorry for the late reply :)

Thanks for replying,
Will the soundcard work with the pc version, I have a Raspberry Pi 3 laying
around if it doesn't though.
On Thu, 2 Jan 2020, 21:39 Leo<EMAIL_ADDRESS>wrote:

Oh sorry I didn't see your message. Most soundcards will funktion if you
configure teh Raspi like mentioned in the readme. Though there are some
cards that don't work, buying a 3$ card from ebay should do the trick. Mine
is about 9 Years old but works like a charm. The soundcard does the same
like any usb microphone. The advantage is that the Sound does not need to
travel through the air so the signal is much cleaner and better. I hope
that helped you and sorry for the late reply :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/scottlawsonbc/audio-reactive-led-strip/issues/253?email_source=notifications&email_token=AN6RZZ6CPWPUV427LQB22A3Q3Y7I3A5CNFSM4JVUNNZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH7GA2A#issuecomment-570318952,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN6RZZ4XT65FRWVKNII4KDDQ3Y7I3ANCNFSM4JVUNNZQ
.

Yes it will. Just stick to the Readme and you should do nothing wrong.

Seems like this was solved, closing.


Set KubeVeal as verified publisher of ArtifactHub

Set KubeVela team as a verified publisher of Artifacthub,
Add README to the repo and add helm badge in github readme
fix #977

Please hold on when README is verified to successfully show in Helm chart page in artifacthub.io.
Verified Publisher could work. I will delete KubeVela PoC repo later.

I have verified README could show as expected.