about pretrain model path

最新版本找不到ibn预训练模型路径设置的地方了，很不方便。

现在不用自己设置 pre-train model path，是为了对新手同学更友好一点 😂

现在不用自己设置 pre-train model path，会自己找到默认路径，是为了对新手同学更友好一点 joy

给出的链接下载的预训练模型resnet50_ibn_a.pth.tar怎么不能解压，解压的时候提示已经被破坏https://drive.google.com/drive/folders/1thS2B8UOSBi_cJX6zRy6YYRwz_nVFI_S，请问怎么解决？

给出的链接下载的预训练模型resnet50_ibn_a.pth.tar怎么不能解压，解压的时候提示已经被破坏https://drive.google.com/drive/folders/1thS2B8UOSBi_cJX6zRy6YYRwz_nVFI_S，请问怎么解决？

(tensorflow) lla@lla:~/.cache/torch/checkpoints$ ls
r50_ibn_a.pth  resnet101_ibn_b.pth
我已经在我的torch下放好了预训练模型，上面是我放预训练模型的地址。为什么运行还是会重新下载一个resnet50_ibn_a-d9d0bb7b.pth模型,而且还报下面的错误，请问怎么解决？
[08/07 08:47:19 fastreid]: Full config saved to /home/ycl/Downloads/MQQ/fast-reid/logs/veri/sbs_R50-ibn/config.yaml
[08/07 08:47:19 fastreid.utils.env]: Using a generated random seed 19468109
[08/07 08:47:19 fastreid.engine.defaults]: Prepare training set
[08/07 08:47:19 fastreid.data.datasets.bases]: => Loaded VeRi in csv format:

subset
# ids
# images
# cameras

train
576
37778
20

[08/07 08:47:19 fastreid.engine.defaults]: Auto-scaling the config to num_classes=576, max_Iter=70800, wamrup_Iter=11800, freeze_Iter=11800, delay_Iter=35400, step_Iter=[47200, 106200], ckpt_Iter=23600, eval_Iter=23600.

Downloading...

From: https://github.com/XingangPan/IBN-Net/releases/download/v1.0/resnet50_ibn_a-d9d0bb7b.pth

To: /home/lla/.cache/torch/checkpoints/resnet50_ibn_a-d9d0bb7b.pth

1%
▊
1.05M/102M [00:15<24:43, 68.4kB/s]^CTraceback (most recent call last):

File "./tools/train_net.py", line 67, in

args=(args,),

File "./fastreid/engine/launch.py", line 71, in launch
main_func(*args)
File "./tools/train_net.py", line 53, in main
trainer = Trainer(cfg)
File "./fastreid/engine/defaults.py", line 206, in init
model = self.build_model(cfg)
File "./fastreid/engine/defaults.py", line 374, in build_model
model = build_model(cfg)
File "./fastreid/modeling/meta_arch/build.py", line 24, in build_model
model = META_ARCH_REGISTRY.get(meta_arch)(cfg)
File "./fastreid/modeling/meta_arch/baseline.py", line 27, in init
self.backbone = build_backbone(cfg)
File "./fastreid/modeling/backbones/build.py", line 27, in build_backbone
backbone = BACKBONE_REGISTRY.get(backbone_name)(cfg)
File "./fastreid/modeling/backbones/resnet.py", line 336, in build_resnet_backbone
state_dict = init_pretrained_weights(key)
File "./fastreid/modeling/backbones/resnet.py", line 277, in init_pretrained_weights
gdown.download(model_urls[key], cached_file, quiet=False)
File "/home/lla/anaconda3/envs/tensorflow/lib/python3.6/site-packages/gdown/download.py", line 197, in download
for chunk in res.iter_content(chunk_size=CHUNK_SIZE):
File "/home/lla/.local/lib/python3.6/site-packages/requests/models.py", line 751, in generate
for chunk in self.raw.stream(chunk_size, decode_content=True):
File "/home/lla/.local/lib/python3.6/site-packages/urllib3/response.py", line 576, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/home/lla/.local/lib/python3.6/site-packages/urllib3/response.py", line 519, in read
data = self._fp.read(amt) if not fp_closed else b""
File "/home/lla/anaconda3/envs/tensorflow/lib/python3.6/http/client.py", line 459, in read
n = self.readinto(b)
File "/home/lla/anaconda3/envs/tensorflow/lib/python3.6/http/client.py", line 503, in readinto
n = self.fp.readinto(b)
File "/home/lla/anaconda3/envs/tensorflow/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
File "/home/lla/.local/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 313, in recv_into
return self.connection.recv_into(*args, **kwargs)
File "/home/lla/anaconda3/envs/tensorflow/lib/python3.6/site-packages/OpenSSL/SSL.py", line 1839, in recv_into
result = _lib.SSL_read(self._ssl, buf, nbytes)
KeyboardInterrupt
1%|▊                                                                                | 1.05M/102M [00:17<27:31, 61.4kB/s]

现在不用自己设置 pre-train model path，会自己找到默认路径，是为了对新手同学更友好一点 joy

If use ImageNet pretrain model
_C.MODEL.BACKBONE.PRETRAIN = True
Pretrain model path
_C.MODEL.BACKBONE.PRETRAIN_PATH = '/home/lla/.cache/torch/checkpoints/resnet101_ibn_b.pth'
你好，我在这里设置了预训练模型的地址，然后运行 python ./tools/train_net.py --config-file ./configs/VeRi/sbs_R50-ibn.yml
报如下错误，请问怎么解决？
[08/07 10:36:04 fastreid.modeling.backbones.resnet]: State dict keys error! Please check the state dict.
Traceback (most recent call last):
File "./tools/train_net.py", line 67, in
args=(args,),
File "./fastreid/engine/launch.py", line 71, in launch
main_func(*args)
File "./tools/train_net.py", line 53, in main
trainer = Trainer(cfg)
File "./fastreid/engine/defaults.py", line 206, in init
model = self.build_model(cfg)
File "./fastreid/engine/defaults.py", line 374, in build_model
model = build_model(cfg)
File "./fastreid/modeling/meta_arch/build.py", line 24, in build_model
model = META_ARCH_REGISTRY.get(meta_arch)(cfg)
File "./fastreid/modeling/meta_arch/baseline.py", line 27, in init
self.backbone = build_backbone(cfg)
File "./fastreid/modeling/backbones/build.py", line 27, in build_backbone
backbone = BACKBONE_REGISTRY.get(backbone_name)(cfg)
File "./fastreid/modeling/backbones/resnet.py", line 330, in build_resnet_backbone
raise e
File "./fastreid/modeling/backbones/resnet.py", line 316, in build_resnet_backbone
state_dict = torch.load(pretrain_path, map_location=torch.device('cpu'))['model']
KeyError: 'model'
下载的预训练模型名字和
logger = logging.getLogger(name)
model_urls = {
'18x': 'https://download.pytorch.org/models/resnet18-5c106cde.pth',
'34x': 'https://download.pytorch.org/models/resnet34-333f7ec4.pth',
'50x': 'https://download.pytorch.org/models/resnet50-19c8e357.pth',
'101x': 'https://download.pytorch.org/models/resnet101-5d3b4d8f.pth',
'ibn_18x': 'https://github.com/XingangPan/IBN-Net/releases/download/v1.0/resnet18_ibn_a-2f571257.pth',
'ibn_34x': 'https://github.com/XingangPan/IBN-Net/releases/download/v1.0/resnet34_ibn_a-94bc1577.pth',
'ibn_50x': 'https://github.com/XingangPan/IBN-Net/releases/download/v1.0/resnet50_ibn_a-d9d0bb7b.pth',
'ibn_101x': 'https://github.com/XingangPan/IBN-Net/releases/download/v1.0/resnet101_ibn_a-59ea0ac6.pth',
'se_ibn_101x': 'https://github.com/XingangPan/IBN-Net/releases/download/v1.0/se_resnet101_ibn_a-fabed4e2.pth',
}这里模型名字为什么不一样？

现在又可以自己设置 pretrain_path 了


gh-actions: reduce testing matrix

There are too many entries/combinations of DB, ES, RabbitMQ + Reids

Closed since the matrix is ok and build tests will be fixed in #197.


Support OSC

OSC is a widely-used protocol like MIDI, but more flexible.
I'm not familiar with OSC. Comments welcome!

TouchOSC + TouchOSC Bridge works as a normal MIDI device, so we can use it via sampler2D midi.

Because OSC allows arbitrary addresses and data, it's difficult to map OSC events to textures...
I'm considering using just 1 address and 3 data mapped to 2D texuture, just like sampler2D midi.

This would be a great feature !
This would make glsl-livecoder a good pal for Supercollider.
You coud ad a few predefined messages with special adresses, a few floats and a few float arrays as sampler2D  with fixed size could be a good start :
/glsl-viewer/float0/ ...
/glsl-viewer/float1/ ...
/glsl-viewer/floatArray0/../......../../...
/glsl-viewer/floatArray1/../......../../...
etc...

Supported in v2.0.0 🎉


error: No interpreter found for Python =={version} in managed installations, system path, or py launcher

Am I missing something here? What else do I need to configure?
> py -3.8 -m uv lock
error: No interpreter found for Python ==3.8 in managed installations, system path, or `py` launcher

> py -0p
 -V:3.13 *        C:\Users\fraser\AppData\Local\Programs\Python\Python313\python.exe
 -V:3.12          C:\Users\fraser\AppData\Local\Programs\Python\Python312\python.exe
 -V:3.11          C:\Users\fraser\AppData\Local\Programs\Python\Python311\python.exe
 -V:3.10          C:\Users\fraser\AppData\Local\Programs\Python\Python310\python.exe
 -V:3.8           C:\Users\fraser\AppData\Local\Programs\Python\Python38\python.exe

> uv python list
cpython-3.13.0-windows-x86_64-none     C:\Users\fraser\AppData\Local\Programs\Python\Python313\python.exe
cpython-3.13.0-windows-x86_64-none     <download available>
cpython-3.12.7-windows-x86_64-none     <download available>
cpython-3.12.2-windows-x86_64-none     C:\Users\fraser\AppData\Local\Programs\Python\Python312\python.exe
cpython-3.11.10-windows-x86_64-none    <download available>
cpython-3.11.4-windows-x86_64-none     C:\Users\fraser\AppData\Local\Programs\Python\Python311\python.exe
cpython-3.10.15-windows-x86_64-none    <download available>
cpython-3.10.11-windows-x86_64-none    C:\Users\fraser\AppData\Local\Programs\Python\Python310\python.exe
cpython-3.9.20-windows-x86_64-none     <download available>
cpython-3.8.20-windows-x86_64-none     <download available>
cpython-3.8.10-windows-x86_64-none     C:\Program Files\Python38\python.exe
pypy-3.10.14-windows-x86_64-none       <download available>
pypy-3.9.19-windows-x86_64-none        <download available>
pypy-3.8.16-windows-x86_64-none        <download available>
pypy-3.7.13-windows-x86_64-none        <download available>

Not even working if installing directly using uv
> uv python install 3.8
Searching for Python versions matching: Python 3.8
Installed Python 3.8.20 in 9.36s
 + cpython-3.8.20-windows-x86_64-none

s> uv lock
error: No interpreter found for Python ==3.8 in managed installations, system path, or `py` launcher

Please see

https://github.com/astral-sh/uv/issues/8169
#7426

When you use ==3.8, per PEP 440 it means 3.8.0 not 3.8.* — you'll need to update the requires-python in your project.

🤦♂ahh thanks

We'll add a dedicated warning for this soon. Sorry, I know it's surprising.

I'm just used to pipenv.


Expose IND-CPA PKE, and seed-based kyber keygen

Hey im working on exposing the pke so that we can use crystals kyber to encrypt 32-byte messages as well as also allowing to perform indcpa keygen using custom seed to encrypt data via password etc.
Just might need some help with the tests.

https://github.com/fisherstevenk/crystals-kyber-ts/compare/main...starkbamse:crystals-kyber-ts:main


about "Override Life"and"Override Life Value"

hi.could you please tell me something about it?(In Emitters-Create Particles)
thank you.

I've never personally used those, but this is my understanding:

Every particle and emitter has a "life" value which determines how long it is active (when it's -1, that means it's unbounded)
When an emitter spawns another emitter or particle, the "override life" and "override life value" fields give it the option to override the new particle/emitters "life" value with something else
This can be used, for example, if you want a particle to have a different lifespan depending on which emitter spawns it

for example,if a Particle's life value is 100f,and the first 10f it appear(by change alpha or scale value)，and last 10f it disappear.
then you enable  "Override Life" change the "Override Life Value"in its parentEmitter,for example,change it to 50(half of it).
then the particle's life will become 50f and appear animation become first 5f,disappear animation become last 5f.

hi.could you please tell me something about it?(In Emitters-Create Particles)
thank you.


is not a valid arrow file

When attempting to read arrow file but having a typo in the file name, the error message could mention that file doesn't exists rather than saying it is not a valid file.

I mean........there's not really a way for Arrow to know if you're "close" to a valid file or if the file actually doesn't exist? Saying it doesn't exist is still accurate, even if you mistype it.

So why then it doesn't say that file doesn't exist?

x = Arrow.Table("dir/non-existing_file.feather")
#ERROR: ArgumentError: dir/non-existing_file.feather is not a valid arrow file
#Stacktrace:
# [1] #Table#84 at /home/jan/.julia/packages/Arrow/Gl8iW/src/table.jl:179 [inlined]
# [2] Table at /home/jan/.julia/packages/Arrow/Gl8iW/src/table.jl:179 [inlined] (repeats 2 times)
# [3] top-level scope at REPL[9]:1

Ah, my bad; I was confused and thought we already said it didn't exist. Will change.

Updated the error message: https://github.com/JuliaData/Arrow.jl/commit/9f805ba6fc8126364efb492a29010a353b005fb6


Improvement on the debug level logging in case of error when validating the SP configurations

in the current implementation, the validation logic throws exception without any useful information.
Caused by: org.wso2.carbon.identity.application.common.IdentityApplicationManagementValidationException: Validation Error
	at org.wso2.carbon.identity.application.mgt.ApplicationMgtValidator.validateSPConfigurations(ApplicationMgtValidator.java:88)
	at org.wso2.carbon.identity.application.mgt.ApplicationManagementServiceImpl.updateApplication(ApplicationManagementServiceImpl.java:547)
	at org.wso2.carbon.identity.application.mgt.ApplicationManagementAdminService.updateApplication(ApplicationManagementAdminService.java:341)
	... 79 more

https://github.com/wso2/carbon-identity-framework/blob/d8ebf42510163048971298e54d4e35c3901c9e67/components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/IdentityApplicationManagementValidationException.java#L34
This needed to improved. Otherwise, it is hard to understand why the request failed.
Related: https://github.com/wso2/product-is/issues/9386

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Calendar initialization can fail if no lang is configured for calendar config.

Seems new to 2.7.1 (last commit)
See PR #415

I can confirm this is happening. I received a "TypeError: Cannot read property '5' of undefined" if I do not include a language in the configuration object.  As soon as I include the language property, the calendar loads as normal.
Angular: 1.5.5
FullCalendar: 2.7.2
Jquery: 2.1.4
Moment: 2.13.0
Chrome: Version 50.0.2661.102 m

i'll take a look at it tomorrow :]

Any feedback? A PR is already provided, it is an tiny merge, really easy ;)

Thank you!


WidgetTester.widgetList() length is 1 in expect() but adding a print(list.length) changes it to 0

The test with description "Failing test" is actually failing with actual list.length = 1. It should probably pass. I tried adding await tester.pumpAndSettle() immediately after tester.widgetList() call but the test still fails.

import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';

void main () {

        testWidgets("Passing test", (WidgetTester tester) async {
		var sut = TestWidget();

		await tester.pumpWidget(sut);
		await tester.pumpAndSettle();

		expect(find.byType(FalseWidget), findsOneWidget);
		expect(find.byType(TrueWidget), findsNothing);

		var list = tester.widgetList(find.byType(TrueWidget));
		expect(list.length, 0);
	});

	testWidgets("Failing test", (WidgetTester tester) async {
		var sut = TestWidget();

		await tester.pumpWidget(sut);
		await tester.pumpAndSettle();

		expect(find.byType(FalseWidget), findsOneWidget);
		expect(find.byType(TrueWidget), findsNothing);

		var list = tester.widgetList(find.byType(TrueWidget));

		sut.val.value = true;
		await tester.pumpAndSettle();

		expect(find.byType(FalseWidget), findsNothing);
		expect(find.byType(TrueWidget), findsOneWidget);

		expect(list.length, 0);
	});
}

class TestWidget extends StatelessWidget {

	ValueNotifier<bool> val = ValueNotifier(false);

	@override
	Widget build(BuildContext context) {
		return ValueListenableBuilder<bool>(
			valueListenable: val,
			builder: (_, val, __) => val ? TrueWidget() : FalseWidget()
		);
	}
}

class TrueWidget extends Container {}
class FalseWidget extends Container {}

Flutter doctor :
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Linux, locale en_IN)
    • Flutter version 1.12.13+hotfix.5 at /home/zeekhuge/flutter-installed/flutter
    • Framework revision 27321ebbad (4 weeks ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /home/zeekhuge/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /home/zeekhuge/.android-studio3.0/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    ✗ Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.

[✓] Android Studio (version 3.5)
    • Android Studio at /home/zeekhuge/.android-studio3.0
    • Flutter plugin version 40.1.2
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[!] IntelliJ IDEA Community Edition (version 2019.1)
    • IntelliJ at /opt/idea-IC-191.6707.61
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] VS Code (version 1.41.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.6.0

[!] Connected device
    ! No devices available

! Doctor found issues in 3 categories.

Reproducible on the latest master 1.22.0-10.0.pre.269.

flutter doctor -v
[√] Flutter (Channel master, 1.22.0-10.0.pre.269, on Microsoft Windows [Version 10.0.19041.508], locale en-US)
    • Flutter version 1.22.0-10.0.pre.269 at C:\Development\flutter_master
    • Framework revision 51fa704642 (2 days ago), 2020-09-19 11:27:04 -0700
    • Engine revision 4b8477d115
    • Dart version 2.10.0 (build 2.10.0-142.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at C:\Users\marku\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.1
    • Java binary at: C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\193.6626763\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.6.5)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.6.30320.27
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.0)
    • Android Studio at C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\193.6626763
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] Connected device (6 available)
    • SM G950F (mobile)           • ce12171c51cc001c03 • android-arm64  • Android 9 (API 28)
    • sdk gphone x86 arm (mobile) • emulator-5554      • android-x86    • Android 11 (API 30) (emulator)
    • Windows (desktop)           • windows            • windows-x64    • Microsoft Windows [Version 10.0.19041.508]
    • Web Server (web)            • web-server         • web-javascript • Flutter Tools
    • Chrome (web)                • chrome             • web-javascript • Google Chrome 85.0.4183.102
    • Edge (web)                  • edge               • web-javascript • Microsoft Edge 85.0.564.51

• No issues found!

Adding a print makes it pass for some reason
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';

void main () {

  testWidgets("Passing test", (WidgetTester tester) async {
    var sut = TestWidget();

    await tester.pumpWidget(sut);
    await tester.pumpAndSettle();

    expect(find.byType(FalseWidget), findsOneWidget);
    expect(find.byType(TrueWidget), findsNothing);

    var list = tester.widgetList(find.byType(TrueWidget));
    expect(list.length, 0);
  });

  testWidgets("Failing test", (WidgetTester tester) async {
    var sut = TestWidget();

    await tester.pumpWidget(sut);
    await tester.pumpAndSettle();

    expect(find.byType(FalseWidget), findsOneWidget);
    expect(find.byType(TrueWidget), findsNothing);

    var list = tester.widgetList(find.byType(TrueWidget));
    print(list.length); //This line makes the test pass

    sut.val.value = true;
    await tester.pumpAndSettle();

    expect(find.byType(FalseWidget), findsNothing);
    expect(find.byType(TrueWidget), findsOneWidget);
    expect(list.length, 0);
  });
}

class TestWidget extends StatelessWidget {

  ValueNotifier<bool> val = ValueNotifier(false);

  @override
  Widget build(BuildContext context) {
    return ValueListenableBuilder<bool>(
        valueListenable: val,
        builder: (_, val, __) => val ? TrueWidget() : FalseWidget()
    );
  }
}

class TrueWidget extends Container {}
class FalseWidget extends Container {}

Issue is reproducible using the code sample provided.
As pointed out above, adding a print statement makes the test pass.

updated sample
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  testWidgets("Passing test", (WidgetTester tester) async {
    var sut = TestWidget();

    await tester.pumpWidget(sut);
    await tester.pumpAndSettle();

    expect(find.byType(FalseWidget), findsOneWidget);
    expect(find.byType(TrueWidget), findsNothing);

    var list = tester.widgetList(find.byType(TrueWidget));
    expect(list.length, 0);
  });

  testWidgets("Failing test", (WidgetTester tester) async {
    var sut = TestWidget();

    await tester.pumpWidget(sut);
    await tester.pumpAndSettle();

    expect(find.byType(FalseWidget), findsOneWidget);
    expect(find.byType(TrueWidget), findsNothing);

    var list = tester.widgetList(find.byType(TrueWidget));
    // print(list.length); //This line makes the test pass

    sut.val.value = true;
    await tester.pumpAndSettle();

    expect(find.byType(FalseWidget), findsNothing);
    expect(find.byType(TrueWidget), findsOneWidget);
    expect(list.length, 0);
  });
}

class TestWidget extends StatelessWidget {
  final ValueNotifier<bool> val = ValueNotifier(false);

  TestWidget({super.key});

  @override
  Widget build(BuildContext context) {
    return ValueListenableBuilder<bool>(
      valueListenable: val,
      builder: (_, val, __) => val ? TrueWidget() : FalseWidget(),
    );
  }
}

class TrueWidget extends Container {
  TrueWidget({super.key});
}

class FalseWidget extends Container {
  FalseWidget({super.key});
}

flutter doctor -v
[✓] Flutter (Channel stable, 3.3.7, on macOS 13.0 22A380 darwin-arm, locale en-GB)
    • Flutter version 3.3.7 on channel stable at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e99c9c7cd9 (2 days ago), 2022-11-01 16:59:00 -0700
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview 2.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

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

[✓] Connected device (4 available)
    • M2007J20CG (mobile)        • 5dd3be00                             • android-arm64  • Android 12 (API 31)
    • iPhone 14 Pro Max (mobile) • 6F47E362-56BF-46A2-9685-4B2C9F3D61C2 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 13.0 22A380 darwin-arm
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 107.0.5304.87

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

[!] Flutter (Channel master, 3.5.0-12.0.pre.94, on macOS 13.0 22A380 darwin-arm64, locale en-GB)
    • Flutter version 3.5.0-12.0.pre.94 on channel master at /Users/nexus/dev/sdks/flutters
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e6300da2c3 (10 hours ago), 2022-11-02 19:38:17 -0700
    • Engine revision 840a7b3462
    • Dart version 2.19.0 (build 2.19.0-364.0.dev)
    • DevTools version 2.19.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview 2.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

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

[✓] Connected device (4 available)
    • M2007J20CG (mobile)        • 5dd3be00                             • android-arm64  • Android 12 (API 31)
    • iPhone 14 Pro Max (mobile) • 6F47E362-56BF-46A2-9685-4B2C9F3D61C2 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 13.0 22A380 darwin-arm64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 107.0.5304.87

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 3 categories.

This appears to be working as intended. You're grabbing the list at a point in time where no TrueWidget exists. If you want anything else, you need to move var list = tester.widgetList(find.byType(TrueWidget)); below the pumpAndSettle to create the list when the TrueWidget exists.


Multi-agent PettingZoo MPE Integration

Need a wrapper for the multi-agent particle environment in the PettingZoo suite of environments.  Need to be able to specify the MPE in our experiment configs.  The source for the PettingZoo environment can be found at:
https://github.com/Farama-Foundation/PettingZoo
The wrapper only needs to support the MPE.  If we wish to integrate other PettingZoo environments, we should create separate wrappers.

Implemented in #10


Support for Cocoapods

Please add this component to cocoapods.

Is this component still maintained? Otherwise, I will create a fork and publish to Cocoapods.

Yes, I'm still using it. I just don't use Cocoapods. But you are welcome to submit PR.

Of course I can do it. however, you still have to submit the podspec to the cocoapods repo. This, without your consent this is useless.

You have my consent to submit it.


[OSX] nvidia-cuda not available for Mojave

I just tried to use the scripts/mapd-deps-osx.sh script, which fails at the nvidia-cuda step:
Error: Cask nvidia-cuda depends on macOS release being one of [10.12, 10.13], but you are running release 10.14.

If this is only required for GPU support, we should make a flag or remove the installation step for these drivers, as it doesn't seem like NVIDIA/Apple are working on providing this

Yeah, it's only needed to build with GPU support. Should be safe to default it off these days :(


Fix : fixed the broken UI of discord users in mobile view with some UI enhancements.

Issue - https://github.com/Real-Dev-Squad/website-dashboard/issues/540
Description -
Under the issue mentioned above, I have fixed the broken UI of discord users in mobile view which negatively impacts the overall user experience and added the footer. Along with this, I have done some enhancement with the UI as well. Please take a look to below added video and screenshots to know more about the changes.
Video after change -
https://github.com/Real-Dev-Squad/website-dashboard/assets/85179394/2cd91301-42ea-4a63-abdd-9d487da05c15
Screenshots
Before -

After -

Test Coverage

test case stats..?

Added, please check

The build is failing, do fix it 👍🏻

The build is failing, do fix it 👍🏻 you can use this commend and fix it up yarn prettier --write .

This one is fixed

test case stats..?

@iamitprakash Added, please check

If you observe the tests coverage stats you have added in the description they are for the mock-data Please verify @ankitbajpai65

@iamitprakash @kotesh-arya Added the tests, please check and approve this pr.


[Translation] Translating Task_SPI.md

Although summer2021 is over, I still want to contribute to the community. Since I have limited energy at the moment, I will mainly contribute to the documentation.
Translating Task_SPI.

@QuakeWang  Thanks for you contribution, SOC is just a way to know how OSS work and how to contribute it. If you like OSS after your SOC,  you could continue to contribute to OSS.
We will be happy, if you thinks DolphinScheduler is great and want to contribute it. ❤


the MODULATION tag is only for VASP format by now, could you add the interface to other calculators? like ABACUS?

After using phonopy to generate different ABACUS structure files STRU-00*, and performing scf calculations respectively, I got FORCE_SETS using phonopy.
In this process, phonopy knows that the unit of length is a.u.. However, when I perform the "MODULATION = 1 1 1, 0 0 0 1 1" to generate the modulated ABACUS structure files, I found that phonopy treat the FORCE_SETS and qpoints.yaml as the type of VASP and then generate MPOSCAR-001 in the unit of Angstrom instead of recognizing the ABACUS calculator with length unit of a.u..
I found it is because the modulation.py is only for VASP cases by now (as figure below). Could you please add the support for other calculators? You can check the files in the compressed package below to reproduct my problem.
Best regards!
modulation-issue.zip
generate modulation structure
phonopy -p modulation.conf --dim="4 4 2"
generate eigenvector at 0 0 0
phonopy -p eigen.conf --dim="4 4 2"

Modulation is a legacy feature and it seems difficult to support interface by interface. This is because some interface requires not only crystal structure but also additional information in the input file that contains crystal structure (e.g., QE), and the additional information is not always given to phonopy at the current phonopy, e.g., reading crystal structure from phonopy_disp.yaml. It is possible to write out in general structure format, i.e., phonopy yaml format for example.

I can't make its command-user-interface, but I prepared API to do it. If you are interested in it, please try modulation branch.
The following is the script that works in NaCl-QE example. Note that you need to create FORCE_SETS by % phonopy -f NaCl-001.out NaCl-002.out) before running the script.
import phonopy
from phonopy.interface.calculator import read_crystal_structure
cell, optional_info = read_crystal_structure("NaCl.in", interface_mode="qe")
ph = phonopy.load("phonopy_disp.yaml")
ph.run_modulations([1, 1, 1], [[[0, 0, 0], 1, 1, 0]])
ph.write_modulations(calculator="qe", optional_structure_info=optional_info)

I merged modulation branch to develop. So the API approach will work for a while. By this, I close this issue. Please freely reopen if you need.


Incorrect results when validating sample Cypher workload

Following the setup instructions in this repository's README and those in https://github.com/ldbc/ldbc_snb_interactive/tree/main/cypher lead to several failures when running the driver/validate.sh script:
----
ValidateDatabaseMode  Validation Result: FAIL
Database: com.ldbc.impls.workloads.ldbc.snb.cypher.interactive.CypherInteractiveDb
  ***
  Successfully executed 24 operation types
    4 / 4              LdbcQuery1
    2 / 4              LdbcQuery10
    4 / 4              LdbcQuery11
    4 / 4              LdbcQuery12
    4 / 4              LdbcQuery13
    4 / 4              LdbcQuery14
    4 / 4              LdbcQuery2
    4 / 4              LdbcQuery3
    4 / 4              LdbcQuery4
    0 / 4              LdbcQuery5
    4 / 4              LdbcQuery6
    4 / 4              LdbcQuery7
    4 / 4              LdbcQuery8
    4 / 4              LdbcQuery9
    125 / 125            LdbcShortQuery1PersonProfile
    90 / 117            LdbcShortQuery2PersonPosts
    89 / 115            LdbcShortQuery3PersonFriends
    75 / 75             LdbcShortQuery4MessageContent
    75 / 75             LdbcShortQuery5MessageCreator
    75 / 75             LdbcShortQuery6MessageForum
    8 / 29             LdbcShortQuery7MessageReplies
    10 / 10             LdbcUpdate2AddPostLike
    28 / 28             LdbcUpdate3AddCommentLike
    0 / 4              LdbcUpdate4AddForum
    38 / 38             LdbcUpdate5AddForumMembership
    0 / 17             LdbcUpdate6AddPost
    0 / 20             LdbcUpdate7AddComment
    4 / 4              LdbcUpdate8AddFriendship
  ***
  Missing handler implementations for 0 operation types
  ***
  Unable to execute 41 operations
LdbcUpdate4AddForum               4
LdbcUpdate6AddPost               17
LdbcUpdate7AddComment               20
  ***
  Incorrect results for 80 operations
LdbcQuery10               2
LdbcQuery5               4
LdbcShortQuery2PersonPosts               27
LdbcShortQuery3PersonFriends               26
LdbcShortQuery7MessageReplies               21
  ***

ValidateDatabaseMode  For details see the following files:
 * /home/ubuntu/ldbc_snb_interactive/cypher/validation_params-failed-actual.json
 * /home/ubuntu/ldbc_snb_interactive/cypher/validation_params-failed-expected.json
Aug 04, 2021 5:14:07 PM org.neo4j.driver.internal.logging.JULogger info
INFO: Closing driver instance<PHONE_NUMBER>
Aug 04, 2021 5:14:07 PM org.neo4j.driver.internal.logging.JULogger info
INFO: Closing connection pool towards localhost:7687

The JSON files show the mismatches between the expected and actual results, but give no clues as to why.
I've reproduced these exact results locally and on a clean server. The steps I took to set up the server after installing dependencies were:
git clone https://github.com/ldbc/ldbc_snb_interactive.git
git clone https://github.com/ldbc/ldbc_snb_driver
cd ldbc_snb_driver
git checkout 0.3.5
mvn clean install -DskipTests
cd ../ldbc_snb_interactive
./build.sh
cd cypher
. scripts/environment-variables-default.sh
scripts/convert-csvs.sh
scripts/load-in-one-step.sh
driver/create-validation-parameters.sh
driver/validate.sh

Hi Jeffrey,
You need to reload the database between runs. So this should work:
scripts/load-in-one-step.sh
driver/create-validation-parameters.sh
scripts/load-in-one-step.sh
driver/validate.sh
This issues come up quite frequently so I'll update the README to make it
clearer.
Gabor
On Wed, Aug 4, 2021 at 7:25 PM Jeffrey Lovitz @.***>
wrote:

Following the setup instructions in this repository's README and those in
https://github.com/ldbc/ldbc_snb_interactive/tree/main/cypher lead to
several failures when running the driver/validate.sh script:

ValidateDatabaseMode  Validation Result: FAIL
Database: com.ldbc.impls.workloads.ldbc.snb.cypher.interactive.CypherInteractiveDb

Successfully executed 24 operation types
4 / 4              LdbcQuery1
2 / 4              LdbcQuery10
4 / 4              LdbcQuery11
4 / 4              LdbcQuery12
4 / 4              LdbcQuery13
4 / 4              LdbcQuery14
4 / 4              LdbcQuery2
4 / 4              LdbcQuery3
4 / 4              LdbcQuery4
0 / 4              LdbcQuery5
4 / 4              LdbcQuery6
4 / 4              LdbcQuery7
4 / 4              LdbcQuery8
4 / 4              LdbcQuery9
125 / 125            LdbcShortQuery1PersonProfile
90 / 117            LdbcShortQuery2PersonPosts
89 / 115            LdbcShortQuery3PersonFriends
75 / 75             LdbcShortQuery4MessageContent
75 / 75             LdbcShortQuery5MessageCreator
75 / 75             LdbcShortQuery6MessageForum
8 / 29             LdbcShortQuery7MessageReplies
10 / 10             LdbcUpdate2AddPostLike
28 / 28             LdbcUpdate3AddCommentLike
0 / 4              LdbcUpdate4AddForum
38 / 38             LdbcUpdate5AddForumMembership
0 / 17             LdbcUpdate6AddPost
0 / 20             LdbcUpdate7AddComment
4 / 4              LdbcUpdate8AddFriendship

Missing handler implementations for 0 operation types

Unable to execute 41 operations
LdbcUpdate4AddForum               4
LdbcUpdate6AddPost               17
LdbcUpdate7AddComment               20

Incorrect results for 80 operations
LdbcQuery10               2
LdbcQuery5               4
LdbcShortQuery2PersonPosts               27
LdbcShortQuery3PersonFriends               26
LdbcShortQuery7MessageReplies               21

ValidateDatabaseMode  For details see the following files:

/home/ubuntu/ldbc_snb_interactive/cypher/validation_params-failed-actual.json
/home/ubuntu/ldbc_snb_interactive/cypher/validation_params-failed-expected.json
Aug 04, 2021 5:14:07 PM org.neo4j.driver.internal.logging.JULogger info
INFO: Closing driver instance<PHONE_NUMBER>
Aug 04, 2021 5:14:07 PM org.neo4j.driver.internal.logging.JULogger info
INFO: Closing connection pool towards localhost:7687

The JSON files show the mismatches between the expected and actual
results, but give no clues as to why.
I've reproduced these exact results locally and on a clean server. The
steps I took to set up the server after installing dependencies were:
git clone https://github.com/ldbc/ldbc_snb_interactive.git
git clone https://github.com/ldbc/ldbc_snb_driver
cd ldbc_snb_driver
git checkout 0.3.5
mvn clean install -DskipTests
cd ../ldbc_snb_interactive
./build.sh
cd cypher
. scripts/environment-variables-default.sh
scripts/convert-csvs.sh
scripts/load-in-one-step.sh
driver/create-validation-parameters.sh
driver/validate.sh
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ldbc/ldbc_snb_interactive/issues/190, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKWPMLB4ROVDNVZ7C2KY63T3FZXPANCNFSM5BRT3ZXQ
.

Thanks, Gabor!
I misunderstood this requirement; everything is working perfectly now.


Implement ULID custom type for Ecto

Issue/Task Number: T147
Overview
This PR add ExULID.Ecto.ULID custom type for using with Ecto schemas.
Changes

Implements ExULID.Ecto.ULID according to Ecto.Type behavior.
Benchmarked again

Implementation Details
Mostly it is a typical implementation of an Ecto custom type that follows the instructions in Ecto.Type docs.
Another thing is import ExULID.Crockford is changed to alias ExULID.Crockford to improve clarify which module is being called to encode/decode.
:ecto is added as an optional dependency as this library can be used with/without the ecto feature.
Usage
First, add a new migration to add the new field with the binary_id type:
defmodule MyRepo.Migrations.CreateSomeTable do
  use Ecto.Migration

  def change do
    create table("some_tables") do
      add :the_ulid_field, :binary_id
    end
  end
end

Then add the new field to the schema:
defmodule SomeSchema do
  use Ecto.Schema

  schema "some_tables" do
    field :the_ulid_field, ExULID.Ecto.ULID
  end
end

Impact
N/A

👋 dunno if there's plans to eventually merge this, but for anyone who comes looking there's an ecto type in this seperate library: https://github.com/bonfire-networks/pointers_ulid


Hey! Let's talk about OTG!

Sorry for the misplacement but unfortunately forks don't seem to accept issues.
@Sawors
Depending on who you ask I am either a former member of Team OTG or the sole member of Team OTG. I left when they fussed at me for fussing at them for their inactivity and allowing the project to become outdated (if you look at the commit history, you will find several months of almost exclusive commits from myself, only broken up by a few commits from Authvin here and there and a couple commits to legal stuff from Wahrheit immediately after I left).
I've been maintaining a 1.19 fork of the project (it is working and free from the crash bugs of 1.18.2.) It's a fairly widely-used fork as well, it's definitely not something to be scoffed at.
I have support from pretty much the entire community except the team themselves, the problem being is right now I can only manage to do a barebones 1.19 fork that's well-maintained on my own with my quite busy schedule. I would like to expand the 1.16 version further if I could get a second person of the team and make it more official, in addition to making 1.19 feature-complete.
I don't think I need more than one more person, and you're the only person who's done anything with otg code in the past several months other than Authvin, so if you can help your help would be incredibly appreciated by not just me but the entire community.
I don't know what platforms you take part in, but here are a few ways to contact me:
Discord: My main discord DO NOTE: I do not use Discord. That discord is entirely supported/set up by my friends. If you join the discord I will be a bot that is impossible to DM, the preferred method would be via Matrix/Element:
Matrix: @ frank:infotoast.ems.host (Remove the space I didn't wanna ping the guy with the username "frank")
Just Plain Email<EMAIL_ADDRESS>You could also just reply to this but if we do wind up taking this further we're kinda gonna have to figure out something eventually :p

FYI: I'm kind of a real-lifer so I may not get back to you immediately but I will.


Prune validator statuses

Feature description

Currently, Soljuno updates validator statuses every 2 minutes, the size of database will increase unlimitedly.
The method to prune the statuses periodically should be added.

Solved by #70


Standardized way to serialize/deserialize hanabi particle effects

Describe the solution you'd like
There should be a standard way to serialize and deserialize these particle effects so they can exist as files.
Describe why you want that solution. Is this related to a problem?
With VFX as files, they can be more easily shared and loaded into a game or a game editor
Describe alternatives you've considered
Additional context

I prototyped this here  https://github.com/ethereumdegen/bevy_hanabi_loader

Yes this is a planned feature, although one pain point from the start has been that modifiers are trait objects, and trait object serialization is pretty hard (not supported by default in serde for example).
There's also a number of things that delayed implementation, because as soon as one version is out, people will want back-compat (otherwise there's no point having a serialized asset if you can't load it after upgrading).

Bevy Asset V2 just landed, and was promising breaking changes. Serializing and deserializing of referenced assets like textures referenced by asset path was not easily doable before. Lack of import settings and .meta files also made things harder to handle.
To some extent it's still unclear that the current strategy of using typetag is worth continuing; it's completely unrelated to Bevy's reflection and type system. There has been some talks about allowing serializing in Bevy with the TypeRegistry available as context but currently it's not possible.
Some GPU resource management like textures and gradients is still very much hard-coded, and will disappear in the future. That would require some back-compat effort to handle.

So the current strategy is that I try to make most types reflected and serializable, without supporting an official asset format. If someone wants to define their own format they should be able to do so (like, just serialize the EffectAsset itself directly to e.g. RON). And if there's any blocker doing so, I'm very much open to bug fixes and suggestions to improve. And maybe with Asset V2 now out, this is the right time to start looking at this again; I just didn't find the time to do so yet, unfortunately.


memcached-operator: add memcached-operator example

This is based on the example in the operator-sdk user-guide and also
includes example tests using the test framework.

@AlexNPavel could you add a readme on demonstrating the newly added testing framework and the testing command.

LGTM


Fixed onStart docs description

Ah, thanks! Copy & pasted too quickly 😆

Yeah, thought so :) just spotted this lib retweeted and thought I'd help a little :P

Thank you 😺 Appreciate it


Feature: Legacy key-combo support

Popular demand has requested support for the key combos used to access functions before the capo/octave buttons existed.
John's provided me with what the old combos were.

All done with v0.9.7.


run pngquant on frequenly used logos and icons

Summary
I was looking around the the webapp to get an idea of the project structure.
In doing so, I noticed a lot of the .pngs in use were quite large. I ran some of the frequently used images through libimagequant. There should be no appreciable visual change. If this PR is accepted, I'll optimize the remaining pngs.
Original
-----   ------------
Bytes   File
-----   ------------
16591   icon50x50.png
6576    icon64x64.png
22799   icon_WS.png
18160   logo_compact.png
21529   logo-email.png
25177   logo.png
20570   logoWhite.png

Optimized
Bytes   File
-----   ------------
1434    icon50x50.png
2368    icon64x64.png
10608   icon_WS.png
3056    logo_compact.png
4077    logo-email.png
5766    logo.png
3206    logoWhite.png

Checklist

[ x] Ran make test to ensure unit and component tests passed

@asaadmahmood Thoughts?

There should be no appreciable visual change

Sounds fine to me.

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Looks good to me.

thanks @tayre! This looks good

Spinmint test server created at: http://i-0a48804c1d2f87ace.spinmint.com
Test Account 1: Email<EMAIL_ADDRESS>| Password: passwd
Test Account 2: Email<EMAIL_ADDRESS>| Password: passwd
Instance ID: i-0a48804c1d2f87ace


title change: s/Vertex/Vertex AI/

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

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

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

[ ] This notebook has been added to the CODEOWNERS file under the # Community Notebooks section, pointing to the author or the author's team.

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

[ ] Make sure your main Content Directory Name is descriptive, informative, and includes some of the key products and attributes of your content, so that it is differentiable from other content
[ ] The main content directory has been added to the CODEOWNERS file under the # Community Content section, pointing to the author or the author's team.

PM has asked us to hold off on this until Next so please once approved, I'll wait to merge this until early October


[Docs site] Fixed an issue that the page can't get if the page path contains non-English characters breadcrumbs.html

The .RePermalink is a encoding URI. if the original filepath contains non-ASCII characters it will be encoding like "%XX%XX" and lead to can't get page correctly.

So this does fix part of the issue, wish I'd thought of it myself!
We still aren't able to get the breadcrumbs working on the /support/ content b/c there's some disconnect between their file names (that include spaces instead of dashes) that messes with the .GetPage functionality.
There's probably some way to get this in Hugo..... but probably the better approach is just gradually fixing the file names.

So this does fix part of the issue, wish I'd thought of it myself!
We still aren't able to get the breadcrumbs working on the content b/c there's some disconnect between their file names (that include spaces instead of dashes) that messes with the functionality./support/``.GetPage
There's probably some way to get this in Hugo..... but probably the better approach is just gradually fixing the file names.

I actually think the best way is to use Hugo's .File to get the page path, but I'm worried that using it might affect something else that I don't know about.

So this does fix part of the issue, wish I'd thought of it myself!
We still aren't able to get the breadcrumbs working on the content b/c there's some disconnect between their file names (that include spaces instead of dashes) that messes with the functionality./support/``.GetPage
There's probably some way to get this in Hugo..... but probably the better approach is just gradually fixing the file names.

@kodster28 I actually think the best way is to use Hugo's .File to get the page path, but I'm worried that using it might affect something else that I don't know about.


Fix cursor hand

Description

Fix the position of the pointer cursor hotspot
Optional: Executed npm audit fix which changed some package version numbers from package-lock and remove the invalid scripts used as comments in package definition

Compatibility
It doesn't break anything
Caveats
Nope
Reference
https://drafts.csswg.org/css-ui-3/#cursor

It's a great work. 👍
I also wanted to fix the cursor hotspot ☝
I'd rather not include change of package.json and package-lock.json in this PR. 😭
could you revert these?

I thought so (and that's why it was in its own commit), check again!

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Handling 'NULLS FIRST' , 'NULLS LAST'

Is there any way with the current code to trick the sql renderer into injecting these into the sort order?
It would have been easy if the syntax didn't have the null ordering specified after the sort order, but because it needs to appear afterwards as in:
order by username asc nulls first;
It seems there is no obvious way of getting null ordering injected where it needs to be. Is there a trick I'm missing?
There was a pull request on this functionality a while back, but it looks like it was for the old code base.
Thanks for all the time you've spent on this project, I have some very complex queries that were a maintenance nightmare, that are now much easier to work with thanks to your project. I especially enjoyed the more general expression implementation in the latest version.

Could you give me an example of how the query should look?

Apologies on the very delayed reply!
I'd forgotten that passing null into the order direction meant no direction was added that allowed me to send in my own direction with a nulls first spec on the ifrst argument to order (i.e. piggy back on the column name).
If you want to add support for this, where you can still specify the sort order using the intended method, and then add a nulls ordering after it, the format is:
ORDER BY x ASC NULLS FIRST or ORDER BY x DESC NULLS LAST

Perhaps the direction argument can be made to be a boolean or a string, thus allowing you maximum flexiblity.

+1 for this !
I see there's already a PR that has been proposed : https://github.com/hiddentao/squel/pull/200
In the meanwhile - Would there be a way to add this extra option, for example by extending squel in some way, or with a way to add a custom string at a particular point in the query ? Any suggestions on what would be the best approach ?

For now what you could do is modify the OrderBy block such that it allows for the direction attribute to be a string. The block code starts here -> https://github.com/hiddentao/squel/blob/master/src/core.js#L1616

Yeap, thanks ! If anybody's interested, this is how we extended squel 4.4.2 :
/**
 * Builds the NULLS LAST block
 * @class
 * @classdesc The squel NULLS LAST option for order by clauses
 */
function NullsLastBlock () {}
util.inherits(NullsLastBlock, squel.cls.Block);

NullsLastBlock.prototype.nullsLast = function () {
  this.includeNullsLast = true;
};

NullsLastBlock.prototype.buildStr = function () {
  return this.includeNullsLast ? 'NULLS LAST' : '';
};

/**
 * Builds the SELECT query that allows for a NULLS LAST block
 * @class
 * @classdesc The squel SELECT Query that integrates the NULLS LAST option
 * @param {Object} options The squel query builder parameters
 */
function SelectWithNullsLastQuery (options) {
  squel.cls.QueryBuilder.call(this, options, [
    new squel.cls.StringBlock(options, 'SELECT'),
    new squel.cls.FunctionBlock(options),
    new squel.cls.DistinctBlock(options),
    new squel.cls.GetFieldBlock(options),
    new squel.cls.FromTableBlock(options),
    new squel.cls.WhereBlock(options),
    new squel.cls.GroupByBlock(options),
    new squel.cls.OrderByBlock(options),
    new NullsLastBlock(),
    new squel.cls.LimitBlock(options)
  ]);
}
util.inherits(SelectWithNullsLastQuery, squel.cls.QueryBuilder);

// Build your custom query
var query = new SelectWithNullsLastQuery();
query.from(...);
query.fields(...);
query.order(...);
query.nullsLast();
...

I have added an alternative pull request, that simply accepts any string to be specified for the order. This is a bit more flexible, and also a lot simpler to implement.

Thanks @holm


Memory leak of listeners add by Inventory.builder()

I am currently running

Minecraft: 1.12.2
SpongeAPI: 7.1.0-SNAPSHOT-7105dfc
SpongeForge: 1.12.2-2705-7.1.0-BETA-3361
Minecraft Forge: <IP_ADDRESS>36

Plugins/Mods:
Plugins (6): Minecraft, Minecraft Coder Pack, SpongeAPI, SpongeForge, InventoryEventListenerLeak, NPCs
Mods (11): Minecraft, Minecraft Coder Pack, Forge Mod Loader, Minecraft Forge, SpongeAPI, SpongeForge, AppleCore, AppleSkin, JMFixer, JourneyMap, RandomPatches

Issue Description
It wrap the lambda function in a RegisterdListener and add it to event manager, but never release it.
The listener add by Inventory.builder() is never GC'd.
So, if you dynamic register inventory listener and close the inventory .
It will memory leak.
It won't automatically remove the listener from memory even the inventory is technically not accessible by any one  anymore.
And you also have no way to manual release it, because it is wrapped, and you don't have a way to get the wrapped listener.
This map is never being cleared

step to reproduce

Duplicate of https://github.com/SpongePowered/SpongeAPI/issues/1874


Move Noosphere Explainer to md in Noosphere repo

We should consider moving the contents of the Noosphere explainer to a markdown file in this repo https://docs.google.com/document/d/1oUunOtzj27JmCFAD5Qpt1EGKseUcTzk2xq3Aok0kDxk/edit?usp=sharing

Fixed in #66


Added the author field to the package.json file.

One of our systems requires the "author" field for it to use this package. Can we please add it in?

Merged.  Thank you

0.13.3 (which contains this change) has been pushed to npm


Method Caller

How can i call any method on every step ?

I just added two events onNextStep and onPreviousStep, you can utilise these events on form-wizard component to invoke custom methods.
<form-wizard @onNextStep="nextStep" @onPreviousStep="previousStep">


Add the ability to not pass as argument the main parameters of the cli

Add the ability to use yaml file or environment variable to set main parameters when call the CLI.

It's include on release 1.0.-1


new-pcsr - Can you create a service request in a customers tenant?

I need to be able to submit a request into the customer tenant.  I'm almost expecting a new-pcsr -tenantID but i dont see anything.  anything you can help with?
thanks
A.

Hi @apearcebfc ,
This powershell module supports only what is provided by PartnerCenterAPI. What specific request are you searching for?

Hey @PauloRamosGit  Thanks for the reply.  We want to be able to have calls logged in our system because of CSP but then when we need to escalate to MS, we can easily do that by clicking a button so we can put it in a queue and then upload via powershell or via the API.  Don't care how, just want a better automation system :-)

PartnerCenter API supports only open Partner Center support tickets (https://docs.microsoft.com/en-us/partner-center/develop/create-a-service-request-)
I think you need to refer to specific O365 or Azure APIs to make specific service support requests.

Understand what you are saying but at the moment you have to go through the Partner Centre to go into the customer tenant to log a call so I feel it should be part of that API :-)


ivy-posframe font isn't adjusted after changing global font size

Reproduce:

Configure ivy to use +childframe;
Increase font size globally with doom/increase-font-size;
Open an ivy menu and the font size should not match the rest of the UI.

ivy-posframe seems to have a config variable to set the font size used. By default it's nil and it should fallback to the frame's font. The code to adjust font size in doom is a bit hairy (I didn't know about any of this xlfd stuff) so I couldn't find a fix for this in a reasonably short time (and given my lack of knowledge).

d27c148 should fix this issue. Please update and let me know if that isn't the case and I will reopen this issue. Thanks for bringing it to my attention!

Wow, from issue report to fix in less than an hour. Thanks! :heart:

This seems to be happening again. doom/decrease-font-size doesn't affect child frames.

As of 2dc50f4 this issue should be resolved. Let me know if that isn't the case and I'll reopen it. Thanks for bringing it to my attention!


Desktop App should show 'Texture' as application name

@oliver---- are you running desktop app through electron cli? Do we want to cover this case? Because I believe that if you install it you'll see this picture:

Of course!


feat: add metrics instrumentations for status updater

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes: https://github.com/envoyproxy/gateway/issues/2131

thanks for adding this @Xunzhuo, will review post the v0.6 release

hey @Xunzhuo is this ready for a review ?

Move this to Backlog.


Fix Docker permissions for CI

Mounted volumes in containers currently have a mix of permissions set up that are either root or the current user. Making everything use root to see if it helps clear up some perms issues in CI jobs.

:hourglass_flowing_sand: Build in-progress, with failures

Buildkite Build
Commit: 1cc8735e291af5f9dbbb62026ed6eb1db0d0f793

Failed CI Steps

:elasticsearch: :javascript: Elasticsearch Serverless Node.js integration tests
:elasticsearch: :javascript: Elasticsearch Serverless Node.js integration tests

buildkite test this

:hourglass_flowing_sand: Build in-progress, with failures

Buildkite Build
Commit: 1cc8735e291af5f9dbbb62026ed6eb1db0d0f793

Failed CI Steps

:elasticsearch: :javascript: Elasticsearch Serverless Node.js integration tests

History

:broken_heart: Build #389 failed 1cc8735e291af5f9dbbb62026ed6eb1db0d0f793

:hourglass_flowing_sand: Build in-progress, with failures

Buildkite Build
Commit: 0078b1a6f1f8de9041dabee2523874663e710fcb

Failed CI Steps

:elasticsearch: :javascript: Elasticsearch Serverless Node.js integration tests
:elasticsearch: :javascript: Elasticsearch Serverless Node.js integration tests

History

:broken_heart: Build #390 failed 1cc8735e291af5f9dbbb62026ed6eb1db0d0f793
:broken_heart: Build #389 failed 1cc8735e291af5f9dbbb62026ed6eb1db0d0f793

:hourglass_flowing_sand: Build in-progress, with failures

Buildkite Build
Commit: 02cd7a09a9f7d6362cb47663cb117b1c83758a00

Failed CI Steps

:elasticsearch: :javascript: Elasticsearch Serverless Node.js integration tests

History

:broken_heart: Build #391 failed 0078b1a6f1f8de9041dabee2523874663e710fcb
:broken_heart: Build #390 failed 1cc8735e291af5f9dbbb62026ed6eb1db0d0f793
:broken_heart: Build #389 failed 1cc8735e291af5f9dbbb62026ed6eb1db0d0f793

:hourglass_flowing_sand: Build in-progress, with failures

Buildkite Build
Commit: a365a9c422b9fb07b9505c9f33a47eb3f09b6f34

Failed CI Steps

:elasticsearch: :javascript: Elasticsearch Serverless Node.js integration tests

History

:broken_heart: Build #400 failed 02cd7a09a9f7d6362cb47663cb117b1c83758a00
:broken_heart: Build #391 failed 0078b1a6f1f8de9041dabee2523874663e710fcb
:broken_heart: Build #390 failed 1cc8735e291af5f9dbbb62026ed6eb1db0d0f793
:broken_heart: Build #389 failed 1cc8735e291af5f9dbbb62026ed6eb1db0d0f793

Failures are unrelated; permissions issues seem to be resolved by this.


Regression: numeric settings are now read as character arrays

It looks like the changes for reading sample IDs starting with a number or a zero have screwed up the reading of the settings file. So it now reads numeric settings as strings which made me think I had a bug here: 83b1568f5ebe7c7dce6db979513f2fd05f6feea8 That fixed it by accident but now we can't pan because the pause setting for the keyboard pan is broken.

Hmmm... So it's just crap that starts with a zero.
>> m=masiv.yaml.readSimpleYAML('masivPrefs.yml');m.navigation

ans =

  struct with fields:

            panIncrement: [10 120]
         scrollIncrement: [10 1]
                zoomRate: 1.5000
           panModeInvert: '0'
        scrollZoomInvert: 1
       scrollLayerInvert: 1
    keyboardUpdatePeriod: '0.005'

It seems that

I'll do this. I'll scale the heights of neat software development by doing it with a unit test.

Argh I knew what I was doing was hacky.
On Wed, 11 Jan 2017 at 09:38, Rob Campbell<EMAIL_ADDRESS>wrote:

I'll do this. I'll scale the heights of neat software development by doing
it with a unit test.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/alexanderbrown/masiv/issues/15#issuecomment-271822114,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFH45e4Utgt0wBef3w0Vt4iR3bD540PHks5rRKMJgaJpZM4LgWL1
.

I'm on it right now.

Right. This will of course have been caused by the fix for the sample ID.
Anything numeric with a leading zero is kept as a string by readSimpleYAML.
Perhaps a fix is to change this to anything numeric, which is not in fact
equal to zero?
On Wed, 11 Jan 2017 at 10:03, Rob Campbell<EMAIL_ADDRESS>wrote:

I'm on it right now.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/alexanderbrown/masiv/issues/15#issuecomment-271827647,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFH45fGacqCL-y80hDfDjvNezn2bVdPgks5rRKjjgaJpZM4LgWL1
.

Yes, that seems reasonable.

Except that this won't catch the problematic YAML that we were trying to fix, since there stackName was equal to 01 with no characters. I think the only way to fix that would be to force it to read certain settings as a settings (or certain files) a string.

Or to force the user to escape the stackname e.g. '01' in the file, and
detect this
On Wed, 11 Jan 2017 at 10:11, Rob Campbell<EMAIL_ADDRESS>wrote:

Except that this won't catch the problematic YAML that we were trying to
fix, since there stackName was equal to 01 with no characters. I think
the only way to fix that would be to force it to read certain settings as a
settings (or certain files) a string.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/alexanderbrown/masiv/issues/15#issuecomment-271829580,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFH45c0EH63Iom1VxI3f1CnkTHnNXyYaks5rRKrtgaJpZM4LgWL1
.

The saga continues: fd8fb9e. I think we're now good. It passes the tests and MaSIV works again.

Looks good, makes sense.
Logically, there should be no number, saved by matlab, that is a whole number, with leading zeros.
He says, fingers crossed.


Black screen problem

The mod does not work on my computer. Whenever I try to play a chart with video background, it always shows no more than totally black screen. I am sure that the mod was installed. My melonloader version0.6.1, that is okay for cinema mod. Also, I added cinema.json to my chart directory. But the video just won't make it. Any possible reason for this? or this is a problem of the device I use?

I have tested version of the mod. 1.2.1 and 1.2.0. Both of them cause the black screen.
PS. The notes were displayed properly. The only problem is the video.

Now I wonder if there is a size or length limit for the video used in the chart. If the limit really exists, can I get the exact value for that?

I think this means the mod was properly loaded.

Is the video in mp4 format? Does it have the same name as provided in the cinema.json file?

Yes, it is mp4 format. And it has the same name video.mp4

And cimema.json

The JSON file isn't encoded with BOM, is it?

So, the file isn't encoded with BOM like the following picture? I guess that is the point.

I know. This is correct with BOM. Right?

Latest.log

You don't seem to have actually played the chart on this instance.

but I played the chart for sure.

I tried again with older version 1.2.0
Latest.log

OK, now I can see the line like [16:06:20.729] [Cinema] SCENE TO HIDE: scene_02.
But I just cannot see the video.

If I'm going to help further with this issue, I think I am going to need the actual chart file itself. Can you open an issue in #troubleshoot in the Discord channel, and send the mdm file there?

Also i wonder if i could define the time when the video will be displayed in the chart by editing cinema.json so that it will not show up in the very beginning of the chart.Or could you make this possible in the future?


905 - Select index offence OApi spec

This would alter the flow such that:

When rendering the confirm identity screen, frontend also makes a call to the /people/{crn}/offences endpoint
If there is more than one active offence, a selector is displayed
When creating the application, the convictionId, eventNumber & offenceId for the selected entry are passed back to the API - these can then be stored on the applications table and used by the backend later when generating events, finding documents etc.

If we merge this, it will break creating an application on the frontend until values are provided for convictionId, eventNumber, offenceId
Perhaps we could provide some placeholder values until the designs are done to allow me to continue with the backend?

 Record DeliusEventNumber (index offence)

Closing this as the relevant bits (+ the suggestions) have been included in other PRs


Remove Leagues III fragment presets plugin

It looks like removing plugins isn't super common in this repository, but Leagues III is over, so we can clean this up. Let me know if there's anything else I should do to prep for the cleanup!

i believe its preferred to just set the disabled flag, or else someone could make another plugin with the same name and then everyone that had yours installed would automatically get theirs without them actually selecting to install it.

Sounds good! I've seen both disabled=true and disabled=unmaintained in the repo. I went for disabled=true because unmaintained isn't quite the reason for disabling here. Thanks for the feedback!


TR1 Rando

Hi!  Thanks for your help!

Hi!  Thanks for your help!

Try a clean install, it sounds like there are maybe remnants of an old Tomb1Main install in the game folder. Choose File > Empty Recent Folder List in the randomizer, and then carry out a full reinstall of the game. If you want to use Tomb1Main (recommended for best experience) you can follow the video below to get everything setup.
https://youtu.be/WfyHin4Hpgs


Transaction filter view

The app should be able to display a list of transactions that satisfy a particular parameter, like being between a certain datetime range or being greater than a certain amount

[ ] Pop up a bottom dialog asking for parameters
[ ] Fire Query in room
[ ] Display list in another fragment


Spelling Fix in Docstring

A very minor Pull Request to correct a spelling in docstring of cowell method.

Ironically, you have a spelling error in your commit ;) Merging anyway, thanks!


All mutations get stuck in paused state if one of them fails

Describe the bug

I have a mutation with retries set to 10.
When I go offline and fire the mutation, it correctly goes to isPaused: true state.
When I then go online and quickly go offline, the mutation starts firing and fails due to network interruption.
Failure counts get set to 1 and the mutation is still with isPaused: true state (correctly so!)
I go online again and the mutation will never try to fire ever again
I try calling query.resumePausedMutations() but that makes no difference, it looks this query is just forever stuck in isPaused: true state

I noticed that when I get mutations cache, resuming property always has the Promise as a value that never resolves. Maybe this is relevant to the issue?

Your minimal, reproducible example
https://codesandbox.io/p/sandbox/jolly-driscoll-6lqrv4
Steps to reproduce

Call any mutation while offline (the mutation should have retries!)
Quickly turn on and off internet so that the api call fails
Turn the internet back on
Observe that mutations are stuck in isPaused state

This is a video of what I am doing:
https://github.com/TanStack/query/assets/45927161/e17911af-a69f-4df8-942f-b48822513364
This is a repository which I am using for the video above:
https://github.com/maxyatsenko/tanstack-query-offline-bug
Expected behavior
As a user I expected query to start all the mutations again once I'm online.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Tested this with latest Chrome and Edge.
Tanstack Query adapter
react-query
TanStack Query version
5.18.1
TypeScript version
4.4.2
Additional context
No response

I just realized that when this happens, I can get the first paused mutation from mutationCache and then simply use query.continue(). That seems to resolve the promise and all of the paused mutations start running again. Closing the issue 😄

I'd like to reopen this issue. We have the same issue. We're wokring on a react native project with react query v5.25.0. After two retries (as a response to switching between online and offline) our mutation remains with the status "pending" and the isPaused flag set to true even though the retry parameter is set to 10 - similar as mentioned in this issue.
We tried the approach from @maxyatsenko which solves the problem but feels more like a hack. I'd expect react query to handle this and trigger the retry every time the user gets back online. @TkDodo Could you help us out?

I never got to look at the reproduction because the issue was closed immediately. Reopening and will take a look soon.


HandleUpstreamSocketFail flakes on windows

[ RUN      ] UpstreamProtocols/ProtocolIntegrationTest.HandleUpstreamSocketFail/IPv4_HttpDownstream_Http3UpstreamBareHttp2
[2022-01-05 14:55:01.580][308][error][quic] [bazel-out/x64_windows-opt/bin/external/com_github_google_quiche/quiche/quic/core/quic_connection.cc:3619] Client: Failed writing packet 7 of 33 bytes from <IP_ADDRESS> to <IP_ADDRESS>:64487, with error code 10009. long_term_mtu_:1250, previous_validated_mtu_:0, max_packet_length():1250, is_mtu_discovery:0
[2022-01-05 14:55:01.580][308][error][quic] [bazel-out/x64_windows-opt/bin/external/com_github_google_quiche/quiche/quic/core/quic_connection.cc:3957] Client: Write failed with error: 10009 (Unknown error)
test/integration/protocol_integration_test.cc(3600): error: Value of: response->complete()
Actual: false
Expected: true
Stack trace:
00007FF7D22A0A36: (unknown)
00007FF7D22BA028: (unknown)
00007FF7D22BA1ED: (unknown)
00007FF7D22BAC5D: (unknown)
... Google Test internal frames ...

ugh, all that debug info and now there's a different test with the same problem:
[ RUN      ] Protocols/DownstreamProtocolIntegrationTest.OverflowDecoderBufferFromDecodeData/IPv4_HttpDownstream_HttpUpstreamBareHttp2
test/integration/protocol_integration_test.cc(3069): error: Value of: response->complete()
Actual: false
Expected: true
Stack trace:
00007FF709E850D6: (unknown)
00007FF709E9E6C8: (unknown)
00007FF709E9E88D: (unknown)
00007FF709E9F2FD: (unknown)
... Google Test internal frames ...
unknown file: error: SEH exception with code 0xc0000005 thrown in the test body.
cc @wrowe @soulxu is there something different about event management and socket draining on windows that would explain why we're not doing full reads here?

@alyssawilk the different is windows doesn't support edge triggered event. so we have some emulation for edge triggered event. That is asking the caller to drain all the data from the socket, otherwise the read event will keep send to the envoy, then we got a busy loop.
It is really late for me now, I can take a look at this tomorrow morning also. Before that, hope those info ^ can help you.

@alyssawilk the different is windows doesn't support edge triggered event. so we have some emulation for edge triggered event. That is asking the caller to drain all the data from the socket, otherwise the read event will keep send to the envoy, then we got a busy loop.

We will unregister the file event before read data, then we only re-register the file event after no data in the socket, you can see here
https://github.com/envoyproxy/envoy/blob/b88fd5805118665f748c343dedd97161ca73f116/source/common/network/win32_socket_handle_impl.cc#L119-L124

OK, finally got logs for this
key bit
2022-02-01T14:42:29.8260172Z [2022-02-01 14:41:33.793][3532][debug][connection] [source/common/network/connection_impl.cc:138] [C497] closing data_to_write=248 type=2
...
2022-02-01T14:42:29.8298775Z [2022-02-01 14:41:33.793][4204][trace][connection] [source/common/network/raw_buffer_socket.cc:38] [C496] read error: An existing connection was forcibly closed by the remote host.
we generally flush-close, but my guess is that windows doesn't have the "process data ahead of errors" magic, and so picks up the disconnect without doing the read.  Meanwhile delayed_close_timeout was set to 100 nanos, which rounds down to 0s without any sort of warning. (cc @envoyproxy/api-shepherds for that lovely behavioral characteristic)
I suspect we can fix this by upping the flush close timeout.  We'll see if it breaks anything else.


Camera preview hangs

Hello,
Code is great but camera preview hangs. When investigated, I found that this code is causing problem
ScanCardFragment :
`  @Override
public Mat onCameraFrame(CameraBridgeViewBase2.CvCameraViewFrame inputFrame) {
rgba = inputFrame.rgba();
    if (isScanning && dealRetriever.getDeal().getHand(currentPos).getCards().size() < 32)
    {
        Core.transform(rgba, gray, coefficients);

        /***This line is causing problem***/

        Imgproc.adaptiveThreshold(gray, bw, 255, Imgproc.ADAPTIVE_THRESH_MEAN_C, Imgproc.THRESH_BINARY, 101, 35);

        /***This line is causing problem***/

        cards = detector.detectCardsInImage(bw, rgba);
        cards_set = CardDetector.CardsToSet(cards);
        getActivity().runOnUiThread(new Runnable() {
            public void run() {
                if(dealUpdater !=null && currentPos !=null && cards_set!=null){
                    dealUpdater.addCardsToHand(currentPos, cards_set);
                }

            }
        });
    }
    return rgba;
}`

Can you help me in Imgprov.adaptiveThreshold function?

Hi, sorry it's been a while since I last saw this code.
The adaptiveThreshold function is supposed to transform the image in grey to a black/white image.  This is quite difficult due to different possible lightnings in the image. From what I remember this part is not supposed to be very slow (the detecting of cards should be slower than converting it to black/white). Did you try some different parameters to the function to see if it made any difference? Or perhaps difference opencv implementations? I don't remember experiencing issues with it back then, but I'm well aware a lot has changed.

Right now, Its android-ndk-r17c I am using. I cannot use updated version because It shows error so I had to downgrade it.
Error : Expected NDK STL shared object file at /home/user15/Android/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/libgnustl_shared.so
Solution link : https://github.com/caffe2/AICamera/issues/64
Its saying that I have to mandatory downgrade my ndk version

I updated to latest openCV implementation but problem seems same.
Imgproc.adaptiveThreshold(gray, bw, 255, Imgproc.ADAPTIVE_THRESH_MEAN_C, Imgproc.THRESH_BINARY, 101, 35);
Here I tried to change with different parameters.  like changing blocksize or last double parameter value but then It stops Identifying cards as desired.
I learned about this funcion from following link : https://www.tutorialspoint.com/opencv/opencv_adaptive_threshold.htm
But any change of parameter makes function useless


Problem with isAuthenticated method after uninstalling the app

I see another problem with spring-secrity, but am not able to fix it since I dont know much about it. When I uninstall the app, and try to install it again, then isAuthenticated still returns true. It seems like the security context has a memory and should be purged during uninstall?

When you uninstall the app, is the web hook call being made to your ngrok tunnel and properly deleting the App from your DB?

Yes it is.

I will take a look.  As you can imagine I've done a LOT of uninstalling and reinstalling while developing this and didn't run into that issue, but might be something specific to my setup.


Set a max number of Toasts to be open

A prop which takes the maximum number of toasts that is shown at a time can be really helpful to remove some clutter.

I think this could be potentially harmful, and do not recommend it. The stack could max-out at an arbitrary number stopping the user from seeing an important notification.
With that said, you can implement this yourself. It'd look something like:
import { useToasts as useToastsOriginal } from 'react-toast-notifications'

const MAX_TOASTS = 10

export function useToasts() {
  const { addToast: addToastOriginal, removeToast, removeAllToasts, updateToast, toastStack } = useToastsOriginal()

  // augment the method however you like
  const addToast = (...args) => {
    if (toastStack.length < MAX_TOASTS) {
      return addToastOriginal(...args);
    }
  }

  return { addToast, removeToast, removeAllToasts, updateToast, toastStack }
}


How to implement High availability with Rdf4j

Thank you.

Can you give some more context and/or clarify exactly what your'e after?

Well, it depends on the use case ... if it's just reading / querying data (not writing), one option could be to create a docker image with data in it, and add a load-balancer / failover proxy like HAProxy.
For read-write use cases, you might want to look into a commercial solution like OntoText GraphDB, or the open source Merck Halyard (based on Hadoop) which are both using RDF4J

@jeenbroekstra, I am just trying RDF4j for study.
@barthanssens, thank you. Could you give me more details on how to use docker image + load-balancer / failover proxy solution?
Thank you very much!

I am trying to find high availability functions on Halyard. Could you possibly plearse give me any document link?
Thank you very much!
:)

Halyard is implemented on top of Hadoop, so the high availability depends on the Hadoop configuration. The Halyard documentation recommends to use Hortonworks HDP, so you probably want to consult the admin guide https://docs.cloudera.com/HDPDocuments/HDP2/HDP-<IP_ADDRESS>/bk_system-admin-guide/content/ch_hadoop-ha.html
(note that Halyard is using an older version of RDF4J)

Stardog is another commercial platform with HA-functions (https://docs.stardog.com/cluster/) which supports the RDF4J API (https://docs.stardog.com/developing/programming-with-stardog/java#using-rdf4j)
And there is also Amazon NeptuneDB (https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-sparql-rdf4j-console.html) which can also accessed via RDF4J

Yet another approach (which I'm using for a read-only small website) is to embed the RDF4J memory store or native store into a standalone web application, add it to a docker container together with data, and deploy it on an openshift cloud environment (which can be set up to provide HA).
See https://github.com/belgif/vocab-belgif
The amount of data is actually very limited, and is simply loaded on start-up. It is not really designed for a massive amount of users, but it is "high available" in the sense that e.g. openshift can spin up a newer version and replace the older version when ready.

Something similar could be achieved with and putting e.g. HAProxy in HTTP mode in front of it (https://www.haproxy.com/documentation/aloha/12-5/traffic-management/lb-layer7/http-modes/), or another HA proxy
And/or use the docker images available for the RDF4J server and workbench (https://hub.docker.com/r/eclipse/rdf4j-workbench)
Please note that the RDF4J server itself was not designed for providing HA, and/or handling many billions of triples, so this setup may not be enough for covering the same use case as Halyard/GraphDB
It really depends on the use case ...
And again, this is for read-only applications (or when updates can easily be repeated on all dockers), because one RDF4J server does not replicate to / share updates with other servers.

Closing this since there has been no replies from @xsfang for over a week and HA isn't on our roadmap.


Set Callbacks explicitely instead of using has_papertrail

Refering to this 3rd-party issue I wrote some methods to set callbacks:
  paper_trail_update
  paper_trail_create
  paper_trail_destroy # can take arguments :before or :after, defaults to :after if no argument given

paper_trail_destroy(:after/:before) can be aliased as paper_trail_after_destroy/paper_trail_before_destroy.
There is a caveat when passing options:
  paper_trail_update :ignore => [:things]
  paper_trail_create :ignore => [:other_things]

will NOT result in paper_trail ignoring changes to :things and :other_things, but only :things, since the "initialization" will only be triggered once.
Also when using has_paper_trail will override the explicitely set callbacks:
  paper_trail_update :ignore => [:things]
  has_paper_trail

will result in all events to be tracked and the ignore option will not be set at all...
Not sure how to fix those issues yet, because I did not want to get rid of has_paper_trail and/or break working functions...

Wow, this is great! I haven't reviewed your implementation yet, but I think this is a great idea, giving users more control over their ActiveRecord callbacks.  Specifically, being able to control the order in which callbacks happen will solve a whole class of issues, especially integration with other libraries that have their own callbacks.
As you mentioned, this has been discussed before:

https://github.com/airblade/paper_trail/issues/301
https://github.com/airblade/paper_trail/issues/593#issuecomment-136252321
https://github.com/airblade/paper_trail/pull/556

Precedent in other libraries
Other popular ruby libraries give users control over callbacks, so there is a precedent for this.  For example load_and_authorize_resource in CanCan[Can], or protect_from_forgery in ActionController.
Other libraries go so far as to only provide methods, and require users to set up callbacks manually.  For example verify_authorized in Pundit.
Next steps for this PR
This is a big change, so it's going to take Ben and I a while to review.  In the meantime, a few housekeeping requests:

Please add a short changelog entry
Use git rebase to squash the "fixed typo" and "merged master" commits

Oh, I didn't think this would strike you as a big change, so I was a little sloppy about some things... For example I moved the InstanceMethod module to its own file, because I felt pretty bugged by that huge has_paper_trail.rb file. I should have moved that into another PR now that I think about it.
I left all those commits in the PR too, because I did not think it would be a big deal again, but I'll do it right away ^^
But really don't expect too much of this, I just rewrote the has_paper_trail method to use the paper_trail_update(etc) methods etc and added an option to the destroy method... The other methods have been moved, but not changed, but it would not be hard to implement the option for them too.
So I basically just split the has_paper_trail method and made the method an alias for using the callback methods one after the other.
Could you give me some kind of guideline how to change the changelog? I didn't change it because I was under the impression that's what you guys want to do.

I moved the InstanceMethod module to its own file, because I felt pretty bugged by that huge has_paper_trail.rb file. I should have moved that into another PR now that I think about it.

Yeah, if you could split that refactoring into a second PR, that would really help use review this one more quickly.  Thanks!

Could you give me some kind of guideline how to change the changelog?

Just follow the conventions you see in there.  Further reading: http://keepachangelog.com/

ok... I have no idea how to do that. Should I just revert those changes, make another branche and make another PR? Or can I use some git magic? I really don't know...

I have no idea how to do that

No idea how to do what?

ok, give me another day :) I have been sick for a few days, but I think I will be able to tackle this tomorrow.

ok, I've squashed the commits, I am not really sure if it's worth it to revert the 'moved instance methods to its own file' commit and move it to another PR now that I've thought about it tbh, but of course I'll still do it if you prefer.
I was thinking about adding a whole bunch of tests though, to make sure options work with callback-methods, but I'd like to hear from you before I start to put more work into something that will get denied in the end :)

I am not really sure if it's worth it to revert the 'moved instance methods to its own file' commit and move it to another PR now that I've thought about it tbh, but of course I'll still do it if you prefer.

Please do, thanks. We have very limited time to review PRs/issues, and the smaller this PR is, the easier it will be for us to review.  Thanks.

Please remove any unnecessary refactoring, rebase on master, and squash everything into a single commit.  After you've done that, we'll be able to review this PR.  Thanks!

Fabian, we can close this PR, right?  It is superseded by https://github.com/airblade/paper_trail/pull/614


API-1145-Improve-test-coverage

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Animations performance

Running the demo in release mode results in a noticeable lag when opening a dialog with animations. It seems to get better after a few opens, probably because of some Avalonia caching.
Is this behavior expected/noticeable on other machines? I don't have the best PC in the world, but I would assume these animations should not be that compute intensive.
I may look into optimizing it in the future, but I'm not very proficient in Avalonia so if someone wants to pick it up go ahead. For now I will opt into dialog without zoom in animation, which mitigates the issue.

Yes, this is a known issue, but I can't find the root cause. I will appreciate any help with this.
To disable animations you can use build in property (DisableAnimations or something like this)

Yes, this is a known issue, but I can't find the root cause. I will appreciate any help with this.

I'm not very familiar with Avalonia either, but perhaps I can provide some insight. The reason for this choppy behavior is a large amount of object allocations - hundreds and hundreds per frame, while the animation is going.
It looks like the biggest contributor is many List<T> being allocated, followed by AvaloniaPropertyChangedEventArgs<T> of various types. But overall something about the animation architecture is allocating way more than it should (ideally, 0 allocations).
I don't know if the issue is with Avalonia's animation system or the way it's used in DialogHost.
You can debug the allocations with Visual Studio, if you have it: use the .NET Object Allocation tracking tool in Debug->Performance Profiler. Note how the allocations decrease with further opens of the dialog box, and it looks like List<T> stops being allocated. As such, the animation gets less choppy, but it doesn't get fixed entirely (since there's lots of allocations still).

This info actually gives no clue about true reason for that.
I've also tried to use composition animation for that, and there is the same laggy behavior.

Perhaps a stripped-down repro of the animation could be created? It's possible the issue is on Avalonia's end, what with all the observer-related allocations going on. If a small repro could be created, the issue could be brought up over there.

I've already think about it. But DialogHost is actually quite complex behavior under the hood. I've already tried to extract some parts in the past, but no luck. Probably I've should try to do it again, but currently I've doesn't have plenty of time for it. If someone want to do - it will be nice.

I've found that even I've set the "DisableOpeningAnimation" property to True, the content itself has disabled the animation, but the fade in effect of the background (from transparent to the OverlayBackground I've set) still has fade in animation, is it possible for me to disable that fade in animation effect of the OverlayBackground?
Thanks.

Should probably handled by pasting this style in your app:
<Style Selector="DialogHost /template/ Rectangle#PART_ContentCover:not(.notransitions)">
  <Setter Property="Transitions">
    <Transitions />
  </Setter>
</Style>

Should probably handled by pasting this style in your app:
<Style Selector="DialogHost /template/ Rectangle#PART_ContentCover:not(.notransitions)">
  <Setter Property="Transitions">
    <Transitions />
  </Setter>
</Style>

I've tried but failed, my dialogHostAvalonia:DialogHost/ is in MainView.axaml and I've added the above style under <UserControl.Styles/> but the 0.3 seconds LinearEasing still happens.
I've created a repo to reproduce this, as follows:
https://github.com/bearyung/DialogHostDemo

Yeah, this is not properly overrided. I've should make changed in the package itself.


RTCPeerConnection.getLocalStreams, getRemoteStreams have been deprecated

The RTCPeerConnection.getLocalStreams and getRemoteStreams methods are now considered deprecated due to the removal from the spec. Also, the addTrack method now takes any MediaStream that may be returned by getLocalStreams. Use the getSenders and getReceivers methods instead.
Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1271669

I had to revert, the adapter.js does add missing methods on all platform.


New downstream

the git history for the downstream branch is so out of whack that I don't want to touch it anymore. This PR creates a new downstream-v2 which I am hoping will be easier to maintain going forward.

see #181


Ref #29894 -- Made admin form keep readonly fields in order

trac ticket.

Alright, I fixed the wrong statement in the documentation.
I also tried to clarify the current and new behavior in the documentation.

Closing as per ticket
https://code.djangoproject.com/ticket/29894#comment:3


Trigger release to TestPyPI by test-release PR label

See https://stackoverflow.com/a/62331521/3682277 for explanation
Closes #38
Also, we should document the release workflow, perhaps in CONTRIBUTING.md. Will do that once I get back.

Okay, this now seems to work. I've published a new alpha release to TestPyPi: https://test.pypi.org/project/promdens/
@JanosJiri you might wanna take a look and check the various metadata that we added to pyproject.toml. For example:

@JanosJiri you might wanna take a look and check the various metadata that we added to pyproject.toml. For example:

I checked it and it seems ok, nothing else I would specify.


CERL Thesaurus issues

The list of results after performing a query does not show different titles/names per entry, but URLs (e.g. instead of “John Saint John”, I get https://edpop.hum.uu.nl/readers/cerlthesaurus/cnp00963686).
The “Name” field on the explorer appears as “Title” on the VRE.
On the explorer the title appears first, while on the VRE it appears last.
The “Variant names” and “Places of activity” fields on the explorer do not appear on the VRE.

Solved.


429 Too many requests on outbidded cards

Whenever I am doing some bidding and run the script, it tries to automatically bid on all the outbid cards at once. This causes either a 521 error or a 429 error. Script should be written in a way that it does not try to overbid all cards at once, but just one at a time (same way it does for results in transferlist).

Added a flag to enable delay after buy in safety section.