RuntimeError: jaxlib/gpu/solver_kernels.cc:45: operation gpusolverDnCreate(&handle) failed: cuSolver internal error

`I0503 03:19:43.859731<PHONE_NUMBER>90944 run_alphafold.py:216] Running model model_1_pred_0 on 1GFL
W0503 03:19:44.374880<PHONE_NUMBER>90944 deprecation.py:350] From /home/elfen/anaconda3/lib/python3.10/site-packages/tensorflow/python/autograph/pyct/static_analysis/liveness.py:83: Analyzer.lamba_check (from tensorflow.python.autograph.pyct.static_analysis.liveness) is deprecated and will be removed after 2023-09-23.
Instructions for updating:
Lambda fuctions will be no more assumed to be used in the statement where they are used, or at least in the same block. https://github.com/tensorflow/tensorflow/issues/56089
I0503 03:19:47.596941<PHONE_NUMBER>90944 model.py:165] Running predict with shape(feat) = {'aatype': (4, 238), 'residue_index': (4, 238), 'seq_length': (4,), 'template_aatype': (4, 4, 238), 'template_all_atom_masks': (4, 4, 238, 37), 'template_all_atom_positions': (4, 4, 238, 37, 3), 'template_sum_probs': (4, 4, 1), 'is_distillation': (4,), 'seq_mask': (4, 238), 'msa_mask': (4, 508, 238), 'msa_row_mask': (4, 508), 'random_crop_to_size_seed': (4, 2), 'template_mask': (4, 4), 'template_pseudo_beta': (4, 4, 238, 3), 'template_pseudo_beta_mask': (4, 4, 238), 'atom14_atom_exists': (4, 238, 14), 'residx_atom14_to_atom37': (4, 238, 14), 'residx_atom37_to_atom14': (4, 238, 37), 'atom37_atom_exists': (4, 238, 37), 'extra_msa': (4, 5120, 238), 'extra_msa_mask': (4, 5120, 238), 'extra_msa_row_mask': (4, 5120), 'bert_mask': (4, 508, 238), 'true_msa': (4, 508, 238), 'extra_has_deletion': (4, 5120, 238), 'extra_deletion_value': (4, 5120, 238), 'msa_feat': (4, 508, 238, 49), 'target_feat': (4, 238, 22)}
Traceback (most recent call last):
File "/home/elfen/.local/lib/python3.10/site-packages/jax/interpreters/mlir.py", line 1113, in _lower_jaxpr_to_fun_cached
func_op = ctx.cached_call_jaxpr_lowerings[key]
KeyError: ('eigh', { lambda ; a:f32[1,238,4,4]. let
b:f32[1,238,4,4] = transpose[permutation=(0, 1, 3, 2)] a
c:f32[1,238,4,4] = add a b
d:f32[1,238,4,4] = div c 2.0
e:f32[1,238,4,4] f:f32[1,238,4] = eigh[lower=True sort_eigenvalues=True] d
in (f, e) }, ())
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/elfen/software/alphafold/./run_alphafold.py", line 468, in
app.run(main)
File "/home/elfen/anaconda3/lib/python3.10/site-packages/absl/app.py", line 312, in run
_run_main(main, args)
File "/home/elfen/anaconda3/lib/python3.10/site-packages/absl/app.py", line 258, in _run_main
sys.exit(main(argv))
File "/home/elfen/software/alphafold/./run_alphafold.py", line 443, in main
predict_structure(
File "/home/elfen/software/alphafold/./run_alphafold.py", line 224, in predict_structure
prediction_result = model_runner.predict(processed_feature_dict,
File "/home/elfen/software/alphafold/alphafold/model/model.py", line 167, in predict
result = self.apply(self.params, jax.random.PRNGKey(random_seed), feat)
File "/home/elfen/anaconda3/lib/python3.10/site-packages/haiku/_src/transform.py", line 128, in apply_fn
out, state = f.apply(params, {}, *args, **kwargs)
File "/home/elfen/anaconda3/lib/python3.10/site-packages/haiku/_src/transform.py", line 357, in apply_fn
out = f(*args, **kwargs)
File "/home/elfen/software/alphafold/alphafold/model/model.py", line 83, in _forward_fn
return model(
File "/home/elfen/anaconda3/lib/python3.10/site-packages/haiku/_src/module.py", line 426, in wrapped
out = f(*args, **kwargs)
File "/home/elfen/anaconda3/lib/python3.10/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/home/elfen/anaconda3/lib/python3.10/site-packages/haiku/_src/module.py", line 272, in run_interceptors
return bound_method(*args, **kwargs)
File "/home/elfen/software/alphafold/alphafold/model/modules.py", line 383, in call
_, prev = hk.while_loop(
File "/home/elfen/anaconda3/lib/python3.10/site-packages/haiku/_src/stateful.py", line 898, in while_loop
val, state = jax.lax.while_loop(pure_cond_fun, pure_body_fun, init_val)
File "/home/elfen/anaconda3/lib/python3.10/site-packages/haiku/_src/stateful.py", line 891, in pure_body_fun
val = body_fun(val)
File "/home/elfen/software/alphafold/alphafold/model/modules.py", line 376, in
get_prev(do_call(x[1], recycle_idx=x[0],
File "/home/elfen/software/alphafold/alphafold/model/modules.py", line 343, in do_call
return impl(
File "/home/elfen/anaconda3/lib/python3.10/site-packages/haiku/_src/module.py", line 426, in wrapped
out = f(*args, **kwargs)
File "/home/elfen/anaconda3/lib/python3.10/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/home/elfen/anaconda3/lib/python3.10/site-packages/haiku/_src/module.py", line 272, in run_interceptors
return bound_method(*args, **kwargs)
File "/home/elfen/software/alphafold/alphafold/model/modules.py", line 167, in call
representations = evoformer_module(batch0, is_training)
File "/home/elfen/anaconda3/lib/python3.10/site-packages/haiku/_src/module.py", line 426, in wrapped
out = f(*args, **kwargs)
File "/home/elfen/anaconda3/lib/python3.10/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/home/elfen/anaconda3/lib/python3.10/site-packages/haiku/_src/module.py", line 272, in run_interceptors
return bound_method(*args, **kwargs)
File "/home/elfen/software/alphafold/alphafold/model/modules.py", line 1868, in call
template_pair_representation = TemplateEmbedding(c.template, gc)(
File "/home/elfen/anaconda3/lib/python3.10/site-packages/haiku/_src/module.py", line 426, in wrapped
out = f(*args, **kwargs)
File "/home/elfen/anaconda3/lib/python3.10/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/home/elfen/anaconda3/lib/python3.10/site-packages/haiku/_src/module.py", line 272, in run_interceptors
return bound_method(*args, **kwargs)
File "/home/elfen/software/alphafold/alphafold/model/modules.py", line 2163, in call
template_pair_representation = mapping.sharded_map(map_fn, in_axes=0)(
File "/home/elfen/software/alphafold/alphafold/model/mapping.py", line 187, in mapped_fn
outputs, _ = hk.scan(scan_iteration, outputs, slice_starts)
File "/home/elfen/anaconda3/lib/python3.10/site-packages/haiku/_src/stateful.py", line 640, in scan
(carry, state), ys = jax.lax.scan(
File "/home/elfen/anaconda3/lib/python3.10/site-packages/haiku/_src/stateful.py", line 623, in stateful_fun
carry, out = f(carry, x)
File "/home/elfen/software/alphafold/alphafold/model/mapping.py", line 176, in scan_iteration
new_outputs = compute_shard(outputs, i, shard_size)
File "/home/elfen/software/alphafold/alphafold/model/mapping.py", line 170, in compute_shard
slice_out = apply_fun_to_slice(slice_start, slice_size)
File "/home/elfen/software/alphafold/alphafold/model/mapping.py", line 143, in apply_fun_to_slice
return fun(*input_slice)
File "/home/elfen/anaconda3/lib/python3.10/site-packages/haiku/_src/stateful.py", line 833, in mapped_fun
out, state = mapped_pure_fun(args, state)
File "/home/elfen/anaconda3/lib/python3.10/site-packages/haiku/_src/stateful.py", line 812, in pure_fun
out = fun(*args)
File "/home/elfen/software/alphafold/alphafold/model/modules.py", line 2161, in map_fn
return template_embedder(query_embedding, batch, mask_2d, is_training)
File "/home/elfen/anaconda3/lib/python3.10/site-packages/haiku/_src/module.py", line 426, in wrapped
out = f(*args, **kwargs)
File "/home/elfen/anaconda3/lib/python3.10/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/home/elfen/anaconda3/lib/python3.10/site-packages/haiku/_src/module.py", line 272, in run_interceptors
return bound_method(*args, **kwargs)
File "/home/elfen/software/alphafold/alphafold/model/modules.py", line 2067, in call
quaternion=quat_affine.rot_to_quat(rot, unstack_inputs=True),
File "/home/elfen/software/alphafold/alphafold/model/quat_affine.py", line 113, in rot_to_quat
_, qs = jnp.linalg.eigh(k)
File "/home/elfen/.local/lib/python3.10/site-packages/jax/_src/numpy/linalg.py", line 400, in eigh
v, w = lax_linalg.eigh(a, lower=lower, symmetrize_input=symmetrize_input)
jax._src.source_info_util.JaxStackTraceBeforeTransformation: RuntimeError: jaxlib/gpu/solver_kernels.cc:45: operation gpusolverDnCreate(&handle) failed: cuSolver internal error
The preceding stack trace is the source of the JAX operation that, once transformed by JAX, triggered the following exception.

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/elfen/software/alphafold/./run_alphafold.py", line 468, in
app.run(main)
File "/home/elfen/anaconda3/lib/python3.10/site-packages/absl/app.py", line 312, in run
_run_main(main, args)
File "/home/elfen/anaconda3/lib/python3.10/site-packages/absl/app.py", line 258, in _run_main
sys.exit(main(argv))
File "/home/elfen/software/alphafold/./run_alphafold.py", line 443, in main
predict_structure(
File "/home/elfen/software/alphafold/./run_alphafold.py", line 224, in predict_structure
prediction_result = model_runner.predict(processed_feature_dict,
File "/home/elfen/software/alphafold/alphafold/model/model.py", line 167, in predict
result = self.apply(self.params, jax.random.PRNGKey(random_seed), feat)
File "/home/elfen/.local/lib/python3.10/site-packages/jax/_src/traceback_util.py", line 162, in reraise_with_filtered_traceback
return fun(*args, **kwargs)
File "/home/elfen/.local/lib/python3.10/site-packages/jax/_src/api.py", line 622, in cache_miss
execute = dispatch.xla_call_impl_lazy(fun, *tracers, **params)
File "/home/elfen/.local/lib/python3.10/site-packages/jax/_src/dispatch.py", line 236, in _xla_call_impl_lazy
return xla_callable(fun, device, backend, name, donated_invars, keep_unused,
File "/home/elfen/.local/lib/python3.10/site-packages/jax/linear_util.py", line 303, in memoized_fun
ans = call(fun, *args)
File "/home/elfen/.local/lib/python3.10/site-packages/jax/_src/dispatch.py", line 359, in _xla_callable_uncached
return lower_xla_callable(fun, device, backend, name, donated_invars, False,
File "/home/elfen/.local/lib/python3.10/site-packages/jax/_src/profiler.py", line 314, in wrapper
return func(*args, **kwargs)
File "/home/elfen/.local/lib/python3.10/site-packages/jax/_src/dispatch.py", line 515, in lower_xla_callable
lowering_result = mlir.lower_jaxpr_to_module(
File "/home/elfen/.local/lib/python3.10/site-packages/jax/interpreters/mlir.py", line 642, in lower_jaxpr_to_module
lower_jaxpr_to_fun(
File "/home/elfen/.local/lib/python3.10/site-packages/jax/interpreters/mlir.py", line 912, in lower_jaxpr_to_fun
out_vals, tokens_out = jaxpr_subcomp(ctx.replace(name_stack=callee_name_stack),
File "/home/elfen/.local/lib/python3.10/site-packages/jax/interpreters/mlir.py", line 1036, in jaxpr_subcomp
ans = rule(rule_ctx, *map(_unwrap_singleton_ir_values, in_nodes),
File "/home/elfen/.local/lib/python3.10/site-packages/jax/_src/lax/control_flow/loops.py", line 1521, in _while_lowering
new_z, tokens_out = mlir.jaxpr_subcomp(body_ctx, body_jaxpr.jaxpr,
File "/home/elfen/.local/lib/python3.10/site-packages/jax/interpreters/mlir.py", line 1036, in jaxpr_subcomp
ans = rule(rule_ctx, *map(_unwrap_singleton_ir_values, in_nodes),
File "/home/elfen/.local/lib/python3.10/site-packages/jax/interpreters/mlir.py", line 1099, in f_lowered
out, tokens = jaxpr_subcomp(
File "/home/elfen/.local/lib/python3.10/site-packages/jax/interpreters/mlir.py", line 1036, in jaxpr_subcomp
ans = rule(rule_ctx, *map(_unwrap_singleton_ir_values, in_nodes),
File "/home/elfen/.local/lib/python3.10/site-packages/jax/_src/lax/control_flow/loops.py", line 1521, in _while_lowering
new_z, tokens_out = mlir.jaxpr_subcomp(body_ctx, body_jaxpr.jaxpr,
File "/home/elfen/.local/lib/python3.10/site-packages/jax/interpreters/mlir.py", line 1036, in jaxpr_subcomp
ans = rule(rule_ctx, *map(_unwrap_singleton_ir_values, in_nodes),
File "/home/elfen/.local/lib/python3.10/site-packages/jax/interpreters/mlir.py", line 1145, in _xla_call_lower
out_nodes, tokens = _call_lowering(
File "/home/elfen/.local/lib/python3.10/site-packages/jax/interpreters/mlir.py", line 1131, in _call_lowering
symbol_name = _lower_jaxpr_to_fun_cached(ctx, fn_name, call_jaxpr, effects).name.value
File "/home/elfen/.local/lib/python3.10/site-packages/jax/interpreters/mlir.py", line 1115, in _lower_jaxpr_to_fun_cached
func_op = lower_jaxpr_to_fun(ctx, fn_name, call_jaxpr, effects)
File "/home/elfen/.local/lib/python3.10/site-packages/jax/interpreters/mlir.py", line 912, in lower_jaxpr_to_fun
out_vals, tokens_out = jaxpr_subcomp(ctx.replace(name_stack=callee_name_stack),
File "/home/elfen/.local/lib/python3.10/site-packages/jax/interpreters/mlir.py", line 1036, in jaxpr_subcomp
ans = rule(rule_ctx, *map(_unwrap_singleton_ir_values, in_nodes),
File "/home/elfen/.local/lib/python3.10/site-packages/jax/_src/lax/linalg.py", line 635, in _eigh_cpu_gpu_lowering
v, w, info = syevd_impl(operand_aval.dtype, operand, lower=lower)
File "/home/elfen/.local/lib/python3.10/site-packages/jaxlib/gpu_solver.py", line 274, in _syevd_mhlo
lwork, opaque = gpu_solver.build_syevj_descriptor(
jax._src.traceback_util.UnfilteredStackTrace: RuntimeError: jaxlib/gpu/solver_kernels.cc:45: operation gpusolverDnCreate(&handle) failed: cuSolver internal error
The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/elfen/software/alphafold/./run_alphafold.py", line 468, in
app.run(main)
File "/home/elfen/anaconda3/lib/python3.10/site-packages/absl/app.py", line 312, in run
_run_main(main, args)
File "/home/elfen/anaconda3/lib/python3.10/site-packages/absl/app.py", line 258, in _run_main
sys.exit(main(argv))
File "/home/elfen/software/alphafold/./run_alphafold.py", line 443, in main
predict_structure(
File "/home/elfen/software/alphafold/./run_alphafold.py", line 224, in predict_structure
prediction_result = model_runner.predict(processed_feature_dict,
File "/home/elfen/software/alphafold/alphafold/model/model.py", line 167, in predict
result = self.apply(self.params, jax.random.PRNGKey(random_seed), feat)
File "/home/elfen/.local/lib/python3.10/site-packages/jaxlib/gpu_solver.py", line 274, in _syevd_mhlo
lwork, opaque = gpu_solver.build_syevj_descriptor(
RuntimeError: jaxlib/gpu/solver_kernels.cc:45: operation gpusolverDnCreate(&handle) failed: cuSolver internal error`
Help! I have been suffered by this problem for a long time. Please help me.  :(
PC;
Ubuntu 22.04.2 LTS;
Nvidia RTX3050;
Cuda compilation tools, release 11.4, V11.4.120
Build cuda_11.4.r11.4/compiler.30300941_0;
cudnn8.2.4 (#define CUDNN_MAJOR 8 #define CUDNN_MINOR 2 #define CUDNN_PATCHLEVEL 4--#define CUDNN_VERSION (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL)#endif /* CUDNN_VERSION_H */);
TensorRT-<IP_ADDRESS>.Linux.x86_64-gnu.cuda-11.4.cudnn8.2(I cp libnvinfer.so to libnvinfer.so.7 and libnvinfer_plugin.so to libnvinfer_plugin.so.7)
nvidia-smi (NVIDIA-SMI 470.57.01    Driver Version: 471.41       CUDA Version: 11.4);
I did not install using Docker or Conda, but instead directly installed alphafold:
python3.10.9
jax0.3.25
jaxlib0.3.25+cuda11.cudnn82
tensorflow2.11.0
(Only some important software info are listed. According to the error log, the problem seems to be on jax.)

Hi,
How did you solve this?
Thanks

Hi,
How did you solve this?
Thanks

you got same problem?
can you list more info about the errors?
for example,error logs,hardware,system,etc

Yes, I got the following error while running the latest version of AlphaFold 2.3.2 in a Singularity container
RuntimeError: jaxlib/gpu/solver_kernels.cc:45: operation gpusolverDnCreate(&handle) failed: cuSolver internal error
This was run on an HPC cluster with Rocky Linux 8.5. The container only works with CPU and fails if GPU is used.
I'll attach the full error log and the Slurm job script
alphafold-error.zip
BR

I had the same error appearing when running tests for JAX-code using PyCharm's remote interpreter configured on Docker Compose. The same tests were running without issues when launched via terminal. Increasing shm_size in compose.yaml file from '1g' to '4g' appears to have solved the issue for me.


Clean deployment of v25.0.0 fails on bpm not being build for stemcel 250.4

When tried to deploy prometheus-boshrelease v25.0.0, the deployment failed with this error:
Task 76009 | 01:14:03 | Preparing deployment: Preparing deployment (00:00:03)
Task 76009 | 01:14:06 | Preparing deployment: Rendering templates (00:00:03)
Task 76009 | 01:14:09 | Error:
Can't use release 'bpm/1.0.4'. It references packages without source code and are not compiled against stemcell 'bosh-aws-xen-hvm-ubuntu-xenial-go_agent/250.4':
'bpm/d7c8de76cea8201f6cdf37d4f848b0a52c9c5798'
'bpm-runc/cb758414ed267820880c6bf1ca57d7467c2d70bf'
'golang/b348840d6ee6de87fdd43e4792fdbe1af734039b'
Task 76009 Started Wed Jun 5 01:14:03 UTC 2019
Task 76009 Finished Wed Jun 5 01:14:09 UTC 2019
Task 76009 Duration 00:00:06
Task 76009 error
Updating deployment:
Expected task '76009' to succeed but state is 'error'
Exit code 1
Rolling back the stemcell to 170.21, works.

@aryanet : Hi I saw this error if a deployment used a pre-compiled version of a release and deploying another deployment using the same release afterwards. Uploading the respective bpmrelease with the following command should fix the issue (forces the release to get compiled again).
bosh upload-release https://bosh.io/d/github.com/cloudfoundry-incubator/bpm-release?v=1.0.4 --sha1 41df19697d6a69d2552bc2c132928157fa91abe0 --fix

Thank you @benjaminguttmann-avtq. That helps. What I ended up doing was to create-release for bpm with a specific version tag from the source repo and it also worked.


Hide text cursor in Script Editor when another application has focus

Fixes #46951
Added two cases to the switch in TextEdit::_notification( )

While the fix looks ok, I wonder why NOTIFICATION_APPLICATION_FOCUS_OUT doesn't trigger NOTIFICATION_WM_WINDOW_FOCUS_OUT. It might be some deeper bug.


Added KeepKey to list of hardware wallets. Update wallets.html.

Added KeepKey under hardware wallet since it has bch support. Addresses issue #61.

Would anyone mind taking a look at my PR?

Would anyone mind taking a look at my PR?

I still think this shouldn't be merged until the official clients comes out of beta.
@imaginaryusername what do you think?

Not sure what's the relationship between their different clients, but found this on the website:

so the current "official way to access" seems to be entirely web-based at https://app.shapeshift.com
someone known with a keepkey needs to test this and report if it works with BCH.

I still think this shouldn't be merged until the official client comes out of beta.
@imaginaryusername what do you think?

Which client are you referring to? If you're talking about app.shapeshift.com, it already has bch support enabled and operational.

I'll share a couple screenshots here to show that it's working, at least the basic sending and receiving part of it is fine.

When I get a chance I'll also test ElectrumCash with my KeepKey and will report back. If it's anything like the regular electrum or  Dash's fork of electrum then it should work fine.

Okay I just tested my KeepKey on Electron-Cash-4.2.12, current latest at time of this posting. It's able to communicate with and verify the pin as well as passphrase on my KeepKey. I'm able to send and receive fine using addresses generated from the device. All the transaction history shows up as well.
From what I can tell, everything works as it should.

Not sure what's the relationship between their different clients, but found this on the website:

so the current "official way to access" seems to be entirely web-based at https://app.shapeshift.com
someone known with a keepkey needs to test this and report if it works with BCH.

Yea they do support BCH. But why is it using a DEX online instead of an offline open source app?

Yea they do support BCH. But why is it using a DEX online instead of an offline open source app?

yeah, it's not ideal. The quick backstory is before Shapeshift acquired KeepKey the main way to access it was through the Chrome Extension. After the acquisition they basically wanted to migrate users onto their shapeshift platform. Unfortunately not all the features were made available, like for example bitcoin gold, digibyte and some other altcoin support.
I needed a way to access those too and since it's clearly not a firmware support issue, it was a UI interface issue, I just took the original Chrome Extension source as the starting base and started improving and maintaining it myself.
That all said, there is work being done in the shapeshift community since turning into a DEX/DAO setup, specifically highlander is working on a standalone webapp client. It's still in it's early stages you can find it here: https://github.com/keepkey/keepkey-desktop. That gets you closer to an open-source standalone app you can use.
I haven't tested that though, I've only confirmed app.shapeshift.com works, ElectronCash works and the KKClient fork I've been maintaining works.

Have used a Keepkey with Electron Cash without issue for years. Not that I'm an anybody :)

@SayoshiNakamario I think you definitely qualify as "known community member" tbh, can you give the shapeshift webapp a quick try? :)

Verified sending/receiving with Keepkey on shapeshift's webapp works for BCH, but only on Chrome (Version 107.0.5304.123), Firefox (107.0.1) would not detect the Keepkey. I Shapeshift has only ever officially supported Chrome though.

Thank you. @merc1er I think it's safe to recommend a merge.

Verified sending/receiving with Keepkey on shapeshift's webapp works for BCH, but only on Chrome (Version 107.0.5304.123), Firefox (107.0.1) would not detect the Keepkey. I Shapeshift has only ever officially supported Chrome though.

yeah, I think any Chromium-based browser should work. I think the issue stems from firefox not supporting the webusb api interface. Without that any site or webapp won't be able to communicate with KeepKey or any other custom usb device for that matter.

@SayoshiNakamario I think you definitely qualify as "known community member" tbh, can you give the shapeshift webapp a quick try? :)

He is? His account seems almost not used in GitHub and pretty new actually.

@SayoshiNakamario I think you definitely qualify as "known community member" tbh, can you give the shapeshift webapp a quick try? :)

He is? His account seems almost not used in GitHub and pretty new actually.

He's the builder of helpme.cash


Add version check for libnotify.

This allows node-webkit to be built on CentOS (see issues #684, #1966).

Looks like the patches that I made to Chromium that enable it to be built on CentOS 6 are in Chromium version 41, which the node-webkit v0.12.0 alpha is based on. Any chance of merging this pull request so we can build for CentOS out-of-the-box?

Very Important change. :+1: Roger, can you pull it?


Error during sample Unity build (PeerCC-Unity)

(using branch Mosa/20180320-peercc-unity)
(downloaded using git clone --recursive -b Mosa/20180320-peercc-unity https://github.com/ortclib/ortclib-sdk.git)

Hello, after preparing and building the WebRtcUnityD3D solution, I open the Sample project (in ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\PeerCCUnity) and get this error whenever I try building that project's solution:
Severity	Code	Description	Project	File	Line	Suppression State Error		The command ""D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\Unity\Tools\AssemblyConverter.exe" -platform=uap -lock="D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\project.lock.json" -bits=32 -configuration=Release -removeDebuggableAttribute=False -uwpsdk=10.0.17134.0 -path="." -path="C:\Program Files\Unity\Editor\Data\PlaybackEngines\MetroSupport\Players\UAP\dotnet\x86\Release" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\Assembly-CSharp.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.TilemapModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.TextRenderingModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.TerrainPhysicsModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.UIElementsModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.TerrainModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.SpriteMaskModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.SharedInternalsModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.StyleSheetsModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.SpriteShapeModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.UIModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.VRModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.VideoModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.VehiclesModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.WindModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.WebModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.UnityWebRequestWWWModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.UnityConnectModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.UnityAnalyticsModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.UNETModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.UnityWebRequestTextureModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.UnityWebRequestModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.UnityWebRequestAudioModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.ScreenCaptureModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.ClothModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.AudioModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.AssetBundleModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.DirectorModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.CrashReportingModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.CoreModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.ARModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.AnimationModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.AIModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.AccessibilityModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.ParticleSystemModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.ParticlesLegacyModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.PhysicsModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.Physics2DModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.PerformanceReportingModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.JSONSerializeModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.GridModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.GameCenterModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.InputModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.IMGUIModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.ImageConversionModule.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.Timeline.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\nunit.framework.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.UI.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.SpatialTracking.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.HoloLens.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.StandardEvents.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\UnityEngine.Networking.dll" "D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\PeerConnectionClientCore.dll"" exited with code 1.	PeerCCUnity	D:\test8-27-07-2018\ortclib-sdk\common\windows\samples\PeerCC\ClientUnity\Unity\Build-Desktop - original\PeerCCUnity\PeerCCUnity.csproj	433
I've tried re-downloading and re-building the whole git project multiple times with no success, please help!

Part of your path looks strange "Build-Desktop - original".  I don't see this in the repo: https://github.com/webrtc-uwp/PeerCC/tree/5f494a91439751902c45263b9303f77c9d772e43/ClientUnity/Unity
Any idea where that's coming from?

Sorry for the late reply, "Build-Desktop - original" is the folder where I've built the sample project in Unity, like this:

Then I proceeded to build the solution generated and got that error.

Hi @Wolfoso. I checked a command line call to AssemblyConverter.exe in our build. It looks pretty much the same. There's a beginning of the call:
"C:\Users\moros\Repos\ortclib-sdk-m62-peercc-unity\webrtc\windows\solutions\..\..\..\common\windows\samples\PeerCC\Unity\Tools\AssemblyConverter.exe" -platform=uap -lock="C:\Users\moros\Repos\ortclib-sdk-m62-peercc-unity\common\windows\samples\PeerCC\ClientUnity\project.lock.json" -bits=32 -configuration=Debug -removeDebuggableAttribute=False -uwpsdk=10.0.17134.0 -path="." -path="C:\Program Files\Unity\Editor\Data\PlaybackEngines\MetroSupport\Players\UAP\dotnet\x86\Debug"

We use the same settings to generate VS projects from Unity Editor.

Which version of Unity Editor do you use? We test on 2017.4.1f1.

@morosev I know right? I can't figure out what's wrong!
I'm using Unity 2017.4.1f1 as well. Something new came up today while working with a previous buildable sample I had:
After editing the scene and adding some code, I created a solution with Unity in a different folder and when I tried to build that solution I got the same exact error I showed in the original post. I then tried creating the solution in the same folder I had created a buildable solution before and it worked.
Could it be something with my VS?

Yes, something might be wrong with VS or Unity Editor. I haven't noticed such kind of problem before.

@Wolfoso Have you been able to work through this?

@jamescadd Nope, I've been using the workaround I mentioned: building into the working-project's folder. I really have no idea what could fix this issue.

Ok, sorry we couldn't get this resolved, my best guess is you should try on a fresh machine and see if it's related to the install based on Mosa's reply.  Going to close this for now since you're not blocked, if you hit it elsewhere (or we do) let's re-open.


Upgraded to Ruby 2.2.4; Fixed 2 links in README file

Upgraded to Ruby 2.2.4.
Fixed 2 links in README file
Added 1 line to set up instructions to remind about exiftool.
Added 3 lines to .gitignore file to not force others to use my conventions.

FYI: working the broken Travis build

Thanks mate, really appreciate the help!

want Ruby 2.3.0 upgrade?

Thanks for the offer, it has prompted me to setup multiple ruby builds for all the versions i'd like to support.
I also realised that I lost 1.9.x compatibility with the mime-types gem. I'll add that to the todo list to look at later. Thanks for your pull request, keep them coming!


SearchField (.searchable) doesn't work with NavigationSplitView

Description
I have tested SearchField with NavigationSplitView in the simplest possible test case. It works with NavigationStack, but no matter where you put the SearchField introspect, it won't work with NavigationSplitView.
Checklist

[X] I have read the README before submitting this report.
[X] This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior
This should print the statement: "Introspect working"
struct ContentView: View {

    @State var text = ""

    var body: some View {
        NavigationSplitView {
            VStack {
                Text("Hello, world!")
            }
            .searchable(text: $text)
        } detail: {
            Text("Detail View")
        }
        .introspect(.searchField, on: .iOS(.v15, .v16, .v17)) { searchField in
            print("Introspect working")
        }
    }
}

Actual behavior
Nothing is printed, no access to the searchField.
Steps to reproduce
No response
Version information
1.1.4
Destination operating system
iOS 17
Xcode version information
15.4
Swift Compiler version information
No response

I'd like to test to see if creating an alternate SearchField with .from(UISplitViewController.self) would work, but after following the directions in the readme, I'm getting this error: 'allDescendants' is inaccessible due to '@_spi' protection level Any help with that?
extension iOSViewVersion<SearchFieldSplitViewType, UISearchBar> {
    @available(*, unavailable, message: ".searchable isn't available on iOS 13")
    public static let v13 = Self.unavailable()
    @available(*, unavailable, message: ".searchable isn't available on iOS 14")
    public static let v14 = Self.unavailable()
    public static let v15 = Self(for: .v15, selector: selector)
    public static let v16 = Self(for: .v16, selector: selector)
    public static let v17 = Self(for: .v17, selector: selector)

    private static var selector: IntrospectionSelector<UISearchBar> {
        .from(UISplitViewController.self) {
            $0.viewIfLoaded?.allDescendants.lazy.compactMap { $0 as? UISearchBar }.first
        }
    }
}


Typo "Azure Repo"→"Azure Repos"

https://docs.microsoft.com/en-us/azure/devops/pipelines/release/deploy-iot-using-azure-pipelines?view=azure-devops
#PingMSFTDocs

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change. @azooinmyluggage

The updated text appears to refer to a repo, not to the Azure service name. Lowercase text is correct, in this case, also. Thanks @hyoshioka0128.


[New game]: color matching application

🎮 Game Request
In this game, you are provided one color and are asked to select it from the list of colors below.
You win if you select the correct color; if not, you lose.

Point down the features
In this game, you are provided one color and are asked to select it from the list of colors below.
You win if you select the correct color; if not, you lose.
This game's characteristic is that it displays several colors, some of which are only shades of one the color; you must select the correct color.
simple and better user interface
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @TiwariRahul16 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

can you please assign to me that issue?

Hey @TiwariRahul16 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Feature Request: Expose ModuleFederationPluginOptions in type definitions

Feature request
Expose ModuleFederationPluginOptions in type definitions.
https://github.com/webpack/webpack/blob/master/types.d.ts#L5927

What is the expected behavior?
Be able to import the interface ModuleFederationPluginOptions in a typescript project.
What is motivation or use case for adding/changing the behavior?
ModuleFederationPlugin is already exposed on the webpack/container namespace. Wanting to import ModuleFederationPluginOptions for enforcing strict type safety for our module federation configurations.
How should this be implemented in your opinion?
Expose ModuleFederationPluginOptions on webpack/container namespace.
https://github.com/webpack/webpack/blob/master/types.d.ts#L11495
Are you willing to work on this yourself?
No

Bumping this as it would still be highly desirable.

You can do it without adding types...

import type { container } from "webpack";

type ModuleFederationPluginOptions = ConstructorParameters<typeof container.ModuleFederationPlugin>[0];

const options: ModuleFederationPluginOptions = {
    filename: 'test',
    // Unknown option
    foo: 'bar'
};


Fix: Defaults for onChain Parameters to Prevent Halt on Not Set Values Expected to Exist

Describe the Bug
A recent system upgrade encountered an issue where an emissions parameter was not set, leading to a halt of the binary. To prevent such occurrences, it is proposed that all parameters expected by the Chain should have default values unless explicitly set or overridden. This approach would ensure that the addition of new parameters does not cause a system panic due to missing state information, by instantiating a default value when the parameter is not present in the state. However, if the parameter is explicitly set, the system should utilize the specified value.
To Reproduce

Conduct a system upgrade without setting a new emissions parameter that is expected to have a value. Thus, when the binary starts and tries to load the parameter from state it errors on json parsing because it expected a json key to exist where it didn't.
Observe the resulting binary halt due to the absence of this parameter.

Expected Behavior
The system should automatically assign a default value to any new parameter that is not explicitly set in the state during an upgrade. This action would prevent the system from halting and ensure smooth operation, even when new parameters are introduced.
 The issue is the param module that panic when reading a key for a value that has not been previously set.  Preventing the panic prevents the chain halt: https://github.com/zeta-chain/node/pull/1864


The function about "struct", not "string"

This article is about writing "struct", but in parameter explanations you see, that it refers to writing a "string".
i think the description was copied from article WritePrivateProfileString() and someone forgot to change it to "struct"s

@Avtem : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Make addToScene return void

See the discussion in https://github.com/flutter/flutter/pull/36402/commits/886aa7ac631a53d0e6c34fb8e36d61fc0f6a0e2a#r311644487
This will be a breaking change but will make our code much cleaner.

Done by https://github.com/flutter/flutter/pull/36402


fix(emergency_handler): fix bug of takeover_request

Signed-off-by: veqcc<EMAIL_ADDRESS>@mkuri @asana17
Description
The parameter is_takeover_requested_ was not properly used. It was changed true when MRMState::NORMAL. However, the timeout process was implemented only in the state MRMState::OPERATING.

The takeover state is removed when changing from EmergencyState to MrmState. What is this parameter currently used for?

@isamu-takagi

The takeover state is removed when changing from EmergencyState to MrmState. What is this parameter currently used for?

The takeover state on the officially supported API was removed when MrmState was created, but the takeover state in the emergency handler that existed in the previous design remains.
The current behavior is that when the above parameter is true, the system waits for a certain period of time after a failure, and if the operator does not takeover, the system will switch to MRM.
The following two options are available.

Remove all features related to takeover (maybe some products use the takeover feature)
Leave it as a base for when takeover will be formally designed

This PR is based on the latter policy, and is a PR to fix a bug found in the existing takeover state.

@mkuri
I got it. I understood that old TAKEOVER_REQUETING state is now NONE state. However, the operateMrm function clears the behavior when the state is NONE. I think it should be retained.

@mkuri @veqcc
MRM state expects {state: MRM_OPERATING, behavior: NONE} during takeover requesting. Neither the current nor fixed implementation fits this. So I think it's better to remove this processing. The takeover request will be a new topic and are being discussed in https://github.com/autowarefoundation/autoware/issues/3487.

@isamu-takagi
Yes, I agree with removing the take_over process.
@veqcc
How about we close this PR and remove the process related to take over in the new PR to solve the following issue?

The parameter is_takeover_requested_ was not properly used. It was changed true when MRMState::NORMAL. However, the timeout process was implemented only in the state MRMState::OPERATING.

Reference
https://github.com/autowarefoundation/autoware.universe/pull/2994#issuecomment-1464849767

The following two options are available.
Remove all features related to takeover (maybe some products use the takeover feature)
Leave it as a base for when takeover will be formally designed

I will adopt the former policy.

@veqcc
How about we close this PR and remove the process related to take over in the new PR to solve the following issue?
I see. I will close it and make a new one.


search and highlight by text

Hi is there a way to highlight specific text in the code?
like if I have a json:

thanks

Current version should be able to preserve HTML tags in code snippet. To highlight a text, use  tag:

{
  "foo": 1,
  "bar": [true, false]
}

@taufik-nurrohman i'm using vue.js so my code looks like that:
            <highlightjs
                language="json"
                :code="code"
            />

do you have any suggestions on how to implement that HTML mark tag?

Put the :code value in a variable maybe?
let sourceCode = `{
   "foo": 1,
   "bar": [true, false]
}`;

<highlightjs language="json" :code={{sourceCode}} />

Unless the result will be HTML-escaped :\

@taufik-nurrohman yes that was my first try but the result is just a simple json

It is because hljs.highlight() method does not care about child nodes and treat the input as plain text. You will need to use hljs.highlightBlock() but that is outside the scope of Vue plugin.

There is no way to do this with the Vue plugin because it uses highlight internally (which only works with raw strings, not HTML)... the "magic" only exists in highlightBlock... you'd need to write a custom component that rendered the HTML block unhighlighted and then called highlightBlock to highlight it afterwards.  At that point I'm not sure you'd need a Vue component at all - depending on what you are doing.
This capability is being removed entirely in version 11 though so I'd suggest perhaps you come up with a custom solution... perhaps a "magic tag"...  works if it's not actually ever going to exist verbatim...

Render the component
Grab it's inner HTML
Replace  and  with your custom HTML

Closing. Inactivity + asked and answered.

Hey @joshgoebel , I just got a similar case, where I need to mark a search match, in the already highlighted text.
I can probably easily wrap my matched string inside the raw code, before highlighting, with some magic strings like what you suggested, but I am worried that I could break an html element, when I replace the magic string with a span or mark, post highlighting.
For example if we match function(foo inside  the snippet below
function(foo, bar){...}

we will probably get:
function (foo, bar){ ... }

Any suggestions how to mitigate that?

I don't think there is a great solution to that, certainly not off the top of my head.  Even the prior code that did this would have that problem IIRC - all is did was place tags exactly back in the positions they were originally I think. Ref: https://github.com/highlightjs/highlight.js/issues/2889

Just want to mention for other people who search for this, using special symbols to mark your matches, like !~~, or {-, or any of the like, was causing Swift to detect those and tried to highlight them, splitting up !~ and ~ for example. Using just a sequence of letters like mArK and KrAm proved to be less error prone so far.


Explained variance for the rSLDS latents

Hi, I am trying to get the explained variance from the continuous states of an rSLDS model, but I can't identify this from the model attributes. The alternative is predicting the original data from the latent embedding, but I can't find a prediction method in the class or the neuron loadings for the latents so I could reconstruct the original data myself. What am I missing?
Thanks!

Hi, I have the same question. Were you able to figure it out?

There isn't a built in function to report the fraction of explained variance, unfortunately. The subtle issue is that unlike in a linear regression model where you have covariates x and responses y, in a state space model you don't know the latent states, x. One simple though admittedly imperfect approach is to infer the most likely latent states (or the posterior mean) using the available SSM functions, and then compute the R^2 using that point estimate of x.


Enable watchable schema cache

PR Template:
Describe your changes

setting parameterless flag to true is valid
can test yourself by running podman run --rm authzed/spicedb:v1.31.0 serve --enable-experimental-watchable-schema-cache=true versus podman run --rm authzed/spicedb:v1.31.0 serve --enable-experimental-watchable-schema-cache=dwhdam

Ticket reference (if applicable)
Fixes #
Checklist

[ ] Are the agreed upon acceptance criteria fulfilled?

[ ] Was the 4-eye-principle applied? (async PR review, pairing, ensembling)

[ ] Do your changes have passing automated tests and sufficient observability?

[ ] Are the work steps you introduced repeatable by others, either through automation or documentation?

[ ] If automation is possible but not done due to other constraints, a ticket to the tech debt sprint is added
[ ] An SOP (Standard Operating Procedure) was created

[ ] The Changes were automatically built, tested, and  - if needed, behind a feature flag - deployed to our production environment. (Please check this when the new deployment is done and you could verify it.)

[ ] Are the agreed upon coding/architectural practices applied?

[ ] Are security needs fullfilled? (e.g. no internal URL)

[ ] Is the corresponding Ticket in the right state? (should be on "review" now, put to done when this change made it to production)

[ ] For changes to the public API / code dependencies: Was the whole team (or a sufficient amount of ppl) able to review?

/lgtm


Make public header files in include/grpcpp/test installed with 'make install'

fix #20208

@nicolasnoble

CC @jtattermusch

Good question, I haven't ask the user to try it yet, but I tries "make install" on my local machine, and it installed the include/grpcpp/test public headers. I will ask the user to test it first.

Since the user is idle for a while, I am going to merge this PR first, and then go back to close the issue once he response.

I created a revert PR. It seems that this PR has broken a large number of tests.
Some of these failures are apparent from the PR test results (which seems to have been ignored):
https://source.cloud.google.com/results/invocations/49fa74a2-aa1e-4635-b313-2644b151e623
https://source.cloud.google.com/results/invocations/96045046-7c3f-4c9b-afd6-41603e62602c
https://source.cloud.google.com/results/invocations/6f60cd8e-5fad-46d6-a333-0b7ad42c7031
Please double-check the test failures on the PR next time (and mark known failures according to our process).

So the error is "No SOURCES given to target: grpc++_test". @vjpai I remember you found a cmake operand to declare a header-only library. Do you remember what it was? @jtattermusch we'd need to fix the cmake template to use @vjpai's operand for libraries when there's no source, in order to support header-only libraries in the cmakefile.

I found this page about cmake header-only libraries: http://mariobadr.com/creating-a-header-only-library-with-cmake.html  . The magic incantation seems to be INTERFACE


Organizing program execution with timers in Matlab

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Organizing program execution with timers in Matlab
Introduction paragraph (2-3 paragraphs):
A timer is an automated mechanism for activating a device or a process at a predetermined time or time intervals. Matlab provides timer objects that can be used to organize the execution of Matlab commands. Timers enables control of an events' sequences at fixed intervals and program running time.
In this article I will discuss how one can create a timer object, start the timmer running and specify the processes to be performed when the amount of time specified by the timmer object elapses, stopping and deleting the timer objects from the memory. Timer helps in keeping track of a program hence becomes handy when tracing for troubleshooting.
Key takeaways:

Basic understanding of timer objects in Matlab.
Matlab codes for implementing timer objects.
Deleting timer objects from the memory.

References:
Please list links to any published content/research that you intend to use to support/guide this article.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Good afternoon and thank you for submitting your topic suggestion. @vitalisodhis
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

Good topic. Approved. Let's ensure that it adds value to the community. Thanks

Closed #3642 via #4330


Netlify online preview error

Describe the bug

Reproduction
https://vitesse-nuxt3.netlify.app/
System Info
~

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

And this is what I'm getting on FIrefox 103:

This is a known issue with Nuxt 3 RC.5 and RC.6 and this issue is probably related. Please try https://github.com/nuxt/framework/issues/6204#issuecomment-1201398080 as workaround.


chore(blockifier): add nstive stack config to vc

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#3008  👈 (View in Graphite)
#3003
main-v0.13.4

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


fix incorrect translation in defect #29721

fix incorrect translation in defect #29721
@jrafanie

I'm unable to verify these changes locally.  I'm trying to understand why they're not being used correctly after I run rake locale:po_to_json with manageiq-ui-classic.  I'll have to figure out why this isn't working.
I'm still seeing this locally for spanish:

Ok, I figured it out.  I generated the json from rake locale:po_to_json for this PR but failed to run bin/update compile assets so the old assets were in use for my prior comment.  Here's what it looks like now.

@Frank-NB A conflict occurred during the backport of this pull request to najdorf.
If this pull request is based on another pull request that has not been marked for backport, add the appropriate labels to the other pull request. Otherwise, please create a new pull request direct to the najdorf branch in order to resolve this.
Conflict details:
diff --cc locale/de/manageiq.po
index fcf1e7f2ce,6b509b2d04..0000000000
--- a/locale/de/manageiq.po
+++ b/locale/de/manageiq.po
@@@ -34098,6 -33668,18 +34098,21 @@@ msgstr "Dateidepot
  msgid "File is empty"
  msgstr "Datei ist leer"

++<<<<<<< HEAD
++=======
+ #: ../app/javascript/forms/mappers/validatorMapper.jsx:21
+ msgid ""
+ "File is too large, maximum allowed size is %s bytes. Current file has %s byte"
+ msgid_plural ""
+ "File is too large, maximum allowed size is %s bytes. Current file has %s bytes"
+ msgstr[0] ""
+ "Datei ist zu groß, maximal zulässige Größe ist %s Byte. Die aktuelle Datei hat"
+ " %s Byte"
+ msgstr[1] ""
+ "Datei ist zu groß. Die maximal zulässige Größe ist %s Byte. Aktuelle Datei hat"
+ " %s Byte"
+
++>>>>>>> f97cb1458d (Merge pull request #21978 from Frank-NB/g11n_July8)
  #: ../app/javascript/forms/mappers/validatorMapper.jsx:16
  msgid ""
  "File must be an image of type \"png\", \"jpg/jpeg\", or \"svg\". The currently"
diff --cc locale/es/manageiq.po
index 26907e948c,77d5f8e934..0000000000
--- a/locale/es/manageiq.po
+++ b/locale/es/manageiq.po
@@@ -34190,6 -33757,18 +34190,21 @@@ msgstr "Almacén de archivos
  msgid "File is empty"
  msgstr "El archivo está vacío"

++<<<<<<< HEAD
++=======
+ #: ../app/javascript/forms/mappers/validatorMapper.jsx:21
+ msgid ""
+ "File is too large, maximum allowed size is %s bytes. Current file has %s byte"
+ msgid_plural ""
+ "File is too large, maximum allowed size is %s bytes. Current file has %s bytes"
+ msgstr[0] ""
+ "Archivo es demasiado grande, el tamaño máximo permitido es %s bytes. El "
+ "archivo actual tiene %s bytes"
+ msgstr[1] ""
+ "archivo es demasiado grande, el tamaño máximo permitido es %s bytes. El "
+ "archivo actual tiene %s bytes"
+
++>>>>>>> f97cb1458d (Merge pull request #21978 from Frank-NB/g11n_July8)
  #: ../app/javascript/forms/mappers/validatorMapper.jsx:16
  msgid ""
  "File must be an image of type \"png\", \"jpg/jpeg\", or \"svg\". The currently"
diff --cc locale/fr/manageiq.po
index e41a849637,fb35363215..0000000000
--- a/locale/fr/manageiq.po
+++ b/locale/fr/manageiq.po
@@@ -34136,6 -33708,18 +34136,21 @@@ msgstr "Dépôt de fichiers
  msgid "File is empty"
  msgstr "Le fichier est vide"

++<<<<<<< HEAD
++=======
+ #: ../app/javascript/forms/mappers/validatorMapper.jsx:21
+ msgid ""
+ "File is too large, maximum allowed size is %s bytes. Current file has %s byte"
+ msgid_plural ""
+ "File is too large, maximum allowed size is %s bytes. Current file has %s bytes"
+ msgstr[0] ""
+ "Fichier est trop volumineux, la taille maximale autorisée est de %s octets. Le"
+ " fichier en cours a %s octet"
+ msgstr[1] ""
+ "Le fichier est trop volumineux, la taille maximale autorisée est de %s octets."
+ " Le fichier en cours a %s octets"
+
++>>>>>>> f97cb1458d (Merge pull request #21978 from Frank-NB/g11n_July8)
  #: ../app/javascript/forms/mappers/validatorMapper.jsx:16
  msgid ""
  "File must be an image of type \"png\", \"jpg/jpeg\", or \"svg\". The currently"
diff --cc locale/ko/manageiq.po
index dcb3ce1f51,4a2d7e2396..0000000000
--- a/locale/ko/manageiq.po
+++ b/locale/ko/manageiq.po
@@@ -32853,6 -32516,13 +32853,16 @@@ msgstr "파일 저장소(depot)
  msgid "File is empty"
  msgstr "파일이 비어 있음"

++<<<<<<< HEAD
++=======
+ #: ../app/javascript/forms/mappers/validatorMapper.jsx:21
+ msgid ""
+ "File is too large, maximum allowed size is %s bytes. Current file has %s byte"
+ msgid_plural ""
+ "File is too large, maximum allowed size is %s bytes. Current file has %s bytes"
+ msgstr[0] "파일이 너무 크며, 최대 허용 크기는 %s바이트입니다. 현재 파일은 %s바이트"
+
++>>>>>>> f97cb1458d (Merge pull request #21978 from Frank-NB/g11n_July8)
  #: ../app/javascript/forms/mappers/validatorMapper.jsx:16
  msgid ""
  "File must be an image of type \"png\", \"jpg/jpeg\", or \"svg\". The currently"
diff --cc locale/pt_BR/manageiq.po
index 45d64e0978,802008c813..0000000000
--- a/locale/pt_BR/manageiq.po
+++ b/locale/pt_BR/manageiq.po
@@@ -34009,6 -33576,18 +34009,21 @@@ msgstr "Repositório de arquivos
  msgid "File is empty"
  msgstr "O arquivo está vazio"

++<<<<<<< HEAD
++=======
+ #: ../app/javascript/forms/mappers/validatorMapper.jsx:21
+ msgid ""
+ "File is too large, maximum allowed size is %s bytes. Current file has %s byte"
+ msgid_plural ""
+ "File is too large, maximum allowed size is %s bytes. Current file has %s bytes"
+ msgstr[0] ""
+ "Arquivo é muito grande, tamanho máximo permitido é de %sbytes. O arquivo atual"
+ " tem %s byte"
+ msgstr[1] ""
+ "arquivo é muito grande, tamanho máximo permitido é %s bytes. Arquivo atual tem"
+ " %s bytes"
+
++>>>>>>> f97cb1458d (Merge pull request #21978 from Frank-NB/g11n_July8)
  #: ../app/javascript/forms/mappers/validatorMapper.jsx:16
  msgid ""
  "File must be an image of type \"png\", \"jpg/jpeg\", or \"svg\". The currently"
diff --cc locale/zh_CN/manageiq.po
index 50a4419faf,afef9a78f5..0000000000
--- a/locale/zh_CN/manageiq.po
+++ b/locale/zh_CN/manageiq.po
@@@ -32817,6 -32482,13 +32817,16 @@@ msgstr "文件库
  msgid "File is empty"
  msgstr "文件为空"

++<<<<<<< HEAD
++=======
+ #: ../app/javascript/forms/mappers/validatorMapper.jsx:21
+ msgid ""
+ "File is too large, maximum allowed size is %s bytes. Current file has %s byte"
+ msgid_plural ""
+ "File is too large, maximum allowed size is %s bytes. Current file has %s bytes"
+ msgstr[0] "文件太大，允许的最大大小为 %s 个字节。 当前文件有 %s 个字节"
+
++>>>>>>> f97cb1458d (Merge pull request #21978 from Frank-NB/g11n_July8)
  #: ../app/javascript/forms/mappers/validatorMapper.jsx:16
  msgid ""
  "File must be an image of type \"png\", \"jpg/jpeg\", or \"svg\". The currently"

Backported to najdorf in commit ccecddfe979d07ae49fc9a923680f431347df904.
commit ccecddfe979d07ae49fc9a923680f431347df904
Author: Joe Rafaniello<EMAIL_ADDRESS>Date:   Mon Jul 11 15:06:23 2022 -0400

    Merge pull request #21978 from Frank-NB/g11n_July8

    (cherry picked from commit f97cb1458dc76b8d7056eb37dece8aa72287d216)


set unix socket permissions during binding of the UNIX-socket

Unfortunatelly this is not so easy.

Safe, but (seems?) undocumented way in Linux -- is to call os.fchmod(socket.fileno()) BEFORE bind() + set umask to proper value. Since umask is not thread safe (affect all threads) that action should be done in fork()...
Portable way -- is to call os.chmod(path) after binding. But this will leave socket with wrong permissions during small amount of time.

Socket write permissions are required in order unprivileged process to connect to it.

Any news?

Hm. I did not work on this. Someone should choose a way of solving this issue.

@socketpair Do you have any suggestion on this, changing the socket permission from outside can make it works but just temporarily, as long as the application is restarted the permission is lost and process like nginx (with www-data user) cannot connect anymore.

Well.
I do not understand what you mean as "outside". Anyway, too broad permission is a security bug. If appliation is restarted, UNIX-socket is recreated (re-bound) and this code will fire again.
Variant 1 will looks like:
def do_bind(sk, addr, mode):
    pid = os.fork()
    if pid == 0:
        try:
            os.umask(~mode & 0o777)
            sk.bind(addr)
        except:
            os._exit(1)
        else:
            os._exit(0)
    (pid, status) = os.waitpid(pid, 0)
    if status:
        raise RuntimeError('Failed to bind the socket.')

Variant 2 is not atomic.
Variant 3 (since asyncio now is a port of CPython): Do that under GIL locked in C. But anyway this will affect third-party threads.


Convert the files in the /src/display folder to ES6 modules

Also disables ES2015 transpilation in development mode. Edit: This doesn't seem to improve the performance very much, but at least it cannot hurt.

As discussed on IRC, here's a PR that only converts the /src/display folder to ES6 modules, since it's currently infeasible to convert the rest of the /src code due to slowness of the SystemJS module loader.
Easier reviewing with: https://github.com/mozilla/pdf.js/pull/8294/files?w=1.

/botio test

/botio-linux test

/botio-linux preview

Awesome work!


De-duplicate destination directories

A lot of duplicates were generated for all files in the same folder. This should speed up the process.

Sweet, I will try to merge this in after work sometime this week.  Thanks.


Plus button to add a comment doesn't disappear when leaving the editor area

Testing #199155

open a multi-diff editor using GHPRI
move your mouse in the editor and leave it
observe that the plus disappears only when leaving the editor in a very specific way but most of the times sticks around incorrectly

https://github.com/microsoft/vscode/assets/5047891/92779f57-048a-433f-aec7-e9f706903a2f

Can i work on this issue and take a shot at it?

@creeper0167 thanks for your interest in contributing to the project! I don't know where the bug is yet for this, so I can't provide any pointers. I would recommend choosing a different issue if you want to contribute!


Adding evaluate functionality to steps

Adding evaluate functionality

@danrr , I am going to merge this as it is needed for my image freezing functionality. A general tests refactoring needed on whole file which I will do it as a separate task


[Net] NetworkedMultiplayerPeer(s) renames

Rename multiplayer peers:

NetworkedMultiplayerPeer -> MultiplayerPeer
NetworkedMultiplayerENet -> ENetMultiplayerPeer
WebRTCMultiplayer -> WebRTCMultiplayerPeer

I am curious what the reasoning is for the rename.

I am curious what the reasoning is for the rename.

You mean MultiplayerPeer vs NetworkedMultiplayerPeer?
Well, first it's painfully long, second it doesn't have to be "networked" (ideally a LocalMultiplayerPeer could exist at some point). The others are just for consistency.

Thanks!


URL with no path returns one path component

let url = WebURL("https://github.com")!
let firstPathComponent = url.pathComponents.first

Returns an empty string "". Should this not be nil

Yep I meant https://github.com
And I see what you are doing now and why that might be a good thing, differentiates between folders and files. I'll close this


support for css extractor

Are there plans to add support for the css extractor?

Added basic support for it here: https://github.com/flood-io/ruby-jmeter/commit/3bf578e452c3efec3856aec7b022d91e33edfb15#diff-269149c02df487badd7c6e2456956948R9
Regards,
Tim

:+1:


Added tests folder

Adding a test folder with the sample from the documentation as well as an experimental sample with word trigrams.

@happyroboto I don't think we need this folder since a very basic example is reported in the README.md.
If you need other use cases, you should definitely have a look at the torchhd repository. I'm sure you will find it very useful.
Please have a look at my comments. I'm going to close this PR.

Thanks for your reply Fabio, I see your point about large datasets, I will
try out your advice re: sequencing
All the best,

Daniel

On Tue, Jan 31, 2023 at 6:14 AM Fabio Cumbo @.***>
wrote:

Closed #2 https://github.com/cumbof/hdlib/pull/2.
—
Reply to this email directly, view it on GitHub
https://github.com/cumbof/hdlib/pull/2#event-8391620733, or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5Q6PWYB54JA6JNVBKYNZ7DWVAHH3ANCNFSM6AAAAAAUKETAYM
.
You are receiving this because you were mentioned.Message ID:
@.***>


layers installation "nvcc fatal   : Unsupported gpu architecture 'compute_86'"

When running python setup.py install for layers, I get the following error:
nvcc fatal   : Unsupported gpu architecture 'compute_86'
I am running with a 3090 GPU and CUDA 11.1. Is there something I can change in the layers directory to fix this issue? Thanks for your help.

I haven't seen this issue before but it looks like a CUDA version problem.

I was able to resolve this by using CUDA 11.1 and specifying it as an env variable: CUDA_HOME=path/to/cuda python setup.py install.


urql-next _app bundle size

While analyzing _app bundle size I noticed that some packages are shipped to the client even though they are never used there.
react-ssr-prepass (5KB gzip)
React SSR prepass is used only on server (after if (typeof window !== 'undefined') return ..) so it doesn't need to be shipped to client and can safe 5KB of bundle on every page. One option how to fix it could be use of const ssrPrepass = await import('react-ssr-prepass') which is supported by since Node 9.7 but conflicts with current TS configuration (requires module flag to es2020 | esnext | commonjs | amd | system | umd) while current is es2015.
js-sha256 (4KB gzip) (from persisted-fetch exchange)
Because of import on top of sha256.ts client bundle with persisted fetch contains js-sha256 which is used only on server side and doesn't need to be shipped to client. Possible fix would be similar as above using dynamic import and native node module.
sha256.ts#L49
    const { createHash } = await import('crypto')
    return createHash('sha256').update(query).digest('base64')

urql version & exchanges:
"urql": "^1.9.7",
"@urql/exchange-persisted-fetch": "^0.1.3",
"next-urql": "^0.3.7",

Steps to reproduce
Create production bundle using next and analyze the bundles.
Expected behavior
Client bundles contain only code executed on client
Actual behavior
At least 2 significant packages are included in client bundle, possibly some others I haven't notice.

react-ssr-prepass
js-sha256

Monkey patch
As temporary fix it is possible to remove those packages from client bundle by using webpack null-loader. To do so add following code to next.config.js webpack configuration.
    if (!isServer) {
      config.module.rules.push({
        test: /.*react-ssr-prepass.*|.*js-sha256.*/,
        use: 'null-loader',
      })
    }

Hey,
The library js-sha256 is indeed needed for the Node but also for the IE11 side of things, IE11 does not support TextEncoder which is needed  to safely form the string we're passing to the sha function.
About next.js async importing in libraries is still a very flakey thing but I think we can utilise process.browser to notify next to shake this out in the client-side build.

Thanks for quick response. process.browser looks good, didn't know about that.
I'm maybe missing some side-effect of js-sha256 but the only place where I can see it being used is inside window check condition https://github.com/FormidableLabs/urql/blob/master/exchanges/persisted-fetch/src/sha256.ts#L48-L50.
  if (typeof window === 'undefined') {
    return Promise.resolve(sha256Standard.sha256(query));
  }

Oh right, there was a way around that TextEncoder issue. The point remains that async imports aren't really well-supported in libraries. That being said this could probably be resolved by allowing for the user to pass hasher in node-environments where we defer this optimization to the user-space.
At a library level we can't do much more than moving this to user-space as long as async imports in libs aren't well supported by bundlers.

That makes sense, fair point.

The issue with prepass can be solved by bumping to the latest version (was missing sideEffects: false) and the newest version of persisted-fetch will be without the js-sha256 and will use the native node implementation instead.

Thank you


Build for ARMv8 Architecture?

I was hoping to build for my armv8 system so I could use it on there since I am having trouble with yt-dlp downloading and merging together video and audio files. I cannot figure out how I'm supposed to build it. Can I get some help?

There are some build for Linux and Windows on ARM, you can find them in the releases: [ffmpeg-master-latest-linuxarm64-gpl.tar.xz](https://github.com/yt-dlp/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-linuxarm64-gpl.tar.xz) and ffmpeg-master-latest-winarm64-gpl-shared.zip.
If these builds do not work on your particular ARM system, please file an issue upstream: https://github.com/BtbN/FFmpeg-Builds.


cookiecutter template for extension projects

https://github.com/js-next/js-ext-template-cookiecutter


Fin WiFi driver dtparam support

We need to add __overrides__ section to our Fin overlay, so that certain settings like driver mode and debug level can be overridden through config.txt and other means.

Fixed by https://github.com/balena-os/balena-raspberrypi/pull/377/commits/df698f4bb68edcaa8eb6236c3f9dfd88f4a4b8b7 from https://github.com/balena-os/balena-raspberrypi/pull/377/commits


Local Ollama -> Fetch localhost on front end.

Describe the bug
The front end makes a direct request to the Ollama endpoint at localhost:11434
This creates a problem when we run the front end on the web or on another machine outside of localhost.
Link to the Bolt URL that caused the error
server:locallhost
Steps to reproduce
clone, configure env. docker compose.
then make a revese proxy to docker .
Expected behavior
expected the fetch request on container context, not front end context
Screen Recording / Screenshot

Platform
docker so,
Additional context
Dockerized bolt + docker ollama;
they both can acces each other  on docker network, but front end files at revese proxy tries to browser -> ip .

Simply specify he hostname in the .env/.env.local file. As you corrctly point out, you must specify a hostname that is accessibly from your proxy endpoint, so for example, if you're proxying to the WAN side of your firewall, and the Ollama host is on the LAN side, you'd ned to do some port forwarding, to get your ollama API to show up on the WAN side of your firewall on port 11434. It should also be noted, that you can launch your docker container with the parameter --env_file .env.local to force the environment to be populated if for some reason vite is trying to prioritize variable sources improperly, in your environment.

Same, it corretly points to but cant load http,( with https CORS erros )
at docker container bash i can curl with no erros, there prob. be an frame work cors-https error.

Your screenshot itself contains the answer. Your bolt that new deployment is being provied, and served with a TLS certificate(HTTPS) and your ollama API endpoint is not. To make this successful you would need to proxy the llama endpoint providing a TLS certificate.
An alternative approach to resolving this issue would be to deliver a Coors security upgrade header exempting, the llama endpoint from the security check. Since this is fundamentally less secure, we need to consider more carefully the ramifications of this approach.

both serverd on https ollama endpoint + bolt

I've had some luck with this, it not bolt which is the issue but rather the Ollama config, you need to set CORS Origins to
OLLAMA_ORIGINS=*

done, but its the same.
ollama served on nginx https = works alone.
ollama on localhost/docker network/ip local networks = works.
bolt ( on nginx) - works but when tries to get ollama :
1.http = on docker network  = error "must be https".
2. https  = over 'internet' cors ( event with OLLAMA_ORIGINS=* in enviroment) .
Ty all,  maybe in future.

There are essentially two approaches to this problem. The most secure would be to enable a local proxy URL for requests to Ollama such that the bolt server performs these requests on the back end and passes the results to the front end for rendering where the only problematic requests are in fact on the front end because that's the only case where you have mixed security content.
The less secure methodology would be to add, add a content security policy. Metatag to the pages where the Ollama model lists are being displayed for example:
<meta http-equiv="Content-Security-Policy" content="connect-src https: http://<IP_ADDRESS>:11434;">

Personally, I would favor the more secure methodology which to my way of thinking, only requires marginally more code than the insecure methodology.

Could we use something like litellm to achieve this?
https://docs.litellm.ai

Could we use something like litellm to achieve this?
https://docs.litellm.ai

Wow! That's pretty neat, it's way Overkill for what we need. Something as simple as this or even simpler would achieve the objective:
https://www.npmjs.com/package/bouncy
All we need to do is map the endpoint to a local endpoint (part of the bolt server) like /ollama which would then route traffic to http:// <IP_ADDRESS>: 11434
In this way we assure that we're using the same HTTPS/ http protocol and also avoid any cross-origin issues, although that's generally handled on the ollama endpoint side anyway.

@hillct, thanks for this. It does appear to be much simpler. I've been having a play around with this and got a very simple code snippet working, but I'm well outside my comfort zone. Could you assist if you're able to help implement this into the project?
below is what I have up to now.
require('dotenv').config({ path: '.env.local' });

const bouncy = require('bouncy');

const targetHost = process.env.OLLAMA_TARGET_HOST || 'localhost';
const targetPort = process.env.OLLAMA_TARGET_PORT || 11434;

// Log the environment variables
console.log(`Target Host: ${targetHost}`);
console.log(`Target Port: ${targetPort}`);

const server = bouncy((req, res, bounce) => {
    try {
        bounce({
            host: targetHost,
            port: targetPort
        }).on('error', (err) => {
            res.statusCode = 502;
            res.end('Bad Gateway');
        });
    } catch (error) {
        res.statusCode = 500;
        res.end('Internal Server Error');
    }
});

server.listen(8000, () => {
    console.log('Server listening on port 8000');
});

// Handle server errors
server.on('error', (err) => {
    console.error('Server error:', err);
    process.exit(1);
});

@hillct, thanks for this. It does appear to be much simpler. I've been having a play around with this and got a very simple code snippet working, but I'm well outside my comfort zone. Could you assist if you're able to help implement this into the project?

Happy to help, although it will not likely be in the next day or two. My first note would be to not separate the host and Port, but simply accept the single ollama endpoint URL and parse out the relevant data using new URL(process.env.OLLAMA_ENDPOINT_URL).host and .port
Is this in a branch we should be working from or just ad hoc for the moment?

below is what I have up to now.
require('dotenv').config({ path: '.env.local' });

const bouncy = require('bouncy');

const targetHost = process.env.OLLAMA_TARGET_HOST || 'localhost';
const targetPort = process.env.OLLAMA_TARGET_PORT || 11434;

// Log the environment variables
console.log(`Target Host: ${targetHost}`);
console.log(`Target Port: ${targetPort}`);

const server = bouncy((req, res, bounce) => {
    try {
        bounce({
            host: targetHost,
            port: targetPort
        }).on('error', (err) => {
            res.statusCode = 502;
            res.end('Bad Gateway');
        });
    } catch (error) {
        res.statusCode = 500;
        res.end('Internal Server Error');
    }
});

server.listen(8000, () => {
    console.log('Server listening on port 8000');
});

// Handle server errors
server.on('error', (err) => {
    console.error('Server error:', err);
    process.exit(1);
});

No problem at all I didn't expect you to just jump on it 😀, yes a single variable sounds a lot better idea and yes it was just a bit of adhoc code I was running local not integrated with bolt I was just curling the local address to test

where i need add the code tell me the file and location pls ? cause i got same problem :S


[calculator] fix copy share button spacing

Fixes the URL copied, it had a new line in the middle.
Expected:
https://www.microcovid.org/distance=sixFt&duration=180&interaction=oneTime&personCount=6&riskProfile=average&setting=outdoor&subLocation=US_08117&theirMask=basic&topLocation=US_08&voice=normal&yourMask=filtered

Observed:
https://www.microcovid.org/
    ?distance=sixFt&duration=180&interaction=oneTime&personCount=6&riskProfile=average&setting=outdoor&subLocation=US_08117&theirMask=basic&topLocation=US_08&voice=normal&yourMask=filtered

Thanks for this, @bassettsj !


Strange words in ceylon doc

I investigate a Ceylon source code precisely to understand useful patterns. I am a not native English user, so I have to use dictionary. For my surprise Ceylon doc contains a lot of words that I am not able to find in dictionaries. I decided to open this issue, because it is regular. Unfortunately now I remember only one case.
In Iterrable:
"That is, for any given element of the stream, every iterator of the stream must eventually return the element, even if the iterator itself is not exhaustable."
Exhaustable is something not understandable for not native speaker.

It's a typo for exhaustible (
http://dictionary.reference.com/browse/exhaustible)
On 19 February 2015 at 17:34, Nikolay Rychkov<EMAIL_ADDRESS>wrote:

I investigate a Ceylon source code precisely to understand useful
patterns. I am a not native English user, so I have to use dictionary. For
my surprise Ceylon doc contains a lot of words that I am not able to find
in dictionaries. I decided to open this issue, because it is regular.
Unfortunately now I remember only one case.
In Iterrable:
"That is, for any given element of the stream, every iterator of the
stream must eventually return the element, even if the iterator itself is
not exhaustable."
Exhaustable is something not understandable for not native speaker.
—
Reply to this email directly or view it on GitHub
https://github.com/ceylon/ceylon.language/issues/635.

Do you use spell checker?

I guess this can be closed?


Error when trying to test with batch size = 1

I edit the default batch size in test_lanenet.py and global_config then get a problem like this:
...
Traceback (most recent call last):
File "/home/aquarius/anaconda3/envs/tensorflow_gpu/lib/python3.5/site-packages/tensorflow/python/framework/common_shapes.py", line 654, in _call_cpp_shape_fn_impl
input_tensors_as_shapes, status)
File "/home/aquarius/anaconda3/envs/tensorflow_gpu/lib/python3.5/contextlib.py", line 66, in exit
next(self.gen)
File "/home/aquarius/anaconda3/envs/tensorflow_gpu/lib/python3.5/site-packages/tensorflow/python/framework/errors_impl.py", line 466, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: Index out of range using input dim 3; input has only 3 dims for 'lanenet_loss/inference/encode/strided_slice_37' (op: 'StridedSlice') with input shapes: [36,100,128], [4], [4], [4] and with computed input tensors: input[3] = <1 1 1 1>.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/test_lanenet.py", line 138, in
test_lanenet(args.image_path, args.weights_path, args.use_gpu, img_name, args.batch_size)
File "tools/test_lanenet.py", line 68, in test_lanenet
binary_seg_ret, instance_seg_ret = net.inference(input_tensor=input_tensor, name='lanenet_loss')
File "/home/aquarius/Codes-for-Lane-Detection/SCNN-Tensorflow/lane-detection-model/lanenet_model/lanenet_merge_model.py", line 114, in inference
inference_ret = self._build_model(input_tensor=input_tensor, name='inference')
File "/home/aquarius/Codes-for-Lane-Detection/SCNN-Tensorflow/lane-detection-model/lanenet_model/lanenet_merge_model.py", line 49, in _build_model
name='encode')
File "/home/aquarius/Codes-for-Lane-Detection/SCNN-Tensorflow/lane-detection-model/encoder_decoder_model/vgg_encoder.py", line 240, in encode
feature_list_old.append(tf.expand_dims(processed_feature[:, :, cnt, :], axis=2))
File "/home/aquarius/anaconda3/envs/tensorflow_gpu/lib/python3.5/site-packages/tensorflow/python/ops/array_ops.py", line 509, in _SliceHelper
name=name)
File "/home/aquarius/anaconda3/envs/tensorflow_gpu/lib/python3.5/site-packages/tensorflow/python/ops/array_ops.py", line 677, in strided_slice
shrink_axis_mask=shrink_axis_mask)
File "/home/aquarius/anaconda3/envs/tensorflow_gpu/lib/python3.5/site-packages/tensorflow/python/ops/gen_array_ops.py", line 3744, in strided_slice
shrink_axis_mask=shrink_axis_mask, name=name)
File "/home/aquarius/anaconda3/envs/tensorflow_gpu/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 767, in apply_op
op_def=op_def)
File "/home/aquarius/anaconda3/envs/tensorflow_gpu/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 2632, in create_op
set_shapes_for_outputs(ret)
File "/home/aquarius/anaconda3/envs/tensorflow_gpu/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1911, in set_shapes_for_outputs
shapes = shape_func(op)
File "/home/aquarius/anaconda3/envs/tensorflow_gpu/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1861, in call_with_requiring
return call_cpp_shape_fn(op, require_shape_fn=True)
File "/home/aquarius/anaconda3/envs/tensorflow_gpu/lib/python3.5/site-packages/tensorflow/python/framework/common_shapes.py", line 595, in call_cpp_shape_fn
require_shape_fn)
File "/home/aquarius/anaconda3/envs/tensorflow_gpu/lib/python3.5/site-packages/tensorflow/python/framework/common_shapes.py", line 659, in _call_cpp_shape_fn_impl
raise ValueError(err.message)
ValueError: Index out of range using input dim 3; input has only 3 dims for 'lanenet_loss/inference/encode/strided_slice_37' (op: 'StridedSlice') with input shapes: [36,100,128], [4], [4], [4] and with computed input tensors: input[3] = <1 1 1 1>.
If I use batch size = 8, I encounter this problem:
2018-12-06 16:02:34.287785: E tensorflow/stream_executor/cuda/cuda_dnn.cc:371] could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
2018-12-06 16:02:34.287807: E tensorflow/stream_executor/cuda/cuda_dnn.cc:338] could not destroy cudnn handle: CUDNN_STATUS_BAD_PARAM
2018-12-06 16:02:34.287813: F tensorflow/core/kernels/conv_ops.cc:672] Check failed: stream->parent()->GetConvolveAlgorithms( conv_parameters.ShouldIncludeWinogradNonfusedAlgo(), &algorithms)
Aborted (core dumped)
I am using Ubuntu 16.04 with conda python 3.5 to work on your code.

@aquariusnk , please refer to this issue. The batch_size used in training and testing is the same since I specify the batch_size channel in the training process.

Changing batch size to 8 in the testing phase of the pre-trained model should fix this error.

Thank you for your fast reply. However, when I try to test the pre-trained model with batch size = 8, I got error with CUDNN as I mentioned above:
2018-12-06 16:02:34.287785: E tensorflow/stream_executor/cuda/cuda_dnn.cc:371] could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
2018-12-06 16:02:34.287807: E tensorflow/stream_executor/cuda/cuda_dnn.cc:338] could not destroy cudnn handle: CUDNN_STATUS_BAD_PARAM
2018-12-06 16:02:34.287813: F tensorflow/core/kernels/conv_ops.cc:672] Check failed: stream->parent()->GetConvolveAlgorithms( conv_parameters.ShouldIncludeWinogradNonfusedAlgo(), &algorithms)
Aborted (core dumped)
So could you help me to fix this problem or anyplace where I can get more information about it?

@aquariusnk , please refer to this issue. I guess it is caused by the allocation of GPU memory. Check if that issue can help you fix the error.

I have fixed the problem by updating the tensorflow version to 1.10.0. I think the problem was caused by lacking the support of tensorflow version 1.3.5.
Thank you for helping me in this problem.

^_^


How to change background color of the CandlestickChart from white to black?

Now the distinction is made between backgroundColor and gridBackColor, use can set backgroundColor to black


Cake Tasks window not working on linux

Overview
Cake for rider : 0.2.0
OS: Ubuntu 20.04 & POPOS 20.10
Rider : 2020.3.4
After installing Cake for Rider the cake tasks in the Cake Tool Window are not loaded.
Logs:
Cannot init toolwindow net.cakebuild.toolwindow.CakeTasksWindowFactory@4848054e

java.lang.NullPointerException
	at net.cakebuild.toolwindow.CakeTasksWindow$MyTreeCellRenderer.getTreeCellRendererComponent(CakeTasksWindow.kt:167)
	at com.intellij.ui.tree.ui.DefaultTreeUI.getRenderer(DefaultTreeUI.java:166)
	at com.intellij.ui.tree.ui.DefaultTreeUI$1.getNodeDimensions(DefaultTreeUI.java:380)
	at java.desktop/javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:493)
	at java.desktop/javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1344)
	at java.desktop/javax.swing.tree.VariableHeightLayoutCache.updateNodeSizes(VariableHeightLayoutCache.java:903)
	at java.desktop/javax.swing.tree.VariableHeightLayoutCache.invalidateSizes(VariableHeightLayoutCache.java:371)
	at java.desktop/javax.swing.plaf.basic.BasicTreeUI.setCellRenderer(BasicTreeUI.java:465)
	at java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange(BasicTreeUI.java:3816)
	at com.intellij.ui.tree.ui.DefaultTreeUI$4.propertyChange(DefaultTreeUI.java:487)
	at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
	at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
	at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
	at java.desktop/java.awt.Component.firePropertyChange(Component.java:8754)
	at java.desktop/javax.swing.JTree.setCellRenderer(JTree.java:775)
	at net.cakebuild.toolwindow.CakeTasksWindow.<init>(CakeTasksWindow.kt:33)
	at net.cakebuild.toolwindow.CakeTasksWindowFactory.createToolWindowContent(CakeTasksWindowFactory.kt:12)
	at com.intellij.openapi.wm.impl.ToolWindowImpl.createContentIfNeeded$intellij_platform_ide_impl(ToolWindowImpl.kt:506)
	at com.intellij.openapi.wm.impl.ToolWindowImpl.scheduleContentInitializationIfNeeded$intellij_platform_ide_impl(ToolWindowImpl.kt:486)
	at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.doShowWindow(ToolWindowManagerImpl.kt:980)
	at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.showToolWindowImpl(ToolWindowManagerImpl.kt:926)
	at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.showToolWindowImpl$default(ToolWindowManagerImpl.kt:915)
	at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.doRegisterToolWindow(ToolWindowManagerImpl.kt:1054)
	at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.initToolWindows(ToolWindowManagerImpl.kt:486)
	at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.access$initToolWindows(ToolWindowManagerImpl.kt:90)
	at com.intellij.openapi.wm.impl.ToolWindowManagerImpl$beforeProjectOpened$2.run(ToolWindowManagerImpl.kt:423)
	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:216)
	at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:24)
	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:199)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:822)
	at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:324)
	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:85)
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:134)
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:47)
	at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:190)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:976)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:843)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:454)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:773)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:453)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:822)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:501)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

screenshot:

This resembles an exception I had once in #68 but could never reproduce.
Are you able to reproduce it?

@nils-a  it appears to be exactly the same error.

I have tried uninstalling and re-installing the plugin, but I get the same result.   I have tried on both Ubuntu and Pop OS with the same result.  I haven't tried on a Fedora machine yet.
I suspect however that this is more of a Jetbrains API issue.

@garywoodfine thanks for confirming. Interestingly enough - now I am able to reproduce the error, too. (Using Ubuntu 20.04, Rider 2020.3.4 and Cake for Rider 0.2.0)
Would you be willing to test an unstable develop build?
I manually installed 0.3.0-pull-103-merge0001 which is the artifact from the latest PR run. This build seems to fix the issue.

@nils-a  Sure I can certainly test an unstable build. If it helps.

@garywoodfine thanks for doing that.
Cake for Rider defaults to using the globally installed cake tool (dotnet tool install cake.tool -g), alternatively you could point the plugin to the location of your installed cake tool using the settings:

@nils-a  thanks so much for that tip.
I figured it out from your illustration what I had to do in the end was as below.

The Cake Tasks window now works great!  Really pleased with it!
Thanks for taking the time fix this!
P.S I have made a small contribution to Cake on Open Collective. really appreciate the effort you maintainers put into the projects

You're very welcome.
I'll still have a look at the exec-statement. I am a bit surprised that /home/woody/.dotnet/tools/dotnet-cake would work for you while  ~/.dotnet/tools/dotnet-cake would not.

I have made a small contribution to Cake on Open Collective. really appreciate the effort you maintainers put into the projects

Thanks for doing that! It's really appreciated!

@garywoodfine I am tracking the issue with the runner setting of ~/.dotnet/tools/dotnet-cake not working as expected in ubuntu in #104
As it seems the problem of this issue is resolved in the current codebase I'll move to closing this, if that's ok with you.

@garywoodfine I released version 0.3.0 today, which contains the fix for this problem(s).

Already downloaded it earlier😊 , works perfect thanks. Really appreciate it


Switch from GetLeaves to GetLeavesByRevision.

Do this where a specific revision is required.
When retrieving the latest revision, GetLeaves is still used.
In a later trillian API change the special '-1' revision will
no longer be used.

Codecov Report

Merging #874 into master will not change coverage.
The diff coverage is 16.66%.

@@           Coverage Diff           @@
##           master     #874   +/-   ##
=======================================
  Coverage   48.78%   48.78%
=======================================
  Files          34       34
  Lines        2353     2353
=======================================
  Hits         1148     1148
  Misses       1001     1001
  Partials      204      204

Impacted Files
Coverage Δ

core/keyserver/keyserver.go
0% <0%> (ø)
:arrow_up:

core/mutationserver/mutation.go
61.42% <33.33%> (ø)
:arrow_up:

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 0b84de2...3ce78ad. Read the comment docs.


Bad CRC when unzipping files

Zip archives are unzipping but when unzipping from the command line a bad CRC is being reported.
Create the archive
fakeit directory --count 10 test/fixtures/output/users.zip test/fixtures/models/ecommerce/models/users.yaml

Unzip the archive
unzip -a -d test/fixtures/output/extract test/fixtures/output/users.zip

I just tried this out a few times and I'm not seeing an error. Can you post a screenshot of the error.

Note that none of the files are actually corrupt and all 10 files exist with the correct data. From the little research I did it seems to be a problem withunzip it's self as it's not reliable. When unzipping the file the normal way (not through the cli) there're no errors.

Might be able to switch to https://www.npmjs.com/package/jszip


Proxy support?

Hi, great project. I'm considering a rewrite of my existing scraper in scrapy but i can't seem to find any proxy support in the docs. Is there a way to customize the request to go through a proxy?

Thanks for feedback @Ziinc! I have planned to add proxy support to Crawly. If it could help you to choose Crawly over Scrapy, I would re-prioritize this work to deliver it faster.
Please also let me know if you need any other support.

Proxy support would be awesome, but there's not pressing need for it right now, I'll give crawly a spin for sites that don't need a proxy.
Do you have a roadmap of future releases?

Yes, I have a plan. Actually, I am working on two big things:

Cookies support
Robots.txt fixes (the current third party lib Gollum, has several bugs I want to resolve)

But proxy support can be easily added. So I will do it before the planned tasks

@Ziinc The proxy support is available now!
Could you please give it a try, to see if I can do anything on the top of it?


Misalignment between motion module and AnimateDiff

Dear Sir or Madam,
Great work, thanks for sharing.
I would like to consult you about the misalignment I found between you motion module and AnimateDiff.
For AnimateDiff, the feature should be reshape to (bxhxw) x f x c as the following figure shows.

But in your code here, I found the feature is reshaped to (bxf) x (hxw) * c.
Is there anything I missed?
Looking forward your reply. Thanks.

https://github.com/fudan-generative-vision/hallo/blob/8fd7c572a3d43c2a9c1a5473219ce4fc1b6e3ed2/hallo/models/motion_module.py#L581C1-L583C14