MutableObserval2DArray replace apis extension

Adding replace methods to MutableObserval2DArray to support array diff per section items in multiple sectioned table

Current coverage is 68.10% (diff: 0.00%)

No coverage report found for master at 4516eaa.

Powered by Codecov. Last update 4516eaa...4d04e09

Thanks @mtaweel!


[sonatype-nexus] Fix statefulset label issues

Closes #93
As mentioned in that issue, having the version number in the labels for all the resources is problematic for StatefulSets and PVCs. This removes that version number and just uses the chart name instead which shouldn't change in future. Obviously this will cause one last breakage for affected users but future upgrades should be less painful.
Here is an example error I encountered when going from 3.1.1 to 3.2.0 of the Helm chart:
cannot patch "sonatype-nexus" with kind StatefulSet: StatefulSet.apps "sonatype-nexus" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden
The fix was to delete the StatefulSet and redeploy which isn't ideal.
In addition I've increased the default initialDelaySeconds for the livenessProbe to 5 minutes. With large repositories it can take a long time for nexus to start up where it does a chown to the nexus user on all files in the data volume. 30 seconds can cause a lot of unnecessary restarts.
Finally I've changed the install4jAddVmParams to INSTALL4J_ADD_VM_PARAMS which seems to be what the Nexus startup scripts are looking for. I've removed -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap because they don't make much sense when explicitly setting Xmx and Xms, and added -XX:ActiveProcessorCount=4 which fixes https://github.com/travelaudience/docker-nexus/issues/27.
I'm very happy to make changes if you disagree with any of these. Thanks for the great Helm Chart :+1:

Looks good. Thanks for the updates


Support for a progress

Hi!
I have a 100Mb Json file, it takes a while to read. It is possible to show a progress state?
Thanks.

At the moment there is no progress functionality available.


Enabling tf.debugging.set_log_device_placement(True) does not print output

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

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): no
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 20.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: n/a
TensorFlow installed from (source or binary): pip install tensorflow / wheel
TensorFlow version (use command below): 2.7.0
Python version: 3.8.5
Bazel version (if compiling from source): n/a
GCC/Compiler version (if compiling from source): n/a
CUDA/cuDNN version: 11.2
GPU model and memory: NVIDIA TU102 [GeForce RTX 2080 Ti Rev. A]

Describe the current behavior
I expect to see physical device placement output when running the examples in the GPU documentation.
Describe the expected behavior
I do not see any additional output when enabling the logging for device placement.

Do you want to contribute a PR? (yes/no): unsure
Briefly describe your candidate solution(if contributing): n/a

Standalone code to reproduce the issue
import tensorflow as tf
tf.debugging.set_log_device_placement(True)
print(tf.__version__)
print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU')))

# Place tensors on the CPU
with tf.device('/CPU:0'):
  a = tf.constant([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]])
  b = tf.constant([[1.0, 2.0], [3.0, 4.0], [5.0, 6.0]])
  c = tf.matmul(a, b)
print(c)

# Place tensors on the GPU
with tf.device('/GPU:0'):
  a = tf.constant([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]])
  b = tf.constant([[1.0, 2.0], [3.0, 4.0], [5.0, 6.0]])
  c = tf.matmul(a, b)
print(c)

Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
Running the above gives me the following output
2.7.0
Num GPUs Available:  1
tf.Tensor(
[[22. 28.]
 [49. 64.]], shape=(2, 2), dtype=float32)
tf.Tensor(
[[22. 28.]
 [49. 64.]], shape=(2, 2), dtype=float32)

cudnn is 8.2.
$ cat /usr/include/cudnn_version.h  | grep -e '\(PATCHLEVEL\|MAJOR\|MINOR\)'
#define CUDNN_MAJOR 8
#define CUDNN_MINOR 2
#define CUDNN_PATCHLEVEL 0
#define CUDNN_VERSION (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL)

and nvcc
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Sun_Feb_14_21:12:58_PST_2021
Cuda compilation tools, release 11.2, V11.2.152
Build cuda_11.2.r11.2/compiler.29618528_0

@sanatmpa1 ,
I was able to reproduce the issue in tf v2.7, v2.5 and tf-nightly.Please find the gist of it here.

This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you.

It's a bug tho. You don't close issues of actual bugs do you?

@kratsg ,
Please feel free to submit a PR for the requested change or share the link where requested change is to be made

Please feel free to submit a PR for the requested change or share the link where requested change is to be made

I don't know what caused the regression.

@kratsg ,
As mentioned in gist we are able to get the same result as provided in doc.Please feel free to submit a PR for the requested change.It helps to analyse and debug the bug.Thanks!

@tilakrayal I don't understand why I'm only able to get those messages showing up in google colab. Is there some logging settings one needs to enable? I've tried on four different GPU machines I have handy with various OSes and I am unable to reproduce the colab. So I must be missing something. As an example of what I'm seeing
(venv) kratsg@slugpu:~$ python tflow-53424.py
2.7.0
Num GPUs Available:  1
tf.Tensor(
[[22. 28.]
 [49. 64.]], shape=(2, 2), dtype=float32)
tf.Tensor(
[[22. 28.]
 [49. 64.]], shape=(2, 2), dtype=float32)

and interactively
(venv) kratsg@slugpu:~$ python
Python 3.8.5 (default, Jul 28 2020, 12:59:40)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> tf.debugging.set_log_device_placement(True)
>>> print(tf.__version__)
2.7.0
>>> print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU')))
Num GPUs Available:  1
>>> with tf.device('/CPU:0'):
...   a = tf.constant([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]])
...   b = tf.constant([[1.0, 2.0], [3.0, 4.0], [5.0, 6.0]])
...   c = tf.matmul(a, b)
...
>>> print(c)
tf.Tensor(
[[22. 28.]
 [49. 64.]], shape=(2, 2), dtype=float32)
>>> exit()

and I'm unable to get any messages coming out. I've also tried this on my Mac with a GPU and I cannot see any additional logging. However, when I launch this in a jupyter notebook instead -- I see the messages. Is this something that only shows up in a notebook?

Hi @kratsg, I tried on Ubuntu with Tensorflow 2.9.1. Looks like tf.debugging.set_log_device_placement(True)   working as expected. Please see the below log and confirm the issue.
>>> import tensorflow as tf
>>> tf.debugging.set_log_device_placement(True)
>>> print(tf.__version__)
2.9.1
>>> print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU')))
2022-08-01 07:10:04.054341: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:10:04.054959: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:10:04.063072: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:10:04.063576: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:10:04.064380: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:10:04.064840: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
Num GPUs Available:  2
>>> with tf.device('/GPU:0'):
...     a = tf.constant([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]])
...     b = tf.constant([[1.0, 2.0], [3.0, 4.0], [5.0, 6.0]])
...     c = tf.matmul(a, b)
...
2022-08-01 07:11:24.370389: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2022-08-01 07:11:24.725346: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:24.725942: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:24.726683: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:24.727091: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:24.727764: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:24.728151: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:25.787425: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:25.788068: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:25.788835: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:25.789262: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:25.789963: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:25.790353: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1532] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 528 MB memory:  -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5
2022-08-01 07:11:25.790849: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:25.791497: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1532] Created device /job:localhost/replica:0/task:0/device:GPU:1 with 13530 MB memory:  -> device: 1, name: Tesla T4, pci bus id: 0000:00:05.0, compute capability: 7.5
2022-08-01 07:11:25.808304: I tensorflow/core/common_runtime/eager/execute.cc:1323] Executing op _EagerConst in device /job:localhost/replica:0/task:0/device:GPU:0
2022-08-01 07:11:25.809114: I tensorflow/core/common_runtime/eager/execute.cc:1323] Executing op _EagerConst in device /job:localhost/replica:0/task:0/device:GPU:0
2022-08-01 07:11:25.818023: I tensorflow/core/common_runtime/eager/execute.cc:1323] Executing op MatMul in device /job:localhost/replica:0/task:0/device:GPU:0
>>> print(c)
tf.Tensor(
[[22. 28.]
 [49. 64.]], shape=(2, 2), dtype=float32)

Hi @kratsg, I tried on Ubuntu with Tensorflow 2.9.1. Looks like tf.debugging.set_log_device_placement(True)  working as expected. Please see the below log and confirm the issue.
>>> import tensorflow as tf
>>> tf.debugging.set_log_device_placement(True)
>>> print(tf.__version__)
2.9.1
>>> print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU')))
2022-08-01 07:10:04.054341: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:10:04.054959: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:10:04.063072: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:10:04.063576: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:10:04.064380: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:10:04.064840: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
Num GPUs Available:  2
>>> with tf.device('/GPU:0'):
...     a = tf.constant([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]])
...     b = tf.constant([[1.0, 2.0], [3.0, 4.0], [5.0, 6.0]])
...     c = tf.matmul(a, b)
...
2022-08-01 07:11:24.370389: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2022-08-01 07:11:24.725346: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:24.725942: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:24.726683: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:24.727091: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:24.727764: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:24.728151: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:25.787425: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:25.788068: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:25.788835: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:25.789262: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:25.789963: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:25.790353: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1532] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 528 MB memory:  -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5
2022-08-01 07:11:25.790849: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] 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-08-01 07:11:25.791497: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1532] Created device /job:localhost/replica:0/task:0/device:GPU:1 with 13530 MB memory:  -> device: 1, name: Tesla T4, pci bus id: 0000:00:05.0, compute capability: 7.5
2022-08-01 07:11:25.808304: I tensorflow/core/common_runtime/eager/execute.cc:1323] Executing op _EagerConst in device /job:localhost/replica:0/task:0/device:GPU:0
2022-08-01 07:11:25.809114: I tensorflow/core/common_runtime/eager/execute.cc:1323] Executing op _EagerConst in device /job:localhost/replica:0/task:0/device:GPU:0
2022-08-01 07:11:25.818023: I tensorflow/core/common_runtime/eager/execute.cc:1323] Executing op MatMul in device /job:localhost/replica:0/task:0/device:GPU:0
>>> print(c)
tf.Tensor(
[[22. 28.]
 [49. 64.]], shape=(2, 2), dtype=float32)

Not working for me also.
import os
import tensorflow as tf
gpus = tf.config.list_physical_devices('GPU')
if gpus:
try:
# Currently, memory growth needs to be the same across GPUs
for gpu in gpus:
tf.config.experimental.set_memory_growth(gpu, True)
logical_gpus = tf.config.list_logical_devices('GPU')
print(len(gpus), "Physical GPUs,", len(logical_gpus), "Logical GPUs")
except RuntimeError as e:
# Memory growth must be set before GPUs have been initialized
print(e)
tf.debugging.set_log_device_placement(True)
Create some tensors
a = tf.constant([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]])
b = tf.constant([[1.0, 2.0], [3.0, 4.0], [5.0, 6.0]])
c = tf.matmul(a, b)
print(tf.version)
print(c)
print(tf.test.is_built_with_cuda())
Place tensors on the CPU
with tf.device('/CPU:0'):
a = tf.constant([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]])
b = tf.constant([[1.0, 2.0], [3.0, 4.0], [5.0, 6.0]])
Run on the GPU
c = tf.matmul(a, b)
print(c)
C:\Users\ASUS\PycharmProjects\pythonProject\venv\Scripts\python.exe "C:\Program Files\JetBrains\PyCharm Community Edition 2020.3.2\plugins\python-ce\helpers\pydev\pydevd.py" --multiproc --qt-support=auto --client <IP_ADDRESS> --port 50090 --file C:/Users/ASUS/PycharmProjects/pythonProject/testgpu.py
Connected to pydev debugger (build 203.6682.179)
2022-08-02 23:08:02.632756: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2022-08-02 23:08:02.974651: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1532] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 2153 MB memory:  -> device: 0, name: NVIDIA GeForce GTX 1650, pci bus id: 0000:01:00.0, compute capability: 7.5
1 Physical GPUs, 1 Logical GPUs
2.9.1
tf.Tensor(
[[22. 28.]
[49. 64.]], shape=(2, 2), dtype=float32)
True
tf.Tensor(
[[22. 28.]
[49. 64.]], shape=(2, 2), dtype=float32)
Process finished with exit code -1

Hi @mdtalibahmad, Can you try with CUDA 11.4 version. I am unable to replicate the issue on our environment. Thank you!


Lockers dont stop bullets

also happens when you shoot a locker on the outside

probably has wrong layers/mask

probably has wrong layers/mask

Yep, gonna hotfix.

This issue is now a bit worse since it affects so many steal objectives.
https://user-images.githubusercontent.com/60792108/148635216-551e9517-93fa-4408-82d1-5a38fafeffcc.mp4

Similar issue to thrown objects not hitting people. Not sure if shooting crates works either.

Similar issue to thrown objects not hitting people. Not sure if shooting crates works either.

This has its own issue https://github.com/space-wizards/space-station-14/issues/3920

Lockers need MobImpassible when they're closed and no MobImpassible when they're open to behave right vs bullets

This is no longer the case.


Migrate zos contracts to solidity v0.5.x

I tried to find if the issue is already exists or not, but it seems that there is no duplicates.
Currently, I see that zos-lib contracts almost use solidity v0.4.24. It would be great if the solidity version can be migrated to v0.5.x breaking changes.

Implemented in https://github.com/OpenZeppelin/openzeppelin-sdk/commit/ef03e13516855757b9bcfda6f0a8aab5534240db#diff-4c2060ba83bbf88924e4d2f83222f514. We may want to migrate to 0.6 now though!


Fees

https://nemtech.github.io/concepts/transaction.html#fees
Include max_fee field in the transaction.
TransferTransaction.create(
    Deadline.create(),
    Address.createFromRawAddress('S..4'),
    [new Mosaic( Alias.create('alice.token'), UInt64.fromUint(10)],
    PlainMessage.create('Welcome To NEM'),
    NetworkType.MIJIN_TEST,
    NetworkCurrencyMosaic.createRelative(10), // maxFee);

From Slack:

Replace fee for max_fee and make this parameter settable from the transaction model.

⚠ If this could be an optional parameter, it won't break the current guides. Default to 0 if not set.

As effective_fee = transaction::size * block::fee_multiplier, it could be useful to have a method to calculate which is the transaction size, so that max_fee parameter can be set accordingly.

TransactionHttp (or another service) could provide with a function to calculate the fee paid given the transaction hash.

Now maxFee field is left optional from all create() methods.
Also, the fee field has been renamed maxFee on all transaction constructors and unit tests were adapted.
Still missing:

transaction size calculator
transaction paid reader

Added Transaction.size getter to retrieve base transaction size.
Notes:

Currently the signature and signer field are assumed to be set.
Each class extending the Transaction class implemented an overload of the size getter to define their type-specific binary data sizes.

This is an implementation proposal for the size feature to avoid adding a switch(this.type) with many transaction type cases, and make use classes inheritance instead.
Unit tests have been added for each size call.

Open PR #101 with implementation proposal to be merged.


Future question for farm history/bag placement

We need to be asking farmers do they fertilize every row, or every other. If every other, which is which for litterbag sets A and B.
Timeline: Spring 2021

Forgot to add this to the Farm History Survey, v 1.3, but only 20 people have submitted. Should I update to version 1.4?


[core] Create the docs theme once

No need to create the same theme over and over again between each BrandingProvider instance. In the Joy UI pages, we mount this component a lot of times which can lead to a lot of console.log when you try to debug it.

Off-topic it seems that there are way too many ThemeProvider used in the pages, but it's a different problem, so I'm not looking into it. I think that what we need is:

One Material UI customized branding theme provider at the root of the page (not inside _app)
One raw Material UI theme provider for each Material UI demos, one raw Joy UI theme provider for each Joy UI demo, etc.

@bharatkashyap Shall we do this in Toolpad as well?
@oliviertassinari fyi, we greatly simplified the the theme switching login in Toolpad using our useLocalStorageState hook. With the added bonus of automatically syncing theme switches across all tabs. Perhaps worth bringing this to the docs as well?


[#710] fix frontend file extension check

@dtarb @mauriel133 @hyi @pkdash
please review
#710 hotfix

Can one of the admins verify this patch?

@hyi  It is done. Thanks for your comment.

+1

A rebuild has been triggered for this manually, though it may not auto-populate the PR interface.
Please reference the output of: http://ci.hydroshare.org:8080/job/pull-request-builder/36/
If all passes, then we are good to go.


v5.13.4

New release v5.13.4

@DiegoAndai Would you mind including this as well 🙏 https://github.com/mui/material-ui/pull/37029

@mnajdova Fixed casing for base (Base -> base), as well as for the other package names (Material -> material, Joy -> joy). Is that the convention?

@mnajdova Fixed casing for base (Base -> base), as well as for the other package names (Material -> material, Joy -> joy). Is that the convention?

yes, ideally they should match the labels, however we renamed the labels recently. In anyway they should be lowercased.


chore(deps): update dependency autoprefixer to v9.8.6

This PR contains the following updates:

Package
Type
Update
Change

autoprefixer
devDependencies
patch
9.8.5 -> 9.8.6

Release Notes

postcss/autoprefixer
v9.8.6
Compare Source

Fixed env option.

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

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

v5.1.10
GitHub release

Your semantic-release bot :package::rocket:


i honestly dont know what im doing

Update price if its bad :/

how did you crack my state-of-the-art algorithm of determining prices?
y=50(x+5)

im not good at item names so uh yeah

how did you crack my state-of-the-art algorithm of determining prices?
y=50(x+5)

idk


[Bug] new cubemap/cubelight generation always generates cubemaps/cubelights at 128x128 A8R8G8B8 format regardless of what resolution you picked

Describe the bug
Title. if i try to generate a cubemap or cubelight above 128x128 it asks me a dumb question of if i want to switch the size and format to that of the new texture, and if i say no every time it asks, my cubemap/cubelight texture ends up being a broken mess. and if i say yes, it just takes my 512x512 cubemap/cubelight texture and acts like i generated the whole thing at 128x128.

the broken 512x512 cubelight
vs the "proper" 512x512 cubelight

commit d51d997 fixes cubemap output size, but not cubelight output size. cubelights still output at 128.


fixes  #239

You mean implementing it in com.faforever.client.notification.TransientNotificationControllerTest?

Yes

Travis fail is not related to changes made

Changes Unknown when pulling 90ce557cd2288e9356eadcf0d868ce014a774880 on feature/#239-dismiss-on-right-click into ** on develop**.

Coverage decreased (-0.004%) to 51.068% when pulling 72b84e9753fdca64f7527e7b902379e5de1de63d on feature/#239-dismiss-on-right-click into dbc4a1a26ddb16a0b4f79f7261e23938943b254a on develop.

Changes Unknown when pulling 41b238a56f8c64e0e56934f8ef8803b430988448 on feature/#239-dismiss-on-right-click into ** on develop**.

Coverage increased (+0.05%) to 51.401% when pulling 08e0def8ca0061a61de8ad241b1a8454bbf66aab on feature/#239-dismiss-on-right-click into 065b40a17c17bcc8644fbe8a6d4a9f10e7531962 on develop.

Coverage increased (+0.01%) to 51.358% when pulling 990eb797fa78a678279886a352cbdec4bc647bf5 on feature/#239-dismiss-on-right-click into 065b40a17c17bcc8644fbe8a6d4a9f10e7531962 on develop.

And how do I do this? With rebase?

IntelliJ: VCS -> Git -> Rebase -> Select "interactive" -> Squash all commits but the last one, reword the last one
basically :)
Alternatively; Do a soft reset to your first commit, then commit mit "amend" selected.
In both cases, force push

Coverage decreased (-0.2%) to 51.13% when pulling 50b4727d84c7be6775d382f75958007a6c05445d on feature/#239-dismiss-on-right-click into 065b40a17c17bcc8644fbe8a6d4a9f10e7531962 on develop.

Haha ok that's probably not what u wanted. That's what happend when I did soft reset. Unlucköy I did not manage rebase.

Let's try to fix this together. Today?

Coverage increased (+0.2%) to 54.293% when pulling 13c21feec2261ed03f8230de7c0e610dd09b26fe on feature/#239-dismiss-on-right-click into 129ba0461294f78407c6d6276062d96dc88ef865 on develop.


feat: my feature branch

Why?

???

How?

[ ] ???

Changelog
This PR has a changelog that describes better what will really go to this new version

!release-beta

!release-beta ./examples/javascript


fix: upgrade devDeps to fix release builds

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Move Trace Debugger Bug

I want to debug the code by running tests in VS code. I use Move Trace Debugger extension .

Execute command sui move test --trace-execution. Folder "traces" was created successfully

Open the required file with tests

Run -> Start Debugging

Select a test function

Expected Result
The debugger will start successfully
Actual Result
Get an error:

System Information

OS: Windows 11, WSL Ubuntu
Sui ver: sui 1.39.3-5d4350d66d2b
Sui move ver: sui-move 1.39.3-5d4350d66d2b
Edition: 2024.beta

@Vadim-Kolchanov thanks for flagging this!

@awelc would you have any idea what might be wrong?

@Vadim-Kolchanov, thank you for the report indeed! I think I know what the problem is but it would be great if you could share your code so that I can confirm my suspicion, create a fix, and produce tests that will ensure that this will not happen in the future

@awelc, I can't share the source code, because it's still in development. But I created a separate project (with the entire structure preserved), where the error is reproduced. I hope this will help you.
https://github.com/Vadim-Kolchanov/bug_report

@awelc, I can't share the source code, because it's still in development. But I created a separate project (with the entire structure preserved), where the error is reproduced. I hope this will help you. https://github.com/Vadim-Kolchanov/bug_report

Thank you! That helped a lot! The fix is in the works and hopefully a new version will soon land in the VSCode marketplace (will keep you posted)

@awelc Thank you! I see you've done a great job

@awelc Thank you! I see you've done a great job

The new version of the extension has been published, though admittedly support for dynamic fields is somewhat lacking. Will work on trying to improve it shortly, though!


feat: DTOSS-5205 Configure Audit Diagnostic Settings

Description
Fixes for Diagnostics Settings across Hub, Audit and the Templates repo.
Context

Type of changes

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

Checklist

[x] I am familiar with the contributing guidelines
[x] I have followed the code style of the project
[ ] I have added tests to cover my changes
[ ] I have updated the documentation accordingly
[ ] This PR is a result of pair or mob programming

Sensitive Information Declaration
To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

[x] I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

Ready to merge.


Daily deployment

Setting up Circle CI to deploy to http://nullchat-daily.meteor.com/ :shipit: :watch:

@jonbaer this PR addresses both the issue of having a current deployment and using meteor deploy with nullchat


undercover.sqf

Fixed some grammar issues, simplifed and shortned some overly complicated messages and clarified some messages.

merging @bobchaos if you approved i think your english is better than mine


HTTP proxy, add worker

When using the proxy settings, it is most likely required to set the no_proxy flag equal to a list of all IPs and Hostnames of the nodes.
However, when using the add-worker command, this will break unless the user modified the plan file prior to running the install.
KET should verify that the new node is in the no_proxy list and append to it, or at least fail the validation.

When using the proxy settings, it is most likely required to set the no_proxy flag equal to a list of all IPs and Hostnames of the nodes.
Can we make this not true? I think I'd rather we figure out a way to not burden the user with this requirement, but it's not very clear if/how we can do that.


Status and status_label values for Availability by Holding (mfhd) endpoint

Calculates the "Available" / "Not Available" status from the work order, process type, or base status information that comes from Alma.
Fixes #937

@christinach I've added the property that Kevin requested.


Firebase SDK在FBLPromise上崩溃   Firbase 7.11.0     CocoPods

-[FBLPromise HTTPBody]: unrecognized selector sent to instance 0x2812e26a0
2021-05-13 18:28:05.128681+0800 ProductName[4278:1156379] Uncaught exception: NSInvalidArgumentException: -[FBLPromise HTTPBody]: unrecognized selector sent to instance 0x2812e26a0
(
0   CoreFoundation                      0x00000001a44fd880 935533F2-35EE-314E-A760-E74521F68435 + 1202304
1   libobjc.A.dylib                     0x00000001b946cc50 objc_exception_throw + 60
2   CoreFoundation                      0x00000001a440495c 935533F2-35EE-314E-A760-E74521F68435 + 182620
3   CoreFoundation                      0x00000001a4500438 935533F2-35EE-314E-A760-E74521F68435 + 1213496
4   CoreFoundation                      0x00000001a4502740 _CF_forwarding_prep_0 + 96
5   NeoSDK                              0x00000001061239e4 -[GDTCCTUploadOperation updateNextUploadTimeWithResponse:forTarget:] + 112
6   NeoSDK                              0x0000000106122eac __64-[GDTCCTUploadOperation sendURLRequestWithBatch:target:storage:]_block_invoke + 76
7   NeoSDK                              0x000000010638bc6c __56-[FBLPromise chainOnQueue:chainedFulfill:chainedReject:]_block_invoke.67 + 92
8   NeoSDK                              0x000000010638b574 __44-[FBLPromise observeOnQueue:fulfill:reject:]_block_invoke_2 + 100
9   libdispatch.dylib                   0x00000001a40f024c 0F3905E0-6720-3D08-9AE0-A43A8DA244C0 + 8780
10  libdispatch.dylib                   0x00000001a40f1db0 0F3905E0-6720-3D08-9AE0-A43A8DA244C0 + 15792
11  libdispatch.dylib                   0x00000001a40f920c 0F3905E0-6720-3D08-9AE0-A43A8DA244C0 + 45580
12  libdispatch.dylib                   0x00000001a40f9c5c 0F3905E0-6720-3D08-9AE0-A43A8DA244C0 + 48220
13  libdispatch.dylib                   0x00000001a4103d78 0F3905E0-6720-3D08-9AE0-A43A8DA244C0 + 89464
14  libsystem_pthread.dylib             0x00000001efccf804 _pthread_wqthread + 276
15  libsystem_pthread.dylib             0x00000001efcd675c start_wqthread + 8
)
2021-05-13 18:28:05.168385+0800 ProductName[4278:1156379] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[FBLPromise HTTPBody]: unrecognized selector sent to instance 0x2812e26a0'
*** First throw call stack:
(0x1a44fd86c 0x1b946cc50 0x1a440495c 0x1a4500438 0x1a4502740 0x1061239e4 0x106122eac 0x10638bc6c 0x10638b574 0x1a40f024c 0x1a40f1db0 0x1a40f920c 0x1a40f9c5c 0x1a4103d78 0x1efccf804 0x1efcd675c)
libc++abi.dylib: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[FBLPromise HTTPBody]: unrecognized selector sent to instance 0x2812e26a0'

Thanks for rerporting, @junjunHappyEvenTwo. The error you encountered seems to be related to issue #7939. With this, please try the solution provided on that issue, and see if the issue will persist. Thanks.

Could be related to #8005.

@junjunHappyEvenTwo Please share the Podfile.lock file.


[BUG] The game crashed after right clicking crafter

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
After right clicking on the crafter the ui showed up then the game froze then crashed
Here is the crash report, I can provide the logs or the mod list if the info there isn't enough:
crash-2023-11-06_19.34.08-client.txt
Expected Behavior
No crashing after upening gui
Steps To Reproduce

Place a crafter
Open crafter
I moved my mouse over the capacitor slot i think.

Environment
- OS: Fedora 38
- Java version: java-17-openjdk-<IP_ADDRESS>.7-1.fc38.x86_64
- Minecraft version: 1.20.1
- EnderIO version: 6.0.21-alpha
- Forge version: 47.2.0

Anything else?
Good luck with all the bug, love the mod so fare mod so far. ♥
If needed love the mod so far I can help with french translation and updating textures to fit more the theme, just ask.☺

I can reproduce this crash, this line fails with these two translation files: el_gr.json and fr_fr.json
I propose replacing L45-L46 with this code:
for (String s : split) {
     list.add(Component.literal(s.strip()));
}

Steps To Reproduce

Change Minecraft's language to French or Greek
Place any machine that requires a capacitor
Hover over the energy bar while there's no capacitor

One of the languages that causes the issue:

Great find !
I'm gonna make/comple the french translation soon either way, deriving it from en_us to avoid those thing in the future

Looks like a dupe of #472 :) Cheers for the report though! This should get fixed in code but could also be resolved through the translations


Adds initial Timeseries Insights get started notebook.

REQUIRED: Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.

--- YOUR PR SUMMARY GOES HERE ---

REQUIRED: Fill out the below checklists or remove if irrelevant

If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[ ] Use the notebook template as a starting point.
[ ] Follow the style and grammar rules outlined in the above notebook template.
[ ] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[ ] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[ ] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[ ] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

If you are opening a PR for Community Notebooks under the notebooks/community folder:

[ ] This notebook has been added to the CODEOWNERS file under the Community Notebooks section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

If you are opening a PR for Community Content under the community-content folder:

[ ] Make sure your main Content Directory Name is descriptive, informative, and includes some of the key products and attributes of your content, so that it is differentiable from other content
[ ] The main content directory has been added to the CODEOWNERS file under the Community Content section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

@battulga11: thanks for the contribution. The notebook was failing on the test. Do you need to need any assistance?

Close for now. Please reopen if this is still needed. Thanks.


Feature: adjust contributor activity indicators

Current behavior
The current thresholds for contributor activity are

Low <5
Medium 5 <= 80
High > 80

These match the pull request activity for a repository, which is unreasonably high.

Suggested solution
We should adjust to better reflect activity levels for contributors

Low <2
Medium 2 <= 5
High > 5

Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Contributing Docs

[ ] I agree to follow this project's Contribution Docs

My suggestion

Removing activity from this table all together would be a quick fix
I also recommend we expand repositories to this: react, react-native + 3
Also want to most used languages seem off. Not one core team member has JavaScript as a most used language.


[Content UI] Formulas Formatting Issues (overlapping)

Steps to reproduce the problem

Go to Quantum feature maps and kernels
See error in formula

What is the current behavior?
Attached screenshot. The formula kerning is a inconsistent and overlaps with itself

What is the expected behavior?
We shouldn't be seeing any overlapping text in formula formatting
Screenshots (optional but very helpful)
If applicable, please add screenshots or video captures to help explain the problem.
Environment (optional but very helpful)

Device: MacBook Pro 16
OS: macOS 12.0.1
Browser: Safari 15.1

Additional context (optional)
Add any other context that could help debug the problem.

Confirming bug in Safari 15.4, but formatting works fine in Chrome 101.0.4951.64.

This repository is no longer maintained. It has been superseded by IBM Quantum Learning.


🚀 Feature:  Able to fully use the features in react-jsonschema-form

🔖 Feature description
There are so many cool features in REACT-JSONSCHEMA-FORM but not every feature is available while buidling a software Template to make the template look good and easy to use.
🎤 Context
In my usecase i need some of the features (apart from the default features that we already have) from react json schema form, but not able to implement those UI:features .
eg:
    ui:enableMarkdownInDescription: true,
    ui:description: Make text **bold** or *italic*. Take a look at other options [here](https://probablyup.com/markdown-to-jsx/).

✌ Possible Implementation
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

Oh this looks like a new feature thats dropped in the latest version. Whilst I don't think that we're using this recent of version you'll want to use the scaffolder/next preview to get access to the most recent version of react-jsonschema-form as the current stable plugin is locked at v3.
There's some docs about how to migrate to test the new version, which will hopefully be released in the upcoming minor releases for Backstage.
About this feature specifically, we recently added https://github.com/backstage/backstage/pull/17952 which fixes this exact use case actually, but maybe we don't need that now anyways.
I'll make sure that we get react-jsonschema-form ahead of the next release tomorrow too so you can try out these new features then!


Could not find a mixture for the Universal Dependencies (UD) style in Thai language

I have been trying to use a wtpsplit in the Thai language by using the 'ud' style as :
# specify language code to be 'th' and style='ud' according to the paper
wtp.split(text, lang_code="th", style='ud')

However, there returned an error that:
ValueError: Could not find a mixture for the style 'ud'.

I also checked in the language_info.csv file and found that the UD style is also supported in the Thai language as UD_Thai-PUD
I have tried on another supported style such as OPUS100 and found that it is usable, except for the UD style that returned me an error. Did this is an error or did I understand something wrong?
Thank you

This is a bit of a subtle problem: We have a test set in UD for Thai, but no train set. That's why we evaluate on UD_Thai-PUD in the paper but we don't train on it (so there is no mixture). You can verify this by checking if the Tables in the Appendix (in this case Table 13) have a number for WtP_PUNCT in the paper.


Non-deterministic failure of test case 82 (SMAIndexSubBlock_unittest) in Build #829

https://travis-ci.org/pivotalsoftware/quickstep/builds/131457246
The failure is non-deterministic because the test can be passed by restarting the test job.

Fixed in PR#230. Closing this issue.


[Python Track2] [STG69] Batch Delete/Set tier

This one is blocked for now

Done https://github.com/Azure/azure-sdk-for-python/pull/7387


Support for dynmap running sqlite?

Is it possible to setup LiveAtlas with dynmap running with sqlite with the current state?

Sorry for the delayed reply. There shouldn't be anything stopping you from using that setup, as long as you provide the correct urls when configuring LiveAtlas.
It should work out of the box if you have a single server and haven't modified index.html with your own server configuration.


Static IP and A2P Voice App key

I have added description of static IP and A2P Voice application key.
These are new properties on the subscription and shall be able to set when creating a subscription as well as when doing PATCH

Top header says "Change ODB Profile" in  change_a2p_voice_app_key.md  and  change_static_ip.md

I fixed the typos in the headers in  change_a2p_voice_app_key.md and change_static_ip.md

@Tomas: do you mean that we shouldn't include the Static IP description in the ECC API now?

Yes, lets not publish it before ECC/IoT offers the service.
/Tomas
From: Thomas Babtist<EMAIL_ADDRESS>Reply-To: symsoft/ecc-api-guide<EMAIL_ADDRESS>Date: tisdag 7 mars 2017 11:08
To: symsoft/ecc-api-guide<EMAIL_ADDRESS>Cc: Tomas Holm<EMAIL_ADDRESS>Review requested<EMAIL_ADDRESS>Subject: Re: [symsoft/ecc-api-guide] Static IP and A2P Voice App key (#5)
@Tomashttps://github.com/Tomas: do you mean that we shouldn't include the Static IP description in the ECC API now?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHubhttps://github.com/symsoft/ecc-api-guide/pull/5#issuecomment-284677947, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVkR3Nbof_3KK4ifRJpAsPQesaMKY7ZIks5rjSy2gaJpZM4MQ1si.


Is it possible to run .webtest as part of build/release?

I didn't find any step under the Test category (neither in any other) to run .webtest, such as simple ping.

@nigurr hi, any thoughts?

@abatishchev
Sorry, but its currently not possible to run webtests. Adding this support is on the backlog
Thanks!

any update or workaround on this? @atinb


Update app.js

Introduced apns-collapse-id for auto remove after expiry period, apns-push-type(alert or background) to identify watch or phone

Please see #5 for the correct implementation strategy.


Fix the orders.status comment

This is a fix to update the orders.status comment in the db.
This comment field slipped by in my orig pr and this fixes my mistake.
Originally found by Alexi: https://ustcdp3.slack.com/archives/CTNTFJSBA/p1600141165329600

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against e434adf1d0fb6625f76d2798b8366465af54cfa5


Rescue from all exceptions when counting cores in the CPUCounter

I noticed a bug on my machine with calculating the number of cpu_cores. On OSX El Capitan, with ruby version ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14], it would blow up when trying to calculate the cores in the from_win32ole method. It was crashing with a #<LoadError: cannot load such file -- win32ole> error. I guess a regular rescue call doesn't capture LoadErrors, so I just made them catch all exceptions.
Not sure if this is the right fix or not! But I just hacked these changes into my local copy of celluloid-essentials and everything's working fine again.

Whoops, looks like I broke the tests. Maybe I should change it from Exception to something like:
rescue StandardError, LoadError


fix: use arm64 prisma binaries on arm64 machines

Fetch arm64 binaries when running on an arm64 machine.
This allows prisma-client-py to work on Linux and macOS machines with arm64 CPUs (it actually already worked on macOS because of Rosetta but this lets it use native binaries.)
Throw a RuntimeError if the machine is not arm64 or x86_64 to avoid downloading binaries with the wrong architecture.
Still WIP because Alpine seems broken, but I'm not 100% sure that Alpine was working to begin with; I'll poke at it more tomorrow.
Change Summary
Please summarise the changes this pull request is making here.
Checklist

[ ] Unit tests for the changes exist
[ ] Tests pass without significant drop in coverage
[ ] Documentation reflects changes where applicable
[ ] Test snapshots have been updated if applicable

Agreement
By submitting this pull request, I confirm that you can use, modify, copy and redistribute this contribution, under the terms of your choice.

Ok, I don't think I've done any harm to alpine users here. I listed out the prisma-photongo bucket and tried all the likely binaries:
 <Key: prisma-photongo,prisma-cli-3.13.0-linux-arm64.gz>,
 <Key: prisma-photongo,prisma-cli-3.13.0-linux-x64.gz>,
 <Key: prisma-photongo,prisma-cli-3.13.0-linux.gz>,

None of those run on Alpine, even with gcompat installed.
Not sure how to best go about setting up a test for this. We could use QEMU to run an ARM64 container and run a test in there? It'd probably have to be a bag on the side of the current testing setup though.

Seems like you need to run blue on src/prisma/binaries/platform.py

Yes @iddan is correct. You can run blue by installing and running pre-commit, e.g.
pip install -U -r requirements/dev.txt
pre-commit install
pre-commit run --all-files

None of those run on Alpine, even with gcompat installed.

What is the error message in this case?

Not sure how to best go about setting up a test for this. We could use QEMU to run an ARM64 container and run a test in there? It'd probably have to be a bag on the side of the current testing setup though.

I'm not that fussed about having integration tests for this as I am looking into switching the implementation to directly use the Node CLI as that would allow us to remove all of the custom logic to download binaries. This shouldn't have any effect for users as we could automatically download node on machines that don't have it installed, see https://github.com/RobertCraigie/pyright-python for an example implementation of this behaviour and #22 for tracking.

It looks like https://github.com/RobertCraigie/prisma-client-py/pull/454 is going to make this completely obsolete, so I'm closing it.

Hey @jordemort, I'm so sorry I didn't manage to get to your PR before it was superseded. I really appreciate the effort and I hope I can be more responsive if you decide to open another PR!


Firefox 3.6 doesn't pick up the .no-svg class in CSS file, yet no support for SVG as CSS background until Firefox 4

As the title says, the .no-svg class is not getting applied in Firefox 3.6 and before, so the controls do not show up at all in that browser. I've had to remove the SVG images altogether to get the controls to show in that browser.

@clodpated Is this still an issue?

@clodpated Closing old issues. If you'd like to reopen this, let us know. Thanks!


Scraping

Is there anyway to scrape torrents so that sites that would index the files or trackers could get a valid peer-count on a torrent-to-torrent basis?

You can use the scrape action.


feature(markdown): Enables markdown notifications support

This pull request enables the support for markdown being rendered properly on the client side via a --markdown flag (or the corresponding MARKDOWN environment variable).
Similarly it allows to set a --click_to_generator flag (CLICK_TO_GENERATOR environment variable) that allows to make the client notification clickable when opened on mobile. Previously this behaviour implied the use of --extended_details, but this would also force the use of HTML, which is not supported (as per #31 and my own testing).
End result, the following alert would show up as follows
{
  "alerts": [
    {
      "status": "firing",
      "labels": {
        "instance": "localhost:9090",
        "job": "prometheus"
      },
      "annotations": {
        "description": "some description **but with** _markdown_ ~~test~~ [a link](https://google.fr)",
        "summary": "this is a summary",
        "priority": "critical"
      },
      "generatorURL": "http://example.com:9090/graph?g0.expr=go_memstats_alloc_bytes+%3E+0\u0026g0.tab=1"
    }
  ]
}

On web:

On the app:

The notification sends me to the generator URL specified in the alert when I click on it on mobile

Thanks for the review!

I'd also like to float an idea out there... any interest in just replacing the extendedDetails HTML implementation with markdown while in the neighborhood?

I can definitely do that, it will probably also make it a little bit cleaner overall.
My alerts are also pretty vanilla but it is nice to add some markdown in the templates for links, highlighting important labels and so on, so i figured why not add a bit of style to my notifications saying that my homelab is down
I'll get to it over the weekend :)

Just to clarify, you mean converting the extended details to markdown, not removing it, right ?

@DRuggeri fixed, and updated the pull request description to reflect the change/give you all you need to test it on your side if you want to !


Account fields

David, the other important account field is 'Currency'. Its required on WOP/S records, and by adding a default to the billing/service account records, it is inherited by the WOP/S records.

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

ID: ddbba817-07c9-08cf-36f1-cb86a5071139
Version Independent ID: 374cd08a-be49-2d19-1024-15416af11c85
Content: Add a customer, location, and related account details to a work order
Content Source: ce/field-service/work-order-customer-account.md
Service: dynamics-365-customerservice
Technology: field-service
GitHub Login: @FieldServiceDave
Microsoft Alias: daclar

Thanks for the input this is now in our docs backlog and we will update the documentation.


UI: expose more meaningful information in Persistent Volumes overview

Rancher versions:
rancher/rancher: v2.0.8
Especially when dealing with dynamic PVs, it's really hard to tell which volume is what exactly:

Even the details page doesn't give more clues, other than the volume's size

The API has some more information

The UI should be improved to reveal the claimRef name and namespace information which is present in the API. That would make the volume identifiable without heading into the API view.

Add PVC in PV list page.
Add PVC, Reclaim Policy, Created, Annotations info in PV detail page.

Version - 2.1 master 9/10
Verified fixed


Broken PDFLoader dependency import

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain.js documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain.js rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
  const loader = new PDFLoader("./sample-docs/embedded-images-tables.pdf");

  const docs = await loader.load();

  const textSplitter = new RecursiveCharacterTextSplitter({
    chunkSize: 1000,
    chunkOverlap: 200,
  });```

### Error Message and Stack Trace (if applicable)

Module not found: Package path ./document_loaders/base is not exported from package /home/rafheros/next-langchain-app/node_modules/.pnpm/langchain@0.2.3_ignore@5.3.1_openai@4.52.5_pdf-parse@1.1.1/node_modules/@langchain/core (see exports field in /home/rafheros/next-langchain-app/node_modules/.pnpm/langchain@0.2.3_ignore@5.3.1_openai@4.52.5_pdf-parse<EMAIL_ADDRESS>
https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
./node_modules/.pnpm/langchain@0.2.3_ignore@5.3.1_openai<EMAIL_ADDRESS>./node_modules/.pnpm/langchain@0.2.3_ignore@5.3.1_openai<EMAIL_ADDRESS>./node_modules/.pnpm/@langchain+community@0.2.18_ignore@5.3.1_openai@4.52.5_pdf-parse<EMAIL_ADDRESS>./node_modules/.pnpm/@langchain+community@0.2.18_ignore@5.3.1_openai@4.52.5_pdf-parse<EMAIL_ADDRESS>./app/api/chat/route.ts

### Description

I'm trying to parse a PDF to give a context to a OllamaChatbot

### System Info

langchain 0.2.0
wsl/ubuntu (windows)
Node v20.14.0
pnpm 9.5.0

It already is importing from this statement


Exported xls file shows warning in Microsoft Excel

When I open the exported xls file in Microsoft Excel it shows this warning "Excel found unreadable content in *******.xls. Do you want to recover the contents of this workbook? If you trust the source of this workbook, click yes" . If I click yes , it shows the content correctly. But the warning is  really annoying for users. Please resolve.

Interesting.
Would it be possible for you to provide an example generateing a file that gives this alert?

Yes. I can. Please hold on.

I have emailed you the document. I'm getting this error "Attaching documents requires write permission to this repository" when I tried to attach.

Its best if you put put the code to generate the problem file here on github.

@harikrishnanp
Hvae you had time to look at what code generates the problem files?

Please find the sample code that will generate the above error.
`var data = [{city:"Minsk",population:100000}, {city:"Riga",population:200000}];
window.exportData = function () {
alasql("SELECT * INTO XLSX('cities.xlsx',{headers:true}) FROM ? ",[data]);
}`

Great thanks !
update: wow - even a JSFIDDLE - perfect - thanks...

You are using an old version of AlaSQL
Please use https://cdnjs.cloudflare.com/ajax/libs/alasql/0.2/alasql.min.js as in this (JSFIDDLE)[http://jsfiddle.net/0xgfjcre/46/]

https://cdnjs.cloudflare.com/ajax/libs/alasql/0.2/alasql.min.js  is 404

It's https://cdn.jsdelivr.net/alasql/0.2.1/alasql.min.js

Sorry for that - I posted wrongly first - hoped I had time to correct it before you saw it :)

Did it solved the issue? I am using the suggested version but still getting the same warning message while trying to open the exported excel?

We have not found a solution yet.

@mathiasrw your last fiddle worked fine for me in Chrome, no alert generated in Excel 2010.

Oh... thanks @kingsbury - I might got confused about the issues
@rupendra-sharma07 could you try http://jsfiddle.net/0xgfjcre/51/ and see if you get an error in excel? It should work...

My issue was fixed by updating AlaSQL.

Hello every body, i have the same problem when i try to open the export  ==>
alasql( 'SELECT * INTO XLS("' + exportFileName + '.xls",?) FROM ?',[ opts, data] );
and when i use this second request alasql( 'SELECT * INTO XLSX("' + exportFileName + '.xlsx",?) FROM ?',[ opts, data] ); i don't have the warning but i can't include styles inside xlsx file, i think it's normal because in the alasql's documentation they use the request without any "opts" just like this (alasql( 'SELECT * INTO XLSX("' + exportFileName + '.xlsx",?) FROM ?',[data] );),
My question is : how can i export excel file from json with ALASQL without the warning when i try to open it and i can include some styles inside the file ? thx in advance for your responses

@RAFBOUK Please open 2 new issues with one question in each

I have the same issue as @RAFBOUK . did anyone found solution?

@juni103 Please open a new issue on this.

For future readers,
I also met this issue. But the problem was my null value which would be cell value.
For example,
const data = [{city:"Minsk",population:100000}, {city:"Riga",population:200000}]; will be fine.
However,
const data = [{city:"Minsk",population:100000}, {city:"Riga",population: null}]; will cause this problem again.
Additionally, undefined is ok.

Hello @mathiasrw.  I have to upgrade the alasql/xlsx versions. I am now on the latest version of alasql (0.4.11) and xlxs (0.7.12). When I download and open the excel file I get the error:

We found a problem with some content in 'test_data.xlsx'. Do you want us to try to recover as much as we can? If you trust the source of this workbook, click Yes.

I do have some rows of data with "null". This wasn't an issue in my previous alasql version 0.4.0. Is there a solution for this?

We have not found a way to solve this. Its because we are not Microsoft and its warning that some other party (you) made the file.
If you just click "yes" its all gonna work.

Hi @mathiasrw. Is there any news about this problem?

Nope.


Refactor: build linux artifacts only for PR

Which problem is this PR solving?

Resolves https://github.com/jaegertracing/jaeger/issues/4172

Short description of the changes

scripts/build-upload-docker-images.sh: Set platforms variable dynamically based on env PLATFORMS the first argument
.github/workflows/ci-docker-build.yml: Add a new job for PR only and pass pr-only as the first argument

Comparing runtime, this change is 24m -> 12m!

Thank you @Eileen-Yu


Smart storage values based on assumed chain and chainstate values

Based on Based on https://github.com/bitcoin-core/gui-qml/pull/257 and https://github.com/bitcoin-core/gui-qml/pull/245
When a prune target is set, that limits how much storage is taken up by blocks. But there is still other data such as the chainstate. This moves us away from wrongly conveying that the prune target is how much data will be taken up, and instead conveys how much data will be taken up considering the prune target, assumed blockchain size, and assumed chainstate size. The assumed sizes are updated every release cycle.
Changes:

Storage Location

The text that shows what the minimum amount of space needed is now displays assumed chainstate size + 1GB instead of just 1GB

Storage Options

The default prune button is now 2GB + assumed chainstate size instead of just the prune target of 2GB
Store all data button is now the assumed blockchain size + assumed chainstate size instead of a hardcoded 550GB
Custom Prune button is now the prune target + assumed chainstate size instead of just the prune target set in detailed settings

Storage Settings

The text of the Setting which is used to set a custom prune target is changed from "Storage limit (GB)" to  "Block Storage limit (GB)" to convey this controls block storage specifically. The Custom prune button that then appears on the storage options page shows this prune target + assumed chainstate size

Master

Storage Location
Storage
Storage Settings
Custom Prune

PR

Storage Location
Storage
Storage Settings
Custom Prune

Updated from b1c639b to 5ead189, Compare

Changes: rebased over main

cc @johnny9 @hebasto


chore(dependencies): fix eslint dev package version requirement

General summary
Removing the eslint dev package from root package.json as it breaks the release workflow and it's not actually required

Local Lint OK ✅
CI Lint OK ✅


Allow using dicts instead of specific classes

Classes are nice for interactive coding, but it would be better if you could define an entire configuration in dicts and lists. That way it can be more easily saved/loaded from configuration files.

+1

Hello,
Thank you for your comment and sorry for this late answer.
The API at the time you wrote this comment is now in "legacy" and will be replaced soon by the ARM version. The ARM API allows you to save JSON configuration file as you can see here:
https://github.com/Azure/azure-quickstart-templates
Please feel free to re-open this bugs if you think my answer is not accurate to your request.


docs-styles(build): Operationalize doc styles build

Automated process to build a CSS file for the Angular 2 documentation examples.
The process is driven by using the LESS source from Bootstrap CSS. By overriding the LESS variables and including other style overrides in the LESS build a single stylesheet is created that provides the Design approved example styles.
It is integrated in the gulp add-example-boilerplate and the _copy-example-boilerplate tasks.

So from now own with ditch styles.css over this?

Yes, this will and should cater for all styling requirements. Should be able to use as little or as much as the example require. Once no examples depend on either bootstrap.css directly or styles.css anymore, both will be removed from the examples.

There's a race condition in which plunker-builder starts before the samples are updated with shared files from _examples.  This race may have been there all along. This PR revealed it  ... because the new a2docs.css file didn't show up in time and therefore wasn't included in the plunkers.
Fix that before proceeding with this PR
Please note: this PR creates the new a2docs.css file and populates the samples with it. But it does not change the way samples display because they don't know about it.
When we have confirmed that we like this new css file - a @naomiblack task - we'll need another PR  (TBD) that propagates it to all doc samples by changing the generated filename from a2docs.css to styles.css;  this works because all samples install styles.css today and the new a2docs.css style sheet incorporates everything currently in styles.css (to be confirmed).

I fixed the race condition by sending a done parameter which gulp supports.
The problem is that we would like to have the new a2docs.css in e2e tests.
We were never "waiting" for copyExampleBoilerplate to finish copying on e2e because the other tasks would take way more time than that so when the tests were to run, everything was copied. That didn't change now.
So as soon as you double check that the race condition is gone (and remove the gutil.log) we could merge this and if you want, look for a better solution for this.
I could present that alternative solution in a different PR to not clutter this one.

Thank you, @AlmeroSteyn !  And @Foxandxss for taking it the last mile.


#17_added & configured Dotenv dependency

This PR tries to resolve #17.
Adding and Configuring Dotenv Dependency

added " dotenv " package in package.json
Configured webpack , using DefinePlugin module .

Outcome
now user can use ".env" file  to secure their "Api keys " and confidencial stuffs .
Screenshots (for testing added in ui but didn't included that in code)

where


Better YAML code style for .travis.yml

Proposed changes:

better YAML style for reading and maintenance

Status (please check what you already did):

[x] made PR ready for code review

Cool, anything else you want to do as part of this PR (WIP)?

So far so good. When I come up with some new ideas, I will send other PR. Thanks.

sounds good :+1:

Thanks a lot, makes it way more readable :rocket:


WakaTime not tracking in Sublime after update 4.0.9 (07/29/2015)

After setting "debug": true in your User WakaTime.sublime-settings file, do you see any error messages in your Sublime Console window?
Also can you tail -f ~/.wakatime.log and see if you are getting any error messages in the wakatime log file?

No, no error message.

After opening the sublime editor, press Ctrl+` . Scroll and you should see
some error messages or else you will get the message 'Plugin Loaded'.
Increase the width of that console, take a screenshot and put it here.
Sent with MailTrack
<EMAIL_ADDRESS>On Fri, Jul 31, 2015 at 12:42 PM, Rustam<EMAIL_ADDRESS>wrote:

No, no error message.
—
Reply to this email directly or view it on GitHub
https://github.com/wakatime/wakatime/issues/33#issuecomment-126589521.

--
Shubhojyoti

So it's making the request, but not logging a response from the api. After reloading your .wakatime.log file in Sublime Text, do you see a debug line with a response code?

The only thing I can think of that's changed in v4.0.9 is the requests library, so I've released a new version 4.0.10 with a downgraded requests library.
Can you upgrade to v4.0.10 of the Sublime Text plugin, restart ST and see if it's fixed?

4.0.10? I have a different version. Problem still exists ...

And no error messages in your ~/.wakatime.log file? Do you have any offline heartbeats in your ~/.wakatime.db slite3 database file?

And no error messages in your ~/.wakatime.log
~ / .wakatime.db I can not see ...

Maybe it's the API? When entering the https://wakatime.com/api/v1/heartbeats there is an error:

date is only required with the GET request method, but heartbeats are sent using the POST method:
https://wakatime.com/developers/#heartbeats

Ok. I opened db file.

What is the hostname of your computer? Those offline heartbeats are from yesterday (the time column is a unix epoch timestamp). Still not sure what is going wrong... can you double check for any error message in your Sublime Console after typing and saving a file?

Not working...

Well there, bro?

I found the reason! It is necessary that the computer name was not Cyrillic, and other character !!! Rename the computer, and it worked)

Ohhh, ok I'll fix this and write a test for it. Thanks for figuring it out!


Mixed save/no-save with min-storage

from devito import *

grid = Grid((10, 10))
tf = lambda n, s: TimeFunction(name=n, grid=grid, time_order=2, space_order=4, save=s)

u1 = tf('u1', 10)
u2 = tf('u2', 10)
v1 = tf('v1', None)
v2 = tf('v2', None)

Operator([Eq(u1.forward, (u1+u2).laplace), Eq(u2.forward, (u1-u2).laplace),
          Eq(v1.forward, (v1+v2).laplace + u1.dt2),
          Eq(v2.forward, (v1-v2).laplace + u2.dt2)],
          opt=('advanced', {'min-storage': True}))

Leads to
  File "/Users/mathiaslouboutin/research/London/CodeGen/devito/devito/passes/clusters/aliases.py", line 422, in <dictcomp>
    found = {g: g.find_rotation_distance(d, interval) for g in groups}
  File "/Users/mathiaslouboutin/research/London/CodeGen/devito/devito/passes/clusters/aliases.py", line 850, in find_rotation_distance
    for rotation, distance in self._pivot_legal_rotations[d]:
KeyError: time

        if d not in self.dimensions:
            return None

seems to fix it in aliases.py not sure if best way to do it, but I assume may show up with other type of operators with partial dimension uses.


Can all the pages below an index page default to the index page's header (ie, people pages use the people page header)?

This doesn't seem to be working on test. Could i get some specific testing criteria.

Oh, does seem to be working actually. All good on my end.


Problem overriding dependency with a functools.partial(Database, ...)

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
import functools

from databases import Database

from fastapi import FastAPI, Depends
from fastapi.testclient import TestClient

app = FastAPI()

def get_db():
    return Database("sqlite://")

@app.get("/")
async def root(db: Database = Depends(get_db)):
    print("root called")
    return "a"

def test_passing():
    app.dependency_overrides[get_db] = lambda: Database("sqlite://")
    assert TestClient(app).get("/").json() == "a"
    app.dependency_overrides = {}

def test_failing():
    app.dependency_overrides[get_db] = functools.partial(Database, "sqlite://")
    assert TestClient(app).get("/").json() == "a"
    app.dependency_overrides = {}

Description
I'm attempting to override a dependency with a functools.partial(Database, ...).

In the above MRE, the test_failing test case is failing with
E       AssertionError: assert {'detail': [{'loc': ['query', 'options'], 'msg': 'field required', 'type': 'value_error.missing'}]} == 'a'

and as seen in the output if running with pytest -s, the root endpoint is never called when the test runs.

The test_passing test case, which uses a lambda instead of a partial, passes.

I expect both test cases to pass.

Operating System
Linux
Operating System Details
Ubuntu 20.04.3 LTS
FastAPI Version
0.68.0
Python Version
Python 3.8.10
Additional Context
No response

Can you change the order of those tests?

Yes, the result is the same.
But now I got a little further and can cut Databases out of the equation with the following revised MRE:
import functools

from fastapi import FastAPI, Depends
from fastapi.testclient import TestClient

app = FastAPI()

class Dep:
    def __init__(self, _, **kwargs):
        pass

def get_dep():
    return Dep(1)

@app.get("/")
async def root(dep: Dep = Depends(get_dep)):
    print("root called")
    return "a"

def test_passing():
    app.dependency_overrides[get_dep] = lambda: Dep(1)
    assert TestClient(app).get("/").json() == "a"
    app.dependency_overrides = {}

def test_failing():
    app.dependency_overrides[get_dep] = functools.partial(Dep, 1)
    assert TestClient(app).get("/").json() == "a"
    app.dependency_overrides = {}

This fails in the same way. The problem seems to appear because Dep takes a **kwargs.
I'll update issue title and description.


Improve performance of interactive window rendering (performance after startup)

Removed notion of changing notebooks because we're moving to VS Code native notebooks. Interactive Window is currently using the old webview. It may transition to the new notebook, but until then, keeping this alive.


[Bug] Animations are not being suppressed, min and max labels on the xAxis are not getting populated.

Version
5.5.1
Link to Minimal Reproduction
https://codesandbox.io/s/ccs4jz
Steps to Reproduce
Just open the sandbox link and run, the animations are seen even after passing the animation: false.
Current Behavior
Animations are not being suppressed.
The min and max values of the x-axis are not getting surfaced. on the x-axis labels
Expected Behavior
Animations to be suppressed and min and max values on the x-axis coordinates needs to be surfaced.
Environment
- OS:Mac
- Browser:Edge
- Framework:javascript

Any additional comments?
No response

I'm afraid that's not animation but progressive rendering. Try to set progressive to 0.

@plainheart thanks for the instance response, I also have one more question on the above sandbox, the min and max values of the xaxis are not getting surfaced, even after specifing the min and max values in this sandbox.
Thanks in advance.

Since the data is over 5000 points, it is recommended to optimize with large (large:true).

min and max values of the xaxis are not getting surfaced

Add showMinLabel: true, showMaxLabel:true in axisLabel

@helgasoft  added in the above sandbox link, but it is not working.

don't see it in xAxis.axisLabel...

https://codesandbox.io/p/sandbox/apache-echarts-demo-forked-zkzz8f?file=%2Findex.js%3A75%2C23

only your Minimal Reproduction link works... Also codesandbox.io is weird, does not refresh after change...
Here is Editor Demo.

@helgasoft I can see the code sandbox link working fine, only the min max labels are not populating, which I has raised in the above.

still cannot see your latest link https://codesandbox.io/p/sandbox/apache-echarts-demo-forked-zkzz8f?file=%2Findex.js

Sandbox not found
It's likely that the Sandbox you're trying to access doesn't exist or you don't have the required permissions to access it.

Please use ECharts Editor with less data, so it could be shared.

Can we save in echarts editor? I dont see it is saving.

button Share will save code as a long link

Thanks,
Below is the sharable url

The url is ending up with bad request.
But able to download the HTML.
1720162707690.txt
Please change the .txt to .html

@helgasoft  any luck?
Thanks in advance.

The url is ending up with bad request.

yes because there is too much data and URL becomes too long. That's why I said "less data".
Both questions were answered and code provided in the Demo. Normally the issue should be closed.

@helgasoft in which demo link have you updated the fix for showing min max labels of the xAxis.


Defining the redirect option for signin at the local provider causes an error.

Environment
"@sidebase/nuxt-auth": "^0.6.0-beta.2",
"nuxt": "^3.4.3",
I am in the process of migrating from @nuxtjs/auth-next and it is not working properly yet.
  auth: {
    provider: {
        type: "local",
        endpoints: {
          signIn: {
            path: '/api/auth/signin',
            method: 'post',
          },
          signOut: {
            path: '/api/auth/signout',
            method: 'post',
          },
          getSession: {
              path: '/api/auth/user',
            method: 'get',
          },
          // refresh: {
          //   url: '/api/auth/refresh',
          //   method: 'post',
          //   withCredentials: true,
          // },
        },
        pages: {
          login: '/'
        },
        token: {
          signInResponseTokenPointer: "/detail/access_token",
          type: "Bearer",
          headerName: "Authorization",
          maxAgeInSeconds: 60 * 15
        },
        sessionDataType: {
          email: 'string',
          name: 'string',
          password: 'string',
          user_roles: 'string[]'
        }
    },
    baseURL: 'http://<IP_ADDRESS>:3001/',
    // session: {
    //   enableRefreshPeriodically: true,
    //   enableRefreshOnWindowFocus: true,
    // },
    globalAppMiddleware: {
      isEnabled: false,
    },
  },

Reproduction
No response
Describe the bug
I am trying to SingIn with a local provider.
The default seems to be redirect: true, so I wanted to set redirect: false
await signIn({
        email<EMAIL_ADDRESS>        password: 'password', }
      }, { redirect:false })

If you look at the code, the redirect option (signInOptions) is passed as the body of the fetch destination. And in fact, it is objected as the body of the fetch along with email/password.
Is this correct behavior?
<EMAIL_ADDRESS>const signIn = async (credentials, signInOptions, signInParams) => {
  const nuxt = useNuxtApp();
  const config = useTypedBackendConfig(useRuntimeConfig(), "local");
  const { path, method } = config.endpoints.signIn;
  const response = await _fetch(nuxt, path, {
    method,
    body: {
      ...credentials,
      ...signInOptions ?? {}
    },
    params: signInParams ?? {}
  });
  const extractedToken = jsonPointerGet(response, config.token.signInResponseTokenPointer);
  if (typeof extractedToken !== "string") {
    console.error(`Auth: string token expected, received instead: ${JSON.stringify(extractedToken)}. Tried to find token at ${config.token.signInResponseTokenPointer} in ${JSON.stringify(response)}`);
    return;
  }
  const { rawToken } = useAuthState();
  rawToken.value = extractedToken;
  await nextTick(getSession);
  const { callbackUrl, redirect = true } = signInOptions ?? {};
  if (redirect) {

Additional context
No response
Logs

We encounter this issue when trying to override redirection path after signing in and putting {callbackUrl: '...a url' } as the sign in option. Our server rejects the sign in requests since the callbackUrl is an invalid parameter in form body.

Hi everyone!
I made some changes to this in the most recent releases 0.6.0.rc.1. I think your error resulted from it being an external url and Nuxt blocking this. You can now pass isExternal along with your link and Nuxt will allow it!


Scheduling Notebooks

Describe the bug
No confirmation on scheduling notebooks
What happened?
Severity:
Medium
Persona:
Data Scientist
When I tried to schedule a notebook, it got scheduled successfully but the applied button only gets greyed out and there is no confirmation to the user. I had to close the window and verify that it was indeed scheduled.

What did you expect to happen?
A confirmation message should be shown to the user once the notebook is successfully scheduled
How would you reproduce the bug?

Create a notebook
Go to schedule
Set the details
Click on Apply

Did this happen via Desktop and/or Smartphone?
Desktop
Operating System
Windows 10
What browsers are you seeing the problem on?
Chrome
Version
No response
Device
No response
What is your current role?
Student Ambassador
What technical topic is this bug related to?
AI/Data Science/Machine Learning
Relevant log output
No response

Is this taken seriously?

Hi @Bullish0407
The issue has been resolved and is no longer apparent. The Fabric development team has addressed it. Are you still experiencing the same problem on your end?

Correct, no confirmation after I scheduled it. Also it didn't work, even thought it would say 'next refresh in x minutes'.
I did a workaround via a pipeline, which made it work.
Overall I am not impressed by my experience of trying to use this. A good point is your quick response, so I am open to give my feedback as a user.


ForeignKey.EndsWith messes up multiple one-to-many relationships

Dear FluentNHibernate developers,
I recently had and issue with Fluent, which involved two one-to-many relationships between the same two entities. (the details are on SO.)
I always had ForeignKey.EndsWith("Id") within my convention collection, because I thought it was a very elegant way of expressing what I want.
The problem is, that when I have multiple many-to-one relationship between the same entites, Fluent can't figure out which property maps to which collection, but this is the least of the problems.
I set up a HasManyConvention and a ReferenceConvention (attached), in which I provided some logics about how to do it.
This is where things got messy: with ForeignKey.EndsWith, it actually created a third column for one of the entities, and the relationships didn't work. So in the end, I tried putting the naming into the HasMany and Reference conventions, and it just worked. I honestly don't know if this is by design or just an error, but for other people experiencing the same issue, it would be helpful if you wrote it in the wiki that it isn't working well in such scenarios.
Yours sincerely,
Timur Kristóf

Fixed in [PR 250] (https://github.com/jagregory/fluent-nhibernate/pull/250). Still doesn't have any tests - shame on me, I should think of something


Buttons appear white in dark mode

They should use GitHub’s variables instead of hardcoded values.
Some examples found on https://github.com/sindresorhus/refined-github/pull/3806/files#diff-6bac73775a12d805afa6d62285ac64ea8a831fc58293d55752dbe701a2fdafa3

@fregante would you accept a PR for this?

Cc @tjx666


The engine generated by each build has different results for the same input.

System Info
trt-llm v0.9.0
Who can help?
@byshiue
Information

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

Tasks

[X] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[ ] My own task or dataset (give details below)

Reproduction

build the engine for test 1
build the engine for test 2
run above 2 engine use the same input

Expected behavior
the ouputs is same
actual behavior
the ouputs is not same
additional notes
I tried to use the model cache when building, but it didn't work.

Is there any way to ensure that the engine generated by build is identical?This is important for engineering deployment.

Can you provide more details, i.e the cmds, which can help us reproduce this issue?

Can you provide more details, i.e the cmds, which can help us reproduce this issue?

I encountered same issue. I trtllm-build 2 times with everything identical, but the inference results are slightly different between 2 models for the same input. Also I found a similar problem post by others. https://github.com/NVIDIA/TensorRT-LLM/issues/2196


[DCOS_OSS-2372] Use pip download to prepare TeamCity rather than the removed `pip i…

…nstall --download`
High-level description
This fixes a build error with teamcity/dcos/build/dcos.
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS_OSS-2372 DC/OS builds - no such option: --download (pip 10)

Checklist for all PRs

[X] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change: This is just a build step change
[X] Included a test which will fail if code is reverted but test is not. If there is no test please explain here: The build is already failing
[X] Read the DC/OS contributing guidelines

I am +1 on merging this immediately as it can unblock other PRs.

@mesosphere-mergebot merge-it


Remove $ so one can copy the snippet directly

With the $ it is not possible to just copy the install code and paste it.

One small change requested

@saracope Done


bnusd Minter contract - Havah

Develop the bnusd Minter contract

have assigned to you @AntonAndell to attach any of the work related to this so sagar can take it over.


🔧 burn collection all chains

close #7875

note @preschian made some changes regarding #7908

rmrk2 or v1? we only have burn collection tx for assethub right now

rmrk2 or v1? we only have burn collection tx for assethub right now

1, 2 and BSX, so, are you just adding back the delete button back, right?

1, 2 and BSX, so, are you just adding back the delete button, right?

delete and report, I'll be adding burn tx on each chain gradually

1, 2 and BSX, so, are you just adding back the delete button, right?

delete and report, I'll be adding burn tx on each chain gradually

nice, then i would just make the delete button disabled just in case it reaches prod

RMRK1 -
transaction goes but koda does not reflect burning
https://kusama.subscan.io/tx/0x7acfc36f0ef76223321a182bccb5b139bcaa847f6eaad230b64ae3cf87ee37a8
https://deploy-preview-7960--koda-canary.netlify.app/rmrk/collection/7EA1DCF47E98A25067-TECH_CAVEM
BSX -> wallet never asks for signing
Snek ->

RMRK1 - transaction goes but koda does not reflect burning

you have 1 item in this collection so it won't work, you need to empty the collection before destroy
Just saw that we miss burn on Collection entity

BSX -> wallet never asks for signing
Snek ->

This two chain should be the same, please check that all nft from the collection are burned and that you have no ongoing offers.

RMRK1 - transaction goes but koda does not reflect burning

you have 1 item in this collection so it won't work, you need to empty the collection before destroy Just saw that we miss burn on Collection entity

BSX -> wallet never asks for signing
Snek ->

This two chain should be the same, please check that all nft from the collection are burned and that you have no ongoing offers.

RMRK ->
removed the item https://kusama.subscan.io/tx/0x7dc86e27bb972885da3dea0434783e2aab5ac3e8d5957d144387b42853908b2b
tried to burn the collection, but nothing happened to it : https://kusama.subscan.io/tx/0x01d5287282d2360f23e881d7fba00c46a02cbc939c8e6849e30bc56c470c2ab1
BSX -> https://basilisk.subscan.io/tx/0x760f2fb0d861e7681b11f86e11983e2c880b227d55c09bf3fa7ad77c83bb0be6
Success

RMRK -> removed the item https://kusama.subscan.io/tx/0x7dc86e27bb972885da3dea0434783e2aab5ac3e8d5957d144387b42853908b2b tried to burn the collection, but nothing happened to it : https://kusama.subscan.io/tx/0x01d5287282d2360f23e881d7fba00c46a02cbc939c8e6849e30bc56c470c2ab1

tx looks oki, we have no way of knowing if the collection is burnt inside app. (even on collection select) maybe try to mint something inside, if you can mint then the collection isn't burned

BSX -> https://basilisk.subscan.io/tx/0x760f2fb0d861e7681b11f86e11983e2c880b227d55c09bf3fa7ad77c83bb0be6 Success
SNEK is acting different now, it never asks for signing

Noice! snek should have same behavior as bsx

tx looks oki, we have no way of knowing if the collection is burnt inside app. (even on collection select) maybe try to mint something inside, if you can mint then the collection isn't burned

collection creation(fresh one) - Create Collection
collection burn(waited for some blocks pass before burning): Burn
collection mint:
Mint NFT inside burned collection Collection link

SNEK is acting different now, it never asks for signing

Noice! snek should have same behavior as bsx

signing being asked now

oh, one thing, I forgot to add $updateLoader(true) in here https://github.com/roiLeo/nft-gallery/blob/ae1befadd2c94c86b632e31cbe5904e7ba034ba2/components/collection/HeroButtons.vue#L155

oh, one thing, I forgot to add $updateLoader(true) in here

you mean (false)?


updating readme with latest coreos and k8s version

This PR updates the readme to include latest coreos and k8s versions used in the vagrant script.

Thanks @R-Rajkumar for the contribution!


Add timeout options (2.x)

Codecov Report

Merging #8 into 2.x will decrease coverage by 1.21%.
The diff coverage is 81.81%.

@@             Coverage Diff              @@
##                2.x       #8      +/-   ##
============================================
- Coverage     94.49%   93.27%   -1.22%
- Complexity       34       35       +1
============================================
  Files             7        7
  Lines           109      119      +10
============================================
+ Hits            103      111       +8
- Misses            6        8       +2

Impacted Files
Coverage Δ
Complexity Δ

Model/VatNumberCheck.php
100.00% <ø> (ø)
2.00 <0.00> (ø)

Model/Datasource/SoapSource.php
89.47% <81.81%> (-2.02%)
19.00 <0.00> (+1.00)
:arrow_down:

Continue to review full report at Codecov.

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

It's green @tsongloong!


404 when trying to view description page using GH Enterprise

Issue Type: Bug

Add a remote that points to GHE and sign in
Create a pull request using the Create Pull Request command

The PR is successfully created and appears in the tree, but the webview does not get displayed, instead there is an error notification about the PR not being found. Trying to open the description from the tree results in the same.
[Info] GithubRepository> Unable to fetch PR: Error: Network error: Response not successful: Received status code 404

Scopes on the token: read:user, repo, user:email, write:discussion. supportsGraphQl is correctly set to false
Extension version: 1.31.0
VS Code version: Code - Insiders 1.31.0-insider (b313db6c58f8c02181a33cd3b5b4b17c64a5b85d, 2019-02-05T10:10:06.179Z)
OS version: Darwin x64 18.0.0

Hmm, now I'm not seeing this.

Nevermind, this has been fixed. The extension version I had was missing the changes for supportsGraphQl, the build for 1.32.0 failed. It was working when I tried to debug it since I had those changes.


No Awake icon, crash noted in Rel log

Microsoft PowerToys version
0.85.0
Installation method
PowerToys auto-update
Running as admin
None
Area(s) with issue?
Awake
Steps to reproduce
sorry
✔ Expected Behavior
Awake icon
❌ Actual Behavior
No Awake icon
Installed PT 0.85.0 in Win11 laptop's admin account. Restarted, but saw no Awake icon. Toggled Awake on/off.  Awake Icon appeared, but noted a crash in Windows Rel log around the time of the toggling. I was not able to repeat the crash unfortunately.
I have pasted the crash report below as well as attached the PT report zip file.
Source
PowerToys.Awake
Summary
Stopped working
Date
10/2/2024 9:27 PM
Status
Report sent
Description
Faulting Application Path:	C:\Program Files\PowerToys\PowerToys.Awake.exe
Problem signature
Problem Event Name:	APPCRASH
Application Name:	PowerToys.Awake.exe
Application Version:	<IP_ADDRESS>
Application Timestamp:	66960000
Fault Module Name:	KERNELBASE.dll
Fault Module Version:	10.0.22621.4111
Fault Module Timestamp:	03c619d0
Exception Code:	e0434352
Exception Offset:<PHONE_NUMBER>05fabc
OS Version:	10.0.226<IP_ADDRESS>.768.101
Locale ID:	1033
Additional Information 1:	1f85
Additional Information 2:	1f85a4af74e06208058da07693983578
Additional Information 3:	fc09
Additional Information 4:	fc09cc6da74388b14b29f76ba15ac04a
Extra information about the problem
Bucket ID:	cada7465502d311bdd0574a4e3dc47cd<PHONE_NUMBER>529786317)
PowerToysReport_2024-10-02-21-29-59.zip
Other Software
No response

Can you please send a /bugreport ?

Nevermind, just saw you did :)

Nothing too useful on the logs it seems. If it was a one off, that's not too bad.

Based on the experience with the latest update, I believe the issue has been resolved and can be closed.

I tried reproducing this on several machines and could not get it to behave the same way. If the issue persists or you see the crash happen again, feel free to re-open - would be happy to investigate further.


build failed in alpine

this is the error
Building confd...
/usr/lib/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/lib/gcc/x86_64-alpine-linux-musl/6.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find Scrt1.o: No such file or directory
/usr/lib/gcc/x86_64-alpine-linux-musl/6.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find crti.o: No such file or directory
/usr/lib/gcc/x86_64-alpine-linux-musl/6.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lpthread
/usr/lib/gcc/x86_64-alpine-linux-musl/6.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lssp_nonshared
collect2: error: ld returned 1 exit status

Looks like a linking error. Try building with CGO_ENABLED=0.

Same pb

/usr/lib/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/lib/gcc/x86_64-alpine-linux-musl/6.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find Scrt1.o: No such file or directory
/usr/lib/gcc/x86_64-alpine-linux-musl/6.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find crti.o: No such file or directory
/usr/lib/gcc/x86_64-alpine-linux-musl/6.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lpthread
/usr/lib/gcc/x86_64-alpine-linux-musl/6.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lssp_nonshared
collect2: error: ld returned 1 exit status

Using:
FROM alpine:3.6 as confd

ENV GOPATH /go

ENV CGO_ENABLED=0

RUN mkdir -p "$GOPATH/src/" "$GOPATH/bin" && chmod -R 777 "$GOPATH" && \
    mkdir -p /go/src/github.com/kelseyhightower/confd

RUN apk --update add unzip curl go bash && \
    ln -s /go/src/github.com/kelseyhightower/confd /app

WORKDIR /app

RUN curl -L https://github.com/kelseyhightower/confd/archive/v0.13.0.zip --output /tmp/confd.zip && \
    unzip -d /tmp/confd /tmp/confd.zip && \
    cp -r /tmp/confd/*/* /app && \
    rm -rf /tmp/confd* && \
    ./build

And
docker build -t confd .

There is a knows problem with building Go code using a vanilla Alpine image. Try using this:
FROM golang:1.9-alpine

RUN mkdir -p /go/src/github.com/kelseyhightower/confd && \
  ln -s /go/src/github.com/kelseyhightower/confd /app

WORKDIR /app

docker build -t confd-build .
docker run -it --rm -v (PWD):/app -e "GOOS=linux" -e "GOARCH=amd64" -e "CGO_ENABLED=0" confd-build go build -ldflags="-s -w" -o bin/confd

@okushchenko I use golang:1.9.1-alpine3.6 instead, and success. It seems that the guide should be changed.

Yep, will fix soon. Thanks for reporting it!

I had the same problem when compiling a C program with a vanilla Alpine image. Configure bailed with an error that the compiler couldn't create executables. Installing the musl-dev package fixed it.


Add superqt QCollapsibles to the gui

Liked to PR #90 and issue #106.
This PR should be merged after #90.
This PR adds superqt QCollapsibles to the gui.
Compared to #90, I removed the camera bit depth and binning controls since I figured that we can set it through the property browser and we will be able to control it through the group and preset table (once ready).
I also added the shutter widget in the gui (since I want to open a PR to implement shutters control).
https://user-images.githubusercontent.com/70725613/155845966-5d40e717-f4a6-44b0-985e-9d306006ff1f.mov

looks great.  I think we should now remove the group boxes around each of the Objectives, shutters, and camera ROI.  let's get #90 in though so you don't need to worry about conflicts, then we'll come back to this

@fdrgsp ... I tried to merge main into this, but it has become a big merge mess now.  this is one reason I tried to emphasize that the qcollapsible should come after we merged #90 :).  Because this PR was branched off of that PR, we pretty much couldn't do anything to that one without screwing up this one.  If it were me, I'd probably just create a new branch from main, and redo whatever you had done here.  But I'll leave it up to you.  try to get the diff back down to as small of a change as needed to implement what you wanted to do here

@tlambert03 Sure, no problem! I'll let you know when it is fixed 👍🏻 Thanks!

@tlambert03 I think this is now ready! Let's wait for the tests (locally they all pass) and then you can probably merge.

does ~1,100 added and 995 lines removed sound right for this?  Why is this such a big change to add a qcollapsible?

does ~1,100 added and 995 lines removed sound right for this? Why is this such a big change to add a qcollapsible?

I thin this is just because all the single widgets are a different the before.


Using appcompat

Hi @mehdikhalifeh,
It's a nice library.
I think you can remove appcompat library because you didn't use it.
Thanks

Hi @mehdikhalifeh,
It's a nice library.
I think you can remove appcompat library because you didn't use it.
Thanks

solved