"Could not find a version that satisfies the requirement tensorflow==1.15rc3"

I cloned the repo and am going through the setup steps. I am in a fresh conda environment.
I run pip install -e . and get the results:
(task_adaptation) david@david:~/Code/task_adaptation$ pip install -e .
Obtaining file:///home/david/Code/task_adaptation
Collecting absl-py (from task-adaptation==0.1)
Collecting numpy (from task-adaptation==0.1)
  Using cached https://files.pythonhosted.org/packages/d7/b1/3367ea1f372957f97a6752ec725b87886e12af1415216feec9067e31df70/numpy-1.16.5-cp27-cp27mu-manylinux1_x86_64.whl
Collecting six (from task-adaptation==0.1)
  Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting mock (from task-adaptation==0.1)
  Using cached https://files.pythonhosted.org/packages/05/d2/f94e68be6b17f46d2c353564da56e6fb89ef09faeeff3313a046cb810ca9/mock-3.0.5-py2.py3-none-any.whl
Collecting tensorflow==1.15rc3 (from task-adaptation==0.1)
  Could not find a version that satisfies the requirement tensorflow==1.15rc3 (from task-adaptation==0.1) (from versions: 0.12.0rc0, 0.12.0rc1, 0.12.0, 0.12.1, 1.0.0, 1.0.1, 1.1.0rc0, 1.1.0rc1, 1.1.0rc2, 1.1.0, 1.2.0rc0, 1.2.0rc1, 1.2.0rc2, 1.2.0, 1.2.1, 1.3.0rc0, 1.3.0rc1, 1.3.0rc2, 1.3.0, 1.4.0rc0, 1.4.0rc1, 1.4.0, 1.4.1, 1.5.0rc0, 1.5.0rc1, 1.5.0, 1.5.1, 1.6.0rc0, 1.6.0rc1, 1.6.0, 1.7.0rc0, 1.7.0rc1, 1.7.0, 1.7.1, 1.8.0rc0, 1.8.0rc1, 1.8.0, 1.9.0rc0, 1.9.0rc1, 1.9.0rc2, 1.9.0, 1.10.0rc0, 1.10.0rc1, 1.10.0, 1.10.1, 1.11.0rc0, 1.11.0rc1, 1.11.0rc2, 1.11.0, 1.12.0rc0, 1.12.0rc1, 1.12.0rc2, 1.12.0, 1.12.2, 1.12.3, 1.13.0rc0, 1.13.0rc1, 1.13.0rc2, 1.13.1, 1.13.2, 1.14.0rc0, 1.14.0rc1, 1.14.0, 2.0.0a0, 2.0.0b0, 2.0.0b1)
No matching distribution found for tensorflow==1.15rc3 (from task-adaptation==0.1)

This halted installation, so it never got to datasets or hub, which causes problems. As a workaround, I edited setup.py to reference tensorflow==2.0.0a0 locally and finished setup from that. Not sure if this will bite me later with API compatibility issues.

With tensorflow==2.0.0a0, in the data folder I run python cifar_test.py and get:
(task_adaptation) david@david:~/Code/task_adaptation/task_adaptation/data$ python cifar_test.py
Traceback (most recent call last):
  File "cifar_test.py", line 21, in <module>
    from task_adaptation.data import cifar
  File "/home/david/Code/task_adaptation/task_adaptation/data/cifar.py", line 21, in <module>
    import task_adaptation.data.base as base
  File "/home/david/Code/task_adaptation/task_adaptation/data/base.py", line 25, in <module>
    import tensorflow_datasets as tfds
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow_datasets/__init__.py", line 46, in <module>
    from tensorflow_datasets.core import tf_compat
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow_datasets/core/__init__.py", line 30, in <module>
    from tensorflow_datasets.core.dataset_info import BeamMetadataDict
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow_datasets/core/dataset_info.py", line 54, in <module>
    from tensorflow_datasets.core.features import top_level_feature
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow_datasets/core/features/__init__.py", line 27, in <module>
    from tensorflow_datasets.core.features.features_dict import FeaturesDict
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow_datasets/core/features/features_dict.py", line 28, in <module>
    from tensorflow_datasets.core.features import top_level_feature
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow_datasets/core/features/top_level_feature.py", line 27, in <module>
    class TopLevelFeature(feature_lib.FeatureConnector):
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow_datasets/core/features/top_level_feature.py", line 45, in TopLevelFeature
    @tf.autograph.experimental.do_not_convert()
AttributeError: 'module' object has no attribute 'do_not_convert'

With tensorflow==1.14.0, when in the data folder I run python cifar_test.py, I get:
(task_adaptation) david@david:~/Code/task_adaptation/task_adaptation/data$ python cifar_test.py
Traceback (most recent call last):
  File "cifar_test.py", line 21, in <module>
    from task_adaptation.data import cifar
  File "/home/david/Code/task_adaptation/task_adaptation/data/cifar.py", line 21, in <module>
    import task_adaptation.data.base as base
  File "/home/david/Code/task_adaptation/task_adaptation/data/base.py", line 25, in <module>
    import tensorflow_datasets as tfds
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow_datasets/__init__.py", line 46, in <module>
    from tensorflow_datasets.core import tf_compat
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow_datasets/core/__init__.py", line 21, in <module>
    tf_compat.ensure_tf_install()
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow_datasets/core/tf_compat.py", line 66, in ensure_tf_install
    _patch_tf(tf)
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow_datasets/core/tf_compat.py", line 80, in _patch_tf
    _patch_for_tf1_13(tf)
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow_datasets/core/tf_compat.py", line 114, in _patch_for_tf1_13
    tf.contrib.autograph.do_not_convert)
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow/python/util/lazy_loader.py", line 62, in __getattr__
    module = self._load()
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow/python/util/lazy_loader.py", line 45, in _load
    module = importlib.import_module(self.__name__)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow/contrib/__init__.py", line 37, in <module>
    from tensorflow.contrib import cudnn_rnn
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow/contrib/cudnn_rnn/__init__.py", line 38, in <module>
    from tensorflow.contrib.cudnn_rnn.python.layers import *
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow/contrib/cudnn_rnn/python/layers/__init__.py", line 23, in <module>
    from tensorflow.contrib.cudnn_rnn.python.layers.cudnn_rnn import *
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow/contrib/cudnn_rnn/python/layers/cudnn_rnn.py", line 20, in <module>
    from tensorflow.contrib.cudnn_rnn.python.ops import cudnn_rnn_ops
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow/contrib/cudnn_rnn/python/ops/cudnn_rnn_ops.py", line 22, in <module>
    from tensorflow.contrib.rnn.python.ops import lstm_ops
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow/contrib/rnn/__init__.py", line 93, in <module>
    from tensorflow.contrib.rnn.python.ops.rnn_cell import *
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow/contrib/rnn/python/ops/rnn_cell.py", line 24, in <module>
    from tensorflow.contrib.layers.python.layers import layers
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow/contrib/layers/__init__.py", line 116, in <module>
    from tensorflow.contrib.layers.python.layers import *
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow/contrib/layers/python/layers/__init__.py", line 33, in <module>
    from tensorflow.contrib.layers.python.layers.target_column import *
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow/contrib/layers/python/layers/target_column.py", line 24, in <module>
    from tensorflow.contrib.losses.python.losses import loss_ops
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow/contrib/losses/__init__.py", line 25, in <module>
    from tensorflow.contrib.losses.python import metric_learning
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow/contrib/losses/python/metric_learning/__init__.py", line 25, in <module>
    from tensorflow.contrib.losses.python.metric_learning.metric_loss_ops import *
  File "/home/david/.local/lib/python2.7/site-packages/tensorflow/contrib/losses/python/metric_learning/metric_loss_ops.py", line 34, in <module>
    from sklearn import metrics
  File "/home/david/.local/lib/python2.7/site-packages/sklearn/metrics/__init__.py", line 7, in <module>
    from .ranking import auc
  File "/home/david/.local/lib/python2.7/site-packages/sklearn/metrics/ranking.py", line 36, in <module>
    from ..preprocessing import label_binarize
  File "/home/david/.local/lib/python2.7/site-packages/sklearn/preprocessing/__init__.py", line 6, in <module>
    from ._function_transformer import FunctionTransformer
  File "/home/david/.local/lib/python2.7/site-packages/sklearn/preprocessing/_function_transformer.py", line 5, in <module>
    from ..utils.testing import assert_allclose_dense_sparse
  File "/home/david/.local/lib/python2.7/site-packages/sklearn/utils/testing.py", line 751, in <module>
    import pytest
  File "/usr/lib/python2.7/dist-packages/pytest.py", line 13, in <module>
    from _pytest.fixtures import fixture, yield_fixture
  File "/usr/lib/python2.7/dist-packages/_pytest/fixtures.py", line 842, in <module>
    class FixtureFunctionMarker(object):
  File "/usr/lib/python2.7/dist-packages/_pytest/fixtures.py", line 844, in FixtureFunctionMarker
    params = attr.ib(convert=attr.converters.optional(tuple))
TypeError: attrib() got an unexpected keyword argument 'convert'

I am getting the same errors for all the tests I've tried. Any advice?

Regarding the problem with installation of tensorflow 1.15, I suspect that you are using outdated version of pip. Could you make sure that pip version you are using is 19.3.1 and try again?

Closing due inactivity.


Better database management

For testing purposes, it would be nice to have a different database, though somehow the structure must be the same between databases (plugin?)

Maybe migrating to MongoDB / Mongoose is also a possibility, it seems better to integrate with JS/TS.

Mongoose
MongoDB


"latest" download links no longer resolves. installcredprovider.sh is now broken.

Just a heads up.
We have a pipeline that uses
https://raw.githubusercontent.com/Microsoft/artifacts-credprovider/master/helpers/installcredprovider.sh
That script will attempt to resolve the url.
https://github.com/Microsoft/artifacts_credprovider/releases/download/latest/Microsoft.NuGet.CredentialProvider.tar.gz
However the "latest" version is no longer accessible and the above link will 404.
I have copied the script and updated the version to "v0.1.28" and it is functional. However I believe the githubusercontent link is linked in various locations so you may want to ensure that script link is working.

The Script is now functionally downloading a file.


elk 5.6, no more curator

Hi!
Is there a technical reason for the removal of curator in the new version of lightweight elk?
Thanks
David

Hi,
There is no particular technical reason for this.
The thing is that the old curator image we were using is outdated and newer version of curator can do so much more.
We already kickstarted an image on our side, i'll put it under adopteunops repo tomorrow and update the stack with it.
I'll keep you posted and thanks for your interest :).

thanks a lot
Merci beaucoup bonne journée ;-)

Done :)
Lightweight-elk and curator stack have been updated.
Both stacks now ask for a curator actions config (see https://www.elastic.co/guide/en/elasticsearch/client/curator/current/actions.html to get more details).
By default the stack comes with a preconfigured retention of 7 days on "logstash-" indices, and it also applies force merge on it.
The curator is triggered by default every day at 22:00, but it can be configured.
See https://github.com/AdopteUnOps/rancher-catalog/commit/8ee4886d483e3a808192742b2ff058f6c18ffe07
Feedback welcomed :)

@deejayprod is this ok for you ? can we close this issue ?

Hi,
Yes, it's also ok for that.
Thanks a lot

I'll close this then.


Fix #264: Add support of styling custom titleFormatter

Fix #264 : Right now, there's no way to style console output with css when using custom titleFormatter.
This PR adds ability to return Array from titleFormatter that will be spread when passed to logger.
Eg. support this:
createLogger({
  titleFormatter (action, time, took) {
    return [
      `%caction %c${action.type} %c@ ${time} %c(in ${took.toFixed(2)})`,
      'color: gray; font-weight: lighter;',
      'color: red;',
      'color: blue; font-weight: lighter;',
      'color: green; font-weight: lighter;'
    ];
  }
});

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@539dab5). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master     #265   +/-   ##
=========================================
  Coverage          ?   81.45%
=========================================
  Files             ?        5
  Lines             ?      151
  Branches          ?        0
=========================================
  Hits              ?      123
  Misses            ?       28
  Partials          ?        0

Impacted Files
Coverage Δ

src/core.js
72.36% <0%> (ø)

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 539dab5...92cddfc. Read the comment docs.

@evgenyrodionov for some reason, "codecov" can't find latest coverage report from master. Maybe it's because Travis build is failing on master.

@husa, the custom styling of log messages is going to be refactored in the next version of Redux Logger. You can read more about it in the issue #292.


Authentication issue

[x] I have read the contributing guide.

Report

[x] Dump remote Redis with rump and with AUTH to local rump file

$ ./rump -from redis://h:XXXXXXXXXXXX@ec2-XXXXXXXX.compute.amazonaws.com:PORT/0 -to ./hero-redis.rump -ttl

rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

SUCCESS

[x] Connect to the destination ElastiCache using redis_uri format and redis-cli

echo $REDIS_URL
redis://hXXXXXXX@<IP_ADDRESS>:6379

redis-cli -u ${REDIS_URL} INFO SERVER
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
# Server
redis_version:4.0.10
redis_git_sha1:0
redis_git_dirty:0
redis_build_id:0
redis_mode:standalone
os:Amazon ElastiCache
...

[!] Restore data to the the destination ElastiCache

./rump -from ./hero-redis.rump -to redis://hXXXXXXXXXX@<IP_ADDRESS>:6379/0

rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
signal: exit
NOAUTH Authentication required.

Notes
I have seen https://github.com/stickermule/rump/issues/26 and I have downloaded rump 1.0.0 from GitHub Release, but still facing the issue

I have the same problem.
./rump-1.0.0-linux-amd64 -from  redis://NODEA:6379/1 -to redis://:PASSWORD@NODEB:6379/1
signal: exit
done

I had to put an extra colon after the //:
redis://:
Then it worked...


[camera] Cannot pass maxDuration from startVideoRecording to CameraPlatform.instance.startVideoCapturing

What package does this bug report belong to?
camera
What target platforms are you seeing this bug on?
Android, iOS
Have you already upgraded your packages?
Yes
Dependency versions
pubspec.lock
camera:
    dependency: "direct main"
    description:
      name: camera
      sha256: "2170a943dcb67be2af2c6bcda8775e74b41d4c02d6a4eb10bdc832ee185c4eea"
      url: "https://pub.dev"
    source: hosted
    version: "0.11.0+1"
  camera_android_camerax:
    dependency: transitive
    description:
      name: camera_android_camerax
      sha256: "59967e6d80df9d682a33b86f228cc524e6b52d6184b84f6ac62151dd98bd1ea0"
      url: "https://pub.dev"
    source: hosted
    version: "0.6.5+2"
  camera_avfoundation:
    dependency: transitive
    description:
      name: camera_avfoundation
      sha256: "7d021e8cd30d9b71b8b92b4ad669e80af432d722d18d6aac338572754a786c15"
      url: "https://pub.dev"
    source: hosted
    version: "0.9.16"
  camera_platform_interface:
    dependency: transitive
    description:
      name: camera_platform_interface
      sha256: a250314a48ea337b35909a4c9d5416a208d736dcb01d0b02c6af122be66660b0
      url: "https://pub.dev"
    source: hosted
    version: "2.7.4"
  camera_web:
    dependency: transitive
    description:
      name: camera_web
      sha256: "9e9aba2fbab77ce2472924196ff8ac4dd8f9126c4f9a3096171cd1d870d6b26c"
      url: "https://pub.dev"
    source: hosted
    version: "0.3.3"

Steps to reproduce

Use startVideoRecording method
See there is no option to pass maxDuration for video recording

Expected results
startVideoRecording method includes optional maxDuration parameter, which then is passed to CameraPlatform.instance.startVideoCapturing(VideoOptions(maxDuration))
Actual results

Use startVideoRecording method
See there is no option to pass maxDuration for video recording

Code sample
Code sample
dart

Screenshots or Videos
No response
Logs
No response
Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.5 23F79 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.90.2)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!

This would be best implemented at the client level (or in a third-party utility package), by starting your own timer and ending the recording at that point. The only reason image_picker provides a maxDuration is that there is no ability for the caller to directly control the recording.
Closing as out of scope for the plugin.

This would be best implemented at the client level (or in a third-party utility package), by starting your own timer and ending the recording at that point. The only reason image_picker provides a maxDuration is that there is no ability for the caller to directly control the recording.
Closing as out of scope for the plugin.

The issue is about camera package, not image_picker.
This is code now
  Future<void> startVideoRecording(
      {onLatestImageAvailable? onAvailable}) async {
    _throwIfNotInitialized('startVideoRecording');
    if (value.isRecordingVideo) {
      throw CameraException(
        'A video recording is already started.',
        'startVideoRecording was called when a recording is already started.',
      );
    }

    void Function(CameraImageData image)? streamCallback;
    if (onAvailable != null) {
      streamCallback = (CameraImageData imageData) {
        onAvailable(CameraImage.fromPlatformInterface(imageData));
      };
    }

    try {
      await CameraPlatform.instance.startVideoCapturing(
          VideoCaptureOptions(_cameraId, streamCallback: streamCallback));
      value = value.copyWith(
          isRecordingVideo: true,
          isRecordingPaused: false,
          recordingOrientation: Optional<DeviceOrientation>.of(
              value.lockedCaptureOrientation ?? value.deviceOrientation),
          isStreamingImages: onAvailable != null);
    } on PlatformException catch (e) {
      throw CameraException(e.code, e.message);
    }
  }

and this is what I propose
  Future<void> startVideoRecording({
    onLatestImageAvailable? onAvailable,
    Duration? maxDuration,
  }) async {
    _throwIfNotInitialized('startVideoRecording');
    if (value.isRecordingVideo) {
      throw CameraException(
        'A video recording is already started.',
        'startVideoRecording was called when a recording is already started.',
      );
    }

    void Function(CameraImageData image)? streamCallback;
    if (onAvailable != null) {
      streamCallback = (CameraImageData imageData) {
        onAvailable(CameraImage.fromPlatformInterface(imageData));
      };
    }

    try {
      await CameraPlatform.instance.startVideoCapturing(
        VideoCaptureOptions(
          _cameraId,
          streamCallback: streamCallback,
          maxDuration: maxDuration,
        ),
      );

      value = value.copyWith(
          isRecordingVideo: true,
          isRecordingPaused: false,
          recordingOrientation: Optional<DeviceOrientation>.of(
              value.lockedCaptureOrientation ?? value.deviceOrientation),
          isStreamingImages: onAvailable != null);
    } on PlatformException catch (e) {
      throw CameraException(e.code, e.message);
    }
  }

So, its already implemented in Platform, but its just not passed from camera function itself. @stuartmorgan

The issue is about camera package, not image_picker.

I understand that; I was contrasting the camera case with another plugin where we do implement this, and explaining why the decision is different here.

So, its already implemented in Platform, but its just not passed from camera function itself.

It was added to the platform interface, but never implemented on any platform. It shouldn't have been added in the first place; I've filed https://github.com/flutter/flutter/issues/150959 to partially clean that up.


Change writes to be throttled writes

Change the way we write to get better write integrity

Can one of the admins verify this patch?

Can one of the admins verify this patch?

I'm still trying to work out the internal batch sizes. This may not be optimal


AttributeError: module 'rawpy' has no attribute '_rawpy'

Traceback (most recent call last):
File "E:/rawpy-main/test1.py", line 1, in
import rawpy
File "E:\rawpy-main\rawpy_init_.py", line 8, in
globals().update({k:v for k,v in rawpy.rawpy.dict.items() if not k.startswith('')})
AttributeError: module 'rawpy' has no attribute '_rawpy'
rawpy == 0.18.1
window11

This happens when you're cloning the repo and running Python from the repo root folder and you have . (current folder) in PYTHONPATH. Solution is to run scripts from a different folder.

It does not work.
Traceback (most recent call last):
File "E:/rawpy-main/mytest/test1.py", line 1, in
import rawpy
File "E:\rawpy-main\rawpy_init_.py", line 8, in
globals().update({k:v for k,v in rawpy.rawpy.dict.items() if not k.startswith('')})
AttributeError: module 'rawpy' has no attribute '_rawpy'


Fix squareness checks

Fix bugs caused by the fact that _assert_nd_squareness does not assert the inputs are at least 2d.
>>> for xp in (numpy, cupy):
...  try: xp.linalg.cholesky(xp.ones(()))
...  except Exception: traceback.print_exc(limit=0)
...
numpy.linalg.LinAlgError: 0-dimensional array given. Array must be at least two-dimensional
ValueError: max() arg is an empty sequence
>>> for xp in (numpy, cupy):
...  try: xp.linalg.eigh(xp.ones(()))
...  except Exception: traceback.print_exc(limit=0)
...
numpy.linalg.LinAlgError: 0-dimensional array given. Array must be at least two-dimensional
ValueError: Array must be at least two-dimensional

scipy.sparse.csgraph, on the other hand, should not raise LinAlgError.
>>> scipy.sparse.csgraph.connected_components(numpy.ones((3, 2)))
ValueError: graph should be a square array

This PR also fixes the names of the assertions (see numpy/numpy#14814).

Jenkins, test this please

Jenkins CI test (for commit 62f19703de36771f17c955ca4cae61d9517749d3, target branch master) succeeded!


Which file is the deployment document for the mainnet node?

Hello! I don't understand how to deploy a local mainnet node.Can you give me some guidance? Which files and information are needed to actually deploy the mainnet?

Hi please see instructions here:
https://docs.movementnetwork.xyz/devs/followerNode#run-locally


MSSQL Linux Packages not installing from Repository 404 Not Found

Err:1 https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019 focal/main amd64 mssql-server amd64 15.0.4138.2-1
404  Not Found [IP: <IP_ADDRESS> 443]
E: Failed to fetch https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019/pool/main/m/mssql-server/mssql-server_15.0.4138.2-1_amd64.deb  404  Not Found [IP: <IP_ADDRESS> 443]
Unable to install MSSQL Server as it appears the files are not present in the repo after following instructions.

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

ID: 3f0bcec3-7063-e556-e089-f6df587e2f03
Version Independent ID: 801bc1d0-3453-9fba-2d82-d913ca90fdc8
Content: Installation guidance for SQL Server on Linux - SQL Server
Content Source: docs/linux/sql-server-linux-setup.md
Product: sql
Technology: linux
GitHub Login: @VanMSFT
Microsoft Alias: vanto

Repo appears to be up but very slow.

I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


Ef misc sizing fixes

Hey @PabloSichert - I still can't get the tests passing, but here are the changes I want to make for handling padded containers and letter spacing. Any thoughts?

Ping! Just wanted to make sure you saw this @PabloSichert.

Changes look good!
Let's come back to this after merging and rebasing on https://github.com/One-com/react-truncate/pull/37.

@PabloSichert With my latest timeout patch commit, the build passes for me locally, but fails on Travis -- do you have any idea what might be going on? It's stalling out at some point, and then the build dies after 10 minutes of inactivity.
Also, if you have any insight into why the "should recalculate when resizing the window" test would be timing out for me locally, that would be awesome. If there's some fix for that besides upping the default 2000ms timeout, it might fix the Travis issue too. Not sure if there's some inefficiencies I might have inadvertently introduced with my patches that I'm just not seeing.

Hey @PabloSichert - Just wondering if you'd had a chance to look into this PR yet.

@PabloSichert @eric-adstage I’d love to see this released. How can I help here?

@PabloSichert seems to have gone dark -- not sure what happened!


Daemon configuration not preserved on reboots in boot2docker

This is a boot2docker issue, but adding it here so that we can track it in the milestone.
Starting in docker 1.10, a persistent configuration file can be stored (/etc/docker/daemon.json) for daemon options (see https://github.com/docker/docker/pull/18587). However, boot2docker currently doesn't preserve this configuration upon reboot.
To make this feature useful, also when running in boot2docker, boot2docker should be modified to preserve the settings file.
A pull request is currently open to facilitate this; https://github.com/boot2docker/boot2docker/pull/1121
/cc @tianon @SvenDowideit @crosbymichael (for boot2docker)

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Fixed in boot2docker/boot2docker#1121


Clipper does not persist application and model details

Stopping the clipper seem to remove all application and model details from clipper/redis. Please find the use case details below,

Start clipper

clipper_conn = ClipperConnection(DockerContainerManager()
clipper_conn.start_clipper()

Register an application using clipper_conn.register_application()

Deploy the model using deploy_python_closure()

Link model to application using clipper_conn.link_model_to_app()

Stop clipper

clipper_conn.stop_all()

Start clipper again

clipper_conn.start_clipper()

Observe that application and models registered before stopping clipper are not present
a. Model container corresponding to model deployed at step 3 above is not automatically started.
b. redis-cli output indicates that application details are not present in redis.
Before stopping clipper:
<IP_ADDRESS>:6379[1]> SELECT 5
OK
<IP_ADDRESS>:6379[5]> hgetall testApp
1) "input_type"
2) "strings"
3) "policy"
4) "DefaultOutputSelectionPolicy"
5) "default_output"
6) "-1.0"
7) "latency_slo_micros"
8) "1500000"
After stopping and starting Clipper:
<IP_ADDRESS>:6379[5]> SELECT 5
OK
<IP_ADDRESS>:6379[5]> hgetall testApp
(empty list or set)

Please look into this issue. Kindly let me know, if you need additional details.
Thanks,
Vinoth.

Hi @vinotna. This behavior happens because the Redis container gets stopped by stop_all() and a new one started when you call start_clipper() again. We recommend providing Clipper with your own, fault-tolerant and persistent Redis instance. See this documentation for a little more detail.


/api/v1/{bouncer,test-helpers}: no duplicates

Closes #120
Lists are usually small (~3-5 elements), therefore I didn't felt
entitled to do any kind of smart filtering.
It would have been possible to fix duplications at a more fundamental
level, e.g., when loading. I did choose the path of not messing around
with existing code. Rather, I did just implement de-duplication when
we needed it. I am not 100% familiar with this codebase and didn't want
to perform more radical changes with possible side effects.
Because this product is approaching EOL and we should make sure we
make ooni/collector production-ready, I decided to just implement the
minimal set of changes to close the existing issue.

[...] a ooni/bouncer microservice.

Code-wise, that would be my preference. Yet, reusing connections is also nice.
Thanks for the review.


chore: release main

:robot: I have created a release beep boop
@markdown-confluence/lib: 3.2.0
3.2.0 (2023-04-18)
Miscellaneous Chores

@markdown-confluence/lib: Synchronize obsidian packages versions

@markdown-confluence/mermaid-electron-renderer: 3.2.0
3.2.0 (2023-04-18)
Miscellaneous Chores

@markdown-confluence/mermaid-electron-renderer: Synchronize obsidian packages versions

Dependencies

The following workspace dependencies were updated

dependencies

@markdown-confluence/lib bumped from 3.1.0 to 3.2.0

obsidian-confluence: 3.2.0
3.2.0 (2023-04-18)
Miscellaneous Chores

obsidian-confluence: Synchronize obsidian packages versions

Dependencies

The following workspace dependencies were updated

dependencies

@markdown-confluence/lib bumped from 3.1.0 to 3.2.0
@markdown-confluence/mermaid-electron-renderer bumped from 3.1.0 to 3.2.0

obsidian-confluence-root: 3.2.0
3.2.0 (2023-04-18)
Features

Publish mermaid-electron-renderer (351d78d)

Bug Fixes

Speed up builds (fa77fc3)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/obsidian-confluence/obsidian-confluence/releases/tag/obsidian-confluence-v3.2.0 :sunflower:

:robot: Release is at https://github.com/obsidian-confluence/obsidian-confluence/releases/tag/%40markdown-confluence/lib-v3.2.0 :sunflower:

:robot: Release is at https://github.com/obsidian-confluence/obsidian-confluence/releases/tag/%40markdown-confluence/mermaid-electron-renderer-v3.2.0 :sunflower:

:robot: Release is at https://github.com/obsidian-confluence/obsidian-confluence/releases/tag/obsidian-confluence-root-v3.2.0 :sunflower:


Make "range" downloading functionality available outside of StaticFiles

So I have an Mvc core app running in production and I have an action that downloads a file using PhysicalFileResult which transmits the file directly. The files might be big so I wanted to support "range" downloading.
I was reading the StaticFiles middleware and it supports the specs perfectly so why would I have to implement it again outside of StaticFiles? Can't we make that functionality encapsulated and available to outside code? I thought about using StaticFileContext but it's internal anyway.
Then, we could make an Mvc IActionResult like PhysicalFileResult that supports "ranges".

Please Move this bug to MVC. It makes sense to add for some of this functionality to FileResult.

@Tratcher I agree, but I intentionally opened it here because simply adding the same functionality in Mvc would cause duplication, right? Should't there be a shared service? StaticFiles already has all the needed functionality (internally).

MVC is where you want the functionality. We'll figure out how to best get it there.

Alright I'll open one there, thanks.


Add GenericVoiceDataset class to support new datasets

New datasets can be supported by specifying the data_dicts parameter
in yaml config file, e.g.,

data_dicts:
  - path: "fixie-ai/librispeech_asr"
    name: "clean"
    splits:
      - "train.100"
      - "train.360"
    user_template: "Continue the following text using less than 50 words:\n\n<|audio|>"
    assistant_template: "{{ continuation }}"
    transcript_template: "{{ text }}"
  - path: "fixie-ai/librispeech_asr"
    name: "other"
    splits:
      - "train.500"
    user_template: "Continue the following text using less than 50 words:\n\n<|audio|>"
    assistant_template: "{{ continuation }}"
    transcript_template: "{{ text }}"

See ultravox.training.config_base.py for parameter specs:

class DataDictConfig(BaseModel):
    path: str  # Path to the dataset, or huggingface dataset id
    name: str = None # Name of the dataset, or huggingface dataset config/subset
    splits: List[str] = dataclasses.field(default_factory=list)
    num_samples: Optional[int] = None
    streaming: bool = True
    user_template: str = "<|audio|>"
    assistant_template: str = "{{text}}"
    transcript_template: str = "{{text}}"

Just by a quick look, the following existing dataset classes could be replaced using this approach. Unless we are doing something very customized, anything that can be simply handled by jinja2 template would work.

LibriSpeechDummyDataset
BoolQDataset
BoolQInputDataset
BoolQWithExtendedAnswerDataset
GigaSpeechDataset
VoxPopuliDataset
CommonVoiceDataset
CoVoST2Dataset
PeopleSpeechDataset

Just by a quick look, the following existing dataset classes could be replaced using this approach ...

Feel free to actually replace them, there's nothing sacred about the current format. The only constraint I would add is to make sure that create_dataset still supports on the same datasets.
That's gonna require making the GenericVoiceDataset more generic, but that's probably not too hard. Also you probably need to have the "dataset-specific config templates" committed somewhere that datasets.py can automatically load.

@juberti Please ignore the changes related to experiment configs for now as I am figuring out a bug fix.

A lot of good stuff in this PR but I think there's too much to review effectively right now. I think the right thing to do is to split it into 4 separate PRs, with this priority order:

alt_* and KL loss
interleave ratios
generic dataset class
ds_tool changes
Happy to help do this splitting and also write tests for the Interleave class, which is getting fairly complicated here. @zqhuang211 let me know how I can best help here.

A lot of good stuff in this PR but I think there's too much to review effectively right now. I think the right thing to do is to split it into 4 separate PRs, with this priority order:

alt_* and KL loss
interleave ratios
generic dataset class
ds_tool changes
Happy to help do this splitting and also write tests for the Interleave class, which is getting fairly complicated here. @zqhuang211 let me know how I can best help here.

Agreed. I will break it into smaller PRs.


Remove bookmarks from conversation features

Removing per ADO task 184735
Bookmarks are now available so this is inaccurate - please merge

@JohanFreelancer9

@pamgreen-msft Please merge this PR. Thanks

@pamgreen-msft Can you please merge this?


When I use the "port-forward" functions of "pods" or "service", I get an error

error: invalid resource name "xxxxxxxxxxxxx": [may not contain '/']

Hello,
which version of kubectl are you using?
@itowlson you know windows better than me. Any idea?

The only thing I can think of is if there has been a breaking change to kubectl port-forward so it now requires a syntax like pod foo instead of pod/foo.  Doesn't look like anything related to Windows...

Nope, docs say pods/foo should be fine... https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/

@zx472010602 if you type that command manually into the terminal, do you get the same error?  If not, is there another syntax you know that does work for you?

@zx472010602如果您在终端中手动键入该命令，您是否会收到相同的错误？如果没有，您是否知道另一种语法对您有用？

手动一样会，而且CMD,powershell，gitbash,都会报一样的错误


chore: bdd-nh-1578617225 to 0.0.1

chore: Promote bdd-nh-1578617225 to version 0.0.1

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

Needs approval from an approver in each of these files:

OWNERS

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


SidebarIcon vanishes on @Secured Operations

If you add @Secured("ROLE_ADMIN") to AdminOperation in security-sample-shared, the SidebarIcon disappears.
The reason for this is Spring returning a Dynamic Proxy instead of the real, annotated class when applicationContext.getType() is called in SideBarItemDescriptor:
private Annotation findIconAnnotation() {
    Class<?> type = applicationContext.getType(beanName);
    while (type != null) {
        Annotation[] annotations = type.getDeclaredAnnotations();
        for (Annotation annotation : annotations) {
            if (annotation.annotationType().isAnnotationPresent(SideBarItemIcon.class)) {
                return annotation;
            }
        }
        type = type.getSuperclass();
    }
    return null;
}

Thanks for the report. I will fix this.

I can't reproduce this problem. Is it still valid?

Closing. Please reopen if you still have a problem.


Update munit, munit-scalacheck to 0.7.28

Updates

org.scalameta:munit
org.scalameta:munit-scalacheck

from 0.7.27 to 0.7.28.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta" } ]

labels: test-library-update, semver-patch

Codecov Report

Merging #252 (e3843ad) into main (4c7f24e) will decrease coverage by 0.20%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #252      +/-   ##
==========================================
- Coverage   96.22%   96.02%   -0.21%
==========================================
  Files           8        8
  Lines         980      980
  Branches       93       93
==========================================
- Hits          943      941       -2
- Misses         37       39       +2

Impacted Files
Coverage Δ

core/shared/src/main/scala/cats/parse/Parser.scala
95.86% <0.00%> (-0.25%)
: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 4c7f24e...e3843ad. Read the comment docs.


Bugfix/Fix scripture popups

Describe what your pull request addresses

[ ] make disableWordPopover dynamic if not specified

Test Instructions
can test with: https://deploy-preview-148--gateway-edit.netlify.app/

[ ] scripture panes should only show popups if not original language bible.

This change is

LGTM


Question: How to protect yourself properly?

Now that we have a list of potential naughty strings, what do you do with it to protect yourself properly? What's the best way to use this list to protect your backend where user input is required?
I'll be using this list in a nodejs based app with a mongo db, is it "enough" to test if the user input .contains() a line from the list? What would be a better way to protect yourself, rather than just looping over the list and checking for something that's equal (or at least contains in the user input)?

This isn't an exhaustive list of all bad strings, it's a list of examples.
What you do is you test your code with each of these to try to shake out bugs and, once you identify the bugs, you write a properly comprehensive fix.
(eg. If Æ was included in the list as  an example of a unicode character and your program didn't support Unicode, Checking .contains() for Æ wouldn't solve your problem for other 128,000+ unicode characters.)

Yeah, that's what I was thinking with the example you provided and looking for something more generic.
I'm sure this is a huge and common thing that needs to be implemented in different systems, aren't there like well established libraries available that help you out with this sort of thing? Maybe I'm thinking of something different here (input sanitisation? input validation?)

The BLNS is for testing your input sanitization.
Unfortunately, I don't code web apps in NodeJS (Python, PHP, and various other languages), so I can't suggest an input sanitization library/framework off the top of my head.

This list is useful for automated testing, not for runtime input validation/sanitization. Here's an example: https://github.com/parshap/node-sanitize-filename/blob/master/test.js#L259-L262

One of the issues with automating this kind of thing is that it lets the number of test cases explode.
Let's say you have a hundred bad strings, that's a hundred test cases, right? Well, no... the only way to make sure that your input doesn't break anything is to make sure all inputs on all parameters for a form/API call are tested.
That means your number of test cases is (number of bad strings)^(number of string parameters) for each such form/API call.
Very few people take the time to test through that, even if the test cases can be generated automatically from some kind of spec.
That said, yes, it would be nice to see something like this, right?

I woner how to protect myself from the human injection

@Euphe Careful UI design. It really depends on the specific case.

Testing frameworks such as PHPUnit can use this list as a "data provider". Here's some code for PHPUnit:
    /**
     * @return array
     */
    public function naughtyStringProvider()
    {

        $path    = realpath(__DIR__ . '/../resources/tests/blns.base64.json');
        $content = file_get_contents($path);
        $array   = json_decode($content);
        $return  = [];
        foreach ($array as $entry) {
            $return[] = [base64_decode($entry)];
        }

        return $return;
    }

When you have a specific function that should accept user input and not break somehow, you can do this (again, in PHPUnit):
/**
     * @covers       \FireflyIII\Http\Controllers\Transaction\SingleController::store
     * @dataProvider naughtyStringProvider
     */
    public function testStoreNaughty(string $description)
    {
 // ...
}

This test is called 400+ times with a different string from the naughty list, automatically.
It is worth to know however, that this specific test (depending on how you set it up) would only test if your application accepts these strings. Which it might as well do, because many of the strings in the naughty list aren't very naughty per se, they're just inconvenient to read. If a user wants to give a description that's emoticons only, wel sure. That's not a problem per se.
My test case is just an example to show you how you could use this list. It's by no means the only way.

I suggest including a reason for failure beside each string

@JC5
You'd be surprised.
The punctuation used in "plaintext" emotes has its own scunthorpe problem.


Running Multiple instances of kargo on the same server aka. multitenancy

Summary
sometimes a cluster is shared between several development teams and multiple instances of Kargo will be necessary,
the current state is that if I have multiple instances they all see all the projects in the cluster
Motivation
to enable multitenancy  and limit noisy neighbors of a shared instance
Proposal
the straightforward is to add another label to the namespace:
apiVersion: v1
kind: Namespace
metadata:
  name: kargo-demo
  labels:
    kargo.akuity.io/project: "true"
    kargo.akuity.io/managed-by: kargo #the namespace where the controlling kargo instance is running

also if the way is helm chart deployment a suffix needs to be added to all the named resources to support multi-instance installation
it will also will pave the way if a operator is somewhere in the future.

We have carefully designed things so that project-level permissions can be configured using normal Kubernetes RBAC. (The one caveat to that is at present, it's bypassed if you use the CLI or UI because the API server doesn't understand how to impersonate the end users yet, but we're working on that.)
Before entertaining the idea of more than one Kargo controller per cluster, we'd probably need some evidence that binding select users or groups to project-specific Roles (i.e. namespace-scoped Roles) is somehow not enough.

I get it, but k8s RBAC isn't a walk in the park for most users, and for that you need to add a Access management ui for ClickOps users can manage it.
And sometime a decouple instance will provide better insolation.

I get it, but k8s RBAC isn't a walk in the park for most users, and for that you need to add a Access management ui for ClickOps users can manage it.

Agreed. And we would rather add support for that to the UI and CLI than to radically change the multi-tenancy model that we mindfully selected.
Please do try to remember that you are playing with something that is at best an MVP right now.

I'm going to close this and, in its place, open an issue for adding permission management capabilities to the UI and CLI.
That's always been on our radar, but there's no open issue for it.

Opened #898


cannot install using setup.py

Clone repo
python setup.py install (under ven,  python 3.7)
Result
Traceback (most recent call last):
File "setup.py", line 11, in
import xport
File "/Users/gorelov/PycharmProjects/xport/xport/init.py", line 11, in
from . import reading
ImportError: cannot import name 'reading' from 'xport'

Fixed! Sorry it took me so long.

pip install --upgrade xport to get the latest.


fzf install via homebrew not working with fish integration

[x] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues

Info

OS

[ ] Linux
[x] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[ ] bash
[ ] zsh
[x] fish

Problem / Steps to reproduce
install fzf via homebrew (version 0.45.0)
use fish as default shell
add fish hooks into config.fish
don't get the commands available in fish

NOTES:

Fish is working fine
fzf is also working fine when called standalone
But the fish integration seems to be borked

But the fish integration seems to be borked

I switched my shell from zsh to fish and it worked by following these instructions:

set fish

# get fish
brew install fish

# add fish to the list of valid shells
echo /usr/local/bin/fish | sudo tee -a /etc/shells

# make fish the default shell
chsh -s /usr/local/bin/fish

check brew infos for fzf

 brew info fzf
==> fzf: stable 0.46.1, HEAD
Command-line fuzzy finder written in Go
https://github.com/junegunn/fzf
/usr/local/Cellar/fzf/0.46.1 (17 files, 3.9MB) *
  Built from source on 2024-02-02 at 09:58:33
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/f/fzf.rb
License: MIT
==> Dependencies
Build: go ✔
==> Options
--HEAD
        Install HEAD version
==> Caveats
To install useful keybindings and fuzzy completion:
  /usr/local/opt/fzf/install

To use fzf in Vim, add the following line to your .vimrc:
  set rtp+=/usr/local/opt/fzf

run the install^1 script

/usr/local/opt/fzf/install --no-zsh --no-bash
Downloading bin/fzf ...
  - Already exists
  - Checking fzf executable ... 0.46.1
Do you want to enable fuzzy auto-completion? ([y]/n) y
Do you want to enable key bindings? ([y]/n) y

Update fish_user_paths ... OK
Symlink /Users/paria/.config/fish/functions/fzf_key_bindings.fish ... OK

Do you want to update your shell configuration files? ([y]/n) y

Create /Users/paria/.config/fish/functions/fish_user_key_bindings.fish:
    function fish_user_key_bindings
      fzf_key_bindings
    end

Finished. Restart your shell or reload config file.
   fzf_key_bindings  # fish

check setup

and now back to zsh 👻

Thanks, that worked!


Add ServerName into TLS Config

This PR covers a use case for monitoring certain hosts that don't have a DNS name, but still serves a certificate with a known CommonName. This exposes a new field in scrape configuration
tls_config:
      server_name: 'example.com'

I'm not sure if the tests are sufficient because the error is masked by the presence of the test root CA. Could also DRY it up...
@beorn7 @fabxc @juliusv

Seems fine to me, but I'm not the domain expert about the TLS config. @brian-brazil might have an opinion here.

:+1:

generally :+1:
💯 for providing tests

Thanks!

ahh, I realized I exported that constant :/ had a force push but you're too fast


subtitles

Don't download subtitles.
Please add option to download subtitles.
Thank you

This feature has been added.
You can now use the --caption or -ca flag to download videos with subtitles

This feature has been added.
You can now use the --caption or -ca flag to download videos with subtitles

Error: no such option: --caption
with -ca flag return this message: You must have a premium account to download this course
without -ca flag download works fine

Error: no such option: --caption
with -ca flag return this message: You must have a premium account to download this course
without -ca flag download works fine

Is there a way to just download subtitles? I downloaded courses without the captions option and don't want to download them all again just to add subtitles.


Write cloudwatch metrics from lambda scaler

This updates the https://github.com/buildkite/buildkite-agent-scaler version to the latest which includes writing JobScheduledCount metrics to Cloudwatch Metrics.

A huge issue we discovered with the scaler is that it bypasses lifecycle hooks entirely. It's kind of taken the wind out of my sails a bit.

@tduffield so this now uses the lambda for scale-up and the new --disconnect-after-idle-timeout feature in the agent, paired with the "terminate and decrement desired count on the asg". Seems to work nicely!

Found a bug here where desired count isn't being decremented when instances scale down.


docs: fix help and examples regarding -a & --audio

@llyyr thanks for encoding these useful info in the README.
Anything useful to salvage from my comment? Maybe some usage examples? I recall I was a bit confused on which part of the ffmpeg command output provided the exact string to be used with wf-recorder (maybe it was me being a bit thick)

Better version of your comment is already in the readme after this PR. I don't mind doing more examples but it should be fairly obvious what wf-recorder can do. And if I start writing examples for ffmpeg functionality there won't be an end.

on a second thought: examples can also fit somewhere in the wiki.


podman log needs to fail if the log file does not exists.

Currently if you create a container and then do a podman log on it, it just
hangs.  This change will get the container to exit with an error saying the
log file does not exists.
Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>

Closes: https://github.com/containers/libpod/issues/2677
@edsantiago @mheon @baude @vrothberg @giuseppe PTAL
This only question I have on this, is whether we should set the MustExists flag if we specify --follow?
Currently if you create a container and never run it, there are no logs.  With current podman logs, it hangs if the file does not exists. With podman logs --follow, we will hang when there is a log, but exits when you execute without the --follow.

@edsantiago PTAL

@dwalsh PTAL at #2679; @baude has a working fix already; his preserves the existing (and IMHO correct) behavior of exiting zero.

Closing in favour of https://github.com/containers/libpod/pull/2679


Fix leader election in deployment

Describe what this PR does

Enable leader election for provisioner
Update e2e to create and delete multiple PVC and app
Added backend image validation for rbd

Is there anything that requires special attention
Related issues
Fixes: #426

@humblec @ShyamsundarR PTAL

Ci is failing with
The command "curl -sf "https://install.goreleaser.com/github.com/golangci/golangci-lint.sh" | bash -s -- -b $GOPATH/bin "${GOLANGCI_VERSION}"" failed and exited with 1 during .

this PR haven't changes anything related to this

Ci is failing with
The command "curl -sf "https://install.goreleaser.com/github.com/golangci/golangci-lint.sh" | bash -s -- -b $GOPATH/bin "${GOLANGCI_VERSION}"" failed and exited with 1 during .

this PR haven't changes anything related to this

Other PRs are also failing here: see https://github.com/ceph/ceph-csi/pull/427 in travis job https://travis-ci.org/ceph/ceph-csi/jobs/545156584

Ci is failing with
The command "curl -sf "https://install.goreleaser.com/github.com/golangci/golangci-lint.sh" | bash -s -- -b $GOPATH/bin "${GOLANGCI_VERSION}"" failed and exited with 1 during .

this PR haven't changes anything related to this

Other PRs are also failing here: see #427 in travis job https://travis-ci.org/ceph/ceph-csi/jobs/545156584

Fixed here https://github.com/ceph/ceph-csi/pull/429

Need to enable leader  election in this deploment

sent a PR https://github.com/ceph/ceph-csi/pull/432 to revert back to statefulset
will revisit  PR once we sort out things to use deployment

will be fixed by https://github.com/ceph/ceph-csi/pull/497
closing


Add support for recorder.js

https://github.com/mattdiamond/Recorderjs is a plugin for recording/exporting the output of Web Audio API nodes.

Fixed and part of next release (1.1.0).


Fix mouse scrolling in tmux 2.1

It was unceremoniously broken between tmux 2.0 and 2.1
The breakage:
https://github.com/tmux/tmux/issues/145
The fix:
https://github.com/tmux/tmux/issues/145#issuecomment-151123624

bump

One comment otherwise :ship:


NuGetCommand task does not respect allowPackageConflicts flag

Question, Bug, or Feature?
Type: Bug
Task Name: NuGetCommandV2
Environment
Azure Pipelines
Issue Description
I have the following azure-pipelines.yml file:
trigger:
- master

pool:
  vmImage: 'vs2017-win2016'

variables:
  buildConfiguration: 'Release'

steps:
- script: dotnet build --configuration $(buildConfiguration)
  displayName: 'dotnet build $(buildConfiguration)'
- task: DotNetCoreCLI@2
  displayName: 'dotnet pack'
  inputs:
    command: pack
    packagesToPack: './src/TheBlueSky.DotNet.Tools.SwiftHash.csproj'
- task: NuGetCommand@2
  displayName: 'NuGet push'
  inputs:
    command: 'push'
    nuGetFeedType: 'external'
    publishFeedCredentials: 'NuGet connection for dotnet-hash'
    allowPackageConflicts: true

Whenever the build is triggered and the version number is not changed; e.g., modifying the ReadMe file, the build fails because there is an already published NuGet package with this version, although I set allowPackageConflicts to true.
Error logs
The nuget command failed with exit code(1) and error(System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 409 (A package with ID 'TheBlueSky.DotNet.Tools.SwiftHash' and version '1.0.1' already exists and cannot be modified.).

Are you using this task to publish to an Azure DevOps Feed?

No, I'm publishing to NuGet.org

Can I see your full logs with system.debug set to true?

Where do I set system.debug? Is it by creating a variable named system.debug?

Yep!

@magleaso, here are the logs from the build.
log.txt

This parameter is only usable for internal feeds. For external sources like NuGet.org, the task uses vstsnugetpush.exe which does not support this parameter. On our side, we will update the task's yaml documentation to make this clear, and add a warning message to the task output. We are working on new auth tasks now that will enable this scenario per #10857

Thanks for clarifying. I have 2 questions:

Any idea about the approximate time when the work to enable #10857 is ready?
Is there a workaround that I can use in the meantime?

It should be quite soon. We started rolling it out this week.
For a workaround, NuGet recently added support for this flag to the official client. You can try using the NuGet tool installer to retrieve a supported NuGet version (the -SkipDuplicate flag is available in >=5.1), then use the NuGet custom task to run your command with the flag. I'm not sure whether auth will work in this scenario. If auth doesn't work, then the only thing to do is wait for the new auth task.

All right, thanks a lot.

I tried the new NuGetAuthenticate task but wasn't able to make it work (https://github.com/microsoft/azure-pipelines-tasks/issues/10857#issuecomment-526940179).
So, I decided to use nuget.exe directly; i.e., nuget push MyProject.*.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey $(nuget.apikey) -SkipDuplicate, but that also failed with File does not exist (MyProject.*.nupkg) error.
Where is the *.nupkg file located and how to specify it without the need to mention the version number?

I can't tell you that, it depends on where you put the nupkg. You will need to specify a specific version by filename

Edit: looks like you found a solution on the other thread. Sorry for the initial confusion

@magleaso; no worries, also I should've updated this issue to mention I found the solution.
As a summary, neither NuGetCommand nor NugetAuthenticate will help in a case like mine and there is no plan to make them support my scenario.
As an alternative, I used NuGet command line tool:
- task: NuGetToolInstaller@1
  displayName: 'Install NuGet'
- script: nuget push $(Build.ArtifactStagingDirectory)\$(projectName).*.nupkg -Source $(nugetSource) -ApiKey $(nuget.apikey) -SkipDuplicate -NoSymbols
  displayName: 'Push to NuGet.org'

Note that due to a bug in NuGet command line tool, -NoSymbols is necessary to prevent the tool from trying to find and  push the symbols package.


New OS Distro, Icons dont show

I have tried a new distro (Tuxedo using kde) and when i open the folder with my flatimages created none of the custom icons show and only show when opening the flatimage. Problem with this is if i open one flatimage and the icon appears then every other flatimage defaults to the same icon until i open them individually

Hi @Blad3forc3 , thanks for reporting this issue! Do you have this environment variable set in your ~/.bashrc file?
export XDG_DATA_HOME=$HOME/.local/share

Open a terminal and check for it with echo $XDG_DATA_HOME. After setting this up, a reboot should suffice to start showing the icons for the flatimages. If that does not work let me know and I'll investigate further.

I have set up the line is my bashrc file and rebooted but still none of the flatimages have icons. The old appimages do


This Project output files can't run on BBB board~

Hi, I use CCS to build this project with IDE version <IP_ADDRESS>06, Compiler version = TI v18.12.4.LTS , then place MLO(StarterWare lastest BBB support) + APP(CCS output file)  on the miniSD card.  But it can't wok, what happend?  Can you help me  to resolve it?  Thanks~

Hi, now the project works well on BBB board,  I find that the uart dirver in project has some problem, It can make the uart0 output-info with garbled code. After I modify the console driver, uart0 print well,   Looking forward to your reply
， thanks~


Unable to run in Microsoft Internet Explorer 11

Hey all,
I hope the title didn't scare anyone 👹... but is this package meant to be run on IE 11? I'm using a standard Babel workflow to run my universal React app on major browsers, and am now currently trying to extend support to IE 11. I'd love to know if this is on your roadmap and if I can help out. Using a polyfill script has solved most of my issues so far. However, I'm seeing the following error from this package:
TypeError: Unable to get property 'valueOf' of undefined or null reference
I've investigated and I believe the issue could be related to the implementation of isValue and isObject being too platform-dependent, but that's a guess. When I replaced your isObject with an implementation from the lodash library, the error resolved, but your tests failed.
https://github.com/Shopify/graphql-js-client/blob/1af3517fe0126aa9e5f0bbd4957b1ecbd2120415/src/is-value.js#L2
https://github.com/Shopify/graphql-js-client/blob/1af3517fe0126aa9e5f0bbd4957b1ecbd2120415/src/is-object.js#L2

this is a little confusing looking at your error. null and undefined wouldn't pass the initial checks of string coersion or booleanizing to get to the valueOf call. I'm curious what version of the library you're including (cjs, umd, or es module), and if your babel configuration could be playing a part? When we include this library, we use the es version and compile it the target environment using babel.

Thanks for the quick reply. I agree that babel is probably the culprit since it's clear from the source that your functions check for null values.
So you're saying the distribution on NPM targets IE 11? Maybe I should try building from source?

it's not super well documented, but we build out two targets. index.js and index.es.js The index.js version is commonjs, built to target node LTS. The .es.js version is an es module, built with minimum compilation, since it's a native javascript module and it need extra compilation.
Our package.json specifies what package to use where, so your consuming platform will make a choice around which version to consume based on its configuration settings. Ultimately, it's to the consumer to compile this for their target, since neither common js or es modules are natively supported on the web.
The reason for this, is that this is a library, and not an end application, so we assume that whomever is using this package is building it into something else where they have tooling to compile to their own target.


Update docs/README.md

Requirements for Contributing Documentation

Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
The pull request must only contribute documentation (for example, markdown files or API docs). To contribute other changes, you must use a different template. You can see all templates at https://github.com/atom/atom/tree/master/.github/PULL_REQUEST_TEMPLATE.

Description of the Change
Changed the paragraph, in my opinion there was grammar mistake.
Release Notes

why Atom pull request failed? help anyone? i am beginner

Thanks very much for the suggestion.
Since the content was moved some time ago, "now" doesn't really apply. And "following" is one of those words like "here" that shouldn't be used to reference a link. Because of these reasons, we feel that the current wording is more correct.
Thanks again for your help and passion for Atom 😀

Thanks for your response, As I stated that I have just started is there anything that I can contribute to?

Please see the How Can I Contribute section of the CONTRIBUTING guide.


Consistent schema and connection for opened script files

Is your feature request related to a problem? Please describe.
I encountered a problem when opening script files (CTRL+O) in DBeaver. Currently, opening a script file can sometimes cause the schema in the SQL Editor to switch to a random schema or to become an unselected schema and connection entirely. This behaviour is inconsistent and disrupts the workflow when working with multiple databases and scripts.
Database Type: This issue has been observed with PostgreSQL databases.
Schema Switching Behavior: Opening a script can cause the schema in the SQL Editor to:
Switch to a random schema, not necessarily the default or alphabetically first one or to become completely unselected.
Connection: In some instances, opening a script can also unselect the currently active PostgreSQL connection in DBeaver for that specific file. This behaviour is consistent with the unselecting behaviour of the schema.
Frequency: This problem occurs every time a script file is opened.
Describe the solution you'd like
To address this issue, I propose the following solutions:
Script Schema Retention: When opening a script file, DBeaver should automatically retain the schema that was previously selected in the SQL Editor. This behaviour should occur even if the script itself doesn't explicitly specify a schema.
This solution would ensure that opening scripts doesn't disrupt the user's workflow by randomly changing the schema or unselecting the database connection.
Additional context
In the video below I open a file I've never opened in DBeaver before. Also, if you take a closer look when the file is opened, it "unselects everything" (13 seconds):

https://github.com/dbeaver/dbeaver/assets/52160996/ce912d72-7920-4e0f-8b90-0e66de7d0ab3

Have you tried to set the default schema in Connection Settings?

The public schema is usually what I intend on using so that would not be a problem. Sorry if I was not clear. I've done some more testing (I could not remember) but it seems that the specific file I opened in the video I had opened once before and that was the schema I chose while editing it. But when opening brand new scripts/files it shows no connection:

My point here would be that while I had a connection to a specific DB and Postgres server when I opened the file, that connection was changed to the last way I used the file.
I'd like a way to define whether I want to keep using the current (the active SQL editor) server+db/schema or use the default for the file.

I see. Thank you for feature request and explanation. Now it's clear.

Please change the label, this is not a feature request but a bug!
When I used a specific schema on my script, I observed that after my database connection has timed out, when I reconnected by evaluating a statement, it automatically connected to the first/default schema instead of the last one that the script used before the disconnection. Imagine what if you run a dangerous delete statement and it executes in a completely arbitrary context... And of course, if anyone actually relies on this tool to make a (business / development) decision, we get a false positive or false negative query result.

This is extremely annoying. Script-files are seemingly randomly understanding the context they are in, or not. Hovering over the tab clearly states that they are all connected to the right db and schema. Still haven't found a way to reliably get this to work.


Filter placeholder and numeric sorting

Griddle version
1.9.0
Hi, is there an option to change the filter placeholdertext to something like search without writing a custom filter component? I think it is much overdone to add a custom component only to change the placeholder text.
Second thing is the way of sorting. For example if i have numbers it sorts like:
1
10
100
1000
2
3
instead of
1
2
3
10
...
How can I solve this?

is there an option to change the filter placeholdertext to something like search without writing a custom filter component? I think it is much overdone to add a custom component only to change the placeholder text.

Not currently, but this should be a relatively easy patch if you want to submit a PR:

Add filterPlaceholder to initialState.textProperties
Use textSelector in FilterContainer to add that value to props (e.g. PreviousButtonContainer
Use the new props value in Filter

Once connected to textProperties, you can override the text from a plugin or directly.

Second thing is the way of sorting. For example if i have numbers it sorts like...

You can provide a custom sortMethod either for the entire grid or specific columns. Check out how this custom sort function is used in the Storybook.

If it is possible to change the textproperties for next and previous than it should also be possible to change other values like the placeholder. Let me try to find a workaround with te use of textSelector

I agree that it should be possible. And the Filter placeholder isn't the only example of hard-coded text that could be converted to use textSelector (e.g. NoResults, Loading).
If you're not interested in contributing, we'll try to fix this as time allows.

I made a pr for the first issue 😸

I'm curious and I will check it out


Counting distinct or unique records

As an example use the three classes from the documentation: User, Group and Membership. Now assume that a user can have multiple memberships for a group.
Is there a way to save the distinct or unique user count for a group?
So I don't want this:
group.users.size

… but:
group.users.distinct.size

If I change the user model as follows:
class User < ActiveRecord::Base
  has_many :group_memberships
  has_many :groups, -> { distinct }, through: :group_memberships
end

… i won't have to use distinct anymore. But my counter on the membership model:
counter_culture :group, column_name: "members_count"

won't count the distinct users but all.

This isn't possible with counter_culture as far as I know. If you had a pull request that added support for this, I'd be happy to take a look at it though!


Tilix / aarch64

Describe the bug
Unable to install tilix on aarch64 due to missing LDC from binary cache.
To Reproduce
Steps to reproduce the behavior:

Add tilix to package list.
Run switch.

Expected behavior
Expected tilix to install from binaries.
Additional context
Tilix depends on dlang. dlang provides DMD, GDC, and LDC compilers. Only LDC appears to be present in NixOS. LDC not present in the binary cache. LDC builds but fails to check on aarch64 locally.
Tilix itself runs fine under archlinux on the same aarch64 machine.
Very much welcome any pointers as I'd like / I'm able to help. I'd prefer not to dive in too deep without first understanding in which direction the maintainers would like to go however.
Notify maintainers
Unsure who to ping here sorry.
Metadata

system: "aarch64-linux"
host os: Linux 4.14.83-17437689
multi-user?: no
sandbox: no
version: nix-env (Nix) 2.3.6
channels(nix-on-droid): "nix-on-droid-20.03, nixpkgs-20.03.2913.4bd1938e03e"
nixpkgs: /data/data/com.termux.nix/files/home/.nix-defexpr/channels/nixpkgs

ldc works when disabling checks. dmd fails installation however, and it doesn't look to be a NixOS specific issue (based on a very quick look). Moving both tilix and gtkd to a direct ldc build dependency rather than dmd allowed me to build this locally on the device.

Closing. No longer interested in nix.


Easeljs and requireJS: performance is not defined

When I load Easel with RequireJS I get an error at line 1381:
var now = window.performance && (performance.now || performance.mozNow || performance.msNow || performance.oNow || performance.webkitNow);
performance is not defined
What is the cause of this? Am I forgetting to load another dependency?

The performance class is a standard API in all modern browsers. What browser/system are you using that causes this error?
It is possible that RequireJS is wrapping EaselJS in a closure, that it doesn't have access to performance when it is not defined as window.performance. Can you modify the EaselJS source to always say window.performance, and see if it still happens? If that solves it, we can make a fix in EaselJS. We are also welcome to pull-requests :)

With my current project, I'm working in Node-webkit, which is based on Chromium. So by all accords it should be working (I guess). But I fixed it, by adding window. on the perfomance instances, as you suggested. Thanks for the help :) !

Cool. Sounds like something that should be added to EaselJS.
Cheers.

Looks like your find/replace got a little too aggressive. I've fixed this for Ticker (performance), but looking at your pull request it appears this is also an issue for document, which is a more extensive change. I'll leave this open and come back to it shortly.


use pipenv to simplify setup

Can run pipenv install to add packages to Pipfile.
Simplifies setup so users do not have to manually install packages individually.
https://stackoverflow.com/questions/46330327/how-are-pipfile-and-pipfile-lock-used

Thanks for the pull request, and I think using pipenv, and adding different methods of installation is a very good idea.


Feature request(s) - Auto collapse and re-ordering cards

I have been playing with your card and I really like it.  There are a couple of things I think that would make this card fantastic.

When you have multiple expander cards on one dashboard, it would be nice if it collapsed any current open ones.
When adding cards, I have found I'd like to change the order of the cards and I've had to go into the code editor, grab the section I want and paste it where I want it.  Having like the order arrows like stack cards have would be great.

I really appreciate the time and effort you put into this.  From all the dashboards I've created for my wife to use, your card made it something my wife is willing to use :)

Hi,
I'd really like this too (both features)


[type: refactor]Make SyncDataService extends AutoCloseable.

// Describe your PR here; eg. Fixes #issueNo

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #3492 (f7de918) into master (55037b8) will decrease coverage by 0.33%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3492      +/-   ##
============================================
- Coverage     62.83%   62.50%   -0.34%
+ Complexity     5553     5523      -30
============================================
  Files           840      840
  Lines         23258    23258
  Branches       2109     2107       -2
============================================
- Hits          14615    14537      -78
- Misses         7295     7365      +70
- Partials       1348     1356       +8

Impacted Files
Coverage Δ

...shenyu/sync/data/consul/ConsulSyncDataService.java
63.33% <ø> (ø)

...che/shenyu/sync/data/etcd/EtcdSyncDataService.java
51.41% <ø> (ø)

...che/shenyu/sync/data/http/HttpSyncDataService.java
74.79% <ø> (-6.51%)
:arrow_down:

...e/shenyu/sync/data/nacos/NacosSyncDataService.java
100.00% <ø> (ø)

.../sync/data/websocket/WebsocketSyncDataService.java
0.00% <ø> (ø)

.../sync/data/zookeeper/ZookeeperSyncDataService.java
96.00% <ø> (ø)

...plugin/logging/rocketmq/LoggingRocketMQPlugin.java
22.72% <0.00%> (-72.73%)
:arrow_down:

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
75.00% <0.00%> (-25.00%)
:arrow_down:

...ogging/rocketmq/body/LoggingServerHttpRequest.java
0.00% <0.00%> (-20.00%)
:arrow_down:

...yu/sync/data/http/refresh/AbstractDataRefresh.java
70.00% <0.00%> (-13.34%)
:arrow_down:

... and 37 more

Continue to review full report at Codecov.

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


'Command' is case-insensitive but 'prefix' is not

'Command' is case-insensitive but 'prefix' is not

fix by #213


figure out if we want to use a "release stream" branch to feed downstream nightlies

figure out if we want to use a "release stream" branch to feed downstream nightlies
(internal) doc that describes the nightlies: https://docs.google.com/document/d/16JvVzp-cPDg5jPZpAPDZ2D6-ZCj_5gUbzcICwHsUBEA/edit

related: https://github.com/opendatahub-io/data-science-pipelines-operator/issues/143


Picking different model between tab complete and chat incurs loading model to memory penalty lag

ollama does not load more than 1 model at a time.
Configuring 2 different models under config.json in continue causes ~45-60 second lag between calls to tab complete vs chat for a poor experience. tab complete appears broken each time it need to re-load into memory.
We may want to enforce single model for both chat and tab code complete until this can be resolved.

The 1st immediate steps would be to:

remove the tab completion combo (comment the code)
change the "Chat Model" label to "Chat/Tab Completion Model"
on the backend side copy the chatModel value into the tabCompletion value

That should work.
Then in an another steps/PR:

change the UI to add a "Advanced" button
on click, it would reveal the tab completion combo, rename the button to "Simple"
toggle "Chat/Tab Completion Model" label to "Chat Model"
on the backend side, only copy the chatModel value into the tabCompletion value if UI mode is advanced

@SachinS10-lab part 1 is done in #139, can you please add the advanced section, where the tab completion can be selected?

For the advanced section, you forgot

on click, it would reveal the tab completion combo,

Please open a PR, it'll be easier to review than commenting on screenshots


"getFeatureInfo" for wfs

I try to create something like getfeatureInfo for wfs layer.I'm able to read an xml file, that getfeature request returns, but the problem is that it returns info about every polygon in wfs layer, not only the clicked one

You'll need to add a filter to the WFS query.
This kind of question is better suited for Stack Overflow, where you can find/post questions with the tag openlayers.


Fix some bugs in the non-finalized value pool calculations

Motivation
PR #2652 has some bugs in the new value pool calculations that I added.
Solution

Only revert the chain value pool balances when the tip is popped. Don't modify them when the root is finalized, because the balances are for the entire finalized and non-finalized chain.

Only update or revert the chain value pool balances once per block. (Previously, the block changes were multiplied by the number of transactions.)

Actually update the chain value balances in the non-finalized state. (Previously, the changes were ignored using Ok(_).)

Make existing tests pass

Add new tests to increase value balance coverage, particularly for non-finalized chain forks, and non-finalized chain root finalization

Add tests that check for specific value pool balances in the finalized and non-finalized state

These changes along with PR #2652:
Closes #1895
Closes #2640
Review
@oxarbitrage can review this PR.
I can split it into separate PRs, if that would help with the review.
This PR is based on PR #2652 merged with a recent main branch.
It will need a manual rebase and squash before merging.
Reviewer Checklist

[ ] Code implements Specs and Designs
[ ] Tests for Expected Behaviour
[ ] Tests for Errors

I've run out of time to work on this today, but here are my next steps:

run full mainnet and testnet syncs to tip, after deleting the buggy state

similar tests panicked on chain forks in PR #2652
2 mainnet syncs were successful
2 testnet syncs are running and should finish soon

fix the failing tests

log more debugging info when the chain tests fail with a value pool error

#2640

the bugs in this PR would have been picked up by these tests

run full mainnet and testnet syncs to tip, after deleting the buggy state
* similar tests panicked on chain forks in PR

4 syncs were successful, so it looks like these fixes make non-finalized forks work.

run full mainnet and testnet syncs to tip, after deleting the buggy state

similar tests panicked on chain forks in PR

4 mainnet and testnet syncs were successful, so it looks like these fixes make non-finalized forks work.

It turns out we weren't actually updating the non-finalized value pools (5ab25f4201b1457d371e435faad547a078cfb5e2).
So I'm re-running the following tests:

run full mainnet and testnet syncs to tip
restart synced mainnet and testnet with the latest code in this PR

(Since the finalized state value balances are correct, I don't need to delete the state.)


If user clicks "I already have a seed" accidentally, there's currently no way to go back.

Clicking the X during seed restore should bring them back to the create wallet menu.
If valid shares have already been input, it should remind the user their restore progress will be lost and ask them to confirm
Later, for L1/L2 it should ask them if they'd like to save their restore progress to their Persistent Storage.
This would require writing an encryption key/passphrase (transfer key or resume key) down that is used temporarily until this wallet's seed is restored in full.
Save the last session's progress in an folder named by the unique Wallet name all at once to obfuscate the threshold.
Pad to the length of 8 shares as that is the maximum data that could be loaded without restoring the max threshold of 9.
Add random noise equal to this length so plaintext shares can not be linked with the ciphertext saved progress.
Use public key cryptography so that entered shares can deniably encrypted to the Persistent Storage without re-entering that transport key each session. Deniable encryption means a random noise length of the plaintext is added before assymmetrically encrypting and discarded after decryption.
Private key length 128-bits. Encoded in codex32 format but with a new identifier. 256-bit ECC must be used, the public key is saved to the device.
The identifier of the ms32 private resume key can match the shares it decrypts, so that shares incorrectly saved under a wallet's restore process can be discarded or re-encrypted by the correct public key on next resume.
If the user "resumes" a wallet restore and types a correct resume key, it will be as if they had entered all their previously saved shares, even from multiple sessions. Effectively "loading" the saved restore progress.
An incorrect resume key would throw an error as the result would be random data, not valid shares.
The resume keypair is unique per Wallet Name being restored and it is destroyed along with all ciphertexts immediately after a successful wallet restoration.
This allows multiple wallets to be restored in parallel as long as the same unique name is used the next restore session.
If saved progress is detected, the name(s) of partially restored wallets will be first presented instead of asking for a wallet_name. A last saved date & time may help further disambiguate them. The normal "Create wallet" dialog displays otherwise if no partially restored wallet is selected after are you sure you don't want to continue restoring a wallet? confirmation.
After a wallet name is chosen, the choices will be resume (decrypt and automatically enter saved shares) and Continue. After each share is entered, it will ask again if they'd like to load their saved progress (which will ask for the resume key) which they can skip. If they need to quit again, progress can be encrypted by this wallet's resume restore public key without writing or entering the private key.
The resume private key can be securely stored until the user is in a safe place to restore the seed and wallet.
in order to prevent accidentally saving mismatched shares to the same wallet restore, saved progress files can go in a general folder and it is the successful resume decryption by the resume private key with a matching threshold+identifier that decides which saves will be loaded to which wallet restore.
The resume public key is saved as the unique "wallet name" it is encrypting restore progress for.

Resolved by:
https://github.com/BenWestgate/Bails/commit/1b6bdbc26ba8c74aaa09558de24d11ec3b49be07
Will fork the "save progress" idea into a new low priority issue as it is dependent on codex32 generation reference being approved.


GrContext may be getting retained after rasterizer teardown on Android

Internal customer testing suggests that Skia's resource cache is not getting purged on rasterizer teardown. I would expect this to happen because the GrContext is getting destroyed.
Need to determine whether the GrContext is actually getting destroyed or not, and then determine whether we just need to add a resource cache cleanup in teardown.

xref b/234905381

The rasterizer (via the surface_) typically holds a reference to the main GrDirectContext.
But there is also the resource GrDirectContext held by the ShellIOManager which is part of the same share group.  And now the SkiaUnrefQueue also holds a GrDirectContext reference.
The PlatformView subclass may also hold a GrDirectContext reference.  There is additional complexity if the app is using engine groups with a shared graphics context.
So shutdown of the rasterizer alone is insufficient to delete the GrDirectContext.
Ideally I'd like to be able to run the affected app with a local engine build and understand its lifecycle.

Running the app is difficult and requires specialized hardware unfortunately.
I'm starting to think that we should just purge GrContext resources on rasterizer teardown, but I'm not sure I understand the impllications of that for multiple engines fully.
@gaaclarke

Running the app is difficult and requires specialized hardware unfortunately.
I'm starting to think that we should just purge GrContext resources on rasterizer teardown, but I'm not sure I understand the impllications of that for multiple engines fully.
@gaaclarke

So the lightweight engines will be sharing a raster thread if they are sharing the same GrContext.  So it is safe from that perspective.  The code should build up resources that are no longer available since that should mimic low memory situations and the first run.  It's possible we aren't covering all the cases there but those I would consider bugs even for the one engine situation.

@jason-simmons - I don't think we have to worry about the IO context, since that one is getting purged periodically with a delay of zero and has no resource cache anyway.

@jason-simmons I can try to answer some of the lifecycle events from memory if it helps


Magisk detection

https://play.google.com/store/apps/details?id=com.swisssign.swissid.mobile

Did you change the Magisk Manager by MagiskHide？

Yes i did  worked for other app execpt the overwallet app
Yahoo Mail: Search, Organize, Conquer
On Sat, Apr 27, 2024 at 4:09 AM, @.***> wrote:
Did you change the Magisk Manager by MagiskHide？
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

@lssong99 Does it work for you to start the app?

Yes it works but the issue is that the wallet app closes and when i uncheck it from the bypass it open normal but flag the phone is rooted
Yahoo Mail: Search, Organize, Conquer
On Sat, Apr 27, 2024 at 9:42 AM, @.***> wrote:
@lssong99 Does it work for you to start the app?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

@Richyblingz I'm confused, what do you mean with the “wallet” app?

What i mean is that my Overwallet app keeps closing after apply it to the BypassRootCheckPro
Yahoo Mail: Search, Organize, Conquer
On Sun, Apr 28, 2024 at 11:51 AM, @.***> wrote:
@Richyblingz I'm confused, what do you mean with the “wallet” app?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

@Richyblingz Then it's off topic. We are talking about the Swiss ID app here, not Overwallet. I suggest you create a new issue for your problem.

Ok thanks anyways

@devnoname120 I don't have the Swiss ID app (nor could I install it, location restriction) Just by looking at the error message, want to confirm if you change the name of your Magisk Manager app to anything else using Magiskahide of Magisk Manager. (I believe you already did).
The other additional step could be using ZygiskNext instead of Magisk's built-in Zygisk which is known to be detectable easily. (No matter how you hide it.) Change to ZygiskNext could hide detection to those apps (I have couple bank app works only after change to ZygiskNext.) Use ZygiskNext_mod if you are using A15beta.
The other additional step could add is to prevent apps looking for common root related app with LSPosed module like "Hide My App List". However it is more complex and you should be able to find a lot of "how-to" on this additional topic.
Hope it works for you!

@lssong99 Thank you I will take a look and apply your suggestions. Note that I don't have a Swiss Play Store account either so I'm using this APK: https://apkpure.com/swissid/com.swisssign.swissid.mobile
Btw I confirm that it works with the latest Shamiko, but enabling Shamiko breaks some other apps that only work when the denylist is enforced.

@lssong99 Thank you I will take a look and apply your suggestions. Note that I don't have a Swiss Play Store account either so I'm using this APK: https://apkpure.com/swissid/com.swisssign.swissid.mobile
Btw I confirm that it works with the latest Shamiko, but enabling Shamiko breaks some other apps that only work when the denylist is enforced.
Edit: I installed ZygiskNext and SwissID immediately stopped from detecting Magisk, even without enabling Shamiko or BypassRootCheckPro. 👌 It needs to be in denylist though.

Glad to hear ZygiskNext works for you!  You need ZygiskNext_mod for A15 system.
Maybe you could close this issue since it could be resolved by other means. (Maybe not BypassRootPro's scope to resolve.)

@lssong99 Btw, where can I find the ZygiskNext_mod that you mention?

@lssong99 Btw, where can I find the ZygiskNext_mod that you mention?

It's available on Telegram (yes... You need to step out the confort zone...) Search a channel '5ec1cff' (without quote) and you shall find it. latest version is 1.0.5 (305-d463cbb-release).

@lssong99 Ah that one is a mod? The file is named Zygisk-Next-1.0.5-305-d463cbb-release.zip.

yes. It is.


https://api.opendota.com/api/teams/{team_id}/matches - Data returned not matching response samples.

{"match_id":3497871676,"radiant_win":false,"radiant":false,"duration":1919,"start_time":1507826158,"leagueid":5579,"league_name":"SL i-League Invitational Season 3","cluster":132}
Team names, ids, scores are missing.

I reused the same match object as the documentation so not all fields will be available.
I will probably add the opponent's team name to the response though.

team_id team_name and logo_url for the opponent, series_id to be able to group the games if possible please.


generated middleware causes typescript errors

Hi, first of all nice work! :)
I have an issue. I am using custom tsconfig.json file and generated middleware causes conflicts (e.g. when noImplicitAny is set to true).
Any thoughts? :)

Hi @overflowz,
It seems that some of the generated code is implicitly of type any which is causing the issue.
Can you paste here a bit more details about the errors so I can tighten the types?

Sadly I cannot (on a vacation), but error comes from here: https://github.com/juanjoDiaz/serverless-middleware/blob/master/src/typescript.js#L49 (because generated typescript file does not include types for arguments). I hope that helps! :)

Sorry for the delay. This should be fixed by https://github.com/juanjoDiaz/serverless-middleware/commit/df601f5c8c2c4cb96eca64d871f892b23ca326d6
I'll cut a new release later today


Question

Hello:
Started to use your resp code and would like to thank you here at this point.
May ask if it is possible to use more than two conformers for resp charge fitting?
I found in your code a "GRID input option" which might be the answer here but thought I would ask you.
Keep up the good work.
Best,
Markus

Hi Markus,
Definitely, example 2 in tests/test_resp.py shows you how to do two conformers. Doing three conformers is straightforward.

Define the third conformer mol3
Add it the molecule list molecules = [mol1, mol2, mol3]
Add the intermolecular constraints, so that related atoms have identical charges, e.g.

intermolecular_constraint = {'EQUAL': [[[1, range(1, 10)], [2, range(1, 10)]],
                                       [[1, range(1, 10)], [3, range(1, 10)]]]}

Add options for the third conformer options = [options1, options2, options3]

Then, call the resp code.
Let me know if you have any other questions.

The grid option is for users to provide their own grid points instead of using the grid generated in the code. It's useful, for example, in the two-stage fitting procedure, where you do not need to recompute the grid and electrostatic potential.


feat: show loading placeholder

The type of this PR is: Feature

This PR resolves []
Description
After a little QA session, it was decided to show loading placeholder during the refetch operation on saved search list screen. You can find more context here

PR Checklist (tick all before merging)

[ ] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[ ] I have tested my changes on iOS and Android.
[ ] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[ ] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[ ] I have documented any follow-up work that this PR will require, or it does not require any.
[ ] I have added an app state migration, or my changes do not require one. (What are migrations?)
[ ] I have added a changelog entry below or my changes do not require one.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Warnings

:warning:

❌ An error occurred while validating your changelog, please make sure you provided a valid changelog.

  Generated by :no_entry_sign: dangerJS against a33cd03bcc0c79907286e99cd6ad5ba0425a85e9


Use superDigest with exhibitor

I am trying to use superDigest with exhibitor, but still could not see data on all the nodes.
java -jar exhibitor-1.5.6.jar  --aclscheme digest:super:DyNYQEQvajljsxlhf5uS4PJ9R28= -c file

Can't really tell from the code what could be wrong.
This is what Exhibitor does for constructing ACL:
        final ACL acl = new ACL(perms, new Id(aclScheme, aclId));
        return new ACLProvider()
        {
            @Override
            public List<ACL> getDefaultAcl()
            {
                return Collections.singletonList(acl);
            }

            @Override
            public List<ACL> getAclForPath(String path)
            {
                return Collections.singletonList(acl);
            }
        };

So I think aclId would be empty string in your case. Not sure if thats correct.
ACL and ACLProvider are from the original Zookeeper Java API.

Closing this for now. You can re-open by commenting.


pestphp conflict with this package in Laravel 10

I got this error while trying to upgrade to Laravel 10:
  Problem 1
    - Root composer.json requires pestphp/pest ^1.22.4 -> satisfiable by pestphp/pest[v1.22.4].
    - pestphp/pest v1.22.4 requires nunomaduro/collision ^5.11.0|^6.3.0 -> found nunomaduro/collision[v5.11.0, v6.3.0, v6.3.1, v6.3.2, v6.4.0] but it conflicts with your root composer.json require (^7.0.2).
  Problem 2
    - pestphp/pest v1.22.4 requires nunomaduro/collision ^5.11.0|^6.3.0 -> found nunomaduro/collision[v5.11.0, v6.3.0, v6.3.1, v6.3.2, v6.4.0] but it conflicts with your root composer.json require (^7.0.2).
    - pestphp/pest-plugin-laravel v1.4.0 requires pestphp/pest ^1.22.1 -> satisfiable by pestphp/pest[v1.22.4].
    - Root composer.json requires pestphp/pest-plugin-laravel ^1.4.0 -> satisfiable by pestphp/pest-plugin-laravel[v1.4.0].

pestphp/pest 1.22.4 appears to conflict with nunomaduro/collission 7.0.2. How do I resolve this?

Please see Nuno's comment here: https://github.com/pestphp/pest/issues/664#issuecomment-1430994228
You only need to upgrade to Collision 7.x if you are using PHPUnit 10 or Pest 2.x (which releases towards the end of the month).

Thanks @owenvoke, noted.


stream-settings: Remove unnecessary delete text from button.

We are already showing the Delete icon so it's unnecessary to have the "Delete" text. This PR removes the same.

Testing Plan:
GIFs or Screenshots:
Before:

After:

Seems reasonable to me; @rishig thoughts?

yup, :+1:


Add texture array bindings

Also adds support for texture arrays in shader reflection.

Since WGPU requires that we specify array size up front in the binding descriptor, but that information is not available in the shader, reflection requires some extra information from the programmer for the sizes of the arrays. That's what the new ShaderReflectOptions struct is for:
pub struct ShaderReflectOptions {
    pub bevy_conventions: bool,
    pub array_sizes: HashMap<String, NonZeroU32>,
}

array_sizes here is a map from binding name to number of array elements that will be bound.

Closing this as we've removed the reflection code and the bevy_render2 RenderResourcContext abstractions


Add support for AWS ECR variant of RegistryAuthSupplier

Much like there is a RegistryAuthSupplier for authenticating with Google's container repository, there could be an implementation that works with AWS ECR repositories. This implementation could make use of the AWS Java SDK to generate ECR credentials on the fly.
A rough sketch of the API would be...
public class AwsEcrRegistryAuthSupplier implements RegistryAuthSupplier {

    private final AmazonECR client;

    public AwsEcrRegistryAuthSupplier(AmazonECR client) {
        this.client = client;
    }

    @Override
    public RegistryAuth authFor(String imageName) throws DockerException {
        client.getAuthorizationToken(/* ... */)
        return null;
    }

    // ... other methods
}

Would you accept a pull request that added support for this using the existing ContainerRegistryAuthSupplier Google implementation as a model?
If this functionality was accepted, a follow up issue + PR would probably add use of it to the spotify/dockerfile-maven plugin.
Thanks!

See https://github.com/spotify/docker-client/pull/1013 and https://github.com/spotify/docker-client/pull/876.

Whoops, missed those PRs