SLA

Where is the link for MS SLA on BC?
[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6b86d301-cf03-0dd0-abdd-9a73743b4285
Version Independent ID: 4e4d4219-2c2f-0324-6166-414f31158224
Content: Meet Microsoft Dynamics 365 Business Central - Business Central
Content Source: business-central/index.md
Service: dynamics365-business-central
GitHub Login: @edupont04
Microsoft Alias: edupont

Hello Ben,
The Dynamics 365 Business Central service follows the Modern Lifecycle Policy. For more information, see https://docs.microsoft.com/en-us/lifecycle/policies/modern
Your Business Central reselling partner will help you with technical support. They can submit support requests through the admin center and view information about service availability.

Can you please add this element in the docs somewhere prominent so that this is easy to find. I get this SLA question a lot as well as the backup and retention policy clearly defined
Kind Regards
Ben Opit
+61411707070

On 11 Nov 2020, at 10:02 pm, Eva Dupont<EMAIL_ADDRESS>wrote:

Hello Ben,
The Dynamics 365 Business Central service follows the Modern Lifecycle Policy. For more information, see https://docs.microsoft.com/en-us/lifecycle/policies/modern
Your Business Central reselling partner will help you with technical support. They can submit support requests through the admin center and view information about service availability.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

The information was already available here: https://docs.microsoft.com/en-us/dynamics365/business-central/compliance/compliance-service-compliance#service-terms
Now also added here: https://docs.microsoft.com/en-us/dynamics365/business-central/across-faq#what-are-the-service-level-agreements-for-the-cloud
And linked to from the landing page (the See Also section).


Fix slugify

This shows up in issue #18. Slugify wasn't given a default scheme name. This fixes that by giving it the same default scheme name of "untitled"

This fixes #18

Works for me 👍🏻

Plz merge

Thanks!


The way to use "deleteRow" in a dx-data-grid

Hi! How can we use in angular2, "deleteRow" in a dx-data-grid?? There are no doc about that.
<dx-data-grid
...
<dxo-editing
mode="row"
[allowUpdating]="true"
[allowDeleting]="true"
[allowAdding]="true">
<dxo-texts ?????
[deleteRow]="Custom delete row msg"> ????
  ????

Thanks a lot!

Hello @mpulido73 !
You can see an example here.


Fix flaky CI tests

The TestLambdaSegmentEmit test in lambda_test.go appears to be flaky:
https://travis-ci.org/aws/aws-xray-sdk-go/jobs/510026094
This test has failed a couple times in different builds since we reactivated travis.
We've also seen an invalid memory address or nil pointer dereference error in the TestMySQL test once:
https://travis-ci.org/aws/aws-xray-sdk-go/jobs/510026091

Update:
SQL unit test is fixed by this PR: https://github.com/aws/aws-xray-sdk-go/pull/121
still need to get Lambda unit test fixed.


Remove deprecated lint task

\cc @tgross35 - I think, as implemented, this won't quite do the right thing, since the mirror maker only creates one commit per version (so the second invocation seems to be a no-op). I'm just going to remove it entirely for now, since it's only being applied to new versions anyway.

Even easier!


[CARBONDATA-3490] Fix concurrent data load failure with carbondata FileNotFound exception

problem: When two load is happening concurrently, one load is cleaning the temp directory of the concurrent load
cause: temp directory to store the carbon files is created using system.get nano time, due to this two load have same store location. when one load is completed, it cleaned the temp directory. causing dataload failure for other load.
solution:
use UUID instead of nano time while creating the temp directory to have each load a unique directory.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed? NA

[ ] Any backward compatibility impacted? NA

[ ] Document update required? NA

[ ] Testing done
yes, tested in CI

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. NA

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/274/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/270/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/270/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/280/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/276/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/277/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/280/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/280/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/287/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/283/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/283/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/289/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/285/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/285/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/295/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/291/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/291/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/296/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/292/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/292/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/301/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/297/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/303/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/299/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/299/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/304/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/300/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/300/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/310/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/311/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/307/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/307/

LGTM


Moving or deleting the cover image of an album is not possible

When moving or trying to delete the cover image of an album, most of the time this does not work.
E.g., trying to delete multiple images of an album, where one of the images is the cover image, results in the deletion of all selected images except for the one that is the cover image.
I would like to propose two possible solutions to this problem:

Also delete the cover image and assign another image which is still present in the album to be the new cover image. If there is no image left in the album, display the album without any cover image and without any images left or simply delete the album after asking the user if that should be done.
Or simply show a message to the user that the cover image cannot be deleted and keep everything else like it is.

I would go with solution 2.


Nan accumulation for nerfacto applied on redwoods2

Describe the bug
AssertionError: the min value is -9223372036854775808 in outputs["accumulation"] after 490 iterations using nerfacto on nerfstudio/redwoods2. I tried different seeds and still get the error at 490 iterations. This does not happen on the other nerfstudio scenes.
To Reproduce

Follow the installation guidelines in the readme.md (with CUDA 11.3, Ubuntu 18.04)
Download the scene using ns-download-data --dataset nerfstudio --capture redwoods2
Run ns-train nerfacto --vis tensorboard --data data/nerfstudio/redwoods2.

Expected behavior
It should train smoothly
Screenshots

Extra context
It seems related to #117, which looks resolved by a previous PR. Let me know if you need more details on the machine/package versions

I'm able to replicate this error. We would also see this issue when we trained nerfacto for a large number of iterations (>50k). Seems like it appears early for this scene. The issue is likely due to precision / numerical stability, however we have yet to trace it down.

So Ive been debugging this issue on my side - and have been able to reproduce / remove the following error through the changes here - Though im not really sure why scripting would cause an issue here
https://github.com/nerfstudio-project/nerfstudio/pull/910

@tancik I have the same issue with my scene , when training nerfacto model when training for large number of iterations.

@tancik Looks like the reason is not in a precision. When training with mixed_precision = False I got Nan much faster and worse quality during training for some reason.

@tancik I am using the repository main branch, but not recent. Latest commit Date: 11/2/2022 10:17:45 PM 121771d126a1c90cf39013d8016e16effbfe8efc.
I have an update. My scenario: I have trained for 1h+ on A100. Then got this error. I have tried 2 times to resume training from the latest checkpoint but got the same error in 10 mins. Then I enabled anomaly detection using
 with torch.autograd.set_detect_anomaly(True): before the entry point (it detects nan values in the graph). And it magically trained for 20 h without errors. It seemed like anomaly detection fixed the problem :) , but finally, it crashed. Looks like the first error is from the camera optimizer. Here is the stack trace:
/home/ubuntu/anaconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/autograd/__init__.py:173: UserWarning: Error detected in MulBackward0. Traceback of forward call that caused the error:
  File "/home/ubuntu/.pycharm_helpers/pydev/pydevd.py", line 2173, in <module>
    main()
  File "/home/ubuntu/.pycharm_helpers/pydev/pydevd.py", line 2164, in main
    globals = debugger.run(setup['file'], None, None, is_module)
  File "/home/ubuntu/.pycharm_helpers/pydev/pydevd.py", line 1476, in run
    return self._exec(is_module, entry_point_fn, module_name, file, globals, locals)
  File "/home/ubuntu/.pycharm_helpers/pydev/pydevd.py", line 1483, in _exec
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "/home/ubuntu/.pycharm_helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "/home/ubuntu/repos/nerfstudio/scripts/train.py", line 258, in <module>
    entrypoint()
  File "/home/ubuntu/repos/nerfstudio/scripts/train.py", line 248, in entrypoint
    main(
  File "/home/ubuntu/repos/nerfstudio/scripts/train.py", line 234, in main
    launch(
  File "/home/ubuntu/repos/nerfstudio/scripts/train.py", line 173, in launch
    main_func(local_rank=0, world_size=world_size, config=config)
  File "/home/ubuntu/repos/nerfstudio/scripts/train.py", line 88, in train_loop
    trainer.train()
  File "/home/ubuntu/repos/nerfstudio/nerfstudio/engine/trainer.py", line 146, in train
    loss, loss_dict, metrics_dict = self.train_iteration(step)
  File "/home/ubuntu/repos/nerfstudio/nerfstudio/utils/profiler.py", line 43, in wrapper
    ret = func(*args, **kwargs)
  File "/home/ubuntu/repos/nerfstudio/nerfstudio/engine/trainer.py", line 303, in train_iteration
    _, loss_dict, metrics_dict = self.pipeline.get_train_loss_dict(step=step)
  File "/home/ubuntu/repos/nerfstudio/nerfstudio/utils/profiler.py", line 43, in wrapper
    ret = func(*args, **kwargs)
  File "/home/ubuntu/repos/nerfstudio/nerfstudio/pipelines/base_pipeline.py", line 248, in get_train_loss_dict
    ray_bundle, batch = self.datamanager.next_train(step)
  File "/home/ubuntu/repos/nerfstudio/nerfstudio/data/datamanagers.py", line 367, in next_train
    ray_bundle = self.train_ray_generator(ray_indices)
  File "/home/ubuntu/anaconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/ubuntu/repos/nerfstudio/nerfstudio/model_components/ray_generators.py", line 53, in forward
    camera_opt_to_camera = self.pose_optimizer(c)
  File "/home/ubuntu/anaconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/ubuntu/repos/nerfstudio/nerfstudio/cameras/camera_optimizers.py", line 116, in forward
    outputs.append(exp_map_SO3xR3(self.pose_adjustment[indices, :]))
  File "/home/ubuntu/repos/nerfstudio/nerfstudio/cameras/lie_groups.py", line 51, in exp_map_SO3xR3
    fac1[:, None, None] * skews
 (Triggered internally at  ../torch/csrc/autograd/python_anomaly_mode.cpp:102.)
  Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
Printing profiling stats, from longest to shortest duration in seconds
VanillaPipeline.get_eval_image_metrics_and_images: 2.0984
VanillaPipeline.get_eval_loss_dict: 0.2807
Trainer.train_iteration: 0.2053
VanillaPipeline.get_train_loss_dict: 0.1815
Trainer.eval_iteration: 0.0047
Traceback (most recent call last):
python-BaseException
  File "/home/ubuntu/repos/nerfstudio/scripts/train.py", line 258, in <module>
    entrypoint()
  File "/home/ubuntu/repos/nerfstudio/scripts/train.py", line 248, in entrypoint
    main(
  File "/home/ubuntu/repos/nerfstudio/scripts/train.py", line 234, in main
    launch(
  File "/home/ubuntu/repos/nerfstudio/scripts/train.py", line 173, in launch
    main_func(local_rank=0, world_size=world_size, config=config)
  File "/home/ubuntu/repos/nerfstudio/scripts/train.py", line 88, in train_loop
    trainer.train()
  File "/home/ubuntu/repos/nerfstudio/nerfstudio/engine/trainer.py", line 146, in train
    loss, loss_dict, metrics_dict = self.train_iteration(step)
  File "/home/ubuntu/repos/nerfstudio/nerfstudio/utils/profiler.py", line 43, in wrapper
    ret = func(*args, **kwargs)
  File "/home/ubuntu/repos/nerfstudio/nerfstudio/engine/trainer.py", line 305, in train_iteration
    self.grad_scaler.scale(loss).backward()  # type: ignore
  File "/home/ubuntu/anaconda3/envs/nerfstudio/lib/python3.8/site-packages/functorch/_src/monkey_patching.py", line 77, in _backward
    return _old_backward(*args, **kwargs)
  File "/home/ubuntu/anaconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/_tensor.py", line 396, in backward
    torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
  File "/home/ubuntu/anaconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/autograd/__init__.py", line 173, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
RuntimeError: Function 'MulBackward0' returned nan values in its 0th output.

I think is fixed in the latest version. If you don't want to update, try making the change in this PR https://github.com/nerfstudio-project/nerfstudio/pull/910

Which model are you running? Are you seeing this on all scenes, or just the blender scenes?

Before I saw this on my own real scene, now on Lego. Looks like some randomness involved, on most of trials I do not see errors. Will try anomaly detection again. Maybe it  is other source of Nan this time.

For lego, try also adding the following arguments --pipeline.model.near-plane 2. --pipeline.model.far-plane 6.

Thanks. I have removed the
self.collider = NearFarCollider(near_plane=self.config.near_plane, far_plane=self.config.far_plane)
line in the nerfactor model to disable the collider for this scenes. Results look similar without it and with --pipeline.model.near-plane 2. --pipeline.model.far-plane 6.

@tancik With the last changes still got None, this time during training on the Lego scene with the default number of steps with a disabled collider, camera optimizer, and average appearance embeddings.
This time Nan was in a different place:
File "/home/ubuntu/repos/nerfstudio/nerfstudio/pipelines/base_pipeline.py", line 298, in get_eval_image_metrics_and_images
    metrics_dict, images_dict = self.model.get_image_metrics_and_images(outputs, batch)
  File "/home/ubuntu/repos/nerfstudio/nerfstudio/models/nerfacto.py", line 283, in get_image_metrics_and_images
    lpips = self.lpips(image, rgb)
  File "/home/ubuntu/anaconda3/envs/nerfstudio/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/ubuntu/anaconda3/envs/nerfstudio/lib/python3.8/site-packages/torchmetrics/metric.py", line 245, in forward
    self._forward_cache = self._forward_reduce_state_update(*args, **kwargs)
  File "/home/ubuntu/anaconda3/envs/nerfstudio/lib/python3.8/site-packages/torchmetrics/metric.py", line 309, in _forward_reduce_state_update
    self.update(*args, **kwargs)
  File "/home/ubuntu/anaconda3/envs/nerfstudio/lib/python3.8/site-packages/torchmetrics/metric.py", line 395, in wrapped_func
    update(*args, **kwargs)
  File "/home/ubuntu/anaconda3/envs/nerfstudio/lib/python3.8/site-packages/torchmetrics/image/lpip.py", line 137, in update
    raise ValueError(
ValueError: Expected both input arguments to be normalized tensors with shape [N, 3, H, W]. Got input with shape torch.Size([1, 3, 800, 800]) and torch.Size([1, 3, 800, 800]) and values in range [tensor(0., device='cuda:0'), tensor(1., device='cuda:0')] and [tensor(nan, device='cuda:0'), tensor(nan, device='cuda:0')] when all values areexpected to be in the [-1, 1] range.

@snarb I met the same error during training process. Do you have any solution to it?

@Madaoer  @tancik

I have found that this problem also occurs for both instant_ngp and nerfacto models.
I have found that in some point:

at
https://github.com/nerfstudio-project/nerfstudio/blob/d767cd50118a1abe0167a6316fc565685eca1926/nerfstudio/fields/instant_ngp_field.py#L148
density_before_activation.max()
Out[26]: tensor(36.6562, device='cuda:0', dtype=torch.float16)

density.max()
Out[27]: tensor(8.3101e+15, device='cuda:0')

8.3101e+15  value is just truncated from nan by trunc_exp
https://github.com/nerfstudio-project/nerfstudio/blob/d767cd50118a1abe0167a6316fc565685eca1926/nerfstudio/field_components/activations.py#L37
and next mpl_head returns nan among returned rbg values
https://github.com/nerfstudio-project/nerfstudio/blob/d767cd50118a1abe0167a6316fc565685eca1926/nerfstudio/fields/instant_ngp_field.py#L174

In my case, this error can be sovled by turn off the camera pose optimize, but the image generated by nerfacto will be very bad. I have made the change in this PR https://github.com/nerfstudio-project/nerfstudio/pull/910

@tancik as for reproductions,  I think that it is enough training nerfacto or instant ngp on Lego with a bigger number of steps, after ~ 1 hour of training. Now I am training on a dynamic scene with a modified code. So can't share it simply.
I have tried to make x.clamp(-11,11) and other things like clipping gradient by a norm. That did not work. But found things that have fixed this issue for me in all cases.
I have observed that density embedding max value before going to nan has  outliers with big values from time to time
https://wandb.ai/brans/nerfstudio-project/reports/density_embedding_max-22-11-24-17-17-00---VmlldzozMDMwNTAx?accessToken=anapz2ezdn0wo7z7tfuq5xsj8hfb12zadv7k90arhles66on4ae93cmn25kmas7f and looks like these outliers finally lead to this problem.
So the solution that worked was to apply the limit range of density embeddings by sigmoid to the  base_mlp_out.
So the https://github.com/nerfstudio-project/nerfstudio/blob/b8f85fb603e426309697f7590db3e2c34b9a0d66/nerfstudio/fields/instant_ngp_field.py#L149
becomes
return density, torch.sigmoid(base_mlp_out)
this does not affect the quality for my scenes and removes completely the problem with nan values for me.

@snarb Thank you snarb. In my setting, adding torch.sigmoid in field function does make training process more stable. However, it seems to harm the image quality in eval set,  tending to generate more artifacts and wrong geometry shape in image.

@Madaoer  as an experiment you can probably also try to clip the values of base_mlp_out , for example  by the base_mlp_out .clamp(-1000, 1000)

When playing with tiny-cuda-nn-based models I've found that applying a small weight decay term (1e-6) sometimes helped with training stability, but at least in my case this was somewhat scene specific

I still find nans when using custom data, particularly when adding additional MLP heads (an example would be the semantic nerfw approach).
Wondering if a gradient clipping solution has been considered/tested.

@krrish94 I have tried.  Didn't help

@tancik as for reproductions, I think that it is enough training nerfacto or instant ngp on Lego with a bigger number of steps, after ~ 1 hour of training. Now I am training on a dynamic scene with a modified code. So can't share it simply.
I have tried to make x.clamp(-11,11) and other things like clipping gradient by a norm. That did not work. But found things that have fixed this issue for me in all cases.
I have observed that density embedding max value before going to nan has outliers with big values from time to time https://wandb.ai/brans/nerfstudio-project/reports/density_embedding_max-22-11-24-17-17-00---VmlldzozMDMwNTAx?accessToken=anapz2ezdn0wo7z7tfuq5xsj8hfb12zadv7k90arhles66on4ae93cmn25kmas7f and looks like these outliers finally lead to this problem. So the solution that worked was to limit the range of density embeddings values by applyng sigmoid to the base_mlp_out.
So the
https://github.com/nerfstudio-project/nerfstudio/blob/b8f85fb603e426309697f7590db3e2c34b9a0d66/nerfstudio/fields/instant_ngp_field.py#L149
becomes
return density, torch.sigmoid(base_mlp_out)
this does not affect the quality for my scenes and removes completely the problem with nan values for me.

Run into the similar problem of NaN and applied sigmoid solution when working with a semantic head, it seems drastically lower the quality and hinder the convergence.
p.s. tried the x.clamp(-12,12) too, didn't work either.

Not sure, maybe I was wrong if the issue is causing my problem.
When the  nerfacto or instant-ngp (maybe others) runs with longer iterations, either the whole scene gets "black" or full of "noise".
Here is the screen when I train with  instant-ngp, for  nerfacto was just "black".  If the issue was true, then I could increase the epochs, then the issue was severe.

My current solution is tuning the regularization via
--optimizers.fields.optimizer.weight-decay 1e-6 or less
--optimizers.proposal-networks.optimizer.weight-decay 1e-6 or less

My guess is that the learning goes explosion caused the issue.

Good find @XinyueZ. Do you find that these weight-decays effect the training speed or quality in the first 30K iters? If now, we should consider changing making these the default.

https://github.com/nerfstudio-project/nerfstudio/issues/873#issuecomment-1407712372
So far I have not found the diff in speed. Of cos, the quality of the model itself could be affected by the tuning of regularization theoretically, but it's quite normal in the DL field. At least it was fine for me.
I have trained my model 500_000 iterations, BUT, I trained 100_000 each time from previous checkpoints. I think that there won't be a problem when it trains 500_000 in a row. The early "black" cases happened even when I did 100_000 for each piece.
Hopefully my experience could help you guys.

For those still running into this issue - it might be worth logging gradients and see if they vanish or explode now that https://github.com/nerfstudio-project/nerfstudio/pull/1334 is merged in

w the installation guidelines in the readme.md (with CUDA 11.3, Ubuntu 18.04

It works for me, thanks

https://github.com/nerfstudio-project/nerfstudio/pull/1656, maybe this can help


[GSoC Project Proposal]:  QA/QC for glider data

Project Description
The ioos_qc library is the canonical implementation of the QARTOD manuals for ocean QA/QC best practices. This project ideas are to: create QA/QC examples and documentation for its use with glider data and implement any missing QA/QC checks for glider data.
Expected Outcomes
Notebook(s) with glider data QA/QC checks, examples, and new QA/QC functions specific for moving platforms (glider).
Skills required
Ocean data QA/QC knowledge, basic python, numpy, and scipy.
Mentor(s)
Filipe Fernandes (ocefpaf), Mathew Biddle (MathewBiddle) and Micah Wengren (mwengren )
Expected Project Size
350
What is the difficulty of the project?
Intermediate

xref:

https://github.com/ioos/ioos_qc/issues/58

I added some more details about gliders and links to the various resources.

@srstsavage do you, or anyone at Axiom, wants to be a mentor here?

I hope we get some interested candidates in this project!

Hi @ocefpaf, I'm Saksham Gupta, a final year student from India, and I'm very interested in working on this project. While I'm currently not experienced in Ocean data QA/QC, I'm eager to acquire new skills and learn. I believe that tackling projects with diverse tech stacks is the best way to enhance one's learning abilities, and I thrive in such environments:) Looking forward to the opportunity to contribute to this project!
Is there any specific tasks that I need to do before sending the proposals? And what all I need to learn to work on this project? It would be much more helpful if you could provide me a brief regarding the same.

@ocefpaf We're discussing mentorship on this project and ioos_qc contributions more broadly. Does anyone know when the deadline for having a specific mentor's name attached would be? The April 2nd proposal deadline probably?

See https://developers.google.com/open-source/gsoc/timeline
The application period opens March 18th and ends April 2nd. What that means is the project ideas need to be ready to go (descriptions of the project and mentor names) by March 18th, and students apply for the project by April 2nd.
@ocefpaf please correct me if I'm misunderstanding.

@ocefpaf please correct me if I'm misunderstanding.

That is correct. Note we can, and probably should, have multiple mentors for the projects. Even more so for this one b/c it will demanding some advanced domain knowledge on glider QA/QC and coding.

Hi @ocefpaf, I'm Saksham Gupta, a final year student from India, and I'm very interested in working on this project. While I'm currently not experienced in Ocean data QA/QC, I'm eager to acquire new skills and learn. I believe that tackling projects with diverse tech stacks is the best way to enhance one's learning abilities, and I thrive in such environments:)

Hi @Sakshamgupta90!

Looking forward to the opportunity to contribute to this project! Is there any specific tasks that I need to do before sending the proposals? And what all I need to learn to work on this project? It would be much more helpful if you could provide me a brief regarding the same.

For now you can take a look at the QARTOD manuals and the code implemented here. You can try to fork the repository and run all the tests locally to ensure you have a working dev environment.

Hi @ocefpaf, thanks a lot, I will go through these manuals and the code. I will also try to setup the code locally. Will let you know if got stuck somewhere:)

After much internal talk it seems like the mentor for this proposal should be someone with deep glider domain experience/expertise, and we don't currently have a great match at Axiom with both timeline and focus area. We're ready and willing to support the effort in other ways, potentially including implementation of missing QA/QC routines identified by this effort, but the lead mentor should probably be a glider data guru. Also 3/18 has come and gone so this may be moot...

but the lead mentor should probably be a glider data guru

Agreed. We can try to recruit one. Note that having multiple mentors, even it someone will just look at the code quality and not for its QA/QC correctness, is encouraged. If anyone at Axiom wants to collaborate, please send them our way so we can register them as mentors.

Hi @ocefpaf @mwengren @MathewBiddle
Happy to be accepted in the program. Really looking forward to this summer and putting in my best work!

Hi @ocefpaf @MathewBiddle @mwengren
I'm eager to get started and ensure a smooth transition into the project, I wanted to reach out to discuss the next steps.
How we'll be communicating throughout the program?

 Stay tuned!

Hi @ocefpaf,
I was going through all the QARTOD manuals, and majority of the tests are same while doing QA/QC of different oceanographic datas.
So, while creating examples of use with glider data, can I refer to the examples created for other?

@Sakshamgupta90 I'm not sure if I understand it correctly but:

We should try to provide some data examples for this project, keep an eye on https://github.com/ioos/ioos_qc/issues/58.
Anything from the existing tests that can be re-used, is fine to re-use.

Thanks alot for the insights.
I will go through the codebase once and let you know if there is any issue. And one more thing, to be familiar with QA/QC data, are there any resources which I should go through other than QARTOD manuals?

are there any resources which I should go through other than QARTOD manuals?

At this point I believe that the manuals are a good start. We should touch base on which ones though, as there are many! I'll ask the experts and get back to you.

Hi @ocefpaf, So I was doing the environment setup and this one command is written over there:
 conda install --file requirements.txt --file tests/requirements.txt
But in the test folder there is no requirements.txt file present, so I tried installing the requirements.txt file, so is it fine? Do we need tests/requirements.txt file?

The command should be:
conda install --file requirements.txt --file requirements-dev.txt

Can you please point us to where you found the reference to tests/requirements.txt and open an issue at https://github.com/ioos/ioos_qc/issues so we can fix it?

It is referenced in docs/source/development.rst.
Sure I will open an issue.

Hi @MathewBiddle @ocefpaf,
I've completed the setup and read through all the provided documentation. However, I would like to dive deeper and familiarize myself further with glider data. Could you please point me to additional resources, examples, or any relevant materials?
Additionally, I was looking for documentation and examples related to QA/QC checks for other resources but haven't been able to find them. Could you share the links to these if available?


Registering invalid element name or re-using name should not crash app

Currently, trying to register an invalid custom element name or re-registering an existing naw causes JS errors and a white screen of death. This is because document.registerElement() throws and further JS doesn't run.
This can be very frustrating for developers. A bad name or re-use of an existing name should "crash" an app! Polymer mini can smooth this over.
Examples:
Polymer({is: 'x'}); // Attempt to register an invalid CE name bombs out app.
Polymer({is: 'x-foo'});
Polymer({is: 'x-foo'}); // Attempt to re-register an existing name bombs out app!
console.log('I wont run');

yes please :dancer:

Closing this since we're not adding new features to Polymer 1.x. In Polymer 2.x the user calls customElements.define and just gets the native error message if the element is already defined.


Enable DDL schema export

RTS-568
Depends on ~~https://github.com/basho/riak_pb/pull/174~~ https://github.com/basho/riak_ql/pull/70.
Support DDL schema export (aka DESCRIBE TABLE), as defined in https://docs.google.com/document/d/1tWR2_w0seowNBWlGe1fzK4Po9SiOOaJrWIuviO2ljpQ, section 5.b.vii.

I agree with @alexmoore. I too thought this is just a new command (ala SELECT) not a new message.

Here's a version that uses the same messages as riakc_ts:query/2.

Tests all pass with the QL branch required.  Looks to meet the spec, too.

:+1: 15ffe1a

@borshop merge

:+1:  441e1b6

:+1: 441e1b6

@borshop merge

@borshop merge


Pass additional params to OAuth provider to be used in signIn callback

Describe the feature
I seached everywhere I could, looked through all the old issues, PRs but I could only find unanswered questions/requests, hacks with unoptimal solutions.
I basically would like to "reopen" this issue, at least with an clear solution if anyone has one:  #303
How would you implement this?
I'm not familiar enough with the whole implementation to suggest a solution.
Additional information

[ ] Would you be willing to help implement this feature?

Provider

[x] AuthJS
[ ] Local
[ ] Refresh
[ ] New Provider

Hi @TiborPL 👋
From what I remember from the previous discussion, this limitation is due to NextAuth. We has thought about finding a way to add support through this, inside NuxtAuth, however this is sadly a pretty low priority for us at the moment.
We are currently also beginning on implementing support for authjs. I think once we have finished this migration, we could take some time to consider possible solutions ourselves. If in the meantime your or anyone else has an idea on how to implement this, we can definitely prioritize this!

@zoey-kaiser thank you for the thorough explanation. I understand and excited to hear the migration to authjs :)
I solved my issue so it's not urgent for me anymore. Might revisit this when the module is getting to a final version..
Thanks again for the work you've all done for this module 👍


Unprotected Data URIs

Does the extra mile included there actually work any more ?
If yes, what is the correct intent that should be used.
As far as i checked and searched it should no longer work.
This is the result i am getting:
09-16 22:29:26.838 13798 13798 I chromium: [INFO:CONSOLE(0)] "Navigation is blocked: intent:#Intent;action=ACTION_VIEW;type=text/plain;component=com.insecureshop/com.insecureshop.WebView2Activity;S.url=http://someurl.com;end", source: http://myawesomesite.com/ (0)

Where from http://myawesomesite.com/ i tried with javascript, or with a button.
Trigger

Hey @marvyr
Try the following intent URI:
intent://www.google.com#Intent;scheme=https;action=com.insecureshop.action.WEBVIEW;component=com.insecureshop/.WebView2Activity;end

I tried this a few months ago and found that the intent URI scheme did not work on Chrome, but it did work on Firefox.

@0xgaurang thank you for your answer,
tried chrome, opera and firefox but none of them worked


File not renamed on restore as of 1.7.4

Hey,
I have found a bug. When restoring a temporary uploaded file, the filename is not updated using the Content-Disposition header. The item filename stays at the unique server ID.
This bug appears in version 1.7.4, downgrading to 1.7.3 solves the issue.

Can you post the header?

Restore header: content-disposition: inline; filename=invoice_sample.pdf

I see your change, it should be: content-disposition: inline; filename="invoice_sample.pdf" notice the quotes. Right?

Yes, as far as I can tell it should have quotes. More information on the Content-Disposition header:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition

My fault.
Everything (from 1.8.0) is working great again!

Fantastic :-) Thanks for the update.

I used your server reference to build my server, so that might be the case. 😅

Hah :) Wooops 🙃

Hi there,
Really great library you've made!
I've just come across this same issue with a laravel integration and just wanted to contribute to the discussion.
When using the Storage facade in Laravel double quotes are not provided for the filename field on the content-disposition header and I think that is correct.
So Laravel returns:
content-disposition: inline; filename=test.png and FilePond doesn't replace the name.
However if I force Laravel to send content-disposition: inline; filename="test.png" then FilePond replaces the name correctly.
Based on the RFC for content-disposition I think it should support both instances.
If you look at the RFC it mentions that it must be a string but doesn't say the string must be delimited by double quotes and also gives a specific example of only delimiting with quotes when there is a space in the filename. Please see section 5 of the RFC:
https://tools.ietf.org/html/rfc6266#section-5.
I'm using version 3.2.1 and using the Vue wrapper (4.0.0).

Thanks, will see if I can adjust it so it works without quotes as well

Should be fixed in 3.3.3, please confirm.


unipept command: check correctness of -e option

In processing metagenomics data sets, I would systematically avoid the use of the -e option, since we start from DNA reads (not peptides identified by mass spec). However, it seems that generally the use of the -e option yields far more protein hits for a given peptide than the same search without that option -e option. It is logical that the use of the -e option produces more hits than without, but my gut feeling is that now the number of differences is way too high.
Example:
$ fasta2prot < patient_TS19_CDS | sed -ne '10{p;q}' | prot2pept | peptfilter
YFGHIFSDEDK
NLLETGNMGR
VVELK
NGEYIPSFISIDK
LTNEVVAMK
AENAFIPR
GVELTEQLXTR
NEGIGK
AHEGI
$ fasta2prot < patient_TS19_CDS | sed -ne '10{p;q}' | prot2pept | peptfilter | unipept pept2lca
sequence,taxon_id,taxon_name,taxon_parent_id,taxon_rank
VVELK,1,root,1,no rank
NLLETGNMGR,976,Bacteroidetes,68336,phylum
LTNEVVAMK,171549,Bacteroidales,200643,order
$ fasta2prot < patient_TS19_CDS | sed -ne '10{p;q}' | prot2pept | peptfilter | unipept pept2lca -e
sequence,taxon_id,taxon_name,taxon_parent_id,taxon_rank
NEGLGK,1,root,1,no rank
VVELK,1,root,1,no rank
AENAFLPR,817,Bacteroides fragilis,816,species
NGEYLPSFLSLDK,817,Bacteroides fragilis,816,species
NLLETGNMGR,976,Bacteroidetes,68336,phylum
LTNEVVAMK,171549,Bacteroidales,200643,order

The problem seems real if we further explore the peptides in the above data set.
$ echo AENAFIPR | unipept pept2prot

$ echo AENAFIPR | unipept pept2prot -e
sequence,uniprot_id
AENAFLPR,I9B2A8
AENAFLPR,K1TAK5
AENAFLPR,K1SIZ1
AENAFLPR,I9BGY7

If I BLAST this peptide, I find at least the following matches that have 100% coverage and 100% identity:

WP_021750589 (Oscillibacter)
WP_005801812 (Bacteroides fragilis)

These hits correspond to the following four hits in Uniprot

U2R6X9 (Oscillibacter sp.)
U2RF28 (Oscillibacter sp.)
I9B2A8 (Bacteroides fragilis)
I9BGY7 (Bacteroides fragilis)

The latter two are clearly also found if the -e option is used, but since they match the original version of the peptide, they should also have been found without the -e option. The former two records have been added to GenBank in September 2013, and have probably been added to Uniprot in November 2013. As such, it might well be that they are not available yet in the current version of the Unipept database.
Check in web interface of Unipept:

4 hits are retrieved in case I and L are not equated (same four hits as above in case the -e option is used)
same 4 hits are retrieved in case I and L are equated

I double checked, and all 4 protein records do have an exact match with the peptide sequence AENAFIPR
Conclusion: current implementation of the -e option in the command line tools is not correct
Original issue by @pdawyndt on Fri May 02 2014 at 21:01.
Closed by an unknown user on Sat May 10 2014 at 13:55.

Here's an overview of the lowest common ancestors (LCA) derived from the peptides of the protein analyzed above. Peptides that were not matched in Unipept have been checked further by BLAST:
YFGHIFSDEDK         -> (1)
NLLETGNMGR          -> Bacteroidetes (phylum)
VVELK               -> root
NGEYIPSFISIDK       -> Bacteroides fragilis (species)
LTNEVVAMK           -> Bacteroidales (order)
AENAFIPR            -> Bacteroides fragilis (species)
GVELTEQLXTR         -> no exact matches found by BLAST
NEGIGK              -> root
AHEGI               -> (2)

lots of BLAST hits -- most Bacteroides species -- but probably no tryptic peptide due to fact that start of protein was not in read; can be found in Unipept for example as the last part of the peptide QKPDLDRPYFGHLFSDEDK
lots of BLAST hits, but no tryptic peptides due to fact that end of protein was not in read; we can not filter this peptide out, since trypsine breaks after K or R, so it might well be that this part was a tryptic peptide

Original comment by @pdawyndt on Sat May 03 2014 at 11:35.

@bmesuere : can you lookup some examples where equating I and L finds more matches than without (for example by looking up some peptides that have a different LCA in both cases)
Original comment by @pdawyndt on Tue May 06 2014 at 09:44.

mysql> SELECT `sequences`.`sequence`, uniprot_entries.uniprot_accession_number, uniprot_entries.taxon_id FROM `sequences` INNER JOIN `peptides` ON `peptides`.`sequence_id` = `sequences`.`id` INNER JOIN `uniprot_entries` ON `uniprot_entries`.`id` = `peptides`.`uniprot_entry_id` WHERE `sequences`.`sequence` IN ('AENAFIPR');

should be
mysql> SELECT `sequences`.`sequence`, uniprot_entries.uniprot_accession_number, uniprot_entries.taxon_id FROM `sequences` INNER JOIN `peptides` ON `peptides`.`original_sequence_id` = `sequences`.`id` INNER JOIN `uniprot_entries` ON `uniprot_entries`.`id` = `peptides`.`uniprot_entry_id` WHERE `sequences`.`sequence` IN ('AENAFIPR');

sequence_id -> original_sequence_id
Original comment by @bmesuere on Wed May 07 2014 at 14:48.

mysql> select * from sequences where lca != lca_il limit 10;
+-----+---------------------+--------+--------+
| id  | sequence            | lca    | lca_il |
+-----+---------------------+--------+--------+
|  33 | LDSVLGK             |  10492 |      1 |
|  97 | YTQLYK              |      2 |      1 |
| 181 | LLSSLEQK            |  51511 |   2759 |
| 204 | ENFVYLAK            |   3760 |  35493 |
| 225 | DNLTLWTSDLPEDGEDSQK |   3760 |  71275 |
| 246 | EMQPTHPLR           |   9601 |   7776 |
| 294 | LAELTSQR            |    780 |      2 |
| 305 | FLAVGYVDDTQFVR      |  59463 |      1 |
| 321 | CVEWLR              |   7776 |   2759 |
| 345 | VGNLQLSR            | 147550 |      1 |
+-----+---------------------+--------+--------+

Original comment by @bmesuere on Wed May 07 2014 at 14:51.

@tvwillem The -e option now seems to be supported adequately for the pept2prot and pept2taxa subcommands, but it still produces the wrong answer if used with the pept2lca subcommand. Can you check what needs to be done to correct the pept2lca subcommand?
Here's a use case showing that the -e option works as it should for the pept2prot and pept2taxa subcommands, but not for the pept2lca subcommand.
$ echo YTQLYK | unipept pept2prot
sequence,uniprot_accession_number,taxon_id
YTQLYK,I7EN32,391619
YTQLYK,I7EQH0,383629
YTQLYK,Q5LQN3,246200
YTQLYK,B6BCU2,439496
YTQLYK,D8DUV5,752555
YTQLYK,A4EW05,388739
YTQLYK,B7QPA7,439497
YTQLYK,A3SQ71,89187
YTQLYK,E4TV67,643867
YTQLYK,A3XBE4,314262
$ echo YTQLYK | unipept pept2prot -e
sequence,uniprot_accession_number,taxon_id
YTQLYK,P0C9E9,561444
YTQLYK,P0C9F2,561443
YTQLYK,P0C9F1,10500
YTQLYK,I7EN32,391619
YTQLYK,I7EQH0,383629
YTQLYK,Q5LQN3,246200
YTQLYK,B6BCU2,439496
YTQLYK,D8DUV5,752555
YTQLYK,A4EW05,388739
YTQLYK,B7QPA7,439497
YTQLYK,E0WMD2,874269
YTQLYK,A3SQ71,89187
YTQLYK,E4TV67,643867
YTQLYK,A9JLJ2,443878
YTQLYK,A3XBE4,314262
$ echo YTQLYK | unipept pept2taxa
sequence,taxon_id,taxon_name,taxon_parent_id,taxon_rank
YTQLYK,89187,Roseovarius nubinhibens ISM,314263,no rank
YTQLYK,246200,Ruegeria pomeroyi DSS-3,89184,no rank
YTQLYK,314262,Roseobacter sp. MED193,2433,species
YTQLYK,383629,Phaeobacter gallaeciensis 2.10,60890,no rank
YTQLYK,388739,Roseobacter sp. SK209-2-6,2433,species
YTQLYK,391619,Phaeobacter gallaeciensis DSM 17395 = CIP 105210,60890,no rank
YTQLYK,439496,Rhodobacterales bacterium Y4I,285892,species
YTQLYK,439497,Ruegeria sp. R11,97050,species
YTQLYK,643867,Marivirga tractuosa DSM 4126,1006,no rank
YTQLYK,752555,Prevotella bryantii B14,77095,no rank
$ echo YTQLYK | unipept pept2taxa -e
sequence,taxon_id,taxon_name,taxon_parent_id,taxon_rank
YTQLYK,10500,African swine fever virus Malawi LIL 20/1,10497,no rank
YTQLYK,89187,Roseovarius nubinhibens ISM,314263,no rank
YTQLYK,246200,Ruegeria pomeroyi DSS-3,89184,no rank
YTQLYK,314262,Roseobacter sp. MED193,2433,species
YTQLYK,383629,Phaeobacter gallaeciensis 2.10,60890,no rank
YTQLYK,388739,Roseobacter sp. SK209-2-6,2433,species
YTQLYK,391619,Phaeobacter gallaeciensis DSM 17395 = CIP 105210,60890,no rank
YTQLYK,439496,Rhodobacterales bacterium Y4I,285892,species
YTQLYK,439497,Ruegeria sp. R11,97050,species
YTQLYK,443878,African swine fever virus OURT 88/3,10497,no rank
YTQLYK,561443,African swine fever virus tick/South Africa/Pretoriuskop Pr4/1996,10497,no rank
YTQLYK,561444,African swine fever virus warthog/Namibia/Wart80/1980,10497,no rank
YTQLYK,643867,Marivirga tractuosa DSM 4126,1006,no rank
YTQLYK,752555,Prevotella bryantii B14,77095,no rank
YTQLYK,874269,African swine fever virus Georgia 2007/1,10497,no rank
$ echo YTQLYK | unipept pept2lca
sequence,taxon_id,taxon_name,taxon_parent_id,taxon_rank
YTQLYK,1,root,1,no rank
$ echo YTQLYK | unipept pept2lca -e
sequence,taxon_id,taxon_name,taxon_parent_id,taxon_rank
YTQLYK,1,root,1,no rank

The echo YTQLYK | unipept pept2lca command should give the superkingdom Bacteria as LCA. See the web interface for the proper outcome:

identification of YTQLYK with I and L considered to be differently: Bacteria (superkingdom)
identification of YTQLYK with I and L considered to be equal: root (no rank)

Original comment by @pdawyndt on Sat May 10 2014 at 10:40.

It should work for pept2taxa, I did however overlook something on pept2lca.
Original comment by ghost on Sat May 10 2014 at 10:44.

pept2lca fixed in 110b2c2
Original comment by ghost on Sat May 10 2014 at 13:55.


find_by_sql gets passed an ActiveRecord::Result instance, which does not respond to collect!()

Using jruby 1.7.6, activerecord 3.2.21, db2 10.5, when I run, for example:
Property.first
or
Property.order(:property_id).limit(3)
or seemingly any combination of Arel, it results in an exception:
NoMethodError: undefined method collect!' for #<ActiveRecord::Result:0x5fca210b> from .../rails/vendor/bundle/jruby/1.9/gems/activerecord-3.2.21/lib/active_record/querying.rb:38:in find_by_sql'
My workaround for this is:
module ActiveRecord
  module Querying
    def find_by_sql(sql, binds = [])
      logging_query_plan do
        # connection.select_all(sanitize_sql(sql), "#{name} Load", binds).collect! { |record| instantiate(record) }
        # activerecord-jdbc-adapter returns an ActiveRecord::Result instance, which
        # responds to #collect but not #collect!
        connection.select_all(sanitize_sql(sql), "#{name} Load", binds).collect { |record| instantiate(record) }
      end
    end
  end
end

ie. I rewrite find_by_sql so that it uses collect() instead of collect!().
ActiveRecord::Result instances mix in Enumerable, so they have access to collect().
They do not have access to collect!().
Question: should find_by_sql() get invoked in these cases?
If so, should ActiveRecord::Result instances have access to collect!()?
I'm not sure if this is a bug or if somehow my setup is calling find_by_sql() when it shouldn't.
Has anyone else run into this issue? Please advise, thanks!

fixed on 1-3-stable as https://github.com/kares/activerecord-jdbc-adapter/commit/36e171cabe374ae86fe16fa69ce8146b02fa3d1d ... available since 1.3.14


@roboneuro build jupyter-book from branch

As far as I can tell, there is no action to build the jupyter book from a branch

it's now possible.


Wrong vertical alignment of text on TextFormField widget if suffix widget is used.

When I specify the suffix property for TextFormField the text in widget become not middle aligned by vertically. If searched on stackoverflow and found that this issue is enough old. I don't mean padding from left, I mean it is not aligned middle vertically. I tried to use Padding or contentPadding - it does not help.

This seems to be a duplicate of https://github.com/flutter/flutter/issues/42651 and https://github.com/flutter/flutter/issues/28189. If you agree please let's close this one and follow up on the mentioned issues as we don't track same issues on different places.

I don't think so. I read about prefix and suffix alignment and it is possible to fix it using Padding for those widgets. But this isssue is text related and there is no any possibility to fix it. Using textAlignVertical does not help.
P.S. Bug with age about 2 years?

code sample
import 'package:animations/animations.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

Future<void> main() async {
  runApp(MaterialApp(
    theme: ThemeData.light(),
    home: MainView(),
  ));
}

class MainView extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Padding(
          padding: const EdgeInsets.symmetric(horizontal: 200),
          child: TextFormField(
            textCapitalization: TextCapitalization.words,
            autofocus: false,
            keyboardType: TextInputType.text,
            textInputAction: TextInputAction.next,
            decoration: InputDecoration(
                contentPadding: EdgeInsets.zero,
                filled: true,
                hintText: 'Enter your name',
                suffix: IconButton(
                  icon: Icon(Icons.keyboard),
                  onPressed: () => {},
                )),
          ),
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.2, on macOS 11.2.2 20D80 darwin-x64, locale en-AO)
    • Flutter version 2.0.2 at /Users/pedromassango/Code/flutter_stable
    • Framework revision 8962f6dc68 (4 days ago), 2021-03-11 13:22:20 -0800
    • Engine revision 5d8bf811b3
    • Dart version 2.12.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/pedromassango/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 54.0.3
    • Dart plugin version 203.7759

[✓] VS Code (version 1.54.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.2.2 20D80 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 89.0.4389.82

! Doctor found issues in 1 category.

Any news on this issue?

Hey, guys just use suffix Icon for Icon and suffix for text. This worked for me.

This issue is still reproducible in the latest stable and master channels. When using suffix, the text is noticeably misaligned vertically. See screenshots below. When using suffixIcon, the result is better though the text is aligned at its baseline, rather than at its center.
One other thing I've realized is that when using suffix and an IconButton, the icon is not visible when the TextField is not focused. See screenshots.
Code sample
import 'package:flutter/material.dart';

Future<void> main() async {
  runApp(MaterialApp(
    theme: ThemeData.light(),
    home: const MainView(),
  ));
}

class MainView extends StatelessWidget {
  const MainView({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: () => FocusScope.of(context).unfocus(),
      child: Scaffold(
        body: Center(
          child: Padding(
            padding: const EdgeInsets.symmetric(horizontal: 100),
            child: TextFormField(
              textCapitalization: TextCapitalization.words,
              autofocus: false,
              keyboardType: TextInputType.text,
              textInputAction: TextInputAction.next,
              decoration: InputDecoration(
                filled: true,
                fillColor: Colors.yellow,
                hintText: 'Enter your name',
                suffix: IconButton(
                  icon: const Icon(Icons.keyboard),
                  onPressed: () => {},
                ),
                // suffixIcon: IconButton(
                //   icon: const Icon(Icons.keyboard),
                //   onPressed: () => {},
                // ),
              ),
            ),
          ),
        ),
      ),
    );
  }
}

Screenshots
Using suffix and TextField is not focused

Using suffix and TextField is focused

Using suffixIcon, no change in icon color on either focused or not

Reproduces for me as well. Super annoying.

Use suffixIconConstraints. This worked for me.
suffixIconConstraints: const BoxConstraints(
   minWidth: 22.0,
   minHeight: 22.0,
),

when comparing the use of suffix and suffixIcon in flutter's TextFormField, it's important to note that both properties accept a widget.... However, I recommend using suffixIcon because it solves the vertical alignment problem . .
see the example below
suffix :

suffix icon :

Here’s how you can implement suffixIcon for better clarity:
import 'package:doctor_h_appointments_app/shared/variables/constants.dart';
import 'package:flutter/material.dart';

class CustomObscurableFormField extends StatelessWidget {
  final EdgeInsetsGeometry? contentPadding;
  final IconData prefixIcon;
  final InputBorder? focusedBorder;
  final InputBorder? enabledBorder;
  final TextStyle? inputTextStyle;
  final TextStyle? hintStyle;
  final String hintText;
  final Color? backgroundColor;
  final TextEditingController? controller;
  final Function(String?) validator;
  const CustomObscurableFormField({
    super.key,
    this.contentPadding,
    this.focusedBorder,
    required this.prefixIcon,
    this.enabledBorder,
    this.inputTextStyle,
    this.hintStyle,
    required this.hintText,
    this.backgroundColor,
    this.controller,
    required this.validator,
  });

  @override
  Widget build(BuildContext context) {
    return TextFormField(

      controller: controller,
      obscureText: false,
      textAlignVertical: TextAlignVertical.center,
      decoration: InputDecoration(
        //! Use [suffixIcon] instead of [suffix]
        suffixIcon: InkWell(onTap: (){} , child: const Icon(Icons.remove_red_eye , color: Constants.colorGrey,)),
        hintStyle: Theme.of(context).textTheme.bodyMedium!.copyWith(color: Constants.colorGrey ,fontWeight: FontWeight.w300),
        prefixIcon: Icon(prefixIcon , color: Constants.colorGrey,),
        isDense: true,
        contentPadding: contentPadding ??
            Constants.paddingSmall,
        focusedBorder: focusedBorder ??
            OutlineInputBorder(
              borderSide: const BorderSide(
                color: Constants.colorLightGrey,
                width: 1.3,
              ),
              borderRadius: BorderRadius.circular(16.0),
            ),
        enabledBorder: enabledBorder ??
            OutlineInputBorder(
              borderSide: const BorderSide(
                color: Constants.colorLightGrey,
                width: 1.3,
              ),
              borderRadius: BorderRadius.circular(16.0),
            ),
        errorBorder: OutlineInputBorder(
          borderSide: const BorderSide(
            color: Colors.red,
            width: 1.3,
          ),
          borderRadius: BorderRadius.circular(16.0),
        ),
        focusedErrorBorder: OutlineInputBorder(
          borderSide: const BorderSide(
            color: Colors.red,
            width: 1.3,
          ),
          borderRadius: BorderRadius.circular(16.0),
        ),
        // hintStyle: hintStyle ?? TextStyles.font14LightGrayRegular,
        hintText: hintText,
        fillColor: backgroundColor ?? Constants.colorWhiteLessSmoke,
        filled: true,
      ),
      style: Theme.of(context).textTheme.bodyMedium!.copyWith(color: Constants.colorLightBlack),
      validator: (value) {
        return validator(value);
      },
    );
  }
}


Lazies & Providers injected through constructors or methods are wrongly generated in Factory and Member Injector

Lazies and Providers injected through constructors or methods are wrongly generated for Factories and Member Injectors. Wrong type parameter:
public class A {
    @Inject
    public A(@Lazy<B> b) {
        ...
    }

    @Inject
    public void init(@Provider<C> c) {
        ...
    }
}

Generates:
// Code generated for Lazy (Factory and Member Injector)
Lazy<T> param1 = scope.getLazy(B.class)

// Code generated for Provider (Factory and Member Injector)
Provider<T> param1 = scope.getProvider(C.class)

It should generate something like:
Lazy<B> param1 = scope.getLazy(B.class)
Provider<C> param1 = scope.getProvider(C.class)

Fixed in 1.0.0-RC7
https://github.com/stephanenicolas/toothpick/pull/137


Increase number of tissues that meet donor momentum target

Continuation of Momentum metric targets from H2 2023.
Will endeavor to increase the number of tissues with > 70 donors by 5 additional tissues.

Target met!


Add Lineage metrics to Python PubsubIO, BigtableIO, FileIO

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

For PubsubIO and BigtableIO, unit test added. For FileIO, because it needs real gcs, and Dataflow runner currently does not return metrics back, tested locally with the following pipeline
with beam.Pipeline("DirectRunner", options) as p:
    p_read = p | ReadFromText(file_pattern='gs://dataflow-samples/shakespeare/kinghenry*') \
       | WriteToText(file_path_prefix='gs://clouddfe-yihu-test/tmp/fileiolineage')
    print(Lineage.query(p.result.metrics(), Lineage.SOURCE))
    print(Lineage.query(p.result.metrics(), Lineage.SINK))

see output:
{'gcs:dataflow-samples.`shakespeare/kinghenryviii.txt`', 'gcs:dataflow-samples.`shakespeare/kinghenryv.txt`'}
{'gcs:clouddfe-yihu-test.tmp/fileiolineage-00000-of-00001'}

python ml precommit and python test were breakages on base branch and fixed on latest master now, not related to this change, and merging for now


How to delete the NOTICES file generated by flutter packaging apk

1.flutter 打包apk时 生成的NOTICES文件 怎么删除 因为要过移动信息安全等保等级 生成的NOTICES有很多url 会被检测出来 2.混淆问题 minifyEnabled true 、proguard-rules.pro也设置好了，打包release版本后安装时出现闪退 这个是什么原因啊
Translation:

How to delete the NOTICES file generated when flutter is packaging the apk. Because the NOTICES generated by mobile information security has many URLs, it will be detected. 2. Confusion issues minifyEnabled true and proguard-rules.pro are also set, and the release is packaged What is the reason for the crash when installing after the version?

@132056135
Your question is better suited for support channels like StackOverflow, so please ask the same there.
Closing from here, as this is a how to question and not a bug or feature request.


automatic parameterized registration of plugin derived permission sets

Is this request specific to one implementation of Sponge?
Yes, only SpongeForge
Sponge Version
1.12.2 7.4.7
What are you requesting?
Currently, the only way to get a (semi) complete list of permissions is to create a dummy user and assign all available permissions to it manually or running lp tree (in case of luckperms) after the server has been up for a long time.
It would be nice if (maybe also for API7.4) a functionality could be introduced, that automatically fetches all non argument based permission nodes and make them available as a list-file, callrequest or dbentry to the server admins.

This likely makes more sense as an issue for SpongeAPI rather than the Sponge repository, as it would be exposing functionality to developers

This likely makes more sense as an issue for SpongeAPI rather than the Sponge repository, as it would be exposing functionality to developers

damn, you right

I commented on the API issue (https://github.com/SpongePowered/SpongeAPI/issues/2427), but for completeness...
For what it's worth, this is actually very much an impl request, not an API. The ask here is to enable dumping all known permissions, which is an implementation thing - though there is an element of truth to developers being able to register known permissions (which an API for already exists - PermissionDescription on the PermissionService).
Thing is, the implementation request is wasted here. Sponge (generally) does not control permissions, that's down to a plugin. Equally, Sponge or other plugins cannot magically know what permissions exist on the server ahead of time without plugins registering the descriptions. The API already exists for plugins to register ahead of time - so for what  you want:

Permission plugin developers need to implement the PermissionDescription part of the permissions service (LuckPerms does this)
They need to support printing out all known plugins (LuckPerms also does this)
Other plugins that use permissions need to supply their permissions as PermissionDescriptions - most plugins don't do this

Sponge has no role to play here - for your problem it sounds like you need to talk to plugin developers who don't use the PermissionDescription API, not us, because ultimately, we don't the permission side of things unless there is no permissions plugin, then we just do op based permissions.
Now, all that said, there are scenarios where permissions cannot be known ahead of time. Take permissions that incorporate the world, x.y.<worldname>, where the permission signifies a target world (that is, can't otherwise be determined by standard contexts). How can a plugin know ahead of time that the permission might be needed? It can't! So to magically dump out all permissions is really a fools errand - some permissions cannot be determined ahead of use time.
TL; DR: plugin developers need to register them, we, and permissions plugins, can't magically know everything if they don't tell us. Sponge can't do anything here.

I commented on the API issue (https://github.com/SpongePowered/SpongeAPI/issues/2427), but for completeness...
For what it's worth, this is actually very much an impl request, not an API. The ask here is to enable dumping all known permissions, which is an implementation thing - though there is an element of truth to developers being able to register known permissions (which an API for already exists - PermissionDescription on the PermissionService).
Thing is, the implementation request is wasted here. Sponge (generally) does not control permissions, that's down to a plugin. Equally, Sponge or other plugins cannot magically know what permissions exist on the server ahead of time without plugins registering the descriptions. The API already exists for plugins to register ahead of time - so for what  you want:

Permission plugin developers need to implement the PermissionDescription part of the permissions service (LuckPerms does this)
They need to support printing out all known plugins (LuckPerms also does this)
Other plugins that use permissions need to supply their permissions as PermissionDescriptions - most plugins don't do this

Sponge has no role to play here - for your problem it sounds like you need to talk to plugin developers who don't use the PermissionDescription API, not us, because ultimately, we don't control the permission side of things unless there is no permissions plugin, then we just do op based permissions.
Now, all that said, there are scenarios where permissions cannot be known ahead of time. Take permissions that incorporate the world, x.y.<worldname>, where the permission signifies a target world (that is, can't otherwise be determined by standard contexts). How can a plugin know ahead of time that the permission might be needed? It can't! So to magically dump out all permissions is really a fools errand - some permissions cannot be determined ahead of use time.
TL; DR: plugin developers need to register them, we, and permissions plugins, can't magically know everything if they don't tell us. Sponge can't do anything here.

Thank you for the detailed analysis.
So forcing permissionDescription ain't a thing as well, because Sponge can not know.
That's kinda a dead end. Sad face.
Is it possible to make the addition of permissionDescription for the Devs more attractive? Like priority plugin checks or something?

In API-8, descriptions are intended to be used as "role templates", basically plugin defined groups that you can apply to other groups etc. In 7, that's not gonna happen now.
That said, how these descriptions are used is up to the permission plugin in question. If they make it compelling to use that function, plugins may follow suit.


Add tests for extracting elb name

Add test for extracting ELB name from an ELB hostname. Also correctly capitalized a number of initialisms.

@itajaja I added a test in this PR, would you mind checking if my assertions seem correct?

lgtm!


AMQCPP-643: Add an option to time out connection attempts when blocked in ensureConnectionInfoSent

Can you squash these into one commit, it's easier to deal with vs several small commits on a single related issue

@tabish121 Let me know if anything further is needed.


Bug: Error When Running "find" device

Unexpected behaviour
I tried to run ember-mug find but was presented with an error.
Expected behaviour
Found a device? I'm not sure what the output is supposed to look like.
Steps to reproduce

Run ember-mug find

Python Version
3.8.15
Operating System
macOS
Errors/Logs
Traceback (most recent call last):
  File "/usr/local/bin/ember-mug", line 8, in <module>
    sys.exit(run_cli())
  File "/Library/Python/3.9/site-packages/ember_mug/cli/__init__.py", line 13, in run_cli
    asyncio.run(cli.run())
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/Library/Python/3.9/site-packages/ember_mug/cli/commands.py", line 232, in run
    await self._commands[args.command](args)
  File "/Library/Python/3.9/site-packages/ember_mug/cli/commands.py", line 40, in find_device
    device = await find_mug(mac=args.mac, adapter=args.adapter)
AttributeError: 'Namespace' object has no attribute 'adapter'

After upgrading to python 3.13 I was able to run find without error.

After upgrading to python 3.13 I was able to run find without error.

Oh I'm glad it's working for you on 3.13. I have only specifically tested it on 3.10, 3.11 and 3.12.
I'll see if 3.13 is fully supported by the underlying libraries and if so I'll add support officially too this week.


Cross compilation for Skylake X

I have run into an issue where openblas (both v0.3.12 and v0.3.6) gives wrong results on Skylake X when compiled with DYNAMIC_ARCH=1 on a machine with an older cpu. When I add NO_AVX512=1 or compile on the Skylake X machine, everything runs fine.
Compiler: gcc/gfortran 7.5.0 and 9.3.0 (the Skylake X machine has 7.5.0, I have tested both 7.5.0 and 9.3.0 on the older machine).
I have attached the compilation logs, code and data that triggers the error. The code computes the Cholesky factorization of a 1107x1107 matrix with eigenvalues between 1 and 3.6 x 104. On Skylake X, the value of info from dpotrf_  is 65, wrongly indicating that the matrix is not positive definite.
The compilation logs are from three different builds:
on the older machine: make DYNAMIC_ARCH=1 NUM_THREADS=64 >log_old_machine.txt 2>&1
on the Skylake X machine: make DYNAMIC_ARCH=1 NUM_THREADS=64 >log_skylake.txt 2>&1
on the Skylake X machine: make DYNAMIC_ARCH=1 NUM_THREADS=64 TARGET=SANDYBRIDGE >log_skylake_target_sandy.txt 2>&1
Statically linking the test code to openblas on the older machine and running the binary on the Skylake X machine triggers the error. There is no error when I use OPENBLAS_CORETYPE=Haswell, or use the library from log_skylake.txt or log_skylake_target_sandy.txt.
log_old_machine.txt
log_skylake.txt
log_skylake_target_sandy.txt
code_and_data.zip

Thanks for the very comprehensive report - there was a long-standing bug in the cpu parameter assignment during DYNAMIC_ARCH builds fixed post 0.3.12, but I would not expect it to have caused this particular mess. Will try to reproduce this
tomorrow.

Please make sure to patch BIOS/microcode past this bug:
https://lists.debian.org/debian-devel/2017/06/msg00308.html
Or just throw latest microcode at the CPU, with all spectre bunch of fixes.
You code does fine, at least on haswell (and forced back to sandybridge) does not throw the error.

@brada4 that theory does not seem to fit the report that it works when compiled on the SKX (and if I read you correctly your test was on Haswell only ?)

Only failures are when skylakex code is invoked on a compatible CPU... I just checked the rest as well as possible + usual cold shower regarding microcode.

Please make sure to patch BIOS/microcode past this bug:
https://lists.debian.org/debian-devel/2017/06/msg00308.html
Or just throw latest microcode at the CPU, with all spectre bunch of fixes.

Thank you for this suggestion. I am not root, but the machine has rebooted after this package was installed, and dmesg shows that it runs microcode from June 2020 (search for 0x2006906):

$  dmesg | grep microcode
[    1.503570] microcode: sig=0x50654, pf=0x4, revision=0x2006906
[    1.503637] microcode: Microcode Update Driver: v2.2.

Thank you for confirming, your microcode is way past that accuracy problem from 3 years ago.
Your microcode is one version behind absolutely latest which would fix some power-meter related crypto dilemma, unrelated to numeric accuracy we are after.
https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/microcode-20201110

Reproduced with a build created on Sandybridge, not reproduced with a build made on Haswell even when setting the build TARGET for all common code to SANDYBRIDGE there. (Had to update binutils on the Sandybridge to get AVX512 code to compile, so it cannot be caused by an outdated assembler on the older machine). Quite disconcerting.

Problem appears to be unrelated to multithreading (though the falsely flagged matrix element does vary with thread count), and
if it was observed with 0.3.6 already it cannot be the AVX512 DGEMM kernel itself as it was disabled in that particular version.
Differences in SWITCH_RATIO,GEMM_PREFERRED_SIZE or DGEMM_UNROLL_MN play no role either.

closing as fixed (or at least worked around for now) by #3469


How to pass an event to another ViewController

I'm developing a calendar to show the user some events, and then the user selects some of them.
After that, I want to send selected events to another VC.
Generating events are on DefaultViewController of your code, and selection of the user is triggering on DefaultWeekView.
How can send the events to another VC?

Set a delegate in DefaultWeekView and implement this delegate in VC.
Are you new to iOS?


[EN DateTimeV2] resolution is None for text like "from around 1pm"

Describe the bug
resolution is None for text containing an unique combination of from and some time, some examples:

"i am feeling sick from around 1pm"
"I have pain and pressure in my lower abdomen, blurry vision and headache from around 2pm"

To Reproduce
from recognizers_date_time import DateTimeRecognizer; from recognizers_date_time import Culture; recognizer = DateTimeRecognizer(Culture.English); model = recognizer.get_datetime_model(); text = "I have pain and pressure in my lower abdomen, blurry vision and headache from around 2pm"; result = model.parse(text); for r in result: 	print(r.text, r.resolution, r.start, r.end, r.type_name)
Expected behavior
if the text is "from around 2pm today" then resolution is correct, should have the same behavior in above case.
Sample input/output
text = "I have pain and pressure in my lower abdomen, blurry vision and headache from around 2pm"
resolution = None
another_text = "i am feeling sick from around 1pm"
resolution = None
yet_another_text = "i will be back around 1am today"
resolution = {'values': [{'timex': '2020-08-14T13', 'Mod': 'since', 'type': 'datetimerange', 'sourceEntity': 'datetimepoint', 'start': '2020-08-14 13:00:00'}]}
Platform (please complete the following information):

Platform: Python
Environment: Python REPL
Version of package: 1.0.2a2

Additional context
Add any other context about the problem here.

(.venv38) avinash@avinash-ThinkPad-E490:~/repos/MMC$ python
Python 3.8.2 (default, Mar 21 2020, 16:51:37)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

from recognizers_date_time import DateTimeRecognizer
from recognizers_date_time import Culture
recognizer = DateTimeRecognizer(Culture.English)
model = recognizer.get_datetime_model()
text = "I have pain and pressure in my lower abdomen, blurry vision and headache from around 2pm"
result = model.parse(text)
for r in result:
...   print(r.text, r.resolution)
...
around 2pm None
for r in result:
...   print(r.text, r.resolution, r.start, r.end, r.type_name)
...
around 2pm None 78 87 datetimeV2.time
another_text = "i will be back around 1 am today"
result = model.parse(another_text)
for r in result:
...   print(r.text, r.resolution, r.start, r.end, r.type_name)
...
around 1 am today {'values': [{'timex': '2020-08-14T01', 'type': 'datetime', 'value': '2020-08-14 01:00:00'}]} 15 31 datetimeV2.datetime
yet_another_text = "i will be back around 1am today"
result = model.parse(yet_another_text)
for r in result:
...   print(r.text, r.resolution, r.start, r.end, r.type_name)
...
around 1am today {'values': [{'timex': '2020-08-14T01', 'type': 'datetime', 'value': '2020-08-14 01:00:00'}]} 15 30 datetimeV2.datetime
yet_another_text = "i am feeling sick from 1pm today"
result = model.parse(yet_another_text)
for r in result:
...   print(r.text, r.resolution, r.start, r.end, r.type_name)
...
from 1pm today {'values': [{'timex': '2020-08-14T13', 'Mod': 'since', 'type': 'datetimerange', 'sourceEntity': 'datetimepoint', 'start': '2020-08-14 13:00:00'}]} 18 31 datetimeV2.datetimerange
yet_another_text = "i am feeling sick from around 1pm today"
result = model.parse(yet_another_text)
for r in result:
...   print(r.text, r.resolution, r.start, r.end, r.type_name)
...
around 1pm today {'values': [{'timex': '2020-08-14T13', 'type': 'datetime', 'value': '2020-08-14 13:00:00'}]} 23 38 datetimeV2.datetime
yet_another_text = "i am feeling sick from around 1pm"
result = model.parse(yet_another_text)
for r in result:
...   print(r.text, r.resolution, r.start, r.end, r.type_name)
...
around 1pm None 23 32 datetimeV2.time

@LionbridgeCSII can you take a look in .NET and estimate a fix?

@tellarin, the behaviour in .NET is different than the one described here:
"i am feeling sick from around 1pm" -> "around 1pm" is extracted and resolved as Time
"i am feeling sick from around 1pm today" -> "around 1pm today" is extracted and resolved as DateTime.
I will try to make it extract "from around 1pm" as TimeRange instead.

Fixed first in .NET (#2252).


Error on setup still remians after latest update

@SeydX thank you for trying to fix the error that comes up with cannot assign celcius to undefinedl, unfortunately, it's still occurring.
Below is a ss of the error message.

this is with  homebridge-tado-platform v6.0.11

@boomcreativemartin
can u remove browser cache and try again pls?

I can confirm that it works after the cache refresh
Warmest Regards,
Martin
Martin Suker
Creative Director
BOOM. Creative Ltd
@.***
07835200375 makeaboom.uk
119 Roman Road
London E2 0QN
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient, please contact us immediately by replying to this email. Opinions, conclusions and other information in this message that do not relate to the official business of BOOM. Creative Ltd and shall be understood as neither given nor endorsed by it. The contents of any attachments in this e-mail may contain software viruses, which could damage your own computer system. Whilst BOOM. Creative Ltd have taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses.
On 22 Mar 2021, 21:10 +0000, Seyd @.***>, wrote:

@boomcreativemartin
can u remove browser cache and try again pls?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Sorry do you mind deleting my signature info from the request on GitHub, forgot to hide that :/
Thank you for all you do!
On 22 Mar 2021, 21:40 +0000, Seyd @.***>, wrote:

Closed #66.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

sure :)


Automated cherry pick of #1182: fix: role-list missing shared roles

Cherry pick of #1182 on release/2.10.0.
#1182: fix: role-list missing shared roles

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@0022264). Click here to learn what that means.
The diff coverage is 0%.

@@               Coverage Diff                @@
##             release/2.10.0   #1183   +/-   ##
================================================
  Coverage                  ?   7.93%
================================================
  Files                     ?     365
  Lines                     ?   57180
  Branches                  ?       0
================================================
  Hits                      ?    4536
  Misses                    ?   52243
  Partials                  ?     401

Flag
Coverage Δ

#aFlag
7.93% <0%> (?)

Impacted Files
Coverage Δ

pkg/cloudcommon/db/db_dispatcher.go
0% <ø> (ø)

pkg/compute/models/managedresource.go
0% <0%> (ø)

pkg/cloudcommon/db/fetch.go
0% <0%> (ø)

Continue to review full report at Codecov.

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

/lgtm
/approve


message properties

Query/Question
How can i put a message properties to the message
Why is this not a Bug or a feature Request?
I can't find any information about this
Setup (please complete the following information if applicable):

OS: Arduino
IDE: Arduino
Latest from git

Information Checklist
Please make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[ ] Query Added
[ ] Setup information Added

Hi @mZoda, could you please elaborate more? What message are you attempting to add properties to?

Hi thx for respond :) , yea i realize it was not complete :(.
Well i'm trying to use a ESP8266 for sending data to Azure IoT hub, and installed the "Azure Embedded SDK for C" from git.
And in the example there is a static message created , sending to IoT hub, its working. :) And then i need to add a message property, to be used for routing in the IoT hub. And thats my first problem, how do i add it in the "C" environment (i'm in the C#  field, and there i know how to do it...). Second problem is the "LITERAL_STRING" thing, how can i get the
"temp_span = az_span_copy(temp_span, AZ_SPAN_FROM_STR(" some text "));" to accept a String/charArray as parameter.
Mikael

Are you referring to this sample? https://github.com/Azure/azure-sdk-for-c-arduino/blob/main/examples/Azure_IoT_Hub_ESP8266/Azure_IoT_Hub_ESP8266.ino
In line 331, we publish to IoT Hub, is that where your first problem is? If you would like to add to the message, you can modify the size of telemetry_payload to account for enough space for your property. Then use az_span_copy to copy your property to the message.
AZ_SPAN_FROM_STR does not take in a C++ String Object but a constant char pointer (a C string). Of what type is your Temperature variable?

HI, thx for responding :)
Yes i started with the SDK sample, ah.. C string....
Temperatrure is a float, and size of message is far less that 128 byte.
Sample of message :
{"v":13.81,"ts":"2023-09-26 08:35:45","id":"HB75-28-299","q":null}
Yea, during the "send" it usually fail after 64-69 messages, and reboots with Exception (29)
/Mikael

Apologies for the delay @mZoda, in that case, were you able to convert your temperature to a char pointer? If so, it seems that your exception is one from the ESP8266 (storeprohibitedcause). How are you preparing the message?


Fixed bugs for profiles rendering seeded announcements. Users can log…

…in, view their announcements on profile, view other profiles and see that persons posts. Logged in users can comment sucessfully as well.

awesome stuff! Thank you doug.


Question: PreparedBatch RollBack

I am using a preparedBatch() [insert] and is it possible for the auto-commit to fail after the code enters the async response (ar).  If so, under what conditions?
repository.preparedBatch(this.cteSQL, batch, ar -> {
if (ar.succeeded()) {
res = getResult(ar.result());
emitter.onSuccess(res);
} else {
/*** Some other code ****/
});
I am having a situation where I am making calls to two repositories (one is Cassandra and other PostGres) using Flowable.fromArray(repos) and will return to the caller when I get the first successful result or the last error (using firstOrError()). When the Cassandra comes faster, under some condition, I see PostGres successful logging (after successful preparedBatch insert, aka after ar.succeeded()) but on querying the DBMS, I dont see the record in PostGres.
It is only happening at high volume. I am using PostGres CTE in my insert SQL statement. I am unable to recreate this in a standalone mode (once I recreate using a sample code, I will send them). I created a dummy class (Cassandra's equivalent) and when I return the dummy class, say in 10 ms, even before the PostGres call starts (before the execution of the preparedBatch statement), I can see the PostGres call getting abandoned. This is not an issue, as as long as I get a successful response from one of them, I am OK.
What is concerning is that I see logs that looks like PostGres returned successfully but something caused the rollback to happen after ar.succeeded() was executed. Is it possible?
Any help here will be a great support.

Julien Viet, would like to hear your response.


Add support for nRF54L15 DK

Cherry-pick of commits related to new DCDC configuration and nRF54L15DK description with production SoC.

Closing as https://github.com/nrfconnect/sdk-zephyr/pull/1988 takes over


New version: HTTPie.HTTPie version 2023.3.2

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.4 schema?

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/114796&drop=dogfoodAlpha

@wingetbot run


OCTO-825 overall metric

This implements the weighted approach to calculate delta on a derived KPI, which is equivalent to the overall metric, and resolves #44.

Coverage increased (+0.9%) to 76.844% when pulling e8d471f65daed6a34fdb3a0da5b018323136a924 on feature/OCTO-825-overall-metric into c0d43276def09f3c91e0eb660227bb514a409a0e on dev.


Notes occasionally get stuck on

Occasionally, while playing with a MIDI input, a note will get stuck on using Baby's First Synth. This could be due to a few things:

The MidiInput object is missing the MIDI Note Off event - less likely, as all MIDI events are handled via thread-safe callback and not polling.
The VoiceSelector object isn't assigning the MIDI Note Off event to the correct voice
The Envelope object isn't handling the MIDI Note Off event correctly - also less likely, as the majority of Note Off events do correctly change the Envelope state.

Changing the VoiceSelector to sequentially selecting voices instead of finding an "open" voice seems to help - not sure if this is still happening or not.

Most likely fixed with #16, still leaving open for a little bit longer just in case.

Unfortunately still happens :(


Docs for PSACT (PSA Configuration Templates)

This is to add docs for PSACT (PSA Configuration Templates).
@snasovich , Can you please tag people from your team who can provide docs context/content for PSACTs. Then, the docs team will review, refine and add to docs.

@snasovich Hi, Sergey, wanted to follow up on this. Do you have an estimate on when we should see more details on PSACTs from your team? Thanks!

Hi @martyav, when we create or update a PSACT, Rancher validates the PSACT object based on k8s requirements to ensure all fields' values are valid; when we delete a PSACT, rancher checks if it is used by any cluster and rejects the operation if it is true. So there is not much that could be wrong with the PSACT itself, which makes it hard for me to think of any troubleshooting guides 🤣
We can consider closing this issue if it sounds good to you. I am happy to provide more information if you have any questions.


refactor: enable Ivy and fix template type checking issues

Changes

enable Ivy and fix template type checking in Bazel

for libraries, examples, dev-app, CI
add postinstall task for ivy-ngcc and configure it for our SystemJS setup

pin to Angular 9.0.0-next.10 for this PR

Angular 9.0.0-next.11 brings in a lot of new template type checking errors

fix buggy show bounding box checkbox in connected-overlay-demo
fix stylelint to work with WebStorm plugin
restrict NodeJS version to 10.x

We can't go to NodeJS 12.x without dropping or upgrading Gulp to 4.x

API Changes

export ProgressBarMode type from mdc-progress-bar and mat-progress-bar
export MatDrawerMode type from mat-drawer
Add | null to mat-tab-body's @Input() origin: number;

TODO

[x] Remove need for any on @Input() stepControl: FormControlLike | any; in CdkStepper: https://github.com/angular/components/issues/16606
[x] Figure out how to resolve "Property 'focused' does not exist on type 'HTMLInputElement'." when binding to the focused property of a matInput through a template variable.
[x] Figure out how to bind value field from template variables
[x] remove (observableX | async)! workaround after cdkVirtualForOf is updated with better typing like ngForOf: https://github.com/angular/components/issues/17411. Fixed in PR https://github.com/angular/components/pull/17421.
[x] Figure out how to load ngModules in the browser after a successful Ivy compilation. Related issue: https://github.com/angular/angular/issues/31314#issuecomment-542447965
[ ] Figure out how to bind to [value] on a datepicker input w/o the need for any. This may be a conflict/bug with template type checking. There is some discussion of this here.
[ ] Determine what to do about the hundreds of template type checking errors for boolean and other @Inputs caused by Angular 9.0.0-next.11. Related discussion: https://github.com/angular/angular/pull/33066#issuecomment-542458251 and FW-1475.

Notes

Settting "fullTemplateTypeCheck": false for dev-app doesn't remove the need for many of the changes in this PR. false here means, do partial template type checking. It doesn't turn off template type checking.

Similarly "fullTemplateTypeCheck": false does not resolve the hundreds of errors from Angular 9.0.0-next.11.

Other related issues

QueryList is not iterable and can't be used directly in *ngFor with strict template type checking: https://github.com/angular/angular/issues/29842

Fixes #16606. Closes #16373.

It looks like the issue with the page not loading due to moduleDef undefined errors, may be related to this
 --create-ivy-entry-points  If specified then new `*_ivy_ngcc` entry-points
                             will be added to package.json rather than modifying
                             the ones in-place.
                             For this to work you need to have custom resolution
                             set up (e.g. in webpack) to look for these new
                             entry-points.
                             The Angular CLI does this already, so it is safe to
                             use this option if the project is being built via
                             the CLI.

We haven't set up any custom resolution in our SystemJS configuration AFAIK.

Also we should update the PR/commit message. This PR is actually turning on Ivy for the whole repository.

I've got a WIP PR open that contains these changes plus https://github.com/angular/components/commit/731b80de08f0495481822ff713f9365df3b1e4bf which starts to resolve all of the next.11 template type checking errors with "fullTemplateTypeCheck": true,.

It looks like<EMAIL_ADDRESS>requires TypeScript 3.6. I'm reverting to version of the Angular CLI related libraries to resolve this.

I had to revert Angular 9.0.0-next.11 as well as it runs into strange issues with ivy_test failing due to npm or yarn errors.

OK, hopefully this last push resolves the issues with the public_api_guard and updates the goldens so that everything is finally green.


change(v2): swap init parameter order for name and template

Motivation
Swap init command order for template and project name.
Previously our init command was
$ init [name] [template]

So in the doc we exemplify as
$ npx @docusaurus/init@next init my-website classic

This is not too bad. But we also accept git url for template, in which case the template argument will be very long and people will nearly certainly copy and paste.
$ npx @docusaurus/init@next init [name] https://github.com/wgao19/docusaurus-template-no-style.git

Then having template as the last argument is not as friendly as having it before the project name because people can copy and paste the whole thing and input a project name.
$ npx @docusaurus/init@next init https://github.com/wgao19/docusaurus-template-no-style.git [name]

Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)
NA
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

if we merge this now, need to make sure we release new alpha otherwise the order is wrong for certain version.
id prefer we do a revamp once and for all though. agree on defaulting it to classic template

I agree with Endi's suggestions.

and also if both options are not passed, we still prompt for name first and then template.

I agree with this, please keep this behavior. But please do not remove the default CLI command argument option. The brevity of just one copy and paste and be done with it is unparalleled.
Let me rephrase properly what I mean regarding the benefit of swapping the order:
Currently, we instruct people to initialize project like this
npx @docusaurus/init@next init [template] [name]

This is OK since they're both optional and the template classic is quite short and easy to type.
However, if we want to promote initializing projects from git repo, the behavior becomes:
npx @docusaurus/init@next init [your project] https://github.com/very-long/git-name-no-one-is-typing

People cannot copy and paste this string directly because there is a [your project] in the middle.
Then they'd have to copy the first section
npx @docusaurus/init@next init

Then type their project name or whatever,
[my project]

then copy and paste the git repo
https://github.com/very-long/git-name-no-one-is-typing

I think the "a lot of benefit" is rather subjective.. it's whether we want to promote the behavior of using repo as template. If we do want that, the difference is very non trivial.
Gatsby's command takes URL in middle doesn't mean it's the best experience.
However, I'm OK with closing this issue because currently both of you are against it. And I'm not very familiar with CLI development so I think I'm not the best person to make the call. I'll thereby close this issue to let you guys plan things properly.


Automate translation-database integration (alternate)

Add a script to simplify pulling translation data.
Alternative of #3915.
Fixes #3895.

Updated and rebased, in light of the recent Transifex sync. No changes to non-generated code were needed.


Striking Rule Element and @weapon.system.damage.dice

@weapon.system.damage.dice does not reflect the additional dice from a Striking Rule Element when it is applied to a synthetic strike from a Strike Rule Element.
I came upon this when applying Boost Eidolon to an Eidolon's strike which was built from a Strike Rule Element, but it can be reproduced using Monk stances as well many weapons.
Reproduction:
Create an actor with any weapon, such as a greatsword, and Watch This! feats.  Add Spell Effect: Runic Body to the actor.
Preview a damage roll for the strike.  Note that even when 2 damage dice are shown in the preview, due to Runic Body, the bonus for Watch This! remains at +2, instead of the expected +4 (2 * @weapon.system.damage.dice).

This feels more like a bug than a feature request, especially given the description of the "Striking" rule element in the documentation.

Updated this- apparently it isn't just limited to synthetic strikes.