Copy & Paste old bug

Description
98% of times it is annoying to just copy and paste folders or files, it lags or it does not do it at all
Steps To Reproduce
Just try copy ( cntrl+c) a file or folder, move to another folder and paste (cntrl+v) with the keys or the right click menu is the same, it does not work
Steps to fix
there is not fix, i have to open windows explorer to do it
Files Version
2.3
Windows Version
10
Log file
i do not have the log file, i uninstall the program

2.3 is outdated can you try 2.4.4 from https://files.community/appinstallers/Files.Stable.exe

i try with this version: https://files.community/appinstallers/Files.Stable.exe
and also with the preview version, the bug is there


Exclude multiple IPs on MACVLAN configuration

Currently the "Exclude IP" option only accepts one single IP address to exclude. It would be great to have way to exclude multiple IPs.
I think it can be easily achieved as " --aux-address" can be used multiple times as argument. So sounds like a simple frontend / datatype change.
I already shortly discussed this topic with Louis-Philippe in Slack. He told me to open an FR here and finally his words: "and we can take a further look at it then (should be as "easy" as converting the range to multiple auxAddress fields)."
Thanks in advance.

You can already exclude one IP or a range by specifying the subnet (or part thereof).. but agree a comma separated list makes sense.
Rgds,
Neil Cresswell
On 15/01/2020, at 10:48 AM, schniggie<EMAIL_ADDRESS>wrote:

Currently the "Exclude IP" option only accepts one single IP address to exclude. It would be great to have way to exclude multiple IPs.
I think it can be easily achieved as " --aux-address" can be used multiple times as argument. So sounds like a simple frontend / datatype change.
I already shortly discussed this topic with Louis-Philippe in Slack. He told me to open an FR here and finally his words: "and we can take a further look at it then (should be as "easy" as converting the range to multiple auxAddress fields)."
Thanks in advance.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_issues_3503-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAFQ2XFKNPGPPUREULX3VTULQ5YXJ3A5CNFSM4KG2CG52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IGF3QMA&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=MBHhvCNokPbN6KNMaUAIDFFcdiuVrsQOlc78MqwyNbQ&s=9qsWznPJD_fL_jl5MT7IFFAJRl7joFk_hhoeOG3GQ1M&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AFQ2XFN6FTRG6XI3GNDHUFTQ5YXJ3ANCNFSM4KG2CG5Q&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=MBHhvCNokPbN6KNMaUAIDFFcdiuVrsQOlc78MqwyNbQ&s=InvIBxguEIqVEV14XzeqHkMnNNjtgirmuWv1MBkpLrM&e=.


Does the latest Traccar Client for Android work with Traccar Server 3.5?

I have hosted Traccar Server 3.5 in my server and am already receiving data from GPS devices. I tried now installing from google play Traccar Client for Android with my server address (only IP without port), Server port 5055 and interval 60. Configured the random generated 6 digit number in server too.
The status is "Send Failed"
However the same works well with demo2.traccar.org

Check this guide:
https://www.traccar.org/troubleshooting/

That was my fault. I had left the port unopened.
Thank you
On 30 September 2016 at 10:52, Anton Tananaev<EMAIL_ADDRESS>wrote:

Check this guide:
https://www.traccar.org/troubleshooting/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tananaev/traccar-client-android/issues/227#issuecomment-250661239,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGY5BrViD6hNpXlvFDHfji1B5-_Sg0QGks5qvJyPgaJpZM4KKttY
.

--
Prassanna John Paul


Segmentation fault when training a custom seq2seq architecure (CNN/LSTM + Transformer)

While training a custom sequence to sequence model I encountered a segmentation fault. I was training through the following script
data_bin=$1
path=$2
gpu=$3

CUDA_VISIBLE_DEVICES=$gpu python train.py $data_bin \
    --arch ber2transf \
    --clip-norm 10 --max-sentences 16 --max-tokens 19200 \
    --save-dir $path \
    --max-epoch 150000 \
    --max-source-positions 4000 \
    --lr 0.0001 \
    --lr-scheduler fixed \
    --optimizer adam --adam-betas '(0.9, 0.98)'\
    -s npz -t de \
    --dropout 0.2 \
    --task speech_translation \
    --label-smoothing 0.1 \
    --criterion label_smoothed_cross_entropy \
    --sentence-avg \
    --skip-invalid-size-inputs-valid-test \
    --no-weight-norm --learn-initial-state \
    --decoder-attention True \
    --update-freq 8

I have successfully trained custom architectures so I suppose it's related to this specific configuration. The model is a Linear+CNN+LSTM encoder and the decoder of the Transformer architecture.
There is no error message except for a: "segmentation fault: <random number like 65428>" reporting the command and number of the last line of the bash script. Even when changing the last line (e.g. swapping position in the script for --update-freq and --decoder-attention always the last line is showed in the rather short error message)
I tried to run the same command in the command line and still got segmentation fault without any additional information this time.
I tried to run train.py with the gdb debugger but when I try to inspect the stacktrace it says it's empty and the program exited normally even though it got interrupted in the middle of training.
Anyone found a similar behaviour? I am not sure it is strictly a fairseq problem, it could also be related to pytorch but I have no idea on how debug given the little information showed when the segfault occurs. Any help on how to debug python code or this kind of error is appreciated.
Thanks in advance.

Sorry for the delay.
With pytorch 4.1 the segfault was happening as soon as after 4 epochs as well as after 147.
I tried to disable disable --update-freq and still encountered the segfault.
I am now running and experiment on different machine with --update-freq enabled and pytorch 4.0: after >180 epochs I still got no errors.
It should be fine now. I'll keep you posted in case something happens.
I am closing this now and reopen it if something comes up.
Thanks for your help!


forward call allocates gradInput?

I don't really have bandwidth to address it any time soon...  But I did notice that inference only models will use 2x memory because we're allocating gradInput CudaTensors during forward calls.  We should probably defer the alloc.

good catch, this saves a ton of memory on forward pass. I sent a PR https://github.com/soumith/cudnn.torch/pull/157

Thanks mate!

fixed all modules in https://github.com/soumith/cudnn.torch/pull/171


added mi html page

Your pull request seems good, but must be checked by a human maintainer for the following reason(s):

This contains potentially hazardous tags that need manual review.

Please be patient until a maintainer has time to look over your contribution.
This is an automated response, beep boop.
if you think there is a mistake, contact a maintainer

cb88934f9fedc029d12f9b8db4754a1356166053

Great! Thanks for contributing!


SDK Generation PR for Swagger JSON : 2023.07.01

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.
https://github.com/Azure/azure-rest-api-specs/pull/24926

@archerzz we do not have any active development efforts planned on ASE service. We are doing this just to stay compliant. Do we still need to upgrade?

@archerzz we do not have any active development efforts planned on ASE service. We are doing this just to stay compliant. Do we still need to upgrade?

@atallanki It's already upgraded. See https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge
You just need to update the track2 SDK according to the latest swagger.

@atallanki:
Our automation is identifying you as a community contributor.  Please review the Azure SDK onboarding documentation and ensure that your GitHub organization membership and permissions are correct.

Azure SDK onboarding (Microsoft internal)
Azure SDK onboarding assistance (Microsoft internal)

Please also be sure to add yourself to CODEOWNERS for this library, if you will be maintaining it going forward.

@atallanki please upgrade the pr with Track 2 and remove Track 1 sdk


Emit api

Add an alternative syntax for wrapper.emitted().
Also updated docs to include new syntax (ja and en).

In response to #181
@eddyerburgh , I'm sure I need to add something for Typescript somewhere for this.
It turned out adding the different syntax was trivial and I was overthinking it. I'm sure you have some feedback or change requests.
Also perhaps @kazupon will check the Japanese translation.

Thanks @kazupon .
Also for some reason createLocalVue Router should work properly with local Vue was failing locally, but it passes on the CI. Eh.

Are you able to add types? They're in the types/index.d.ts https://github.com/vuejs/vue-test-utils/blob/dev/types/index.d.ts
I can help you if you're stuck 😄

I tried to add the types. I think it is just one type, the new optional event string. I haven't used typescript before, is it a big game changer? Should I be?
Let me know if I should change anything else, @eddyerburgh .


error android.permission.MANAGE_SUBSCRIPTION_USER_ASSOCIATION

"error": "Sending: getSubscriptionUserHandle. Does not have any of the following permissions. [android.permission.MANAGE_SUBSCRIPTION_USER_ASSOCIATION]",
"phoneNumber": "+xxxxxxxxxx",
"state": "Failed"

Hello,
Thank you for reaching out. To assist you better, could you please provide the following details?

The model of your device and the Android version it's running.
The version of the app that you're experiencing this issue with.

Also, please confirm if you granted all the requested permissions when you first launched the app. It would be helpful if you could share a screenshot of the permissions for the SmsGateway app found in the Android Settings under Apps.
The permission mentioned in the error is not part of the official Android documentation. Additionally, the app does not explicitly call the getSubscriptionUserHandle method, which suggests that this could be related to vendor specific issue.
Looking forward to your reply to resolve this issue promptly.

Redmi Note 8
i use custom rom
https://pixelos.net/download/ginkgo

Here Phone call and SMS was granted

i try to add

--
  |
into AndroidManifest.xml
it's work now

Thank you for your feedback!
I have added this permission to the manifest in https://github.com/capcom6/android-sms-gateway/pull/74. I will conduct tests on my devices running stock firmware to ensure everything functions correctly before including it in the upcoming release.


Added a new Ui library Url

closes #999

Please merge this request under hacktoberfest label

@Alvis07
Link correct issue. Have you created an issue?

Yes issue #2159

Yes issue #2159

This is a pull request. I'm asking for the issue?


implement NxN conv (N>1)

Hello, I implemented NxN (N>1) convolution case in AMC. You can run test with VGG16 model as follows.
bash ./scripts/search_vgg16_0.5flops.sh

@capitaso Thank you for implementing NxN conv. However, in your implementation, there is a serious error where could not run "least_square_sklearn" because of 4 dimension inputs.
Thanks,

@Li-Yun Thanks for reporting the error. Can you share the error massage? and what model did you try to prune?
The 4-dimensional inputs are reshaped into 2-dimensional matrix when using least_squares_sklearn, so that should not happen, but I may have done something wrong with it.

@capitaso Sure. I tried to prune a pre-trained VGG16. I also added the following error message.
Traceback (most recent call last):
File "amc_search.py", line 233, in
train(args.train_episode, agent, env, args.output)
File "amc_search.py", line 132, in train
observation2, reward, done, info = env.step(action)
File "/home/liyun/model_compression/amc/env/channel_pruning_env.py", line 99, in step
action, d_prime, preserve_idx = self.prune_kernel(self.prunable_idx[self.cur_ind], action, preserve_idx)
File "/home/liyun/model_compression/amc/env/channel_pruning_env.py", line 284, in prune_kernel
rec_weight = least_square_sklearn(X=masked_X, Y=Y)
File "/home/liyun/model_compression/amc/lib/utils.py", line 130, in least_square_sklearn
reg.fit(X, Y)
File "/home/liyun/anaconda3/lib/python3.8/site-packages/sklearn/linear_model/_base.py", line 505, in fit
X, y = self._validate_data(X, y, accept_sparse=['csr', 'csc', 'coo'],
File "/home/liyun/anaconda3/lib/python3.8/site-packages/sklearn/base.py", line 432, in _validate_data
X, y = check_X_y(X, y, **check_params)
File "/home/liyun/anaconda3/lib/python3.8/site-packages/sklearn/utils/validation.py", line 72, in inner_f
return f(**kwargs)
File "/home/liyun/anaconda3/lib/python3.8/site-packages/sklearn/utils/validation.py", line 795, in check_X_y
X = check_array(X, accept_sparse=accept_sparse,
File "/home/liyun/anaconda3/lib/python3.8/site-packages/sklearn/utils/validation.py", line 72, in inner_f
return f(**kwargs)
File "/home/liyun/anaconda3/lib/python3.8/site-packages/sklearn/utils/validation.py", line 640, in check_array
raise ValueError("Found array with dim %d. %s expected <= 2."
ValueError: Found array with dim 4. Estimator expected <= 2.
liyun@ferrari:~/model_compression/amc$
Thank you for replying to my message.

@Li-Yun Thanks for the additional info. I quickly checked, and at least, I put something like below and it did not cause error.
python amc_search.py --job=train --model=vgg16 --ckpt_path=checkpoints/vgg16.pth --dataset=imagenet --data_root=../../datasets/ILSVRC2012 --preserve_ratio=0.5 --lbound=0.2 --rbound=1 --reward=acc_reward --n_calibration_batches 15 --seed 2018
Then, can you tell me, in what phase do you have the error? "strategy search" (--job=train) or "export" (--job=export)?

@Li-Yun Although I am not sure this is the cause of the error you have, I found a bug related to the first FC layer that happens in the exporting phase. Actually, I used AMC to prune the convolution layers only, and did not check about FC layers carefully. If you want to prune only convolution layers, the following change (in "env/channel_pruning_env.py" at line 24) may solve the problem. The bug will be fixed in the next few weeks.

   self.prunable_layer_types = [torch.nn.modules.conv.Conv2d, torch.nn.modules.linear.Linear]

   self.prunable_layer_types = [torch.nn.modules.conv.Conv2d]

@capitaso The error was in the search phase. My plan is also going to prune the convolution layers.
I believe the error is in the line "rec_weight = least_square_sklearn(X=masked_X, Y=Y)". masked_X and Y are 4 dimension inputs where are [3000, 16, 32, 32] and [3000, 64, 32, 32] in my case. Because their size is great than 2, the linear regression function in sklearn fails to perform linear regression. Do you have any thoughts?
Thanks

@Li-Yun And what is the kernel width and height in that layer? If its 1 x 1, there might be a problem at line 229. I will fix it, but please clarify.

I used a 3 by 3 kernel in that layer. Yeah. I agree with that.

@Li-Yun Then, the problem is something else... Can you share the whole network architecture? Pasting the output of "print(model)" will help.

@capitaso Sorry to reply to the message later. Sure.  I fixed a bit and committed. Can you try the new one? I think it should work now. If it still does not work, probably I need your source code to debug more.

@capitaso Thank you so much!! I will try the new one.

@capitaso I tried the new one, but I got a different error, which is IndexError: boolean index did not match indexed array along dimension 1; dimension is 65536 but corresponding boolean dimension is 64.
I guess the problem is in these lines.
231   k_size = int(X.shape[1] / weight.shape[1])
232  XX = X.reshape((X.shape[0],-1,k_size))
233  masked_X = XX[:, mask, :]
234  masked_X = masked_X.reshape((masked_X.shape[0],-1))
The shape of X and weight is [3000, 64, 32, 32] and [64, 64, 3, 3], respectively.

@capitaso please skip the previous message. The code is working.

Thank you for your work on this, and I implement the code. It works. But have you fix the accuracy problem of vgg model? I have the same problem you’ve mentioned.

@Beeeam Do you mean this problem? No, I could not fix it. After some struggling, I gave it up.

@capitaso Thanks for your relpy. Besides I am also curious about the parameter 'n_points_eachlayer'. I used a larger one(from 10 to 20), but got a worse results.

@Beeeam I think i did that too, but changing the hyper-parameters did not work at all. And I have no idea what is the remaining problem...
But, my implementation is maybe ok. I fixed the pruning rate (did not use amc) and confirmed it worked well.

@capitaso The hyper-parameters I found really importan is warmup...
Also, I am thinking that using filter pruning will help?

@capitaso  filter_pruned_num = int(weight_torch.size()[0] * (1 - compress_rate)) select weight by this dimension. It seems finer-grained than channel pruning.

@Beeeam Sorry for my late reply. I did not find such code in env/channel_pruning_env.py. Can you please specify the lines you are mentioning?


check the return value of OSSL_PARAM_BLD_new in dsa_kmgmt.c:195

Check the return value of OSSL_PARAM_BLD_new in dsa_kmgmt.c:195.

24 hours has passed since 'approval: done' was set, but this PR has failing CI tests.  Once the tests pass it will get moved to 'approval: ready to merge' automatically, alternatively please review and set the label manually.


Estimator.predict() has Shape Issues?

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Windows 8.1
TensorFlow installed from (source or binary):
Binary
TensorFlow version (use command below):
1.6
Python version:
3.6
Bazel version (if compiling from source):
N/A
GCC/Compiler version (if compiling from source):
N/A
CUDA/cuDNN version:
N/A
GPU model and memory:
N/A

Describe the problem
I've already posted this problem in stackoverflow. Unfortunately, no one can figure it out there so I'm posting it here as well.
I can train and evalaute a Tensorflow Estimator model without any problems. When I do prediction, this error arises:
InvalidArgumentError (see above for traceback): output_shape has incorrect number of elements: 68 should be: 2
     [[Node: output = SparseToDense[T=DT_INT32, Tindices=DT_INT32, validate_indices=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](ToInt32, ToInt32_1, ToInt32_2, bidirectional_rnn/bidirectional_rnn/fw/fw/time)]]

All of the model functions I made use the same architecture:
def _train_model_fn(features, labels, mode, params):
    features = _network_fn(features, mode, params)

    outputs = _get_output(features, params["output_layer"],
                          params["num_classes"])
    predictions = {
        "outputs": outputs
    }

    ... # loss initialization and whatnot

def _eval_model_fn(features, labels, mode, params):
    features = _network_fn(features, mode, params)
    outputs = _get_output(features, params["output_layer"], params["num_classes"])
    predictions = {
        "outputs": outputs
    }

    ... # loss initialization and whatnot

def _predict_model_fn(features, mode, params):
    features = _network_fn(features, mode, params)
    outputs = _get_output(features, params["output_layer"], params["num_classes"])
    predictions = {
        "outputs": outputs
    }

    ...

Here's the predict code:
def predict(params, features, checkpoint_dir):
    estimator = tf.estimator.Estimator(model_fn=_predict_model_fn,
                                       params=params,
                                       model_dir=checkpoint_dir)
    predictions = estimator.predict(input_fn=_input_fn(features))
    for i, p in enumerate(predictions):
        print(i, p)

I also checked the shapes given every time the input passes a layer when training, and the same thing for predicting. They give the same shapes:
Training:
conv2d [1, 358, 358, 16]
max_pool2d [1, 179, 179, 16]
collapse_to_rnn_dims [1, 179, 2864]
birnn [1, 179, 64]

Prediction:
conv2d [1, 358, 358, 16]
max_pool2d [1, 179, 179, 16]
collapse_to_rnn_dims [1, 179, 2864]
birnn [1, 179, 64]

Here are the SparseTensors that are passed to sparse_to_dense:
Training:
SparseTensor(indices=Tensor("CTCBeamSearchDecoder:0", shape=(?, 2), dtype=int64), values=Tensor("CTCBeamSearchDecoder:1", shape=(?,), dtype=int64), dense_shape=Tensor("CTCBeamSearchDecoder:2", shape=(2,), dtype=int64))
Prediction:
SparseTensor(indices=Tensor("CTCBeamSearchDecoder:0", shape=(?, 2), dtype=int64), values=Tensor("CTCBeamSearchDecoder:1", shape=(?,), dtype=int64), dense_shape=Tensor("CTCBeamSearchDecoder:2", shape=(2,), dtype=int64))
Which are all pretty much the same.
Any reason why this is happening? Shouldn't the _predict_model_fn work given that it follows the same architecture as that of the other model_fns?
Here's the full stacktrace: (Note: I called the predict function after evaluation)
INFO:tensorflow:Using default config.
INFO:tensorflow:Using config: {'_log_step_count_steps': 100, '_keep_checkpoint_max': 5, '_task_type': 'worker', '_is_chief': True, '_service': None, '_save_summary_steps': 100, '_model_dir': 'checkpoint\\model-20180419-150303', '_task_id': 0, '_evaluation_master': '', '_tf_random_seed': None, '_cluster_spec': <tensorflow.python.training.server_lib.ClusterSpec object at 0x00000091F58B3080>, '_num_ps_replicas': 0, '_master': '', '_save_checkpoints_secs': 600, '_session_config': None, '_save_checkpoints_steps': None, '_keep_checkpoint_every_n_hours': 10000, '_global_id_in_cluster': 0, '_num_worker_replicas': 1}
INFO:tensorflow:Calling model_fn.
INFO:tensorflow:Done calling model_fn.
INFO:tensorflow:Graph was finalized.
INFO:tensorflow:Restoring parameters from checkpoint\model-20180419-150303\model.ckpt-1
INFO:tensorflow:Running local_init_op.
INFO:tensorflow:Done running local_init_op.
Process Process-2:
Traceback (most recent call last):
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1361, in _do_call
    return fn(*args)
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1340, in _run_fn
    target_list, status, run_metadata)
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 516, in __exit__
    c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: output_shape has incorrect number of elements: 68 should be: 2
     [[Node: output = SparseToDense[T=DT_INT32, Tindices=DT_INT32, validate_indices=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](ToInt32, ToInt32_1, ToInt32_2, bidirectional_rnn/bidirectional_rnn/fw/fw/time)]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\asus.11\Anaconda3\lib\multiprocessing\process.py", line 249, in _bootstrap
    self.run()
  File "C:\Users\asus.11\Anaconda3\lib\multiprocessing\process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\asus.11\Documents\Optimized_OCR\trainer\backend\train_ocr.py", line 42, in evaluate_model
    evaluate(architecture_params, images, labels, checkpoint_dir)
  File "C:\Users\asus.11\Documents\Optimized_OCR\trainer\backend\tf\experiment_ops.py", line 82, in evaluate
    predict(params, features, checkpoint_dir)
  File "C:\Users\asus.11\Documents\Optimized_OCR\trainer\backend\tf\experiment_ops.py", line 90, in predict
    for i, p in enumerate(predictions):
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\estimator\estimator.py", line 492, in predict
    preds_evaluated = mon_sess.run(predictions)
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\training\monitored_session.py", line 546, in run
    run_metadata=run_metadata)
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\training\monitored_session.py", line 1022, in run
    run_metadata=run_metadata)
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\training\monitored_session.py", line 1113, in run
    raise six.reraise(*original_exc_info)
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\six.py", line 693, in reraise
    raise value
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\training\monitored_session.py", line 1098, in run
    return self._sess.run(*args, **kwargs)
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\training\monitored_session.py", line 1170, in run
    run_metadata=run_metadata)
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\training\monitored_session.py", line 950, in run
    return self._sess.run(*args, **kwargs)
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 905, in run
    run_metadata_ptr)
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1137, in _run
    feed_dict_tensor, options, run_metadata)
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1355, in _do_run
    options, run_metadata)
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1374, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: output_shape has incorrect number of elements: 68 should be: 2
     [[Node: output = SparseToDense[T=DT_INT32, Tindices=DT_INT32, validate_indices=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](ToInt32, ToInt32_1, ToInt32_2, bidirectional_rnn/bidirectional_rnn/fw/fw/time)]]

Caused by op 'output', defined at:
  File "<string>", line 1, in <module>
  File "C:\Users\asus.11\Anaconda3\lib\multiprocessing\spawn.py", line 106, in spawn_main
    exitcode = _main(fd)
  File "C:\Users\asus.11\Anaconda3\lib\multiprocessing\spawn.py", line 119, in _main
    return self._bootstrap()
  File "C:\Users\asus.11\Anaconda3\lib\multiprocessing\process.py", line 249, in _bootstrap
    self.run()
  File "C:\Users\asus.11\Anaconda3\lib\multiprocessing\process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\asus.11\Documents\Optimized_OCR\trainer\backend\train_ocr.py", line 42, in evaluate_model
    evaluate(architecture_params, images, labels, checkpoint_dir)
  File "C:\Users\asus.11\Documents\Optimized_OCR\trainer\backend\tf\experiment_ops.py", line 82, in evaluate
    predict(params, features, checkpoint_dir)
  File "C:\Users\asus.11\Documents\Optimized_OCR\trainer\backend\tf\experiment_ops.py", line 90, in predict
    for i, p in enumerate(predictions):
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\estimator\estimator.py", line 479, in predict
    features, None, model_fn_lib.ModeKeys.PREDICT, self.config)
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\estimator\estimator.py", line 793, in _call_model_fn
    model_fn_results = self._model_fn(features=features, **kwargs)
  File "C:\Users\asus.11\Documents\Optimized_OCR\trainer\backend\tf\experiment_ops.py", line 217, in _predict_model_fn
    outputs = _get_output(features, params["output_layer"], params["num_classes"])
  File "C:\Users\asus.11\Documents\Optimized_OCR\trainer\backend\tf\experiment_ops.py", line 134, in _get_output
    return _sparse_to_dense(decoded, name="output")
  File "C:\Users\asus.11\Documents\Optimized_OCR\trainer\backend\tf\experiment_ops.py", line 38, in _sparse_to_dense
    name=name)
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\ops\sparse_ops.py", line 791, in sparse_to_dense
    name=name)
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\ops\gen_sparse_ops.py", line 2401, in _sparse_to_dense
    name=name)
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 787, in _apply_op_helper
    op_def=op_def)
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 3271, in create_op
    op_def=op_def)
  File "C:\Users\asus.11\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 1650, in __init__
    self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access

InvalidArgumentError (see above for traceback): output_shape has incorrect number of elements: 68 should be: 2
     [[Node: output = SparseToDense[T=DT_INT32, Tindices=DT_INT32, validate_indices=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](ToInt32, ToInt32_1, ToInt32_2, bidirectional_rnn/bidirectional_rnn/fw/fw/time)]]

I tried using the same architecture in a different training run, I encountered a different shape error:
InvalidArgumentError (see above for traceback): output_shape has incorrect number of elements: 69 should be: 2
     [[Node: output = SparseToDense[T=DT_INT32, Tindices=DT_INT32, validate_indices=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](ToInt32, ToInt32_1, ToInt32_2, bidirectional_rnn/bidirectional_rnn/fw/fw/time)]]

Apparently, the problem seems to lie in the ctc_beam_search_decoder. Switching to ctc_greedy_decoder doesn't help either. Why is this happening to the predict function?

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Exact command to reproduce

Hi @selcouthlyBlue
Are you using same _input_fn for train and predict? (this is to make sure that they are same)
It is difficult to find out problem from your description. Could you please provide us a small script which reproduce this issue?

I'm using numpy_input_fn for both input_fns. Here's the reproducible example: https://github.com/selcouthlyBlue/ShapeErrorReproduce
Just execute run.py

I have finally figured out the error. The problem actually lies in the way I used sparse_to_dense. Apparently, the order I gave is wrong where the values came first before the shape:
return tf.sparse_to_dense(tf.to_int32(decoded[0].indices),
                              tf.to_int32(decoded[0].values),
                              tf.to_int32(decoded[0].dense_shape),
                              name="output")

The order should be (shape comes first before values):
return tf.sparse_to_dense(tf.to_int32(decoded[0].indices),
                              tf.to_int32(decoded[0].dense_shape),
                              tf.to_int32(decoded[0].values),
                              name="output")

My apologies for thinking it was a bug. It was just me :(

thanks for letting us know.


Please add NetworkInformation.connection API.

Please add NetworkInformation.connection API.
http://davidbcalhoun.com/2010/using-navigator-connection-android/
https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation.connection

This issue was imported from Google Moderator
Moderator votes: +6
Issue added by Torsten W on 2014-07-25
To vote this issue up or down, simply include +1 or -1 in your comment.

Duplicate of #1031.


Justinrlee/marathon lb 1.12.1

Hey @vespian - 1.8.8 would be 1.12.2 (we already have customers using 1.12.1, which is 1.8.4, I think).


feat/analyzer:  NodeLintRegistry#addConstructorReference

The abstract ASTVisitor class has been updated to allow the visitation of ConstructorReference s. However the NodeLintRegistry does not yet allow registering ConstructorReference to be processed.
Creating this issue to track work for the implementation of NodeLintRegistry#addConstructorReference

Fixed


Closest to max

A nice feature might be showing which units are closest to being maxed, as a percentage of their current level.
It might need to display both, closest to maximum rarity and level, as well as unit closest to awakening.


zsh: command not found: rojo

Got a new Mac with the M1 processor. Successfully installed foreman and did forman install and it seemed to work installing Rojo. However, if I then run rojo, I get:
zsh: command not found: rojo

Not sure why it's not picking it up; if I look in the foreman/tools folder in home, I can see she did install it. Any hints?

same here, any way to fix this or debug?

Do you have ~/.foreman/bin added to your PATH? You'll need to restart your shell after doing so, too.
This isn't zsh specific.

Yep, not zsh specific.
Thanks for pointing that out. I was indeed missing it from PATH.
I added it to ~/.bash_profile
export PATH="/usr/local/bin:$HOME/.yarn/bin:~/.foreman/bin:$PATH"
Now it works.

I'll close this as it has been resolved and that we'll track improvements regarding that in #28


Maintainers wanted

I could use a little help maintaining this module, as I'm unfortunately quite busy with other things.
Any help is appreciated, I'd like to see the module being kept up with new developments on the InfluxDB API side and best practices revolving around them. If you'd like to help, please get in touch.

@fhemberger I can help.  I think you already made me a collaborator, no?
Are there specific changes or improvements you would like to see made to the module?  There are currently 4 issues open.  My team has actually been working on the oldest of them, and may have a PR out soon. We filed two others, both of which we may work on in the near future.  Maybe file issues for any other changes or improvements you would like to make?

@AlecHFerguson Yes, I invited you (but you still have to confirm) ;)
It's basically that I haven't been using InfluxDB in client projects lately, so I'm a bit out of touch and cautious about accepting change requests – I don't want to break the library for people like you, who are already using it. So it would be good to have someone with more experience on board to see if proposed changes make sense, follow InfluxDB's best practices and don't introduce breaking changes by accident (i.e. without explicit major version change on the module).

Confirmed 👍
I wouldn't consider myself an "expert" on InfluxDB, per se; but my company uses it a lot, so there are several experts I can turn to for advice as needed.  I am actively using this module in production, so I'll have a good sense of whether changes are breaking (at least for my usages).
You've seen my contributions, comments on PR's and issues, etc.  Based on that if you'd like me to take a more active role as maintainer then I would be honored.

Closing this issue for now, thanks to @AlecHFerguson and @sfabriece for your help!

After giving it some thought, I decided to re-open this issue:

I stopped using good a long time ago for logging in my own projects and haven't had the chance to work with hapi in general for a while now, so I'd like to hand over the project to someone who is more committed in maintaining it.
The project is considered feature complete, the only greater change I see right now is ensuring its compatibility with good's recent adaption of the async/await pattern.
So if anyone is interested, I'd be more than grateful to see this project thriving in a new home.


DefaultProps Warning

Greetings,
Is there a solution to solve this warning or a new version to the package?
Currently, I'm using the LineChart, BarChart and all the wrapping components like Card, Col, Title, ...

+1, I'm seeing this error when using Bar charts on a new NextJS project.

Hey there, it's an issue over at Recharts but the team is behind it. We will update as soon as an update is released.

Hijacking this for a plug - Recharts needs more contributors/help if anyone over here wants to contribute :)

Should be resolved in 2.8.0

I can confirm that this error is no longer showing for me after doing npm update. Thanks @ckifer !

Just an update, the warning is back, but I see @ckifer already working on a fix.

Its probably a different component. There are a few components we can't fix yet due to unfortunate legacy implementation details of recharts. Known issue and close to the top of the list of things to fix though!


[develop] CI

TravisCI, CircleCI, GitLab...?
Should it run the tests in Tests to get started?

I have not tried any of those. I guess it could run "stack test" for instance, then it would run any tests that we add to the cabal file (like QuickCheck) in the future

Yes. https://docs.travis-ci.com/user/languages/haskell/ seems fairly straightforward but not sure if it supports ghc > 8.

that would be great!

I'll see if the basic config file works with the tests: https://github.com/dabcoder/stocks/blob/dabcoder/ci/.travis.yml. To be continued...

Build passed: https://travis-ci.org/dabcoder/stocks/builds/389428931#


Billing Agreements V2

I am trying to create an billing-agreement using your library, but all requests for addresses  (/v2/payments/billing-agreements/) give a 404 error. There is no description of the version 2 of payments API in the documentation, are you sure that the path is correct ?

@mindpowerdev agree, we fixed this in new version


missing method AppendRecords using Readme.md example code

Update:
I have submitted the worlds smallest PR that fixes the Readme example to compile.
Go 1.15.6 (maybe Go used to compile the example code in older versions???)
I got this issue with both DuckDns and Cloudflare, trying to use the example from the Readme.
My apologies if this is a mistake on my end.
What version of the package are you using?
github.com/caddyserver/certmagic v0.12.0
github.com/libdns/duckdns v0.0.0-20201229185916-cd405ff644b9
github.com/libdns/cloudflare v0.0.0-20200528144945-97886e7873b1
<EMAIL_ADDRESS>What are you trying to do?
Use certmagic example from Certmagic readme:
import "github.com/libdns/cloudflare"

certmagic.DefaultACME.DNS01Solver = &certmagic.DNS01Solver{
	DNSProvider: cloudflare.Provider{
		APIToken: "topsecret",
	},
}

This code results in this error:
cannot use (cloudflare.Provider literal) (value of type cloudflare.Provider) as certmagic.ACMEDNSProvider value in struct literal: missing method AppendRecords (AppendRecords has pointer receiver)compiler
What steps did you take?
Just tried to compile example from Readme.md
I tried 'go get' all the related packages to update them.
I also tried 'go get -u' to see if that helped.
I looked for an issue with AppendRecords at libdns/libdns.
I can see the diff between the signatures, but not sure how to fix the issue.
What did you expect to happen, and what actually happened instead?
I expected the code to compile without errors.
How do you think this should be fixed?
I am not clear what the solution is.
Bonus: What do you use CertMagic for, and do you find it useful?
I'm using Certmagic as part of an SFU for WebRTC. Certmagic certainly rocks!
[I also used it once to add SSL/TLS/HTTP to a WAMP server

(Thanks for the PR.) Indeed, this is a mistake, it should be a pointer because it has a mutex.


Cassandra peers

Implements the Cassandra peers rewriting transform

Using regex like that will result in false positives.
Also there is a bunch of things that are a bit wonky given shotovers current design, but resolving them doesnt make sense given the upcoming message details redesign.
Are you fine with putting this on hold until the message details redesign is finished or maybe at least until https://github.com/shotover/shotover-proxy/pull/508 lands

I can leave it on hold until the message details rewrite.

So what is the actual use case of this transform?
My current understanding is:
RewriteConfig::Port

There is a shotover instance in front of every instance of cassandra

The paired cassandra and shotover instances are on the same IP address
Shotover is always on a specific port
Cassandra is always on a specific port

We want to force the application to always send messages to shotover instead of going directly to cassandra instances.

RewriteConfig::EmulateSingleNode
I'm not sure what this is for?
I guess its to do with https://github.com/shotover/shotover-proxy/issues/208#issuecomment-925482470
But it feels like only part of a solution, dont we now need to handle cassandra routing in shotover itself?
Is this correct? Anything I missed?
Is it possible to write integration tests that actually test these use cases?

Hmm true, it seems the port rewriting would handle that. BTW Cassandra will handle the routing in that case, it will forward requests to the right node.

BTW Cassandra will handle the routing in that case though, it will forward requests to the right node.

Oh I see. Thats different to redis where the node reports that you should requery against a different node via MOVED.
So what purpose does the cassandra peers table serve?
Is the idea that the client should hit a random node each time and then that node will fetch the actual data from the correct node for you?

No, the peers table provides you will a least of peers and their tokens, if you have the token information you can hit the correct node to get the data faster. If you don't have the tokens, you can hit any node and that node will request the data from the node that has it, retrieve it and then send it back to you.
That said, I'm not sure why you would want to emulate a single node instead of just using the port rewrite, since you would lose the ability to do token aware routing. I think Ben intended it to be used with a case where Shotover is maintaining connections to a cluster of nodes, not just running as sidecars to a single node each.

Yeah, I believe that was the plan all along, I think I misinterpreted Ben's comment thinking the emulate single node feature was supposed to be used with CassandraSinkSingle. I'll remove it from this PR and we can add it back in when we add Cassandra clustering support.

Alright, sounds good to me

So instead we have a single shotover instance through which everything is routed for this application.
As is this would "just work" due to cassandra internally rerouting to other nodes. But I dont see why we couldnt implement token aware routing within shotover to get back that lost performance?

This

LGTM


Add a Bitdeli Badge to README

Pull request made by @androdevcd at https://bitdeli.com

Add Data Analytics


MoLeR inference server hangs on invalid SMILES

If MoLeRInferenceServer receives an invalid SMILES string (e.g. through molecule_generation encode), it just hangs, likely because the corresponding process failed, and the server ends up waiting for it indefinitely. This is far from ideal.
I see two kinds of behaviour we could aim for instead when encoding receives an invalid molecule:

The top-level process itself also fails with an exception.
The encoding carries on, returning None for the invalid molecules.

If possible, it could be nice to support both by having __init__ accept an fail_on_invalid_smiles: bool flag.

Closing as this has been partially addressed and the hanging no longer occurs.


Lecture 4 slide 56 missing word

Option 5 should say "What do you mean by better?" instead of "What do mean by better?"

Yep, and that may be a little confusing. So 2 points


spec Items (context) is not getting resovled in the reports

If the context has some parameters it should be resolved.

Context parameters are resolves to first row on table execution. Closing the issue.


[BUG] Rancher GitHub release assets and Docker Hub container images are missing for releases v2.8.6, v2.8.7 and v2.8.8

Rancher Server Setup

Rancher version: v2.8.7 and v2.8.8
Installation option (Docker install/Helm Chart):

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): Docker install

Information about the Cluster

Kubernetes version: v1.28.13
Cluster Type (Local/Downstream):

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): Custom RKE

Describe the bug
The Rancher container images v2.8.6, v2.8.7 and v2.8.8 are missing on the Docker Hub
To Reproduce
docker pull rancher/rancher:v2.8.6
docker pull rancher/rancher:v2.8.7
docker pull rancher/rancher:v2.8.8

Result
[root@myvm ~]# docker pull rancher/rancher:v2.8.6
Error response from daemon: manifest for rancher/rancher:v2.8.6 not found: manifest unknown: manifest unknown
[root@myvm ~]# docker pull rancher/rancher:v2.8.7
Error response from daemon: manifest for rancher/rancher:v2.8.7 not found: manifest unknown: manifest unknown
[root@myvm ~]# docker pull rancher/rancher:v2.8.8
Error response from daemon: manifest for rancher/rancher:v2.8.8 not found: manifest unknown: manifest unknown

Expected Result
I should be able to pull these Rancher v2.8.[6-8] container images from the Docker Hub.
Screenshots

https://github.com/rancher/rancher/releases/tag/v2.8.8

https://github.com/rancher/rancher/releases/tag/v2.8.7

https://github.com/rancher/rancher/releases/tag/v2.8.6

Also, the assets of the GitHub releases are only containing the source code:
https://github.com/rancher/rancher/releases/tag/v2.8.8

https://github.com/rancher/rancher/releases/tag/v2.8.7

https://github.com/rancher/rancher/releases/tag/v2.8.6

In v2.8.5 there are many assets:

Duplicate of the following tickets...why do we need to pay now for patch releases, where the community most likely reported the bugs?
Duplicate of #46562
Duplicate of #46614

See
https://www.suse.com/support/kb/doc/?id=000021405
https://www.rancher.com/products/rancher-platform
https://www.suse.com/support/rancher-prime/


Search errors with blank kw param

/search?kw=foobar works just fine, but /search or /search?foo=bar etc does not because kw is blank:
A NoMethodError occurred in search#index:

  undefined method `gsub' for nil:NilClass
  app/models/search.rb:7:in `initialize'

It should just return an empty search result.

can I take this one?


Add Robocop version report

Hi,
it would be helpful for test developers and DevOps staff to know from reports the actual RoboCop version used. Sometimes experienced a mismatch between setups which gave differences in results.
Regards,
Risto

Thanks for the PR - it looks good and useful!


Readiness probe fails on v1.2.0-rc2 and AAD-Pod-ID v1.5.5.

Describe the bug
In this case I am deploying version AGIC v1.2.0-rc2 with AAD-Pod-ID Version 1.5.5. The same applies for v1.2.0-rc1.
kubectl get podsproves that the AGIC pod is not-ready, but running:
NAME                             READY   STATUS    RESTARTS   AGE
ingress-azure-66588c7cb7-lwzj6   0/1     Running   1          11m
mic-854fbd894b-r6sd7             1/1     Running   0          25m
mic-854fbd894b-rqmfw             1/1     Running   0          25m
nmi-cqh47                        1/1     Running   0          25m
test-agic-app-pod                1/1     Running   0          4m45s

This is because the readiness probe fails, which will be clearer in the log output below.
To Reproduce

Create private AKS cluster version 1.16.8 with RBAC.
Deploy App Gateway in the same VNet as AKS cluster, but separate subnet.
Deploy AAD-Pod-ID v1.5.5
Deploy AGIC v.1.2.0-rc2

Ingress Controller details

Output of kubectl describe pod <ingress controller> . The  pod name can be obtained by running helm list.

Name:         ingress-azure-66588c7cb7-lwzj6
Namespace:    default
Priority:     0
Node:         aks-pool1-22945173-vmss000000/<IP_ADDRESS>
Start Time:   Fri, 05 Jun 2020 08:30:59 +0000
Labels:       aadpodidbinding=ingress-azure
              app=ingress-azure
              pod-template-hash=66588c7cb7
              release=ingress-azure
Annotations:  checksum/config: 88f293dfc1870483bf2e58fad788de8715f4749a673a7d56103aca5348f7bd39
              prometheus.io/port: 8123
              prometheus.io/scrape: true
Status:       Running
IP:           <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/ingress-azure-66588c7cb7
Containers:
  ingress-azure:
    Container ID:   docker://c70c438cf01e42e2d26bb0348c99ea555efff80fc8220879645190b43610de0a
    Image:          mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.2.0-rc2
    Image ID:       docker-pullable://mcr.microsoft.com/azure-application-gateway/kubernetes-ingress@sha256:c1ba4ef96f7d6b31f4c7a4e524253b50480c4933e414f4b2763e13be6b5c29de
    Port:           <none>
    Host Port:      <none>
    State:          Running
      Started:      Fri, 05 Jun 2020 08:51:53 +0000
    Last State:     Terminated
      Reason:       Error
      Exit Code:    255
      Started:      Fri, 05 Jun 2020 08:41:39 +0000
      Finished:     Fri, 05 Jun 2020 08:51:51 +0000
    Ready:          False
    Restart Count:  2
    Liveness:       http-get http://:8123/health/alive delay=15s timeout=1s period=20s #success=1 #failure=3
    Readiness:      http-get http://:8123/health/ready delay=5s timeout=1s period=10s #success=1 #failure=3
    Environment Variables from:
      ingress-azure  ConfigMap  Optional: false
    Environment:
      AZURE_CLOUD_PROVIDER_LOCATION:  /etc/appgw/azure.json
      AGIC_POD_NAME:                  ingress-azure-66588c7cb7-lwzj6 (v1:metadata.name)
      AGIC_POD_NAMESPACE:             default (v1:metadata.namespace)
    Mounts:
      /etc/appgw/azure.json from azure (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from ingress-azure-token-h8k52 (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  azure:
    Type:          HostPath (bare host directory volume)
    Path:          /etc/kubernetes/azure.json
    HostPathType:  File
  ingress-azure-token-h8k52:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  ingress-azure-token-h8k52
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type     Reason     Age                    From                                    Message
  ----     ------     ----                   ----                                    -------
  Normal   Scheduled  <unknown>              default-scheduler                       Successfully assigned default/ingress-azure-66588c7cb7-lwzj6 to aks-pool1-22945173-vmss000000
  Normal   Pulling    24m                    kubelet, aks-pool1-22945173-vmss000000  Pulling image "mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.2.0-rc2"
  Normal   Pulled     24m                    kubelet, aks-pool1-22945173-vmss000000  Successfully pulled image "mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.2.0-rc2"
  Normal   Created    24m                    kubelet, aks-pool1-22945173-vmss000000  Created container ingress-azure
  Normal   Started    24m                    kubelet, aks-pool1-22945173-vmss000000  Started container ingress-azure
  Warning  Unhealthy  4m56s (x117 over 24m)  kubelet, aks-pool1-22945173-vmss000000  Readiness probe failed: Get http://<IP_ADDRESS>:8123/health/ready: net/http: request canceled (Client.Timeout exceeded while awaiting headers)

Output of `kubectl logs .

ERROR: logging before flag.Parse: I0605 08:51:53.033340       1 utils.go:111] Using verbosity level 5 from environment variable APPGW_VERBOSITY_LEVEL
I0605 08:51:53.068933       1 environment.go:230] KUBERNETES_WATCHNAMESPACE is not set. Watching all available namespaces.
I0605 08:51:53.069068       1 main.go:125] App Gateway Details: Subscription: f831c078-addf-47a4-a79a-d09d882e86ac, Resource Group: rg-safe-sec-dev-aks-001, Name: AKSAppGW
I0605 08:51:53.069078       1 auth.go:46] Creating authorizer from Azure Managed Service Identity
I0605 08:51:53.069133       1 httpserver.go:57] Starting API Server on :8123

Any Azure support tickets associated with this issue.

After updating to the latest version of AAD-Pod-ID the ingress pod is now ready. Will close the issue accordingly.


chore: merge main into cdp branch

Closes: https://linear.app/customerio/issue/MBL-90/merge-automatic-click-handling-feature-into-cdp-branch
This PR is the result of merging main into main-replica-for-cdp and fixing everything. I got the code to compile, test suite to pass, and sample apps to compile.
How to review
Most of the code in this PR is a boring git merge diff. All the code in this PR has already been reviewed since all code is in main or main-replica-for-cdp.
So, to make the review process fast, I left comments in this PR for files that I find important to get a review on. All other files without a comment are considered boilerplate.
Not in scope of this PR

CI status checks for Lint and Cocoapods sample app. This is because main-replica-for-cdp also fails these 2 checks at the moment.

Notes
After this PR gets approved, I will merge (not squash) this PR. It's important that all of the git commits in this PR are merged into main-replica-for-cdp to keep the main commit history. If you squash this PR, we lose some of those commits.

After the latest merge of main-replica-cdp into this branch, the automated tests are now failing. Looking at main-replica-cdp, they are failing, too.


Disable on validation error and adding loader!

@leon-fw No I wouldn't think so! The validation should be fine!


[Feature request] TLS 1.3

Azure TLS seems to use TLS 1.2 which is fine since a majority of the web uses it, but most modern browsers are using TLS 1.3. Ja3 signatures from newer browsers cause errors as azuretls doesn't support it. I am requesting TLS 1.3 as it is newer, more efficient, safer, and would provide a higher reputation when connecting through sites like cloudflare

Hi, I'm currently using wireshark, and it's on TLSv1.3, do you have a screen to display TLSv1.2?

That's odd, maybe TLS1.3 is supported but spoofing HTTP2 to a client of TLS1.3 fails,
Here is Firefox using TLS1.3
session := azuretls.NewSession()
	defer session.Close()

	err := session.ApplyJa3("771,4865-4867-4866-49195-49199-52393-52392-49196-49200-49162-49161-49171-49172-156-157-47-53,0-23-65281-10-11-16-5-34-51-43-13-45-28-65037-41,29-23-24-25-256-257,0", azuretls.Firefox)
	if err != nil {
		log.Fatal(err)
		return
	}

	err = session.ApplyHTTP2("1:65536,4:131072,5:16384|12517377|3:0:0:201,5:0:0:101,7:0:0:1,9:0:7:1,11:0:3:1,13:0:0:241|m,p,a,s")
	if err != nil {
		log.Fatal(err)
		return
	}

	response, err := session.Get("https://tls.peet.ws/api/all")

	if err != nil {
		fmt.Println(err)
	} else {
		fmt.Println(response.StatusCode, string(response.Body))
	}

It outputs: remote error: tls: unexpected message
Meanwhile here is Firefox using TLS1.2 (I am forcing it by adjusting the security.tls.version.max flag in about:config)
session := azuretls.NewSession()
	defer session.Close()

	err := session.ApplyJa3("771,49195-49199-52393-52392-49196-49200-49162-49161-49171-49172-156-157-47-53,0-23-65281-10-11-35-16-5-13-28,29-23-24-25,0", azuretls.Firefox)
	if err != nil {
		log.Fatal(err)
		return
	}

	err = session.ApplyHTTP2("1:65536,4:131072,5:16384|12517377|3:0:0:201,5:0:0:101,7:0:0:1,9:0:7:1,11:0:3:1,13:0:0:241|m,p,a,s")
	if err != nil {
		log.Fatal(err)
		return
	}

	response, err := session.Get("https://tls.peet.ws/api/all")

	if err != nil {
		fmt.Println(err)
	} else {
		fmt.Println(response.StatusCode, string(response.Body))
	}```

The request completes successfully.

Clicked the wrong button by accident.

For the first JA3, this doesn't work because, in the extension part, you've put the extension number 41 which is used to resume the TLS connection. Since you want a completely new TLS connection, you need to remove this extension: I've tested it and it establishes the connection with TLSv1.3.
Here is the JA3:
771,4865-4867-4866-49195-49199-52393-52392-49196-49200-49162-49161-49171-49172-156-157-47-53,0-23-65281-10-11-16-5-34-51-43-13-45-28-65037,29-23-24-25-256-257,0

I can't seem to find a 41 in the original string, did you mistype the number?

Btw, the new JA3 you provided me produces a different ja3 hash, which kind of beats the point of spoofing it. Any workarounds?

771,4865-4867-4866-49195-49199-52393-52392-49196-49200-49162-49161-49171-49172-156-157-47-53,0-23-65281-10-11-16-5-34-51-43-13-45-28-65037-41,29-23-24-25-256-257,0

I can't seem to find a 41 in the original string, did you mistype the number?

Try to close and restart your firefox, and go to https://tls.peet.ws/api/all, you will see that 41 won't be there

Okay, I see now thanks for clarifying the issue. It seems that the hashes now match.

I just noticed an issue.
connecting to https://tls.peet.ws/api/all with the JA3 you gave me works, but trying to connect to https://www.cloudflare.com/cdn-cgi/trace outputs tls: error decoding message. Could this be due to a missing cipher suite in go?

Could you give me a code example, I can't reproduce this behavior on my side

	defer session.Close()

	err := session.ApplyJa3("771,4865-4867-4866-49195-49199-52393-52392-49196-49200-49162-49161-49171-49172-156-157-47-53,0-23-65281-10-11-16-5-34-51-43-13-45-28-65037,29-23-24-25-256-257,0", azuretls.Firefox)
	if err != nil {
		log.Fatal(err)
		return
	}

	err = session.ApplyHTTP2("1:65536,4:131072,5:16384|12517377|3:0:0:201,5:0:0:101,7:0:0:1,9:0:7:1,11:0:3:1,13:0:0:241|m,p,a,s")
	if err != nil {
		log.Fatal(err)
		return
	}

	response, err := session.Get("https://www.cloudflare.com/cdn-cgi/trace")

	if err != nil {
		fmt.Println(err)
	} else {
		fmt.Println(response.StatusCode, string(response.Body))
	}```

Using TLS1.3

If you change the cloudflare link to https://tls.peet.ws/api/all it works, might have something to do with server cipher suites not sure.

Thanks for sharing, this will be fixed.


Increasing retries from 4 to 6 for error reporting system test.

Some recent failures:

https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/1901
https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/1906
https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/1907
https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/1924

/cc @waprin

Well this is fun. The build this merge spawned still failed:
https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/1931
@waprin Any ideas?


fix the function name for add/update/delete events on assumed or bound pods in scheduler

For assumed/bound pods, during add, update, and delete events, they do not enter the scheduler queue but instead trigger the AssignedPodAdded function. If, due to pod affinity-related reasons, a pod in the unschedulable queue becomes schedulable, then this unschedulable pod can be moved from the unschedulable queue to the ready or backoff queue for scheduling retries.
Therefore, the current naming of addAssumedOrBoundPodToQueue/updateAssumedOrBoundPodInQueue/deleteAssumedOrBoundPodInQueue is ambiguous, because the pod is not actually added to the scheduler queue, but triggers an update from the unschedulable queue to the ready/backoff queue. Hence, the functions are renamed to triggerQueueOnAssumedOrBoundPodAdd/triggerQueueOnAssumedOrBoundPodUpdate/triggerQueueOnAssumedOrBoundPodDelete.

@zryfish two checks are still red, please take a look

@yuey002  Please rebase the code to the main branch, and push again

@NickrenREN All CI checks have passed. Could you help merge this MR when getting a chance? Thank you.

@yuey002 sure, merged, thanks for this fix


provide config to disable open ended stashes

I would like a way to disable the indefinite stash feature.  I don't want users to be able to create a stash without any end time.

This feature has been introduced via https://github.com/sensu/uchiwa-web/pull/117 and will be included in the 0.20 release!


New command: aad group recyclebinitem clear

Usage
m365 aad group recyclebinitem clear [options]
Description
Removes all groups from the tenant recycle bin
Options

Option
Description

--type [type]
Remove only groups of a given type: microsoft365, security, distribution, mailEnabledSecurity. By default, all groups are removed.

-f, --force
Don't prompt for confirmation.

Examples
Removes all groups from the tenant recycle bin
m365 aad group recyclebinitem clear

Removes all security groups from the tenant recycle bin
m365 aad group recyclebinitem clear --type security

Default properties
No response
Additional Info
Remarks for docs
Needed roles to run this command: Groups Administrator, User Administrator, Privileged Role Administrator, or Global Administrator
Remarks for development
Let's use Graph batching to remove all groups performantly.
Curious if we can use the same filters for type as we do in #5424.
https://learn.microsoft.com/en-us/graph/api/directory-deleteditems-delete?view=graph-rest-1.0&tabs=http

Yes please!

@milanholemans Regarding the parameter type, I've noticed that when I remove either a security group, a distribution or a mailEnabledSecurity group, the group won't appear in the recycle bin but will be removed immediately.
More information from MS can be found at the following URL: https://learn.microsoft.com/en-us/azure/active-directory/enterprise-users/groups-restore-deleted

Aw that sucks, that's the price I pay for creating issues late at night. Totally overlooked that, thank you for the heads-up @MathijsVerbeeck.
Because these recyclebin commands already exist for aad m365group commands, I fear that we have to close these issues because they have no use under the aad group umbrella.


iOS's NativeMessageHandler ignores MaxRequestContentBufferSize

Hi,
The original HttpClientHandler uses the value in MaxRequestContentBufferSize and buffers streaming of files from disk to the network, without loading the entire file into memory.
This is a must when dealing with large files.
ModernHttpClient's NativeMessageHandler loads the entire file into memory. You can see this in the SendAsync method (line 115):
if (request.Content != null) {
     await request.Content.CopyToAsync(ms).ConfigureAwait(false);
     headers = headers.Union(request.Content.Headers).ToArray();
}

Uploading large files is not possible - it causes the OS to get into memory stress.
The handler should stream the content from the Content object instead of reading it to memory.

Is there any update on this issue?


new "Index dependency metadata by when spec" breaks 'depends'

In https://github.com/spack/spack/commit/6542c94cc1e0cdb5f8c61936c78b74c46d7b6c01, the current dependency dictionary structure has been converted from this:
{ name: { when_spec: [Dependency ...] } }

to this:
{ when_spec: { name: [Dependency ...] } }

This breaks nixpack
spack-repo.nix> + /home/bguibert/nix/store/jhrdz3rsaikgnz569my5zy7x84ggl7pn-python3-3.10.12/bin/python3 /home/bguibert/nix/store/0gvivkzyh5i2248f9lfxpnfbw062vdyi-generate.py
spack-repo.nix> Generating package repo for nixpack-pkgs, hpcw, bench, cbm2, builtin, builtin...
spack-repo.nix> Traceback (most recent call last):
spack-repo.nix>   File "/home/bguibert/nix/store/0gvivkzyh5i2248f9lfxpnfbw062vdyi-generate.py", line 357, in <module>
spack-repo.nix>     desc['depends'] = {n: depend(p, d) for n, d in p.dependencies.items()}
spack-repo.nix>   File "/home/bguibert/nix/store/0gvivkzyh5i2248f9lfxpnfbw062vdyi-generate.py", line 357, in <dictcomp>
spack-repo.nix>     desc['depends'] = {n: depend(p, d) for n, d in p.dependencies.items()}
spack-repo.nix>   File "/home/bguibert/nix/store/0gvivkzyh5i2248f9lfxpnfbw062vdyi-generate.py", line 321, in depend
spack-repo.nix>     c = [whenCondition(p, w, depPrefs(s), s) for w, s in sorted(d.items())]
spack-repo.nix>   File "/home/bguibert/nix/store/0gvivkzyh5i2248f9lfxpnfbw062vdyi-generate.py", line 321, in <listcomp>
spack-repo.nix>     c = [whenCondition(p, w, depPrefs(s), s) for w, s in sorted(d.items())]
spack-repo.nix>   File "/home/bguibert/nix/store/0gvivkzyh5i2248f9lfxpnfbw062vdyi-generate.py", line 272, in whenCondition
spack-repo.nix>     conditions(c, p, s, dep)
spack-repo.nix>   File "/home/bguibert/nix/store/0gvivkzyh5i2248f9lfxpnfbw062vdyi-generate.py", line 264, in conditions
spack-repo.nix>     if s.name is not None and s.name != p.name:
spack-repo.nix> AttributeError: 'str' object has no attribute 'name'

The commit fixes this issue.
@dylex, can we close this?

Yeah, I don't really love this fix using dependencies_by_name because it's rather inefficient, but hopefully will get around to doing it better at some point.


Fix a mixup between male and female last names in Icelandic.

Last names for females usually end in "dóttir", meaning "daughter".
Last names for males usually end in "son".
See: https://en.wikipedia.org/wiki/Icelandic_name#Typical_Icelandic_naming

Indeed, mistake introduced in https://github.com/fzaninotto/Faker/pull/114/files#diff-2bb60c1a0d17a1e6ff6c646fc914f3be (page slow to load).

Thanks!


Add workgroup_size to WGSL code sample

This CL adds new and required workgroup_size decoration to WGSL code sample.
I've updated samples as well.
@Kangz PTAL

@petele Please merge and push live once @Kangz has reviewed.


By default, have job listing sorted by A-Z

On jobs page, have the jobs listing sorted by A-Z instead of by company

If a location filter is specified, it now sorts jobs w/o a position last.
By default, sort by Position Title, then by Organization Name in alpha order.
Drop-down allows user to sort by Organization Name and then Position Title if they want.


fine grained list change handling using child_added, child_removed and child_changed

currently AfoListObservable processes all the list items for any single item added/deleted/updated which triggers also whole list updates to local storage. Firebase child_* events could be used/propagated to have fine grained control on the list item changes.

For info, related to this feature request
https://github.com/angular/angularfire2/issues/1158

ngrx integration - wow, thanks so much for sharing!


Add newer open source projects to Ozzie

Fixes issue #11

I noticed we haven't added LaravelTricks yet either. Should we consider that as well?

@darkboywonder I think Ozzie is meant to monitor our open source packages. Laravel Tricks is a private repo.

Yah, @darkboywonder, the moment we do a thorough scrub of Laravel Tricks to make sure it's OK to put it public, we should get it on here.

Thanks @josecanhelp!


Add CONTRIBUTING.md that includes styles

Background
We currently don't keep track of style decisions that we are using in this codebase, for example, no lenses, or a preference for qualified imports.
Proposed Solution
We should create a contributing document that keeps track of these explicit style choices and can then be referenced during review.

Should this document include general guidelines like a "boy scout rule" whereby we should always try to piggyback small improvements like adding comments to undocumented functions, improving existing comments, etc?

"Leave cardano-ledger a little better than you found it" - Robert Baden-Powell

Another thing to address: short names vs. long names. When it is appropriate to use one or the other. I thought I was the only one using short names in cardano-ledger but I've seen other people using them in some places, so I wonder what's the rule of thumb. It'd be nice to have this either in the CONTRIBUTING document, or in a style guide linked from CONTRIBUTING.

Maybe also for the style guide: when appropriate design your module to be used qualified. This shortens the identifier names. E.g. instead of:
module Registration ( ... ) where

data RegistrationError = RegistrationFoo ...
                       | RegistrationBar ...

we can have:
module Registration ( ... ) where

data Error = Foo ...
           | Bar ...

And at the usage site:
import qualified Registration

... Registration.Error ...
... Registration.Foo ...


upgrade commons-beanutils

https://issues.apache.org/jira/browse/CONNECTORS-1714

maven build in travis failing due to tika appearing to use the wrong commons-io jar - not sure if this is somehow related to the PR change

Introducing a single dependency change for the alfresco connector in a pom is insufficient to address this issue, since Maven is not the primary build platform for ManifoldCF - ant is.  You will need to address this change in build.xml and the root pom, if indeed common-beans is included there (it may not be).
Github is a mirror of the main svn repository for manifoldcf also, but I can extract a patch from it.


Activate/use Font Awesome

Hello,
I noticed that font-awesome are packed with the theme, however, I can not use it with the theme. Do I need to activate anything?
I tried to import  plugins/font-awesome.min at critical.scss and non-critical.scss, but no luck.
Thanks

Experiencing the same problem. I tried to copy a shortcodes from hugo-scroll, but so far no success.


crawlTiles: 0.28.0 -> 0.29.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/crawl/crawl/releases.
meta.description for crawlTiles is: "Open-source, single-player, role-playing roguelike game"
meta.homepage for crawlTiles is: "http://crawl.develz.org/"
meta.changelog for crawlTiles is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.29.0 with grep in /nix/store/s11hhgry5h2v8d76cph7dakjgib8a3v5-crawl-tiles-0.29.0
found 0.29.0 in filename of file in /nix/store/s11hhgry5h2v8d76cph7dakjgib8a3v5-crawl-tiles-0.29.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
crawl
crawlTiles

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/s11hhgry5h2v8d76cph7dakjgib8a3v5-crawl-tiles-0.29.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A crawlTiles https://github.com/r-ryantm/nixpkgs/archive/249dfd092cfcfe2dc991a433750ab5f5ae94a7e2.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/s11hhgry5h2v8d76cph7dakjgib8a3v5-crawl-tiles-0.29.0
ls -la /nix/store/s11hhgry5h2v8d76cph7dakjgib8a3v5-crawl-tiles-0.29.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

crawl
crawlTiles

Maintainer pings
cc @abbradar for testing.

Result of nixpkgs-review pr 188149 run on x86_64-linux 1

2 packages built:

crawl
crawlTiles


Updated validations.py python script by Farhan

Updated validations.py python script
Fixed the behavior of validate_user function in validations.py
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!


UnobservedTaskException caused by StreamingHueClient.AutoUpdate

The AutoUpdate method in StreamingHueClient creates an internal Task, which is never awaited. As the call to Send inside of it can, under some circumstances, throw an exception (e.g. after calling Close), it's possible to get an unobserved task exception from TaskScheduler.UnobservedTaskException.
Would it be possible to return the internal Task object from AutoUpdate, so it can be awaited and any exceptions observed?
https://github.com/Q42/Q42.HueApi/blob/d911b75fd40ad44a65b920b085a7a7482064199f/src/Q42.HueApi.Streaming/StreamingHueClient.cs#L100

Ok, I made a change to return the task. You can await it, but it will keep running forever until the AutoUpdate is cancelled.

Perfect, thank you!


Add React 16 as possible peer dependency

While this is a fix, is there a better long term solution? Because this will need to be done for every future release and it would be great to see this just keep working.

@merlinpatt you can use * to match any version. While that's fine to do in your own package/fork if you'd like, I doubt a public package would be published with that since major versions can often break things so it's pretty common for packages like this to have to test and manually upgrade dependencies to make sure they work.


yaml: migrate unmarshalValidate in from sg/sg

This will shortly have corresponding PRs in sourcegraph/sourcegraph and src-cli, but can be reviewed in advance. (And, indeed, doing so will make it easier to merge those PRs later, since we can't put the final go.mod changes into them until this repo is updated.)
Closes sourcegraph/sourcegraph#14249.

Will this also fix that we don't properly validate campaign specs in src-cli before we send it up to the server?

Yep! At least to the extent that they'll now have the same behaviour, which is better than the mishmash we had before.


ibft: Invalid block header: timestamp<PHONE_NUMBER> is only 3 seconds newer than parent timestamp<PHONE_NUMBER>. Minimum 4 seconds

Hi, i need some help to find a issue. so to summarize i had a client IBFT with custom hardfork the blockchain as been work with version 1.4 for quite some time and recently i upgraded to version 21.1.3 of besu.
All works fine but recently i started a new node and importing the current blockchain. By problem here is this:
11:35:41.821+00:00 | EthScheduler-Workers-3 | INFO | TimestampMoreRecentThanParent | Invalid block header: timestamp<PHONE_NUMBER> is only 3 seconds newer than parent timestamp<PHONE_NUMBER>. Minimum 4 seconds 2021-09-16 11:35:41.821+00:00 | EthScheduler-Workers-3 | DEBUG | GetBlockFromPeerTask | Downloading block 0xadbe5ff60e90a91ddb4d5e7d3864954eb7eb54b6a04fe0e5d93e2567dde0a6a6 from peer 0x5e4dcaa4d15b2b386b.... 2021-09-16 11:35:41.821+00:00 | EthScheduler-Workers-3 | DEBUG | GetHeadersFromPeerByHashTask | Requesting 1 headers from peer 0x5e4dcaa4d15b2b386b....
The network mined a block in 3 seconds now i cannot sync from 0 block.
"Invalid block header: timestamp<PHONE_NUMBER> is only 3 seconds newer than parent timestamp<PHONE_NUMBER>. Minimum 4 seconds"
In debug mode the validation is hit here:

Description
As a developer i need to know how i can solve this, what any tools we have to fix this issue.
Acceptance Criteria
Blocks need to be mined with 4s and not 3s
Versions (Add all that apply)

Software version: [besu --version]
21.1.3

Java version: [java -version]
openjdk version "13.0.2" 2020-01-14
OpenJDK Runtime Environment AdoptOpenJDK (build 13.0.2+8)
Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.18.0, JRE 13 Linux amd64-64-Bit Compressed References 20200117_151 (JIT enabled, AOT enabled)
OpenJ9   - 6968c18d7
OMR      - 7a1b0239a
JCL      - 9c5a41bd5f based on jdk-13.0.2+8)

OS Name & Version: [cat /etc/*release]
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.3 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

Additional Information
block: 1419661
hash: 0xadbe5ff60e90a91ddb4d5e7d3864954eb7eb54b6a04fe0e5d93e2567dde0a6a6
timestamp:<PHONE_NUMBER>
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"number": "0x15a98d",
"hash": "0xadbe5ff60e90a91ddb4d5e7d3864954eb7eb54b6a04fe0e5d93e2567dde0a6a6",
"mixHash": "0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365",
"parentHash": "0xd5a4f1a6953283b9c8dd1f4e1f6eca7109b5a1b64332af6213feebc9b5b45c4b",
"nonce": "0x0000000000000000",
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"stateRoot": "0xb721553f8f0bd31881a223405ff24037bbbf851dd6362fbc37ef96a40f8a51ea",
"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"miner": "0x3a6c955f61a3b44306591c64cd222d227af0d8d2",
"difficulty": "0x1",
"totalDifficulty": "0x15a98e",
"extraData": "0xf90148a00000000000000000000000000000000000000000000000000000000000000000f854943a6c955f61a3b44306591c64cd222d227af0d8d294b27882d2f4f881863af1e747a240fec26a7bda7c94e2e3868c7232446eca668d9249c90f4e4135234c94f2084fcf38580f43433f15189095f6957ebd5d51808400000000f8c9b8418995e7dd96d1080428970257c412ba26b30ae5faf9a059a9482b2f538c346d4e2cb10b9ba02605f9990da2409db5e28ae508d7318d023bdd90bc21deace5f81500b8412d44479745b11b19fa5c54bdc678586e24f40304cb6df69ca843532fa282f4fd39781d5a3546f19173fee2bee674f6c5bc861ff66f8368b3dc9ffde6558ada2d00b8413b03c1a2adf94515ba2d5aff53ec41c752e7505f507ff797ddcfb8e3d6e5edb5768d2b2c4eadfe75595deff8df31f78e2f41bdf3dc0c62bdc193fac22294d0a101",
"size": "0x34c",
"gasLimit": "0x989680",
"gasUsed": "0x0",
"timestamp": "0x608a0d6d",
"uncles": [],
"transactions": []
}
}
parent block: 1419660
hash: 0xd5a4f1a6953283b9c8dd1f4e1f6eca7109b5a1b64332af6213feebc9b5b45c4b
timestamp:<PHONE_NUMBER>
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"number": "0x15a98c",
"hash": "0xd5a4f1a6953283b9c8dd1f4e1f6eca7109b5a1b64332af6213feebc9b5b45c4b",
"mixHash": "0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365",
"parentHash": "0x5f6b3cc63fb43b29f77b5af462e605b1a399ea91a90222122eff6df52b9d0774",
"nonce": "0x0000000000000000",
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"stateRoot": "0xb721553f8f0bd31881a223405ff24037bbbf851dd6362fbc37ef96a40f8a51ea",
"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"miner": "0xf2084fcf38580f43433f15189095f6957ebd5d51",
"difficulty": "0x1",
"totalDifficulty": "0x15a98d",
"extraData": "0xf90148a00000000000000000000000000000000000000000000000000000000000000000f854943a6c955f61a3b44306591c64cd222d227af0d8d294b27882d2f4f881863af1e747a240fec26a7bda7c94e2e3868c7232446eca668d9249c90f4e4135234c94f2084fcf38580f43433f15189095f6957ebd5d51808400000001f8c9b8414ca41882a32213b7ccf62a6a5d95ef048e21a799e3278bddae7688ac3728762d6dd374377e27164dbe9fd41e4edab7aef5b8980f4903f82634c8bd57235dfdb700b8410a3bd5ce69aad22b6f70aae33fa97e4c6015a1717672fe50fcecef8d8f02e14d29e49910133bf48d2ae5ee4bf74db182004e1d0f71628ddf91b5fae7da21097000b841fc0c35a43f649e364f1c3ae8ac9825e54128f38c8464c7052b3ff8e18f18db815a9ab965cbd087b34eebbe20c8355a1a2720b2f086381933e9a3f8daf487347b01",
"size": "0x34c",
"gasLimit": "0x989680",
"gasUsed": "0x0",
"timestamp": "0x608a0d6a",
"uncles": [],
"transactions": []
}
}

The Minimum 4 seconds value comes from the blockperiodseconds value in the genesis. Recommend modifying this value to suit your environment.  https://besu.hyperledger.org/en/stable/HowTo/Configure/Consensus-Protocols/Clique/#genesis-file

The Minimum 4 seconds value comes from the blockperiodseconds value in the genesis. Recommend modifying this value to suit your environment. https://besu.hyperledger.org/en/stable/HowTo/Configure/Consensus-Protocols/Clique/#genesis-file

@macfarla @bgravenorst The suggestion is to put genesis with 3 seconds ??? i don't want that

Hi Helder, The issue arises because your genesis file includes a rule for validating blocks - that they must have a blocktime of minimum 4 seconds, but the chain you are importing has blocks with only 3 seconds between them.
You can't increase blocktime, since this renders previous blocks invalid. Let us know if this is unclear to you from the documentation or if you expect a different result! If not, I'll go ahead and close this ticket.

Hi Helder, The issue arises because your genesis file includes a rule for validating blocks - that they must have a blocktime of minimum 4 seconds, but the chain you are importing has blocks with only 3 seconds between them.
You can't increase blocktime, since this renders previous blocks invalid. Let us know if this is unclear to you from the documentation or if you expect a different result! If not, I'll go ahead and close this ticket.

@vmichalik I know that i can't change the genesis but how i fix this issue?
And i notice the old client don't have this rules for header validation.
(old client)

So my genesis file is the same as other older blocks nothing change only my upgrade of besu from 1.40 to 21.1.3. With the older version i can import the blockchain but with the new i can't.
Why is the reason for create one block in less than 3 seconds and other validators accepted?? exist any issue with difference in timestamps ?
And how i resolve this problem?

Hi @helderjnpinto,
I've been able to reproduce the issue locally and am working on a fix for it.
We have always had this header validation in IBFT. What's interesting is that even though blocks are created with a time difference of less than the block period they aren't rejected as being invalid at the time they are created.

Ok cool @jframe. I will wait for news thanks.

Hey @helderjnpinto, we have a potential solution we are testing and hope to push for your review in the latter half of next week

Hey @helderjnpinto, we have a potential solution we are testing and hope to push for your review in the latter half of next week

Sure i will test when it's here. Thanks!

hey @helderjnpinto,
We have worked out what the underlying issues were. Blocks can on occasion be created too early due to the timer returning too early in some cases. This is largely mitigated in the latest version of Besu by how we determine the block header timestamp.
There is also a bug in the version of Besu you are using which causes the IBFT2 header validation for the block period to not validate the block timestamp correctly which is why those blocks are being allowed to be added to the chain. This bug is not present in the latest version of Besu.
The solution to fix this and allow for upgrading to the new version with an IBFT2 chain that has incorrect block header timestamps is to

Decrease the existing block period in the IBFT2 config to a lower value that satisfies the block header validation. In your case that would be to reduce the block period to 3s.
Allow for changing the block period using a transition #2797 so the original block period can be used for new blocks.

Once #2797 is complete it will be possible for you to upgrade your IBFT2 chain to the latest version of Besu.

The feature for changing the block period will be included in the Besu 21.10.1 release.


ci!: add and enforce 'prettier' formatting

Part 9/9 of #78
Closes #78

Prettier can't conflict with black?

Good question. But no, Prettier doesn't support Python and generally seems to be more oriented towards Java / web development. We use it for Markdown, YAML, XML, and JSON. See list of supported languages here.

Prettier can't conflict with black?

Good question. But no, Prettier doesn't support Python and generally seems to be more oriented towards Java / web development. We use it for Markdown, YAML, XML, and JSON. See list of supported languages here.

Ok we just have to be careful that we do not have two precommit hooks that conflict each other.


Do Drogon provide a function to make HTTP request, like curl?

I would like to make a request to other site when I processing request, eg. send a json to other site for logging.
Is Drogon provide any function to do that?
Or I need to use other library?
Thanks

Please use the HttpClient class for this.
See here, in the client_example, simple_example_test, simple_reverse_proxy you could find some code showing how to use it.


Why does UniGetUI update from 3.1.0 to 3.1.1 fail if it takes more than 100 seconds if the internet speed is slow?

Back when it was still called WingetUI, automatic updates never failed because there was no time limit and it could update without failing because there was no 100 second time limit at that time.

What is failing? You need to provide more details

Huh, I will investigate

why the 100 seconds issue still exists when updating from 3.1.2 to 3.1.3 if the download speed is slow?

I tested the issue and for me it was solved, I will investigate


I can't upload or show pictures in Laravel Voyager.

Version information

Laravel: v7.0
Voyager: v^1.4
PHP: 7.25

Description

I push my project to Heroku, locally it works perfect but in Heroku, the pictures are not showing
Screenshots

Please don't use v^1.4 report the actual version installed not the one required.
Did you set the correct APP_URL?
What's the url of one of the missing images?

Yes, I add it as a parameter in Heroku, for the version what should I do please?

Yes, I add it as a parameter in Heroku, for the version what should I do please?

You should be able to see it in the footer

Or run in console
composer show tcg/voyager

Also please answer:

What's the url of one of the missing images?

Url of missing image looks ok, most probably there is a problem with your storage configuration.
Default configuration is:
        'public' => [
            'driver' => 'local',
            'root' => storage_path('app/public'),
            'url' => env('APP_URL').'/storage',
            'visibility' => 'public',
        ],

What's set as storage disk in voyager config file?

composer show tcg/voyager

Url of missing image looks ok, most probably there is a problem with your storage configuration.
Default configuration is:
        'public' => [
            'driver' => 'local',
            'root' => storage_path('app/public'),
            'url' => env('APP_URL').'/storage',
            'visibility' => 'public',
        ],

What's set as storage disk in voyager config file?

i have to like that
`'public' => [
        'driver' => 'local',

        'root' => storage_path('app/public'),

        'url' => env('APP_URL').'/storage',

        'visibility' => 'public',
    ],

`

i have to like that

that's not in voyager config file.

i have to like that

that's not in voyager config file.

sorry I don't understand

What's set as storage disk in voyager config file?

/config/voyager.php
https://github.com/the-control-group/voyager/blob/f4e6775364a00716a85b8f0fdfe729df68a47913/publishable/config/voyager.php#L58

Now you'll need to recreate the symlink that was created when your configuration was not set correctly.
You can probably remove /public/storage symlink and let voyager recreate it or you can run:
php artisan storage:link

i remove it and i run it still same problem

You might want to have a look here #575

Yeah, I haven't used Heroku in a VERY long time, but I believe the filesystem is readonly, so you're expected to use some form of cloud storage (S3 or similar).  Without that, Voyager will never fully work on Heroku.

https://help.heroku.com/K1PPS2WM/why-are-my-file-uploads-missing-deleted


Feature request: make it possible to clear changed status after SetContents

Again, thanks for making Suneditor!
It seems as if setContents() causes editor to assume a change to contents has been made (and save button is enabled).
It would be nice to be able to clear this changed status (and disable save button) so that contents look unedited until user edit contents (or contents is appended/changed otherwise). I would suggest a function call which can clear the changed status (not sure about history though).
Any workaround would also work out for me!

Hi,
That's good idea.
I'll add an argument that does not update the history stack.
Thank you.

Hi,
Updated in v2.23.0
const editor = suneditor.create(..);
editor.setContents('html');
editor.core.history.reset(); // history stack reset

Thank you.

History clear works fine but setContents seem still to trigger an onChange event and the save button is still enabled (as if there is something unsaved). Anyway to avoid this? The event I can work around but would be nice if the save button could be disabled somehow.

Hi,
I fixed the issue.
Applies to the next version.
Before that, you can following method:
const editor = suneditor.create(..);
editor.setContents('html');
editor.core.history.reset(); // history stack reset
// ** disalbed save button **
editor.core.context.tool.save.disabled = true;

core.context
Thank you.

Great - got it working with your workaround and by ignoring first onChange event.
Thank you.

You can declare the onChange event after setContents.
const editor = suneditor.create(..);
editor.setContents('html');
editor.core.history.reset(); // history stack reset
// ** disalbed save button **
editor.core.context.tool.save.disabled = true;
// onChange
editor.onChange = function...

Yes - works great.
You have shown how I can use setContents() and still handle content as unchanged - as requested in this feature request. I close the it now.
Thank You.

Hi, again
The v2.23.1 version has been updated.
You can use it like this:
const editor = suneditor.create(..);
editor.setContents('html');
editor.core.history.reset(true);

Thank you.


Usability: Enlarge Bullet Hotspot Area

This is a (multiple allowed):

[ ] bug
[x] enhancement
[ ] feature-discussion (RFC)

The bullet points are quite small, which is fine. However, the clickable area should be enlarged, for easier tapping on mobile devices and clicking on Desktop devices.

They originally was designed not to be clickable as clicking such small bullets pretty useless on mobiles. So please, enlarge it as you need in your app/website


Permission save buttons are confusing

The permissions page are confusing to use. When editing a permission, like "Access Sitemap" on "Task Permissions" it takes three "Save" buttons to actually save the new permissions.
First you click save here:

Then there's a slight pause with a loading indicator
Then you click save here:

Again a slight pause with a loading indicator
Now you click save here:

It took me quite a while to realize I have to click a "Save" button a third time. The previous "Save" buttons all seemed to be doing something and I didn't expect to have to save a third time.
I think we should get rid of the second and third save buttons, and have the first save button doing the actual saving. This behavior matches delete, which doesn't require the second and third save buttons.

Based on other interactions in c5 I kind of assume it auto saved also, which threw me for a loop

Yep, advanced permissions are advanced.

A possible solution is implementing one of those things that pops up if you haven't saved your changes.

I double take on this pretty much every time I go into this interface. I'd say changing "save" to "continue" or some other less concrete verb  in those dialogs that don't save would be enough to mitigate the confusion.

Yep, advanced permissions are advanced – which is to say we don't really want them auto-saving as you go. We even reworked them heavily midstream to ensure that you could save an entire permission batch in one go, as opposed to saving as you go and potentially letting someone access some item with a half-finished set of permissions.

But the "delete" function behaves completely differently? It's as soon as you remove and not on save. Feels kind of odd.

No, it doesn't. If you delete something and then hit the "Save" button at the bottom of the dialog (pulling it from the list of permissions) but you don't actually hit the "Save" button at the bottom of the permission listing, if you refresh the page you'll see it hasn't actually deleted anything yet.


Re add Manufacturer and Supplier Pages

Re add Manufacturer and Supplier Pages to Sitemap XML.
For some unknown reason they removed in "Fix all reported bugs #53"
Also increase the number of links and memory usage (my eshop have 40k products)

Hello @sanctusmob , you received some feedbacks about your pull request, are you able to make the required changes ?
Thanks !

Check again

Check again

Seems people ignored this PR for a long time, and we are sorry about this :(
Are you able to rebase your PR based on the dev branch?
We fully understand if you don't want to do it.

I will


Placeholder error for ruined towns

Describe the Bug
The following error displays on every refresh interval for ruined towns.
- [Wed 10:13:09 ERROR MapTowny] Error applying the replacement '%mayor%' for click information on town 'Sangtown'!
java.lang.NullPointerException: Cannot invoke "com.palmergames.bukkit.towny.object.Resident.getName()" because the return value of "com.palmergames.bukkit.towny.object.Town.getMayor()" is null
    at maptowny-2.2.0.jar//me.silverwolfg11.maptowny.managers.TownInfoManager.lambda$registerReplacements$0(TownInfoManager.java:104)
    at maptowny-2.2.0.jar//me.silverwolfg11.maptowny.objects.TextReplacement.getReplacedText(TextReplacement.java:88)
    at maptowny-2.2.0.jar//me.silverwolfg11.maptowny.managers.TownInfoManager.getClickTooltip(TownInfoManager.java:237)
    at maptowny-2.2.0.jar//me.silverwolfg11.maptowny.managers.TownyLayerManager.buildTownEntry(TownyLayerManager.java:172)
    at maptowny-2.2.0.jar//me.silverwolfg11.maptowny.tasks.RenderTownsTask.run(RenderTownsTask.java:55)
    at org.bukkit.craftbukkit.v1_20_R2.scheduler.CraftTask.run(CraftTask.java:101)
    at org.bukkit.craftbukkit.v1_20_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480)
    at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1470)
    at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:446)
    at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1379)
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1156)
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315)
    at java.base/java.lang.Thread.run(Thread.java:840)

Plugin Version
2.2.0
Towny Version
<IP_ADDRESS>
Server Software Version
git-Paper-318 (MC: 1.20.2) (Implementing API version 1.20.2-R0.1-SNAPSHOT) (Git: 9271ee7)

Hi, thanks for reporting the issue, and sorry for the late response.
Ruined towns shouldn't be getting rendered to the map. This would imply that the ruined town check is failing on the Towny side. Do the ruined towns have any residents? If so, that might be what's causing the check to fail. If this is still occurring, I would also encourage reporting this on the Towny github as well.

Marking this issue as inactive and slating for removal since no further information was provided.


Other{Read, Write, Execute} is returning the status of the group permissions

This seems to be a pretty obvious copy&paste fail:

func (b PermissionBits) OtherRead() bool {
	return b&GroupRead != 0
}

func (b PermissionBits) OtherWrite() bool {
	return b&GroupWrite != 0
}

func (b PermissionBits) OtherExecute() bool {
	return b&GroupExecute != 0
}

🤦♂ there's even a PR open already #1

?Guessing this should be closed @phayes

Closed. I think this has been fixed,


build a new package based on currently installed winget applications

Description of the new feature/enhancement
It would be very valuable, at least for me, to be able to run a winget command on to get a listing of all of the winget packages that are currently installed on my computer. And then be able to create a package that includes those apps. So  now, if I go to another computer, or upgrade my existing computer, I can just install that package and all of the apps I want are now installed with no other input on my part.

Proposed technical implementation details (optional)

Something like winget -getinstalled

@craigsn the winget export command and winget import commands were designed for this exact use case.

Duplicate of #220


Customize the list of columns on the main dashboards

Currently main dashboard includes the following columns:

Severity
Status
Last Receive Time
Dupl.
Environment
Service
Resource
Event
Value
Text

Is there any way to customize them?
For example, remove Text and add Tags.

This is not currently possible but I'll add it to the backlog. If you can't wait you can fork the source code and make the specific changes to remove text and add tags yourself. It wouldn't be very hard. Thanks for the feedback.

This is now supported. See https://github.com/alerta/angular-alerta-webui/pull/165 and https://github.com/alerta/alerta/pull/707