text:
Composant avec plusieurs contrôles : seul le premier message est affiché

Describe the bug
When a component has several controls, the displayed message is always the message of the first control when one of the controls is triggered (expression that evaluates to false), regardless of which control triggered.

☑ I tested it on the storybook, which leads me to believe that it's a lunatic bug.

To Reproduce
Examples:
{
	"id": "questionnaire-id",
	"pagination": "question",
	"maxPage": "2",
	"label": {
		"type": "VTL|MD",
		"value": "Questionnaire label"
	},
	"components": [
		{
			"id": "name-id",
			"page": "1",
			"componentType": "Input",
			"maxLength": 30,
			"label": {
				"value": "\"What's your name?\"",
				"type": "VTL|MD"
			},
			"description": {
				"value": "\"No more than 30 characters\"",
				"type": "VTL|MD"
			},
			"controls": [
				{
					"id": "foo-control-id",
					"typeOfControl": "CONSISTENCY",
					"criticality": "WARN",
					"errorMessage": {
						"type": "VTL|MD",
						"value": "\"FOO control.\""
					},
					"control": {
						"type": "VTL",
						"value": true
					}
				},
				{
					"id": "bar-control-id",
					"typeOfControl": "CONSISTENCY",
					"criticality": "WARN",
					"errorMessage": {
						"type": "VTL|MD",
						"value": "\"BAR control\""
					},
					"control": {
						"type": "VTL",
						"value": false
					}
				}
			],
			"response": {
				"name": "NAME"
			}
		},
		{
			"id": "sequence-id",
			"page": "2",
			"componentType": "Sequence",
			"label": {
				"value": "\"Bye!\"",
				"type": "VTL|MD"
			}
		}
	],
	"variables": [
		{
			"variableType": "COLLECTED",
			"name": "NAME"
		}
	]
}

Expected behavior
In this example, the message BAR control. should be displayed. (If you switch true and false in both controls the result is yet as expected, but is the same.)
Screenshots

Version where the bug appeared
❓ Not sure which version is currently in the storybook.
Browser where the bug was tested

Firefox

Additional context

I tested it with component types: Input, InputNumber, Datepicker. Probably concerns all response components.
I tested if with several levels INFO/WARN/ERROR and types CONSISTENCY/FORMAT which didn't seem to change anything in regard to this issue.
I tested it in the "DSFR" storybook.

❓ Open question: What should happen if both controls are triggered?

Lunatic is well handling a list of errors, but in Lunatic-DSFR we only keep the first error from the list

@nsenave @QRuhier : C'est bien un choix de conception (je ne sais pas si c'est une contrainte DSFR mais ca a été un choix méthodologique) : on résoud un controle puis l'autre, en commencant par le format idéalement.
https://inseefr.github.io/stromae-dsfr/docs/application/controls#laffichage
Il va y avoir un toilettage probable des controles en 2025 (les rendre plus "accessibles", les mettre dans Queen) : peut-être question à rechallenger à ce moment là ?
Mais en web aujourd'hui c'est un choix.

Donc pas de problème sur le fonctionnel actuel dans Lunatic-dsfr.
A voir plus tard côté Lunatic si l'on souhaite se rapprocher de celui-ci ou améliorer le paramétrage des contrôles

authors: AnneHuSKa QRuhier nsenave

repo: InseeFr/Lunatic-DSFR


text:
KMP Multi-Module Project Breaks when Extending Base Class Multiple times in Multiple Module - 1.4.0-RC4

I have MultiModule KMP Project
So i have BaseViewModel class in app_core module
then i implement app_core module in every feature_module, then i extend BaseViewModel class on every ViewModel i have
But now i got this error when running the project:

Type org.koin.ksp.generated.KoinDefAppEyedeaCoreBaseBaseScreenModel is defined multiple times:

on this version everything works fine

koin = "4.0.0-RC1"
koin-annotations = "1.4.0-RC3"
koin-compose = "4.0.0-RC1"

then i upgrade the deps into this version and got this compile error

koin = "4.0.0-RC2"
koin-annotations = "1.4.0-RC4"
koin-compose = "4.0.0-RC2"

For now you can't use Koin 4.0.0 and Koin Annotations 1.4. last is still in 1.9.X

目前您不能使用 Koin 4.0.0 和 Koin Annotations 1.4。最后仍然是 1.9.X

The same problem, any solution to solve it?

Would it be possible to provide a KOIN_GENERATE_META parameter to avoid generating the KoinMeta-xxxxxxx.kt file, which seem to do nothing

any update or work around for this ?

latest 4.0.0 version still have same issue

source: gharchive/issue

authors: Deorigami antanas-radzevicius-tg arnaudgiuliani master-lzh

repo: InsertKoinIO/koin-annotations

license_type: permissive

license_source: github-api


text:
Manual Install

New issue checklist

[x] I have reviewed the README and documentation
[x] I have searched existing issues and this is not a duplicate

General information

IGListKit version:
iOS version(s): All
CocoaPods/Carthage version: 1.2
Xcode version: 9
Devices/Simulators affected: All
Reproducible in the demo project? (Yes/No): No
Related issues:

Hi, I have an issue while I try to install IGListKit. In my App I have googlemaps library and it's a static library so I can't use !use_framework in my pod file.
Can I install it manually?
Where can I find the framework?
Thank you!

@andre1720 you’re using CocoaPods right? You can use IGListKit as a static or dynamic lib just fine. Installing manually works too, just drag the xcodeproj file into your workspace.
Sent with GitHawk

Hi @rnystrom thank you for your answer.
How can I add it as a static? I haven't to add !use_framework? Because if I add it without !use_framework, Xcode say me 'module not found' :(
What have I to import? Only IGListKit.xcodeproj?
Thank you!

Hmm it should work with and without use_frameworks to my knowledge. Yes, you can just drag IGListKit.xcodeproj into your workspace.
Sent with GitHawk

Thanks, it works 👍 💯

repo: Instagram/IGListKit

license: mit

license_source: bigquery


text:
New Label: Google Chrome Enterprise

Add a label with the Google Chrome Enterprise download URL.

Thank you!

source: gharchive/pull-request

repo: Installomator/Installomator


text:
Instamojo Library for GoLang

I am looking for Instamojo Library for Golang.

Doesn't make any sense to create an issue on PHP wrapper. Please shoot an email to support@instamojo.com for such requirements or issues.
We don't have an immediate plan for adding a Go wrapper. But if you want to contribute we would help you out if you face any issues.
We sort of have a Go wrapper around our Orders API, it is being used it our Sample SDK server. You can find its code here: https://github.com/Instamojo/sample-sdk-server

authors: ashwch rebootcode

repo: Instamojo/instamojo-php

license: MIT


text:
Add ability to programmatically override environment defaults

Currently we can override environment defaults by setting the relevant environment variables, but it would be nice to programmatically set our own defaults

Hi Tim,
These are the from the Next.js integration guide (with a modified Redis host) and work:
const redis = getRedisBackend({
    host: "foo",
});
const json = getJsonSiteBackend();

const defaultOptions: Partial<InstantBanditServerOptions> = {
    sessions: redis,
    metrics: redis,
    models: json,
};
export const server = getBanditServer(defaultOptions);

The order is code -> environment (if present) -> defaults from code (set in environment.ts as fallbacks).
Let me know if I'm missing something. I think moving the example and the precedence to the readme would clarify things, what do you think?

authors: jasonscharf tbakerx

repo: InstantDomain/instant-bandit


text:
where the base_model?

i want to download the base_model in my local.and how to use it

https://civitai.com/models/84040/sdxl-unstable-diffusers-yamermix?modelVersionId=309729

OSError: Cannot load model anything-v5-PrtRE.safetensors: model is not cached locally and an error occured while trying to fetch metadata from the Hub. Please check out the root cause in the stacktrace above.

T.T

老哥，这个怎么解决呀，模型下载到本地时有这个问题。

下载到本地即可，或者下载这个https://huggingface.co/wangqixun/YamerMIX_v8

我上面那个图那种做法对吗，为啥会报错

我也是，从抱脸下的YamerMIX_v8包含unet、VAE等组件，替换路径可以用。
但后来从c站下6个G的safetensor，不知道怎么在权重列表替换。尝试用下载好的safetensor替换Unet文件夹中的safetensor（模型路径保持不变），但跑起来貌似权重不匹配，作者能教教我么。

我也是，从抱脸下的YamerMIX_v8包含unet、VAE等组件，替换路径可以用。 但后来从c站下6个G的safetensor，不知道怎么在权重列表替换。尝试用下载好的safetensor替换Unet文件夹中的safetensor（模型路径保持不变），但跑起来貌似权重不匹配，作者能教教我么。

我在其他地方看到单个.safetensor，可以用.from_single_file而不是.from_pretrained，但是我从来没成功过
参考 https://huggingface.co/docs/diffusers/v0.26.3/en/api/loaders/single_file#diffusers.loaders.FromSingleFileMixin.from_single_file.example

repo: InstantID/InstantID


text:
🛑 marketing site is down

In 0edb05f, marketing site (https://golivwell.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: marketing site is back up in 1f3f33b after 4 minutes.


text:
got corrupted stream if using MaxSliceSize for HEVC encoding on ICL

Revert commit 195f95e due to a regression (https://github.com/Intel-Media-SDK/MediaSDK/issues/1805 ) firstly.
Run the command line below to get output.hevc
/usr/share/mfx/samples/sample_encode h265 -qsv-ff -mss 10000 -i input.yuv -o output.hevc -w 1920 -h 1080
then use a player to playback output.hevc or use video tool to check output.hevc

@AntonGrishin , can you take a look?

Not reproducible on latest media-driver (https://github.com/intel/media-driver/commit/7857d6bea214b755d610c1a478d4e1e23da31cdb) and latest MediaSDK (https://github.com/Intel-Media-SDK/MediaSDK/commit/9890dff6064a7f8fe738899fc0c39b33a2d181b5)

authors: aobolensk dmitryermilov xhaihao

repo: Intel-Media-SDK/MediaSDK


text:
only support filter on single column?

Hi，I do a simple test on OAP. I have a parquet table oap_test and create two index on column a and column b。 but the following sql will not use index to accelerate.
SELECT * FROM oap_test WHERE a = 1  or b = 819
is this the right behavior?

@WangGuangxin  can set spark.sql.oap.indexer.max.use.size  to use more than 1 index, default value is 1.

Hello, I run a test on  a Parquet table, and created an index on column a. But the sql “ select count(*) from table1 where axxx” didn’t faster than Parquet without index, and the input data was much more. Is it right?
I used Spark 2.1.0.

If a=xxxx cannot save io effectively, it's not suitable to use the index to speed up this sql, in this scenario there may more input data than spark-sql because we need read index data, and dataCache may speed up this sql.

authors: Alex-Durandal LuciferYang WangGuangxin

repo: Intel-bigdata/OAP


text:
Frame rate vs exposure time

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
D435

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
Win10

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC

SDK Version
2.54.2 }

Language
{C/C#/labview/nodejs/opencv/pcl/python/unity }

Segment
{Robot/Smartphone/VR/AR/others }

Issue Description
I am mounting D435 cameras on a UTV and running it under outdoor conditions. The terrain is somehow bumpy but the vibration is not very bad. The resolution of RGB and depth is 1280x720. I observed jello effect for RGB images but not depth images. I have the following questions and hope to get the answers.

I am pretty sure the jello effect was due to the rolling shutter of RGB sensor and the vibration. Please let me know if it is not correct.
I increased the FPS from 15 to 30 while maintaining the same resolution which seems to mitigate the jello effect pretty much. I wondered if this is because the camera would reduce the exposure time while increasing the FPS at auto-exposure mode.

Hi @suptimq  The RGB sensor of the D435 camera model has a rolling shutter and the depth sensor has a faster global shutter.  This can result in the RGB sensor blurring or lagging when capturing motion compared to the smoother depth image.  As you observed, doubling the FPS of the RGB sensor can help to improve this.   https://github.com/IntelRealSense/librealsense/issues/3554 has more information about this.

Hi @suptimq  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.

authors: MartyG-RealSense suptimq

repo: IntelRealSense/librealsense


text:
finding Z accuracy and plane fit RMS error python

How can i find plane fit RMS error and Z accuracy using pyrealsense2 library in python. I have see the python wrappers but i need a help.

@scizors , Plane fit RMS and Z accuracy are core elements of the Depth-Quality tool provided with the SDK. link
The algorithmic part is embedded into the tool and not in the SDK (i.e. not included pyrealsense2).
The theoretic basis for that tool is established in the relevant white paper
In order to get that functionality in python you can reuse the core functionality from C++ by wrapping with python. You can also port and rewrite the algorithms into python.

Thanks for the reply how about in C++ and please mention any other programming language to test the camera and its efficiency with respect to errors and various lighning condition I need to check it.

You can use rs-depth-quality tool in a stand-alone manner in different environments (inside and outside) as long as the minimal requirements are met :

A flat non-reflective surface is set in front of the camera
You can hold camera stable enough to achieve the required perpendicularity threshold

Just to reiterate  - the methodology for testing the actual image quality is elaborated in the white paper link above. And you can follow that document (and/or actual C++ implementation) to introduce a similar functionality in python.
One thing to mention though  - using the rs-depth-quality  has the advantage that the tool has been internally validated, so you can use its results and generated reports to be acknowledged by the Realsense team.

thanks for the reply

authors: ev-mp scizors


text:
Problem with OpenMP dependency on macOS

Required Info

Camera Model
R200 / F200 / SR300 / ZR300 / D400

Firmware Version
3.21

Operating System & Version
macOS 10.12.4

Kernel Version (Linux Only)

I call make ../ -DBUILD_EXAMPLES=true and get the following:

cmake ../ -DBUILD_EXAMPLES=true                                                                                ~/Workspace/librealsense/build(master)@Aunis-MacBook-Pro.local
-- Info: REALSENSE_VERSION_STRING=2.8.0
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) (found version "1.0")
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) (found version "1.0")
CMake Error at CMakeLists.txt:58 (message):
OpenMP package is missing!
-- Configuring incomplete, errors occurred!
See also "/Users/Auni/Workspace/librealsense/build/CMakeFiles/CMakeOutput.log".

This happened before when I briefly tried the development branch. I think it has to do with OpenMP being moved to llvm in brew, similar to here.

Hi @auni53
You can disable OpenMP in CMake using -DBUILD_WITH_OPENMP=false.
However, D400 support for Mac OS is still work-in-progress (the D400 is using UVC 1.5 spec, that requires considerable modifications to the existing libuvc backend).
For other devices, we recommend using the legacy driver.

Fantastic, just figured out that flag was a thing myself haha. Hope this helps anyone else having issues messing around with clang and llvm on mac!

I needed to prepare instructions for somebody on how to get OpenMP support with this, the unofficial guide is here.

authors: auni53 dorodnic svenevs


text:
Unity3D not working with driver version 6.1.160.21

Required Info

Camera Model
D400

Firmware Version
05.12.07.100

Operating System & Version
Windows 10

Kernel Version (Linux Only)
-

Platform
PC

SDK Version
SDK 2.0 (v2.38.1) }

Language
Unity3D

Segment
Desktop application

Issue Description
I am using a RealSense D400 series camera (D435) on Unity3D, with the latest RealSense SDK version (2.38.1).
When running with driver version 6.1.160.14, everything works fine:

When running with driver version 6.1.160.21, Unity throws an exception:

ExternalException: rs2_pipeline_start_with_config(...)
Rethrow as Exception: Couldn't resolve requests

I'm using the official Unity package and I have not modified the C# code. I'm running the demos as-is.
Notes:

The issue can be replicated on various Windows 10 computers.
I'm rebooting the PC whenever I switch drivers.

Hi @Vangos   The RealSense UWP (Universal Windows Platform) driver is not required to use the 400 Series camera with Windows.  It is intended for the purpose of providing compatibility with products that support interfacing through the UWP platform, such as the Microsoft Hololens headset.  If you are not attempting to interface the RealSense camera with such a product then the UWP driver does not need to be installed.

Thank you very much for your quick reply!

Case closed due to no further comments received.

authors: MartyG-RealSense Vangos


text:
Access one pipeline from different running scripts

Required Info

Camera Model
D400

Operating System & Version
Ubuntu 16

Platform
PC

Language
python

Segment
Robot

I have one camera and I want to access my RGB and Depth camera frames from two running applications. I thought it would be possible to start the pipeline in one script and then access it from another one, but in does not seems to be possible. Is there any approach to do that?

Hi @alex-stonebridge   The Multi-Streaming Model section of the documentation describes the RealSense SDK's rules for accessing one camera from two separate applications (described as a process).
https://github.com/IntelRealSense/librealsense/blob/master/doc/rs400_support.md#multi-streaming-model
Under the rule-set, only one process can access a particular stream type (endpoint) on a particular camera at the same time.
So if Process A has claimed the Depth of the single camera then Process B cannot also claim Depth on that same camera.
If Process A claimed the Depth and Process B claimed the RGB though then there should not be a conflict, as Depth and RGB are different endpoints.
Once an endpoint has been 'opened' by a process, it can be 'closed', releasing ownership on the device.  I wonder if that would provide the two-applcation approach that you need.

Open the endpoint with the first application and start the stream.
Close the endpoint, making it available for the second application to claim.

@dorodnic   Would closing the endpoint in Process A stop the stream, or would it keep going so that Process B could claim the endpoint with an 'open' of its own?

Hi @alex-stonebridge ,Sorry for an unrelated question, how do I do this.

Hi @MartyG-RealSense thanks for your point, that was really helpful.
Also, I was thinking of using a realsense ROS wrapper and just subscribe to desired topics from different scripts. However, I have limited computational power and I am afraid that ROS approach will take much more resources compared to your approach. Is it true?

@alex-stonebridge  Each situation is unique and so I would not like to make a blanket statement about performance.  You are welcome to try the ROS wrapper and see how it performs for you.  I would recommend going into it with the expectation that the results may not be exactly the same as the ones that you experience in librealsense.  The RealSense ROS wrapper may handle some functions differently from librealsense due to its adherence to ROS standards to ensure compatibility.


text:
Android C++ context.query_devices().size() return 0

Required Info

Camera Model
{  D435 }

Operating System & Version
{Android 11

Platform
Android

SDK Version
{ legacy / 2.49.0 }

Language
{QT / C++ }

Segment
{Context }

Issue Description
Hi All,
I'm developing an Android Application with C++ dependencies.
I'm able to obtain from my side the permission for USB access and obtain the device Name and its file Descriptor.
At this step i share thiese data do my own .so which include realsense headers.
Unfortunatly when i permform from my library :
rs2::context ctx;
ctx.query_devices().size();
It always return 0 as size.
Looking for in the github i identify that Java Wrapper call into DeviceWatcher file :
private static native void nAddUsbDevice(String str, int i); = > nAddUsbDevice(usbDesc.name, usbDesc.descriptor);
Function located in usbhost/enumerator-usbhost.cpp
I think this is what i have 0 as size
My question is how to do this step from C++ side.
Regards

Hi @Didi3333  It would indeed seem to be an access permisions issue, as described in https://github.com/IntelRealSense/librealsense/issues/4742
May I first confirm that you are using the current unrooted version of the RealSense Android wrapper in the link below, as there was a different wrapper before that current one was introduced that could only be used on rooted Android devices .
https://github.com/IntelRealSense/librealsense/tree/master/wrappers/android
The wrapper documentation link for unrooted devices below states that the AAR file acquires camera access permissions and so a RealSense Android app needs to include librealsense.aar in its dependencies.  Have you got this include in your project, please?
https://github.com/IntelRealSense/librealsense/blob/master/doc/android.md#intel-realsense-sdk-20-for-android-os

Hi @Didi3333  Do you require further assistance with this case, please?  Thanks!

Hi @MartyG-RealSense , no further assistance needed. As you mentioned, on an unrooted Android it's necessary to use the aar library which allows to create the Context allowing camera access from NDK.
Regards

Thanks very much @Didi3333 for the update - it's excellent to hear that a solution has been achieved.  I will close the case as you do not require further assistance.  Thanks again!


text:
Fixes no-raw-text rule for components with props

Fixes #266

Thanks!

authors: Intellicode adrianocola

repo: Intellicode/eslint-plugin-react-native


text:
[Bug] lmdeploy lite auto_awq:   RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0!

Checklist

[X] 1. I have searched related issues but cannot get the expected help.
[X] 2. The bug has not been fixed in the latest version.

Describe the bug
Error when I try to run  lmdeploy lite auto_awq on model Qwen1.5-0.5b-chat
Reproduction
lmdeploy lite auto_awq ./Qwen1.5-0.5b-chat
Environment
cuda 11.8
python 3.8.12
lmdeploy                      0.4.2
peft                          0.9.0
torch                         2.1.2+cu118
transformers                  4.41.1

Error traceback
lmdeploy lite auto_awq ./Qwen1.5-0.5b-chat --calib-dataset 'c4' --calib-samples 64 --calib-seqlen 2048 --w-bits 4 --w-group-size 128 --work-dir ./lmdeploy_hf
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Move model.embed_tokens to GPU.
Move model.layers.0 to CPU.
Move model.layers.1 to CPU.
Move model.layers.2 to CPU.
Move model.layers.3 to CPU.
Move model.layers.4 to CPU.
Move model.layers.5 to CPU.
Move model.layers.6 to CPU.
Move model.layers.7 to CPU.
Move model.layers.8 to CPU.
Move model.layers.9 to CPU.
Move model.layers.10 to CPU.
Move model.layers.11 to CPU.
Move model.layers.12 to CPU.
Move model.layers.13 to CPU.
Move model.layers.14 to CPU.
Move model.layers.15 to CPU.
Move model.layers.16 to CPU.
Move model.layers.17 to CPU.
Move model.layers.18 to CPU.
Move model.layers.19 to CPU.
Move model.layers.20 to CPU.
Move model.layers.21 to CPU.
Move model.layers.22 to CPU.
Move model.layers.23 to CPU.
Move model.norm to GPU.
Move lm_head to CPU.
Loading calibrate dataset ...
Traceback (most recent call last):
  File "/root/venv_lmdeploy_0.4.2/bin/lmdeploy", line 8, in <module>
    sys.exit(run())
  File "/root/venv_lmdeploy_0.4.2/lib/python3.8/site-packages/lmdeploy/cli/entrypoint.py", line 37, in run
    args.run(args)
  File "/root/venv_lmdeploy_0.4.2/lib/python3.8/site-packages/lmdeploy/cli/lite.py", line 137, in auto_awq
    auto_awq(**kwargs)
  File "/root/venv_lmdeploy_0.4.2/lib/python3.8/site-packages/lmdeploy/lite/apis/auto_awq.py", line 96, in auto_awq
    vl_model, model, tokenizer, work_dir = calibrate(model,
  File "/root/venv_lmdeploy_0.4.2/lib/python3.8/site-packages/lmdeploy/lite/apis/calibrate.py", line 235, in calibrate
    calib_ctx.calibrate(all_data)
  File "/root/venv_lmdeploy_0.4.2/lib/python3.8/site-packages/lmdeploy/lite/quantization/calibration.py", line 315, in calibrate
    _ = model(data.to(self.device))
  File "/root/venv_lmdeploy_0.4.2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/root/venv_lmdeploy_0.4.2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/root/venv_lmdeploy_0.4.2/lib/python3.8/site-packages/transformers/models/qwen2/modeling_qwen2.py", line 978, in forward
    inputs_embeds = self.embed_tokens(input_ids)
  File "/root/venv_lmdeploy_0.4.2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/root/venv_lmdeploy_0.4.2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/root/venv_lmdeploy_0.4.2/lib/python3.8/site-packages/torch/nn/modules/sparse.py", line 162, in forward
    return F.embedding(
  File "/root/venv_lmdeploy_0.4.2/lib/python3.8/site-packages/torch/nn/functional.py", line 2233, in embedding
    return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper_CUDA__index_select)

Qwen1.5-0.5B-Chat model is not supported by lmdeploy turbomind.

@AllentDan any play to support qwen2-0.5b?

After #1782

As replied in https://github.com/InternLM/lmdeploy/pull/1782#issuecomment-2173012257, you may try Pytorch backend to run Qwen1.5-0.5B-Chat model.

The issue will be closed. Feel free to reopen it.

authors: AllentDan dawnranger

repo: InternLM/lmdeploy


text:
D3fend tool - generating CSV from d3fend RDF file

NOTE: Rows 41, 42 and 43 don't have d3fend-id as they are in experimental state.

@rafaelbernard You good in finding typos ;) Thanks!


text:
vote create: support DRep and CC script hash

Changelog
- description: |
    vote create: support DRep and CC script hash
# uncomment types applicable to the change:
  type:
  - feature        # introduces a new feature
  # - breaking       # the API has changed in a breaking way
  - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
  # - improvement    # QoL changes e.g. refactoring
  # - bugfix         # fixes a defect
  # - test           # fixes/modifies tests
  # - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
  # - documentation  # change in code docs, haddocks...

Context
Fixes https://github.com/IntersectMBO/cardano-cli/issues/661
Checklist

[X] Commit sequence broadly makes sense and commits have useful messages
[ ] Self-reviewed the diff

Perfect!
Vote with Drep script hash
{[3, h'4A94737ECAA3238D7CAF94B87FC52D07FE978823D6D16C06F1163214']: {[h'66696EF1110A8F6574814DB66112CBEAFAA9C045143790278931D3AF6DBA3F41', 0]: [1, null]}}
Vote with CC hot script hash
{[1, h'4A94737ECAA3238D7CAF94B87FC52D07FE978823D6D16C06F1163214']: {[h'66696EF1110A8F6574814DB66112CBEAFAA9C045143790278931D3AF6DBA3F41', 0]: [1, null]}}

Perfect!
Vote with Drep script hash
{[3, h'4A94737ECAA3238D7CAF94B87FC52D07FE978823D6D16C06F1163214']: {[h'66696EF1110A8F6574814DB66112CBEAFAA9C045143790278931D3AF6DBA3F41', 0]: [1, null]}}
Vote with CC hot script hash
{[1, h'4A94737ECAA3238D7CAF94B87FC52D07FE978823D6D16C06F1163214']: {[h'66696EF1110A8F6574814DB66112CBEAFAA9C045143790278931D3AF6DBA3F41', 0]: [1, null]}}

Can you squash commits and improve their descriptions?

Can you squash commits and improve their descriptions?

@carbolymer> done :+1:

authors: CarlosLopezDeLara carbolymer smelc

repo: IntersectMBO/cardano-cli


text:
Added being cached informations

Allows people to know if an image has already been cached or is being cached (works along with ImageCache to set the $cached property). That way they can manage the headers (for example) being sent to the browser in case the image already exists in cache.

Thank you for your PR.
I just added something like this in another way.
If an image object comes from the cache it is now an instance of:
Intervention\Image\CachedImage
If the image object has been processed by GD or Imagick it is.
Intervention\Image\Image
This way you can see, if an image was already cached.

authors: codel olivervogel

repo: Intervention/image


text:
Prevent specific pairings

Need the ability to control who a person should not be paired with, eg., spouses (who are generally given gifts outside of secret santa) and the person who you got last year.

I created a branch with a working example for thuis feature. Stille needs a bit of worm before merging.

Wow, cool. Looking forward to the PR!

The branch is in this repository.

Ping me when it's ready for review and merge Henne.

Forgot to ping you, it was ready 2 months ago.
Could you have a look at the branch exclude-entries?

Works. Error message is not so user friendly but hey. Merged. We should give this project another hackathon to cleanup and rewrite some stuff.

thanks @hvanoch ^5

authors: hvanoch tincansandtwine tvlooy

repo: Intracto/SecretSanta

license: isc


text:
🛑 frostabua.no is down

In 411b578, frostabua.no (https://frostabua.no) was down:

HTTP code: 0
Response time: 0 ms

Resolved: frostabua.no is back up in 3fefdb6 after 11 minutes.

repo: Intus-AS/Types-status


text:
🛑 hammerplanteskole.no is down

In 45656ae, hammerplanteskole.no (https://hammerplanteskole.no) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hammerplanteskole.no is back up in 5f206f2 after 19 minutes.


text:
🛑 krradgivning.no is down

In d9a114d, krradgivning.no (https://krradgivning.no) was down:

HTTP code: 0
Response time: 0 ms

Resolved: krradgivning.no is back up in 17eb558 after 29 minutes.


text:
Design an NFC/DID based identity system

The project needs a way to represent identities with an NFC tag and using concepts defined in https://w3c.github.io/did-core/
Start prototyping an architecture here.

@Damfortx8 can you start looking into how we might utilize NFC for the DID identity.
Concept: A user ID is tied to the NFC card and phone.  I'm thinking we could store the secret key, encrypted in the NFC tag.  It would be the job of the phone to prompt the user with a password, and decrypt the key, and then use the key data to sign transactions, etc.
I've reviewed the information here :https://docs.substrate.io/tutorials/v3/private-network/ to try to understand this a bit better.

@Damfortx8 the other concept I'd like to be able to perform is assign the identifier for a product into the NFC tag, and be able to scan the tag and load the verification of the entire "chain of custody" .  In theory, this could simply open the web page of the view that shows the entire set of steps of creating this bag of coffee beans.

One issue I have had is getting the initial concept for how to use the NFC tags nailed down.  I've been looking for some existing open source examples of NFC/blockchain utilization.  In principle, the tag needs to store a private key in a secure element, and we'd use the app on a phone to unlock the tag and in theory, sign transactions.

I found a few projects as reference points:

A bitcoin wallet project https://github.com/720kb/BitNFC/blob/master/www/js/providers/nfc.js#L13 + https://github.com/720kb/BitNFC/issues/24
UDID approach: https://github.com/leukaemiamedtech/HIAS-NFC-Reader ... this is good for using the wallet as an identifier for a "person" or object

There really isn't much published.  That's a surprise.

Some details on the substrate/polkadot key/accounts:

it uses sr25519
Detailed spec https://wiki.polkadot.network/docs/learn-keys
software in rust https://docs.rs/schnorrkel/0.9.1/src/schnorrkel/keys.rs.html#43
private key size: secret key size (32) + nonce size (32) = 64
public key size: 32
keypair size = private key size plus public key size (96)

Regarding our NFC tags we most definitely can fit them into memory!  The ST25 tags that I have I think are mostly 256 bytes of data available.  That means we can, in theory store a key pair.  Yes!

I've verified there is a way to lock entire areas of the ST25 cards, password protect for read/write.  User has to set up a pin sort of thing.  While I can use this, maybe we just want to leave it insecure for a demo.  Seems like something I can add later.  TBD.

repo: IoTone/substrate-coffee-supplychain


text:
Added multilanguage translation

Added multilanguage translation. Added cursorActivity for position cursor.

While I appreciate your contribution to the project and I like multilanguage support a lot, I don't think it should be the responsibility of this editor to keep translations in its source code.
The editor is highly configurable, and when #171 is merged I think all the options are present for developers to provide their own translations.

@Ionaru Ok, can then make one localization variable and register the default translation in it?

I would rather not introduce any big configuration changes because that would mean existing applications will break when updating.
I think the options are okay as they are now.

@Ionaru I meant to make one variable:
var locale = {
"promptTexts": {
            "link": "URL for the link:",
            "image": "URL of the image:"
        },
        "status": {
            "lines": "lines:",
            "words": "words:",
            "autosave": "Autosaved:"
        },
        "errorMessages": {
            "noFileGiven": "You must select a file.",
            "typeNotAllowed": "This image type is not allowed.",
            "fileTooLarge": "Image # image_name # is too big (#image_size #). \ nMaximum file size is # image_max_size #.",
            "importError": "Something went wrong when uploading the image # image_name #."
        },
        "imageTexts": {
            "sbInit": "Attach files by drag and dropping or pasting from clipboard.",
            "sbOnDragEnter": "Drop image to upload it.",
            "sbOnDrop": "Uploading image #images_names # ...",
            "sbProgress": "Uploading # file_name #: # progress #%",
            "sbOnUploaded": "Uploaded # image_name #",
            "sizeUnits": "b, Kb, Mb"
        },
        "toolbar": {
            "bold": {"title": "Bold"},
            "italic": {"title": "Italic"},
            "strikethrough": {"title": "Strikethrough"},
            "heading": {"title": "Heading"},
            "heading-smaller": {"title": "Smaller Heading"},
            "heading-bigger": {"title": "Bigger Heading"},
            "heading-1": {"title": "Big Heading"},
            "heading-2": {"title": "Medium Heading"},
            "heading-3": {"title": "Small Heading"},
            "code": {"title": "Code"},
            "quote": {"title": "Quote"},
            "unordered-list": {"title": "Generic List"},
            "ordered-list": {"title": "Numbered List"},
            "clean-block": {"title": "Clean block"},
            "link": {"title": "Create Link"},
            "image": {"title": "Insert Image"},
            "upload-image": {"title": "Import an image"},
            "table": {"title": "Insert Table"},
            "horizontal-rule": {"title": "Insert Horizontal Line"},
            "preview": {"title": "Toggle Preview"},
            "side-by-side": {"title": "Toggle Side by Side"},
            "fullscreen": {"title": "Toggle Fullscreen"},
            "guide": {"title": "Markdown Guide"},
            "undo": {"title": "Undo"},
            "redo": {"title": "Redo"}
        }
};

and already the developer himself will set the localization.
var easyMDE = new EasyMDE({
localization: {
        "promptTexts": {
            "link": "URL:",
            "image": "URL :"
        },
...
}
})

Can we somehow wrap this into a something that will not cause a breaking change?

Something like : Object.assign(editor.options, local.xx) should be great

Add a single variable with translation or localization file?

Again, this would be a breaking change because we would be removing options that currently exist. (https://semver.org/#spec-item-8)
At this time I do not want any breaking changes to the editor and only provide backwards-compatible changes because of all the extra work that a new major version brings like making a migration guide and providing support for the older version in case of security issues etc.

This option is not suitable ?

Don't close 😢

This option is not suitable ?

You have to cancel your change which remove actual setting or did something like that:
`label.test = old.option || new.option;

To keep support with old version

@A-312 I added a new PR which adds translation for toolbar

authors: A-312 Ionaru dima-bzz

repo: Ionaru/easy-markdown-editor


text:
Feature request: add an optional filter on package name to stop the recursion

It would be great to have an option to stop the recursion according to a filter on package name (or other criteria like repository, but for my use case the package name would be enough).
Example:
I want to git clone only modules whose name matches "^@my_scope/"; this way I get a dev environment for all packages in my scope: I'm not interested in cloning external modules: I won't edit them.

That's a neat idea! :+1:
Keep in mind there is a depth option that sets the deep level of the cloned dependencies. Maybe it helps.
Contributions are welcome! :four_leaf_clover:

The depth option is too restrictive for my use case: I don't know which depth I need, and I do know I don't need the full upper tree up to the required depth.
I'm thinking about adding a generic function that would tell for a given module if the recursion must stop or not.
This would be easier to add a variety of filters: filter on name, on repo url, etc...
Maybe we can also re-implement the depth option with that, I'm not sure.

@triccardi-systran Sounds good! :+1:

is anyone implementing this? would be very helpful.  happy to make a contribution if no one else is sitting on this

@cellvia I don't think so. Contributions are welcome! ✨

authors: IonicaBizau cellvia triccardi-systran

repo: IonicaBizau/gpm


text:
Call with multiple URLs

I would like to start by saying how much I love this package! It's API is so easy to get started with and understand. And this is not an issue really. It is more of me asking for help.
I am trying to scrape a website where the data I am looking for could either be in
example.com/title or example.com/title-year. I was wondering how I could make scrape-it to retry with the second URL if the first one returns a 404 response.
Thanks!

Doesn't sound like the responsibility of this library, in my opinion.
Perhaps you could try this:
scrapeIt('http://example.com/title', { ...your config })
  .catch(() => scrapeIt('http://example.com/title-2018', { ...your config }))
  .then(({ data }) => {
    console.log(data);
  });

You are 100% correct, this not an issue with the library!
Thanks for the help!

authors: edorivai iamtekeste

repo: IonicaBizau/scrape-it


text:
DAXA_RESULT_NO_SUITABLE_DEVICE_FOUND using NVIDIA Quadro P2200

I use Ubuntu / Linux. I am trying to execute the GVox Engine which uses Daxa.
When building and executing according to the GVox Engine's README, I get the following error message:
[[DAXA ASSERT FAILURE]]: error code: DAXA_RESULT_NO_SUITABLE_DEVICE_FOUND(1073741862), failed to create device.

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid
Aborted (core dumped)

My GPU is a NVIDIA Quadro P2200.
Does Daxa require a GPU of NVIDIAS RTX series? Or is it something else?
Thanks for any help!

Daxa does not require a raytracing capable GPU, however the latest master commit of gvox engine does. I'm closing this as unrelated to Daxa

yea its unfortunate that we have these bad errors for device creation i ll look into that in the future

authors: GabeRundlett Ipotrick JulienHemminger

repo: Ipotrick/Daxa


text:
netstandard2.0 missing dependencies in zip package

The netstandard2.0 folder in the zip package appears to be missing its dependencies. For example there's no Mono.Unix.dll (even though the runtimes folder is there). The three options that come to mind are:

Leave it as-is but exclude the runtimes folder.
Try to include all the required DLLs.
Exclude netstandard2.0 from the zip package and tell people to use the NuGet package instead if they want to target .NET Standard.

I am currently leaning towards option 3. @BCSharp I'm not sure if you have a preference.

I don't have a preference, but I do have a sort of anti-preference for option 1. So option 3 is fine with me.

authors: BCSharp slozier


text:
Fix mariadb root@% password issue

This PR fixes the issue mentioned in #115.

Tested and merged.

authors: Tristaan nigelgbanks

repo: Islandora-Devops/isle-buildkit


text:
Hypercube: in test code the APIX header is incorrect

There is some test code that has the APIX LDP Resource header as ApixLdpResource when it should be Apix-Ldp-Resource.  Doesn't seem to effect the test, but probably should be fixed.
It's in this file:
https://github.com/Islandora/Crayfish/blob/dev/Hypercube/tests/Islandora/Hypercube/Tests/HypercubeControllerTest.php

authors: bseeger whikloj

repo: Islandora/documentation


text:
Conceptualisation 🖊 Code of Hammurabi

Title

Code of Hammurabi
Date or Period 📅

1755 BCE, not to say 'some time between 2342 and 1950 BCE,' although that's how divergent the views are (Souvay, 1910).
Intro

An ancient legal text that makes reference to the punishment of physicians who harm their patients.
This story has been published on Tiki-Toki, but please feel free to reopen this issue and make any suggestions below!

#142

#142

authors: GeorgiaHCA Ismael-KG alejandro-deltell


text:
createdAt date returning null on Android

Hi,
We're getting ready to release an update using Iterable in app messages. We're parsing the data returned by:
const list = await Iterable.inAppManager.getMessages();

And we're noticing that the IterableInAppMessage on Android is missing the createdAt date. It's showing as a null date. iOS appears to be working just fine.
referenced here:
https://github.com/Iterable/react-native-sdk/blob/master/ts/IterableInAppClasses.ts#L137
Here's our current version info:
"@iterable/react-native-sdk": "1.0.21"

Data we see:

Thank you for reporting this @lucaswhitman! I just checked as well. Its indeed giving a null 🤯
Please expect an update soon with a fix.

@Ayyanchira thank you so much! Looking forward to an update, and we appreciate the fast response!

expiresAt appears to be null too, pretty sure it was coming in on iOS so you may want to check that too

Yep. Saw that too :) 👍

authors: Ayyanchira lucaswhitman

repo: Iterable/react-native-sdk


text:
Hyprland compositor crashes when using togglegroup dispatcher on a single window

Issue Summary
When using the toggle group dispatcher on a single window or trying to ungroup an already tiled child node using the toggle group feature, the hyprland compositor crashes.
Steps to reproduce

use togglegroup in a single pane for example open kitty and just use the toggle group dispatcher
Hyprland promptly crashes with step 1

Expected behavior
Not to crash but either to toggle a group with a single node or not group at all
Environment

Operating System: Arch Linux x86_64
Hyprland version:Hyprland, built from branch main at commit 2b4d96e0efe4ce4a13b8cdef0d1ff5981f674542dirty (examples: pull correct wlr dirs in example plugin).
plugin version: latest git

Additional details
coredump : https://paste.rs/Zn5
hyprland crash log: https://paste.rs/3B6

Should be fixed by a9eedb1d72fac66ace9d38e7fcae1e98c41aa680

authors: ItsDrike chiefdinkan

repo: ItsDrike/hyprland-dwindle-autogroup


text:
no response from alpaca-electron

Tried the macOS x86 version. It starts. But when loading the Alpaca model and entering a message, it never responds. In other words: can't make it work on MacOS.
Using MacOS 13.2 on an MacBook Pro M1 (2020).

Yeah, doing the same here. was working fine last night. loaded it this morning and it just won't respond. its like it is not loading the model.

Tried the macOS x86 version. It starts. But when loading the Alpaca model and entering a message, it never responds. In other words: can't make it work on MacOS.
Using MacOS 13.2 on an MacBook Pro M1 (2020).

Why are you using the x64 version? It runs really slow on ARM64 Macs. Use the ARM64 version instead. Or does the ARM64 build not work?

Tried the macOS x86 version. It starts. But when loading the Alpaca model and entering a message, it never responds. In other words: can't make it work on MacOS.
Using MacOS 13.2 on an MacBook Pro M1 (2020).

Why are you using the x64 version? It runs really slow on ARM64 Macs. Use the ARM64 version instead. Or does the ARM64 build not work?

The ARM64 version is broken and cannot be loaded.  I am having all the same issues as above.

I don't have an arm64 Mac. But I guess it's either an arm64 thing or just the M1 chipset. Its pretty quick on my Intel Mac virtual machine.

authors: Acidbuk ItsPi3141 glowingkitty thelamedia


text:
missing using statement to make WatchDog works correctly

Hi, very useful tool, thanks for this project. However, on the main page I think you forgot to mention that we need to add(for .Net 6 I am talking)
using WatchDog.src
on every page in order to make it work, once I added this to program.cs and index.cshtml, it worked like a charm.
So my question, how to avoid adding this using statement everywhere as in older .Net we could use DI and just use it on everypage by getting the right object.
Thanks again

Hi @eliassal
Thanks for pointing that out, it will be updated with the next version so you only have to add using WatchDog;
Per your question, i do not understand clearly what you mean but even with dependency injection, you still have to import the package with a using statement. This way, you avoid all of that dependency injection code and just go straight to using the logger everywhere in your file after importing WatchDog once with the using WatchDog; statement at the top of your class.

What I meant by " dependency injection" in old Net(before ) is that in startup.cs, we add a service as follows
public class Startup
    {

        public void ConfigureServices(IServiceCollection services)
        {
            services.AddSingleton<IElasticClient>(new ElasticClient(settings));..........}

Then in any other file/class we can get an instance in the constructor (class called UsersController.cs), in its controller
public UsersController(IElasticClient elasticClient)
        {
            this.elasticClient = elasticClient;
        }

so ElasticClient instance available through this for every page

authors: IzyPro eliassal

repo: IzyPro/WatchDog


text:
Changing Experiment folder don't match component Folder

How to recreate the issue:

Clone an experiment with existing components
Change (rename) the experiment folder from the properties menu

Now the components properties menu show the old folder, but still working

I tried to recreate the issue but was unsuccessful (see screenshots). Which JATOS version do you use?

authors: kristian-lange leouzz

repo: JATOS/JATOS


text:
Add polar stereo

Description
Modified the code figure_driver.py to enable us to plot figures over polar region.
Dependencies
If there are PRs that need to be merged before or along with this one, please list them below
Waiting on the following PRs:

[ ] waiting on EMCpy https://github.com/NOAA-EMC/emcpy/pull/109

Plot the following figures using testIodaObsSpaceAmsuaN19.yaml

Once the EMCpy change is merged you will also need to bump the hash here: https://github.com/JCSDA-internal/eva/blob/5d47296dbc26a5a0e320753bc8a6646a4c6a531a/setup.py#L43

@mjhossen as @danholdaway said now that emcpy is updated, update the hash to: 4f36baf1a2302fb0daa49bd8415bb7d2a65347bb

Tests are passing now. Please modify the tests so as not to add an entirely new test.

authors: CoryMartin-NOAA danholdaway mjhossen

repo: JCSDA-internal/eva


text:
DukeMTMC

@JinkaiZheng
您的工程文件代码比较全，我想请教您几个问题
1、FREEZE_ITERS: 2000  作用？
2、max_iter  ，是 1个epoch  =数据量 / batch  例如一个数据是10个iter ,   max_iter最大的迭代= epoch数量  * 每个epoch 的迭代
3、DATASETS:
NAMES: ("Market1501",)
TESTS: ("Market1501",)  #要改成DukeMTMC?
这里我用自己的数据做训练格式变成 Market1501 数据格式，
测试数据的评估，我只是把数据读取路径 改成duke的,   测试结果不对，训练收敛
是我改动的方式错了吗？

freeze_iter 是为了固定住 backbone，只训练 head，这样结果会更稳定。

max_iter 是通过这个方式计算得到的。

如果你要使用自己的数据集进行训练，需要对数据集进行注册，然后 import 这个注册的数据集，例子可以先参考下面
https://github.com/JDAI-CV/fast-reid/blob/3840f3f79a49a3544fc32509f897101d3634e574/projects/PartialReID/partialreid/partialbaseline.py#L12
我们很快会提供 tutorial。

@L1aoXingyu
1、代码 有个问题很困惑 model.train()位置
class SimpleTrainer(TrainerBase):
  ‘’‘
 这句 model.train() 为什么放在这里，不能放在如下位置吗
  class DefaultTrainer(SimpleTrainer):
        ...
        self.register_hooks(self.build_hooks())
        model.train()  #放在这里不行吗，执行顺序也是执行到这里，再执行train

放在那里我觉得很奇怪  train相关的代码接口， 放在加载数据的前面
 ’‘’
    model.train()
    self.model = model
    self.data_loader = data_loader
    self._data_loader_iter = iter(data_loader)
    self.optimizer = optimizer

2、 第二个问题是，代码里有 sbs 相关训练运行都会报错，cuda memory 有问题
训练测试了几轮之后，2000iter ，之后再训练就有问题，报内存有问题，这可能是哪个优化结构引起的吗？
例如  D:\Projects\reid\fast-reid\configs\DukeMTMC\mgn_R50-ibn.yml
D:\Projects\reid\fast-reid\configs\DukeMTMC\sbs_R50-ibn.yml
其他的例如
bagtricks_R50.yml
bagtricks_R50-ibn.yml 都正常迭代运行

您好！欢迎关注我们的工作~
看您的描述，应该是显存out of memory(OOM)了，因为按照默认设置，sbs在2000 iters之后会解冻model层，显存会出现暴增，训练时长也会变长，这些都是正常现象。如果是这样的话，建议您改小batch size（SOLVER.IMS_PER_BATCH）即可，当然相应的iters也需要依据batch size重新计算。
如果不是OOM的问题，方便把输出结果，以及config.yaml贴一下吗？

@JinkaiZheng
谢谢您的回复，应该是这个原因导致的
这边添加新的测试数据，修改有什么注意的吗？ 数据格式类似market1501，但是相机信息camid 没有，都写成固定是1

u r welcome.
1、没有camera信息，camid都写成1是可以的。
2、数据格式方面，建议您把相应的变量输出，对照查看和原版数据格式是否一致即可。如：market1501.py，可以将process_dir函数的返回值print一下，倘若自己修改的不对，根据输出再改就好了。

自己的数据集训练，因为数据label 不是连续的，数据处理里面加了 relabel属性，数据label 从0 开始 ，训练没有背景数据，有问题吗？
if relabel: pid = pid2label[pid]  # label  start 0 1 2......
dataset.append((img_path, pid, camid))

这样改可以的，但是不加这些也没有问题，因为CommDataset类里面已经加relabel了。

@L1aoXingyu
adam() 优化器，有自己的学习率自动衰减
config 参数有 外在学习率衰减， STEPS:
我不明白， 这两者结合 学习率到底是怎么变化的
SOLVER:
MAX_ITER: 160000  #64 batch  41epoch
STEPS: [50000, 100000,150000]  # multi lr
WARMUP_ITERS: 20000

@L1aoXingyu
并行训练 如果采用分布式训练接口   syncbn 这个参数，是否还需要昵？为什么代码里面没有采用这个接口昵？
torch.nn.parallel.DistributedDataParallel
syncbn 这个我理解就是  DataParallel  并行训练时候 bn层的优化，单卡是用不到的？

@L1aoXingyu
mgn_R50-ibn.yml    duke 数据集，参数没有改，训练精度是89.3%top1
您的 readme，duke数据集是91.6%  ，，我参数没有改动，添加了 with ibn ： true
[06/29 23:31:52] fastreid.data.datasets.bases INFO: => Loaded DukeMTMC
[06/29 23:31:52] fastreid.data.datasets.bases INFO:   ----------------------------------------
[06/29 23:31:52] fastreid.data.datasets.bases INFO:   subset   | # ids | # images | # cameras
[06/29 23:31:52] fastreid.data.datasets.bases INFO:   ----------------------------------------
[06/29 23:31:52] fastreid.data.datasets.bases INFO:   query    |   702 |     2228 |         8
[06/29 23:31:52] fastreid.data.datasets.bases INFO:   gallery  |  1110 |    17661 |         8
[06/29 23:31:52] fastreid.data.datasets.bases INFO:   ----------------------------------------
[06/29 23:31:52] fastreid.evaluation.evaluator INFO: Start inference on 19889 images
[06/29 23:31:55] fastreid.evaluation.evaluator INFO: Inference done 11/311. 0.1275 s / img. ETA=0:00:39
[06/29 23:32:25] fastreid.evaluation.evaluator INFO: Inference done 196/311. 0.1528 s / img. ETA=0:00:18
[06/29 23:32:44] fastreid.evaluation.evaluator INFO: Total inference time: 0:00:49.936985 (0.163193 s / img per device)
[06/29 23:32:44] fastreid.evaluation.evaluator INFO: Total inference pure compute time: 0:00:46 (0.153538 s / img per device)
[06/29 23:34:37] fastreid.engine.defaults INFO: Evaluation results for DukeMTMC in csv format:
[06/29 23:34:37] fastreid.evaluation.testing INFO: Task: Rank-1
[06/29 23:34:37] fastreid.evaluation.testing INFO: 89.2%
[06/29 23:34:37] fastreid.evaluation.testing INFO: Task: Rank-5
[06/29 23:34:37] fastreid.evaluation.testing INFO: 95.0%
[06/29 23:34:37] fastreid.evaluation.testing INFO: Task: Rank-10
[06/29 23:34:37] fastreid.evaluation.testing INFO: 96.7%
[06/29 23:34:37] fastreid.evaluation.testing INFO: Task: mAP
[06/29 23:34:37] fastreid.evaluation.testing INFO: 79.6%
[06/29 23:34:37] fastreid.evaluation.testing INFO: Task: mINP
[06/29 23:34:37] fastreid.evaluation.testing INFO: 43.7%
[06/29 23:34:37] fastreid.evaluation.testing INFO: Task: TPR@FPR=0.0001
[06/29 23:34:37] fastreid.evaluation.testing INFO: 14.5%
[06/29 23:34:37] fastreid.evaluation.testing INFO: Task: TPR@FPR=0.001
[06/29 23:34:37] fastreid.evaluation.testing INFO: 41.8%
[06/29 23:34:37] fastreid.evaluation.testing INFO: Task: TPR@FPR=0.01
[06/29 23:34:37] fastreid.evaluation.testing INFO: 79.9%

这是训练保存config,yml 文件，单卡训练，不知道是哪些参数可能导致这个问题，或者以后修改的话要注意哪些参数？
CUDNN_BENCHMARK: true
DATALOADER:
NAIVE_WAY: false
NUM_INSTANCE: 16
NUM_WORKERS: 16
PK_SAMPLER: true
DATASETS:
COMBINEALL: false
NAMES:

DukeMTMC
TESTS:
DukeMTMC
INPUT:
DO_AUGMIX: false
DO_AUTOAUG: true
DO_CJ: false
DO_FLIP: true
DO_PAD: true
FLIP_PROB: 0.5
PADDING: 10
PADDING_MODE: constant
REA:
ENABLED: true
MEAN:

123.675
116.28
103.53
PROB: 0.5
RPT:
ENABLED: false
PROB: 0.5
SIZE_TEST:

384
128
SIZE_TRAIN:
384
128
MODEL:
BACKBONE:
DEPTH: 50
LAST_STRIDE: 1
NAME: build_resnet_backbone
NORM: BN
NORM_SPLIT: 1
PRETRAIN: true
PRETRAIN_PATH: /home/svt/pytorch_code/reid/pretrained_model/resnet50_ibn_a.pth.tar
WITH_IBN: true
WITH_NL: false
WITH_SE: false
HEADS:
CLS_LAYER: circle
IN_FEAT: 256
MARGIN: 0.35
NAME: BNneckHead
NECK_FEAT: after
NORM: BN
NORM_SPLIT: 1
NUM_CLASSES: 702
POOL_LAYER: gempool
REDUCTION_DIM: 512
SCALE: 64
LOSSES:
CE:
ALPHA: 0.2
EPSILON: 0.1
SCALE: 0.125
CIRCLE:
ALPHA: 128
MARGIN: 0.25
SCALE: 1.0
FL:
ALPHA: 0.25
GAMMA: 2
SCALE: 1.0
NAME:

CrossEntropyLoss
TripletLoss
TRI:
HARD_MINING: true
MARGIN: 0.0
NORM_FEAT: false
SCALE: 0.2
META_ARCHITECTURE: MGN
OPEN_LAYERS:

b1_pool
b1_head
b2_pool
b2_head
b21_pool
b21_head
b22_pool
b22_head
b3_pool
b3_head
b31_pool
b31_head
b32_pool
b32_head
b33_pool
b33_head
PIXEL_MEAN:
123.675
116.28
103.53
PIXEL_STD:
58.395
57.120000000000005
57.375
WEIGHTS: ''
OUTPUT_DIR: logs/dukemtmc/author_duke_mgn_R50-ibn
SOLVER:
BASE_LR: 0.00035
BIAS_LR_FACTOR: 2.0
CHECKPOINT_PERIOD: 6000
DELAY_ITERS: 9000
ETA_MIN_LR: 7.7e-07
FREEZE_ITERS: 2000
GAMMA: 0.1
HEADS_LR_FACTOR: 1.0
IMS_PER_BATCH: 128
LOG_PERIOD: 200
MAX_ITER: 18000
MOMENTUM: 0.9
OPT: Adam
SCHED: DelayedCosineAnnealingLR
STEPS:
30
55
SWA:
ENABLED: false
ETA_MIN_LR: 3.5e-06
ITER: 0
LR_FACTOR: 10.0
LR_SCHED: false
PERIOD: 10
WARMUP_FACTOR: 0.01
WARMUP_ITERS: 2000
WARMUP_METHOD: linear
WEIGHT_DECAY: 0.0005
WEIGHT_DECAY_BIAS: 0.0
TEST:
AQE:
ALPHA: 3.0
ENABLED: false
QE_K: 5
QE_TIME: 1
EVAL_PERIOD: 1000
IMS_PER_BATCH: 64
METRIC: cosine
PRECISE_BN:
DATASET: DukeMTMC
ENABLED: false
NUM_ITER: 300
RERANK:
ENABLED: false
K1: 20
K2: 6
LAMBDA: 0.3

adam() 优化器，有自己的学习率自动衰减
config 参数有 外在学习率衰减

scheduler 主要是改变了 Adam 里面的 base_lr，Adam 里面 adaptive 的部分还是会动态变化。

并行训练 如果采用分布式训练接口 syncbn 这个参数，是否还需要昵？为什么代码里面没有采用这个接口昵？
torch.nn.parallel.DistributedDataParallel

syncBN 主要是为了同步跨卡之间的 bn 统计量，因为现在是 id 采样，单卡上的图片统计量 noise 并不够。
目前采用的多卡方式还是简单的 dataparallel，DistributedDataParallel 我们正在做，估计下周会正式做好，替换现在的 dataparallel。

@L1aoXingyu
您好，打扰您了，想请教下问题
PRECISE_BN  dataset 主要做什么用昵
TEST:
EVAL_PERIOD: 2000   #测试间隔
PRECISE_BN:
DATASET: 'DukeMTMC'

@L1aoXingyu
提个建议，如果你们改代码， 训练迭代能用 epoch  循环吗？ 用迭代次数
真的很不直观，不同的数据应该都要各种改
我想和您确认下 修改不同数据后，超参数  这些超参数的设置 改动问题
duke 训练数据大概 17000 左右 那么batch=64单卡，  MAX_ITER: 18000 就是 70个epoch 左右，所以这个迭代次数需要怎么改以70 epoch 作为基准？
以下
BASE_LR: 0.00035
BIAS_LR_FACTOR: 2.
WEIGHT_DECAY: 0.0005
WEIGHT_DECAY_BIAS: 0.0
IMS_PER_BATCH: 128
SCHED: "DelayedCosineAnnealingLR"
不变
DELAY_ITERS: 9000   是 max iter 的一半，lr 变化是一个波峰，我设置也要是 最大迭代的一半？，还是要自己调整改变？
以下
ETA_MIN_LR: 0.00000077
WARMUP_FACTOR: 0.01
不变
WARMUP_ITERS: 2000  # 17000左右的duke 数据应该是 7个epoch 左右（batch 64)
FREEZE_ITERS: 2000   # 17000左右的duke 数据应该是 7个epoch 左右（batch 64)
冻结训练和 学习率预训练 迭代次数一致， 改变数据我应该， 也是这么多epoch ？
下面超参数也仍然不变
###################################################################
SOLVER:
OPT: "Adam"
MAX_ITER: 18000
BASE_LR: 0.00035
BIAS_LR_FACTOR: 2.
WEIGHT_DECAY: 0.0005
WEIGHT_DECAY_BIAS: 0.0
IMS_PER_BATCH: 128
SCHED: "DelayedCosineAnnealingLR"
DELAY_ITERS: 9000
ETA_MIN_LR: 0.00000077
WARMUP_FACTOR: 0.01
WARMUP_ITERS: 2000
FREEZE_ITERS: 2000
LOG_PERIOD: 200
CHECKPOINT_PERIOD: 6000

@L1aoXingyu
sgd  base lr=0.01,         warm up,这里可视化学习率 有一个奇怪的转折， 不知道哪里导致的？

PRECISE_BN dataset 主要做什么用昵
TEST:
EVAL_PERIOD: 2000 #测试间隔
PRECISE_BN:
DATASET: 'DukeMTMC'

这个是为了重新统计 bn 的统计量，而不是用 EMA 的统计量

提个建议，如果你们改代码， 训练迭代能用 epoch 循环吗？ 用迭代次数
真的很不直观，不同的数据应该都要各种改

非常好的建议，应该在下周发布的 0.2 版本里面就会解决这个问题，目前我的解决方案是这样的
cfg.defrost()
cfg.MODEL.HEADS.NUM_CLASSES = data_loader.dataset.num_classes
cfg.SOLVER.MAX_ITER *= iters_per_epoch
cfg.SOLVER.WARMUP_ITERS *= iters_per_epoch
cfg.SOLVER.FREEZE_ITERS *= iters_per_epoch
for i in range(len(cfg.SOLVER.STEPS)):
	cfg.SOLVER.STEPS[i] *= iters_per_epoch
cfg.SOLVER.SWA.ITER *= iters_per_epoch
cfg.SOLVER.SWA.PERIOD *= iters_per_epoch
cfg.SOLVER.CHECKPOINT_PERIOD *= iters_per_epoch
cfg.TEST.EVAL_PERIOD *= iters_per_epoch
cfg.freeze()

配置文件里面的的 iter 表示 epoch，然后在程序内部自动转换成 iter
Any advice？

sgd base lr=0.01, warm up,这里可视化学习率 有一个奇怪的转折， 不知道哪里导致的？

你这个是因为有两个 tensorboard 的保存文件导致的

@sky186
我们更新了代码，具体自动计算 epoch 的代码在这里
https://github.com/JDAI-CV/fast-reid/blob/13bb8d5b1ccbb01d5501b77e47b0cdbae6f6fc1e/fastreid/engine/defaults.py#L483

@L1aoXingyu
好的，se模块可以替换成 sge （Enhance: Improving SemanticFeature Learning in ，Convolutional
Networks, https://github.com/implus/PytorchInsight）

@sky186 Thanks, I will try it later.

@L1aoXingyu
多卡训练有什么需要注意的吗？
之前看到有讨论 对于circle loss  ,下面这个的意思不是很明白？
you need to tune batch size with K=4, P=4, which means batch size is 16, with 4 identities and 4 images of each identity. Besides, it needs to freeze backbone for the first 2000 iters.
You can try on market151,
batch 是 4个id，每个id 16张图，这里是一个比较关键的地方

@L1aoXingyu
新的代码
python3.6 ./tools/train_net.py --config-file ./configs/Market1501/mgn_R50-ibn.yml MODEL.DEVICE "cuda:0"
File "/usr/lib/python3.6/multiprocessing/popen_fork.py", line 66, in _launch
self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory

batch 是 4个id，每个id 16张图，这里是一个比较关键的地方

就是 batch 按 id 采样，batch=64，一共是 4 个id，每个 id 16 张图

OSError: [Errno 12] Cannot allocate memory

这个应该是你电脑的内存问题，你调小 num_workers 吧

@L1aoXingyu
opt = Ranger RangerLars
请问代码中默认Adam, 在更新的代码中删除了这些优化方法，是因为做实验效果不好吗？您用Ranger试验过吗？
class Ranger(Optimizer):
def init(self, params, lr=1e-3,  # lr
alpha=0.5, k=6, N_sma_threshhold=5,  # Ranger options
betas=(.95, 0.999), eps=1e-5, weight_decay=0,  # Adam options
use_gc=True, gc_conv_only=False
# Gradient centralization on or off, applied to conv layers only or conv + fc layers
):

您好！欢迎关注我们的工作~
看您的描述，应该是显存out of memory(OOM)了，因为按照默认设置，sbs在2000 iters之后会解冻model层，显存会出现暴增，训练时长也会变长，这些都是正常现象。如果是这样的话，建议您改小batch size（SOLVER.IMS_PER_BATCH）即可，当然相应的iters也需要依据batch size重新计算。
如果不是OOM的问题，方便把输出结果，以及config.yaml贴一下吗？

请问多卡训练，需要将 backbone 和 head 中的 BN 替换为 syncBN，这里的backbone、 head 、具体指的是哪些.py文件？如果能给出具体位置将不胜感激涕零。

@sky186 试了一下这些 optimizer，效果都比较一般，如果你那边有好的实验结果，可以一起讨论一下。

repo: JDAI-CV/fast-reid


text:
Detected invalid timing cache, setup a local cache instead

docker ： nvcr.io/nvidia/pytorch:21.05-py3
Driver Version: 470.57.02
CUDA Version: 11.4
TensorRT 7.3   TensorRT 8
model ：https://github.com/JDAI-CV/fast-reid/blob/master/MODEL_ZOO.md#veri-baseline
let the VeRi  SBS  model to trt, it fail.
But use the Market1501 SBS ,it success
Both of VeRi and Market1501 are differtent architecture？
all back to non-int8 implementation for any layer consuming or producing given tensor        trt_utils.cpp:252
WARN         TRT: Detected invalid timing cache, setup a local cache instead        trt_utils.cpp:252
WARN         TRT: No implementation of layer 417 obeys the requested constraints in strict mode. No conforming implementation was found i.e. requested layer computation precision and output precision types are ignored, using the fastest implementation.        trt_utils.cpp:252
WARN         TRT: No implementation of layer 419 obeys the requested constraints in strict mode. No conforming implementation was found i.e. requested layer computation precision and output precision types are ignored, using the fastest implementation.        trt_utils.cpp:252
WARN 	TRT: Detected invalid timing cache, setup a local cache instead	trt_utils.cpp:252
WARN 	TRT: No implementation of layer 417 obeys the requested constraints in strict mode. No conforming implementation was found i.e. requested layer computation precision and output precision types are ignored, using the fastest implementation.	trt_utils.cpp:252
WARN 	TRT: No implementation of layer 419 obeys the requested constraints in strict mode. No conforming implementation was found i.e. requested layer computation precision and output precision types are ignored, using the fastest implementation.	trt_utils.cpp:252
ERROR	TRT: instanceNormalizationPlugin.cu (292) - Cudnn Error in enqueue: 3 (CUDNN_STATUS_BAD_PARAM)	trt_utils.cpp:251

This error is about instanceNorm which is not supported in tensorRT.

How can I solve it ？
Do you have the advance？

If I change the backbone without ibn, is it better

How can I solve it ？
Do you have the advance？
If I change the backbone without ibn, is it better

You can refer to projects/fastRT which has instance norm  plugin. Or you can just use backbone without ibn.


text:
ArtifactoryClient.create(...) is deprecated

So use an ArtifactoryClientBuilder as advised in ArtifactoryClient.groovy

Thank you for this needed doc update (even if my IDE was suggesting me this way of doing already)

Thank you for this @ajeans!
Can you please join our contributors community by signing JFrog's CLA so that we can merge your code?

authors: ajeans eyalbe4 zonArt

repo: JFrogDev/artifactory-client-java


text:
Draft

fixed

errors


text:
🛑 Quotetool is down

In 15eeb81, Quotetool (https://www.quotetool.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Quotetool is back up in 3827c8d after 35 minutes.

repo: JNA-Dealer-Program/stats


text:
🛑 Glitch is down

In 342c420, Glitch ($GLITCH) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Glitch is back up in b3df77c after 57 minutes.

repo: JYFUX/upptime


text:
🛑 Glitch is down

In c31673e, Glitch ($GLITCH) was down:

HTTP code: 503
Response time: 178 ms

Resolved: Glitch is back up in e8e29ca after 47 minutes.


text:
🛑 Glitch is down

In 64614b6, Glitch ($GLITCH) was down:

HTTP code: 503
Response time: 401 ms

Resolved: Glitch is back up in 8fc4ba9 after 41 minutes.


text:
🛑 Glitch is down

In 6a33e6e, Glitch ($GLITCH) was down:

HTTP code: 503
Response time: 20518 ms

Resolved: Glitch is back up in 53a4787 after 36 minutes.


text:
🛑 Glitch is down

In 1caafee, Glitch ($GLITCH) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Glitch is back up in 30c9266 after 65 days, 23 hours, 20 minutes.


text:
docs: Add British English preference to PR template

Pull Request

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

#185  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @JackPlowman and the rest of your teammates on  Graphite

Merge activity

Oct 27, 7:07 AM EDT: A user merged this pull request with Graphite.

repo: JackPlowman/github-stats-analyser


text:
compile 'cn.dreamtobe.kpswitch:library:1.4.1' 类找不到

compile 'cn.dreamtobe.kpswitch:library:1.4.1' 引用这个，类都找不到，但compile 'cn.dreamtobe.kpswitch:library:1.3.0' 就没问题

多谢你的好意，不过应该是有的，你检查下你的网络。再试试。再check下你的 repositories是否有配置 jcenter() 或者 marvinCentral()。

这个是MarvinCentral仓库上的:
https://oss.sonatype.org/content/repositories/releases/cn/dreamtobe/kpswitch/library/1.4.1/

这个是Jcenter仓库上的:
http://jcenter.bintray.com/cn/dreamtobe/kpswitch/library/1.4.1/

或者你clean下，再re-build下，有可能是ide的坑，也有可能是国内网络的坑。还有什么问题，同步到这个issue。

谢谢，问题终于解决了，使用之前下载好的 gradle 后，都在本地能搜到那些 jar aar文件了，但还是不能调用，改用推荐的 gradle 就好了

:100:

P.S: 建议使用 目前最新版本 1.4.2，避免在混淆的时候 混淆不过。

repo: Jacksgong/JKeyboardPanelSwitch


text:
createCourse doesn't require a valid session

createCourse is open to the public internet
Anybody can create courses without a valid sessionID

See the changes made here:

authors: Gehadelrobey rcreagha


text:
[Do-not-merge] Update release action to include test module

For running our tests with the test module on nightly (or manual) execution, we need to use the test artifacts stored in nexus.
If its version is not kept in-sync with the actual module it's testing, it can easily become painful to maintain. This PR adds the same logic than the publish action but adapted for release.
Note: The NPM modules are not included.

Note: not to be merged until properly tested with the sandbox repo

repo: Jahia/jahia-modules-action


text:
Don't touch my settings

Why the hell does it need to change my settings?

hi @Scorg since the extension allows you to move around using relative line numbers, your editor needs to show relative line numbers for this to work, which is why during setup, it changes the line numbers from Absolute to Relative.
Without this change, the extension doesnt make any sense at all.
Here is the setting it changed
https://github.com/Jaimeloeuf/relativity/blob/master/src/setup.ts
You can change it back if it is not something you want anymore, thanks!

authors: Jaimeloeuf Scorg

repo: Jaimeloeuf/relativity


text:
Fold transition

Here is the next one: Fold transition, related to #155
That PR implements the Fold transition, it's working as expected, and can be customise with using params: Fold(nbFolds) which will change the number of pan during the transition, default is 2.
Missing:

Reverse: I didn't find a way to detect if the transition is a push or a pop. Did you implement a system for that? The navigation is currently in hard coding (a private property set to true)
Direction: not sure if that's needed, but after some tests I think it could be nice to setup the direction. Moreover, it could be used to solve the reverse issue if there no existing code to detect the that.

The main code won't move (at least, if we dont implement the direction which is way more complex 😆) that much, so if you have any feedback, let me know 👐
/!\ This PR is not finished yet, don't merge it /!\

@tbaranes thanks for the PR, great one 😎
Currently, the way to support reverse is to use direction eg. left vs right, in vs out. Because if we can support reverse transition effect, we should be able to expose the parameter, in FoldAnimator we can support FoldAnimator(.Right, nbFolds) and FoldAnimator(.Left, nbFolds)
FoldAnimator(.Right, nbFolds)  will set reverse = false and  FoldAnimator(.Right, nbFolds)  will set reverse = true
Please let me know if you have any questions.

👍 Will work on it next week!

Here a small update:

Small refactoring of the AnimationTransitonType to handle default direction, and direction + params
The fold now handles direction to manage the revere animation

Still missing: vertical fold animations, it's only working when used at the horizontal

Update: the vertical animation is here! Ready to merge from my side, what do you think about it @JakeLin ? 🎉

@tbaranes  well done, 👍 vertical animations fit most of the use cases. please get it in when you free ready. Thanks.

Thanks Jake! If travis build passed, I will merge it 👯

@tbaranes thanks again, I have fixed buddybuild by uploading the provisioning profile and p12 files. It is green again.

authors: JakeLin tbaranes

repo: JakeLin/IBAnimatable


text:
Option to trigger demo mode on M+

If Google doesn't screw me and close down permission on final.
https://newcircle.com/s/post/1745/2015/07/10/tweaking-system-ui-tuner

https://gist.github.com/NightlyNexus/106c068e6f80f0151698
may be helpful; it's just copypasta from devunwired's post.

GOOGLE CRUSHED MY DREAMS IN MP3. Needs a system-signed permission.

@JakeWharton Would you consider a PR that adds a toggle for Demo Mode (like Show Touches)? The toggle could show up iff the system permission is granted or the device is rooted.

Yes!
On Mon, Jan 9, 2017 at 12:49 PM Eric Cochran notifications@github.com
wrote:

@JakeWharton https://github.com/JakeWharton Would you consider a PR
that adds a toggle for Demo Mode (like Show Touches)? The toggle could show
up iff the system permission is granted or the device is rooted.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/Telecine/issues/59#issuecomment-271403392,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEEEQ7qpA-W-hRU0QgaGZjlq1kSRlRCks5rQp1vgaJpZM4FX-DU
.

For future travelers: https://github.com/JakeWharton/Telecine/pull/144

authors: JakeWharton NightlyNexus

repo: JakeWharton/Telecine


text:
use getClassLoader().loadClass() replace for Class.forName , because …

for our atlas project , business has bundle ClassLoader , if the ButterKnife is in maindex, the Class.forName can't load the class in the bundle . so if you can use class.getClassLoader() instead , thanks

Thanks!

authors: JakeWharton jiawulu

repo: JakeWharton/butterknife


text:
add Kart

Adding Kart CLI to the list. Also my IDE removed some white space from the end of a few lines, that's not me being pedantic!

Great. Thank you very much. Interesting that there are three different geospatial version control systems.

authors: JakobMiksch johnwbryant

repo: JakobMiksch/geospatial-cli


text:
Its a scam, please help me

0xFA02917ddB9C4a14a64bea486F3cb5bF55780D66
That address i sent or send my 0.076eth and i didnt know that was a scam.. please help me to retrieve or revoke it 0.076 eth that i sent or send to him i hope someone will help me.. that money i will spend to buy my motorcycle so i dont need to commute.. someone please help me to retrieve it..
This is my wallet address
0x113e17bFB9Ce1FeCD812Ee6BB55f9eB291989a66

Hi @vinztk23, sorry to hear about your loss...
This tool is unable to reverse transactions and can only help you revoke ERC20/ERC721 allowances.

Ok i thought you guys could help me on this problem.
On Thu, Oct 20, 2022, 12:52 James Sangalli @.***> wrote:

Closed #38 https://github.com/James-Sangalli/eth-allowance/issues/38 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/James-Sangalli/eth-allowance/issues/38#event-7627193134,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZ3SI4Z2V32AGKWZU4UM2HDWEDFY5ANCNFSM52M6C4IQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

repo: James-Sangalli/eth-allowance


text:
X509 principal resolver configuration option

There's an issue that I have faced which caused me to have to customize the X509CertificateCredentialsToIdentiferPrincipalResolver class. The CN on the certs contain periods, e.g., DOEJOHN1234.5679.0. However, when the certs are registered on the LDAP, these periods are removed (e.g., DOEJOHN1234567890). Since the CN extracted from the cert is used as an identifier and is searched for in the LDAP, it would be convenient if there were a way to specify this in the deployerConfigContext.xsml to account for this situation.
To handle this situation, I had to replace all periods before returning the username in the resolvePrincipalInternal method. I'm not sure whether anyone else has a similar issue, but thought I'd propose this configuration option in case others have a need to do something similar.

No longer applicable as component is removed.

repo: Jasig/cas


text:
NOJIRA: Fix HTTP 404 on dynamic-respondr-skin.portlet-definition.xml

Use apps/preferences-desktop-theme.png instead of actions/preferences-desktop-theme.png
@see https://github.com/Jasig/resource-server/blob/master/resource-server-content/src/main/webapp/rs/tango/0.8.90/32x32/apps/preferences-desktop-theme.png

Thank you @auxepaul!  This is a great catch.

authors: auxepaul drewwills

repo: Jasig/uPortal-start


text:
CPIX 문서 URL 최신거로 수정

https://github.com/Jason239/pallycon-cpix-client-java/blob/1ef852a057710579d644fd13a7cd49323aec27a1/README.md?plain=1#L123
현재 CPIX 문서는 2.3 버전입니다.
https://dashif-documents.azurewebsites.net/Cpix/master/Cpix.html

수정 반영하였습니다.


text:
Dark-light mode

It will be beautiful if we will create a dark-light tooggle button in navbar.. which will switch to dark and light mode when clicked @JasonDsouza212

Once we Migrate to new UI lets work on it

Once we Migrate to new UI lets work on it

Okay 👍


text:
fix: copyright section bad text contrast 🛠

Related Issue
Closes #1201
Description

This PR is about fixing the bad color contrast of copyright text section, which is way more important to improve visual accessibility of our website

Screenshots

BEFORE
AFTER

Checklist

[x] My code adheres to the established style guidelines of the project.
[x] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

Please review this PR @JasonDsouza212, @VenomFate-619.


text:
fix: remove broken links, fix some links

Remove some broken links, like Pogo, and Soap2Day.
Fix some links that were half-written, like Pika Style, Code Beautify, and 100L5.
Other links are alright.

https://pogolinks.art/   - Pogolink
https://ww.soap2dayfree.net/home/  - soap today

you can add these links to pogolinks and soap2day

@suzy-g38 thank you for your contribution


text:
Status badge shows "build: mixed" even though the workflow was successful

When I visit the URL for the badge for my public repo (https://action-badges.now.sh/xJREB/microservices-runtime-analysis), I see the correct "build: passing" badge. However, on Github in my README (https://github.com/xJREB/microservices-runtime-analysis), I see a different badge with "build: mixed". Any idea what is happening there? Did I inlcude the badge somehow wrongly?
[![Actions Status](https://action-badges.now.sh/xJREB/microservices-runtime-analysis)](https://github.com/xJREB/microservices-runtime-analysis/actions)

Shows as passing for me! It's likely just a caching issue, the caching headers can be pretty fickle. I'll close this out since there's nothing actionable (heh, actionable).

Yeah, like I said, if I visit the URL shown in your screenshot, the badge looks fine. However, it does NOT at my repository site:

Any idea why? I'm pretty sure it's not related to caching. Already tried different browsers and even from different locations.

It's actually GitHub caching the image, not your browser - if you'll notice, GitHub grabs the image and saves it to its own domain:

This is done for security reasons, but can cause images to fall out of date in weird ways. This repo uses the same caching headers as badgen, so as far as I know that's the best we can do 😬

Ah, very interesting... 🤔 Thanks for the info and the support! I'll keep an eye on it, maybe it'll resolve itself in some time.

authors: JasonEtco xJREB

repo: JasonEtco/action-badges


text:
Compressed images

Images that are futher compressed than what was done by imgbot to reduce the file size of this application

Quality lose is not acceptable:

authors: JasonStein VeryRealBot

repo: JasonStein/Notepads


text:
如何根据多个mac地址扫描

如何根据多个mac地址扫描蓝牙设备，貌似只能配置一个mac

You can scan by applying the filter for a service or characteristic
Example for java :
`
public static final UUID BLUETOOTH_WALLBOX_SERVICE = UUID.fromString( "331a36f5-2459-45ea-9d95-6142f0c4b307");
UUID[] listauuid = new UUID[] {Costanti.BLUETOOTH_WALLBOX_SERVICE};
String device_name = "";
String device_mac = "";
BleScanRuleConfig scanRuleConfig = new BleScanRuleConfig.Builder()
.setServiceUuids( listauuid )
.setDeviceName(true, device_name )
.setDeviceMac( device_mac )
.setAutoConnect(false)
.setScanTimeOut(BLUETOOTH_WALLBOX_SCANPERIOD)
.build();
BleManager.getInstance().initScanRule(scanRuleConfig);
BleManager.getInstance().scan(new BleScanCallback() {

.....
`

BLUETOOTH_WALLBOX_SCANPERIOD = 5000; !

You can scan by applying the filter for a service or characteristic
Example for java :
public static final UUID BLUETOOTH_WALLBOX_SERVICE = UUID.fromString( "331a36f5-2459-45ea-9d95-6142f0c4b307");

UUID[] listauuid = new UUID[] {Costanti.BLUETOOTH_WALLBOX_SERVICE};
String device_name = "";
String device_mac = "";
BleScanRuleConfig scanRuleConfig = new BleScanRuleConfig.Builder()
.setServiceUuids( listauuid )
.setDeviceName(true, device_name )
.setDeviceMac( device_mac )
.setAutoConnect(false)
.setScanTimeOut(BLUETOOTH_WALLBOX_SCANPERIOD)
.build();
BleManager.getInstance().initScanRule(scanRuleConfig);

BleManager.getInstance().scan(new BleScanCallback() {

不知道为什么，我的蓝牙设备不能直接得到UUID，只能通过解析ScanRecord得到，通过UUID过滤是不成功的

Your device probably has a dynamic UUID, that is, it can change or it has hidden uuid Or it is not yet a 'commercial' device or correctly registered with the bluetooth consortium...
It is not a problem that cannot be solved:

you must know the advertising record perfectly
you must always read all nearby devices during the scan, because you have to compare all scan records (adverstising record)
Then surely only by knowing your enemy can you win the battle!

Can you tell me which is your device?
Maybe, I can help you, you see ... I wrote the app for the wallbox of one of the most important car manufacturers in the world that uses a custom bluetooth.

Your device probably has a dynamic UUID, that is, it can change or it has hidden uuid Or it is not yet a 'commercial' device or correctly registered with the bluetooth consortium...
It is not a problem that cannot be solved:

you must know the advertising record perfectly
you must always read all nearby devices during the scan, because you have to compare all scan records (adverstising record)
Then surely only by knowing your enemy can you win the battle!

Can you tell me which is your device?
Maybe, I can help you, you see ... I wrote the app for the wallbox of one of the most important car manufacturers in the world that uses a custom bluetooth.

我使用安卓原生的api进行扫描发现身边所有的蓝牙设备获得的name和uuis全都是null，只有address有值，如图所示：
其中scanFilters我没有添加任何项目，buildDefaultScanSettings函数使用默认参数

日志输出如下：

我参考了厂家给出的实例apk，按照这个方法解析ScanRecord类获得的字节码就能得到UUID，其中scanData数组是ScanRecord.getBytes()方法获得的值

所以根据uuid来扫描设备永远扫描不到任何设备，只有根据address才可以

如何根据多个mac地址扫描蓝牙设备，貌似只能配置一个mac

你可以默认搜索,找到就用 断开就走回调断开。
当一个设备太频繁的时候 Android这边会把你踢掉。板子那边会出现卡死的情况

authors: BaoBaoss kingiis massimilianochiodi

repo: Jasonchenlijian/FastBle


text:
Local image support

Feature parity with iOS - https://github.com/Jasonette/JASONETTE-iOS/pull/211
Should support local image rendering for

header.title
header.menu
footer.tabs
footer.input
body.style.background
layers
sections.items.image
sections.items.button

Resolved with https://github.com/Jasonette/JASONETTE-Android/commit/87f0f4125aa3413a109998fa1a858279ccf746ba

So this support is for images installed with apps.
Any plans to add access to any image(s) on file system?

Okay i found https://github.com/Jasonette/JASONETTE-Android/blob/d4a375e0127e6ab4a12883756aa800bfba5005ef/app/src/main/java/com/jasonette/seed/Action/JasonMediaAction.java#L107 but i think its missing a EXTRA_ALLOW_MULTIPLE on the intent. So iiuc the image  picker allows picking only one image.
Any way to load multiple images or an entire album?

repo: Jasonette/JASONETTE-Android


text:
IfNotExists methods should rely on IdentityAttribute

I expected the IfNotExists methods available through the patch API to use the Identity property on an object but it's doing an exact match check which doesn't play nicely with objects that have timestamps on them.
Code location:
https://github.com/JasperFx/marten/blob/fd733681aa607657e58e93f9da4b35e2b7b2eda2/src/Marten/Schema/SQL/mt_patching.js#L109-L110

Can you provide a little more context about what you're doing?

Here's some examples that might help clarify:
InsertIfNotExists/AppendIfNotExists
Given I have a sub-document with a property that holds the created timestamp of that sub-document
And I have inserted it into an array in the parent document
When I InsertIfNotExists that same sub-document with a new timestamp
Then I expect nothing to happen because the id is the same
But I instead have a duplicate item with the only difference being the timestamp
Example Classes:
Class MyParent
{
    [Identity]
    string Id {get;set}
    List<MyChild> Children {get;set;}
}

Class MyChild
{
    [Identity]
    string Id {get;set}
    DateTime CreationDate {get;set}
    string Name {get;set}
}

Remove sub-document
Given I have a sub-document stored in an array
And the C# class has changed
When I try to Remove the item from the array
Then I expect the item to be removed because the data is "identical"
But the item remains because the C# class serializes differently now
Summary
Due to this aforementioned issues I've told my team to not use the patch API for managing items within an array. It's safer to read the whole array into memory, update it in C# and then set the array. This isn't efficient but it's the only way we can be sure we don't experience silent failures that will bite us later.

@sw-carlin Finally getting into this more for the v4 release. I think you might have over-generalized the issue a little bit here. Dollars to donuts this is an issue specific to DateTimeOffset/DateTime precision and probably not something we can actually beat easily. I think at most this needs to be handled with documentation warning you about the DateTime precision issue. And this isn't the first bug related to DateTime precision we've faced.

Closed by https://github.com/JasperFx/marten/commit/7f434269879f6f6bdebf8009714a6ec40fb3a21e

authors: jeremydmiller sw-carlin

repo: JasperFx/marten


text:
Balanced durability mode doesn't work with RabbitMQ (attempt 2)

This issue is direct continuation of #788.
Verified wolverine v2.2.0 which have included PR #791 aim to fix this but it still doesn't work on repro repo.
I would appreciate further investigation on this @jeremydmiller

@ArkadiuszChorian I'm sorry, but your make script didn't work for me, and I just don't have enough bandwidth to trouble shoot whatever is going on with your docker setup. You'd neglected to mention -- unless I completely missed that -- that your issue came from publishing an app to docker because this works all day long just running the process.
I'll take one more shot at it if you can feed me the exact stack trace after Wolverine 2.4 hits later this evening with just a little more in the exception message that might explain what I'm guessing is a race condition of some sort.
And Wolverine is a community OSS project that accepts pull requests, so feel free to dig in if you can. Or my bandwidth weirdly goes up if you engage w/ JasperFx Software.

@jeremydmiller Unfortunately it's not the happy ending for my project but I understand your limited bandwidth. Despite that I'll try to follow up your last comment.
First of all

your issue came from publishing an app to docker because this works all day long just running the process

That would be good clue but unfortunately it's not the case here. We prepared repro repo using docker and make only to automate whole setup for you but this issue is still present without docker (aka native development).
Now this part

I'll take one more shot at it if you can feed me the exact stack trace after Wolverine 2.4 hits later this evening with just a little more in the exception message that might explain what I'm guessing is a race condition of some sort.

I updated Wolverine to 2.5 and below are the logs (app run without docker). Maybe it'll somehow trigger an idea in your mind.
info: Wolverine.Runtime.Agents.NodeAgentController[0]
      Starting agents for Node d9b91381-d801-48ef-a88e-51644065d494 with assigned node id 1
info: Wolverine.Runtime.Agents.NodeAgentController[0]
      Found no other existing nodes, deciding to assume leadership in node 1
fail: Wolverine.Runtime.WolverineRuntime[0]
      Failed to start the Wolverine messaging
      System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
       ---> System.ArgumentOutOfRangeException: Endpoint rabbitmq://exchange/test.exchange does not have an active sending agent. Message type: Wolverine.Runtime.Agents.TryAssumeLeadership (Parameter 'endpoint')
         at Wolverine.Runtime.Routing.MessageRoute..ctor(Type messageType, Endpoint endpoint, IReplyTracker replies) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/Routing/MessageRoute.cs:line 28
         at Wolverine.Runtime.Routing.MessageRouterBase`1.<>c__DisplayClass2_0.<.ctor>b__1(Endpoint endpoint) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/Routing/MessageRouterBase.cs:line 30
         at System.Linq.Enumerable.WhereSelectArrayIterator`2.ToArray()
         at Wolverine.Runtime.Routing.MessageRouterBase`1..ctor(WolverineRuntime runtime) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/Routing/MessageRouterBase.cs:line 29
         at Wolverine.Runtime.Routing.MessageRouter`1..ctor(WolverineRuntime runtime, IEnumerable`1 routes) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/Routing/MessageRouter.cs:line 9
         at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
         at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
         --- End of inner exception stack trace ---
         at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
         at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
         at System.Activator.CreateInstance(Type type, Object[] args)
         at JasperFx.Core.Reflection.TypeExtensions.CloseAndBuildAs[T](Type openType, Object ctorArgument1, Object ctorArgument2, Type[] parameterTypes)
         at Wolverine.Runtime.WolverineRuntime.RoutingFor(Type messageType) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/WolverineRuntime.Routing.cs:line 97
         at Wolverine.Runtime.MessageBus.PublishAsync[T](T message, DeliveryOptions options) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/MessageBus.cs:line 154
         at Wolverine.Runtime.WolverineRuntime.startNodeAgentWorkflowAsync() in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/WolverineRuntime.Agents.cs:line 180
         at Wolverine.Runtime.WolverineRuntime.startAgentsAsync() in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/WolverineRuntime.Agents.cs:line 135
         at Wolverine.Runtime.WolverineRuntime.StartAsync(CancellationToken cancellationToken) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/WolverineRuntime.HostService.cs:line 51
fail: Microsoft.Extensions.Hosting.Internal.Host[11]
      Hosting failed to start
      System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
       ---> System.ArgumentOutOfRangeException: Endpoint rabbitmq://exchange/test.exchange does not have an active sending agent. Message type: Wolverine.Runtime.Agents.TryAssumeLeadership (Parameter 'endpoint')
         at Wolverine.Runtime.Routing.MessageRoute..ctor(Type messageType, Endpoint endpoint, IReplyTracker replies) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/Routing/MessageRoute.cs:line 28
         at Wolverine.Runtime.Routing.MessageRouterBase`1.<>c__DisplayClass2_0.<.ctor>b__1(Endpoint endpoint) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/Routing/MessageRouterBase.cs:line 30
         at System.Linq.Enumerable.WhereSelectArrayIterator`2.ToArray()
         at Wolverine.Runtime.Routing.MessageRouterBase`1..ctor(WolverineRuntime runtime) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/Routing/MessageRouterBase.cs:line 29
         at Wolverine.Runtime.Routing.MessageRouter`1..ctor(WolverineRuntime runtime, IEnumerable`1 routes) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/Routing/MessageRouter.cs:line 9
         at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
         at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
         --- End of inner exception stack trace ---
         at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
         at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
         at System.Activator.CreateInstance(Type type, Object[] args)
         at JasperFx.Core.Reflection.TypeExtensions.CloseAndBuildAs[T](Type openType, Object ctorArgument1, Object ctorArgument2, Type[] parameterTypes)
         at Wolverine.Runtime.WolverineRuntime.RoutingFor(Type messageType) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/WolverineRuntime.Routing.cs:line 97
         at Wolverine.Runtime.MessageBus.PublishAsync[T](T message, DeliveryOptions options) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/MessageBus.cs:line 154
         at Wolverine.Runtime.WolverineRuntime.startNodeAgentWorkflowAsync() in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/WolverineRuntime.Agents.cs:line 180
         at Wolverine.Runtime.WolverineRuntime.startAgentsAsync() in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/WolverineRuntime.Agents.cs:line 135
         at Wolverine.Runtime.WolverineRuntime.StartAsync(CancellationToken cancellationToken) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/WolverineRuntime.HostService.cs:line 51
         at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
         at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
fail: Wolverine.Runtime.Agents.IAgentCommand[0]
      Invocation failed!
      System.ObjectDisposedException: Cannot access a disposed object.
      Object name: 'Npgsql.PoolingDataSource'.
         at Npgsql.ThrowHelper.ThrowObjectDisposedException(String objectName)
         at Npgsql.NpgsqlDataSource.CheckDisposed()
         at Npgsql.PoolingDataSource.Get(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
         at Npgsql.NpgsqlConnection.<Open>g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken)
         at Npgsql.NpgsqlDataSource.OpenConnectionAsync(CancellationToken cancellationToken)
         at Npgsql.NpgsqlDataSource.OpenConnectionAsync(CancellationToken cancellationToken)
         at Npgsql.NpgsqlDataSource.OpenDbConnectionAsync(CancellationToken cancellationToken)
         at Wolverine.RDBMS.Polling.DatabaseOperationBatch.ExecuteAsync(IWolverineRuntime runtime, CancellationToken cancellationToken) in /home/runner/work/wolverine/wolverine/src/Persistence/Wolverine.RDBMS/Polling/DatabaseOperationBatch.cs:line 61
         at Wolverine.Runtime.Agents.AgentCommandHandler.HandleAsync(MessageContext context, CancellationToken cancellation) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/Agents/AgentCommandHandler.cs:line 36
         at Wolverine.Runtime.Handlers.Executor.InvokeAsync(MessageContext context, CancellationToken cancellation) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/Handlers/Executor.cs:line 202
fail: Wolverine.Runtime.Agents.IAgentCommand[0]
      Inline invocation of Wolverine.RDBMS.Polling.DatabaseOperationBatch failed
      System.ObjectDisposedException: Cannot access a disposed object.
      Object name: 'Npgsql.PoolingDataSource'.
         at Npgsql.ThrowHelper.ThrowObjectDisposedException(String objectName)
         at Npgsql.NpgsqlDataSource.CheckDisposed()
         at Npgsql.PoolingDataSource.Get(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
         at Npgsql.NpgsqlConnection.<Open>g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken)
         at Npgsql.NpgsqlDataSource.OpenConnectionAsync(CancellationToken cancellationToken)
         at Npgsql.NpgsqlDataSource.OpenConnectionAsync(CancellationToken cancellationToken)
         at Npgsql.NpgsqlDataSource.OpenDbConnectionAsync(CancellationToken cancellationToken)
         at Wolverine.RDBMS.Polling.DatabaseOperationBatch.ExecuteAsync(IWolverineRuntime runtime, CancellationToken cancellationToken) in /home/runner/work/wolverine/wolverine/src/Persistence/Wolverine.RDBMS/Polling/DatabaseOperationBatch.cs:line 61
         at Wolverine.Runtime.Agents.AgentCommandHandler.HandleAsync(MessageContext context, CancellationToken cancellation) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/Agents/AgentCommandHandler.cs:line 36
         at Wolverine.Runtime.Handlers.Executor.InvokeAsync(MessageContext context, CancellationToken cancellation) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/Handlers/Executor.cs:line 202
         at Wolverine.Runtime.Handlers.Executor.InvokeAsync(MessageContext context, CancellationToken cancellation) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/Handlers/Executor.cs:line 212
         at Wolverine.Runtime.Handlers.Executor.InvokeInlineAsync(Envelope envelope, CancellationToken cancellation) in /home/runner/work/wolverine/wolverine/src/Wolverine/Runtime/Handlers/Executor.cs:line 93

After lots of debugging, I found a line that was most likely causing this problem. After making that change, the error is no longer present, and the app starts, and runs, as expected.
The solution was starting Node Agent Workflow AFTER starting Messaging Transports, so the Agent is already initialized, and we don't get the null exception.
Please don't hesitate to check the PR:
https://github.com/JasperFx/wolverine/pull/952
I've also updated our repro repo, so now it works with the Wolverine's docker-compose, and doesn't require any make scripts.
To reproduce the error, simply run docker-compose from Wolverine, as you'd normally do, and then start the repro app normally.
https://github.com/ArkadiuszChorian/wolverine-balanced-durability-issue-788
@jeremydmiller @nkosi23

repo: JasperFx/wolverine


text:
Custom Generator 지원

비지니스에서 필요한 특수한 값의 형식과 범위를 일반적인 옵션의 제공으로 커버하기에는 무리가 있을 것으로 생각됩니다.
사용자에게 ObjectGenerator 를 구현할 수 있도록 제공한다면 좋지 않을까 생각합니다.

말씀하신 필요성에 대해서는 전적으로 공감합니다. 그리고 이 프로젝트에게 영감을 준 AutoFixture는 아주 풍부한 커스터마이징 API를 제공하고 저는 이 API들을 적극 사용합니다.
하지만 API 공개는 매우 조심스러운 일 입니다. 이미 AutoParams를 현장에서 사용하고 있다는 분둘이 계시고 저도 회사 프로젝트에 사용하기 시작했습니다. 비록 현재 버전이 0.0.*라 할지라도 사용자가 있는 상황에서 가급적 API breaking change는 없어야 합니다.
저는 AutoParams 프로젝트를 시작할 때부터 커스터마이징을 API를 염두하고 있었습니다. 말씀처럼 이것 없이는 사용성이 충분히 확보되지 못합니다. 하지만 저는 아직 Java와 JUnit에 적합한 API 설계에 대한 확신이 없습니다. 쉽게 결정된 공개 API는 breaking change를 야기할 가능성을 높이고 결국 사용자들은 AutoParams 버전을 높이기 위해 그들의 많은 코드를 수정해야 합니다. 이런 문제들을 고민하기 위해 #3 이슈를 준비하고 있습니다.
다시 말씀드리지만 공개 API 설계 확장은 매우 조심스럽고 방어적이어야 합니다. 커스터마이징 API에 대한 의견이 있으면 #3 이슈에 공유 부탁드립니다.

충분히 이해하였습니다. #3 를 살펴보겠습니다. :)

@kingbbode 이해해주셔서 고맙습니다! 👍

authors: gyuwon kingbbode

repo: JavaUnit/AutoParams