【POEM】Finished training suddenly and all assert_file_exists output not found

I try to sh 'run.sh', and it seems that I meet all experience requirements, but I find the system Finished training suddenly and all assert_file_exists outputs 'not found'.
I can't understand what happens, Can someone help me? It's my first time to ask questions in English, this may make my question unclear, and I will try my best to think about anybody's response, thanks!
This is my log:

Building wheels for collected packages: wrapt, termcolor
Building wheel for wrapt (setup.py) ... done
Created wheel for wrapt: filename=wrapt-1.12.1-py3-none-any.whl size=19552 sha256=9bb47c22b3213eae33687d520405a6ad1af358742738563bf5677d2c120cdccf
Stored in directory: /home/zp/.cache/pip/wheels/4c/8d/0e/ecb228daca7bc2ae7f9a9d713ef75fce4a083de089869418b5
Building wheel for termcolor (setup.py) ... done
Created wheel for termcolor: filename=termcolor-1.1.0-py3-none-any.whl size=4830 sha256=747aa37b47651ca7e68b8a56cac12cbf58b0b9ea7bca97f9540358d75237ea5f
Stored in directory: /home/zp/.cache/pip/wheels/22/6d/f1/cee5814a13ba0c8ecd5ae67093238282c258bfdd6881b6b638
Successfully built wrapt termcolor
Installing collected packages: six, absl-py, numpy, protobuf, zipp, importlib-metadata, markdown, certifi, chardet, urllib3, idna, requests, grpcio, tensorboard-plugin-wit, werkzeug, cachetools, pyasn1, pyasn1-modules, rsa, google-auth, oauthlib, requests-oauthlib, google-auth-oauthlib, tensorboard, h5py, google-pasta, keras-preprocessing, wrapt, gast, opt-einsum, termcolor, tensorflow-estimator, astunparse, tensorflow, decorator, dm-tree, cloudpickle, tensorflow-probability, tf-slim
Successfully installed absl-py-0.11.0 astunparse-1.6.3 cachetools-4.1.1 certifi-2020.6.20 chardet-3.0.4 cloudpickle-1.6.0 decorator-4.4.2 dm-tree-0.1.5 gast-0.3.3 google-auth-1.23.0 google-auth-oauthlib-0.4.1 google-pasta-0.2.0 grpcio-1.33.2 h5py-2.10.0 idna-2.10 importlib-metadata-2.0.0 keras-preprocessing-1.1.2 markdown-3.2.2 numpy-1.18.5 oauthlib-3.1.0 opt-einsum-3.3.0 protobuf-3.13.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 requests-2.24.0 requests-oauthlib-1.3.0 rsa-4.6 six-1.15.0 tensorboard-2.3.0 tensorboard-plugin-wit-1.7.0 tensorflow-2.3.1 tensorflow-estimator-2.3.0 tensorflow-probability-0.11.1 termcolor-1.1.0 tf-slim-1.1.0 urllib3-1.25.11 werkzeug-1.0.1 wrapt-1.12.1 zipp-1.2.0

TRAIN_DIR=/tmp/e3d/train
mkdir -p /tmp/e3d/train
python3 -m poem.train --alsologtostderr --input_table=poem/testdata/tfe-2.tfrecords --train_log_dir=/tmp/e3d/train --batch_size=4 --num_steps=5 --input_shuffle_buffer_size=10 --summarize_percentiles=false
2020-11-03 12:27:16.959669: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1
WARNING:tensorflow:From /home/zp/code/pycharm/Pose_Invariant/env3/lib/python3.5/site-packages/tensorflow/python/compat/v2_compat.py:96: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Instructions for updating:
non-resource variables are not supported in the long term
WARNING:tensorflow:From /home/zp/code/pycharm/Pose_Invariant/env3/lib/python3.5/site-packages/tensorflow/python/ops/linalg/linear_operator_full_matrix.py:149: calling LinearOperator.init (from tensorflow.python.ops.linalg.linear_operator) with graph_parents is deprecated and will be removed in a future version.
Instructions for updating:
Do not pass graph_parents.  They will  no longer be used.
W1103 12:27:18.325209<PHONE_NUMBER>78496 deprecation.py:506] From /home/zp/code/pycharm/Pose_Invariant/env3/lib/python3.5/site-packages/tensorflow/python/ops/linalg/linear_operator_full_matrix.py:149: calling LinearOperator.init (from tensorflow.python.ops.linalg.linear_operator) with graph_parents is deprecated and will be removed in a future version.
Instructions for updating:
Do not pass graph_parents.  They will  no longer be used.
WARNING:tensorflow:From /home/zp/code/pycharm/Pose_Invariant/poem/core/models.py:97: batch_normalization (from tensorflow.python.keras.legacy_tf_layers.normalization) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.BatchNormalization instead.  In particular, tf.control_dependencies(tf.GraphKeys.UPDATE_OPS) should not be used (consult the tf.keras.layers.BatchNormalization documentation).
W1103 12:27:18.362956<PHONE_NUMBER>78496 deprecation.py:323] From /home/zp/code/pycharm/Pose_Invariant/poem/core/models.py:97: batch_normalization (from tensorflow.python.keras.legacy_tf_layers.normalization) is deprecated and will be removed in a future version.
Instructions for updating:
Use keras.layers.BatchNormalization instead.  In particular, tf.control_dependencies(tf.GraphKeys.UPDATE_OPS) should not be used (consult the tf.keras.layers.BatchNormalization documentation).
WARNING:tensorflow:From /home/zp/code/pycharm/Pose_Invariant/env3/lib/python3.5/site-packages/tensorflow/python/keras/legacy_tf_layers/normalization.py:336: Layer.apply (from tensorflow.python.keras.engine.base_layer_v1) is deprecated and will be removed in a future version.
Instructions for updating:
Please use layer.__call__ method instead.
W1103 12:27:18.365832<PHONE_NUMBER>78496 deprecation.py:323] From /home/zp/code/pycharm/Pose_Invariant/env3/lib/python3.5/site-packages/tensorflow/python/keras/legacy_tf_layers/normalization.py:336: Layer.apply (from tensorflow.python.keras.engine.base_layer_v1) is deprecated and will be removed in a future version.
Instructions for updating:
Please use layer.__call__ method instead.
WARNING:tensorflow:From /home/zp/code/pycharm/Pose_Invariant/env3/lib/python3.5/site-packages/tensorflow/python/training/moving_averages.py:458: Variable.initialized_value (from tensorflow.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Use Variable.read_value. Variables in 2.X are initialized automatically both in eager and graph (inside tf.defun) contexts.
W1103 12:27:18.705586<PHONE_NUMBER>78496 deprecation.py:323] From /home/zp/code/pycharm/Pose_Invariant/env3/lib/python3.5/site-packages/tensorflow/python/training/moving_averages.py:458: Variable.initialized_value (from tensorflow.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Use Variable.read_value. Variables in 2.X are initialized automatically both in eager and graph (inside tf.defun) contexts.
I1103 12:27:18.933850<PHONE_NUMBER>78496 pipeline_utils.py:308] Resume latest training checkpoint in: /tmp/e3d/train.
WARNING:tensorflow:From /home/zp/code/pycharm/Pose_Invariant/env3/lib/python3.5/site-packages/tensorflow/python/training/adagrad.py:77: calling Constant.init (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
W1103 12:27:19.484864<PHONE_NUMBER>78496 deprecation.py:506] From /home/zp/code/pycharm/Pose_Invariant/env3/lib/python3.5/site-packages/tensorflow/python/training/adagrad.py:77: calling Constant.init (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
WARNING:tensorflow:From /home/zp/code/pycharm/Pose_Invariant/env3/lib/python3.5/site-packages/tf_slim/learning.py:734: Supervisor.init (from tensorflow.python.training.supervisor) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.MonitoredTrainingSession
W1103 12:27:19.663510<PHONE_NUMBER>78496 deprecation.py:323] From /home/zp/code/pycharm/Pose_Invariant/env3/lib/python3.5/site-packages/tf_slim/learning.py:734: Supervisor.init (from tensorflow.python.training.supervisor) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.MonitoredTrainingSession
2020-11-03 12:27:19.780182: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2020-11-03 12:27:19.801271: I tensorflow/core/platform/profile_utils/cpu_utils.cc:104] CPU Frequency:<PHONE_NUMBER> Hz
2020-11-03 12:27:19.802094: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x8bb7aa0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-11-03 12:27:19.802106: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-11-03 12:27:19.834374: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcuda.so.1
2020-11-03 12:27:19.927968: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:982] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2020-11-03 12:27:19.928318: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x8bce8b0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2020-11-03 12:27:19.928330: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): GeForce GTX 1080 Ti, Compute Capability 6.1
2020-11-03 12:27:19.928462: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:982] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2020-11-03 12:27:19.928775: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: GeForce GTX 1080 Ti computeCapability: 6.1
coreClock: 1.582GHz coreCount: 28 deviceMemorySize: 10.92GiB deviceMemoryBandwidth: 451.17GiB/s
2020-11-03 12:27:19.928809: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1
2020-11-03 12:27:20.214316: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcublas.so.10
2020-11-03 12:27:20.218626: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcufft.so.10
2020-11-03 12:27:20.219405: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcurand.so.10
2020-11-03 12:27:20.224505: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcusolver.so.10
2020-11-03 12:27:20.227276: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcusparse.so.10
2020-11-03 12:27:20.227897: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudnn.so.7'; dlerror: libcudnn.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda-10.1/lib64:/usr/local/cuda-10.2/lib64::/usr/local/mpc-0.8.1/lib:/usr/local/gmp-4.3.2/lib:/usr/local/mpfr-2.4.2/lib:/usr/local/gcc-5.3.0/lib:/usr/local/gcc-5.3.0/lib64:/usr/local/cuda-10.1/extras/CUPTI/lib64
2020-11-03 12:27:20.227946: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1753] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2020-11-03 12:27:20.227998: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1257] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-11-03 12:27:20.228025: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1263]      0
2020-11-03 12:27:20.228047: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1276] 0:   N
INFO:tensorflow:Restoring parameters from /tmp/e3d/train/model.ckpt-00000006
I1103 12:27:20.233745<PHONE_NUMBER>78496 saver.py:1293] Restoring parameters from /tmp/e3d/train/model.ckpt-00000006
WARNING:tensorflow:From /home/zp/code/pycharm/Pose_Invariant/env3/lib/python3.5/site-packages/tensorflow/python/training/saver.py:1077: get_checkpoint_mtimes (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file utilities to get mtimes.
W1103 12:27:20.375499<PHONE_NUMBER>78496 deprecation.py:323] From /home/zp/code/pycharm/Pose_Invariant/env3/lib/python3.5/site-packages/tensorflow/python/training/saver.py:1077: get_checkpoint_mtimes (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file utilities to get mtimes.
INFO:tensorflow:Running local_init_op.
I1103 12:27:20.376783<PHONE_NUMBER>78496 session_manager.py:505] Running local_init_op.
INFO:tensorflow:Done running local_init_op.
I1103 12:27:20.393647<PHONE_NUMBER>78496 session_manager.py:508] Done running local_init_op.
INFO:tensorflow:Starting Session.
I1103 12:27:21.270997<PHONE_NUMBER>78496 learning.py:746] Starting Session.
INFO:tensorflow:Saving checkpoint to path /tmp/e3d/train/model.ckpt
I1103 12:27:21.287984<PHONE_NUMBER>31232 supervisor.py:1117] Saving checkpoint to path /tmp/e3d/train/model.ckpt
INFO:tensorflow:Starting Queues.
I1103 12:27:21.288069<PHONE_NUMBER>78496 learning.py:760] Starting Queues.
INFO:tensorflow:Recording summary at step 6.
I1103 12:27:21.492430<PHONE_NUMBER>45824 supervisor.py:1050] Recording summary at step 6.
INFO:tensorflow:global_step/sec: 0
I1103 12:27:21.823515<PHONE_NUMBER>38528 supervisor.py:1099] global_step/sec: 0
INFO:tensorflow:Stopping Training.
I1103 12:27:21.906329<PHONE_NUMBER>78496 learning.py:769] Stopping Training.
INFO:tensorflow:Finished training! Saving model to disk.
I1103 12:27:21.906489<PHONE_NUMBER>78496 learning.py:777] Finished training! Saving model to disk.
/home/zp/code/pycharm/Pose_Invariant/env3/lib/python3.5/site-packages/tensorflow/python/summary/writer/writer.py:387: UserWarning: Attempting to use a closed FileWriter. The operation will be a noop unless the FileWriter is explicitly reopened.
warnings.warn("Attempting to use a closed FileWriter. "
assert_file_exists /tmp/e3d/train/all_flags.train.json
[[ ! -f /tmp/e3d/train/all_flags.train.json ]]
script.sh: 37: script.sh: [[: not found
assert_file_exists /tmp/e3d/train/graph.pbtxt
[[ ! -f /tmp/e3d/train/graph.pbtxt ]]
script.sh: 37: script.sh: [[: not found
assert_file_exists /tmp/e3d/train/model.ckpt-00000005.data-00000-of-00001
[[ ! -f /tmp/e3d/train/model.ckpt-00000005.data-00000-of-00001 ]]
script.sh: 37: script.sh: [[: not found
assert_file_exists /tmp/e3d/train/model.ckpt-00000005.meta
[[ ! -f /tmp/e3d/train/model.ckpt-00000005.meta ]]
script.sh: 37: script.sh: [[: not found
assert_file_exists /tmp/e3d/train/model.ckpt-00000005.index
[[ ! -f /tmp/e3d/train/model.ckpt-00000005.index ]]
script.sh: 37: script.sh: [[: not found

Hello, thanks for your interest!
A couple of points:

The training finishes really fast because run.sh is only for testing the package requirements and checking that the training runs, and not for actual model training. Here train is called with num_steps=5 and so your training finishes quickly. For the paper, we trained with num_steps=5000000 but the model usually converges much earlier, so you could use num_steps=1000000.
You seem to have a bash syntax error based on the line "script.sh: 37: script.sh: [[: not found". This seem to occur when run.sh is checking for the existence of the checkpoint files. (You can also check this manually by seeing if the files are in /tmp/e3d/train)

Very very thank you!
-now, I change my num_steps and get a good result!
-I have checked /tmp/e3d/train, the checkpoint files is existing.  And  I find the cause of "script.sh: 37: script.sh: [[: not found" is vash syntax, you are right!
Thank you again!

No prob, glad it worked out! Feel free to close this issue if everything is good. :)


 (and possibly )

e5400b6 implements <SP> between words.
4f1e93d optionally converts trailing dashes (currently -, =, or ⸗ as per https://ocr-d.de/en/gt-guidelines/trans/level_2_3.html) to HYP and chopping them of the preceding word.


Add maven central badge

Link/show latest version in Maven central

Totally just stole this for https://github.com/Smithsonian/trippi-sparql .


View spec generator doesn't support namespacing

When view specs are generated for namespaced controller with rails g controller admin/users for example, the path to view in spec/views/admin/users/index.html.haml_spec.rb will be set to just users/index.html.haml.
I believe we need to add class_path here https://github.com/rspec/rspec-rails/blob/master/lib/generators/rspec/controller/templates/view_spec.rb#L3

This issue doesn't exist in new version of rspec-rail.
Please close this issue.


Use less instead of sass

to remove the dependency on ruby (and the compass gem) for local development.
Currently, there is 1 sass file https://github.com/feedhenry/mcp-standalone/blob/master/web/app/styles/main.scss
Suggesting using https://github.com/gruntjs/grunt-contrib-less or similar module to dynamically serve compiled css for local development with grunt serve, and to build css with grunt build task.

@maleck13 @jasonmadigan This one make sense to you?

Yes, makes sense. One less environmental dependency, and LESS has a comparatively rich feature-set for our needs I would say.


Inline Field array collapsing in Preview Mode

What happened?
I'm using tasks to record my workout stats, and the tasks include inline fields. One of them is an array of workout sets:
- [f] (type:: Squat) @ (weight:: 150)lbs = (sets:: 8,8,8)
The task displays as it should in Reading mode:
[ ] Squat @ 150lbs = 8,8,8
But the sets collapse in Live Preview mode:
[ ] Squat @ 150lbs = 8
This doesn't seem like a desirable behavior. Bug?
DQL
No response
JS
No response
Dataview Version
0.5.64
Obsidian Version
1.5.3
OS
Windows

I could repro and it seems that in LP, only the last value in the list of sets is actually displayed.
E.g.:
- [f] (type:: Squat) @ (weight:: 150)lbs = (sets:: 8,1,3)

... is rendered, in Live Preview, as:

And in Reading as:

As a workaround, maybe you could use something like :
- [f] (type:: Squat) @ (weight:: 150)lbs = (sets:: 8), (sets:: 8), (sets:: 8)

It's a bit redundant but it shouldn't really change how Dataview sees those 3 sets (as a list) while being displayed as such in LP 😊

Thanks, that does seem to work as a workaround! It is a bit ugly though, so I hope the bug is able to be squashed!


feat: ACI-1213 Use multipart upload

@rescuerunaways I see you have created a separate PR for the multi-threaded version. Do you intend to work on that so to close this?


Specs for DataAttribute batch_update

Marked as a draft until specs pass

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e25a267) 85.83% compared to head (0b1a507) 59.84%.
 Consider uploading reports for the commit fd0a3f4 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@               Coverage Diff                @@
##           development    #3755       +/-   ##
================================================
- Coverage        85.83%   59.84%   -25.99%
================================================
  Files             2040     1536      -504
  Lines            75646    46891    -28755
================================================
- Hits             64929    28063    -36866
- Misses           10717    18828     +8111

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


Misc. SD terminology and glossary fixes

Section 1.4.1 Para 13
Removal of 'Key Chaining' from glossary.
Section 1.4.2
Consider adding the following terms to acronyms table: IKE, SSH, RBG, FQDN, CRL, OCSP, FFC.
Consider splitting EC and DHE into two separate entries.
Consider removing entry for SAR, as this is standard CC terminology. Alternatively, include entries for both SAR and SFR.
CN and DN have incorrect ‘meaning’.
SAN abbreviation explained as a Storage Area Network. SAN as a Storage Area Network is not used anywhere in the SD, while SAN as a Subject Alternative Name is used in multiple places.

Key Chaining Removed. All other acronyms added and/or corrected in section 1.4.2.
Fixed in editorial-SD-Fixes-v3_0

Issues resolved with PR #209


Question to Call

Can I do multiple call and receive only when the client answers the call?
I need use the Zoiper? I wanna do without applications.
One example?

No idea what you're asking. AsterNET doesn't actually handle audio, but controls call flow via Asterisk.

I want to pass a short list of numbers to make calls, and when one is answered be notified and talk.
I can make a call, but I have to set up and use ZoiPer.


Add the new Flag icon to the set

We need to add the icon Flag to the set of icons. Here is the page with the vector

This issue was transferred from creativecommons/vocabulary.


chore: remove unnecessary img patch in make deployODH

A new image has been built to help with testing out this PR: quay.io/opendatahub/data-science-pipelines-operator:pr-592
An OCP cluster where you are logged in as cluster admin is required.
To use this image run the following:
cd $(mktemp -d)
git clone git@github.com:opendatahub-io/data-science-pipelines-operator.git
cd data-science-pipelines-operator/
git fetch origin pull/592/head
git checkout -b pullrequest d3a07032dc12bb85bcb4e76367aba4ab65c57856
oc new-project opendatahub
make deploy IMG="quay.io/opendatahub/data-science-pipelines-operator:pr-592"

More instructions here on how to deploy and test a Data Science Pipelines Application.


[Task]: Rename Indexation Payload to Data Payload

Task description
Indexation payload type (chrysalis) now lives in the Tagged (arbitrary) Data that we have on payload. So let's rename it in the code and label it "Data" payload
Requirements
N/A
Acceptance criteria
N/A
Creation checklist

[X] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[X] I have linked the correct milestone and/or project

Implemented in https://github.com/iotaledger/explorer/pull/286


fix(swarm): don't stomp on the x-registry-auth header EE-3308

If our docker proxy API is called directly with a valid X-Registry-Auth header defined by the docker API then we should leave it alone

Closes https://github.com/portainer/portainer/issues/7004


Added logging in case (un)deployment fails

@Salaboy @mswiderski this seems like a safe changed. What do you think?

fine with me, but not sure it makes sense to push it to 6.0.x, are we planning o make any further releases of 6.0.x?

@mswiderski good catch, I overlooked the 6.0.x. I think we should merge this into master only (at least for now).

@psiroky @mswiderski should I go ahead and merge this in master?

merged in master


Fix another mismatched type __e error

Hi,
I've found another example (similar to #33), which results in the following less helpful error: mismatched type __e.
#[async]
fn foobar() -> Result<(i32, i32), ()> {
    if false {
        return Ok(3);
    }
    Ok((1, 2))
}

Error:
error[E0308]: mismatched types
 --> <proc-macro source code>:1:1
  |
1 | __e
  | ^^^ expected integral variable, found tuple
  |
  = note: expected type `std::result::Result<{integer}, _>`
             found type `std::result::Result<(i32, i32), ()>`

error[E0271]: type mismatch resolving `<impl futures::__rt::MyFuture<<[generator@src/main.rs:7:39: 1:5 _] as std::ops::Generator>::Return> as futures::Future>::Item == (i32, i32)`
 --> src/main.rs:7:16
  |
7 | fn foobar() -> Result<(i32, i32), ()> {
  |                ^^^^^^^^^^^^^^^^^^^^^^ expected integral variable, found tuple
  |
  = note: expected type `{integer}`
             found type `(i32, i32)`
  = note: required because of the requirements on the impl of `futures::__rt::MyFuture<std::result::Result<(i32, i32), ()>>` for `impl futures::__rt::MyFuture<<[generator@src/main.rs:7:39: 1:5 _] as std::ops::Generator>::Return>`
  = note: the return type of a function must have a statically known size

With this PR, the error is:
error[E0308]: mismatched types
 --> src/main.rs:9:19
  |
9 |         return Ok(3);
  |                   ^ expected tuple, found integral variable
  |
  = note: expected type `(i32, i32)`
             found type `{integer}`

Edit: I've just applied this PR to a bigger project and it seems to have a bigger effect on the kind of reported errors than expected. For example errors like
error[E0271]: type mismatch resolving `<impl futures::__rt::MyFuture<<[generator@src/models/order.rs:324:57: 1:5 conn:_, order:_ _] as std::ops::Generator>::Return> as futures::Future>::Error == (postgres::Error, postgres_pool::Connection)`
   --> src/models/order.rs:324:6
    |
324 | ) -> Result<(Order, Connection), (DbError, Connection)> {
    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `postgres_pool::Transaction`, found struct `postgres_pool::Connection`
    |
    = note: expected type `(postgres::Error, postgres_pool::Transaction)`
               found type `(postgres::Error, postgres_pool::Connection)`
    = note: required for the cast to the object type `futures::Future<Item=(models::order::Order, postgres_pool::Connection), Error=(postgres::Error, postgres_pool::Connection)>`

are gone and replaced with errors that point directly to the lines inside the function that return the wrong type.

Oh don't worry errors tend to mystify me as well coming out of the compiler... Regardless looks great to me, thanks!


Release of aruba 0.13.0

@aslakhellesoy Would it be possible to automate things, say "push" articles to the cuke mailing list which have a special tag? When one of you releases a new version of the site?

@dg-ratiodata everything is possible if someone puts in the hours! Are you volunteering to do it? :+1:
What we can do is give you the commit bit on this repo so you can merge your own posts. That way you can maybe just reference the blog post in a mail to the list.

What we can do is give you the commit bit on this repo so you can merge your own posts. That way you can maybe just reference the blog post in a mail to the list.

That would be great and enough for me. :-) Thanks.

Anything else I need to know? How is the site deployed, or did you automate that bit?

Yes, CI deploys to production.

Ok.

@mattwynne Is it possible, that you gave me push access to "all" cucumber repos?
I wonder why I'm watching now quite a few cucumber projects. I suppose it's the "auto"-watch feature when gettting push access which made my account subscribe to all repos.
Although I'm grateful for the trust :-)  Is this intended?
Cheers,
Dennis

Yep, we trust you - we can always revert your changes if you make a mistake or go crazy on us!

Thanks! :-)


DWX-6365 Fixing ECR repository access

Updating ECRAccessRead policy:
Adding missing DescribeRepositories action: to be able to describe repositories on validation
Adding Describe images action to be able to describe images and see their version matches
Adding GetAuthorizationToken to be able to obtain a temporary token
See detailed description in the commit message.

Can one of the admins verify this patch?

verified


V2.2: dnsChallenge doesn't work

What did you do?
I configured a separate cert resolver for DNS challenges.
What did you expect to see?
Traefik using DNS challenge
What did you see instead?
Traefik complaining:
level=error msg="Unable to obtain ACME certificate for domains \"www.saakeskus.fi\" : cannot get ACME client ACME challenge not specified, please select TLS or HTTP or DNS Challenge" providerName=letsencrypt-dns.acme

Output of traefik version: (What version of Traefik are you using?)
Version:      2.2.0
Codename:     chevrotin
Go version:   go1.14.1
Built:        2020-03-25T17:32:57Z
OS/Arch:      linux/amd64

What is your environment & configuration (arguments, toml, provider, platform, ...)?
...
[certificatesResolvers.letsencrypt.acme]
  email =<EMAIL_ADDRESS>  storage = "/etc/traefik/acme/acme.json"

  [certificatesResolvers.letsencrypt.acme.tlsChallenge]

[certificatesResolvers.letsencrypt-dns.acme]
  email =<EMAIL_ADDRESS>  storage = "/etc/traefik/acme/acme.json"
  caserver = "https://acme-staging-v02.api.letsencrypt.org/directory"

  [certificateResolvers.letsencrypt-dns.acme.dnsChallenge]
    provider = "cloudflare"
    delayBeforeCheck = 0
...

The service container explicitly references letsencrypt-dns.
If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)
time="2020-04-01T09:54:48Z" level=debug msg="Looking for provided certificate(s) to validate [\"www.saakeskus.fi\"]..." providerName=letsencrypt-dns.acme
time="2020-04-01T09:54:48Z" level=debug msg="Domains [\"www.saakeskus.fi\"] need ACME certificates generation for domains \"www.saakeskus.fi\"." providerName=letsencrypt-dns.acme
time="2020-04-01T09:54:48Z" level=debug msg="Loading ACME certificates [www.saakeskus.fi]..." providerName=letsencrypt-dns.acme
time="2020-04-01T09:54:48Z" level=debug msg="Building ACME client..." providerName=letsencrypt-dns.acme
time="2020-04-01T09:54:48Z" level=debug msg="https://acme-staging-v02.api.letsencrypt.org/directory" providerName=letsencrypt-dns.acme
time="2020-04-01T09:54:49Z" level=error msg="Unable to obtain ACME certificate for domains \"www.saakeskus.fi\" : cannot get ACME client ACME challenge not specified, please select TLS or HTTP or DNS Challenge" providerName=letsencrypt-dns.acme

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.


Fix mistakes

I just fixed a few linguistic mistakes.

https://github.com/microsoft/calculator/pull/1518#issuecomment-810793068


Phi modelfile is incorrect

When I use phi ollama and put in the system prompt, it doesn't respond as well as it does in LM Studio.
Is the internal prompt in ollama correct?
LM Studio uses "Instruct:" and "Output:" as markers for the user's message and the assistant's message.
LM Studio: {"speech": "Hi!", "program": "null"}
Ollama:  Welcome to our chatbot program. How can I assist you today?
Here's the code I used:
import ollama

prompt = """You are Daniel.
Give a response as a JSON object with properties "speech" and "program". Both of these keys must always be filled. Do not reply with anything else other than a JSON object.
Example of JSON object: {"speech": "Hi!", "program": "null"}

Instruct: Hello!
Output: {"speech": "Hi!", "program": "null"}
Instruct: Can you open discord?
Output: {"speech": "Certainly!", "program": "discord"}
Instruct: Can you open firefox?
Output: {"speech": "Certainly! Here it is!", "program": "firefox"}
Instruct: Turn off the computer.
Output: {"speech": "Sure, I'll do that.", "program": "shutdown"}
Instruct: Goodnight.
Output: {"speech": "You too!", "program": "null"}"""

response = ollama.chat(model="phi",
    messages=[
        {
            "role": "system",
            "content": prompt
        },
        {
            "role": "user",
            "content": "Hello!"
        },
    ],
    stream=True
)

for chunk in response:
    print(chunk['message']['content'], end='', flush=True)

Also, should I post this in ollama-python instead of the main ollama repo?

Well, looks like the internal modelfile was prompted differently. Instead of Instruct: and Output:, it uses User: and Assistant:.

I fixed it by creating a new modelfile.

@mak448a Are you able to reproduce with the ollama CLI directory? If so, do you mind sharing the commands/steps you took?

Yes. I just ran ollama serve along with ollama run phi.

@mak448a Using the latest Ollama version running the lastest phi model and using your script (unmodified) I get:
{
    "speech": "Hello!"
}

Is that more like what you're looking for?

I'm going to close since we're unable to reproduce here. Please feel free to update / reopen if the issue persists.


Add line number to the generated pdf

we will take a look at the Apache FOP manual

This may not be required, solution could be having section numbers instead.

This can be closed - as we are no longer using docbook


Typed text disappear when reloading

When i start typing a message to someone or on a wall on my phone (lineageos16.0 with microg, no gsf) and the page is reloaded (happens ie when accidentally swiping down, or if the screen turns off due to inactivity) the typed text disappears. Same thing happens if i press reload in a browser window on the computer but that's much less likely to happen by accident.

Hi @nastybyte, thanks for reporting this! I also got hit by this multiple times, so definitely can confirm. Hopefully it can be fixed soon!

Possibly related to https://github.com/yunity/karrot-frontend/pull/1891


UI : Lowercase DBT label in WhatsNewPage

Describe your changes :

Lowercase DBT label in WhatsNewPage

Type of change :

[x] Improvement

Frontend Preview (Screenshots) :

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers
@open-metadata/ui

Thank you, sorry for being picky


docker image missing?

Let me preface this with a big and warm thank you for the work y'all have been putting into OpenSlides ❤
Describe the bug
The command following command from the README.rst fails:
# docker-compose up

How to Reproduce

$ git clone https://github.com/OpenSlides/OpenSlides.git --recurse-submodules
$ cd docker
create/modify secret files
# ./build.sh
$ m4 docker-compose.yml.m4 > docker-compose.yml
# docker-compose up

chris@x -> sudo docker-compose up
Pulling pgnode1 (openslides/openslides-repmgr:latest)...
ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.

Continue with the new image? [yN]
ERROR: pull access denied for openslides/openslides-repmgr, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

Expected behavior
From the README: OpenSlides runs on https://localhost:8000/ (◀ is it really https:// tho?)
System information

OpenSlides-Version: master
OS: Debian Unstable (5.10.0-3-amd64)
docker-compose --version: docker-compose version 1.25.0, build unknown

Additional context
I am very happy to help & create a PR but would need pointer to where I can start with this issue 😊

Hi, thanks for the report!
I think you misread one step: It is ./build.sh all instead of ./build.sh. the all builds all images ;) If omitted, just the images of this repository are built (server, slient, autoupdate, proxy) and not external ones.

is it really https:// tho?

yes. All communication relies on https.

I am having the same issue:

Pulling pgnode1 (openslides/openslides-repmgr:latest)...
ERROR: The image for the service you're trying to recreate has been removed.

but I had applied ./build.sh all and followed all steps as described in https://github.com/OpenSlides/OpenSlides#readme
Do I need to build extra what is in https://github.com/OpenSlides/openslides-docker-compose ?

It seems some dockers have not been built. Cloned and built all again. Now I did not apply git submodule update --init (which seems to be required only when upgrading form an older version).
In autoupdate/Docker I had to set golang:1.16.3-alpine3.12 (3.12.4 was not available).
Now all dockers have been built and start as expected. However Postgres cluster does not get available https://github.com/OpenSlides/OpenSlides/issues/5740#issuecomment-817197211


The random selection of 'pool_prop' before matching and selection

Hi there,
Thanks for your code!
I ran the code and only got 48.8 mIoU which is 1 mIoU inferior to the reported one in the paper.
I found that the code randomly selects part of the source dataset at each round before conducting image selection. And 'pool_prop' in ccm_config.yml determines this proportion, namely, 20% in default. Then around 1k images are selected from the remained 20% images.
Would this random selection process affect the performance? And is it enough to use only 1k source images for the training during each epoch? What is the best set of these hyper-parameters?

Hello,
Thanks for your interest in our paper.

There exist some fluctuations in performance, so I encourage you to perform multiple runs.
The main contribution of our paper is how to avoid negative transfer by selectively search positive source samples. The experiment result also justifies that our approach could achieve competitive results with about 1K source images.
The pool_prop is designed to minimize the pool size for source selection. We found that, employing 20% of source samples randomly, already enables our selection criterion to find positive samples. You surely could disable such a random process, which means you need to enumerate the whole source set (24996 images).
About the motivation of our source selection, I encourage you to refer to our paper for more details.


Figure 3-4. Dapr integration in eShopOnDapr.

Refer. Figure 3-4 Dapr integration in eShopOnDapr
Secrets and Service Invocation is numbered as 4. Service Invocation should be 5.

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

ID: 7c5a1dc6-9f1a-e030-9881-44e13ac6d450
Version Independent ID: 5808b993-1f47-7801-6c0c-1b5725cd9711
Content: Introduction to the eShopOnDapr reference application
Content Source: docs/architecture/dapr-for-net-developers/reference-application.md
Product: dotnet-architecture
GitHub Login: @amolenk
Microsoft Alias: nanil

Hi @amlaminaar , Thank you for your valuable feedback.
It was updated and current legend Looks Good!.

I am closing this issue as it has already been addressed. Please feel free to reopen it, if you have any further questions.
Thank you.


[Bug] fixed 'Kube Conf File' param can not displayed at Flink Cluster…

What changes were proposed in this pull request
Issue Number: close #1878

Brief change log

Verifying this change

This change is already covered by existing tests.

Does this pull request potentially affect one of the following parts

Dependencies (does it add or upgrade a dependency): no

Thanks for your contribution, we will review it as soon as possible.

LGTM


Google Assistant: Implement Toggle Trait to control covers with open/close

Home Assistant release with the issue: 0.80
Last working Home Assistant release (if known): N/A
Component/platform:
google_assistant
Description of problem:
Google Assistant supports a Toggle trait: https://developers.google.com/actions/smarthome/traits/toggles
This trait can be used to convert covers to be "open" / "close"
We should move covers from being under OnOff to be Open/Close with the toggle.

@balloob mind if I take this on? If I understand correctly, I just need to add a new Toggle trait, and move cover.DOMAIN to my newly registered trait? https://github.com/home-assistant/home-assistant/blob/df6709344196b1789fb5572545948bf4b3b252a7/homeassistant/components/google_assistant/trait.py#L185-L216

@imjennyli correct. It's all yours!

Will this also allow us to see the status of contact sensors?  I heard that with the new Google Home update we can now see that status and even sensor data.  Lots of SmartThings users are reporting that as soon as they updated the app they can get temperature and contact status readings.

@balloob so I'm just circling back to this and have started on it a bit, but I'm not sure if using Toggles is what makes sense. you can set multiple toggles but each one is a bool:
     "sterilization": true,
     "energysaving": false
}```
But this would mean a cover is not open/close but rather `"open": true/false`. Is this desirable?

 I guess we should use the modes trait instead: https://developers.google.com/actions/smarthome/traits/modes

Although, that might also be weird. "Set the garage door mode to open".
Maybe we can't solve this one just yet.


Test getdns, with getdns_query in listening mode

Hi, this pull request is for assessing getdns with deckard.  Currently only recursive mode is tested, but I intent to add tests for sub mode and specific getdns features (such as stub validation and roadblock avoidance etc.) in the future too.
Currently you need getdns_query from the features/create_dict_with_json branch to run getdns_query in listening mode.  This work will be merged to develop (and eventually master) soonish.
Cheers and thanks for the good work!

Thanks, merged.


GUI does not refresh on stdout changes

I have an application which occasionally prints things to stdout while it is running. It's a radio transceiver driver GUI which prints what it receives. When the underlying app prints to stdout, it doesn't redraw the GUI.
For completeness, here it is: https://github.com/barafael/ebyte-e32-ui but may be hard to reproduce without actual hardware :D

With the commits above, this was fixed :partying_face:


fix(scripts): fixed incorrect bash var expansion

Signed-off-by: Roberto Scolaro<EMAIL_ADDRESS>What type of PR is this?
/kind bug
Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area engine
What this PR does / why we need it:
Double quotes caused wrong variable expansion.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

Welcome @therealbobo! It looks like this is your first PR to falcosecurity/falco 🎉

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: therealbobo
Once this PR has been reviewed and has the lgtm label, please assign andreagit97 for approval by writing /assign @andreagit97 in a comment. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 01777bedb86d4c5e54e8e700f1bf369a8c7e8424

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, therealbobo
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP, therealbobo
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/milestone 0.34.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP, jasondellaluce, therealbobo
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Create an 'update project' endpoint

This PR adds the endpoint PATCH /direct-award/projects/<id>.
Currently the only column that can be updated is stillAssessingAt;
this was added for the buyer-frontend ticket #110.

So I'm going to put myself out on a limb here and plump for PATCH.
If I can summarise the conversations we've had online and offline:

we use both POST and PUT (inconsistently) for partial update endpoints
using PUT for a partial update endpoint is definitely against the HTTP spec
using POST for a single item in a collection is arguably against the HTTP spec
POST is often used in instances where no other verb is appropriate anyway
PATCH was put in the spec for partial update of collection items
PATCH data is supposed to strictly follow certain semantics depending on the content-type, which we don't want to use

My take away from this is that there are some good arguments for PATCH and some good arguments
against, and the only argument for using POST is that it usually used as a catch-all anyway. For me, the benefits of having a future consistent semantics outweighs any downsides of using PATCH in a laissez-faire way.
Obviously, in the short term there will be more inconsistency in the api, but I have created a tech debt ticket (https://trello.com/c/ud2H7BKJ/496-make-api-verbs-consistent) to go through and bring consistency that I will take up once this PR has been merged.
tl;dr let's do PATCH

Damn you I'm going to have to add another symbol to my log diagrammer.

Agree with PATCH for partial updates, as long as it's consistently rolled out across both the API and the Search API.
The JSON API spec has sensible recommendations about nulls/missing fields.
We can add a new foo_api_client._patch method on the base API client to go alongside the ._put methods to ease the transition.


[core] Ignore browserslist and remove tag latest

[x] I have followed (at least) the PR section of the contributing guide.

@siriwatknp may I ask you to provide some context?

@aarongarciah updated PR description

@siriwatknp Is this PR related to https://github.com/mui/material-ui/issues/44583?

@siriwatknp may I ask you to provide some context?

I could not run pnpm release:build without BROWSERSLIST_IGNORE_OLD_DATA=true because in v5.x the browserlist is outdated but we want to keep it that way.
The --tag latest overrides v6 stable channel when I release v5.16.8 which was a nightmare.


Use of Floats is not supported in WASM

The use of a Float32 type in src/utils/indices.rs results in the crate not being able to compile to WebAssembly.
A fix has been proposed on this pull request.

To be more precise WebAssembly supports floats just fine by itself, but Sasha has an application that only supports a subset of WASM that doesn't include floating point operations.

Also addressed in https://github.com/antouhou/rs-merkle/pull/16

I've added a comment to #16. Although this does remove the use of the float, this makes this incompatible with the no-std. I'll try to come up with a way to do this without using floats and std. Being able to use this in the CosmWasm definitely an important feature. Thank you for the report!

Thanks for having a look.
You can always use a loop to count how many right shifts you need until the number turns to 0?
There was another PR with the same aim as mine that did something like this.

no_std compatibility can be maintained by using core::mem::sizeof insread of std::men::sizeof

Hi @matthiasgoergens @sashaduke! I've merged your PRs and added one additional check for no-std targets. The changes are included in v1.3.0. Thank you! Please close this issue if that works for you, or I'll close it myself in some time :)
Thank you!

Awesome, thanks!


docs: Add project update

I let this slide for too many months (others should feel free to update / ping me to update!)
Is this a good update? Is this what we're focusing on? We (/ I) have let the focus on tools to use PRQL drop, which we had planned to prioritize. But we've also done a great job on closing bugs -- we actually have zero Priority bugs now (thanks to @aljazerzen ...)

Is it worth to mention further breaking changes maybe done in near future? #2723

Is it worth to mention further breaking changes maybe done in near future? #2723

I think if it's an area of focus for the project, it's interesting to include, so we could include this — @aljazerzen ?
I don't think we need to forecast breaking changes; this is more like "so what are you working on?"

Jup, I agree, that's interesting for people to see.


discontinued?

this gem was discontinued?

I'm getting this error, when run bundle, any tip?
Bundler could not find compatible versions for gem "refinerycms-core":
  In Gemfile:
    refinerycms-inquiries (> 2.0.0) ruby depends on
      refinerycms-core (~> 2.0.1) ruby

    refinerycms (>= 0) ruby depends on
      refinerycms-core (3.0.0)

It's because you try to install refinerycms-inquiries 2.0 on a refinerycms 3.0.
You have to use refinerycms-inquiries 3.0 from github source and not rubygems


Adds CurrentTraceContextRxJavaPlugins

CurrentTraceContextRxJavaPlugins prevents traces from breaking during
RxJava 2.x operations by wrapping the scheduler handler.
To set this up, create CurrentTraceContextRxJavaPlugins using the
current trace context provided by your Tracing component.
contextPlugins = CurrentTraceContextRxJavaPlugins.create(
  tracing.currentTraceContext()
);

After your application-specific changes to RxJavaPlugins, reset the
schedule handler like so:
contextPlugins.wrapScheduleHandler();

Fixes #664

cc @lukaszguz @jakewharton I'll add a feature test using retrofit, but meanwhile, if there's something bad about the way this is designed, please speak up

testing looks like we need to decorate onSubscribe, not just onSchedule

I will switch approach to mimic what @akaita is doing here: https://github.com/akaita/RxJava2Debug It will be easier to follow I think, if the approach is similar to another tool.

rewrote approach and now retrofit passes fine. I have a bunch of tests to backfill, as well some efficiency things..

ok all the base test cases are in, but want to backfill more as things like callable and scalar returns are not tested, neither are connectable observables or parallel flows

ok I need test dimensions for callable and scalar callable now..

ok everything's rewritten now and tests are backfilled I'll try an integration of tracing later

switched to the new CurrentTraceContext.maybeScope to eliminate redundant scoping when something upstream like vert.x already did the job

TODO: add chaining like https://github.com/akarnokd/RxJava2Extensions/blob/master/src/main/java/hu/akarnokd/rxjava2/debug/validator/RxJavaProtocolValidator.java
(suppose "unchaining" as well?)
Then, merge this as @kojilin says it is a good solution and a copy of it works in prod for LINE sticker shop

ok rebased and wove in hook restore stuff


Fetch and display last release changes from GitHub in modal upgrade &…

… modal auto update downloaded
PR Checklist

Please check all that apply to this PR using "x":

[x] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
[x] I have checked that this PR does not introduce a breaking change
[ ] This PR introduces breaking changes and I have provided a detailed explanation below

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting)
[ ] Refactoring (no functional changes)
[ ] Documentation changes
[ ] Other - Please describe:

Fixes
Issue Number: https://github.com/lbryio/lbry-desktop/issues/2186
What is the current behavior?
When a new version of the app is available, the user can see those by checking the releases on Github.
What is the new behavior?
When a new version of the app is available, the user can see the new changes of the latest release in the app.
The release log is fetched using GitHub's release service: https://docs.github.com/en/rest/reference/repos#releases
Other information

:heart: :heart: :heart:

Hello @seanyesmunt , do you think this is good to merge? Please let me know if there is anything else to fix. Thanks! Regards.

@Ruk33 Sorry this has been sitting for so long. I will give this one last test then merge it today!

Sure @seanyesmunt no worries. Please let me know if you need help with anything. Regards.


feat: add parsePort() method to fix bugs

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Can't configure task server

I try to add Trello as task server in order to create\read tasks directly from Consulo. When I test connection I always get Unknown error

Error details:

Error details (text):
null
java.lang.NullPointerException
	at com.intellij.tasks.impl.httpclient.NewBaseRepositoryImpl.getHttpClient(NewBaseRepositoryImpl.java:69)
	at com.intellij.tasks.impl.httpclient.NewBaseRepositoryImpl$HttpTestConnection.test(NewBaseRepositoryImpl.java:197)
	at com.intellij.tasks.impl.httpclient.NewBaseRepositoryImpl$HttpTestConnection.doTest(NewBaseRepositoryImpl.java:182)
	at com.intellij.tasks.TaskRepository$CancellableConnection.call(TaskRepository.java:343)
	at com.intellij.tasks.TaskRepository$CancellableConnection.call(TaskRepository.java:334)
	at com.intellij.openapi.application.impl.ApplicationImpl$9.call(ApplicationImpl.java:428)
	at com.intellij.openapi.application.impl.ApplicationImpl$10.call(ApplicationImpl.java:441)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
	at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)

Thanks - reproduced

Hi you need update consulo after some time. It was platform issue.
Thanks


Frontend Project "Starbucks Frontend" Homepage Paragraph Improved Styling

Describe the Feature you want to end
Working on the alignment of the paragraph of the homepage.
Expected behavior
Paragraph content equally aligned from all sides.
Screenshots (optional)
Current Design

Expected Updated Alignment

Additional context (optional )
N/A

@MohitGupta121 Kindly assign me this issue.


Inconsistent user interface labeling for "Subject Keywords"

On the resource landing page, the label for "Subject Keywords" is "Subject" on the resource landing page in "view mode".  When entering the edit mode, the same title becomes "Subject Keywords".  "Subject Keywords" should seemingly be the case for both situations.
Please note that this was tested on a local development build, using the develop branch, so this may not be reproducible on beta or other deployed systems.
test-files.zip

Fixed in 1.16 CR.


Ensure the selected certificate has an accessible private key

Ensure the selected certificate has an accessible private key.
Addresses #9915

Thanks


download PermissionDenied. make file writable after copy to cache

https://github.com/denosaurs/plug/blob/7e85fa955b8c5d97e2930e1916bfa590718c150c/download.ts#L255-L259
when the source file is read-only (chmod 0555)
then the cached file is also read-only
future calls to download fail
because the target file in cache is read-only
first call:
Copying file:///tmp/tmp.aGowOqCn9e/vscode/vscode-deno/libwebview.so

second call:
Copying file:///tmp/tmp.aGowOqCn9e/vscode/vscode-deno/libwebview.so
error: Uncaught (in promise) PermissionDenied: Permission denied (os error 13), copy '/tmp/tmp.aGowOqCn9e/vscode/vscode-deno/libwebview.so' -> '/home/user/.cache/deno/plug/file/a8eb18dc8f0f8199d82db2f57b5f04a3f527e44095eca509c3960f4760b36e4e.so'
        await Deno.copyFile(fromFileUrl(url), cacheFilePath);
        ^
    at async Object.copyFile (deno:runtime/js/30_fs.js:64:5)
    at async download (https://deno.land/x/plug@1.0.0-rc.3/download.ts:257:9)
    at async dlopen (https://deno.land/x/plug@1.0.0-rc.3/mod.ts:145:22)
    at async file:///tmp/tmp.aGowOqCn9e/vscode/vscode-deno/webview_deno/src/ffi.ts:154:20

called from https://deno.land/x/webview
discuss: should preserve the execution bit of the original file? or just chmod 0644 all files?

      case "file:": {
        console.log(`${colors.green("Copying")} ${url}`);
        /*
        // Deno.chmod currently throws on Windows
        await Deno.copyFile(fromFileUrl(url), cacheFilePath);
        await Deno.chmod(cacheFilePath, 0o644);
        */
        // portable workaround
        // note: this is limited by memory size
        const data = await Deno.readFile(fromFileUrl(url));
        await Deno.writeFile(cacheFilePath, data);
        break;
      }

Interesting, I will look into this later but I think the easiest solution is just to do chmod 0o644 on posix.


Missing helper: "escape"

After running vue init sgraewe/nuxt-tailwind nuxt-tailwind-demo and going through the prompts, it ends with an error: Missing helper: "escape"
Any idea what I need to adjust?

Not really sry :/
Is your node and vue-cli up to date?


Greater Canada

Canada does not have a claim greater decision, so I thought it would be a good idea for canada to have decision to get cores on Alaska, Saint Pierre or even New England

Are there any 20th century basis for such claims? US don't have "greater US" claims either. Those countries that have "greater" claims usually have some type of historic (last 200 years or so) or ethnic reason for those claims.
At the moment no plans.

Sorry I wasn't clear enough.
https://en.wikipedia.org/wiki/Alaska_boundary_dispute
http://legal.un.org/riaa/cases/vol_XV/481-540.pdf

To do that one would need to make the "Alaska pan-handle" a separate state and then add a greater decision for Canada.
If you want to make such decision please do. I will put it into the mod.


Override Program save  method to pull GAIT dates and set program and reporting dates

When a program is saved in the admin page, the GAIT start and end dates should be fetched and saved.  If program dates already exist, do not overwrite them.

A note about testing:
Some of the testing is probably best done as a code review or by working with one of the devs and manipulating the database manually.  However, one test that can be done without dev help is to create a program that you know has a GAIT date (of status "Funded" or "Complete") and see if the dates populate.  To do this, you may have to delete an existing program because Tola will not allow you to use the same ID twice.  Also some of the usual things can be tested, like saving a program that doesn't have a GAIT date to make sure one doesn't magically appear when the program is saved.
Pulling from GAIT and saving the data is supposed to be non-destructive, so if reporting dates already exist, saving the Program shouldn't overwrite what's already in the database.  This could be tested by e.g. entering a reporting date value through the reporting period modal and then hitting save on the admin page.  GAIT dates themselves can't be tested that way, since they are not editable anywhere in the system.  That's where you may need dev help.

When I go to add a program in from GAIT, would we expect that all of the program's info be added over if I only include the GAIT ID in the admin console? Specifically, I went to admin deleted a program (PAHAL from Nepal) then went to re-add it but only entered in the GAIT ID (#5803) and selected a country. The program was added to admin (but no other meta data was pulled in) and the program did not appear within TolaActivity.

When I run a search in GAIT of all funded programs for Haiti, a total of 12 programs come up. However, when I look at the list of programs on TA Indicators page (https://tola-activity-demo.mercycorps.org/indicators/home/0/0/0/) I only see a total of four programs. I'm assuming this should match the number in GAIT, no?

Regarding comment #1, populating the rest of the program information wasn't part of this issue and from what I understand, not something we're doing from Winterhawks (@jennyhavah can confirm).  We've talked about using more of the GAIT in a future release.  The purpose of this ticket was for the GAIT dates to be added to a program without waiting for a nightly background script to run that fetches the GAIT dates.
Regarding comment #2, maybe I'm misreading your comment but it sounds like you're thinking that GAIT programs should all be present in Tola, based on the GAIT pull.  That's not the case.  The only thing that this issue covers is when someone save a program in Admin, the program and rerporting dates should be fetched from GAIT.  It's doesn't do a wholesale import of programs into Tola.

Regarding comment #1, populating the rest of the program information wasn't part of this issue and from what I understand, not something we're doing from Winterhawks (@jennyhavah can confirm).

Confirmed. @esinn You made a number of good suggestions of features to consider adding to Tola Admin. Let's figure out where to track them so they don't get lost. (I'll start a thread on Slack.)


Added showVelocity

Could have been done better but this works fine...
This renders your velocity onscreen which i guess can be useful for movement players ¯_(ツ)_/¯

Maybe......

Thank you so much i was trying to use your code last night and just couldnt make it work

Ss?

Ss?

i might make it bigger or match viewmodel/crosshair colour

Why not cl_showpos 1?

Why not cl_showpos 1?

people like it at the bottom for some reason

Why not cl_showpos 1?

Personally i don't like having the decimal places. I also like to have it in a place where i can see it easily with peripheral vision

crashes when enabled \o_o/

crashes when enabled \o_o/

Probably ive not tried it

crashes when enabled \o_o/

Probably ive not tried it

how'd you get the screenshot then?

what a useless pr

what a useless pr

Thank you

crashes when enabled \o_o/

Probably ive not tried it

how'd you get the screenshot then?

it works perfectly on my personal source of osiris

crashes when enabled \o_o/

Probably ive not tried it

how'd you get the screenshot then?

it works perfectly on my personal source of osiris

just built your source and it still crashes

Does it crash fir anybody else?

Sorry i don't do pull requests often

how to center it?

its probably centered but csgo’s player count/indicator isnt check it up clock next to the crosshair

@senisditron You can subtract half of text width from x position.

What daniel said

does anyone know the code that takes the last unit the player in jump?
I'm looking for this code for a long time, but I never think ;(
Example: https://prnt.sc/tgir6s

not bothered to keep fixing this just paste it in yourself

hey, thanks it works for me. Do you know how to make outline on text?

hey, thanks it works for me. Do you know how to make outline on text?

Think you can show me an example of what you mean?

hey, thanks it works for me. Do you know how to make outline on text?

Think you can show me an example of what you mean?

this black shadow behind the velocity like so it would be more visible

hey, thanks it works for me. Do you know how to make outline on text?

Think you can show me an example of what you mean?

this black shadow behind the velocity like so it would be more visible

how to add this line by velocity have one the code for this ?

hey, thanks it works for me. Do you know how to make outline on text?

Think you can show me an example of what you mean?

this black shadow behind the velocity like so it would be more visible

hey, thanks it works for me. Do you know how to make outline on text?

Think you can show me an example of what you mean?

this black shadow behind the velocity like so it would be more visible

how to add this line by velocity ? have one the code for this ?

hey, thanks it works for me. Do you know how to make outline on text?

Think you can show me an example of what you mean?

this black shadow behind the velocity like so it would be more visible

how to add this line by velocity ? have one the code for this ?

This is closed. Lets kindly leave it that way


Update to Pytorch 1.7

Pytorch 1.7 has been released. Important changes for DIRECT:

FFT has a new interface and operates on complex tensors.
all_gather can now be done with objects
Improved logging for DDP and torch.utils.collect_env
CUDA 11

TODO:

[X] Update Dockerfile to PyTorch 1.7 and CUDA 11.0 (22ccee0)
[X] FFT update (see below)
[X] Environment logging (419184d)
- [ ] all_gather for objects

Currently there are some issues using named tensors with complex dtype to be able to update the FFT, see https://github.com/pytorch/pytorch/issues/47157

Would be fixed with https://github.com/pytorch/pytorch/pull/47181

The proposed fix has been merged in pytorch nightly.


rte: add toggle to disable prometheus

make it configurable

/cherry-pick release-4.14

obsoleted by #727


Inform users of problems related to third-party data services

Typically when a third-party service like Vigicrues does not respond correctly and our data is outdated.
This might also affect alerts and the user should be warned about alerts that have not been correctly checked.

For alert waiting for https://github.com/kalisio/aktnmap/issues/210 to be closed.


adds the url to the fetch-starting log message

Signed-off-by: Micah Young<EMAIL_ADDRESS>

After some discussion, we're concerned about this change potentially logging credentials supplied in the 'from' URL, such as basic auth or auth tokens supplied as query params. So we'll close this out for now.


Git clone shallow depth=1 --branch=TAG: error: reference not found for given Tag as branch

The git shallow is something we are looking at to solve clones of a single revision requested by Tag. The way to implement it is to use the shallow clones of a particular revision (branch, tag or SHA). The first test with git shows the single revision, cloned to dir /tmp/protobuf2, gives the expected result, while the one with go-git is failing with error: reference not found...
Regular Git Shallow

Get a single Tag version

Meaning, a depth=1
https://stackoverflow.com/questions/14872486/retrieve-specific-commit-from-a-remote-git-repository/30701724#30701724
Cloned to a directory called /tmp/protobuf2

$ git clone --depth=1 https://github.com/protocolbuffers/protobuf --branch v3.10.0  /tmp/protobuf2
Cloning into '/tmp/protobuf2'...
remote: Enumerating objects: 2415, done.
remote: Counting objects: 100% (2415/2415), done.
remote: Compressing objects: 100% (1769/1769), done.
remote: Total 2415 (delta 941), reused 1200 (delta 524), pack-reused 0
Receiving objects: 100% (2415/2415), 5.08 MiB | 1.20 MiB/s, done.
Resolving deltas: 100% (941/941), done.
Note: switching to '6d4e7fd7966c989e38024a8ea693db83758944f1'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

Result is a history with the single commit

$ git --no-pager lol
* 6d4e7fd (grafted, HEAD, tag: v3.10.0) Merge pull request #6721 from protocolbuffers/rafi-kamal-patch-1

go-git returns error: reference not found when refs/tag or ref/heads is not provided

Get single tag version request

Modified the version of the clone at https://github.com/src-d/go-git/blob/master/_examples/clone/main.go#L18
*User needs to know the type of the reference a priori
without ref/tags/ for Tag or ref/heads for Branch the library fails with error: reference not found

func main() {
        // Clone the given repository to the given directory
	CheckArgs("<url>", "<directory>")
	url := os.Args[1]
	directory := os.Args[2]
	revision := os.Args[3]

	// Clone the given repository to the given directory
	Info("git clone --depth=1 %s --branch %s %s", url, revision, directory)

	r, err := git.PlainClone(directory, false, &git.CloneOptions{
		URL:               url,
		Depth: 1,
		ReferenceName: plumbing.ReferenceName(revision),
	})```

* Execution failed with the following

```console
$ go run go-git-cloner.go https://github.com/protocolbuffers/protobuf $(pwd)/protobuf v3.10.0
git clone --depth=1 https://github.com/protocolbuffers/protobuf --branch v3.10.0 /tmp/protobuf
error: reference not found
exit status 1

How to get ReferenceName for either a Branch, Tag, or SHA?

Is there a way to fetch the proper referenceName by a given value?

Looking at https://github.com/src-d/go-git/blob/master/plumbing/reference.go, can't find anything that fetches before doing a clone, if that's the case...
Should clone resolve that with a single instance of Reference?

Could get this for tag or branch, but I found out there are some limitations for SHA...
solution

I got the solution after looking at the code...

func main() {
	CheckArgs("<url>", "<directory>", "<revision>", "type")
	url := os.Args[1]
	directory := os.Args[2]
	revision := os.Args[3]
	cloneType := os.Args[4]

	var repo *git.Repository
	var err error

	if cloneType == "branch" {
		Info("git clone --depth=1 %s --branch %s %s", url, revision, directory)
		repo, err = git.PlainClone(directory, false, &git.CloneOptions{
			URL:               url,
			Depth: 1,
			// Branch		ReferenceName: plumbing.ReferenceName("refs/heads/" + revision),
			ReferenceName: plumbing.NewBranchReferenceName(revision),
		})

	} else if cloneType == "tag" {
		Info("git clone --depth=1 %s --tag %s %s", url, revision, directory)
		repo, err = git.PlainClone(directory, false, &git.CloneOptions{
			URL:               url,
			Depth: 1,
			// Branch		ReferenceName: plumbing.ReferenceName("refs/heads/" + revision),
			ReferenceName: plumbing.NewTagReferenceName(revision),
		})
	}

	// Verify if any error occurred
	CheckIfError(err)

	// ... retrieving the branch being pointed by HEAD
	ref, err := repo.Head()
	CheckIfError(err)

	// ... retrieving the commit object
	commit, err := repo.CommitObject(ref.Hash())
	CheckIfError(err)

	fmt.Println(commit)
}


Usage with next 15 - params should be awaited before using its properties

What version of this package are you using?
2.6.2
What happened?
In NextJS 15: https://nextjs.org/blog/next-15#async-request-apis-breaking-change
params should be awaited.
and currently that's not the case:
https://github.com/aralroca/next-translate-plugin/blob/99c1faefcd7167a7caa309f2affc7d0d807a76e4/src/templateAppDir.ts#L102
What did you expect to happen?
params should be awaited. https://nextjs.org/docs/app/building-your-application/upgrading/version-15#params--searchparams
example:
-    const detectedLang = props.params?.lang ?? props.searchParams?.lang
+   const params = await props.params;
+   const searchParams = await props.searchParams;
+   const detectedLang = params?.lang ?? searchParams?.lang

Note: This might not be the only issue with next 15 as applying this patch does no fix all my issues.

TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0__.useContext) is not a function

Are you willing to submit a pull request to fix this bug?
yes

Feel free to PR 👌😊


Cannot generate tests for projects having the RootNamespace tag

Describe the bug
When trying to "Generate tests" for a project having the RootNamespace tag in its .csproj, an error message popup window appears.
To Reproduce

Create a new project
Click on the project to open the .csproj file, and add <RootNamespace /> inside the PropertyGroup XML node.
Add a method to the automatically created Class1 class (in Class1.cs)
Right-click the project, and click on 'Create unit test project...'
Click on 'Ok' and wait for the unit test project to be created
Right click on the original project, and click on 'Generate tests'

Additional context
Error message in popup window:

Error message in Visual Studio's Output for Unitverse:

Creating unit test project mapping for 'ClassLibrary1'.
Found target project 'ClassLibrary1.Tests'.
Error while finding type by name: Value cannot be null.
Parameter name: sourceNameSpaceRoot
at Unitverse.Core.Helpers.NamespaceTransform.Create(String sourceNameSpaceRoot, String targetNameSpaceRoot)
at Unitverse.Helper.TargetFinder.FindExistingTargetItem(ISymbol symbol, ProjectItemModel source, ProjectMapping mapping, IUnitTestGeneratorPackage package, IMessageLogger messageLogger, ProjectItem& targetItem, Boolean& wasRedirection) in D:\a\Unitverse\Unitverse\src\Unitverse\Helper\TargetFinder.cs:line 55

.csproj with RootNamespace:
<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <TargetFramework>net8.0</TargetFramework>
        <RootNamespace />
        <Nullable>enable</Nullable>
    </PropertyGroup>

</Project>

Note that this is not major by any mean, a simple workaround is to remove RootNamespace before generating the tests, and adding it back afterwards.
But it is slightly annoying 😄

I am pretty sure I know why that is breaking even without looking at the code 😂
Could you explain a bit about why you have that empty tag and the effect it has - just so I make sure I am not missing something...

This should be fixed in 0.212. If it doesn't work as you think it should then let me know :)


Coverage report with Coveralls

We should add Coveralls integration into the Actions workflow to keep track of the code coverage

Closed in 2c850cb9d32bf1918fcc3b3fed668fd918a2fd10


[BUG] Popular compiler arguments list is truncated on the right

Popular compiler arguments list is truncated on the right side if the compiler pane is right-most. It does not depend on a browser window maximized state.
Tested in Firefox and Chrome.
Screenshot:

Thanks for filing this; yes it does seem to be a problem!

I still observe the same bug. Nothing changed. Both in Chrome and Firefox.

the fix is in master, but has not been deployed to the live site yet.
Whenever we deploy next you should see the fix.

We should be deploying later today. Thanks for your patience.


Make application read properties also from environment variables

Description
Properties file is required to have e.g. DSL editor enabled. It would be great if the application could check first if a properties file is present, and if not present check if properties have been provided through the environment. This would help with running it on a fresh Kubernetes using persistent volumes.
Priority
Medium
Resolution
I have no budget, please add this feature for free
More information
No response

Maybe provide a default version of the structrizr.properties file that uses environment variables for each of the settings?

Closing as not planned.


raise error make: *** No rule to make target /var/lib/sf/roles/install/C7.0-J.1.4.0/cloud.done', needed by /var/lib/sf/roles/install/C7.0-1.0.2/softwarefactory.done'.  Stop. while run SF_SKIP_FETCHBASES=1 ./build_roles.sh

I try to install SF in centos 7 via lxc , but it stopped in SF_SKIP_FETCHBASES=1 ./build_roles.sh http://softwarefactory.enovance.com/docs/deploy.html#fetch-pre-built-sf-images
####################OUTPUT########################
[root@i-dese1t2c software-factory]# SF_SKIP_FETCHBASES=1 SKIP_UPSTREAM=1 ./build_roles.sh
Already on 'master'
Already up-to-date.
Reset branch 'master'
Already on 'master'
Already up-to-date.
Reset branch 'master'
PREPARE SUBPROJECTS DIRECTORIES
This is a tagged release; using pinned versions of subprojects to build images.
Fetch PYSFLIB:0.2.0 in /root/software-factory/../deps/pysflib.
-> PYSFLIB head is: 7ce19ce Bump version prior to tagging 0.2.0
Fetch CAUTH:0.4.0 in /root/software-factory/../deps/cauth.
-> CAUTH head is: 3af2db0 Unified login endpoint
Fetch MANAGESF:0.4.0 in /root/software-factory/../deps/managesf.
-> MANAGESF head is: 76b4a8a Bump version prior to tagging 0.4.0
softwarefactory local hash is 20eea057e28215e169bb1800306d393c
The locally built softwarefactory md5 is different to what we computed from your git branch state.
Building role now...
make: *** No rule to make target /var/lib/sf/roles/install/C7.0-J.1.4.0/cloud.done', needed by /var/lib/sf/roles/install/C7.0-1.0.2/softwarefactory.done'.  Stop.

Thanks for the bugreport!
Did you try to build it without the SF_SKIP_FETCHBASES setting? This setting will skip downloading the base role, and amongst others the C7.0-J.1.4.0/cloud role. You need to build this either manually or download once if it's not existing yet.
Could you please retry without the setting?

@cschwede will try it now, and feedback soon

no luck, it failed make: *** [/var/lib/sf/roles/install/C7.0-1.0.2/softwarefactory.done] Error 127

ubuntu has the same  problem ...

Hi,
There are two cases: either use the master version of SF or the latest tag of SF. I suggest you to use the latest tag (today 1.0.2). When using a tag you are able to use prebuilt images of SF.
Unfortunately for the 1.0.2 of SF a little bug in our images checksum has been introduced so even if you use the 1.0.2 tag you need to rebuild the images.
So in order to build and deploy 1.0.2 on LXC (note that only centos 7 is supported now):
cd software-factory
git checkout 1.0.2
# ./fetch_roles.sh trees <- can be skip according to the bug I mentioned
./build_roles.sh

Once done you can continue here to deploy the LXC containers after the roles has been built:
http://softwarefactory.enovance.com/docs/deploy.html#how-to-deploy-sf-within-lxc
I hope it will help.
#softwarefactory on freenode
Cheers,
Fabien

sorry for later reply , and i will try it now

thanks  it works


Questions about parameter r and v

Hello,
Can you explain what r_1 and r_2 stand for ?
And why do you use random value to erase targeted area instead of 0? will this random value cause bad parameter update since it is not 0?

The names of the parameters are the same as those in the original paper, and there are the description about the parameters in README.
I think using random values is better for generalization, but I'm not sure.

did anyone have issues performing the pixel randomisation?

hi again- any chance you could check out my question here: https://github.com/yu4u/cutout-random-erasing/issues/6
I've still not had a reply from the owner of this repo


Handling invalid column names on kctrl list commands

What this PR does / why we need it:
Handling invalid column names on kctrl list commands.
Sample Output:
$ ./kctrl package available list --column=name,source,status,since,namespace                                           03:02:45 PM
kctrl: Error: invalid column names: source,status,since

$ ./kctrl package installed list --column=name,source,status,since,namespace                                           03:03:16 PM
kctrl: Error: invalid column names: source,since

$ ./kctrl package repository list --column=name,source,status,since,namespace                                          03:03:28 PM
kctrl: Error: invalid column names: since

$./kctrl app list --column=name,source,status,ss                                                                      03:09:22 PM
kctrl: Error: invalid column names: source,ss

Which issue(s) this PR fixes:

Fixes #
Does this PR introduce a user-facing change?

Additional Notes for your reviewer:
Review Checklist:

[ ] Follows the developer guidelines
[ ] Relevant tests are added or updated
[ ] Relevant docs in this repo added or updated
[ ] Relevant carvel.dev docs added or updated in a separate PR and there's
a link to that PR
[ ] Code is at least as readable and maintainable as it was before this
change

Additional documentation e.g., Proposal, usage docs, etc.:

Can we also add a test for one of these commands?

Tests are added.

We use PrintTable in some other commands as well, do you think we should update those too since column flag is global?

Updated all the commands which are using printTable.


Encode search query lists unexpected products

The encodeQueryComponent in the QueryParam class does not do justice to the search query, while it works well for others. I fixed it at my end by changing the encoding a bit for the name search.
class QueryParam {
  const QueryParam(this.name, this.value);

  final String name;
  final String value;

  @override
  String toString() {
    if (name == 'search') {
      // Special handling for search parameter
      return '${Uri.encodeQueryComponent(name)}=${Uri.encodeComponent('"$value"')}';
    }
    // Default encoding for other parameters
    return '${Uri.encodeQueryComponent(name)}=${Uri.encodeQueryComponent(value)}';
  }
}

I noticed that the change in encoding was only required for the /products API and that the older method worked well for search param in the products/categories API. So, I extended the QueryParam class for this,
class SearchQueryParam extends QueryParam {
  const SearchQueryParam(String name, String value) : super(name, value);

  @override
  String toString() =>
      '${Uri.encodeQueryComponent(name)}=${Uri.encodeComponent('"$value"')}';
}


Update link to NATS additional docs

The previous link to the NATS Kubernetes docs now returns a 404. Updating to latest docs.

LGTM!  Link works.  Thank you for the fix!


Duplicated keys in nested schemas produce incorrectly nested validation messages

It appears that keys that have a parent key with the same name clobber the nesting structure of output messages.
See my test script:
require 'dry/validation'

# With duplicate keys

schema =
  Dry::Validation.Schema do
    required(:foo, :hash).schema do
      required(:foo).filled
    end
  end

puts schema.call({}).messages # => {:foo=>["is missing"]}
# OK

puts schema.call(foo: {}).messages # => {:foo=>["is missing"]}
# NOT OK - I expected {:foo=>{:foo=>["is missing"]}}

puts schema.call(foo: { foo: 'iamfilled' }).messages
# OK

puts '*' * 80

# Renaming the inner foo to bar

schema =
  Dry::Validation.Schema do
    required(:foo, :hash).schema do
      required(:bar).filled
    end
  end

puts schema.call({}).messages # => {:foo=>["is missing"]}
# OK

puts schema.call(foo: {}).messages # => {:foo=>{:bar=>["is missing"]}}
# OK

puts schema.call(foo: { bar: 'iamfilled' }).messages # => {}
# OK

puts '*' * 80

# Also occurs with other keys between the duplicates in the hierarchy

schema =
  Dry::Validation.Schema do
    required(:foo, :hash).schema do
      required(:bar, :hash).schema do
        required(:foo).filled
      end
    end
  end

puts schema.call({}).messages # => {:foo=>["is missing"]}
# OK

puts schema.call(foo: {}).messages # => {:foo=>{:bar=>["is missing"]}}
# OK

puts schema.call(foo: { bar: {} }).messages # => {:bar=>{:foo=>["is missing"]}}
# NOT OK - what happened to the first :foo?

puts schema.call(foo: { bar: { foo: 'iamfilled' } }).messages # => {}
# OK

Just for fun I decided to poke around the source and see if I could figure out what the issue is.
I think I found where the problem lives, but I don't understand the expected input conditions / desired behavior of the line of code.
Perhaps someone else may benefit from starting at
https://github.com/dry-rb/dry-validation/blob/master/lib/dry/validation/error_compiler/input.rb#L84
or, if someone can explain to me what's going on there / what the contract of visit_predicate is, maybe I can help fix it.

@dgollahon yeah current implementation is rather overly complex as a result of lots of internal changes between early versions and 0.7. In the 0.8.0 release we started the process of simplifying this as now predicate ast includes all information about the arguments. I'll be rewriting error compiler completely for 0.9.0 and I bet I'll make it 3 x simpler and 10 x faster :) Anyhow...
I guess our nil shows up when token[:name] is nil, so doing compact on the resulting array should fix it. This method returns a hash with potentially deeply nested structure when a rule has a path with size > 1 so ie if a rule evaluates input under [:user, :address, :city] then we're gonna get { user: { address: { city: ["some message"] } } } back from visit_predicate.

Oh I wait, token[:name] shouldn't be nil because it defaults to the rule name. So I guess Array(name) includes a nil in some cases. This should be called path rather than name btw, and it can be an array.

Should be fixed on master

Thanks, @solnic! Unfortunately I found one more case where this fails:
I locally added this test to the nested_schemas_spec to verify:
  context 'when two schemas have the same name' do
    subject(:schema) do
      Dry::Validation.Schema do
        required(:foo).schema do
          required(:foo).schema do
            required(:bar).filled
          end
        end
      end
    end

    it 'fails when the inner key is missing' do
      expect(schema.call(foo: { foo: {} }).messages).to eql(
       foo: { foo: { bar: ["is missing"] } }
      )
    end
  end

Output:

Huh I tried to fix this but it's a dead-end.  We've got a ton of complexity in error compiler that is no longer needed.
Does this bug affect you now?

Ah, ok. Sounds good.
It does. The project I work on tries to return detailed error messages with the full key path to where the user's json is incorrect. In two specific cases we drop a second data in the key path so it could potentially be a bit confusing to the user, therefore it would be nice to have it fixed. On a personal note, I'm especially motivated by it being the only active bug in our issue tracker and I've been trying to hit 0, heh.
I really appreciate your work on this issue and I look forward to seeing it fixed whenever you are able to repair it. :) I'd also be happy to help work on this issue in my free time this week if there are some small / clear tasks I could help out with, though I suspect my unfamiliarity with the codebase and the nature of this being a rewrite may prohibit me from being too helpful.

@dgollahon oh yeah then I'll try to fix this soon. It makes no sense to fix this in the current implementation of the error compiler though so I'll just rewrite it. I know that "rewrite" sounds scary but truth is we need to do way less work now that we have nested schemas and all arg info in predicates :)


C# more edge cases for class styling

After #1365  has been fixed, classes are styled when they are passed as parameters.
There are more cases, where classes get no coloring:

generics:
container.Register<Car>();
container.Register<IJuice, Juice>();
Bind<IWeapon>().To<Sword>();

expected coloring:

generics with lambdas:
var container = new Container(f =>
{
    f.For<IFoo>().Use<Foo>();
});

expected coloring:

overridden methods:
class LandAnimal {
    public void Move() => Run(); }
class Dog : LandAnimal {
    public new void Move() => Run(); }
class Works : LandAnimal {
    public override void Move() => Run(); }

void is detected as class when preceeded by new instead of override.

expected coloring:

found another one for attributes:
[Required]
[Range(1, 10)]
public long PersId {
     get; set;
  }

// above is the common short of this:

[RequiredAttribute()]
[RangeAttribute(1, 10)]
public long PersId {
 get; set;
}

This is indeed a real edge case, as these are constructor calls. the first one is a parameterless ctor,
the second one has 2 params.
expected coloring:

this one is another attribute problem:
[ValidatePath(
    AllowEmptyStrings = false,
    ErrorMessage = "must end with a slash")]
public string SearchDir { get; set; }

here we have properties which are allowed to be set in the ctor call. those are not arguments for the ctor, but properties of the ValidatePathAttribute class.
So ValidatePath should be colored as class, AllowEmptyStrings as property.
expected coloring:

(maybe it looks different for you, I sepratated the coloroing for class and function into different colors in the css.)
(Seems as if github has its problems, too. It does some funny coloring, too. ;-) )

Thanks for reporting.
As an introduction, remember that Prism is not a parser nor a lexer, only a highlighter. It does not aim to be perfectly semantically accurate.
I played around your examples a bit, and managed to end up with the following, where (for the sake of this example) functions are red and classes are dark green:

Looks good enough to me, can you confirm?

looks great :+1:


bugfix: pr-guardrails - removed files are included in lint files

Description
PR guardrails is trying to lint files that are deleted. Need to exclude deleted files.

Closing as done.


PowerToys Shortcut Guide

Description of the new feature / enhancement
A new utility that displays the activation shortcuts for the various PowerToys utilities that I have enabled.
Scenario when this would be used?
Activating the PowerToys utilities that I only use occasionally currently requires me to open PowerToys to find the activation code for the utility.  A popup guide would be immensely helpful towards enabling my laziness.
Supporting information
I try not to arbitrarily memorize anything that I do not use often enough to naturally remember it.  I would appreciate a PowerToys Shortcut Guide that would function very similar to the Windows Shortcut Guide.  I would use this one shortcut often enough to remember it, whereas I have been completely unsuccessful in memorizing the full suite of shortcuts.

/dup #15405


Step painter

Demo showing the effect of painting rows in the step list.
A colour picker was added to the auto put panel, mainly due to the ample amount of space there.
An event handler for updating the colour value of the colour picker is implemented.
An event handler for updating the background colour of selected rows in the step list.
To complete, the colour of rows needs to be stored in the save file.
Due note that this is built on #180

I guess it cannot hurt to add this, so the user has the possibility to use it. :)

I have added save/load functionality
In the switch case of step parameters i also added [[likely]] which is something i stumbled upon that should optimize the compilation for those cases.

Alright, i changed some stuff and tested on file without colours, and one without colours and comments.


feat (core) : added CurrentWeatherData, HourlyForecast, DailyForecast…

Current Weather Data
Hourly Forecast
Daily Forecast
Climatic Forecast
5 Day / 3 Day Forecast
History
History for Timestamp
Statistical Weather Data
Accumulated Parameters
Geocoding APIs

feat (core) : added CurrentWeatherData, HourlyForecast, DailyForecast, ClimaticForecast, 5Day/3Day Forecast, History, History for Timestamp, StatisticalWeatherData, AccumulatedParameters, Geocoding APIs


CallBack not working

Hey i am using this code to enable the location but the callback is not working not even execute
LocationSwitch.enableLocationService(1000, true,                     () => {                         console.log('success callback');                         this.getCurrentLocation()                     },                     () => {                         Alert.alert('Enable Your Location First')                     },                 );

same issue

Hi, both callbacks are not working.

Check out Steps 6 and 7 of the Installation. The callbacks work only when those steps are done.


Hide/show twipsy

When I run $('.element').twipsy('hide') with more than one element. Only the first twipsy is removed...

this is included in the 2.0-wip https://github.com/twitter/bootstrap/commit/8a891f2a7b9720845932c0be8853fc25c6e49eed


Allow choosing the path where the native library is extracted using a system property

I'm trying to deploy an application using zstd-jni on a system where /tmp is mounted noexec.
zstd-jni initialization fails with the following error:
java.lang.ExceptionInInitializerError: Exception java.lang.UnsatisfiedLinkError: /tmp/libzstd-jni-1.5.5-111543552353015917660.so: /tmp/libzstd-jni-1.5.5-111543552353015917660.so: failed to map segment from shared object

I could override java.io.tmpdir but that affects the rest of the application. The other temporary files are no longer noexec.
I could use the ZstdNativePath system property, but that complexifies the deployment scenario, the proper native library for the architecture needs to be extracted and kept in sync with the java library version.
I could call Native.load(File tempFolder) while initializing the application to override the path. That's weird, because my application has nothing to do with Zstd, I just happen to have zstd-jni on the classpath mostly by accident. It's a transitive runtime dependency of kafka-clients. Netty picks it up and tries to use it.
It would be nice to have a new system property to override the path where zstd-jni extracts the native library. That way, the logic for extracting the native library remains in zstd-jni. Only the deployments where /tmp is mounted as noexec are affected and can set the property to a path where the library can be loaded.

now it's released as 1.5.6-4. You can specify the ZstdTempFolder property to tell Zstd where to extract the native library


 CUDA Device Query (Runtime API) version (CUDART static linking)

cudaGetDeviceCount returned 35
-> CUDA driver version is insufficient for CUDA runtime version
Result = FAIL
jetson@192:~/docker/darknet/gpu$

Hello @collabnix this could be due to the old FROM nvidia/cuda:8.0-cudnn6-devel-ubuntu16.04. You should upgrade this a more recent CUDA / cudnn version.
I don't know if jetson nano supports the latest cuda that are: CUDA 10.2 / cudnn7 running on Ubuntu18.04. In that case you should change the like here
toFROM nvidia/cuda:10.2-cudnn7-devel-ubuntu18.04
See here for a comprehensive list:
https://gitlab.com/nvidia/container-images/cuda/blob/master/doc/supported-tags.md


Change in design: home screen, Explore All move to the sub-navigation bar

The Explore All (Tous les livres) button is currently on the right of the "Recently Added" selection, which will make no sense when we add the "Resume Reading" selection.
Let's move it to the My Books sub-navigation bar, below Preferences, black color (= active), font size equal to the font of the Search label and aligned vertically with the Search label.

done

solved via PR #226


Beginners Guide needed

Hi there,
Could someone give a clearer Documentation of the Workflow between MN and Obsidian…
Does not seem to work in 2024 just as is

@rubenIGM So it does work, but it's just not very clear on how to use it and what it does… It also hasn't been updated in 3 years. I have been thinking about taking over maintenance as I'd love it work better, but as Margin Note is also a bit, "esoteric", I don't even know what's possible really…


"Replace emoji shortcode w/ emoji character" option doesn't work

Regardless of whether the option is enabled or disabled, it shows the emojis in the edit mode next to emoji shortcode anyway...

I had the same issue, however only because I had "source mode" still activated by accident (instead of the new live edit mode)

I had the same sort of problem: the behavior seemed to not follow the plug-in settings. The "require space" didn't work, the "replace w/ emoji" always happened regardless of the setting. Worse, pasting in a link with characters that trigger the plug-in breaks the link.


spirv-val: Add Vulkan Location VUID

Labeled and added tests for

VUID-StandaloneSpirv-Location-04915
VUID-StandaloneSpirv-Location-04917
VUID-StandaloneSpirv-Location-04918
VUID-StandaloneSpirv-Location-04919

Added logic to track interface variables to check for

VUID-StandaloneSpirv-Location-04916

Something definitely seems wrong with this change. I haven't dug into it completely, but one of the errors being flagged in the glslang test suite is:

error: [VUID-StandaloneSpirv-Location-04916] Location decorations must be used on user-defined variables.
%vec4Out = OpVariable %_ptr_Function_v4float Function

This shouldn't require a Location decoration. Only Input, Output and some ray tracing stages should use location.

This shouldn't require a Location decoration. Only Input, Output and some ray tracing stages should use location.

Agreed.  Those VUIDs should be limited to applying to variables in certain storage classes (Input/Output is what I'm familiar with.) See Khronos-internal Vulkan issue 2737

SPV_NV_ray_tracing allows / requires Location decorations for variables in certain storage classes.
SPV_KHR_ray_tracing does not allow it; it uses a different mechanism.

Replaced by #4664


Incorrect config file path in README

According to the README, the config file ("in Linux/MacOS") is at
<EMAIL_ADDRESS>
but this is a relative path (and incorrect).
The general path, according to configstore is ~/.config/configstore/some-id.json thus the actual config file path:
<EMAIL_ADDRESS>

Fixed.
Sorry for the typo!


[ENH] Add Singularity installation option

This PR will [hopefully] address #100.
This is still a WIP, as the singularity containers are currently not orchestrated properly. Currently trying multiple singularity contains separately, but might switch to a singularity-compose approach.

Closing this for now, as it's become more work than it's worth, and because we already have a Docker & Docker-Compose equivalent.

Resurrecting this PR for discussion with @julia-pfarr, @surchs, and @bcmcpher (thanks Julia for coordinating).
To briefly summarize, ezBIDS is a web-based BIDS conversion tool that currently requires both Docker and Docker Compose for setup. In particular, we use Docker Compose since ezBIDS is a collection of 4 separate Docker containers (see docker-compose.yml file for reference).
This setup works well, but recently several research groups have reached out to inquire whether we can provide a Singularity installable, as most institution HPCs won't support Docker. When I began this PR with boundless enthusiasm I thought I could simply use Singularity and [Singularity Compose](https://singularityhub.github.io/singularity-compose/#/) to create an ezBIDS installable for HPC environments.
Thus far however I haven't had success creating a successful ezBIDS instance with Singularity. There are several issues; mainly, I can't create a proper mongodb connection, Singularity Compose doesn't appear to be under active development, and I keep encountering root access issues that I assumed Singularity would circumvent.
Given my (and the team's) lack of expertise with Singularity, I wanted to reach out to @surchs, and @bcmcpher to see if either of you might have any insights. I am not fully convinced that a Singularity ezBIDS installable is feasible absent a major refactoring, but I wanted to get your opinions before making any conclusions.


Question: Is there a way to visualize long files?

Some files in the code base I'm working on are 10k lines+
Is there any idea on how to handle this? Either collapsing regions that don't change, or offering a "wrap" version of the code base (ie. multiple columns)
Open to ideas.

yes it would be good @mkleinbort-ic  to have a feature like that