下载了squeezeformer的best model之后导出报错

[2023-11-29 16:12:01 INFO   ] utils:print_arguments:15 - ----------- 额外配置参数 -----------
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:17 - configs: configs/squeezeformer.yml
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:17 - resume_model: models/squeezeformer_streaming_fbank/best_model/
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:17 - save_model: models/
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:17 - save_quant: False
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:17 - use_gpu: True
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:18 - ------------------------------------------------
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:20 - ----------- 配置文件参数 -----------
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:23 - ctc_beam_search_decoder_conf:
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	alpha: 2.2
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	beam_size: 300
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	beta: 4.3
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	cutoff_prob: 0.99
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	cutoff_top_n: 40
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	language_model_path: lm/zh_giga.no_cna_cmn.prune01244.klm
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	num_processes: 10
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:23 - dataset_conf:
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	batch_size: 16
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	dataset_vocab: dataset/vocabulary.txt
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	manifest_type: txt
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	max_duration: 20
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	mean_istd_path: dataset/mean_istd.json
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	min_duration: 0.5
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	noise_manifest_path: dataset/manifest.noise
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	num_workers: 4
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	prefetch_factor: 2
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	test_manifest: dataset/manifest.test
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	train_manifest: dataset/manifest.train
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:32 - decoder: ctc_beam_search
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:23 - decoder_conf:
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	attention_heads: 4
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	dropout_rate: 0.1
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	linear_units: 1024
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	num_blocks: 3
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	positional_dropout_rate: 0.1
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	r_num_blocks: 3
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	self_attention_dropout_rate: 0.1
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	src_attention_dropout_rate: 0.1
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:23 - encoder_conf:
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	activation_type: swish
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	adaptive_scale: True
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	attention_dropout_rate: 0.1
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	attention_heads: 4
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	cnn_module_kernel: 31
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	encoder_dim: 256
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	feed_forward_dropout_rate: 0.1
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	feed_forward_expansion_factor: 8
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	input_dropout_rate: 0.1
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	normalize_before: False
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	num_blocks: 12
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	output_size: 256
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	pos_enc_layer_type: rel_pos
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	recover_idx: 11
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	reduce_idx: 5
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:32 - metrics_type: cer
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:23 - model_conf:
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	ctc_weight: 0.3
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	length_normalized_loss: False
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	lsm_weight: 0.1
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	reverse_weight: 0.3
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:23 - optimizer_conf:
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	learning_rate: 0.001
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	optimizer: AdamW
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	scheduler: NoamHoldAnnealing
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:26 - 	scheduler_conf:
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:28 - 		decay_rate: 1.0
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:28 - 		hold_ratio: 0.3
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:28 - 		max_steps: 87840
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:28 - 		min_lr: 1e-05
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:28 - 		warmup_ratio: 0.2
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	weight_decay: 4e-05
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:23 - preprocess_conf:
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	feature_method: fbank
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	n_mels: 80
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	n_mfcc: 40
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	sample_rate: 16000
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	target_dB: -20
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	use_dB_normalization: True
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:32 - streaming: True
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:23 - train_conf:
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	accum_grad: 8
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	enable_amp: False
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	grad_clip: 5.0
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	log_interval: 100
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:30 - 	max_epoch: 200
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:32 - use_model: squeezeformer
[2023-11-29 16:12:01 INFO   ] utils:print_arguments:33 - ------------------------------------------------
[2023-11-29 16:12:01 WARNING] trainer:init:65 - Windows系统不支持多线程读取数据，已自动关闭！
Traceback (most recent call last):
File "E:/ASR/MASR-develop/export_model.py", line 22, in
trainer.export(save_model_path=args.save_model,
File "E:\ASR\MASR-develop\masr\trainer.py", line 618, in export
self.model.load_state_dict(model_state_dict)
File "D:\conda\envs\MASR\lib\site-packages\torch\nn\modules\module.py", line 1671, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for SqueezeformerModel:
size mismatch for encoder.encoders.0.ffn1.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.0.ffn1.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.0.ffn1.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.0.ffn2.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.0.ffn2.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.0.ffn2.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.1.ffn1.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.1.ffn1.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.1.ffn1.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.1.ffn2.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.1.ffn2.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.1.ffn2.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.2.ffn1.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.2.ffn1.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.2.ffn1.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.2.ffn2.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.2.ffn2.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.2.ffn2.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.3.ffn1.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.3.ffn1.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.3.ffn1.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.3.ffn2.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.3.ffn2.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.3.ffn2.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.4.ffn1.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.4.ffn1.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.4.ffn1.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.4.ffn2.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.4.ffn2.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.4.ffn2.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.5.ffn1.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.5.ffn1.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.5.ffn1.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.5.ffn2.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.5.ffn2.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.5.ffn2.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.6.ffn1.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.6.ffn1.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.6.ffn1.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.6.ffn2.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.6.ffn2.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.6.ffn2.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.7.ffn1.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.7.ffn1.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.7.ffn1.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.7.ffn2.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.7.ffn2.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.7.ffn2.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.8.ffn1.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.8.ffn1.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.8.ffn1.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.8.ffn2.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.8.ffn2.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.8.ffn2.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.9.ffn1.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.9.ffn1.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.9.ffn1.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.9.ffn2.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.9.ffn2.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.9.ffn2.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.10.ffn1.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.10.ffn1.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.10.ffn1.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.10.ffn2.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.10.ffn2.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.10.ffn2.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.11.ffn1.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.11.ffn1.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.11.ffn1.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.encoders.11.ffn2.w_1.weight: copying a param with shape torch.Size([1024, 256]) from checkpoint, the shape in current model is torch.Size([2048, 256]).
size mismatch for encoder.encoders.11.ffn2.w_1.bias: copying a param with shape torch.Size([1024]) from checkpoint, the shape in current model is torch.Size([2048]).
size mismatch for encoder.encoders.11.ffn2.w_2.weight: copying a param with shape torch.Size([256, 1024]) from checkpoint, the shape in current model is torch.Size([256, 2048]).
size mismatch for encoder.time_reduction_layer.dw_conv.weight: copying a param with shape torch.Size([256, 256, 5, 1]) from checkpoint, the shape in current model is torch.Size([256, 1, 1]).
size mismatch for encoder.time_reduction_layer.pw_conv.weight: copying a param with shape torch.Size([256, 256, 1, 1]) from checkpoint, the shape in current model is torch.Size([256, 256, 1]).
Process finished with exit code 1

这个是因为之前训练的模型结构不一样，所以导致参数权重加载出错，我已经提高导出的模型，你可以直接用。
如果要自己导出，只能重新训练模型了。


Custom icons cause performance problems?

Hi there,
I'm running at the moment some performance tests for an application.
I have a json with quite a lot entries. Each entry is a marker on the map.
Without a custom icon the application runs well, but if i give each marker a custom icon the application runs very slow. I'm using a png file for the icon which is located in the www/img folder. Tested on ipad 3 (very slow) and Samsung Galaxy S4 (slow)
Greetings
UPDATE:
Now that I changed the size of the original image instead of setting the size in the icon properties the application runs better.
Is there a way to use .svg files for the icons ?

I thought i just ran into the same performance issue, but it seems that running the app from phonegap run andoid cmd, will make the performance much better then running it directly from eclipse.
I just thought i would add this if anyone else runs into the same thing, and starts looking for performance issues that are not there.

@wf9a5m75 is posible now to load svg icons?

Not possible now.
On Thu, Feb 19, 2015, 1:51 PM Leandro Zubrezki<EMAIL_ADDRESS>wrote:

@wf9a5m75 https://github.com/wf9a5m75 is posible now to load svg icons?
—
Reply to this email directly or view it on GitHub
https://github.com/wf9a5m75/phonegap-googlemaps-plugin/issues/111#issuecomment-75145955
.


Linux: initial build of GVFS provider for Linux

(Note to @jrbriggs et al: I'm opening this PR because I want to see if this passes the CI checks on Mac and Windows; there may well be additional things I need to tweak in the tooling before it does.  Thanks and apologies!)
This is largely a duplicate of the macOS build tooling and platform-specific code, with some changes to ensure we build successfully on Linux (e.g., testing for '$(OS)' != 'Windows_NT' is no longer sufficient to determine that the platform is OS X).
Note that for now the BuildGVFSForLinux.sh script exits early, without checking if a native libprojfs library is available, performing any installation or packaging, etc.
The GVFS.sln configuration changes should ensure that the ProjFS.Linux.Managed and GVFS.Platform.Linux subprojects are built on all platforms (and the Mac and Windows equivalents
are built on Linux), so as to allow the GVFS.UnitTests project to build on Linux, as it seems to do multi-platform unit testing.
However, we don't yet require the GVFS.Mount.Linux project to build on other platforms, and the GVFS.FunctionalTests project's configuration and dependencies will also need to be revisited
once the Linux code is actually functional.
/cc @kivikakk @wrighty

Huh, OK -- well, that passed CI, somewhat to my surprise!
@jrbriggs, @wilbaker, et al -- would you be able to check that you can still load things in Visual Studio, run builds on Windows and Mac, etc., with these changes?  And if they look OK, merge them (or make suggestions as necessary)?
Thanks very much!
Chris.

I've opened a PR that stacks on top of this one at https://github.com/github/VFSForGit/pull/4 which extracts GVFS.Platform.Posix from the commonalities between Mac and Linux. Let me know what you think; it should make supporting the two similar platforms less of a maintenance burden.

This PR has been rebased (as of the reset in #818).

@jrbiggs I've refactored the Linux and Mac platforms into a common base in this PR; seeing as this may not get merged for some time, the drift in the Mac platform will make rebasing this painful, as most of the changes will need to get moved to the Posix platform.
Would you accept a PR to master that did the refactor without introducing the Linux platform? This would make the eventual PR to merge Linux into the mainline much less fraught.

Hey @kivikakk sorry for the delay. I like the idea of just doing the Posix refactoring in this PR and deferring the Linux work. I'm going to start reviewing this today. The biggest concern I have after the initial look is the introduction of the Mono dependency that would now be shipped on the Mac. Can you tell me more about why we need this? Could we defer that introduction until we have done the rest of the platform refactoring, with the introduction of the Linux platform? I think that would help focus the goals of each PR. Thanks!

Could we defer that introduction until we have done the rest of the platform refactoring, with the introduction of the Linux platform?

Happy to!


Slow context menu on editor after install plugin

After installing the plugin the context menu in the editor takes a while to load, if I disable the plugin the context menu becomes fast again

@gregory-bonassina This plugin will try to register a context menu to start Tomcat quickly, by trying to populate the proper configuration based on the project structure. Is your project very large?

@gregory-bonassina This plugin will try to register a context menu to start Tomcat quickly, by trying to populate the proper configuration based on the project structure. Is your project very large?

Yes, my project structure is quite large, is there a way to disable this? Or something I can do to make the menu faster?

Looks like this feature is not so useful, I never use it. I will turn off this feature by default.

Released in 4.7.2, will be available in 24 hours.


CLI support for Wildcard Listener in Application Gateway

What is the Azure resource provider your feature is part of?
NRP
Provide a brief description of the feature or work requested. A link to conceptual documentation may be helpful too.
CLI support is needed to add wildcard hostnames in a listener of Application Gateway. This will add an additional parameter 'host-names' in 'az network application-gateway http-listener' command - https://docs.microsoft.com/en-us/cli/azure/network/application-gateway/http-listener?view=azure-cli-latest. This parameter will be valid only for Application Gateway Standard_v2 and WAF_v2 SKUs. The validations in NRP are in place for the SKU verification.
This parameter takes values as an array of strings.
What is the minimum API version of your service required to implement your feature?
2019-09-01
Provide a link to the location of your feature(s) in the REST API specs repo. If your feature(s) has corresponding commit or pull request in the REST API specs repo, provide them. This should be on the master branch of the REST API specs repo.
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationGateway.json
If you have a target date for release of this feature/work, please provide it. While we can't guarantee these dates,
it will help us prioritize your request against other requests.
End of January 2020. The API is already out and we are working on PS and Portal, once done, we'll be targeting Public Preview.

@MyronFanQiu Please take a look.

@surajmb Hello. Do you mean this filed? https://github.com/Azure/azure-rest-api-specs/blob/6e1747c9ae9975e78d04074eaf409d5a9ae6f32a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationGateway.json#L1544

@MyronFanQiu It's in L1572 (HostNames)
https://github.com/Azure/azure-rest-api-specs/blob/6e1747c9ae9975e78d04074eaf409d5a9ae6f32a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationGateway.json#L1572

@surajmb Thanks. I'm a little confused about hostName and hostnames. Since az network application-gateway http-listener already has one argument called --host-name, it might cause confusion to have another argument called --host-names. Can you share the designs of PS or portal? Is it ok to name it like --wildcard-host-names?

@MyronFanQiu , this has been checked in to the swagger and PowerShell already. Please find the PRs below
Swagger Link: https://github.com/Azure/azure-rest-api-specs/pull/7453
PS Cmdlet: https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/463
PS PR: https://github.com/Azure/azure-powershell/pull/10878
We already have plural arguments like "backendIPAddresses" and "backendFqdns" in backend pool configuration. We will publish documents on how to use the new parameter. The reason behind going for "hostNames" instead of "wildcardHostNames" is because it can take multiple non-wildcard hostnames as well. I guess it is okay to have --host-names as long we give clear instructions to the users on when to use which.

@surajmb ok. I see.

@yonzhan removing Service Attention label since this was internally opened.  @surajmb please close when we're able.


Port to 1.18.2

[x] #35
[x] #34
[x] #38
[x] #37

Solved 3092801a4bea3978eb01eee24b49895974c5673e


⚠ gorzdrav.org has degraded performance

In 3bc7e08, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 2976 ms

Resolved: gorzdrav.org performance has improved in 76fd462.


feat: adding human readable values #37

Adding a helper function to _utils for converting from atom to human readable, but having an issue with the currencyIdToMonetaryCurrency api from the lib. I  currently hardcoded {token: "DOT"} in the createType api call for testing purposes.

I have finished the helper function and tested it with log statements and it seems to be correctly convert values from their atomic form to their human readable form. Only issue is when I run the processor the query node playground does not have any data, all queries return nothing. I would love to look over this with someone tomorrow!

This PR is ready for review!

I added the code from master to my branch! Should be good to be merged.


Update vocabularies.xml

The current version of dataset_type.xml is older than dataset_type_2015-07-10.xml, so it doesn't have samplingEvent which was added to
http://rs.gbif.org/vocabulary/gbif/dataset_type_2015-07-10.xml
I don't know why, but either the link should be changed here, or dataset_type.xml be updated.
Cheers,
Menashè

Thanks, @meliezer.

Thanks @MattBlissett . May I ask you how could I hack it manually in my current IPT installation? I would also like to have always http://rs.gbif.org/vocabulary/gbif/dataset_subtype.xml added by default to keywords page, and if possible hack also the Core mapping GUI so I see only Event, and not the Occurrence Core.
Cheers,
Menashè

That file (src/test/resources/vocabularies/vocabularies.xml) is only used in unit tests, during development of the IPT.
Where do you miss the type?

(The subtype is just below the type box.)

@MattBlissett, let me rephrase. I wanted to change the file in order to solve issues in manage/metadata-keywords.do, but it seems not related, so I can create issues for:

In the keywords page I see by default
GBIF Dataset Type Vocabulary: http://rs.gbif.org/vocabulary/gbif/dataset_type.xml
and I need to change it to
GBIF Dataset Type Vocabulary: http://rs.gbif.org/vocabulary/gbif/dataset_type_2015-07-10.xml
Since I was samplingEvent as a keyword. I don't know why it's missing from dataset_type.xml.

I always need to add also 'GBIF Dataset Subtype Vocabulary: http://rs.gbif.org/vocabulary/gbif/dataset_subtype.xml', so I thought to hack and see it always.

Not related, but in the dropdown list in 'Darwin Core Mappings' I prefer to not see anymore the Occurrence Core option, if possible.

Thank you for your help!

https://github.com/gbif/ipt/blob/master/src/main/java/org/gbif/ipt/service/manage/impl/ResourceManagerImpl.java#L2330
The subtype is added in this method. It looks like it depends on the resource having a type and subtype set, on the main "Basic Metadata" page.


libacl dependency is onerous

https://github.com/lxc/lxd/pull/3625 introduced a dependency of libacl. This now requires applications that consume LXD to have libacl1-dev (or similar, depending on the distribution), gcc, et al installed when building, which is kind of a pain.
Is libacl required when a Go application is only communicating with LXD via the API? If it's not required, can the libacl stuff be moved out of shared so that the LXD client package (and dependencies) be used without having to install these libraries and tools?

We should be able to move all the idmap functions and related code to a separate shared/idmap package which would then only be used from the lxd and fuidshift tools, eliminating that dependency for the client code.

@albertodonato can you look into that?

That did the trick! Thank you so much for doing this so quickly. You folks rock!


use fit_generator to speed up train

use fit_generator to speed up train, and reduce memory cost

I'm not really following what this is supposed to be doing.


Usage with Firebase?

Thank you for creating this awesome project!
Does using Guardian with an external authentication service make sense, such as firebase?
Basically the secret keys are stored at<EMAIL_ADDRESS>I am trying to authenticate subsequent requests with a JWT that has been authenticated through Firebase. I need the secret key for guardian to be a function that depends on the key id provided with the encoded JWT. Is this something that can/should be done with Guardian?

Nevermind...
It looks like decode_and_verify takes a Params map where the Secret Key can be passed so a Secret Key can be specified outside of Config. Didn't see this in any of the examples, should have looked at the source code first.


Download links on web site points to pre-release version

Type: Bug

Behaviour
Expected vs. Actual
Expected: Clicking "Download Extension" on the extension website downloads latest stable release version. On my vscode 1.81.1, this should be 2023.14.0.
Actual: I get a pre-release version that won't install on latest stable vscode, as of writing I get 2023.17.12501006
(I need to use the extension in an offline environment, so I need to get the correct vsix file.)
Steps to reproduce:

Go to  https://marketplace.visualstudio.com/items?itemName=ms-python.python
Click "Download Extension"

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda):
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Unknown
Value of the python.languageServer setting: Default

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

User Settings

languageServer: "Pylance"

Extension version: 2023.14.0
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 x 2803)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
15.73GB (1.61GB free)

Process Argv
--crash-reporter-id e3403512-3c49-4df8-bf26-aaada8c3c3de

Screen Reader
no

VM
50%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263cf:30335440
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263cf:30792227
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30803844
3biah626:30602489
f6dab269:30613381
a9j8j154:30646983
showlangstatbar:30737416
03d35959:30757346
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxptcf:30805731
pythonnoceb:30805159
synctok:30821570
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30821572
dsvsc015cf:30829746

Here is a download link, you can change the version there to get any older one:
https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-python/vsextensions/python/2023.16.0/vspackage

Thanks, yes I also noticed that it is possible to get older versions by
modifying the download link. But I still thought I wanted to report it
since I think the download link is wrong.
Den lör 9 sep. 2023 01:06Karthik Nadig @.***> skrev:

Here is a download link, you can change the version there to get any older
one:
https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-python/vsextensions/python/2023.16.0/vspackage
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-python/issues/21950#issuecomment-1712320337,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCNLJJOXKQX65GBBYFPY53XZOQHVANCNFSM6AAAAAA4P2LXOA
.
You are receiving this because you authored the thread.Message ID:
@.***>

The links there are managed by market place. I filed an upstream issue here https://github.com/microsoft/vsmarketplace/issues/841

👍


Metadata filters and factors

The "incorporate annotations" (in the metadata tab of a workspace) works well for factors (categorical data), but is not appropriate for numerical data (e.g. age). Ideally, we would be able to introspect to determine that a particular column represents numerical data and then be able to make groups based on user-defined ranges.
Ideas:

User selects column
User then sets the "type" (e.g. categorical, numerical)
Based on the selected type, we present an interface. For example, if the column is "age" and the user selects a "numerical" type, then they would be presented with some kind of slider interface where they can define the ranges for the bins

Added in 416f4e0b6780a57c6553087616617f67f0e42108


chore: Update controller names for v1beta1

Fixes #N/A
Description
This change updates the controller names for the following controllers:

metric_scraper -> metrics.node
pod_metrics -> metrics.pod
provisioner_metrics -> metrics.provisioner
machine.garbagecollection -> nodeclaim.garbagecollection
provisioner_trigger -> provisioner.trigger
provisioner -> provisioner.scheduler
daemonset -> state.daemonset
machine-state -> state.machine
node_state -> state.node
pod_state -> state.pod
provisioner_state -> state.provisioner
termination -> node.termination

How was this change tested?
make presubmit
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

9 of 14 (64.29%)  changed or added relevant lines in 14 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 82.179%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/controllers/metrics/node/controller.go
0
1
0.0%

pkg/controllers/nodeclaim/garbagecollection/controller.go
0
1
0.0%

pkg/controllers/provisioning/controller.go
0
1
0.0%

pkg/controllers/provisioning/provisioner.go
0
1
0.0%

pkg/controllers/state/informer/daemonset.go
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

pkg/test/cachesyncingclient.go
2
80.21%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
9080

Relevant Lines:
11049

💛  - Coveralls


Enhancement: Optional parameter to only compute network cost matrix values if they are within X euclidean units

I am dealing with a case in which I have many thousands of points in a huge area. As a result, the cost matrix computation takes an exceedingly long time. I think that this could be mitigated if there were an optional parameter which, when specified, will make allneighbordistances quickly compute the euclidean distance between each client/facility pair, and if it is greater than this parameter, will simply set the cost matrix value to NaN. I think that this could really speed up computation in this case, at the expense of losing some connectivity information in the cost matrix - but in some cases it may not be relevant.
I think that this could really help in cases where you are doing facility location optimization with a very large number of candidate sites in a very dense environment (like a city), where the network travel distance is actually based on walking speed. In a case like this, it is quite likely to be irrelevant to compute the walking distance from one end of the city to another.
I would be interested in trying to implement something like this, but I'm new to the library and would like to get opinions & caveats from more experienced people on it.

Hey @iboates, great to see you here!
The cost matrix is not computed by spopt, we use allneighbordistances only in examples to illustrate the model usage. In geodataframe function, we use cdist function by scipy to calculate the distance between a pair of demand and candidate site based on a metric chosen by the user. So, it is hard to take this kind of issue because we probably have to implement all these metrics and is not the purpose of this package.
I think this issue can be discussed on spaghetti because it is specific to networks.
Another way to handle this issue can be to partition your matrix $N X M$ to ($N X C$ and $N X D$ such that $D+C = M$), then you concatenate the matrix and the result is your complete cost matrix. Note that you can have many parts of matrix to soften the complexity of these computations.


Correction on readme for development setup

The vendor directory is not present on clone and errors out during Load unpacked step during setup on Chrome. Running npm run vendor before build fixes the issue.

this is not a mandatory step, as the js code's are in the repo. Its mandatory if you change those files thought.

vendor folder isn't checked in, it is in the .gitignore


Add support for serializing objects/arrays

As core Juttle now handles fields whose values are arrays or objects,
add support for serializing those points into JSON.

cc: @demmer
refs: https://github.com/juttle/juttle/issues/55

I changed the implementation so that it triggers a warning & the point is skipped.

+1


Add pydantic support

https://github.com/dlt-hub/dlt/issues/501

Hey @rudolfix , added some docs, skip_complex_types and few more tests


combine header and body for better aligning, ensure boolean bindable values are binded as boolean

Hi,
thank you for your plugin. I'm going to use it for an almost production ready system.
I'm very sorry for big red chunks of code...I have reindent it to 2 spaces as other aurelia code.
I have added ensureBooleanBindableValues() function, which checks that all @bindable values will be booleans in bind() method. Example of use keys:  server-paging='true', when I don't wont to bind it to my view model and just configure it.
Also I have edited build task for SYSTEM and added sourcemaps generation for better debugging experience. I may add conditional execution of sorcemaps generation.
I have edited grid.html and have combined both tables in to one, because of missed alignment.

Hi @moshensky - there are a few things I can't do with this PR:

Ensure @bindable values are always treated as Booleans
I've heard mention that Aurelia might be supporting typed @bindables so I was waiting to see if that was added. Also if you use server-paging.bind="true" this works as the true is evaluated as part of the AST so a boolean value comes through.

Combine header and body into one table
I've split these apart for a reason - there's an issue for it here: https://github.com/CharlesPockert/aurelia-bs-grid/issues/34

The idea is to have a scrollable table body but frozen header/filter rows so that the user doesn't lose them when scrolling. I'll be writing code to ensure the cells and headers match each other and scroll correctly

@bandable - Than a quick note to docs would be enough about *.bind="true" if I have not missed it.
Combine header and body into one table - I've tested it with a couple of lines of css and seems to work flawless.
I will remove @bindable checks and add needed css lines for you to evaluate.


Crash on some devices while initialising Rive

Description
I keep seeing this crash in Firebase on some devices, and I cannot reproduce it. It happens while initialising Rive in the Application's onCreate:
Fatal Exception: java.lang.UnsatisfiedLinkError: dlopen failed: library "libndk_translation_proxy_libGLESv3.so" not found
       at java.lang.Runtime.load(Runtime.java:332)
       at java.lang.System.load(System.java:1069)
       at com.getkeepsafe.relinker.SystemLibraryLoader.loadPath(SystemLibraryLoader.java:31)
       at com.getkeepsafe.relinker.ReLinkerInstance.loadLibraryInternal(ReLinkerInstance.java:204)
       at com.getkeepsafe.relinker.ReLinkerInstance.loadLibrary(ReLinkerInstance.java:136)
       at com.getkeepsafe.relinker.ReLinker.loadLibrary(ReLinker.java:70)
       at com.getkeepsafe.relinker.ReLinker.loadLibrary(ReLinker.java:51)
       at app.rive.runtime.kotlin.core.Rive.init(Rive.kt:30)

Device & Versions

Devices: Nexus 5X, Oneplus One
SDK Level: Api level 23
Rive version: 4.2.2

We are also seeing this on a Nexus 5X in Crashlytics

We are also seeing this, Nexus 5X

This might be related to our library using GLES3.
Do you know if the devices you're seeing this on are restricted to GLES2?

They should support GLES3

Looks like it's mainly happening on devices Google uses for testing when you upload your app to the Playstore. We just uploaded a new release with partial rollout and the crash timestamp does not match to a real user already having the app, although we don't see anything in the prelaunch reports or something like that.


$root: not taking dynamic data

i am unable to use the templating, i tried to have the data in var and loaded to the root it is not working
var obj = { name: "John" };
var myJSON = JSON.stringify(obj);
// Create a Template instance from the template payload

var template = new ACData.Template(jsonTemplate);
// Expand the template with your $root data object.
// This binds it to the data and produces the final Adaptive Card payload
var cardPayload = template.expand({
$root: {
myJSON
}
});

@RashmiMithun can you elaborate on what version and platform of the templating SDK you are using?

Hi Shalini
I have fixed this issue, but i have one question how to bind Input.Time with 12hrs format with AM/PM.
Could you please help me


Create meaningful error message when loading MIRO data that contains "elevation"

Note that the miro data has a field termed "elevation" but it seems to contain colatitudes as there are no negative values. We are kind of fixing this when converting miro to Matlab struct:
https://github.com/AppliedAcousticsChalmers/sound_field_analysis-py/blob/master/examples/miro_to_struct.m#L23
The implementation should produce a warning when a field "elevation" is detected instead of breaking down with an error. Also, negative values in a field "colatitude" or only positive values in a field "elevation" should produce a warning

Implemented in 1a3431073295271660aa0ada9e6da9ec5860edbf.


Plot Skyplot

1-plots the satellite skyplot using precise ephemerids sp3, it's possible?
2- How to read sp3 files.

Thanks for your questions. While some SP3 functionality currently exists with a tutorial here, I would suggest waiting for version 0.2.0 to be released which greatly simplifies how to answer your questions.
Both questions will be easy and possible once #127 and #130 are pulled into main and we release gnss_lib_py v0.2.0. Once those pull requests are merged in, I'll comment on this issue pointing you towards the relevant SP3 tutorial. Those changes should happen in less than a week.

Please make sure that you've updated to version 0.2.0 of gnss-lib-py that we've recently released.

The ephemeris downloader tutorial shows an example of how to download an SP3 file based on a specific date/time and then how to visualize that information using plot_skyplot.
We added an SP3 tutorial on how to read sp3 files using glp.Sp3().

I'm closing this issue now thanks to the additional functionality we released in version 0.2.0, but feel free to post any questions/problems you have using the new sp3 functions.


Add better a11y error reporting, fix storybook, fix reported a11y issues

Issues are logged last in the console. To make them easier to read whilst the console is noisy.
If any issues remain, an alert() is done to warn developers when Headlamp is run in development mode.

Hopefully these measures will help prevent more issues escaping review, since the console log was quite noisy and can be forgotten.
Additionally:

Started a section in the documentation on a11y tools.
fixes a number of the reported a11y issues
storybook was broken because of an iconify issue (added test of storybook to CI)
apart from a11y messages in the console, it removes a few more lines from the dev console related to i18n

How to use
During development

"axe react" a11y messages should be printed at the end of the development console now (rather than somewhere in the middle).
an alert message is shown if any a11y issues are reported

To disable the alert message during development, use the following:
REACT_APP_SKIP_A11Y=true make run-frontend

You can either introduce an a11y issue, or checkout the first commit to see the behaviour (because it will report issues).
Testing done

[x] go to each route, load the page and no alert and no a11y issues reported
[x] with REACT_APP_SKIP_A11Y=true no alert is shown
[x] storybook builds and runs

I added a DialogTitle wrapper which contains the a11y fixes (h1, styles and such) so it can be reused.

I'm going to leave the dynamic title translation in for this PR, and do that work after this is merged in, and the dependency PR and other PR(cluster chooser stories) is also done. They both depend on this PR being merged. It's at least an improvement over not translating the titles.


request for admin

I don't see a way a random user can request admin status. It seems that the admin can bestow this status, but it is unclear how a user can contact the admin for a request.
It could be done via email or notification to current admin.
Request for adminship could be a checkbox in user profile, or separate form.

It's probably the kind of thing that happens infrequently enough that it can happen outside of Telescope.
I feel like if you had a site with thousands of users you wouldn't really want anybody to be able to randomly ask for admin status, so I'm not really convinced a form or button inside the app is really needed…?


CANT USE /WILD IN THIS WORLD

when i do /wild i get CANT USE /WILD IN THIS WORLD

Have you configured the plugin have you given permissions?

Have you configured the plugin have you given permissions?

Well it said it automatically gave the user the permission. That’s what I want help with, the config.

Pastebin ypur config and tell me the world name

sure https://pastebin.com/raw/L3kfGsfJ

https://pastebin.com/a98MW2gs And make sure you give perms wild.wildtp and wild.wildtp.world.*

Could u please try fix my factions config, I want it to only load on factions world
Too

I dont know factions much

All I need is to just have it in one world, is that possible with factions, please help I’m stuck with this shitt

I really dont know been too long since I used factions. Unless you mean this plugin in which case you cant load it for one world


Readme?

Hi, this project looks really cool! Would it be possible for you to add a readme with set up instructions and example usage? Thanks.

There is nothing to set up, just go to http://haskell-for-readers.nomeata.de/ and read :-)

I just came here from a reddit comment and did not know the website exists. It would be useful if you put the website in repo description.
Also it would be great if you can upload the generated PDFs to github releases so users don't have to do all the pandoc installation. PDFs are useful to refer offline.

The PDFs are liked from http://haskell-for-readers.nomeata.de/. But yeah, I should point people who come here to that webpages.


Configure Travis

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@600f97d). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master      #1   +/-   ##
========================================
  Coverage          ?   8.96%
========================================
  Files             ?       2
  Lines             ?     145
  Branches          ?       0
========================================
  Hits              ?      13
  Misses            ?     132
  Partials          ?       0

Continue to review full report at Codecov.

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


Wkhtml2pdf -> Does not render SVG Correctly [With Solution]

Using WKHTML2PDF does not render the SVG at all.  It comes up blank.
This is due to the extra % in the svgHeader string:
QRMarkup.php Line 30
    protected string $svgHeader = '<svg xmlns="http://www.w3.org/2000/svg" class="qr-svg %1$s" '.
                                  'style="width: 100%**%**; height: auto;" viewBox="0 0 %2$d %2$d">';

The second percent sign is there as escape because this piece of code is always run through sprintf:
https://github.com/chillerlan/php-qrcode/blob/be3beb936c21fe53a4e7e8f7f3582e9f02443666/src/Output/QRMarkup.php#L26-L30

Can you please post a snippet of the code you're using? I'm somehow suspecting that it's caused by the base64 data URI output (which is default).


Memory management

A rather simple and small macro-based memory manager. It's allocating the pages in selected constant size; doesn't allow reallocations (why would you perform them?). Has O(n) memory overhead, given n allocated chunks.
One could write a more complex system with dynamic length pages and blocks; but they don't fit to asm2bf for a couple of reasons:

dynamic length pages require storage in form of a linked list (preferably) to preserve all allocated nodes - not only does it require a lot of memory and adds some overhead, but first memory cells become inaccessible due to the list being stored there. This means, that out of 256 accessible cells on a non-standard interpreters, you're left with way less that you should have been left with.
remember, it's brainfuck. Having any form of memory management is bonkers.
real memory managers usually allocate memory to a certain process not in bytes, but rather, pages. For instance, malloc in C isn't forced to return a pointer with allocated no more bytes than n, and in fact, it rarely allocates exactly n bytes.
the current system allows the user to pick page size - usually such is dictated by the kernel (if we're talking about some real platforms) - now it's not the case, you can tweak the MM to you needs. Be sure to do it once and at the beginning of the program, because changing properties of memory manager on the fly will certainly brick your memory.

#MM_BASE = 0
#PAGE_SIZE = 16

; Allocate a page and pass the pointer in target_register.
; This function has a side effect on register passed in clear.
; It's getting, simply, cleared.
#function alloc(target_register, clear)
#	print("psh " .. clear)
#	print("mov " .. target_register .. ", " .. tostring(MM_BASE))
#	print("mov " .. clear .. ", 1")
#	print("nav " .. clear)
#	print("raw .[")
#	print("rcl " .. clear .. ", " .. target_register)
#	print("add " .. target_register .. ", " .. tostring(PAGE_SIZE))
#	print("inc " .. target_register)
#	print("nav " .. clear)
#	print("raw .]")
#	print("sub " .. target_register .. ", " .. tostring(PAGE_SIZE))
#	print("dec " .. target_register)
#	print("sto " .. target_register .. ", 1")
#	print("inc " .. target_register)
#	print("pop " .. clear)
#end

; Free the page in target_register.
#function free(target_register)
#	print("dec " .. target_register)
#	print("sto " .. target_register .. ", 0")
#end

Alternative classical label-based version; I believe we could take free macro from the Luaish version and the procedure from the original; but I believe this'd look ugly. Also, the macro version may have it's performance improved and doesn't at all rely at stack access. Anyways:
#MM_BASE = 0
#PAGE_SIZE = 16

@alloc
	psh r2
	mov r1, $(MM_BASE)
	mov r2, 1
	nav r2
	raw .[
	rcl r2, r1
	add r1, $(PAGE_SIZE)
	inc r1
	nav r2
	raw .]
	sub r1, $(PAGE_SIZE)
	dec r1
	sto r1, 1
	inc r1
	pop r2
	ret

@free
	dec r1
	sto r1, 0
	ret

Merged to master by #3a91a2d


Add extension Auto Typing

Continue here @4ian @westboy31.
@4ian the extension is good to me,  if you want check :)
Here an example running the extension.
exemple_autotyping.zip

this is the same extention with correction of sentences :
AutoTyping.zip
I agree that it's better to use it as behavior , this is how it's look like :
AutoTyping_behavior.zip
but we have the functions implemented two times (two behavior one for BBtext and the other for text) , the only way i see to avoid this is to use any_object in parameters but it could occasion bugs if user choses sprite or something else .

but we have the functions implemented two times (two behavior one for BBtext and the other for text) , the only way i see to avoid this is to use any_object in parameters but it could occasion bugs if user choses sprite or something else .

Yeah it's unfortunate to have to write the behavior twice, but it's no big deal and better this way :)
I think having the behavior is a bit more intuitive (what do you think @Bouh?), thanks for doing it!
There are two thing that I'd like to understand:

When I change the text with a trigger once, it works ok :) But if I try to change the text while it's being typed, it starts to glitch, displaying the full text followed by some part of the text being typed.

See this example I made: Example.json.zip
This is because you're adding a character one by one. I think this is overcomplicated things here:

Instead, use SubStr to choose a portion of the text to write (which is _txt_buffer), starting at position 0 and finishing just after the write index (the 1 + is important):

You're using a scene timer with the object name. This has the problem that this won't work with more than one object.

=> Can you use a timer of the object rather? I think you overcomplicated this by using a scene timer. Unless I missed something, use an object timer called "Write timer" or something like "Autotyping Write Timer" (so you're sure no one else will use your timer :)) and it will work for multiple object independently.

Finally, even with the fix of SubStr to avoid glitches while changing the text, if we try to change the text while it's written, we have potential the text being flashed, before being replaced by the auto typed text the next time the timer reaches the next character to be added.

How to solve this? If you're in the state of writing (i.e: _write_index is less than the length of the text to type), then always set the text. Then increment the _write_index only when the timer reaches the interval. Like this:

With this, you have a behavior that:

works even without a trigger once! In my example, I used a click/touch condition.
the text won't stop or glitch before it's fully finished. If you try to change the text, it will only work once the typing is finished.
with the timer fix, it should work for multiple objects

Let me know if you can do these three changes in both behaviors. This is my example with the extension modified to have the fix #1 and #3 done on the text object:
Example partially fixed.json.zip
If you can do the timer fixes, and do the equivalent changes in the BBText object, we should then be ready to publish this very nice extension! 👍👍

I think having the behavior is a bit more intuitive (what do you think @Bouh?)

This is better indeed, the users will have no surprises with the startup action at least ^^
I still see people asking why the actions don't work, because the actions are in an sub-events with conditions doesn't work hehe.

Well seen it's way better like that:
AutoTyping.zip
exemple to check the whole extension:
exemple.zip

Thanks! I did a final update of some descriptions, it's now added (ac1da141ceb919bbc6e0beb4f5523b137162e669) and available :)

Closing this now, thanks @westboy31 for this nice extension and @Bouh for your help!
Will be very very useful for a lot of games!


⚠ ClamAV has degraded performance

In 5a2bb36, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 84 ms

Resolved: ClamAV performance has improved in 4e0cebb after 5 minutes.


Finalize BIR model spec

Description:
Finalize the BIR model tree.
Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Duplicate of https://github.com/ballerina-platform/ballerina-lang/issues/24771


Docker build should support isochrone

The docker implementation is great and makes it really easy to get a basic graphhopper router up and running quickly.
I'm interested in using graphhopper for a route planning website and wanted to experiment with isochrones.  However, if I access localhost:port/isochrone, I just get 404.  I've been trying to work out what needs to be done to graphhopper.sh to enable this, but so far my attempts have failed (I'm not very experienced with java).
Is there any documentation that I've missed that explains how to enable/disable features in the docker container?  Particular ones that would be interesting:

/isochrone endpoint
Disable the web UI and just support /route, /isochrone and /geocode
Enable API keys to "safely" allow cross server requests

The /isochrone endpoint is available if you can reach /route. There is no /geocode endpoint and also no need to use API keys.
For more questions please use our public forum.


Fixes sentence.

@chriz-uniba Thanks for those and sorry they weren't merged in sooner. I collected them in: https://github.com/inveniosoftware/docs-invenio-rdm/pull/188 and merged that. Thanks again!


Can anyone guide me how to use this app for a basic login?

Please follow the guide below

Issues submitted without this template format will be ignored.
Rlease read them carefully and answer completely.
Do not post screenshots of error messages or code.
Put an x into all the boxes [ ] relevant to your issue (==> [x] no spaces).
Use the Preview tab to see how your issue will actually look like.
Issues about reverse engineering is out of scope and will be closed without response.
Any mention of spam-like actions or spam-related tools/libs/etc is strictly not allowed.

Before submitting an issue, make sure you have:

[ ] Updated to the lastest version v1.6.0
[ ] Read the README and docs
[ ] Searched the bugtracker for similar issues including closed ones
[ ] Reviewed the sample code in tests and examples

Which client are you using?

[ ] app (instagram_private_api/)
[ ] web (instagram_web_api/)

Describe your Question/Issue:
Please make sure the description is worded well enough to be understood with as much context and examples as possible.

Paste the output of python -V here:
Code:
# Example code that will produce the error reported
from instagram_web_api import Client

web_api = Client()
user_feed_info = web_api.user_feed('1234567890', count=10)

Error/Debug Log:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ZeroDivisionError: integer division or modulo by zero

There is example with login and cookie saving here : https://github.com/ping/instagram_private_api/blob/master/examples/savesettings_logincallback.py

There is example with login and cookie saving here : https://github.com/ping/instagram_private_api/blob/master/examples/savesettings_logincallback.py

Thanks. I will try


Adding Background Music Loop

Add music to the game that starts playing from the Main Menu Screen.

W18 OK 50 points


feat: Added enabled switch

Description
This pr introduces a switch, turning off custom microservices by default
Fixes #1227
Type of change

[X] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[X] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

[ ] AutoDeploy

Checklist:

[x] I have made corresponding changes to the documentation
[x] I have made corresponding changes to the changelog (if needed).
[ ] I have made corresponding notices to the upgrade instructions (if needed)

Codecov Report

Merging #1229 (88f6d56) into main (592f927) will increase coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1229      +/-   ##
==========================================
+ Coverage   12.69%   12.78%   +0.08%
==========================================
  Files          29       29
  Lines        8135     8135
==========================================
+ Hits         1033     1040       +7
+ Misses       7030     7025       -5
+ Partials       72       70       -2

Impacted Files
Coverage Δ

golang/internal/ioddfinder.go
66.15% <0.00%> (+3.07%)
:arrow_up:

golang/internal/exponential_backoff.go
60.71% <0.00%> (+10.71%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[BUG] Could not load doc utilsweb worker

Is there an existing issue for this?

 It sounds like your setup depends on the CDN

Yes, it depends on the CDN.
I use Altair on top of graphql-dotnet, see: https://github.com/graphql-dotnet/server/tree/master/src/Ui.Altair

If that's the case, then it sounds like this issue has been there ever since. Initializing workers from cross origin scripts is not allowed.
~One workaround here will be to fetch the scripts and load them as blobs instead.~ 🤔 That doesn't work because other imports can't be found. An alternative would be to skip the worker and use the main thread when the worker isn't usable. This will mean the performance hits would be on the main thread though.
Looks like we m

Hmm, that doesn't sound right? Are you certain that this ever worked? The docs have used web workers for the longest time so this error doesn't sound surprising. Just that I never experienced it since it only happens when you are loading Altair cross-origin.
If it worked previously, do you know what version? We can load the older versions in something like codesandbox

It definitely worked on Sept 13/14/15-ish where I started using it. 🤷

Turns out, the introspection query was rejected because it violated the complexity limit we set. Unfortunately it took me some time to detect this because the error message I got was not obvious.
I'm sorry for the inconvenience.

Hey no worries! I also just realized that we already do what I was talking about .i.e. we fall back to using the doc utils on the main thread when the worker fails. Don't know why I didn't catch that sooner 😅 I'll update the error message to mention that it falls back so its clearer next time.


Upgrade tendermint-proto to 0.25.0 in cosmos-sdk-proto

it should be done: https://github.com/cosmos/cosmos-rust/pull/302


USB version improperly detected in RealSense Viewer

Required Info

Camera Model
D435

Firmware Version
<IP_ADDRESS>

Operating System & Version
MacOS 10.13.3

Platform
Mac Pro (Late 2013)

SDK Version
Built from source, developer branch commit ID: e3021cc11d0f26f70f8eb446ad6d9c50d1e8fc87

Language
C++

Segment
VR

Issue Description
RealSense Viewer occasionally reports a sensor as being connected via USB 2.1. Using the Mac OS System Report app, it shows the RealSense being connected to the USB 3.0 Hub device tree.
Closing the app, unplugging and plugging back in the sensor, and restarting the app can fix the problem, correctly reporting as USB 3.2. Note that the physical USB port is the same when reconnecting the device.

The camera being detected as 'USB2' on plug-in is on the to-do list of items Intel are looking at addressing through a firmware update.  In the meantime, you can reduce the chances of it occurring by plugging the camera into the USB port quickly and firmly instead of slowly.


kata with cri-o and flannel: pod stuck in container create state

Description of problem
I am testing kata-containers using cri-o where I see pods are getting stuck in container create state. My setup is as follows:

Ubuntu 18.04 nodes on GCP with nested virtualization enabled
k8s 1.15.3
Flannel for networking using IP forwarding on nodes

Expected result
As a comparison I ran the same pods using gVisor/runsc and runc and both these cases worked fine on the same setup. kata-runtime kata-check and a simple podman --runtime=/usr/bin/kata-runtime run --net=host ... check are also working fine.
I expected kata-runtime based pod deployment to work similar to runc and runsc.
Actual result
kubectl describe has following information:
Events:
  Type     Reason                  Age                  From                  Message
  ----     ------                  ----                 ----                  -------
  Normal   Scheduled               17m                  default-scheduler     Successfully assigned default/ping-pong-kata-server-deployment-65d878cd44-qcw8m to ubuntu-xpzc
  Warning  FailedCreatePodSandBox  16m                  kubelet, ubuntu-xpzc  Failed create pod sandbox: rpc error: code = Unknown desc = container create failed:
  Warning  FailedCreatePodSandBox  12m                  kubelet, ubuntu-xpzc  Failed create pod sandbox: rpc error: code = Unknown desc = container create failed: mkdir /var/lib/vc/sbs/f1a974521c23bbdb241e606500a545b15f7cc307d86b0fe18750b800f66694f9: cannot allocate memory
  Warning  FailedCreatePodSandBox  11m                  kubelet, ubuntu-xpzc  Failed create pod sandbox: rpc error: code = Unknown desc = container create failed: failed to create namespace: too many open files in system
  Warning  FailedCreatePodSandBox  10m (x2 over 12m)    kubelet, ubuntu-xpzc  Failed create pod sandbox: rpc error: code = Unknown desc = container create failed: Failed to check if grpc server is working: rpc error: code = Unavailable desc = transport is closing
  Warning  FailedCreatePodSandBox  2m4s (x40 over 17m)  kubelet, ubuntu-xpzc  Failed create pod sandbox: rpc error: code = Unknown desc = error reading container (probably exited) json message: EOF

Also attaching output of kata-collect-data.sh from the node where this pod was being scheduled.
kata-collect-data.log

/cc @amshinde @ganeshmaharaj @devimc

@sdeoras The kubectl describe output shows that you ran out of memory.
Is this a stress test that you are running with large number of pods.
Also, the line failed to create namespace: too many open files in system indicates that you ran out of number of allowed open files on the system. You should increase this limit with something like sysctl -w fs.file-max=100000

@amshinde Nope, this is not a stress test at all. It is a simple server-client communication check over gRPC. All it does is send ping-pong messages between client and server. For reference I have been evaluating the same with gVisor (and of course with runc) and both are fine.
I ran into a different issue with gVisor, but eventually things are working fine: https://github.com/google/gvisor/issues/807
I had also tried working with larger nodes (4 cores and more memory) but that did not help.


Update to ESMA_cmake v3.16.0

Description

Updates the ESMA_cmake in MAPL to v3.16.0.
Related Issue

Motivation and Context

@tclune made some updates to ESMA_cmake to better support NAG Fortran. I think this is more needed in MAPL 3 development (https://github.com/GEOS-ESM/MAPL/pull/1538), but this update doesn't hurt MAPL 2. Thus, I pull it here and we'll merge up to develop/MAPL-v3
How Has This Been Tested?

I built GEOSgcm with ESMA_cmake v3.16.0 using GNU and it was zero-diff.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Trivial change (affects only documentation or cleanup)

Checklist:

[x] I have tested this change with a run of GEOSgcm (if non-trivial)
[x] I have added one of the required labels (0 diff, 0 diff trivial, 0 diff structural, non 0-diff)
[x] I have updated the CHANGELOG.md accordingly following the style of Keep a Changelog

Interesting. It breaks with MAPL and Intel and only with GitHub Actions? Okay... getting confused...

Not sure why it got triggered here in all places, but the GitHub Actions CI was out-of-date. It shouldn't have presented in the way it failed, but it seems to have fixed it so...good enough for me!


incorrect owldef for noradrenergic synapse

currently equiv to
[Term]
id: GO:0098691
name: dopaminergic synapse
namespace: cellular_component
def: "A synapse that uses dopamine as a neurotransmitter." [GOC:dos]
subset: goslim_synapse
is_a: GO:0045202 ! synapse
intersection_of: GO:0045202 ! synapse
intersection_of: capable_of GO:0001963 ! synaptic transmission, dopaminergic
created_by: dos
creation_date: 2017-03-07T14:51:52Z

We removed the incorrect logical def. To make a logical def for this term, it requires the addition of the corresponding process.

Hi @ukemi The logical definition for GO:0098691 is
synapse
and ('capable of' some 'synaptic transmission, dopaminergic')
What process needed to be added ' Can this be closed ?
Thanks, Pascale

GO:0098691 is
synapse and ('capable of' some 'synaptic transmission, dopaminergic')

That's correct

What process needed to be added ' Can this be closed ?

'synaptic transmission, noradrenergic'  for logical def for 'noradrenergic synapse'

'synaptic transmission, noradrenergic'
has logical definition:
synapse
and ('capable of' some 'synaptic transmission, noradrenergic')
Close ?
Thanks, Pascale

Yeh.  Guess I fixed it & forgot to close.  Sorry.


document #[used]

r? @oli-obk or @steveklabnik
I'm not 100% sure about grouping all those features under an "ABI" section, but having a single #[used] section seemed overkill. I'm open to suggestions about grouping features differently, e.g. using a different section name.
Required by rust-lang/rust#51363

I'm not 100% sure about grouping all those features under an "ABI" section, but having a single #[used] section seemed overkill. I'm open to suggestions about grouping features differently, e.g. using a different section name.

Hmm, yeah. I feel.. the same. Wonder if anyone else has thoughts.

Required by rust-lang/rust#51363

FWIW, these days, only an issue needs to be opened, not a full PR, but I appreciate it! Makes it even easier on us.

closing due to inactivity, sorry for missing you!


"azcopy sync" tier option not available?

Which version of the AzCopy was used?
10.1.2
Which platform are you using? (ex: Windows, Mac, Linux)
Windows
What command did you run?
azcopy sync "(local file system)" "(SAS token)" --block-blob-tier=archive
What problem was encountered?
Using the copy option of azcopy, I can set the desired tier for the files in my Azure storage container (e.g. archive tier). When using the sync command, this is not possible. Is this by design?
My scenario: I have a bunch of files on my local file system, which I want to copy to Azure using the archive tier. Files are added to my local file system over time (but files are not changed/deleted). I just want to copy the new files, so the sync option seemed to be a good candidate.
How can we reproduce the problem in the simplest way?
Just just the sync option in combination with block-blob-tier.
Have you found a mitigation/solution?
/

Hi @jantielens, thanks for reaching out!
You can use the copy command with the flag --overwrite=false, it will only copy the new files like you wanted.
The sync command was kept simple intentionally, but we'll definitely consider expanding its flag set in the future.

So sync only works on Hot / Cool and than move blobs to archive? And if I want to sync again - other way round?

please consider adding this flag.
without it I have to reimplement the sync function to list changed files and use copy to send the files that have changed


SelectionArea's selection should not be cleared on loss of window focus

This change fixes an issue where SelectionArea would clear its selection when the application window lost focus by first checking if the application is running. This is needed because FocusManager is aware of the application lifecycle as of https://github.com/flutter/flutter/pull/142930 , and triggers a focus lost if the application is not active.
Also fixes an issue where the FocusManager was not being reset on tests at the right time, causing it always to build with TargetPlatform.android as its context.
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported.
[x] All existing and new tests are passing.

@chunhtai @gspencergoog I managed to track down the google testing issues. Some users modify the FocusManager.highlightStrategy in the setUp method of tests. This was easy enough to get around by saving the highlight strategy. However, the second issue is that some users add listeners to FocusManager in setUp. If we recreate an entirely new FocusManager at test time we lose all the listeners the user added. Not sure what the best way forward is here, this is my current attempt at fixing this https://github.com/flutter/flutter/pull/148067/commits/80ef35f93897a03f636cb9edc8de916478ed8215 but it exposes a public method on FocusManager.
Some other things I can think of is exposing some method in the TestWidgetsFlutterBinding that a user can call to rebuild FocusManager and that they should expect that any of their changes to FocusManager are not retained in that case. This means that anyone that wants an accurate FocusManager that listens to the application lifecycle would need to call this method in their test, which seems a little fragile.

However, the second issue is that some users add listeners to FocusManager in setUp

In setUp, or in setUpAll? Because in setUp, they should expect that any state they setup there is destroyed once tearDown is called, and the next test should set it up again.
If they do it in setUpAll, that's more problematic, and the solution there is probably to just do it in setUp instead.

They add listeners in setUp, so I think we still need to retain across each individual test right? Right now there is an issue because we setting a new FocusManager after setUp is called. setUp needs to happen first so FocusManager has the relevant platform context during construction.

Ahh.  So, could we instead initialize the FocusManager before the setUp, and then set the platform context after?
Since setUp is called before each test, I think the expectation would be that things don't revert after the setUp, but that reverting before the setup is fine (since it'll be reset to baseline).

I'm not sure I follow. If we initialize FocusManager before setUp we won't have the correct platform context during construction. The test variant is setup sometime after setUp is called, essentially at the same time the test body is run https://github.com/flutter/flutter/blob/a8a9b9bea38d8e168bd300551639b19c23d1c8d2/packages/flutter_test/lib/src/widget_tester.dart#L181-L183. We would ideally setup the test variant before setUp is called, so inside that method the user already has the correct defaultTargetPlatform for the given test (I think?), then we could initialize the FocusManager before setUp and it would have the correct platform context. That's a bit tricky to do though since the test is run asynchronously, I don't see a place where I could set up the test variant any earlier, unless we change the actual test_api to support running some callback before setUp. What do you think?
From what I understand this is the order of operations for a given test:
testWidgets -> test -> Declarer.test https://github.com/dart-lang/test/blob/84d2a2bcba0d63b9f4bd6cbf14fb7fc38621e65d/pkgs/test_api/lib/src/backend/declarer.dart#L171-L225 -> setUp (the setup method for a given test) -> test body (sets up the test variant and has the actual test logic for a given test).

Actually, in effect, I guess I'm proposing the same thing that you are in the PR: your listenToApplicationLifecycleChangesIfSupported function is basically re-doing the FocusManager constructor bits that have to do with platform, which is what I was thinking about when I was saying to initialize it and the set the platform after.
I'm a little leery of adding that as a public API, though: I don't see any use for it outside of tests.  Maybe mark it @visibleForTesting?

Oh okay I understand.
I agree, I am also not so sure about having it as a public API. The analyzer complains because it's not technically being used in a test, even though it's in flutter_test.

Yeah, we should really fix the analyzer test to allow @visibleForTesting in the flutter_test repo. In any case, you can just add an exemption for it there.

Thanks for the suggestion! Done.


Create touch binary sensor

A binary sensor "Screen touched" which should change to True in the moment somebody touches the screen, and reverts to false after 1s.
Useful to automate backlight levels.

This sounds like the idle state that is built into hasp-lvgl. There is a SHORT and LONG interval which are configurable and the change is sent out automatically.

Which command can be used to change the interval @fvanroie ?

You can change the settings with command config/gui {"idle1":60,"idle2":120}
These are runtime parameters that are saved at reboot only at the moment (no save command).
But you can change them anytime and take effect immediately.

We can use the idle times to handle this information.


Design New Front end for blog

Front End Checklist and Design
This is where all the information will go for the front end.
To Do: @GeauxWeisbeck4

[ ] Add Checklist
[ ] Figma Design
[ ] Add TailwindCSS
[ ] Add Documentation
[ ] Plan APIs
[ ] Cloudinary for images
[ ] StoryBlok CMS

SEO Checklist

Check Site Page Speed - Site should take ideally between 2-4 seconds to load - gtmetrix.com

[ ] Compress images
[ ] Minify all CSS & JS
[ ] Eliminate render-blocking

SSL Certificate - Install SSL cert on website

[ ] Should be default/main URL used for all submissions/marketing

Google Analtyics/Plausible Analytics other - Install Google Analytics tag on site

[ ] analytics.google.com tab =

SEO Friendly URLs - URL should be main target keyword for ranking

[ ] Stick to 2-5 words at the maximum

404 Page

[ ] Create a custom 404 page to handle any broken URLS

Submit XML Sitemap - Create XML sitemap + add it to Google Search Console

[ ] Create and submit https version - this should be default site

Google Search Console - Create XML sitemap + add it to Google Search Console

[ ] Submit all 4 site types www & non-www & http & https

Robots, Nofollow, Noindex - Restrict and guide the crawling of the website

[ ] Use these tags/fils to focus on the main sections of the site for ranking

Redirects - Create relevant redirects for the website

[ ] Use 301/302 where appropriate + redirect www version to non-www version

On Page SEO - Optimise page SEO for focus on the ranking terms

[ ] Title, Meta, Description, URL, H Tags, Keywords, Internal/External Links


Building for 'iOS-simulator', but linking in object file

**

**
   "react": "18.2.0",  "react-native": "^0.73.6",  "react-native-fast-tflite": "^1.2.0",  "react-native-vision-camera": "^4.3.1"
The problem occurs when installing the package using yarn in a fresh project with no other components and no TFLite file in the project. Physical device executed correctly, in the simulator it does not even allow installing the project.
Macbook pro M1 Sonoma

@nathangabriel27 this will fix the issue

I also am curious about this error, as posted in Discord channel
should this lib have an update to allow for arm64 support?

@lucksp This Archive contains arm64 binaries for TensorFlowLiteC and TensorFlowLiteCCoreML. You can replace the files under ${SRC_ROOT}/node_modules/react-native-fast-tflite/ios/TensorFlowLiteC.framework/TensorflowLiteC and ${SRC_ROOT}/node_modules/react-native-fast-tflite/ios/TensorFlowLiteCCoreML.framework/TensorflowLiteCCoreML.
The issue is I wasn't able to merge binaries of ios-arm64 & apple-ios-arm64-simulator.
I have place this files in ios and ios-simulator folders separately inside react-native-fast-tflite and pick them based on the destination under Build Phases.
if real-device then
    pick from ios
else
    pick from ios-simulator
fi

@mrousavy we can avoid this if we build using nightly pod builds mentioned here https://github.com/mrousavy/react-native-fast-tflite/issues/75

@mrousavy we can avoid this if we build using nightly pod builds mentioned here #75

direct link: https://github.com/tensorflow/tensorflow/issues/47400#issuecomment-1126611267

It looks like both versions exist tho?
run: file node_modules/react-native-fast-tflite/ios/TensorFlowLiteC.framework/TensorFlowLiteC will ouput:
node_modules/react-native-fast-tflite/ios/TensorFlowLiteC.framework/TensorFlowLiteC: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit object x86_64] [arm64]
node_modules/react-native-fast-tflite/ios/TensorFlowLiteC.framework/TensorFlowLiteC (for architecture x86_64):    Mach-O 64-bit object x86_64
node_modules/react-native-fast-tflite/ios/TensorFlowLiteC.framework/TensorFlowLiteC (for architecture arm64):    Mach-O 64-bit object arm64

@lucksp apple-arm64-ios-simulator doesn't exist in this fat files.

is it possible to make a PR that uses the correct binaries from the nightly build?

sure - I'd gladly accept such PRs!

has anyone had any luck getting this to work for sim builds? I use Expo's EAS build and get the same error:
❌  ld: building for 'iOS-simulator', but linking in object file (/Users/expo/workingdir/build/node_modules/react-native-fast-tflite/ios/TensorFlowLiteC.framework/TensorFlowLiteC) built for 'iOS'

Installing version 1.4.0 will fix the issue
Building for 'iOS-simulator', but linking in object file

But it will lead to a bigger problem where Android build itself will not work

https://github.com/mrousavy/react-native-fast-tflite/issues/91


Error in serve.prod

I have a service that contains:
Import { Injectable } from '@angular/core';
import { NewsSelectorComponent } from './news/index';
import { MyEventsSelectorComponent } from './myevents/index';
import { MyActionItemSelectorComponent } from './my-action-item/index';
import { WatchItemSelectorComponent } from './watch-items/index';

declare var jQuery:any;

@Injectable()
export class HomeService {

  private  	listbox:any[]= [];

  private widgets = window.localStorage.getItem('widget_list') === null ? [] : window.localStorage.getItem('widget_list').split(',');

  getUserWidgets() {

     console.log('data: ', WatchItemSelectorComponent);

  }
}

in dev it works fine, but when doing:
npm run serve.prod
the output on the console is
function e(e) {this._watchItemService=e,this.isLoading=!0,this.isError=!1}
my expected output was
function WatchItemSelectorComponent(_watchItemService) {
        this._watchItemService = _watchItemService;
        this.isLoading = true;
        this.isError = false;
    }

It's because the output is uglified. I don't really see what you want to do here because the output is actually expected.

Hello Sam. I created a drag and drop widget on my apps, That's why I pass the class in object and using that class I can use the class name to call an image

Class names aren't preserved after compiling (mangling, uglifying, ...). So that's not a good practice to do. Better would be to add a name property (or something else) to your component that could identify the image.

Do you have an idea on how to do it in my component? because I almost spend a week to research that but I didn't find thats why I use the class name as my last resort.. Thank you Sam for your feedback!!

It's very hard to make good decisions without looking into what you have and how it is built.
@Component({
    ...
})
class WatchItemSelectorComponent {
    private name = 'watch-item-selector';
}

Not sure if that fits your application design though.

@aldrindizonh I updated my example

Woah!!! Thank you Sam!!! it works!!!!!!

Your welcome. You can safely close this issue then ;).


failed to serve tls: failed to parse private key

i has generated cert and key file following by readme.md and when i start server, encouter this error.
here is env:
$ go version
go version go1.12.6 darwin/amd64

$ gsocks5 --version
gsocks5 version 0.1

$ ls<EMAIL_ADDRESS>Gopkg.lock Gopkg.toml LICENSE    README.md  client.go  config.go  data       main.go    server.go

mac os version is:
Mojave 10.14.3
is it possible something wrong when generate cert/key files? i notice openssl ask some params like passphase during generation

Hi,
Are you sure that you set the correct paths in server's configuration file?

yes, both paths are absolute.
i startup program by
> gsocks5 -d -c gsocks5-server.json
2019/09/27 00:05:28 [INF] gsocks5: Running as server
2019/09/27 00:05:28 [ERR] gsocks5: failed to serve tls: failed to parse private key

gsocks5-server.json:
{
    "debug": true,
    "role": "server",
    "server_addr": "<IP_ADDRESS>:10086",
    "password": "password",
    "server_cert": "/Users/me/gsocks5.cert.pem",
    "server_key": "/Users/me/gsocks5.key.pem"
}

gsocks5-server.json (END)
and  GO111MODULE=on, hope this could help

I created the same error on my computer. It seems that Golang's TLS package changes something internal. Fortunately, I found similar problems and their workarounds on the Internet.
The following command should fix the problem:
openssl rsa -in key.pem -out unencrypted.key

Then, you should use unencrypted.key file as server_key.
I'm going to update the README file. Thank you for reporting.


vmwaas.sh does not retrieve data

I have verified the region and API key are correct. the VDC is in Dallas and the API key has activity history increasing with every run of the script. Outputs are null. Example:
❯ ./vmwaas.sh vdcs
Get virtual datacenters.

VDCs:

NAME  ID  DIRECTOR_SITE_ID  CRN

I tested this with VMware Shared, this might be why?


Getting crash while invoking Tooltip class

Hi,
I could use the sample that you have put in the github but when I use this library in my project, I am getting a crash.
I debugged and found that this.mTextView = (TextView)this.mView.findViewById(16908308); (line no 858 in Tooltip.java) statement is returning null. I am using 1.3.12 version.
Let me know if I need to provide further details.

Debug that you get some view with mView.findViewById(16908308)
If you do and get some, see if is a TextView like the cast
If not (the most probably) the problem is on your hierachy view, is not a problem of this lib.
Test your viewID (16908308) is correct and check the view you search is a child on mView and not in other view.


Verify deliverables list in drive

?

This is more for you, to make sure all the points in the 'livrable final' document we wrote together are respected.


osd: add support for setting partition uuids

We can now set a partition uuid for the journal and the lockbox (used
when dmcrypt is used).
Signed-off-by: Sébastien Han<EMAIL_ADDRESS>

jenkins test this please

jenkins test ceph_ansible-jewel-centos7_cluster


improve duty station search performance: 168905571

Description
When doing a duty station lookup, we were doing an Eager("Address") which will do an address lookup for each duty station returned in the drop down list (and we don't need that). Instead, just do a lookup the duty_stations and when a user selects a duty station, get the 1 duty station address.
Reviewer Notes
Make sure no additional queries to db are made... Just return list of duty station and when selecting a duty station, then get the address.
Do I need to update the redux store? I went thru a move and it appears to work fine... Just don't want end up in a funny state...
Setup
make server_run
make client_run
SM: create move and set origin and destination duty station...
Office: can update a move's duty station...
Code Review Verification Steps

[ ] Request review from a member of a different team.
[ ] Have the Pivotal acceptance criteria been met for this change?

References

Pivotal story for this change

@garrettqmartin8 - I ❤ that you put the actual queries in here! Thank you!


Ticket application email

When automatic approval for tickets has been turned on:

we need an email to be sent to the dojo email and champion email notifying them when a new application for a ticket has been logged

Otherwise the champion has no idea when this has happened or that they need to approve a ticket.

For more information on creating test data, see this doc. The main readme file is here.

Test that this email does not send when the ticket approval is turned off in an event
Take a look here for where to send the email - we want to send it to the owner of the dojo, as well as the dojo email to notify them that someone has booked a ticket. This is where the email is sent to the user so it can be done at the same time. The champions email will be in the sys_user table under email and the dojo email is in cd_dojos under email. It looks like the dojo data is already loaded in this code.

Let me know if you have any questions, usually around on the Gitter!

This should be an optional feature. Not all admins will want to receive emails for each booking. A checkbox should be added to enable/disable the sending of emails.

Thanks a lot to all of you @danburke @grabartley @campbs :+1:


36 tech icons, 49 icons, 7 item group icons, 6 entities

- Additional entities have received revised color masks
- 7 item tab icons
- Plates tech icons: 15 plates, gas canisters, 2 gem processing, advanced electronics 3, fluid handling update
- Mining tech icons: oil pumpjacks, water pumpjacks
- Warfare tech icons: 5 armors, 4 spidertrons, 4 drone tank units, laser robot
- Plates item icons: 14 powders, liquid air
- Warfare item icons: 5 armors, 4 spidertrons, 4 drone tank units, 5 capsules, 10 mech parts, 2 drone parts, laser robot, rifle, sniper rifle
- Tankotron entity: Added rotating cannon, adjusted projectile position
- 4 Drone tank units entities: reworked appearance, adjusted projectile position, made turns slower
- Laser robot entity: reworked appearance

(deleted previous repo, reuploaded only the real changes (due to useless massive commit)

Notes for self:

Attack drone reskins need to be run through standard setup process and appropriate remnants generated/assigned. Remnant image needs to have tank cannon edited out.
Laser capsule robot needs to be run through standard setup process, and the destruction animations setup (see construction/logistic robots)
Capsule throw animation should use the new capsule icons
Large/normal robot attack frames too similar, consider 80% size reduction?...


manga-demon.org
luminous ME release slow :>

do it on your free time.

what?

what?

need https://manga-demon.org/ tracker :<

What do you mean by luminous lol? I don't understand that part

What do you mean by luminous lol? I don't understand that part

one of their series is delayed by like 2 week.


[File Organization] Drag and Drop to Reorder files/folders in HGrid

I think this would be a great feature, as it would be very intuitive for users.
This is tangentially related to #740.

Will be consider when we enhance the interface. Thanks.


Ignore cache age in autest

Blocks #3047

[approve ci]

@xf6wang Why is this the correct fix? Providing an explanation in the commit message would be very helpful for anyone trying to understand what happened here later.

The fix causes the Age header to be ignored, in a style similar to the other ignored headers.