[WINE] Odd window steam issues

This is the step by step on how I set up wine for truckersmp
Making the wineprefix and data folders.
mkdir ~/Games/ets2
mkdir ~/Games/ets2/data - for game data
mkdir ~/Games/ets2/pfx - for prefix
Setting up and installing necessary stuff
export WINEARCH=win64 then export WINEPREFIX=~/Games/ets2/pfx
winetricks steam and then winetricks steam
Both did not give any errors and I logged in to my account on Steam
wineserver -k for good measures
Command & Error
truckersmp-cli -w -g "/home/xylon/Games/ets2/data" -x "/home/xylon/Games/ets2/pfx/" start ets2mp
ETS2 got downloaded and it tried to run the windows Steam but instead gave out an error (Image below)

I ran wine taskmgr inside of the prefix and killed the steam processes (and I left it running in the bg) reran the truckersmp-cli command, and steam ran but with 3 exceptions

it can't connect to Steam and I would have to kill wineserver.
If it WAS able to connect to steam then it would prompt me to install ETS2 again. (huh?)
AND if somehow it was able to run ETS2 it would use the resolution 2560x1600 which my monitor really doesn't like and would just return [Input not supported] (I added --game-options="-nointro -64bit -screen-width 1920 -screen-height 1080" BUT still used the same resolution instead of 1920x1080)

Information

OS: Arch Linux
Kernel: 5.15.4-zen1-1-zen
Proton or Wine version: Wine 6.21 TKG Staging
truckersmp-cli version: 0.7.3

I don't recommend to use development versions of Wine because they often have issues related to Windows version of Steam client. (Note: Such bugs should be reported to Wine Bugzilla)
Since we support Proton, Linux users don't need to suffer from Windows Steam issues.
As of 1.42, ETS2 and ATS don't require recent (unstable/experimental) Wine/Proton and probably you don't need to use the version.

I actually manage to make steam work although I have to run an app in the background for it to not give out.  TMP works perfectly but the only problem is that the game uses the resolution 2560x1600 although I set it through --game-options and at the game profile. The only workaround that I found is to use a virtual desktop and set it to 1920x1080.
This question is unrelated but do you know any alternatives to ets2-telemetry-server? I am trying to log jobs and etc since I've tried Truckersbook.eu but wasn't able to make it work.

the only problem is that the game uses the resolution 2560x1600 although I set it through --game-options and at the game profile.

I guess the resolution stuff is winex11 issue in Wine/Proton (might be game issue...?). Our software is a launcher and we cannot fix it.

The only workaround that I found is to use a virtual desktop and set it to 1920x1080.

Though our virtual desktop support (--wine-desktop option) was added for issue #90 which is already fixed, it's useful to work around resolution issue and we continue to support it.

do you know any alternatives to ets2-telemetry-server?

See/move to #157.


Adding eBook Sample to repository CI pipeline

Resolves issue #9

LGTM! @raymondliu2022 please address conflicts and we can merge this PR :-) Thanks!

@CesarValiente Hopefully this does the trick

Thanks for doing this @raymondliu2022 hope you have a great rest of the summer!! :-D


IPAdapter + Sliding window in animatediff is not working

Describe the bug
The weights of ipadapter can be correctly applied! Thanks for the fix! However, I found that the sliding window in animatediff is not working with ipadapter's weight, and it seems the sub_idxs below never gets updated.
https://github.com/siliconflow/onediff/blob/main/onediff_comfy_nodes/modules/oneflow/infer_compiler_registry/register_comfy/CrossAttentionPatch.py#L108
Your environment
Ubuntu 20.04
OneDiff git commit id
https://github.com/siliconflow/onediff/commit/2249010f8cfdbf2229bdf84134b5398541b2d6fe
OneFlow version info
libibverbs not available, ibv_fork_init skipped
path: ['/home/ubuntu/miniconda3/envs/comfy/lib/python3.10/site-packages/oneflow']
version: 0.9.1.dev20240420+cu121
git_commit: 665bcf8
cmake_build_type: Release
rdma: True
mlir: True
enterprise: False
How To Reproduce
The workflow below can reproduce the bug.
onediff_adiff_ipadapter_reproduce.json
The complete error message
No error message noted.
Additional context
Dependency version is followed this pr: https://github.com/siliconflow/onediff/pull/879
ComfyUI-AnimateDiff-Evolved commit id: f9e0343f4c4606ee6365a9af4a7e16118f1c45e1

该bug已经被成功复现，需要以下插件 ComfyUI-VideoHelperSuite、ComfyUI-KJNodes 、ComfyUI-Custom-Scripts、ComfyUI_FizzNodes 、ComfyUI_Advanced_ControlNet 工作流程如下图所示：

报错信息如下
[ERROR](GRAPH:OneflowGraph_0:OneflowGraph) building graph got error.
ERROR [2024-07-16 07:49:37] /data/home/lijunliang/project/onediff/src/onediff/infer_compiler/backends/oneflow/deployable_module.py:38 - Exception in forward: e=RuntimeError("\x1b[1m\x1b[38;2;255;000;000mError\x1b[0m: RuntimeError : This is a oneflow bug, please submit an issue at 'https://github.com/Oneflow-Inc/oneflow/issues' including the log information of the error, the minimum reproduction code, and the system information.\n")
WARNING [2024-07-16 07:49:37] /data/home/lijunliang/project/onediff/src/onediff/infer_compiler/backends/oneflow/deployable_module.py:39 - Recompile oneflow module ...
[ERROR](GRAPH:OneflowGraph_1:OneflowGraph) building graph got error.
  0%|                                                                                | 0/8 [00:08<?, ?it/s]
!!! Exception during processing!!! Error: RuntimeError : This is a oneflow bug, please submit an issue at 'https://github.com/Oneflow-Inc/oneflow/issues' including the log information of the error, the minimum reproduction code, and the system information.

Traceback (most recent call last):
  File "/data/home/lijunliang/project/onediff/src/onediff/infer_compiler/backends/oneflow/deployable_module.py", line 36, in wrapper
    return func(self, *args, **kwargs)
  File "/data/home/lijunliang/project/onediff/src/onediff/infer_compiler/backends/oneflow/graph_management_utils.py", line 118, in wrapper
    ret = func(self, *args, **kwargs)
  File "/data/home/lijunliang/project/onediff/src/onediff/infer_compiler/backends/oneflow/deployable_module.py", line 144, in forward
    output = dpl_graph(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/graph.py", line 295, in __call__
    self._compile(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/graph.py", line 861, in _compile
    return self._dynamic_input_graph_cache._compile(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/cache.py", line 121, in _compile
    return graph._compile(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/graph.py", line 865, in _compile
    return self._compile_new(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/graph.py", line 884, in _compile_new
    _, eager_outputs = self.build_graph(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/graph.py", line 1429, in build_graph
    outputs = self.__build_graph(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/graph.py", line 1577, in __build_graph
    outputs = self.build(*lazy_args, **lazy_kwargs)
  File "/data/home/lijunliang/project/onediff/src/onediff/infer_compiler/backends/oneflow/graph.py", line 19, in build
    return self.model(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/proxy.py", line 188, in __call__
    result = self.__block_forward(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/proxy.py", line 238, in __block_forward
    result = unbound_forward_of_module_instance(self, *args, **kwargs)
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/onediff_comfy_nodes/modules/oneflow/infer_compiler_registry/register_comfy/openaimodel.py", line 96, in forward
    h = forward_timestep_embed(
  File "/data/home/lijunliang/project/onediff/src/onediff/infer_compiler/backends/oneflow/import_tools/dyn_mock_mod.py", line 65, in proxy_func
    return sub_module()(*args, **kwargs)
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/ComfyUI_AnimateDiff_Evolved/animatediff/sampling.py", line 167, in forward_timestep_embed
    x = layer(x, context, transformer_options)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/proxy.py", line 188, in __call__
    result = self.__block_forward(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/proxy.py", line 238, in __block_forward
    result = unbound_forward_of_module_instance(self, *args, **kwargs)
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/onediff_comfy_nodes/modules/oneflow/infer_compiler_registry/register_comfy/attention.py", line 130, in forward
    x = block(x, context=context[i], transformer_options=transformer_options)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/proxy.py", line 188, in __call__
    result = self.__block_forward(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/proxy.py", line 238, in __block_forward
    result = unbound_forward_of_module_instance(self, *args, **kwargs)
  File "/data/home/lijunliang/project/ComfyUI/comfy/ldm/modules/attention.py", line 618, in forward
    n = attn2_replace_patch[block_attn2](n, context_attn2, value_attn2, extra_options)
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/onediff_comfy_nodes/modules/oneflow/infer_compiler_registry/register_comfy/CrossAttentionPatch.py", line 58, in __call__
    out = out + callback(out, q, k, v, extra_options, optimized_attention=self.optimized_attention, **self.kwargs[i], **patch_kwargs[i])
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/onediff_comfy_nodes/modules/oneflow/infer_compiler_registry/register_comfy/CrossAttentionPatch.py", line 124, in ipadapter_attention
    weight = torch.Tensor(weight[ad_params["sub_idxs"]])
RuntimeError: Error: RuntimeError : This is a oneflow bug, please submit an issue at 'https://github.com/Oneflow-Inc/oneflow/issues' including the log information of the error, the minimum reproduction code, and the system information.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/data/home/lijunliang/project/ComfyUI/execution.py", line 151, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
  File "/data/home/lijunliang/project/ComfyUI/execution.py", line 81, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
  File "/data/home/lijunliang/project/ComfyUI/execution.py", line 74, in map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
  File "/data/home/lijunliang/project/ComfyUI/nodes.py", line 1373, in sample
    return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise)
  File "/data/home/lijunliang/project/ComfyUI/nodes.py", line 1343, in common_ksampler
    samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image,
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/ComfyUI_AnimateDiff_Evolved/animatediff/sampling.py", line 520, in motion_sample
    latents = orig_comfy_sample(model, noise, *args, **kwargs)
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/ComfyUI_Advanced_ControlNet/adv_control/control_reference.py", line 47, in refcn_sample
    return orig_comfy_sample(model, *args, **kwargs)
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/ComfyUI_Advanced_ControlNet/adv_control/utils.py", line 112, in uncond_multiplier_check_cn_sample
    return orig_comfy_sample(model, *args, **kwargs)
  File "/data/home/lijunliang/project/ComfyUI/comfy/sample.py", line 43, in sample
    samples = sampler.sample(noise, positive, negative, cfg=cfg, latent_image=latent_image, start_step=start_step, last_step=last_step, force_full_denoise=force_full_denoise, denoise_mask=noise_mask, sigmas=sigmas, callback=callback, disable_pbar=disable_pbar, seed=seed)
  File "/data/home/lijunliang/project/ComfyUI/comfy/samplers.py", line 801, in sample
    return sample(self.model, noise, positive, negative, cfg, self.device, sampler, sigmas, self.model_options, latent_image=latent_image, denoise_mask=denoise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed)
  File "/data/home/lijunliang/project/ComfyUI/comfy/samplers.py", line 703, in sample
    return cfg_guider.sample(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
  File "/data/home/lijunliang/project/ComfyUI/comfy/samplers.py", line 690, in sample
    output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
  File "/data/home/lijunliang/project/ComfyUI/comfy/samplers.py", line 669, in inner_sample
    samples = sampler.sample(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
  File "/data/home/lijunliang/project/ComfyUI/comfy/samplers.py", line 574, in sample
    samples = self.sampler_function(model_k, noise, sigmas, extra_args=extra_args, callback=k_callback, disable=disable_pbar, **self.extra_options)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/data/home/lijunliang/project/ComfyUI/comfy/k_diffusion/sampling.py", line 160, in sample_euler_ancestral
    denoised = model(x, sigmas[i] * s_in, **extra_args)
  File "/data/home/lijunliang/project/ComfyUI/comfy/samplers.py", line 297, in __call__
    out = self.inner_model(x, sigma, model_options=model_options, seed=seed)
  File "/data/home/lijunliang/project/ComfyUI/comfy/samplers.py", line 656, in __call__
    return self.predict_noise(*args, **kwargs)
  File "/data/home/lijunliang/project/ComfyUI/comfy/samplers.py", line 659, in predict_noise
    return sampling_function(self.inner_model, x, timestep, self.conds.get("negative", None), self.conds.get("positive", None), self.cfg, model_options=model_options, seed=seed)
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/ComfyUI_AnimateDiff_Evolved/animatediff/sampling.py", line 627, in evolved_sampling_function
    cond_pred, uncond_pred = sliding_calc_conds_batch(model, [cond, uncond_], x, timestep, model_options)
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/ComfyUI_AnimateDiff_Evolved/animatediff/sampling.py", line 820, in sliding_calc_conds_batch
    sub_conds_out = calc_cond_uncond_batch_wrapper(model, sub_conds, sub_x, sub_timestep, model_options)
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/ComfyUI_AnimateDiff_Evolved/animatediff/sampling.py", line 904, in calc_cond_uncond_batch_wrapper
    return comfy.samplers.calc_cond_batch(model, conds, x_in, timestep, model_options)
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/onediff_comfy_nodes/modules/sd_hijack_utils.py", line 58, in hijacked_method
    return self(*args, **kwargs)
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/onediff_comfy_nodes/modules/sd_hijack_utils.py", line 93, in __call__
    return sub_func(self._orig_func, *args, **kwargs)
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/onediff_comfy_nodes/modules/oneflow/hijack_samplers.py", line 122, in calc_cond_batch_of
    output = model.apply_model(input_x, timestep_, **c).chunk(batch_chunks)
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/ComfyUI_Advanced_ControlNet/adv_control/utils.py", line 64, in apply_model_uncond_cleanup_wrapper
    return orig_apply_model(self, *args, **kwargs)
  File "/data/home/lijunliang/project/ComfyUI/comfy/model_base.py", line 114, in apply_model
    model_output = self.diffusion_model(xc, t, context=context, control=control, transformer_options=transformer_options, **extra_conds).float()
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1582, in _call_impl
    result = forward_call(*args, **kwargs)
  File "/data/home/lijunliang/project/onediff/src/onediff/infer_compiler/backends/oneflow/online_quantization_utils.py", line 61, in wrapper
    output = func(self, *args, **kwargs)
  File "/data/home/lijunliang/project/onediff/src/onediff/infer_compiler/backends/oneflow/args_tree_util.py", line 66, in wrapper
    output = func(self, *mapped_args, **mapped_kwargs)
  File "/data/home/lijunliang/project/onediff/src/onediff/infer_compiler/backends/oneflow/deployable_module.py", line 42, in wrapper
    return func(self, *args, **kwargs)
  File "/data/home/lijunliang/project/onediff/src/onediff/infer_compiler/backends/oneflow/graph_management_utils.py", line 121, in wrapper
    ret = func(self, *args, **kwargs)
  File "/data/home/lijunliang/project/onediff/src/onediff/infer_compiler/backends/oneflow/deployable_module.py", line 144, in forward
    output = dpl_graph(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/graph.py", line 295, in __call__
    self._compile(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/graph.py", line 861, in _compile
    return self._dynamic_input_graph_cache._compile(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/cache.py", line 121, in _compile
    return graph._compile(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/graph.py", line 865, in _compile
    return self._compile_new(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/graph.py", line 884, in _compile_new
    _, eager_outputs = self.build_graph(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/graph.py", line 1429, in build_graph
    outputs = self.__build_graph(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/graph.py", line 1577, in __build_graph
    outputs = self.build(*lazy_args, **lazy_kwargs)
  File "/data/home/lijunliang/project/onediff/src/onediff/infer_compiler/backends/oneflow/graph.py", line 19, in build
    return self.model(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/proxy.py", line 188, in __call__
    result = self.__block_forward(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/proxy.py", line 238, in __block_forward
    result = unbound_forward_of_module_instance(self, *args, **kwargs)
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/onediff_comfy_nodes/modules/oneflow/infer_compiler_registry/register_comfy/openaimodel.py", line 96, in forward
    h = forward_timestep_embed(
  File "/data/home/lijunliang/project/onediff/src/onediff/infer_compiler/backends/oneflow/import_tools/dyn_mock_mod.py", line 65, in proxy_func
    return sub_module()(*args, **kwargs)
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/ComfyUI_AnimateDiff_Evolved/animatediff/sampling.py", line 167, in forward_timestep_embed
    x = layer(x, context, transformer_options)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/proxy.py", line 188, in __call__
    result = self.__block_forward(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/proxy.py", line 238, in __block_forward
    result = unbound_forward_of_module_instance(self, *args, **kwargs)
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/onediff_comfy_nodes/modules/oneflow/infer_compiler_registry/register_comfy/attention.py", line 130, in forward
    x = block(x, context=context[i], transformer_options=transformer_options)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/proxy.py", line 188, in __call__
    result = self.__block_forward(*args, **kwargs)
  File "/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow/nn/graph/proxy.py", line 238, in __block_forward
    result = unbound_forward_of_module_instance(self, *args, **kwargs)
  File "/data/home/lijunliang/project/ComfyUI/comfy/ldm/modules/attention.py", line 618, in forward
    n = attn2_replace_patch[block_attn2](n, context_attn2, value_attn2, extra_options)
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/onediff_comfy_nodes/modules/oneflow/infer_compiler_registry/register_comfy/CrossAttentionPatch.py", line 58, in __call__
    out = out + callback(out, q, k, v, extra_options, optimized_attention=self.optimized_attention, **self.kwargs[i], **patch_kwargs[i])
  File "/data/home/lijunliang/project/ComfyUI/custom_nodes/onediff_comfy_nodes/modules/oneflow/infer_compiler_registry/register_comfy/CrossAttentionPatch.py", line 124, in ipadapter_attention
    weight = torch.Tensor(weight[ad_params["sub_idxs"]])
RuntimeError: Error: RuntimeError : This is a oneflow bug, please submit an issue at 'https://github.com/Oneflow-Inc/oneflow/issues' including the log information of the error, the minimum reproduction code, and the system information.

目前尝试找最小复现代码

Now you can switch to the fix_comfy_get_weight_subidxs branch, which will be merged into the main branch


gentle error message, on runtime error

refinement from #19

Currently, a runtime error is treated as normal python exception.
zero.div.j2
# zero division error
{{ 1 / 0}}

Traceback (most recent call last):
File "$HOME/venvs/my/bin/kamidana", line 12, in
sys.exit(main())
File "$HOME/venvs/my/kamidana/kamidana/commands/onefile.py", line 60, in main
driver.run(args.template, args.dst)
File "$HOME/venvs/my/kamidana/kamidana/driver.py", line 61, in run
result = self.transform(template)
File "$HOME/venvs/my/kamidana/kamidana/driver.py", line 48, in transform
return _render_with_newline(t, self.loader.data)
File "$HOME/venvs/my/kamidana/kamidana/driver.py", line 16, in _render_with_newline
r = t.render(**data)
File "$HOME/venvs/my/lib/python3.7/site-packages/jinja2/asyncsupport.py", line 76, in render
return original_render(self, *args, **kwargs)
File "$HOME/venvs/my/lib/python3.7/site-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "$HOME/venvs/my/lib/python3.7/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "$HOME/venvs/my/lib/python3.7/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "

it is better.
exception: builtins.ZeroDivisionError
message: division by zero
where: 02include-ng/zero.div.j2
------------------------------------------------------------
02include-ng/zero.div.j2:
      1: xxxx
  ->  2: 1 / 0 = {{1/0}}


doc: add license information (BSD-2-Clause)

CI fails are due to https://github.com/moteus/luacov-coveralls/pull/30.

CI fails are due to moteus/luacov-coveralls#30.

Worked around in PR #270.

Rebased after PR #270.


Flag disableEditing doesn't do anything in MessageThread

Describe the bug; what happened?
I'm trying to disable message editing by sending the prop disableEditing={true} to MessageThread component. However, the prop doesn't change anything -- the action button is still showing whenever I hover the Message.
Looking at the source code, it seems like the prop is not being passed on to the Message component. There are only 2 references to disableEditing and it's on type definition -- and the props from MessageThread are not passed on to Message directly.
As a last test, I've also tried to run storybook locally and allowing disableEditing to be controlled by the interface -- but I've got the same result. Even when its value is true, action buttons are still showing.
What are the steps to reproduce the issue?
Try setting the disableEditing flag as true in MessageThread component and check if action buttons still appear.
What behavior did you expect?
By setting disableEditing={true}, I expected the action buttons to not appear -- or at least to not allow editing / removing the messages.
If applicable, provide screenshots:
Screenshot of local storybook, with disableEditing set as true:

In what environment did you see the issue?

@azure/communication-react npm package version (if applicable): 1.3.1

@azure/communication-chat npm package version (if applicable): 1.3.0

Browser: Google Chrome

Browser Version: 107.0.5304.123

Is there any additional information?
I guess not.

I'm having same trouble here!

Hi @giulianabaratto
Thanks for reaching out to us with the bug and taking some time to investigate the root cause.
We have created a PR to fix this.
https://github.com/Azure/communication-ui-library/pull/2570
This fix should be in the next stable version.
In the meantime, if you absolutely need this feature for your product, I suggest building the package locally with this fix.

Hi @giulianabaratto,
Providing a quick update, we are close to releasing a stable release! I will notify you here once it's available :).
Have a great week and hope you had a wonderful start to the new year.

Hi @giulianabaratto! Good news! 1.5.0 went live today. included should be a fix for your issue! Please let us know if there is any other questions you have! 😊
<EMAIL_ADDRESS>


Use Xfoil polars to calculate c_l, c_d and steering tether forces

In order to make the kps4_3l accurate without having to fly a real kite, the Xfoil.jl package should be used to find lift and drag coefficients for different aoa and different steering amounts.

Sounds good to me. Suggested input:

one .dat file for the foil shape in the middle of the kite, stored in the data dir
Generated:
one .yaml file containing all the lift and drag coefficients for different aoa and flap angles, stored in the data dir

Format of the .dat file, describing the wing shape:
1.0000     0.0013
0.9500     0.0114
0.9000     0.0208
0.8000     0.0375
0.7000     0.0518
...
@1-Bart-1 What is the name and unit of the first and second column? And why not using a .csv file?

If you look here for example:
http://airfoiltools.com/airfoil/details?airfoil=naca0006-il
.dat files seem to be the standard for wing profiles. So I want to stick to the standard. Left is x coordinates, right is y coordinates. Unit does not matter: the profile is normalized so that x is between 0 and 1.

Yes, the polars depend on the Reynolds number. Paul Thedens told me they use re=18e6 for their kites at SkySails Power, and they use the following formula to calculate it:

I have changed to using a .csv file for the polars, because it is better suited for the tabular data.

Better explanation of Re formula here: https://en.wikipedia.org/wiki/Reynolds_number#Flow_around_airfoils
Another thing I am not sure about is how to take the aspect ratio of the wing into account: is this already taken into account because the Reynolds number depends on the chord length?

Solved with https://github.com/ufechner7/KiteUtils.jl/pull/58


Adds new airframe with camera and new world with aruco markers

What?
Adds new airframe with a custom camera and new world which for now supports aruco markers
Why?
Before adding the object detection node, we need to add a camera plugin for the sim
How?
Creates new aircraft file called x500_custom_cam, which has all the same properties as the x500 except that it has the following param set by default
NAV_DLL_ACT to 0 disabled
COM_RC_IN_MODE to 4 Stick input disabled
COM_RCL_EXCEPT set bit 2 to true Offboard
as suggested by @beniaminopozzan https://github.com/novitai/acton/issues/4#issuecomment-2450253436
Updates CMakelist files to include new aircraft and new world and links to the new submodule's commit (PR)
Testing
Tested the entrypoint script on the AWS instance
Screenshot
https://github.com/user-attachments/assets/da8950bc-e867-40ff-bb8d-c1fafa3f4952

identical to #1 but I rebased it off v1.15.1


Updated libkv dependency

In order to fix the TLS client authentication I have updated the libkv
dependency. Now the connection to secured etcd and consuld should work
properly.
Signed-off-by: Thomas Boerger<EMAIL_ADDRESS>

LGTM!
/cc @vdemeester

LGTM :angel:


[BUG] Wazuh dashboard 4.9.0 fails in AL2

Describe the bug
Installing the Wazuh dashboard 4.9.0 (alpha1, pre-release) the service fails after some seconds being up.
[root@ip-172-31-33-210 ~]# systemctl status wazuh-dashboard
● wazuh-dashboard.service - wazuh-dashboard
   Loaded: loaded (/etc/systemd/system/wazuh-dashboard.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2024-06-27 09:50:21 UTC; 15s ago
 Main PID: 20908 (node)
   CGroup: /system.slice/wazuh-dashboard.service
           └─20908 /usr/share/wazuh-dashboard/node/fallback/bin/node /usr/share/wazuh-dashboard/src/cli/dist -c /e...

Jun 27 09:50:21 ip-172-31-33-210.ec2.internal systemd[1]: Started wazuh-dashboard.

[root@ip-172-31-33-210 ~]# systemctl status wazuh-dashboard
● wazuh-dashboard.service - wazuh-dashboard
   Loaded: loaded (/etc/systemd/system/wazuh-dashboard.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2024-06-27 09:50:36 UTC; 753ms ago
  Process: 20908 ExecStart=/usr/share/wazuh-dashboard/bin/opensearch-dashboards -c /etc/wazuh-dashboard/opensearch_dashboards.yml (code=exited, status=1/FAILURE)
 Main PID: 20908 (code=exited, status=1/FAILURE)

Jun 27 09:50:21 ip-172-31-33-210.ec2.internal systemd[1]: Started wazuh-dashboard.
Jun 27 09:50:36 ip-172-31-33-210.ec2.internal systemd[1]: wazuh-dashboard.service: main process exited, code=ex...URE
Jun 27 09:50:36 ip-172-31-33-210.ec2.internal systemd[1]: Unit wazuh-dashboard.service entered failed state.
Jun 27 09:50:36 ip-172-31-33-210.ec2.internal systemd[1]: wazuh-dashboard.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@ip-172-31-33-210 ~]#

[root@ip-172-31-33-210 ~]# journalctl -u wazuh-dashboard
-- Logs begin at Thu 2024-06-27 09:12:16 UTC, end at Thu 2024-06-27 10:00:55 UTC. --
Jun 27 09:18:39 ip-172-31-33-210.ec2.internal systemd[1]: Started wazuh-dashboard.
Jun 27 09:18:44 ip-172-31-33-210.ec2.internal systemd[1]: wazuh-dashboard.service: main process exited, code=exited,
Jun 27 09:18:44 ip-172-31-33-210.ec2.internal systemd[1]: Unit wazuh-dashboard.service entered failed state.
Jun 27 09:18:44 ip-172-31-33-210.ec2.internal systemd[1]: wazuh-dashboard.service failed.
Jun 27 09:19:06 ip-172-31-33-210.ec2.internal systemd[1]: Started wazuh-dashboard.
Jun 27 09:19:12 ip-172-31-33-210.ec2.internal systemd[1]: wazuh-dashboard.service: main process exited, code=exited,
Jun 27 09:19:12 ip-172-31-33-210.ec2.internal systemd[1]: Unit wazuh-dashboard.service entered failed state.
Jun 27 09:19:12 ip-172-31-33-210.ec2.internal systemd[1]: wazuh-dashboard.service failed.
Jun 27 09:22:51 ip-172-31-33-210.ec2.internal systemd[1]: Started wazuh-dashboard.
Jun 27 09:23:00 ip-172-31-33-210.ec2.internal systemd[1]: wazuh-dashboard.service: main process exited, code=exited,
Jun 27 09:23:00 ip-172-31-33-210.ec2.internal systemd[1]: Unit wazuh-dashboard.service entered failed state.
Jun 27 09:23:00 ip-172-31-33-210.ec2.internal systemd[1]: wazuh-dashboard.service failed.
Jun 27 09:50:21 ip-172-31-33-210.ec2.internal systemd[1]: Started wazuh-dashboard.
Jun 27 09:50:36 ip-172-31-33-210.ec2.internal systemd[1]: wazuh-dashboard.service: main process exited, code=exited,
Jun 27 09:50:36 ip-172-31-33-210.ec2.internal systemd[1]: Unit wazuh-dashboard.service entered failed state.
Jun 27 09:50:36 ip-172-31-33-210.ec2.internal systemd[1]: wazuh-dashboard.service failed.
lines 1-17/17 (END)

To Reproduce
Steps to reproduce the behavior:
On a AmazonLinux 2 machine:

Generate the certificates (specify <IP_ADDRESS>) as the IP address: https://documentation-dev.wazuh.com/v4.9.0-alpha1/installation-guide/wazuh-indexer/step-by-step.html#certificates-creation
Installs the Wazuh dashboard using the step-by-step installation. Make sure you replace the repository to packages-dev.wazuh.com/pre-release
Wait around 10 seconds. Check the Wazuh dashboard status with systemctl status wazuh-dashboard

Expected behavior
The Wazuh dashboard service should be running.
Dashboards Version
4.9.0-alpha1.
Host/Environment (please complete the following information):

OS: Amazon Linux 2

[!NOTE]
This behavior was not reproduced in the CentOS 8 and Amazon Linux 2023 systems.

Additional context

[!NOTE]
I also installed the rest of Wazuh central components before the Wazuh dashboard.

Note: This may not be related to the error reported by @davidcr01
Vagrant box: bento/amazonlinux-2
Following the issue steps, I got a permission error when using the 443 port
Jun 27 13:17:31 amazonlinux2 opensearch-dashboards[9820]: {"type":"log","@timestamp":"2024-06-27T13:17:31Z","tags":["fatal","root"],"pid":9820,"message":"Error: listen EACCES: permission denied <IP_ADDRESS>:443\n
at Server.setupListenHandle [as _listen2] (net.js:1314:21)\n    at listenInCluster (net.js:1379:12)\n    at doListen (net.js:1516:7)\n    at processTicksAndRejections (internal/process/task_queues.js:83:21) {\n
 code: 'EACCES',\n  errno: -13,\n  syscall: 'listen',\n  address: '<IP_ADDRESS>',\n  port: 443\n}"}
Jun 27 13:17:32 amazonlinux2 opensearch-dashboards[9820]: FATAL  Error: listen EACCES: permission denied <IP_ADDRESS>:443

I followed the Step-by-Step guide, this is the Wazuh dashboard YAML configuration:
[root@amazonlinux2 vagrant]# cat /etc/wazuh-dashboard/opensearch_dashboards.yml
server.host: <IP_ADDRESS>
server.port: 443
opensearch.hosts: https://<IP_ADDRESS>:9200
opensearch.ssl.verificationMode: certificate
opensearch.requestHeadersAllowlist: ["securitytenant","Authorization"]
opensearch_security.multitenancy.enabled: false
opensearch_security.readonly_mode.roles: ["kibana_read_only"]
server.ssl.enabled: true
server.ssl.key: "/etc/wazuh-dashboard/certs/dashboard-key.pem"
server.ssl.certificate: "/etc/wazuh-dashboard/certs/dashboard.pem"
opensearch.ssl.certificateAuthorities: ["/etc/wazuh-dashboard/certs/root-ca.pem"]
uiSettings.overrides.defaultRoute: /app/wz-home

opensearchDashboards.branding:
  useExpandedHeader: false

Update Report
After running the following commands, the Wazuh dashboard service does not fail:
setcap 'cap_net_bind_service=+ep' /usr/share/wazuh-dashboard/node/bin/node
setcap 'cap_net_bind_service=+ep' /usr/share/wazuh-dashboard/node/fallback/bin/node

Add fallback support in the repository in files:

dev-tools/build-packages/deb/debian/postinst
dev-tools/build-packages/rpm/wazuh-dashboard.spec


09/06/2020 Testing [bugs & adjustments]

During testing, we've discovered some bugs/changes.

When you press F, it sends you to blueberry farm position (0, 0 ,0); This is related to the house system.
Unable to buy items from different ammunition, you can only buy from the one in Market
When you enter a house, allow other players to enter too not just the owner.
Hospital heal, sets player to 1 instead of 100
Join/Leave UI increase the cell size, players names are cut.
Delete RaceCheckpoint when timer runs out on robbery.
Deleting a house causes [05:26:38] *** Streamer Plugin: Streamer_RemoveArrayData: Invalid ID specified. (SOLUTION: RemoveArrayData first then Destroy checkpoint/labels)

BOLD means fixed but needs further testing.


added pallet test for InvokeTransaction::V0

Pull Request type

Please add the labels corresponding to the type of changes your PR introduces:

Testing
Feature

What is the current behavior?

All the transaction tests in  are InvokeTransaction::V0
Resolves: missing V0 tests.
What is the new behavior?

We have a possibility to check V0 invokeTransactions.

Does this introduce a breaking change?

No

Other information

@tdelabro I've opened a PR here, I think you should be able to review here. Thank you.

thanks for this pr @raizo07, I think the issue was about declare v0 tho. Also in this PR you modify an existing test instead of adding a new one. Please also update changelog.

thanks for this pr @raizo07, I think the issue was about declare v0 tho. Also in this PR you modify an existing test instead of adding a new one. Please also update changelog.

@EvolveArt Thank you for your comment. But from this link https://github.com/keep-starknet-strange/madara/issues/1603#issuecomment-2112690508 You can see that it is a different task I was asked to work on, of which I added the test. I'm open to further reviews.

@raizo07, still working on it?

@raizo07, still working on it?

Yes, I'll be sending the PR today.

@raizo07 this time the tests don't even compile.
run cargo test on you computer


Disable "Check for updates at startup"

I'm often developing en route, that means via tethering my mobile phone internet access.
So I have a pretty limited data access for each month (1GiB in my case).
So I would like to minimize internet usage. So I don't need automatical update checking at each startup.
It consumes about 2MB of data.
I searched through the forum, looked around settings, but could not find anything similar of disabling update checking.
Can an option be added to the settings page? It would be greatly appreciated.
Sometimes, when I'm home, does not bother much this additional internet usage.
I hope you appreciate my feature request.

As a workaround, you can build Atom from source. When you do (even if it is the same commit as a released version), Atom disables update checking.

+1, but ooh nice tip, @lee-dohm

I believe this is a dupe of an existing issue, but I can't find the other one atm - I only remember arguments such as being on a shitty modem connection in Indonesia.

@Zireael07 Found it: #1882.

@lee-dohm I built atom from source. But, it is still checking for update from version 1.5.3!

This hasn't been implemented yet.

@Zireael07 Yes it has - it's been available since Atom 1.5.0.

So why is it still checking for update? I'm on 1.7.x...

You have to disable the auto-checker in Help->About.

50Wliu I don't find anything like that in Help -> About

On Mac it's in Atom > About Atom

Settings > Core >  Automatically Update
/home/bduser/Pictures/atom.png

This also seems to cause a lot of problems with CyberDuck. Any time Atom is downloading an update, or has a downloaded update ready for installation, CyberDuck is unable to open files for editing in Atom until the update has been resolved. Admittedly, this might be more of a CyberDuck problem, but Atom is the only program I have found that has this issue. Since Atom has monthly releases, it means that with auto-update enabled it breaks every month with CyberDuck.


[FEATURE] Automatic generation of REST-API for data sync with vector stores

Describe the feature you'd like
I would like to have a REST-API automatically generated whenever I add a document loader of any type. This generated API should provide a way of upserting/deleting documents from the connected vector store on demand as a mean to synchronize the vector store connected to the document loader with the data of an external system.
This will prevent duplicating code between different systems just to use the same text splitter or setting meta data, and because of that, I was forced to move my code from Flowise to LangChain/Next.js system.
It would be nice to have a check box to enable/disable the API per document loader.
I am not sure if adding this to the document loader is the right way to do it, but it seems the most correct one. But maybe, it would be to have a new type of nodes specifically for generating these APIs while allowing the user to choose the text splitter they want, even without providing any data loader node.
Additional context

Our doc sore API now available: https://docs.flowiseai.com/api-reference/document-store
You can add, sync, delete your data from vector store


[ROCKETMQ-314] msg send back must sync change process queue msg size

What is the purpose of the change
when msg process expired, msg send back must sync change process queue msg size .
Brief changelog
processQueeu#cleanExpiredMsg method reuse removeMessage method to delete expired msg
Verifying this change
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x]  Format the pull request title like [ROCKETMQ-XXX] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x]  Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ]  Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[ ]  Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ]  If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage decreased (-0.04%) to 39.111% when pulling 6f5e01e6fa986a78bc82f5054a048159722cd15a on fuyou001:ROCKETMQ-314-1 into cba30897c169c7182e3f8b53ead169e5a458f13e on apache:develop.

LGTM, It could be better if we add a unit test for this case~

Thing could be better, If we could have unit for removeMessage method @fuyou001


[Application] Import: Failure to unmarshal yaml

Current Behavior
Importing this pattern results in an error message.
Expected Behavior
Pattern should import.
Screenshots/Logs

DEBU[2665] retrieved session for user with id: meshery
DEBU[2665] session for user with id: meshery was read in tact.
ERRO[2021-09-08T17:45:36-05:00] yaml: unmarshal errors:
  line 1: cannot unmarshal !!str `https:/...` into map[string]interface {}  app=meshery code=2042 probable-cause= severity=2 short-description="failed to .save.the application" suggested-remediation=
DEBU[2665] retrieved session for user with id: meshery
DEBU[2665] session for user with id: meshery was read in tact.

Environment

Provider: Local
Host OS: Mac
Platform: locally built
Meshery Server Version: edge (circa v0.5.54)

Contributor Guides and Resources

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

@mgfeller I wonder if this isn't the right opportunity to jump into patterns (applications)...

@leecalcote feels like a good opportunity and the right moment. I'll give it a go.


cdrkit: fix darwin build

Description of changes
Fix up the source to work on macos.
Haven't checked everything, but cloud-localds works well, which was my goal.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

darwin-aarch64
1 package failed to build:
bombono

3 packages built:
cdrkit cloud-utils devede


Contributions from sidbelbase

Stuff I have contributed:

undistracted-me extension
who-called-me flask web app
go-away-predators script


[cluster-refactor] refactor client pool

Closed the https://github.com/apache/iotdb/pull/3886 to merge and resolve conflicts.
The main idea of the refactor:

Apply Apache commons pool replace ourself implementation.
Remove unnecessary classes.
Add new class ClientManager to help manage client instances instead of letting user get client from pool directly.

The PR will contain:

[x] keep the interface unchanged as much as possible
[x] Close client means close the connection after refactor.
[x] replace ClientPool with KeyedObjectPool in Apache Commons Pool
[x] fix the test cases error
[ ] self test

Should be push to cluster- instead of master.

Coverage decreased (-0.1%) to 67.377% when pulling a1ec9f323ea40a253b12b5c4655d32c331b9c39b on chengjianyun:refactor/client-pool into 2400c36179229c55364539632f2fcc3212ac6bed on apache:master.


Return same type string for warehouse and serving NoOp stores

This is related to issue #5
If the core api was to return a store spec with "noop" as it's type, then ingestion will ignore data sent to that store.

How can we use this noop warehouse/serving store? do we need to create a storage spec with type "noop" and reference it from feature spec? or we can just leave the datastore reference in feature spec empty?


MudAutocomplete Should Show Data Annotation Validation Errors

Describe the bug
In MudBlazor 5.1.1, when using the MudAutocomplete component inside of an EditForm, validation does not appear to occur.  This applied to using Data Annotation attributes such as [Required] but also when setting the Required property to True.  As of MudBlazor 5.1.3, validation prevents the form from submitting (which is good), but a validation error should appear.
Expected behavior
When the Required property is True or the MudAutocomplete is bound to a property with the [Required] attribute, a validation error should display when a form is submitted with no selected value.
Additionally, clicking the "X" on the component when Clearable is True should set the selected value to default(T) to clear out any bound value.
TryMudBlazor
This example shows the issue.  5.1.1 would submit the form despite being required, and 5.1.3 properly prevents submittal but should show a validation error message.
https://try.mudblazor.com/snippet/muQvYZYWAjaHhCib
Screenshots
(See snippet above)
Thanks for taking a look!  This library is amazing.

Closing as out of date.


Where Query for a date range does not work

The following query does not work and it keeps giving a weird error:
keys must be strings or symbols
Session.where(:created_at.gte => (Date.today - 30), :created_at.lte => (Date.today).first
Here is the content of the query when I inspect it:
:::::::::::::::::: #<Mongoid::Criteria
selector: {#<MetaWhere::Column:0xc608f54 @column=:created_at, @method=:gteq>=>Wed, 04 Jan 2012, #<MetaWhere::Column:0xc608f40 @column=:created_at, @method=:lteq>=>Thu, 05 Jan 2012},
options:  {},
class:    Session,
embedded: false>
:::::::::::::::::: #<Mongoid::Criteria
selector: {#<MetaWhere::Column:0xc498bb0 @column=:created_at, @method=:gteq>=>Wed, 04 Jan 2012, #<MetaWhere::Column:0xc498b9c @column=:created_at, @method=:lteq>=>Thu, 05 Jan 2012},
options:  {},
class:    Session,
embedded: false>
:::::::::::::::::: #<Mongoid::Criteria
selector: {#<MetaWhere::Column:0xc492a44 @column=:created_at, @method=:gteq>=>Wed, 04 Jan 2012, #<MetaWhere::Column:0xc492a30 @column=:created_at, @method=:lteq>=>Thu, 05 Jan 2012},
options:  {},
class:    Session,
embedded: false>

Hey mate. Which version of Mongoid are you using? It works for me in 2.4.0 . Eg:
class Foo
  include Mongoid::Document
end

Foo.where(:created_at.gte => (Date.today - 30), :created_at.lte => Date.today)
=> #<Mongoid::Criteria
  selector: {:created_at=>{"$gte"=>Tue, 06 Dec 2011, "$lte"=>Thu, 05 Jan 2012}},
  options:  {},
  class:    Foo,
  embedded: false>

Hi, ok...
cause the gem install (without specifying the version) gave me this: mongoid (2.2.5)
I will try that and update this asap.

Yeah, Mongoid 2.4.0 requires ActiveModel ~> 3.1 . So you can use Mongoid 2.3.4 with Rails 3.0.x, or upgrade to Mongoid 2.4.0 and Rails 3.1.x .

Thank you for the quick answers.

You're welcome, mate!

I'm experiencing the same problem. Using mongoid 2.4.3 with rails 3.2.1 and ruby 1.9.3. When using IRB i get "keys must be strings or symbols".
'''ruby
Sequence.collection.update({:position.gte => position}, {'$inc' => {:position => -1}}, { :multi => true })
'''

Mongoid's expansion of complex keys (ie, the symbol methods) only work when using them inside the criteria API. They will not work when accessing the collection directly... You have to type it all out there.

@durran Thanks... maybe the idea for the future then...

@xpepermint In the future, we're going to recommend using the new gem, Origin's DSL to accomplish what you want here, similar to the criteria... We're not going to wrap the collection and cursor anymore to make persistence as fast as possible, but your query will look like this in 3.0:
Sequence.where(:position.gte => position).inc(position: 1)

@durran Great! Thank you for your help!


Allow installing esp-idf as a standalone product

We should be able to install multiple esp-idf versions (and, hence, generate multiple export files), and we should be able to install only esp-idf without installing Rust, llvm...

As discussed in #154, espup will only install the minimal toolchains required


React refactor phase 2

Phase 2: move react -> shared

[x] Make symbolic link to shared under desktop
[x] move all paths to use shared
[x] Update resolve-assets -> resolve-root

@keybase/react-hackers

pr after the base got rebased, closing


Only call getsectiondata() once per image.

This PR improves the performance of test discovery by only calling getsectiondata() once per loaded image instead of twice. It also refactors the C++ platform-specific enumerator function to take a new structure, SWTSectionBounds, instead of multiple arguments. This lets us use a C++ range-for-loop (for (const auto& record : sectionBounds)) instead of a raw C for-loop, reduces register traffic on Windows, and is all around a bit more object-oriented (which I hope is an improvement, yeah?)
A non-scientific comparison at my desk shows that, before the change, cold test discovery on macOS took an average of 0.0376 seconds. After the change, the average was 0.0217 seconds for an approximate 1.73x speedup.
Checklist:

[x] Code and documentation should follow the style of the Style Guide.
[x] If public symbols are renamed or modified, DocC references should be updated.

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test


Support for None values

From the discord:

How do I create a bool variable that can also be None or NA? Now every time I give an input and it doesn't contain the variable, it defaults to "False". But I want it to default to "None" when the user doesn't mention the variable...
I tried added some explanation in the prompt and description of the variable, but this doesn't seem to take effect. I also to tried playing around with the "on-fail" tag but to no avail...

When the outcome is not known or not available in the generated text, then it should be possible to support None values.

Temporary solution is:

Replace booleans by strings
add format="valid-choices: {['False', 'True', 'None']}"
Do a post-processing step where you replace the 'False', 'True', 'None' values with False, True, None

It would also be nice to have this functionality for other datatypes like integers

@sophieDataroots agreed!
One more temporary workaround is creating a custom datatype like so:
from guardrails.datatypes import register_type, ScalarType

@register_type("custom_bool")
class CustoomBool(ScalarType):
    """Element tag: `<custom_bool>`"""

    def from_str(self, s: Union[str, bool]) -> "CustomBool":
        """Create a Boolean from a string."""
        if s is None:
            return None

        # Custom postprocessing logic that casts the strings to `False`, `True` or `None`

Once you define the custom datatype, you can use it in a rail spec:
<rail version="0.1">
<output>
    <object name=...>
        <custom_bool name="something">
    </object>
</output>

</rail>

Let me know if you end up testing this out!

I fixed it locally by adding or s=="None" in the none-check of the from_str function of integers and booleans.

This should work if you set the field as required="false".
<rail version="0.1">

<output>
    <object name=...>
        <custom_bool name="something" required="false">
    </object>
</output>

</rail>

If this doesn't work as expected, please feel free to reopen the issue.


Endpoints commands

Add Endpoint management commands
This adds new Endpoint management commands:
aptible endpoints:database:create DATABASE
aptible endpoints:deprovision ENDPOINT_HOSTNAME
aptible endpoints:https:create SERVICE
aptible endpoints:list
aptible endpoints:renew ENDPOINT_HOSTNAME
aptible endpoints:tcp:create SERVICE
aptible endpoints:tls:create SERVICE

These commands can be used to create new Endpoints (including the 2 step
process for ACME Endpoints), list them, and delete them.
--
A few notable changes here:

VHOSTs have a fairly complex set of options, so I've opted to have an
"options-builder" to both declare options and parse them. The main
benefit is that we can test for leftover options we did not expect,
but were given. In turn, this makes our specs much more robust against
typos / passing an option that was not expected (this came up in
#233). Broadly speaking, testing support is something we might want
our CLI toolkit to provide, so this might become un-necessary if /
when we finally move off of Thor.
I've opted to include some important options in the help text. There
is obviously not enough space for everything, but this should at the
very least cover basic usage.
I have not added a command to upload a certificate (at least not yet),
but a certificate can be provided implicitly when creating the
Endpoint (by passing a certificate file and key). An existing
certificate can be reused by providing its SHA-256 fingerprint (which
I think is superior to providing an opaque Aptible ID).

cc @fancyremarker

Codecov Report

Merging #237 into master will decrease coverage by 3.39%.
The diff coverage is 78.91%.

@@            Coverage Diff            @@
##           master     #237     +/-   ##
=========================================
- Coverage   94.02%   90.62%   -3.4%
=========================================
  Files          49       56      +7
  Lines        2025     2572    +547
=========================================
+ Hits         1904     2331    +427
- Misses        121      241    +120

Impacted Files
Coverage Δ

lib/aptible/cli/helpers/app.rb
100% <100%> (ø)
:arrow_up:

lib/aptible/cli/subcommands/apps.rb
78.12% <100%> (-1.88%)
:arrow_down:

lib/aptible/cli/subcommands/logs.rb
100% <100%> (ø)
:arrow_up:

lib/aptible/cli/helpers/app_or_database.rb
100% <100%> (ø)

spec/fabricators/certificate_fabricator.rb
100% <100%> (ø)

spec/fabricators/vhost_fabricator.rb
100% <100%> (ø)
:arrow_up:

spec/aptible/cli/subcommands/apps_spec.rb
100% <100%> (ø)
:arrow_up:

lib/aptible/cli/agent.rb
97.27% <100%> (+0.12%)
:arrow_up:

spec/aptible/cli/helpers/vhost_spec.rb
100% <100%> (ø)

spec/fabricators/database_fabricator.rb
100% <100%> (ø)
:arrow_up:

... and 15 more

Continue to review full report at Codecov.

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

@fancyremarker @UserNotFound : I now added commands to modify Endpoints as well, please take another look :)

The *:modify methods look great. I focused more closely on the documentation for these in aptible/docs#29; that looks great as well.


Gigasecond method name could be changed

In lib the method name is add, but it could be changed to match the method name in the test file.
https://github.com/exercism/dart/blob/1d3edb7afa27ca78725f30ee1015d727c3afdf05/exercises/practice/gigasecond/test/gigasecond_test.dart#L8

Fixed in #476


[feat] Dark theme implementation

Implement night/dark theme colors and UI for the app.

Hi,
Is the issue to change the theme to dark or being able to toggle between.

@abhay-ajith It is not an issue. The dark theme needs to be implemented by creating a separate darkColorPalette for the dark theme. Having the option to toggle between light and dark themes is a plus.

Are the colors inside _darkColorScheme(now commented) real colors of dark mode?

Yes, they were actually supposed to be the colors for dark mode. But most parts of the codebase right now has colors hardcoded only for light mode, for that reason dark mode is disabled for now. These need to be replaced with colors from the colorSchemes using MaterialTheme.colorScheme, for consistency in both the modes.

I give it a try.

Hi, I are you are working on it?

Hi, since you assigned me, I have been stuck in university tasks and then 2 day holiday, from tomorrow I begin working. I am so sorry to be late

Hi, no need to be sorry 😄, thanks for informing!

🤝🤝

Hi, are you still working on this?

Hi sir, can you unassign me? Because of my studies at the university,diploma thesis and prior-graduation practice, I can't allocate time even to breathe.
 I am really sorry not informing this earlier

Hi, it's okay. I just wanted to know if there's any update. As per your request, I am unassigning you right now. Just let me know if you start working on this again.

Sure,🤝


Som questions about RNNT beam_searh.

1、First question is what's the difference between fast_beam_search(), modified_beam_search() and beam_search(), any document or paper discuss the details ?
2、Second question is why the score of new hyp is new_log_prob = topk_log_probs[k] rather than new_log_prob = topk_log_probs[k] + hyp.log_prob ?
https://github.com/k2-fsa/icefall/blob/d766dc5aeea1a8aefab033e581948b07c4ac4bc0/egs/librispeech/ASR/pruned_transducer_stateless/beam_search.py#L580

1、First question is what's the difference between fast_beam_search(), modified_beam_search() and beam_search(), any document or paper discuss the details ?

fast_beam_search: Its implementation is in C++ (contained in k2), supporting using a search graph, e.g., an LG graph.
It produces a lattice and we currently extract the best path from the lattice as the output. Later, we may rescore the lattice with some external LMs.  Different from standard beam search, it assumes that the max sym per frame is 1 and it also assumes that the prediction network, i.e., the decoder model, is stateless.

modified_beam_search: It does not produce a lattice and is not using a search graph.  Similar to fast_beam_search, it
hardcodes the max sym per frame to 1.

beam_search: It is the standard RNN-T beam search, without prefix search. It does not support batch decoding and is rather slow. We don't recommend you to use this decoding method.

any document or paper discuss the details

All details are contained in the code.
There are two submitted papers about the details. Will make them public later.

2、Second question is why the score of new hyp is new_log_prob = topk_log_probs[k] rather than new_log_prob = topk_log_probs[k] + hyp.log_prob ?

Because it has already been done in the following line:
https://github.com/k2-fsa/icefall/blob/d766dc5aeea1a8aefab033e581948b07c4ac4bc0/egs/librispeech/ASR/pruned_transducer_stateless/beam_search.py#L551

Oh, get it, thank you very much ~

Hi. Are you going to publish the papers or preprint of k2 as well as your implementation and modification to RNN-T?

Hi. Are you going to publish the papers or preprint of k2 as well as your implementation and modification to RNN-T?

Yes, I think so. Maybe in the coming days.


no on_press event?

on_press event is very important！
only container and  button have event ?
why image/text not have event ?

Sure, just put an image inside Container and add on_click to container. This way you can make any control clickable.

yeah, I just do it as above, Thanks

on_press is called on_click in Flet.

I mean on_press  onrelease  onclick
onpress: mouse down  not up

Flet uses Flutter's GestureDetector - could you point me to the right event handlers you'd like to see implemented?

just like html5 mouse event

onmousedown
onmousemove
onmouseup

OK, what would be your use case for that? What would you like to implement with those events?

I want to change button background-color or change background-image when on_press/on_release

Look at this example of a styled button: https://github.com/flet-dev/examples/blob/main/python/controls/elevated-buttons/styled-button.py

yeah, but  if flet can have

onmousedown
onmousemove
onmouseup

may be i can do more as i can

Covered by https://flet.dev/docs/controls/gesturedetector


Fix #21: Parameter checking

@SiAdcock could you take a look over this when you get a chance? :smile:


Tune k8s providers clients user agent

Do you want to request a feature or report a bug?
Feature
What did you expect to see?
The user agent used to talk to kubernetes is currently set to the default value which looks like this (taken from the k8s api-server metrics).

Tuning this could improve our ability to observe traefik's behavior towards the api-server by:

having a correct version number
differentiating the ingress from the crd provider

I'm currently crafting a PR.

Hello @sylr,
I see that your have already make the PR.
Nevertheless, I see that your current proposal (through the reading of your PR), is to tune the user agent in a fixed manner.
The actual form looks ok, but i'm wondering if the customization of the user agent should be configurable ?
For instance, maybe a custom identification parameter would allow to differentiate multiple identical versions of Traefik instances.
Since it's more a discussion on your proposal that i want to have here, i'll wait for that to interact within the PR.
Anyway, thanks for your contribution !

Hello @sylr,
I see that you have already made the PR.
Nevertheless, could you explain your use case, why do you need this ? Since it's more a discussion on your use case that i want to have here, i'll wait for that to interact within the PR.
Thanks for your contribution !

I'd like to be able to compare the "pressure" traefik puts on the api-server between two versions.


Instances not stopping or not stopping as expected

I tried to create a Schedule which shuts down every tagged instance at 6PM (combined with a lambda which automatically tags every newly created instance, unless already tagged). My goal is that if there is a newly created instance for testing, and the instance is forgotten, it does not run for several days incuring costs. It also should not restart the next day.
Schedule I created:
type: "schedule"
name: "shutdown"
description: "shutdown-schedule"
periods: "shutdown-period"
timezone: "Europe/Berlin"
Period I created:
type: "period"
name: "shutdown-period"
description: "shutdown period"
endtime: "18:00"
The behaviour was not as expected.
If I first create my instance and tag it, and then create the schedule, my instance shuts down at the next 5 minute tick, no matter if it is before or after 6PM.
If I create the schedule first, wait for the next 5 minute tick, and then create my instance and tag it, it never shuts down. Doesn't matter if I do it before 6PM, after 6PM, wait for 6PM to pass, change the endtime to a time before the current time, change it to a time after the current time, ....
What I noticed is that it depends on the existence of an entry in the "ScheduleStatesTable" in DynamoDB. If I have the second case (first schedule, then instance) where my instance never shuts down, if I delete the entry "shutdown" from the table then the instance will shut down at the next 5 minute tick.
It seems that once the state of the entry has changed to "stopped", it does not evaluate any running instances that were created after the state change (or tagged after the state change). Combined with the fact that I do not have a begintime (I do not want my instance to start automatically with this tag), the entry "shutdown" in the "ScheduleStatesTable" becomes "stopped" immediately after creation and never changes. So now I have a schedule which does not stop at the intended time, and only does so once.
Describe the bug
Schedule with only endtime does not work if instance is tagged after creation of schedule, and immediately shuts down instance if tagged before creation of schedule.
To Reproduce

Create 2 Instances
Tag one instance
create schedule
wait for the next 5 minute tick, then tag second instance
One instance shuts down at the next tick even if it is not yet supposed to
The other will never shut down, even after endtime
Delete the entry from the "ScheduleStatesTable" and the instance will stop at the next tick

Expected behavior

Instances keep running and then shut down at 6 PM
If instances are started or newly created the next day, the will shut down at 6PM of the next day

Please complete the following information about the solution:

Version: v2.0.0

Region: eu-central-1

Was the solution modified from the version published on this repository? No changes were made

@gockle You are not able to target specific EC2 instances by tag using AWS Systems Manager, the EC2s need to be explicity specified, this is not an answer.
from the documentation instance scheduler should be able to simply stop an instance on a schedule.


replacement: init at 0.4.4

Signed-off-by: Sirio Balmelli<EMAIL_ADDRESS>
Motivation for this change
Add new python package for use in a Nix CI/CD
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[x] macOS
[x] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Note that CI fails.

@siriobalmelli You did not follow my requests. Please read the link I gave you to nix.dev, and please don't use with python.pkgs for such a broad scope.

@siriobalmelli You did not follow my requests. Please read the link I gave you to nix.dev, and please don't use with python.pkgs for such a broad scope.

My apologies, I messed that one up.
Force-pushed with a specific use of python3Packages. or with python3Packages; in each case.


Allow selector to be a function so we can render in a detached dom

It's pretty common to need to create components that are attached to elements not yet in the page's DOM (document.query wont work). Here's an example:
        this.ele = document.createElement('div');
        this.ele.innerHTML = template;

        new autoComplete({
            data: {
                src: this.cmds,
                key: 'cmdName'
            },
            selector: () => this.ele.querySelector('#desiredOutput'),
            highlight: true,
            onSelection: () => {

            }
        });

There is a configuration for that already, check renderResults in API Configurations it allows you to render results in custom selected destination and position.

@TarekRaafat this is not for the results specifically, but the input box. If the input box is not in the DOM yet, the autocomplete breaks (without this change)

@mikob got your point, good one actually will add it to the Roadmap and prioritize it or if you would like you can do it.


Back button/Redirecting issue on Profile endpoint

Clicking on the profile it will redirect to the same page (we can't notice because we already on that page),
but when we want to go back we have to click back as much as we clicked on the profile
Example : Clicked 3 times on profile, no effect because we already on that page. If we want to go back we have to click 3 times too.
NOTE: Referring browser back button, Not the "GO BACK" button on page

Can you explain it using the template ?
I didn't get the point

We are knowing that, But as a user we go back with browser button. In mobile also we go back with back button.


Dynamic DNS on the status overview page shows "Config error" under Network.

LuCI lede-17.01 branch (git-17.152.82987-7f6fc16) / LEDE Reboot 17.01.2 r3435-65eec8bd5f
After ADDING a ddns service in LuCI the ddns updating works just fine, but shows "Config error" under Network column on status overview. This is because these options are missing from the newly added service's config:
option interface
option ip_source
option ip_network

Once those options are manually added to the new ddns service's configuration the "config error" goes away. Please see the attached document.  (See issue 1117.)
config ddns error.docx

@chris5560

@chris5560 - sorry, you already fixed this issue, it just hasn't been backported to luci-17.01 yet.


Is there any options can change │ to another char like ¦ ?

https://github.com/lukas-reineke/indent-blankline.nvim/blob/db7cbcb40cc00fc5d6074d7569fb37197705e7f6/lua/indent_blankline/init.lua#L27

It will effect the context char as well, unless that is explicitly set with :help vim.g.indent_blankline_context_char


Add the ability to store models for every epoch

Is your feature request related to a problem? Please describe.
Currently, the model is getting saved based on validation loss, but depending on the desired metric, it might not be sufficient.
Describe the solution you'd like
Provide an option to the user to save models at every single epoch. When this option is selected, put a warning stating that this will blow the storage.
Describe alternatives you've considered
Provide a way to save models based on selected metric. This will get complicated unless we provide a way to map every metric to a common mathematical space (e.g., 0 is best and 1 is worst).
Additional context
Requested by @sbakas and @bahetibhakti

Proposing to add a new option under model key, called save_at_every_epoch, which defaults to False.


running the experiment but no flows

bash-5.0# ps
PID   USER     TIME  COMMAND
1 root      0:00 /bin/sh
9 root      0:00 /bin/bash
31 root      0:00 [iperf3]
32 root      0:00 [iperf3]
33 root      0:00 /usr/bin/iperf3 -J -s -D -p 6001 --logfile /var/log/KOLLAPS_server.log
38 root      0:00 ps
hello, friend. when i start the experiment, i can't see active flows by browser. why? ps, the log file is empty

The same problem I've been experiencing these days


production name setting in the Glyphs file should take precedent over the fontmake option

production name setting in the Glyphs file should take precedent over the fontmake option and we should use --no-production-names or --production-names when this info is not in the Glyphs file. IMHO, we should give warning if what in the Glyphs file is different from the fontmake option

well, usually command line options override settings from configuration files.
The current behaviour when no --production-names option is passed, is to use production names if the UFO lib.plist contains a com.schriftgestaltung.Don't use Production Names key.
What's wrong with that?

@anthrotype : maybe I need more education on this. A font designer complained  "my source files contain friendly names, and the pipeline replaces these by Unicode number names, despite the Glyphs file has a setting to not replace the names." [I used --production-names when building the fonts]. In his mind, he as designer wanted for his fonts to always have "friendly names". Why does it matter - production vs non-production? when would one want to use production vs non-production? Is there a place I could be educated?

The term "production names" comes from Glyphs.app terminology. If a designer wants to keep so-called "friendly" or "nice" names in Glyphs.app, they have to set a custom parameter "Don't Use Production Names" in the Font Info.
This way, both Glyphs.app and fontmake will not rename the glyphs, i.e keep the friendly names.
Unless one tells fontmake to explicitly use --production-names, in which case one must conclude that for that particular run of fontmake the user wishes to rename the glyph names, whether or not the custom parameter is set in the .glyphs file.

@marekjez86 it is recommended to use "production names" which meet the requirements defined in https://github.com/adobe-type-tools/agl-specification and https://github.com/adobe-type-tools/agl-aglfn. The "production names" in the final font must only use characters allowed by the Postscript specifications. These are also called PostScript names.
The term "Production names" can be confusing but it’s Glyphs.app terminology. See https://www.glyphsapp.com/content/1-get-started/2-manuals/1-handbook-glyphs-2-0/Glyphs-Handbook-2.3.pdf section 6.6.1 Glyph Info Database

Glyphs contains a glyph info database. For each glyph, the
database defines:
• the human-readable (or ‘nice’) glyph name,
• the production names, i.e., the name as required for the
exported installable font file
[...]

Once one know that, fontmake’s help already makes it clear that --production-names renames the glyphs and sort of implies --no-production-names doesn’t.
  --production-names    Rename glyphs with production names if available
                        otherwise use uninames.
  --no-production-names

It might be good to be explicit about what --no-production does and clarify that there is a third option and what it does. Would that be enough?
If that also helps one could find better names for these options.

Is the default following the option in Glyphs app?  That is all we care about, right?
I actually don't think "production names" are more useful in the font.  The whole myth around PDF and stuff is, well, a myth.  Text extraction doesn't work reliably for complex scripts if just relying on glyph names anyway.

Is the default following the option in Glyphs app?

Yes. When no --production-names option is explicitly specified, fontmake checks that  com.schriftgestaltung.Don't use Production Names is present (and true) in the UFO lib.plist.

Just want to note that I think the original context for this issue is https://github.com/googlei18n/noto-source/commit/0345032c37ce8ff1d76d0b2955fecb86b980b88a


Major currency pairs missing in Bitfinex (backtest mode)

Dear Catalyst Maintainers,
Before I tell you about my issue, let me describe my environment:
Mac OS
Python 3
PIP install
aiodns==1.1.1
aiohttp==3.0.1
alembic==0.9.9
appnope==0.1.0
async-timeout==2.0.1
attrdict==2.0.0
attrs==17.4.0
backcall==0.1.0
bcolz==0.12.1
bleach==2.1.3
boto3==1.6.20
botocore==1.9.20
Bottleneck==1.2.1
cchardet==2.1.1
ccxt==1.12.43
certifi==2018.1.18
chardet==3.0.4
click==6.7
contextlib2==0.5.5
cycler==0.10.0
cyordereddict==1.0.0
Cython==0.28.1
cytoolz==<IP_ADDRESS>
decorator==4.2.1
docutils==0.14
empyrical==0.2.1
enigma-catalyst==0.5.8
entrypoints==0.2.3
eth-abi==1.0.0
eth-account==0.1.0a2
eth-hash==0.1.1
eth-keyfile==0.5.1
eth-keys==0.2.0b3
eth-rlp==0.1.0
eth-utils==1.0.1
hexbytes==0.1.0
html5lib==1.0.1
idna==2.6
idna-ssl==1.0.1
intervaltree==2.1.0
ipykernel==4.8.2
ipython==6.3.0
ipython-genutils==0.2.0
ipywidgets==7.2.0
jedi==0.11.1
Jinja2==2.10
jmespath==0.9.3
jsonschema==2.6.0
jupyter==1.0.0
jupyter-client==5.2.3
jupyter-console==5.2.0
jupyter-core==4.4.0
kiwisolver==1.0.1
Logbook==1.3.0
lru-dict==1.1.6
lxml==4.2.1
Mako==1.0.7
MarkupSafe==1.0
matplotlib==2.2.2
mistune==0.8.3
multidict==4.1.0
multipledispatch==0.5.0
nbconvert==5.3.1
nbformat==4.4.0
networkx==2.1
notebook==5.4.1
numexpr==2.6.4
numpy==1.14.2
pandas==0.19.2
pandas-datareader==0.6.0
pandocfilters==1.4.2
parso==0.1.1
patsy==0.5.0
pexpect==4.4.0
pickleshare==0.7.4
prompt-toolkit==1.0.15
ptyprocess==0.5.2
pycares==2.3.0
pycryptodome==3.5.1
Pygments==2.2.0
pyparsing==2.2.0
python-dateutil==2.7.2
python-editor==1.0.3
pytz==2018.3
pyzmq==17.0.0
qtconsole==4.3.1
redo==1.6
requests==2.18.4
requests-file==1.4.3
requests-ftp==0.3.1
requests-toolbelt==0.8.0
rlp==0.6.0
ruamel.yaml==0.15.37
s3transfer==0.1.13
scipy==1.0.1
Send2Trash==1.5.0
simplegeneric==0.8.1
six==1.11.0
sortedcontainers==1.5.9
SQLAlchemy==1.2.5
statsmodels==0.8.0
TA-Lib==0.4.17
tables==3.4.2
terminado==0.8.1
testpath==0.3.1
toolz==0.9.0
tornado==5.0.1
traitlets==4.3.2
urllib3==1.22
wcwidth==0.1.7
web3==4.0.0b13
webencodings==0.5.1
widgetsnbextension==3.2.0
wrapt==1.10.11
yarl==1.1.0
Now that you know a little about me, let me tell you about the issue I am
having:
I am seeing BTC_USD and ETH_USD Bitfinex pairs only ingest up to approximately 3/27/2018. The data for these (major) currency pairs drops off thereafter.
Note I am running a simple buy and hold strategy in a backtest environment.
Can you please advise?
thanks

Actually I am going to move this discussion to Discord (might be a better format). thanks

Thanks for reporting @dj-sly , we will check this.
I am reopening this issue, as this is the preferred place to bug reports. Discord is good for discussions but once a bug is identified, it it much more convenient to track it here.
Thanks,
Lena

@dj-sly I wasn't able to reproduce the problems you have experienced.
Could you please try to re-ingest and re-run your algorithm?

Thanks, Lena! Understood and appreciate the help with this.

On May 21, 2018, at 1:05 AM, Lena<EMAIL_ADDRESS>wrote:
Thanks for reporting @dj-sly https://github.com/dj-sly , we will check this.
I am reopening this issue, as this is the preferred place to bug reports. Discord is good for discussions but once a bug is identified, it it much more convenient to track it here.
Thanks,
Lena
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/enigmampc/catalyst/issues/337#issuecomment-390583437, or mute the thread https://github.com/notifications/unsubscribe-auth/AjZrV5rdgX2CECfDT75oMG86maMD6fOgks5t0nVOgaJpZM4UFcSf.

@dj-sly , it seems that in some place in the code you specify the btc_usdt pair instead the btc_usd which is the one supported at Bitfinex.

@dj-sly I am closing this, if you are still experiencing any issues, feel free to report back and reopen this.


How to make this app work for Multi-Tenants

Answered here: https://github.com/microsoftgraph/aspnet-connect-rest-sample/issues/8#issuecomment-227264201


Add JCPSNJ

Add the Jersey City Public Schools to this.

@TheKingOfBel First stage of verification passed, official domain is mcnairacademic.com as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://www.mcnairacademic.com/anime

@TheKingOfBel Please provide us with:

the school official website URL
the school street address, including city and country

School Address: 123 Coles Street, Jersey City, NJ 07302, USA
School Website: https://mhs.jcboe.org/

@TheKingOfBel  Thank you for the clarifications and your patience while waiting for a review and processing your request. Pull request merged.


add default meta description

closes https://github.com/Couchers-org/couchers/issues/2731
Web frontend checklist

[x] Formatted my code with yarn format && yarn lint --fix
[x] All tests pass

unable to request review via UI, so tagging @aapeliv here

lighthouse score on current branch


Bluetooth: BAP: Unicast client sample accept EXT_ADV

Minor change to let the client accept EXT_ADV reports
when connecting.
fixes #42856
Signed-off-by: Casper Bonde<EMAIL_ADDRESS>

This solves https://github.com/zephyrproject-rtos/zephyr/issues/42856

This solves #42856

@Casper-Bonde-Bose  Please add a proper link between this PR and the issue: https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue

This solves #42856

@Casper-Bonde-Bose Please add a proper link between this PR and the issue: https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue

Thanks @Thalley cool feature!


Add more than one language detection

There are cases in practice when text is bi-lingual or it contains phrases or paragraphs even on several languages. Original fasttext allows to get more than one language detected with predict function parameter k : https://github.com/facebookresearch/fastText/blob/main/python/fasttext_module/fasttext/FastText.py#L183

Might be relevant : https://github.com/DoodleBears/split-lang


Hotels: patch code-push-init android

Upgrade rnkiwimobile to 0.0.44
closes #1492

LGTM otherwise!


TravisCI: Python 3, missing mkbwt

Today's build failed https://travis-ci.org/abaizan/kodoja/builds/572680971 (updated a README only) on Python 3.6 with floating dependencies:
Which version of Python do we have?
Python 3.6.9 :: Anaconda, Inc.
Do we have ncbi-genome-download?
0.2.10
Do we have kraken?
Kraken version 1.1.1
Copyright 2013-2019, Derrick Wood, Jennifer Lu (jlu26@jhmi.edu))
Do we have kaiju?
Kaiju 1.7.2
Do we have trimmomatic?
0.39
Do we have fastqc?
FastQC v0.11.8
Do we have numpy?
1.17.0
Do we have pandas?
0.25.0
Do we have biopython?
1.74

/bin/sh: 1: mkbwt: not found
Kodoja failed unexpectedly with the following:
Traceback (most recent call last):
  File "diagnosticTool_scripts/kodoja_build.py", line 168, in <module>
    main()
  File "diagnosticTool_scripts/kodoja_build.py", line 159, in main
    kaijuDB_build(args.output_dir, kaiju_db_dir, subset_vir_assembly)
  File "/home/travis/build/abaizan/kodoja/diagnosticTool_scripts/database_modules.py", line 236, in kaijuDB_build
    shell=True)
  File "/home/travis/miniconda/envs/snowflakes/lib/python3.6/subprocess.py", line 311, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'mkbwt -n 5 -a ACDEFGHIKLMNPQRSTVWY -o test/building_db/kaijuDB_test/kaiju_library test/building_db/kaijuDB_test/kaiju_library.faa' returned non-zero exit status 127.

The matching build with Python 3.6 and pinned dependencies worked.
Which version of Python do we have?
Python 3.6.9 :: Anaconda, Inc.
Do we have ncbi-genome-download?
0.2.6
Do we have kraken?
Kraken version 1.0
Copyright 2013-2015, Derrick Wood<EMAIL_ADDRESS>Do we have kaiju?
Kaiju 1.5.0
Do we have trimmomatic?
0.36
Do we have fastqc?
FastQC v0.11.5
Do we have numpy?
1.9.0
Do we have pandas?
/home/travis/miniconda/envs/snowflakes/lib/python3.6/site-packages/pandas/io/excel.py:626: UserWarning: Installed openpyxl is not supported at this time. Use >=1.6.1 and <2.0.0.
  .format(openpyxl_compat.start_ver, openpyxl_compat.stop_ver))
0.14.0
Do we have biopython?
1.67

The previous build with floating versions also worked, https://travis-ci.org/abaizan/kodoja/jobs/487385399
Which version of Python do we have?
Python 3.6.8 :: Anaconda, Inc.
Do we have ncbi-genome-download?
0.2.9
Do we have kraken?
Kraken version 1.0
Copyright 2013-2015, Derrick Wood<EMAIL_ADDRESS>Do we have kaiju?
Kaiju 1.6.3
Do we have trimmomatic?
0.38
Do we have fastqc?
FastQC v0.11.8
Do we have numpy?
1.16.1
Do we have pandas?
0.24.0
Do we have biopython?
1.73

This looks like a change in Kaiju from 1.5.0 and 1.6.3 (working) to 1.7.2 (broken)

kaiju 1.7.0 renamed their internal tools, in this case mkbwt to kaiju-mkbwt
https://github.com/bioinformatics-centre/kaiju/commit/4a628c9643f1cddad2b79454634e48f734a0bd5c
Simplest fix is to pin to an older version... more practically we might cope with either.


Create option for automatic sliding

Allow automatic sliding with a configurable timeout.
For example: 2000ms
Tasks:

Modify JavaScript-Code
Update documentation / README

Closed by improvement from  @comster


fix(curriculum): update test to accept array destructuring

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #46728
I'm pretty new to writing regex - not sure that what I've written is the cleanest it could be. Please let me know if there are any changes I should make.

I just thought of another scenario. What if a user decides to use object destructuring, e.g..:
const {LOGIN, LOGOUT} = {LOGIN: 'LOGIN', LOGOUT: 'LOGOUT'}

This is valid and the challenge should pass but it won't with current regex. Further extending the regex to cover this case will make things even more complicated.

the test is checking if there are variables LOGIN and LOGOUT and their values are respectively 'LOGIN' and 'LOGOUT'

The challenge is talking about the using const, so I don't see why it should check if the variable is const and if the variable value is LOGIN.
@raditotev I like the idea of breaking this test into two, one that check if the variables LOGIN, and LOGOUT are consts, and a second that check their values. But @lulululu12345 mentioned he is new to regex, so I suggest passing this as is, and creating a new issue for said suggestions.

assert(   ((/constLOGIN/.test(noWhiteSpace) &&     /constLOGOUT/.test(noWhiteSpace)) ||     /const\[(LOGIN|LOGOUT),(?!\1)(LOGIN|LOGOUT)\]/.test(noWhiteSpace) ||     /const\{(LOGIN|LOGOUT),(?!\1)(LOGIN|LOGOUT)\}/.test(noWhiteSpace)) &&     LOGIN === 'LOGIN' && LOGOUT === 'LOGOUT' );
How about something like this? Not sure if this is the cleanest/most efficient way to go about it, but I believe it covers all the issues mentioned and the regex is more readable than my initial solution.

I don't see the point in that line as well

const noWhiteSpace = __helpers.removeWhiteSpace(code);

@Sboonny this helper removes all white space from the code under test, so that it doesn't have to be taken into consideration within the regex.

assert(
  ((/constLOGIN/.test(noWhiteSpace) &&
    /constLOGOUT/.test(noWhiteSpace)) ||
    /const\[(LOGIN|LOGOUT),(?!\1)(LOGIN|LOGOUT)\]/.test(noWhiteSpace) ||
    /const\{(LOGIN|LOGOUT),(?!\1)(LOGIN|LOGOUT)\}/.test(noWhiteSpace)) &&
    LOGIN === 'LOGIN' && LOGOUT === 'LOGOUT'
);

How about something like this? Not sure if this is the cleanest/most efficient way to go about it, but I believe it covers all the issues mentioned and the regex is more readable than my initial solution.

I am sorry @lulululu12345, I must have missed your comment. You suggestion is sound and it will further increase the reliability of the test but in my opinion there will always be edge cases where this test will fail unless we move away from regex.
Thanks again for your contribution 👍


[Event Request] Table 38 "Purchase Header" - OnShipToPostCodeOnBeforeOnLookup

Hello. In table 38 purchase Header, in the field 91 "Ship-to Post Code", in trigger OnLookup, I would like to add my own code instead of the standard one. To do so, I would need an event publisher, like this :
    field(91; "Ship-to Post Code"; Text[30])
    {
        ...
        trigger OnLookup()
        var
            IsHandled : boolean;
        begin
            IsHandled := false;
            OnShipToPostCodeOnBeforeOnLookup(Rec, PostCode, IsHandled);
            if IsHandled then
                exit;
            LookupPostCode("Ship-to City", "Ship-to Post Code", "Ship-to County", "Ship-to Country/Region Code", CurrFieldNo);
        end;
        ...
      }

With this event integration :
[IntegrationEvent(TRUE, false)]
procedure OnShipToPostCodeOnBeforeOnLookup(var PurchaseHeader: Record "Purchase Header"; PostCode : record "Post Code"; var IsHandled : boolean)
begin
end;

Do you think it could be possible ?
Thank you for your work.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Fixes graph layout with cycles, re-enable tests

This project uses semver, please check the scope of this pr:

[x] #patch# - backwards-compatible bug fix
[ ] #minor# - adding functionality in a backwards-compatible manner
[ ] #major# - incompatible API change

CHANGELOG
Fixes graph layout with cycles, re-enable tests

I'll try to help you get this thing passing CI this coming week so we can get this merged. Thanks for the PR.

It looks like it's not passing because of https://github.com/ciena-blueplanet/graphlib/issues/13

Changes Unknown when pulling ac3ab0184203f1ed43367d74a25fb56695385578 on nchen63:fix-cycle into ** on ciena-blueplanet:master**.


cargo clean [--offline] downloads toolchain if specified

Problem
When running cargo clean or cargo clean --offline in a cargo project with a rust-toolchain file, cargo downloads the toolchain if not yet installed.
This is really unexpected since I'd expect cargo clean to work without a specific toolchain installed. And if it's actually desired to download the new toolchain, the --offline flag should prevent this.
Steps

create a new cargo project : cargo new temp
cd temp
add a rust-toolchain file: printf '[toolchain]\nchannel = "nightly-2021-05-24"\ncomponents = ["rust-src", "rustc-dev", "llvm-tools-preview"]' > rust-toolchain
run cargo clean [--offline]

Possible Solution(s)
Don't check for rust-toolchain files when running cargo clean, or don't allow downloading toolchains when running cargo <CMD> --offline.
Notes
While filing this issue, I noticed that this also happens when running cargo --version 🤔
Version
cargo 1.58.0-nightly (94ca096af 2021-10-29)
release: 1.58.0
commit-hash: 94ca096afbf25f670e76e07dca754fcfe27134be
commit-date: 2021-10-29
host: x86_64-pc-windows-msvc
libgit2: 1.3.0 (sys:0.13.23 vendored)
libcurl: 7.79.1-DEV (sys:0.4.49+curl-7.79.1 vendored ssl:Schannel)
os: Windows 10.0.19042 (Windows 10 Pro) [64-bit]

A quick fix is cargo +<toolchain> clean.

 Rustup wraps Cargo to figure out which one to run for the directory you are in. In order to run the one specified in your rust-toolchain file it needs to be downloaded. You may want to discuss this with the Rustup taem; I don't think the Cargo team can help you.

Yea, unfortunately cargo and rustup are two separate tools that don't really know much about each other. If the toolchain is not installed, rustup wouldn't know which one to use to execute cargo clean.
I understand, though, that it can be a little surprising if you pass something like --offline.
Given that this is a fundamental limitation of having rustup be an outer wrapper, I'm going to close as something we cannot address.


docs: bump pdf stable version to release-8.1

Update the stable PDF version of TiDB and TiDB Cloud:

TiDB: the stable PDF version is updated from release-7.5 to release-8.1.
TiDB Cloud: the stable PDF version will remain at release-7.5 to ensure consistency with the current TiDB Cloud documentation.

/hold

/unhold

@purelind @wuhuizuo Please help review and merge this PR


A indentation error on "Microservice vertical pattern" page

What is your issue?
Hello there, I found an indentation error on this page, located in the [Needs consideration] section.

Although there is no error in the Markdown file of this repo.
Why is it issue?
Maybe just a mistake
How do you expect to be?

Great design pattern summary anyway! 😄

@Jasonnor
Thank you for the issue.
Just fixed the indentation.
https://github.com/mercari/ml-system-design-pattern/pull/39