[training] Add Cyclical Tracker

Description
Add Cyclical Tracker according to cyclical learning rate policy, as detailed in the paper Cyclical Learning Rates for Training Neural Networks.
close #37.

Codecov Report

Merging #1671 (f604a5e) into master (bb5073f) will decrease coverage by 1.31%.
The diff coverage is 63.18%.

@@             Coverage Diff              @@
##             master    #1671      +/-   ##
============================================
- Coverage     72.08%   70.77%   -1.32%
- Complexity     5126     5449     +323
============================================
  Files           473      509      +36
  Lines         21970    23952    +1982
  Branches       2351     2612     +261
============================================
+ Hits          15838    16953    +1115
- Misses         4925     5695     +770
- Partials       1207     1304      +97

Impacted Files
Coverage Δ

api/src/main/java/ai/djl/modality/cv/Image.java
69.23% <ø> (-4.11%)
:arrow_down:

...rc/main/java/ai/djl/modality/cv/output/Joints.java
71.42% <ø> (ø)

.../main/java/ai/djl/modality/cv/output/Landmark.java
100.00% <ø> (ø)

...main/java/ai/djl/modality/cv/output/Rectangle.java
72.41% <ø> (ø)

...i/djl/modality/cv/translator/BigGANTranslator.java
21.42% <ø> (-5.24%)
:arrow_down:

...odality/cv/translator/BigGANTranslatorFactory.java
33.33% <0.00%> (+8.33%)
:arrow_up:

...nslator/InstanceSegmentationTranslatorFactory.java
14.28% <0.00%> (-3.90%)
:arrow_down:

.../ai/djl/modality/cv/translator/YoloTranslator.java
8.33% <0.00%> (-0.50%)
:arrow_down:

.../modality/cv/translator/YoloTranslatorFactory.java
8.33% <0.00%> (-1.67%)
:arrow_down:

...i/djl/modality/cv/translator/YoloV5Translator.java
5.38% <0.00%> (-0.31%)
:arrow_down:

... and 247 more

Continue to review full report at Codecov.

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


'istioctl manifest diff': If the manifests are empty, fail

Resolves https://github.com/istio/istio/issues/29676

@esnible: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
5bac4bc351424120c3fbef9516122c6db79f180a
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@esnible: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
5bac4bc351424120c3fbef9516122c6db79f180a
link
/test release-notes_istio

lint_istio
5bac4bc351424120c3fbef9516122c6db79f180a
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Lots of courses are not available anymore

Math (Calculus)
Algorithms
Theory
Computer Networks
Operating Systems
Cloud Computing
Compilers
Parallel Computing
Natural Language Processing
Big Data
Program Design (Systematic Program Design)

Please add alternatives to the above.

That website hasn't been updated in a very long time. Don't follow the curriculum on that site.
Use the one here  on github, it's very active and up to date.


[Tool Parts] Enchanting-related crash

I enchanted a Titanium Gold pickaxe while testing, then tried to stack more enchants on with an anvil. Upon putting the enchanted book into the anvil with the pickaxe (or vice versa), the game immediately crashed back to the launcher.

crash-2022-03-24_01.14.57-client.txt

I am going to close this, as alpha+6 fixes this issue. If the crash persists, you are welcome to reopen this issue.


Service Principal Support?

Hello,
Most of the docs say "Service Principal Auth will be supported late 2020". Has it been implemented? If so, how do we set it up?
Thank you,

See #14
https://github.com/microsoft/powerplatform-actions/issues/14

I already see some work happening around this. See https://github.com/microsoft/powerplatform-actions/pull/52. Hopefully it is soon, along with the updated PAC CLI.

Sweet. Can't wait to try it out.
Thank you.


RuntimeError: CUDA error: device-side assert triggered

Hi, thanks for open sourcing your wonderful work, but I encounterd a few errors when trying to reproduce you results. Could you please help debug this issue?
Environment
Ubuntu 18.04, PyTorch 1.9.0, CUDA 11.1, A100. I installed a conda environment by following point-transformer.
Launch
run: bash tool/train.sh s3dis origin_multi-Ua-concat-latent_contrast-Ua-softnn-latent-label-l2-w.1
Config
Since I don't have 4 gpu, I modifed the gpu, batch_size and works parameters in pytorch/config/s3dis/origin_multi-Ua-concat-latent_contrast-Ua-softnn-latent-label-l2-w.1.yaml accordingly:
  train_gpu: [0]
  workers: 4  # data loader workers
  batch_size: 4  # batch size for training

Outputs
/opt/conda/conda-bld/pytorch_1623448265233/work/aten/src/ATen/native/cuda/IndexKernel.cu:97: operator(): block: [147,0,0], thread: [96,0,0] Assertion `index >= -sizes[i] && index < sizes[i] && "index out of bounds"` failed.
/opt/conda/conda-bld/pytorch_1623448265233/work/aten/src/ATen/native/cuda/IndexKernel.cu:97: operator(): block: [147,0,0], thread: [97,0,0] Assertion `index >= -sizes[i] && index < sizes[i] && "index out of bounds"` failed.
/opt/conda/conda-bld/pytorch_1623448265233/work/aten/src/ATen/native/cuda/IndexKernel.cu:97: operator(): block: [147,0,0], thread: [98,0,0] Assertion `index >= -sizes[i] && index < sizes[i] && "index out of bounds"` failed.
 Please do not use them for anything important until they are released as stable. (Triggered internally at  /opt/conda/conda-bld/pytorch_1623448265233/work/c10/core/TensorImpl.h:1156.)
  return torch.max_pool1d(input, kernel_size, stride, padding, dilation, ceil_mode)
Traceback (most recent call last):
  File "exp/s3dis/origin_multi-Ua-concat-latent_contrast-Ua-softnn-latent-label-l2-w.1/train.py", line 452, in <module>
    main()
  File "exp/s3dis/origin_multi-Ua-concat-latent_contrast-Ua-softnn-latent-label-l2-w.1/train.py", line 128, in main
    main_worker(args.train_gpu, args.ngpus_per_node, args)
  File "exp/s3dis/origin_multi-Ua-concat-latent_contrast-Ua-softnn-latent-label-l2-w.1/train.py", line 261, in main_worker
    loss_train, mIoU_train, mAcc_train, allAcc_train = train(train_loader, model, criterion, optimizer, epoch)
  File "exp/s3dis/origin_multi-Ua-concat-latent_contrast-Ua-softnn-latent-label-l2-w.1/train.py", line 323, in train
    loss = criterion(output, target, stage_list)
  File "/LOCAL2/ramdrop/apps/anaconda3/envs/pt/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "/LOCAL2/ramdrop/github/point_registration/contrastBoundary/pytorch/model/pointtransformer_seg.py", line 24, in forward
    loss_list += self.contrast_head(output, target, stage_list)
  File "/LOCAL2/ramdrop/apps/anaconda3/envs/pt/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "/LOCAL2/ramdrop/github/point_registration/contrastBoundary/pytorch/model/heads.py", line 251, in forward
    loss = self.main_contrast(n, i, stage_list, target)
  File "/LOCAL2/ramdrop/github/point_registration/contrastBoundary/pytorch/model/heads.py", line 222, in point_contrast
    if not torch.any(point_mask):
RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

full log: train-20220530_205425.log

Have you tried running the program with debug flag, or the CUDA_LAUNCH_BLOCKING=1 as suggested?

running with debug flag&CUDA_LAUNCH_BLOCKING=1 seems to give a more detailed log:
/opt/conda/conda-bld/pytorch_1623448265233/work/aten/src/ATen/native/cuda/IndexKernel.cu:97: operator(): block: [252,0,0], thread: [91,0,0] Assertion `index >= -sizes[i] && index < sizes[i] && "index out of bounds"` failed.
 Please do not use them for anything important until they are released as stable. (Triggered internally at  /opt/conda/conda-bld/pytorch_1623448265233/work/c10/core/TensorImpl.h:1156.)
  return torch.max_pool1d(input, kernel_size, stride, padding, dilation, ceil_mode)
Traceback (most recent call last):
  File "exp/s3dis/origin_multi-Ua-concat-latent_contrast-Ua-softnn-latent-label-l2-w.1/train.py", line 452, in <module>
    main()
  File "exp/s3dis/origin_multi-Ua-concat-latent_contrast-Ua-softnn-latent-label-l2-w.1/train.py", line 128, in main
    main_worker(args.train_gpu, args.ngpus_per_node, args)
  File "exp/s3dis/origin_multi-Ua-concat-latent_contrast-Ua-softnn-latent-label-l2-w.1/train.py", line 261, in main_worker
    loss_train, mIoU_train, mAcc_train, allAcc_train = train(train_loader, model, criterion, optimizer, epoch)
  File "exp/s3dis/origin_multi-Ua-concat-latent_contrast-Ua-softnn-latent-label-l2-w.1/train.py", line 323, in train
    loss = criterion(output, target, stage_list)
  File "/LOCAL2/ramdrop/apps/anaconda3/envs/pt/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "/LOCAL2/ramdrop/github/point_registration/contrastBoundary/pytorch/model/pointtransformer_seg.py", line 24, in forward
    loss_list += self.contrast_head(output, target, stage_list)
  File "/LOCAL2/ramdrop/apps/anaconda3/envs/pt/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "/LOCAL2/ramdrop/github/point_registration/contrastBoundary/pytorch/model/heads.py", line 251, in forward
    loss = self.main_contrast(n, i, stage_list, target)
  File "/LOCAL2/ramdrop/github/point_registration/contrastBoundary/pytorch/model/heads.py", line 191, in point_contrast
    labels = get_subscene_label(n, i, stage_list, target, self.nstride, self.config.num_classes)  # (m, ncls) - distribution / onehot
  File "/LOCAL2/ramdrop/github/point_registration/contrastBoundary/pytorch/model/basic_operators.py", line 14, in get_subscene_label
    return get_subscene_features(stage_n, stage_i, stage_list, x, nstride, **kwargs)
  File "/LOCAL2/ramdrop/github/point_registration/contrastBoundary/pytorch/model/basic_operators.py", line 42, in get_subscene_features
    x = x[neighbor_idx, :].view(p_to.shape[0], kr, x.shape[1]) # (m, kr, ncls)
RuntimeError: CUDA error: device-side assert triggered

Ahh, I found the problem, I created the conda environment and compiled pointops in point-transformer repo. But after I compiled the pointops in your repo, I found the training works.
Thanks for your quick reply!

Cheers.


Pp 10840 fix side nav disappearing when error on company number task

Context: For Stripe onboarding tasks, when ENABLE_STRIPE_ONBOARDING_TASK_LIST flag is on you're on a task and no data is submitted, the error page does not show the side navigation or the back link.

fixed this bug for the company number task

Closing this, replace with another PR.


[hammer] Allow leaf size to be configured

Codecov Report
Attention: Patch coverage is 0% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 28.28%. Comparing base (07aa77d) to head (3ed8eb8).
Report is 60 commits behind head on main.

Files
Patch %
Lines

hammer/hammer.go
0.00%
5 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #148       +/-   ##
===========================================
- Coverage   55.99%   28.28%   -27.71%
===========================================
  Files           8       15        +7
  Lines         759     1453      +694
===========================================
- Hits          425      411       -14
- Misses        265      963      +698
- Partials       69       79       +10

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


min-date, max-date not working & problem with versioning

See https://github.com/g00fy-/angular-datepicker/issues/189
Release 2.0.4 was commited https://github.com/g00fy-/angular-datepicker/commit/41d949bf91f9049a8407c89be2c6d11e8a485ad3, but the newest tag is still 2.0.3
Adding new tag should solve the problem mentioned above as npm/bower will be able to retrieve latest changes.

I got same problem with Angular 1.4+
Thanks @lukaszgrolik for pointing it out.
But when I tried to bower install the said commit 41d949bf91f9049a8407c89be2c6d11e8a485ad3, then the datepicker stopped working. No popup anymore.

min-date not working , max-date not working , date-change not working , anything working ?!!

+1

+1

+1

+1

+1 :c

+1

+1

I spend some time to understand how it work, because in demo all works.

@pink-bunny better use ui-bootstrap datepicker, it is flexible solution

I have ended up coping the latest source directly into my project to get around this issue.  This is not ideal.  I wonder when or if g00fy will address this?

+1


Current worldgen/seed not appropriate for server setting.

Several of us have done some exploring and found that the current worldgen is heavily, heavily ocean, resulting in very little land for people to explore or build on. I'm not sure what can be tweaked config wise, but all the  maps I've generated so far with our current RTG config are just occasional large islands in a vast ocean.

let me know once you get a good geographicalcraft config and I'll update the server with it.


Add required system properties to prevent Mockito from failing

Currently if you don't include the following it may fail to run tests with Mockito:
tasks.test {
systemProperties(Pair("otel.javaagent.experimental.field-injection.enabled", "false"))
}
if you're using Gradle groovy (build.gradle) so please add the following:
test {
systemProperty 'otel.javaagent.experimental.field-injection.enabled', 'false'
}
The tests with crash.
We should add these system properties if the user is using Mockito and enables observability via Digma**
relates to workaround provided by OTEL people:
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/8862#issuecomment-1619722050

Approach A

going to affect the runconfig runtime only
need to check if its a test goal/task
need to check if deps of module has Mockito
if both 3 and 2 are true, going to modify the system properties during runtime

sounds good, maybe we can just add the property though? Don't think it will do any harm


cleanup/destroy?

hi, how destroy a tooltip instance together with all the stuff it created ?
thanks!

never mind, as i figured in the code, this component can't be used that way, except you're ok with creating leaks all over the place.

@gbaumgart Feel free to help improve it


Add single work endpoint

What is this PR trying to achieve?
Return the expected result for a single Work
Who is this change for?
Those wishing to consume single Work API results.
Have the following been considered/are they needed?

[X] Tests?
[X] Docs?
[X] Spoken to the right people?

Resolves https://github.com/wellcometrust/platform-api/issues/129


Bump build-push-action version

bump version to docker/build-push-action@v4

fix typo

Thanks for the review. I reworked the PR to only bump the build-push-action version and to fix a typo.


Bump dataplane-operator to the latest commit

go get github.com/openstack-k8s-operators/dataplane-operator/api@a2e91a5bf0766dced548495bb84a2bcf96ae419e

for unblocking https://github.com/openstack-k8s-operators/install_yamls/pull/442
and fixing the CI for EDPM jobs

Duplicated of https://github.com/openstack-k8s-operators/openstack-operator/pull/420


corrected a missspelling

corrected recognizeable to recognizable

Thank you for your contribution!
I have accepted the spelling change, but it will take a little while until it is part of the official documentation on the SAP Help Portal.


🐞 webhook to discord

What happened?
I think maybe for webhook settings it can be implemented in a separate file because there are some differences in JSON format.
Reproduction Steps
//discord webhook standar
    dcBody := map[string]interface{}{
    		"content":        message.Text,
    		"username":       evt.Info.PushName,
    }
    dcpostBody, err := json.Marshal(dcBody)
    logrus.Info("webhook discord :", string(dcpostBody))
    resp, err := http.Post(config.WhatsappWebhook, "application/json", bytes.NewBuffer(dcpostBody))
        if err != nil {
                fmt.Println("Error sending request:", err)
        } else {
                defer resp.Body.Close()
                fmt.Println("Response status:", resp.Status)
        }
    //end diccord tool for web hook

Relevant log output
No response
Screenshots or Additional Context
No response
Application Version
4.18
Verification

[X] I have checked for existing closed issues and discussions.

I don't think this app has to follow Discord or any app rules. Right now, you just need to deal with this problem by making your own middleware. Or you can tell me more about your issue because I'm not very familiar with Discord


[WORKFLOWS-220] Create py-orca demonstration script

The goal of this script is to demonstrate how you can use py-orca to process a dataset (in this case, RNA-seq) using a series of workflow runs: nf-synstage, nf-core/rnaseq, and nf-synindex. I made some minor modifications to the py-orca module to make it easier to write this script. Its current location is temporary. We can discuss whether we want to move this to a subfolder or a separate repository.
One key improvement over the scripts that I wrote for NTAP is that I wanted to create an actual DAG. Doing this in Airflow would make this challenging for users to play around with it. Instead, I decided to experiment with Metaflow, which makes it easy to test a DAG locally (but offers the chance to deploy it to AWS later). It's similar to Prefect and Dagster. We can revisit this once we settle on a strategy for consistency between Airflow and non-Airflow DAGs.
python3 demo.py run --dataset_id syn51514585

Some of the components in this script (e.g. RnaseqDataset and TowerRnaseqFlow) could be reused in different contexts. We should also discuss if this is desirable and if so, where to store those abstract components (e.g. in py-orca or elsewhere).

[x] Document demo.py in README
[x] Parameterize the S3 output prefixes

Command and Output

❯ pipenv run python3 demo.py run --dataset_id syn51514585
Loading .env environment variables...
[2023-05-18T15:49:37.888-0700] {crypto.py:83} WARNING - empty cryptography key - values will not be stored encrypted.
Metaflow 2.9.1 executing TowerRnaseqFlow for user:bgrande
Validating your flow...
    The graph looks good!
Running pylint...
    Pylint not found, so extra checks are disabled.
2023-05-18 15:49:38.591 Workflow starting (run-id<PHONE_NUMBER>581424):
2023-05-18 15:49:38.599 [1684450178581424/start/1 (pid 40447)] Task is starting.
2023-05-18 15:49:40.521 [1684450178581424/start/1 (pid 40447)] [2023-05-18T15:49:40.515-0700] {crypto.py:83} WARNING - empty cryptography key - values will not be stored encrypted.
2023-05-18 15:49:40.952 [1684450178581424/start/1 (pid 40447)] Task finished successfully.
2023-05-18 15:49:40.997 [1684450178581424/load_dataset/2 (pid 40701)] Task is starting.
2023-05-18 15:49:43.384 [1684450178581424/load_dataset/2 (pid 40701)] [2023-05-18T15:49:43.379-0700] {crypto.py:83} WARNING - empty cryptography key - values will not be stored encrypted.
2023-05-18 15:49:47.468 [1684450178581424/load_dataset/2 (pid 40701)] Task finished successfully.
2023-05-18 15:49:47.482 [1684450178581424/transfer_samplesheet_to_s3/3 (pid 40914)] Task is starting.
2023-05-18 15:49:49.356 [1684450178581424/transfer_samplesheet_to_s3/3 (pid 40914)] [2023-05-18T15:49:49.352-0700] {crypto.py:83} WARNING - empty cryptography key - values will not be stored encrypted.
2023-05-18 15:49:54.487 [1684450178581424/transfer_samplesheet_to_s3/3 (pid 40914)] Task finished successfully.
2023-05-18 15:49:54.498 [1684450178581424/launch_synstage/4 (pid 40962)] Task is starting.
2023-05-18 15:49:56.278 [1684450178581424/launch_synstage/4 (pid 40962)] [2023-05-18T15:49:56.274-0700] {crypto.py:83} WARNING - empty cryptography key - values will not be stored encrypted.
2023-05-18 15:50:00.079 [1684450178581424/launch_synstage/4 (pid 40962)] 2023-05-18 15:50:00,079 - INFO - Found a previous run: my_test_dataset_synstage_2 (id='1OYvkISqWZ3XPt', state=<WorkflowState.SUCCEEDED: 'SUCCEEDED'>)
2023-05-18 15:50:00.080 [1684450178581424/launch_synstage/4 (pid 40962)] [2023-05-18T15:50:00.079-0700] {ops.py:145} INFO - Found a previous run: my_test_dataset_synstage_2 (id='1OYvkISqWZ3XPt', state=<WorkflowState.SUCCEEDED: 'SUCCEEDED'>)
2023-05-18 15:50:00.530 [1684450178581424/launch_synstage/4 (pid 40962)] Task finished successfully.
2023-05-18 15:50:00.543 [1684450178581424/monitor_synstage/5 (pid 40978)] Task is starting.
2023-05-18 15:50:02.377 [1684450178581424/monitor_synstage/5 (pid 40978)] [2023-05-18T15:50:02.374-0700] {crypto.py:83} WARNING - empty cryptography key - values will not be stored encrypted.
2023-05-18 15:50:03.997 [1684450178581424/monitor_synstage/5 (pid 40978)] 2023-05-18 15:50:03,996 - INFO - Workflow(run_name=my_test_dataset_synstage_2, id=1OYvkISqWZ3XPt, state=WorkflowState.SUCCEEDED) is now done!
2023-05-18 15:50:03.997 [1684450178581424/monitor_synstage/5 (pid 40978)] [2023-05-18T15:50:03.996-0700] {ops.py:273} INFO - Workflow(run_name=my_test_dataset_synstage_2, id=1OYvkISqWZ3XPt, state=WorkflowState.SUCCEEDED) is now done!
2023-05-18 15:50:04.413 [1684450178581424/monitor_synstage/5 (pid 40978)] Task finished successfully.
2023-05-18 15:50:04.425 [1684450178581424/launch_rnaseq/6 (pid 40984)] Task is starting.
2023-05-18 15:50:06.380 [1684450178581424/launch_rnaseq/6 (pid 40984)] [2023-05-18T15:50:06.375-0700] {crypto.py:83} WARNING - empty cryptography key - values will not be stored encrypted.
2023-05-18 15:50:09.552 [1684450178581424/launch_rnaseq/6 (pid 40984)] 2023-05-18 15:50:09,552 - INFO - Found a previous run: my_test_dataset_rnaseq_2 (id='2g9BNKlIOhe7r3', state=<WorkflowState.SUCCEEDED: 'SUCCEEDED'>)
2023-05-18 15:50:09.552 [1684450178581424/launch_rnaseq/6 (pid 40984)] [2023-05-18T15:50:09.552-0700] {ops.py:145} INFO - Found a previous run: my_test_dataset_rnaseq_2 (id='2g9BNKlIOhe7r3', state=<WorkflowState.SUCCEEDED: 'SUCCEEDED'>)
2023-05-18 15:50:09.970 [1684450178581424/launch_rnaseq/6 (pid 40984)] Task finished successfully.
2023-05-18 15:50:09.984 [1684450178581424/monitor_rnaseq/7 (pid 41018)] Task is starting.
2023-05-18 15:50:11.690 [1684450178581424/monitor_rnaseq/7 (pid 41018)] [2023-05-18T15:50:11.687-0700] {crypto.py:83} WARNING - empty cryptography key - values will not be stored encrypted.
2023-05-18 15:50:13.294 [1684450178581424/monitor_rnaseq/7 (pid 41018)] 2023-05-18 15:50:13,293 - INFO - Workflow(run_name=my_test_dataset_rnaseq_2, id=2g9BNKlIOhe7r3, state=WorkflowState.SUCCEEDED) is now done!
2023-05-18 15:50:13.294 [1684450178581424/monitor_rnaseq/7 (pid 41018)] [2023-05-18T15:50:13.293-0700] {ops.py:273} INFO - Workflow(run_name=my_test_dataset_rnaseq_2, id=2g9BNKlIOhe7r3, state=WorkflowState.SUCCEEDED) is now done!
2023-05-18 15:50:13.776 [1684450178581424/monitor_rnaseq/7 (pid 41018)] Task finished successfully.
2023-05-18 15:50:13.790 [1684450178581424/launch_synindex/8 (pid 41034)] Task is starting.
2023-05-18 15:50:16.107 [1684450178581424/launch_synindex/8 (pid 41034)] [2023-05-18T15:50:16.101-0700] {crypto.py:83} WARNING - empty cryptography key - values will not be stored encrypted.
2023-05-18 15:50:19.315 [1684450178581424/launch_synindex/8 (pid 41034)] 2023-05-18 15:50:19,315 - INFO - Found a previous run: my_test_dataset_synindex (id='2VK7DTe3habe5l', state=<WorkflowState.SUCCEEDED: 'SUCCEEDED'>)
2023-05-18 15:50:19.315 [1684450178581424/launch_synindex/8 (pid 41034)] [2023-05-18T15:50:19.315-0700] {ops.py:145} INFO - Found a previous run: my_test_dataset_synindex (id='2VK7DTe3habe5l', state=<WorkflowState.SUCCEEDED: 'SUCCEEDED'>)
2023-05-18 15:50:19.703 [1684450178581424/launch_synindex/8 (pid 41034)] Task finished successfully.
2023-05-18 15:50:19.715 [1684450178581424/monitor_synindex/9 (pid 41051)] Task is starting.
2023-05-18 15:50:21.526 [1684450178581424/monitor_synindex/9 (pid 41051)] [2023-05-18T15:50:21.523-0700] {crypto.py:83} WARNING - empty cryptography key - values will not be stored encrypted.
2023-05-18 15:50:23.151 [1684450178581424/monitor_synindex/9 (pid 41051)] 2023-05-18 15:50:23,151 - INFO - Workflow(run_name=my_test_dataset_synindex, id=2VK7DTe3habe5l, state=WorkflowState.SUCCEEDED) is now done!
2023-05-18 15:50:23.151 [1684450178581424/monitor_synindex/9 (pid 41051)] [2023-05-18T15:50:23.151-0700] {ops.py:273} INFO - Workflow(run_name=my_test_dataset_synindex, id=2VK7DTe3habe5l, state=WorkflowState.SUCCEEDED) is now done!
2023-05-18 15:50:23.551 [1684450178581424/monitor_synindex/9 (pid 41051)] Task finished successfully.
2023-05-18 15:50:23.565 [1684450178581424/end/10 (pid 41058)] Task is starting.
2023-05-18 15:50:25.807 [1684450178581424/end/10 (pid 41058)] [2023-05-18T15:50:25.802-0700] {crypto.py:83} WARNING - empty cryptography key - values will not be stored encrypted.
2023-05-18 15:50:25.872 [1684450178581424/end/10 (pid 41058)] Completed processing RnaseqDataset(id='my_test_dataset', samplesheet='s3://orca-service-test-project-tower-scratch/30days/my_test_dataset.csv', output_folder='syn51514559')
2023-05-18 15:50:25.873 [1684450178581424/end/10 (pid 41058)] synstage workflow ID: 1OYvkISqWZ3XPt
2023-05-18 15:50:25.873 [1684450178581424/end/10 (pid 41058)] nf-core/rnaseq workflow ID: 2g9BNKlIOhe7r3
2023-05-18 15:50:25.873 [1684450178581424/end/10 (pid 41058)] synindex workflow ID: 2VK7DTe3habe5l
2023-05-18 15:50:26.278 [1684450178581424/end/10 (pid 41058)] Task finished successfully.
2023-05-18 15:50:26.280 Done!

@thomasyu888 @BWMac Could at least one of your try to run the script locally as per my instructions in the README? In theory, the synindex step should work because DPE has admin access to the output_folder, but let me know if you experience otherwise.

@BWMac Giving it a shot now!


Is the traditional iterator version of "Drain" as implemented by a few other libraries something people actually want?

I'm not sure. I can implement it if so, though (with the method to create it called something like drain_iter I guess.)
Any opinions anyone has would be very much appreciated!

I just went ahead and did this.


Question:Denial of Service node-fetch not working after updating

I searched through stack overflow and found nothing.
I used the npm audit command and got this
https://www.npmjs.com/advisories/1556
found 10 low severity vulnerabilities in 1062 scanned packages
10 vulnerabilities require manual review. See the full report for details.
chingun@Chinguns-MacBook-Pro rn-starter % npm install node-fetch
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.

<EMAIL_ADDRESS>updated 1 package and audited 1062 packages in 3.911s

55 packages are looking for funding
run npm fund for details
found 10 low severity vulnerabilities
run npm audit fix to fix them, or npm audit for details

Just fixed the peer dependency problem in fetch-blob - @xxczaki can you create a new release?

Just fixed the peer dependency problem in fetch-blob - @xxczaki can you create a new release?


RHEL 9.0: use C.UTF-8 for images that only have glibc-minimal-langpack

We currently set en_US.UTF-8 for all images:
https://github.com/osbuild/osbuild-composer/blob/1c2c97c90023edb699b4f98d39ba5a275df1fcf2/internal/distro/rhel90/distro.go#L60
According to the glib team, if glibc-minimal-langpack is installed, only C.UTF-8 is available.
The following images should be affected:

qcow2
edge commit
bare metal
edge simplified installer

Images that install langpacks-en:

vhd
vmdk
openstack
ec2
anacond

I took this info from the package sets. Maybe need to verify it by looking at the fully dep-solved package list.
Downstream bug: rhbz#2000878

Should we not aim for uniformity and just go C.UTF-8 everywhere?

Should we not aim for uniformity and just go C.UTF-8 everywhere?

That was my first intuition as well, but it is quite late to change the default. But I am torn.

If we do set C.UTF-8 everywhere we should probably also remove langpacks-en from the images.

One other note: if a users sets a locale in the customisation, do we install the corresponding langpack? Or is that up to the user?

We should. But I don't recall if that's still a TODO.

Affected image types:
$ grep  -L "langpack-en" test/data/manifests/rhel_90-x86_64*
test/data/manifests/rhel_90-x86_64-edge_commit-boot.json
test/data/manifests/rhel_90-x86_64-edge_commit_rt-boot.json
test/data/manifests/rhel_90-x86_64-edge_container-boot.json
test/data/manifests/rhel_90-x86_64-image_installer-boot.json
test/data/manifests/rhel_90-x86_64-qcow2-boot.json
test/data/manifests/rhel_90-x86_64-qcow2_customize-boot.json
test/data/manifests/rhel_90-x86_64-tar-boot.json


Update how file's security metadata is retrieved following changes in the API response

Following the deployment of huggingface-internal/moon-landing/pull/11077, from now on, the API response of /{repo_type}s/{repo_id}/tree/{revision}/{path_in_repo} returns the security scan metadata of a file in the field securityFileStatus instead of security. This PR reflects these changes and should fix the failing tests.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Make it possible to filter Pocket items for unread, archived and all items

And to be able to filter by Pocket label would be excellent.

This would be useful because I have a big reading list on Pocket and after I've read and highlighted the article I archive it and then move it to my PKM for further refinement. The Pocket APi-v3 under retrieve as the option to get state
state     unread = only return unread items (default)     archive = only return archived items     all = return both unread and archived items


remove unused blur.fragment shader

This shader seems to have been used in ancient times, and its place is now taken by kernelBlur.
Here's a commit history from 11 years ago
https://github.com/BabylonJS/Babylon.js/commit/e413925bbc8f91250379d5485eafb80583cbd7f2#diff-3362dd451f8b3b9bdbc3c64e448907ea5b5dc56cc403e1f06dd2fc1b9f0f45b1
And this is what it is now
https://github.com/BabylonJS/Babylon.js/blob/master/packages/dev/core/src/PostProcesses/blurPostProcess.ts

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/15621/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15621/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15621/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15621/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15621/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15621/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15621/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15621/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15621/merge/testResults/webgpuplaywright/index.html

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15621/merge/testResults/webgl2playwright/index.html

I looked for "blur" and 'blur' in the whole repo, and this shader seems not to be used anymore, indeed! That could be a slight breaking change in case some people would have used this shader directly, but I think we are still safe to remove it.


Update maintainers for Vlv2DeviceRefCodePkg and Vlv2TbltDevicePkg (Bugzilla Bug 1353)

This issue was created automatically with bugzilla2github
Bugzilla Bug 1353
Date: 2018-11-22T03:53:17+00:00
From: Zailiang Sun <<zailiang.sun>>
To:   @mdkinney
CC:   david.wei, mang.guo, mike.wu, nobody, yonghong.zhu, zailiang.sun
Last updated: 2020-10-28T18:58:35+00:00

Comment 5688
Date: 2018-11-22 04:12:29 +0000
From: Zailiang Sun <<zailiang.sun>>
BTW, Zailiang and Yi will take the ownership for the following edk2-platfroms as well.
However, Zailiang and Yi do not have write access to the edk2 and edk2-platform repository. That is why we post comments here apply for write access to the repoes.
https://github.com/tianocore/edk2-platforms/tree/devel-IntelAtomProcessorE3900
https://github.com/tianocore/edk2-platforms/tree/devel-MinnowBoardMax-UDK2017

Comment 5720
Date: 2018-11-29 01:42:38 +0000
From: Yonghong Zhu <<yonghong.zhu>>
the Maintainers.txt already be updated.

Comment 5683
Date: 2018-11-22 03:53:17 +0000
From: Zailiang Sun <<zailiang.sun>>

Industry Specification: ---
Target OS: ---
Bugzilla Assignee(s): @mdkinney

The old maintainers (Wei, David and Guo, Mang) for the two edk2 pkgs are about to transfer to other projects in middle December and will no longer continue with the pkgs. Sun, Zailiang and Qian, Yi will be the new maintainers.
Zailiang had made a patch for the Maintainers.txt and send the patch to the edk2-devel mailling list.

Comment 14143
Date: 2020-10-28 18:58:35 +0000
From: @mdkinney
Access rights were granted.
Old issue that should have been closed before.

Comment 5721
Date: 2018-11-29 01:45:56 +0000
From: Yonghong Zhu <<yonghong.zhu>>
assign to Mike to give Zailiang and Qian Yi access rights.


Queue mode doesnt seem to work when testing Leshan client 2.0 + server 2.0

Version(s)
2.00
Which components
Server
Tested With
Leshan client and servers on 2.00
What happened
I am testing the queue mode in this scenario:

The client is sending updates every 5 min but client is behind a NAT and as it's using UDP, the server is sometimes losing the trace of the client because IP is changing on client side.
A Read operation is setup on server side with "no timeout" option on a /3/0/9 resource for example.
When client updates registration, then the read operation is not sent and marked as failed on web interface.

I am missing something ?
How to reproduce
No response
Relevant Output
No response

Hi,
At client side
Leshan Client doesn't really implement queue mode.
But with leshan-client-demo you can simulate it with :
-cp, --communication-period=<comPeriodInSec>
                             The communication period in seconds
                             It should be smaller than the lifetime.
                             It will be used even if -b is used.
-q, --queue-mode           Client use queue mode (not fully implemented).
 -r, --rehanshake-on-update Force reconnection/rehandshake on registration
                               update.

This should partially solve your NAT issue. (expect for observations)
At server side
Leshan Server implement queue mode but it does not provide facility to Queue/Store requests.
Note that LWM2M specification says :

Despite the title of the functionality, i.e. Queue Mode, this specification does not mandate an implementation to use queues nor does it specify where such a queue would exist (or any details of such queuing mechanism).

This is more a "client initiated mode" than a "queue mode".
Leshan server provides :

a PresenceService which help to know when the device should be awake/online or not. (This is heuristic because there is no way to know exactly if the client is reachable or not)
a ClientSleepingException when you try to send a request to a not reachable client.

Then user can build their own way to queue/store request if needed.

So you are saying that even if queue mode is enabled at client side using the -q parameter, then the server still have to really implement it ??
For now with the -q option a client side (leshan client demo 2.0), if I set a long lifetime of 600s for example, then I see the "zzzzz" sleeping state of the device in the top left corner in server webpage interface, then if I send a read request on some resource I have an error message in the right bottom corner like this :

Yep this is the expected behavior of leshan-server-demo.
Note that leshan-server-demo is just a demo not a production ready server.

then the server still have to really implement it ??

Yes if you are using Leshan Library to create your own LWM2M server; it's up to you to use to store request how you want and when presence service say you device is awake, just send this request like you want.

Ok ! Thanks for confirmation.
Do you know an example of production server that handles queue mode today in the "IoT industry" ?
Actually I am interested to "benchmark" this mode and see if there are some limitations etc ...
Then if we are interested reusing Eclipse Leshan we will use code and update code for our case

However I set a timeout of 30min, I would expect that the server will wait for next registration and queue the read request to then send it when client is sending it's registration update ...

Note that it would be very easy to implement an in memory version for leshan-server-demo but I 'm not sure it would be very useful.
Because :

either people will think this is production ready and will use it where it should not.
or they understand this is not production ready and so will need to implement in their own way anyway.

Do you know an example of production server that handles queue mode today in the "IoT industry" ?

You mean a library which store request out of the box ? Nope I don't know (but I never searched)
At Semtech/Sierrawireless we are using Leshan in our platform where most of our clients are using QueueMode.

Actually I am interested to "benchmark" this mode and see if there are some limitations etc ...

I'm not sure which kind of limitation you have in mind ?

Then if we are interested reusing Eclipse Leshan we will use code and update code for our case

I'm not sure I get you.
But you should just create your own Java Application with Leshan library as dependency (probably using maven, graddle) and just implement the needed behavior for queue mode on top of the Leshan API. You don't need to update Leshan code.
If you are talking about leshan-server-demo, you should not reuse it for production use case : https://github.com/eclipse-leshan/leshan/wiki/F.A.Q.#could-i-reuse-leshan--demo-

About limitations, ok there are no limitations in the queue mode concept, this was more on the way it would be implemented by the people who produce/code the server.
Yes I was not planning the change the library code but the leshan demo to add queue mode support for testing, anyway I have to look on some already production platform that supports LwM2M + queue mode (like Vodafone or others).
The goal at the end is to add LwM2M "support" for 2000-10000 beacons connecting with cellular...

The goal at the end is to add LwM2M "support" for 2000-10000 beacons connecting with cellular...

I implemented queue mode on top of Leshan for a customer's cellular applications with a larger number of devices, and it worked as expected.
I can understand Simon's concern about queuing in Leshan demo memory, but, well, if people deploy the Leshan demo in prod, they are already doomed.
It would make sense for people like you to try to understand how/when to use queue mode, especially if they aren't aware of UDP/NAT timeout issues.

I can understand Simon's concern about queuing in Leshan demo memory, but, well, if people deploy the Leshan demo in prod, they are already doomed.
It would make sense for people like you to try to understand how/when to use queue mode, especially if they aren't aware of UDP/NAT timeout issues.

When I found time, I could try to think how it could looks like. :thinking:

I try to  :

https://github.com/eclipse-leshan/leshan/pull/1645

Thanks a lot !

@EmbGangsta do you plan to test the PR ?
(Just to know if I wait your feedback before to integrate it in master ?)

OK so I integrated it now in master.
You can download it last master version at : https://ci.eclipse.org/leshan/job/leshan-ci/job/master/
Or you can test it directly at https://leshan.eclipseprojects.io/
I close the issue but you can reuse this issue OR the PR #1645 if you want to provide feedback about that.

Which JAR are you talking about ?
Because nothing change at Leshan Library level.
And the leshan-demo-server JAR is available at : https://ci.eclipse.org/leshan/job/leshan-ci/job/master/
(so theoretically nothing to recompile, except you are using a modify version of leshan-demo-server which does not smell so good :grimacing:)

No I will use your demo server JAR directly ;)

:relieved:


Add sphinx documentation site

This PR creates a Sphinx documentation site for deployment on the ReadTheDocs.
To build it locally:

Install the docs environment:

conda env create -f docs/environment.yaml

Activate the environment:

conda activate casanovo-docs

Navigate to the docs directory:

cd docs

Build the docs:

make html

To view the docs, open _build/html/index.html.

Note that test failed because I guess we've reached our egress limit with the model weights 🧐


set project name in composer.json to codeigniter/framework4

on next move, we can register at packagist under "codeigniter" package https://packagist.org/packages/codeigniter/

By the way, what is codeigniter/hmvc_xajax_ci?

I don't know, just see that codeigniter/framework exists for ci3

codeigniter/hmvc_xajax_ci is not an official package and is one put together by someone else. Not overly cool they put it in the codeigniter space.
I'm not 100% sure if this is the naming we'll use. What do you think @jim-parry ?

That other package is from 2014?, and based on 2.1.4!
It has no business being in the codeigniter namespace, though I don't know how we would go about getting that fixed.

How about asking the author to see if he/she can rename?

Asked. no response yet.
btw, the PR title suggests using codeigniter/framework4 ... perhaps we should use codeigniter4/framework instead, to provide a "namespace" for namespaced goodies intended for CI4 :-/

@jim-parry updated to codeigniter4/framework

I got in touch with the packagist maintainer, and he removed the other package. "codeigniter" is an official vendor namespace now.
I suggest that we move on adding "codeigniter4/...", and claim that vendor namespace too.


Create a proposal to improve "Test Executor" queue handling with a better way to handle capacity

@matheus-o1labs the output of this task is an RFC and a presentation of it in the Guild meeting.

Output: https://www.notion.so/minaprotocol/Roadmap-Optimizing-CI-816c2ce510584c55ab508840c13d17d0


FTDI: Implement probe speed configuration

If not set, this PR falls back to 1MHz which feels like a safe default. Previously, the speed was I think dependent on the FTDI chip, or maybe 2-3MHz, not sure.

Turns out this was easy enough to rebase on top of master instead of jtag so it's now ready for review separately.


Make it a selector prefixer too

I've changed it in my fork. Maybe some more options is enough.
.a .b { ... }

class prefix
.pre-a .pre-b { ... }

selector prefix
.pre .a .b { ... }

@hbrls There's a separate postcss plugin that can do this postcss-prefix-selector

exactly, thank you!


[Feature] - range selection

Is this a need for anyone using the package?

Hello im using this package and it would be a usefull upgrade

You are thinking in a selection that returns all the months between the two selected or just the borders?

Hi, it would be very usefull select between two month to bring data in that period for example from 1 Jan to 31 Mar when you select January and March.

If you need a colaborator to this task, tell me and i will work in a pull request with this change.

If you can, please send the pr.
I will look it later tonight

sorry i cant do it today, let me see in this days and i will clone the repository to do the pr.

@lautarozanuttini please use the new parameter rangeMode from the controller

Hello @Macacoazul01 i have finish with this new feature and add the pull request! thanks

@lautarozanuttini reviewed and fixed some bugs.
Its avaliable in version 4.0.0

Tks for the PR!

Thank you to trust and let me collaborate


Update duneanalytics.py

printing the results after each query is messy, assuming it was for debug purposes.

Full agree ! :)


Fix building on readthedocs

Pin sphinx to <3.0.0
Allow RTD to deal with versioning
Make some adjustments for RTD style

Here you can see how the docs build (based on this branch): https://sphinx-bluebrain-theme.readthedocs.io/en/latest/


check if health target buff contrast can be improved

I did this buy replacing the white overbuff icon with the original blue fill. Can be seen in the discord here https://discord.com/channels/254172918643163136/379443046179274753/1224910544356769812


Mat3.setIdentity() creates a 4x4 matrix

The setIdentity() function sets 16 values rather than 9. This is inconsistent with the rest of the code and may cause unexpected bugs or errors.
        setIdentity: function () {
            var m = this.data;
            m[0] = 1;
            m[1] = 0;
            m[2] = 0;
            m[3] = 0;
            m[4] = 0;
            m[5] = 1;
            m[6] = 0;
            m[7] = 0;
            m[8] = 0;
            m[9] = 0;
            m[10] = 1;
            m[11] = 0;
            m[12] = 0;
            m[13] = 0;
            m[14] = 0;
            m[15] = 1;

            return this;
        }

Hi,
You are talking about pc.Mat4 correct? Why is this inconsistent with the rest of the code? A pc.Mat4 is a 4x4 matrix so it has 16 values. The other methods in pc.Mat4 also set 16 values unless there is a method that doesn't somewhere?

Hi, I am referring to pc.Mat3, not pc.Mat4.
https://github.com/playcanvas/engine/blob/master/src/math/math_mat3.js#L115

Ah OK, thank you. We're not using pc.Mat3 that much internally so that one must have slipped. Fixed it.


module 'mediapipe' has no attribute 'solution'. Did you mean: 'solutions'?

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
Yes
OS Platform and Distribution
Window
MediaPipe Tasks SDK version
No response
Task name (e.g. Image classification, Gesture recognition etc.)
hand gesture
Programming Language and version (e.g. C++, Python, Java)
python
Describe the actual behavior
module 'mediapipe' has no attribute 'solution'. Did you mean: 'solutions'?

Describe the expected behaviour
It opens camera and will detect my hands

Standalone code/steps you may have used to try to get what you need
mpHands-mp.solution.drawing_utils
devices=AudioUtilities.GetSpeakers ()
interface=devices. Activate (IAudioEndpointVolume. _iid_,CLSCTX_ALL, None)
volume=cast(interface, POINTER(IAudioEndpointVolume))

Other info / Complete Logs
No response

@fishyville,
Please import the module 'solutions' not the 'solution', As code structure does not have such class or attribute(Check here) like below:
 mpHands-mp.solutions.drawing_utils
However, let us know if still an issue from your end.

oh, so thats what the mistake are. im so dumb. thanks

oh it kinda fix things but i got this instead:
unsupported operand type(s) for -: 'module' and 'module'

@fishyville,
Please provide the complete standalone code to reproduce the issue from our end?  Thank you

mpHands-mp.solutions.drawing_utils
The system are referring to the "drawing_utils"

@fishyville,
We are not able to understand the issue, Please provide the complete steps you are following, Or complete code to reproduce the issue. Thank you

import cv2
import mediapipe as mp
from math import hypot
from ctypes import cast, POINTER
from comtypes import CLSCTX_ALL
from pycaw.pycaw import AudioUtilities, IAudioEndpointVolume
import numpy as np
cap=cv2.VideoCapture (0)#checks for the availability of camera
mpHands=mp.solutions.hands#detects fingers
hands=mpHands. Hands () #completes the initialization and configuration of the hands and fingers
mpHands-mp.solutions.drawing_utils
devices=AudioUtilities.GetSpeakers ()
interface=devices. Activate (IAudioEndpointVolume. iid,CLSCTX_ALL, None)
volume=cast(interface, POINTER(IAudioEndpointVolume))
It shows this:
File "c:\Users\USER\OneDrive\Documents\trial 1\blabla.py", line 12, in
mpHands-mp.solutions.drawing_utils
~^~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for -: 'module' and 'module'
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.


json validation CI

consider gating PRs on whether they pass json validation in CI
there's a simple github action here to start: https://github.com/marketplace/actions/json-syntax-check

I believe this was done! Please re-open if not, and the current CI workflows are doing something different


Port NixOS tests to python

Motivation for this change
#72828
Things done

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

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

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

Notify maintainers
cc @tfc

@GrahamcOfBorg test overlayfs
@GrahamcOfBorg test osrm-backend
@GrahamcOfBorg test orangefs
@GrahamcOfBorg test nzbget
@GrahamcOfBorg test novacomd
@GrahamcOfBorg test nghttpx
@GrahamcOfBorg test nesting
@GrahamcOfBorg test mxisd
@GrahamcOfBorg test mutable-users

@GrahamcOfBorg test mutableUsers

@veprbl Any objections to merging this?


Include the field allow_forking for the repository resource

API reference:
https://docs.github.com/en/rest/reference/repos#:~:text=Default%3A false-,allow_forking,-boolean

Thank you, @diogopms for the report!  This has now been fixed.


feat(oss): list users via the API now supports offset, limit or after parameter

Related to https://github.com/influxdata/influxdb/pull/21367
Related to https://github.com/influxdata/influxdb-client-csharp/issues/190
List users via the API now supports offset, limit or after parameter.

@glinton PR is ready to merge, https://github.com/influxdata/influxdb/pull/21367 is merged into master


feat(blockifier): add send_message_to_l1 cairo native syscall

Implements the send_message_to_l1 syscall for native cairo syscall handler.

This change is

crates/blockifier/src/execution/native/syscall_handler.rs line 238 at r7 (raw file):

            message: MessageToL1 {
                to_address: EthAddress::try_from(to_address)
                    .expect("Failed to get EthAddress: {to_address}"),

Is this supposed to panic? If so, please document why failing to get the EthAddress should panic instead of returning an error.


Fix the case that left and right sprite text width are all zero.

make a check why this shit happens, might be DrawWidth equal to 0?
add a test case for just testing the time property in karaoke sprite text, also this test case should be able to adjust the time.

Fixed.


San Luis Obispo, CA - Letter to Mayor and City Council

To:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Subject:
A budget for the well-being of San Luis Obispo
Message: (Dont' forget to replace the [x]'s with your information)
Dear San Luis Obispo City Council,
My name is [YOUR NAME] and I am a resident of San Luis Obispo. I am writing to demand that the San Luis Obispo City Council adopt a city budget that prioritizes community well-being, and redirects funding away from the police.
In 2019, the City of San Luis Obispo allocated 36.3 million dollars to our police system, an inordinate 27.5% of our total budget. This is compared to just $9.7 million allocated towards community development (7.3% of the budget). with only $1.4 million towards housing development.
I demand that the City Council begin meaningfully defunding the San Luis Obispo Police Department and re-allocate those funds to programs proven to more effectively promote a safe and equitable community: community-based mental health services, substance abuse
treatment services, affordable housing programs, and more. I demand a budget that reflects the actual needs of San Luis Obispo residents.
History has shown that police "reform" is not enough. We must take a hard look at the way the current system in place fails to serve-and in fact actively harms-our community, and come together to reimagine the role of police in our city.
I am urging you to completely revise the budget for the 2020-2021 fiscal year, and to fund care not cops.
Thank you for your time,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]

I'm on it!


About the pretrained files

I cannot find how to download the pre-trained file:resnet101_msra-6cc46731.pth, can you help me?

You can use 'open-mmlab://detectron2/resnet50_caffe' in config, or download from the link:
https://download.openmmlab.com/pretrain/third_party/resnet101_msra-6cc46731.pth

Thank you very much!
---Original---
From: "Xiaonan @.>
Date: Mon, Apr 24, 2023 09:55 AM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [lxn96/ICPE] About the pretrained files (Issue #3)
You can use 'open-mmlab://detectron2/resnet50_caffe' in config, or download from the link:
https://download.openmmlab.com/pretrain/third_party/resnet101_msra-6cc46731.pth
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


[FR] - Inlcude KES period and KES remaining in live view

Exernal
Add KES period and KES remaining for block producer in Live View :
Output from:
cardano_node_Forge_metrics_currentKESPeriod_int
cardano_node_Forge_metrics_remainingKESPeriods_int
This would allow operators that monitor using Live View instead of  Grafana the ability to see that Block Producers are Started properly with KES skey at a glance and remaining time before they expire.
Default leave both these metrics blank for Relays or nodes not started with KES.skey return 0 for expired KES.skey in "remaningKESPeriods" section

Great idea!


Cannot nest Custom Types from Plugins

Godot version
3.4 stable
System information
Windows 10
Issue description
Background
I'm trying to refactor some of my code to a plugin.
I dislike the way the _global_script_classes is maintained. Bundling that into project.godot means that I have to commit that file whenever I add a new class_name, and the file doesn't always get updated immediately. (As an aside, can I disable that list, or simply not commit that block?) It might also not be beneficial for all the scripts to be loaded globally if not in use.
I also wish to maintain my addon as a submodule which is included across multiple projects, so updates to the module resulting in changes to the project.godot file can be a bit messy.
Thus for my add-on I don't want to touch that list, if possible. I'd like to add the nodes to the add menu using add_custom_type.
Issue
If I use add_custom_type to add a type where the base is a custom type I added a few lines prior, the type does not get added to the tree at all.  I'd expect it to appear as a hierarchy, as with native types and normal class_name classes.
Steps to reproduce
	add_custom_type(
		"BehaviorNode",
		"Node",
		preload('res://addons/behavior-trees/bt_base.gd'),
		preload('res://addons/behavior-trees/action_icon.png')
	)

	add_custom_type(
		"BehaviorAction",
		"BehaviorNode",
		preload('res://addons/behavior-trees/action.gd'),
		preload('res://addons/behavior-trees/action_icon.png')
	)

BehaviorAction does not appear in the Add tree.
Minimal reproduction project
No response

(As an aside, can I disable that list, or simply not commit that block?) It might also not be beneficial for all the scripts to be loaded globally if not in use.

No, but there are plans to move it to a separate file (which could be stored in project-specific metadata and therefore wouldn't be committed to version control).

Understood! Thank you for the fast turnaround and information.

No, but there are plans to move it to a separate file (which could be stored in project-specific metadata and therefore wouldn't be committed to version control).

Can I assist with those plans at all? I'd be very happy to see that happen.

Can I assist with those plans at all? I'd be very happy to see that happen.

Work on this hasn't started yet, but it may be implemented by either https://github.com/godotengine/godot/pull/48201 or https://github.com/godotengine/godot/pull/44879 already.
cc @willnationsdev

No, migration of this data to a dedicated metadata file has not been done in either of those commits. I believe the saving and loading of "custom types" is done in EditorData while the saving and loading of global script class information is handled in ScriptServer. As mentioned, CustomTypes are a legacy feature that just manually append additional TreeItems to the tree of classes in the CreateDialog and nothing more (the class isn't globally recognized as a type, doesn't exist at runtime, and has no "reflection" support, etc.). Global script classes are much more involved, even though both types of data are currently stored in the project.godot file.
You are welcome to add a PR to my branch to include that feature for 4.0 if you'd like. Not sure what the dev team would want the metadata file to look like though (where it goes, what it's called, formatted the same(?), etc.).

If that information can be provided or referenced (where and how the file should work) I can certainly take a crack at it. 😁

@XCompWiz I don't think any decisions regarding it have been made yet. My guess would be some C++ Resource type defined in the core alongside ScriptServer, and then ScriptServer saves to it / loads from it. As long as the corresponding logic in ScriptServer is adapted to match the file location / file format, then the implementation may not matter much, but idk if the conventions for such things have changed at all since I first came along. Maybe take a peek at the files saved to the new hidden godot directory and see what all files / formats are being stored there as inspiration.


animateToRegion

hi
how i can call animateToRegion in this component?
i use ref to get map and then call animateToRegion but it doesnt work and app crash
<MapView
ref = {(mapView) => this._mapView = mapView}
.... />

this._mapView.animateToRegion // not working!

Hi @venits great lib..thanks..can you please add support to animatToRegion? I am getting the same issue..

Try with:
this._mapView._root.animateToRegion({ coords })

You can use in the following way, I have tested it works,
this.refs._mapview.root.animateToRegion({})

You cant use this its working for me
<MapView
            ref = {(ref) => mapView=ref}
>

use following for animate:
const region = {
      latitude: ....,
      longitude: ...,
      latitudeDelta: .....,
      longitudeDelta: ....
    }
    mapView.root.animateToRegion(region, 1000);

Another approach
<ClusteredMapView  ref = {(ref) => this.mapView = ref} />
For animation function
this.mapView.getMapRef().animateToRegion({ region })

@ReinisL your are the man!!!!

H all, I changed implementation a little bit.
Now you have to use mapRef instead of ref.
Example:
<MapView mapRef={ref => this.mapView = ref} />
In case of any problems please open issue.


Minimum Insertion Steps to make string palindrome

🚀 Feature
I want to add the optimized code for minimum number of insertions to make string a palindrome.
Have you read the Contributing Guidelines on Pull Requests?
yes
Motivation
It is an important interview question.

/assign


Module 1 add delay restore timer

with nac-aci PR https://wwwin-github.cisco.com/netascode/nac-aci/pull/386

Please remove the default value as this attribute is only supported in APIC 6.0+
The code should use a null value if the variable is not specified in order to ensure backwards compatibility.

Please run the pre-commit checks and re-commit with the fixes.


feat(Trust-Manager): Incept && Re-Encrypt All Passthrough Routes

Switch from Passthrough to Re-Encrypt to Preserve Source IP

/test


Newproject

Not completely done yet, have to fix some problems with the .kv file. Try to merge soon.

Finally merged the stuff we've been working on. There are still some issues, like switching from text writing and the drag and drop, but ill hopefully be able to commit some changes to those soon.


feat: signJWT, verifyJWT and decodeJWT utils

🔗 Linked issue
#17
❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[x] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Resolves #17.
The following JWT utilities will be available with this PR (migrated from unjwt):

signJWT
verifyJWT
decodeJWT

I have kept the code as simple as possible to cover the basic needs for JWT signing, verification and decoding. Method parameters have a balance between sensible defaults and customization.
Example usage:
import { decodeJWT, signJWT, verifyJWT } from 'uncrypto/jwt'

interface JWTUserClaims {
  email: string
}

const secret = 'secret'
const issuer = 'https://domain.com'

// Sign a JWT
const accessToken = await signJWT<JWTUserClaims>({
  payload: {
    email<EMAIL_ADDRESS>  },
  secret,
  issuer,
  audience: issuer,
})

// Verify a JWT
try {
  const verifiedAccessToken = await verifyJWT({
    token: accessToken,
    secret,
    issuer,
    audience: issuer
  })
}
catch (error) {
  // Handle error
  console.error(error)
}

// Decode a JWT – does not verify the signature
const decodedAccessToken = await decodeJWT<JWTUserClaims>(accessToken)
console.log(decodedAccessToken.email)

Please verify if the general direction of this PR makes sense to you. If you, I'm willing to add tests as best as I can.
Notes

I had to rename crypto.web and crypto.node to crypto-web, respectively crypto-node, because unbuild v2 complained about the file extensions.
No tests added yet. I have used these utils for a while now in some Nuxt projects and published them as unjwt package – explicitly without uncrypto, since I rely on unenv to resolve the usage von the Web Crypto API.
In one project which used jose, I successfully migrated to these new utilities. No user got logged out. 😋

Questions

atob and btoa are available in latest Node and worker versions, so I haven't added any usage of buffer. Is that OK for you?

📝 Checklist

[x] I have linked an issue or discussion.
[x] I have updated the documentation accordingly.

@pi0 Suggestions implemented. Thanks for the guidance!

@johannschopplich i think it is a still good idea sorry didn't have to check on it yet. Any reason you preferred to close?

Hi there, @pi0! I didn't mean to close this PR... I deleted some forked repos from my GitHub account and wasn't aware that this PR would be closed as a result.
No problem. I know you're working on a lot of projects and I don't have any expectations when contributing to OSS. 🙂
Having said that, I'm now using oslo/jwt for JWT handling. It's runtime-agnostic and feels a bit like an UnJS project.
Should I open this PR again?

Surely if you like to reopen i can handle the updates to merge as soon as could 👍🏼 I'm aware about oslo but kinda have some plans here that are unique ;) (Also we have OTP coming: #37)


PLG: new Mixtral 8x22B model for chat

Depends https://github.com/sourcegraph/sourcegraph/pull/61763
Status: On Hold - do not merge until sourcegraph/sourcegraph/pull/61763 is deployed & tested
This pull request adds a new Mixtral 8x22B chat model to the list of available models for PLG users.
The new model is marked as Cody Pro only and has the same maximum token limit as the existing Mixtral 8x7B model.

Added a new model entry for 'Mixtral 8x22B' with the appropriate model ID, provider, and usage details.

This change provides Cody Pro users with access to the new Mixtral 8x22B model added in https://github.com/sourcegraph/sourcegraph/pull/61763 once it is deployed.
Test plan

See if the new model shows up in your dropdown list.
Once https://github.com/sourcegraph/sourcegraph/pull/61763 is live, you can try using it for Chat to verify.

LGTM but let's test this end to end before we merge this PR. I’m concerned that it wont do well in chat without instruction tuning.
@abeatrix is it fine if I roll out the dotcom change and the cody gateway change tomorrow my am? it's a bit late now and the sg/sg build will take another half hour or so first :sigh:

YEa won't merge it until we have confirmed the new model is ready 😄


PHP 8.3 Hangs on extension installation

Describe the bug
Extenstion installation hangs to the point where I have to kill it with CTRL+C when using Github CLI + act extensions:
$ gh act pull_request --rm
I used this as a reference to build my YAML file examples/laravel-postgres.yml
Version

[ ] I have checked releases, and the bug exists in the latest patch version of v1 or v2.
[X] v2
[ ] v1

Runners

[ ] GitHub Hosted
[X] Self Hosted

Operating systems
ubuntu:latest
PHP versions
8.3
To Reproduce
I am using github cli with act extension
name: Laravel

on:
  push:
    branches: [ "development" ]
  pull_request:
    branches: [ "development" ]

jobs:
  laravel-tests:
    name: Laravel (PHP ${{ matrix.php-versions }})
    runs-on: ubuntu-latest

    services:
      postgres:
        image: postgres:15
        env:
          POSTGRES_DB: laravel_test
          POSTGRES_USER: laravel_user
          POSTGRES_PASSWORD: secret
        ports:
          - 5432:5432
        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3

    env:
      DB_CONNECTION: pgsql
      DB_HOST: <IP_ADDRESS>
      DB_PORT: 5432
      DB_DATABASE: laravel_test
      DB_USERNAME: laravel_user
      DB_PASSWORD: secret
      APP_ENV: testing
      CACHE_DRIVER: array
      SESSION_DRIVER: array
      QUEUE_CONNECTION: sync

    strategy:
      fail-fast: false
      matrix:
        php-versions: ['8.3']

    steps:
    - uses: actions/checkout@v4

    - name: Set up PHP
      uses: shivammathur/setup-php@v2
      with:
        php-version: ${{ matrix.php-versions }}
        extensions: mbstring, dom, fileinfo, pgsql
        coverage: xdebug
      env:
          runner: self-hosted
          fail-fast: true
          update: true

    - name: Install composer dependencies
      run: |
        composer install --prefer-dist --no-interaction --no-progress --optimize-autoloader

    - name: Prepare Laravel Application
      run: |
        php artisan key:generate

    - name: Configure database
      run: |
        php artisan config:cache

    - name: Seed Database
      run: php artisan migrate:fresh --force --database=${{ env.DB_DATABASE }}
      env:
        DB_PORT: ${{ job.services.postgres.ports[5432] }}

    - name: Execute tests
      run: php artisan test
      env:
        DB_PORT: ${{ job.services.postgres.ports[5432] }}

Expected behavior
To be successful
Screenshots/Logs
INFO[0000] Using docker host 'unix:///var/run/docker.sock', and daemon socket 'unix:///var/run/docker.sock'
[Laravel/Laravel (PHP 8.3)] 🚀  Start image=node:16-buster-slim
[Laravel/Laravel (PHP 8.3)]   🐳  docker pull image=postgres:15 platform= username= forcePull=true
[Laravel/Laravel (PHP 8.3)] using DockerAuthConfig authentication for docker pull
[Laravel/Laravel (PHP 8.3)]   🐳  docker pull image=node:16-buster-slim platform= username= forcePull=true
[Laravel/Laravel (PHP 8.3)] using DockerAuthConfig authentication for docker pull
[Laravel/Laravel (PHP 8.3)] Cleaning up services for job Laravel (PHP 8.3)
[Laravel/Laravel (PHP 8.3)] Cleaning up network for job Laravel (PHP 8.3), and network name is: act-Laravel-Laravel-PHP-8-3-7b115ce2b4101219694b5f956d7ebe569f1d7237b4091901102bedfa21f20f25-laravel-tests-network
[Laravel/Laravel (PHP 8.3)]   🐳  docker pull image=postgres:15 platform= username= forcePull=false
[Laravel/Laravel (PHP 8.3)]   🐳  docker create image=postgres:15 platform= entrypoint=[] cmd=[] network="act-Laravel-Laravel-PHP-8-3-7b115ce2b4101219694b5f956d7ebe569f1d7237b4091901102bedfa21f20f25-laravel-tests-network"
[Laravel/Laravel (PHP 8.3)]   🐳  docker run image=postgres:15 platform= entrypoint=[] cmd=[] network="act-Laravel-Laravel-PHP-8-3-7b115ce2b4101219694b5f956d7ebe569f1d7237b4091901102bedfa21f20f25-laravel-tests-network"
[Laravel/Laravel (PHP 8.3)]   🐳  docker create image=node:16-buster-slim platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[Laravel/Laravel (PHP 8.3)]   🐳  docker run image=node:16-buster-slim platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[Laravel/Laravel (PHP 8.3)] container health of 7be83ae32548bdccb889bb8e2f9e4e2636542592e750b304a9ee31cc07a9cc3e (postgres:15) is starting
[Laravel/Laravel (PHP 8.3)] container health of 7be83ae32548bdccb889bb8e2f9e4e2636542592e750b304a9ee31cc07a9cc3e (postgres:15) is starting
[Laravel/Laravel (PHP 8.3)] container health of 7be83ae32548bdccb889bb8e2f9e4e2636542592e750b304a9ee31cc07a9cc3e (postgres:15) is starting
[Laravel/Laravel (PHP 8.3)] container health of 7be83ae32548bdccb889bb8e2f9e4e2636542592e750b304a9ee31cc07a9cc3e (postgres:15) is starting
[Laravel/Laravel (PHP 8.3)] container health of 7be83ae32548bdccb889bb8e2f9e4e2636542592e750b304a9ee31cc07a9cc3e (postgres:15) is healthy
[Laravel/Laravel (PHP 8.3)]   🐳  docker exec cmd=[node --no-warnings -e console.log(process.execPath)] user= workdir=
[Laravel/Laravel (PHP 8.3)]   ☁  git clone 'https://github.com/shivammathur/setup-php' # ref=v2
[Laravel/Laravel (PHP 8.3)] 🧪  Matrix: map[php-versions:8.3]
[Laravel/Laravel (PHP 8.3)] ⭐ Run Main actions/checkout@v4
[Laravel/Laravel (PHP 8.3)]   🐳  docker cp src=/root/XXX/XXXXXXX/. dst=/root/XXX/XXXXXXX #<----- MASKED FOR PRIVACY
[Laravel/Laravel (PHP 8.3)]   ✅  Success - Main actions/checkout@v4
[Laravel/Laravel (PHP 8.3)] ⭐ Run Main Set up PHP
[Laravel/Laravel (PHP 8.3)]   🐳  docker cp src=/root/.cache/act/shivammathur-setup-php@v2/ dst=/var/run/act/actions/shivammathur-setup-php@v2/
[Laravel/Laravel (PHP 8.3)]   🐳  docker exec cmd=[/usr/local/bin/node<EMAIL_ADDRESS>user= workdir=
| [command]/bin/bash<EMAIL_ADDRESS>|
| ==> Setup PHP
| ✓ PHP Installed PHP 8.3.8
|
| ==> Setup Extensions
| php: symbol lookup error: php: undefined symbol: crypto_core_ristretto255_scalar_invert
| php: symbol lookup error: php: undefined symbol: crypto_core_ristretto255_scalar_invert
| php: symbol lookup error: php: undefined symbol: crypto_core_ristretto255_scalar_invert
^C[Laravel/Laravel (PHP 8.3)]   ❌  Failure - Main Set up PHP  # <----- HERE IS WHERE I EXITED WITH CTRL+C

[Laravel/Laravel (PHP 8.3)] Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.45/containers/02947697bb1bccdfb75a529a5db8c4063f0bee224eee9ef01575ad927916fc9a/archive?path=%2Fvar%2Frun%2Fact%2Fworkflow%2Fpathcmd.txt": context canceled
[Laravel/Laravel (PHP 8.3)] Cleaning up container for job Laravel (PHP 8.3)

Additional context
I am trying to set a Laravel test GitHUb workflow. Not sure what is wrong here.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1570

Questions ?
Please refer to the Backport tool documentation


Serverside loop?

Since server.start(); is the last function that has to be called, is there a way around this so that I can simutaniously run a server-side loop?
Or is the idea of a event driven server to avoid this?
example:
while (true) { 	serverDate = Date.now().getTime(); 	serverDateTwo = Date.now().getTime(); 	time = Timer.stamp(); 	localTime += serverDate / 1000; 	Sys.sleep(0.4); }

Closing this after I found this: https://github.com/5Mixer/mphx/blob/master/example/haxeflixel/pong/server/Main.hx

Absolutely, this is something that is certainly encouraged if the loop needs to do more than just, well, run. Check out this example https://github.com/5Mixer/mphx/blob/master/example/haxeflixel/pong/server/Main.hx , it has a custom loop.
The idea behind making a custom loop is before the loop starts, you call the listen method, and somewhere in the loop, you call server.update(delta).
In the example, I call the update function, which in turn tells all game objects to obey physics, etc.
Hope this helped.
On 19 Jun 2016, at 9:36 am, Linus Jakobsson <notifications<EMAIL_ADDRESS>wrote:
Since server.start(); is the last function that has to be called, is there a way around this so that I can simutaniously run a server-side loop?
Or is the idea of a event driven server to avoid this?
example:
while (true) {
serverDate = Date.now().getTime();
serverDateTwo = Date.now().getTime();
time = Timer.stamp();
localTime += serverDate / 1000;
Sys.sleep(0.4);
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/5Mixer/mphx/issues/31, or mute the threadhttps://github.com/notifications/unsubscribe/AIG5vszxcvj6eBHtr8DdpEWU6RVUSMozks5qNIEAgaJpZM4I5DnR.


Compilation fails in non-English locale settings

Nuitka version, full Python version, flavor, OS, etc. as output by this exact command.

python -m nuitka --version

$ > python -m nuitka --version
2.3.9
Commercial: None
Python: 3.12.4 (main, Jun  7 2024, 06:33:07) [GCC 14.1.1 20240522]
Flavor: Arch Python
Executable: /home/miketsu/Projects/PycharmProjects/Venvs/venv-3.12/bin/python
OS: Linux
Arch: x86_64
Distribution: Arch None
Version C compiler: /usr/bin/gcc (gcc 14.1.1).

How did you install Nuitka and Python
I installed Nuitka through pip in virtualenv.

The specific PyPI names and versions
It should be taken from this output if there specific packages involved, e.g. numpy, you are
expected to shorten this to the relevant ones.

python -m pip list -v

Package     Version Location                                                                            Installer
  ----------- ------- ----------------------------------------------------------------------------------- ---------
  Nuitka      2.3.9   /home/miketsu/Projects/PycharmProjects/Venvs/venv-3.12/lib/python3.12/site-packages pip
  ordered-set 4.1.0   /home/miketsu/Projects/PycharmProjects/Venvs/venv-3.12/lib/python3.12/site-packages pip
  pip         24.0    /home/miketsu/Projects/PycharmProjects/Venvs/venv-3.12/lib/python3.12/site-packages pip
  zstandard   0.22.0  /home/miketsu/Projects/PycharmProjects/Venvs/venv-3.12/lib/python3.12/site-packages pip

Many times when you get an error from Nuitka, your setup may be special
Try to compile anything, even a script to print('Hello world').

Also supply a Short, Self Contained, Correct, Example

Create a python file named script.py, with the following content:

#!/bin/env python3
print('Hello world')

Compile script.py without any option, except the output filename:

python -m nuitka script.py --output-filename=script.1.bin

If the compilation was successful, check that the locale settings are C.UTF-8 or en_*.UTF-8 through command locale.
Compile script.py again, use command line arguments same as step 2, but with a non-English LC_MESSAGES setting, such as zh_CN.UTF-8:

LC_MESSAGES=zh_CN.UTF-8 LANGUAGE= python -m nuitka script.py --output-filename=script.2.bin

Compilation will fail. You may see an error message like the following:

Nuitka-Options: Used command line options: script.py --output-filename=script.1.bin
Nuitka-Options:WARNING: You did not specify to follow or include anything but main program. Check options and make sure that is intended.
Nuitka: Starting Python compilation with Nuitka '2.3.9' on Python '3.12' commercial grade 'not installed'.
Nuitka: Completed Python level compilation and optimization.
Nuitka: Generating source code for C backend compiler.
Nuitka: Running data composer tool for optimal constant value handling.
Nuitka: Running C compilation via Scons.
Nuitka-Scons: Backend C compiler: gcc (gcc 14.1.1).
Nuitka-Scons: Backend linking program with 6 files (no progress information available for this stage).
/usr/bin/ld: 无效的 BFD 目标 None
collect2: 错误：ld 返回 1
scons: *** [/home/miketsu/Projects/PycharmProjects/Venvs/script.1.bin] Error 1
FATAL: Failed unexpectedly in Scons C backend compilation.
Nuitka:WARNING:     Complex topic! More information can be found at https://nuitka.net/info/scons-backend-failure.html
Nuitka-Reports: Compilation crash report written to file 'nuitka-crash-report.xml'.

Provide in your issue the Nuitka options used
Only --output-filename in the command line.

Addendum
Compile with option --standalone or --onefile will not trigger this case.

I do not reproduce it, probably because I don't have that locale.
def initScons():
    # Avoid localized outputs.
    os.environ["LANG"] = "C"
    os.environ["LC_ALL"] = "C"

The second line is probably the fix for your setup, forcing Scons launched processes to ignore your language choices. As we sometimes parse its outputs, that much be more robust.

Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html
Feedback on whether this is working is very welcome. Please do not share plans to do it; only confirm or deny that it is working.

Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html
Feedback on whether this is working is very welcome. Please do not share plans to do it; only confirm or deny that it is working.

Confirmed that this issue has been fixed in the latest development version (2.4rc6).

This is part of the 2.3.10 hotfix I made.


How to power the  TTGO-T-Display without using USB

Hi,
I would love to use the TTGO-T-Display without having the usb and battery connected.
I tried to put 5 volt on the 5v pin but that did not work for me. Is there an other solution that i'm missing?

If the 5V pin does not work, you should try the battery port, To make sure 5V won't burn the regulator, you should try to put 4.2V into it first.


Inconsistent usage of amdWebGlobal

https://github.com/umdjs/umd/blob/master/templates/amdWebGlobal.js
What about case when i have amd, but for any architecture reasons i dont use it, but i still want just to include library and get global variable.
More correctly will be:
        define(['b'], function (b) {
               return factory(b);
        });
        root.amdWebGlobal = require('b');

because global variables are for "inline" usages, not for amd approach.
"backward compatibility" of libraries should not be affected by my architecture.
why by adding third party amd it should breaks existing usages of any library?
this is definitely wrong approach.

+1

Example of real problem: https://github.com/DmitryBaranovskiy/raphael/pull/1026#issuecomment-182841474


How can I change parameter for the previous page on GoBack?

What is the best way? It seems that OnNavigat... methods are not good for such things
Thank you in advance.

I've figured out :) My solution is below:
My problem is that a page at some action changes the state used in the previous page. Changing BackStack is not supported at the navigation moment. But it is supported at any other moment. And I change the BackStack right at the action that changing the state. The code example is below:
public void MyChangeState(String newState)
{
var stack = NavigationService.Frame.BackStack;
var previousPage = stack[NavigationService.Frame.BackStackDepth - 1];
//In the latest version of Template10 it will be
// String paramToPage = NavigationService.SerializationSerivce;.Serialize(newState);
String paramToPage = SerializationService.Json.Serialize(newState);
var updatedPage = new PageStackEntry(previousPage.SourcePageType,
paramToPage, previousPage.NavigationTransitionInfo);
stack.Remove(previousPage);
stack.Add(updatedPage );
}


[Improvement] [24] Exercise & Training Program can have same name

[ ] Different Exercise can have the same name
[ ] Different Training Program can have the same name

Since we changed the meaning of uniqueness inside the project, this change is now not so important.


Problem with translation

Hi,
I've a problem with the translations.
e.g  if I translate the word "ciao" form italian to english, it still returns "ciao" . But if I translate  "ciao amici miei" it's correct.
I'm using the latest version of your class.

Hi,
indeed there is a bug. Guess I misinterpreted a parameter of the API request. I have an idea for a bugfix already, I will commit & publish it asap.

Done: https://github.com/chriskonnertz/DeepLy/releases/tag/v1.4.4
Thank you very much for reporting this bug! This helped a lot.

Thanks,  I'm going to test it in a few hours.

Great!

it's all ok!

Hello,  I’ll check this.


Fix LB issue

fix Loadbalancer issue during deployment
fix link at solution.md back to README.md
remove Readme.md, because we use README.md
finetune solution description 1 and 2.

@cpinotossi please check merge conflicts.


feat: v1.1 graffiti support

Pull request checklist
Please check if your PR fulfills the following requirements:

[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build (yarn build) was run locally and any changes were pushed
[x] Lint (yarn lint --check) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Closes #148
What is the new behavior?
Adds graffiti and timestamp fields to attestations. Changes the prove reputation circuit to only prove the rep in the state tree, not the epoch tree.
Removes the public signals from the aggregateEpochKeys proof.
Does this introduce a breaking change?

[ ] Yes
[ ] No

Other information

Ok, should be fixed

Search for GST there are still many variables remained
https://github.com/Unirep/Unirep/blob/280b443208e86c75322fedda01ec5cb3bb1df7b1/packages/core/src/UserState.ts#L173
https://github.com/Unirep/Unirep/blob/3273d920d419cc82e84c54f3181b325418123fde/packages/core/src/Synchronizer.ts#L32
https://github.com/Unirep/Unirep/blob/280b443208e86c75322fedda01ec5cb3bb1df7b1/packages/circuits/test/utils.ts#L287
Can you check them in your local?
Since they are not in the pr

Ok all instances should be fixed

https://github.com/Unirep/Unirep/blob/d1f3c4b87f6dff0b6301bf38ba82de60d808c497/packages/circuits/test/utils.ts#L351
https://github.com/Unirep/Unirep/blob/d1f3c4b87f6dff0b6301bf38ba82de60d808c497/packages/core/src/Synchronizer.ts#L81
some comments still remain.
we don't need the type of circuitInput?
I think we can maintain it so in @unirep/circuits and @unirep/core we can more easily create circuitInputs and don't need to look at circom files

We don't use the ts definitions in the prover implementations. I think we can re-add them later, but for now we can use the docs.

some comments still remain.

I think it's okay for now, we can remove them as we go.


new_feature: Streamline process for admins to deactivate spammers.

This PR is created to fix the issue: #17100
GIFs or screenshots:

Closing this PR because while learning how to solve a merge conflict I have accidently ruined the commit history.
Opened this PR #17638 instead.


how to get config value during service attribute creation?

Is your feature request related to a problem? Please describe.
I need to read configuration before the Service class is instantiated. In the docs config is read using self.get('name') but self is not yet available during class declaration. Is there a way to achieve this functionality?
class MyService:
    name = "my_service"
    config = Config()
    // this line would throw an exception: 'Config' object has no attribute 'get'
    endpoint = config.get('endpoint')
    proactive_server_queue = create_queue(config.get('proactive_server_queue'))

    @http('GET', endpoint)
    def some_op(self, request, ):
        print('some_of called')

Describe the solution you'd like
I would like to be able to access configuration during service class declaration.
Describe alternatives you've considered
I tried the code above.
Additional context
N/A

You can do this with Nameko 3.
In Nameko 3, config is a global helper, so you can do almost exactly what you have in that snippet:
from nameko import config

class MyService:
    name = "my_service"

    @http('GET', config.get('endpoint'))
    def some_op(self, request):
         print('some_of called')

Nameko 3 is currently available as a pre-release. pip install --pre nameko to install it.

I doubt such feature would be implemented in nameko 2.x.
In such a case I would propose to close this issue as resolved in 3.x.


Support cpu.frequency hardware requirement for mrack

Pull Request Checklist

[x] implement the feature
[x] write the documentation
[x] extend the test coverage
[x] update the specification
[ ] adjust plugin docstring
[ ] modify the json schema
[ ] mention the version
[ ] include a release note

Blocked on https://github.com/teemtee/tmt/pull/3295

Rebased and updated,and it just occurred to me that I should update first
in order to put the code addressing the comments in one commit, then
rebased, will keep that in mind^^
On Sat, Nov 2, 2024 at 5:20 PM Miloš Prchlík @.***>
wrote:

@.**** commented on this pull request.
In spec/hardware/cpu.fmf
https://github.com/teemtee/tmt/pull/3297#discussion_r1826532800:

@@ -70,7 +70,7 @@ description: |
are also useful resources.

 .. versionchanged:: 1.38

  ``beaker`` plugins supports ``stepping``

  ``beaker`` plugins supports ``frequency`` and ``stepping``

Both release note and this versionchanged need an update, it's no longer
1.38 but 1.39.
—
Reply to this email directly, view it on GitHub
https://github.com/teemtee/tmt/pull/3297#pullrequestreview-2411221343,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKFR23FEK5YSOZBKUJIKMC3Z6SKOXAVCNFSM6AAAAABQDF2DPOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDIMJRGIZDCMZUGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Rebased and updated,and it just occurred to me that I should update first in order to put the code addressing the comments in one commit, then rebased, will keep that in mind^^

Red jobs are irrelevant failures, merged.

:tada:


[tool_crash] RPCError

Command
flutter run

Steps to Reproduce

...
...
...

Logs
RPCError
#0      new _OutstandingRequest (package:vm_service/src/vm_service.dart:261:34)
#1      VmService._call.<anonymous closure> (package:vm_service/src/vm_service.dart:1778:25)
#2      VmService._call (package:vm_service/src/vm_service.dart:1790:8)
#3      VmService.getVM (package:vm_service/src/vm_service.dart:1245:25)
#4      FlutterDevice.initLogReader (package:flutter_tools/src/resident_runner.dart:428:55)
#5      HotRunner.attach (package:flutter_tools/src/run_hot.dart:266:21)
<asynchronous suspension>
#6      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:867:27)
<asynchronous suspension>
#7      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1408:27)
<asynchronous suspension>
#8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#9      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#10     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:420:9)
<asynchronous suspension>
#11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:5)
<asynchronous suspension>
#13     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9)
<asynchronous suspension>
#14     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>

[✓] Flutter (Channel stable, 3.24.4, on Microsoft Windows [Version 10.0.22631.4391], locale en-IN)
    • Flutter version 3.24.4 on channel stable at D:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 603104015d (5 days ago), 2024-10-24 08:01:25 -0700
    • Engine revision db49896cf2
    • Dart version 3.5.4
    • DevTools version 2.37.3

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at C:\Users\kirut\AppData\Local\Android\sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: D:\AndroidStudio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
    • All Android licenses accepted.

[!] Android Studio (version 2024.1)
    • Android Studio at D:\Android Studio
    • 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
    ✗ Unable to determine bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2024.2)
    • Android Studio at D:\AndroidStudio
    • 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 21.0.3+-12282718-b509.11)

[✓] VS Code (version 1.94.2)
    • VS Code at C:\Users\kirut\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.98.0

[✓] Connected device (1 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 15 (API 35) (emulator)

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 603104015dd692ea3403755b55d07813d5cf8965
Plugins
cloud_firestore-5.4.4
cloud_firestore_web-4.3.2
file_picker-8.1.3
firebase_core-3.6.0
firebase_core_web-2.18.1
flutter_plugin_android_lifecycle-2.0.23

Closing this as a duplicate of https://github.com/flutter/flutter/issues/154903


[HUDI-5375] Fixing reusing file readers with Metadata reader within FileIndex

Change Logs
Fixing reuse of file readers for metadata table in FileIndex.
Impact
Fixing reuse of file readers for metadata table in FileIndex. This was the case from the starting. but one of the earlier refactoring reverted it (offending commit). Master is already fixed with this, but we are not pulling the large patch into 0.12.2 and so, here is the fix against 0.12.2.
Risk level (write none, low medium or high below)
low.
Documentation Update
N/A
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@hudi-bot run azure


replacing skos:definition with rdfs:comment

Replacing all skos:definition references with rdfs:comment. Note that the label in the HTML documentation reads 'Comments' instead of 'Definition' as the output is based on the property label. Working on a fix...

Sean, I expected the change to be to the ttl file, with pylode program changes to fix the html output. Are you planning on that as well? This file would then be replaced with that output. Ping me if you want to chat.


Docker image for 0.8.0 not published to natsio/nats-server-config-reloader

Same situation as what happened in #86 but for both natsio/nats-server-config-reloader and natsio/nats-boot-config.
v0.8.0 is not available on:

https://hub.docker.com/r/natsio/nats-boot-config
https://hub.docker.com/r/natsio/nats-server-config-reloader

v0.8.0 included dependency updates and is built on a later version of Go than v0.7.4, so there should be new versions.

@wallyqs
Is there some optimization that is going awry here?

Thanks for following up @liam-verta, we're changing the way these are published soon to keep them in sync. For now 0.8.0 images of both those images are now available in DockerHub.