Prevent .gitignore files from interfering with tests

Should fix #286.
The issue was that the tests were expecting osv-scanner to be a git repository, and the downloading the GitHub release source files does not include the .git directory.
Fixed by initializing the fixtures directory as a git repository when running the tests, which both prevents git from walking past the folder, and parses the .gitignore files for the related test.

would it make sense to have it at the top, as it's effectively the first thing that is run right and probably doesn't make sense to have intermingled with other tests

I personally like having it always at the end of the file, like how I'd put a main function. Some examples I've see online tend to also have it at the end.
Agree that it shouldn't be intermingled with other tests.


Establish Appropriate TimeStamp Columns In Database

Fixing in https://yg-hpw.atlassian.net/browse/ELCC-5


MountVolume.SetUp failed for volume "bitwarden-tls-certs" : references non-existent secret key: ca.crt

Describe the bug
MountVolume.SetUp failed for volume "bitwarden-tls-certs" : references non-existent secret key: ca.crt
Occurs when deploying the helm chart via arogcd.
To Reproduce
Steps to reproduce the behavior:

only over-rides are:
bitwarden-sdk-server.enabled: true
certController.serviceAccount.name:  external-secrets
Other than that, everything else is default settings.
K8s version: v1.31.2+k3s1
helm chart repo: https://charts.external-secrets.io
Helm chart version: external-secrets:0.10.4
Images:
-ghcr.io/external-secrets/bitwarden-sdk-server:v0.3.1
-oci.external-secrets.io/external-secrets/external-secrets:v0.10.4

Expected behavior
Deployment w/o an error occuring
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Deploying the bitwarden-sdk server as required for ESO causes a problem where its looking for a ca.crt file along with the other tls files, but only the tls.cert and tls.key are created so there's no ca.crt file to access:
k describe secrets -n default bitwarden-tls-certs                                                                                 INT ✘  default ⎈
Name:         bitwarden-tls-certs
Namespace:    default
Labels:       controller.cert-manager.io/fao=true
Annotations:  cert-manager.io/alt-names: external-secrets.doin.science
              cert-manager.io/certificate-name: bitwarden-tls-certs
              cert-manager.io/common-name: external-secrets.doin.science
              cert-manager.io/ip-sans:
              cert-manager.io/issuer-group:
              cert-manager.io/issuer-kind: ClusterIssuer
              cert-manager.io/issuer-name: letsencrypt-prod
              cert-manager.io/uri-sans:

Type:  kubernetes.io/tls

Data
====
tls.crt:  3610 bytes
tls.key:  1679 bytes

You enabled bitwarden. Bitwarden requires certain certificate secrets to exist. Please see the setup guide here: https://github.com/external-secrets/bitwarden-sdk-server.


Shopware Legal Service Plugin: ""FRAMEWORK__APP_REGISTRATION_FAILED""

Description:
If you try to install the Shopware Legal Service Plugin in <IP_ADDRESS> you get the message/error
""FRAMEWORK__APP_REGISTRATION_FAILED""
In different shops.

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-32023.
[created from NEXT-32023, comment 485449]

[public] Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know. Thank you again for your valuable feedback.
[created from NEXT-32023, comment 492321]


Conflict with Dice Tray

Another conflict with a popular mod Dice Tray (previous known as Dice Calculator)
Dice Tray repo - https://gitlab.com/asacolips-projects/foundry-mods/foundry-vtt-dice-calculator
When Bugvolution is activated, there's a very unpleasant thick line at the bottom under the chat text field and Dice Tray.

Still an issue with 0.0.8


windowrulev2 onworkspace stopped working

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
Yes
System Info and Version
 System/Version info
Hyprland 0.46.0 built from branch main at commit 788ae588979c2a1ff8a660f16e3c502ef5796755  (version: bump to 0.46.0).
Date: Tue Dec 17 00:38:56 2024
Tag: v0.46.0, commits: 5555
built against:
 aquamarine 0.5.1
 hyprlang 0.6.0
 hyprutils 0.2.6
 hyprcursor 0.1.10
 hyprgraphics 0.1.1

flags set:
debug

Description
smart gaps // no gaps when only stopped working
How to reproduce
with https://wiki.hyprland.org/Configuring/Workspace-Rules/#smart-gaps
windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1] windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1] windowrulev2 = bordersize 0, floating:0, onworkspace:f[1] windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
border are still present even with only 1 window
Crash reports, logs, images, videos
No response

rule bordersize broke too

oopsie tehee


GPU MSAA bug

Describe the bug
With MSAA enabled (Any level) all objects seem to have their wireframe poking out of them.
Screenshots

Environment (please complete the following information):

OS: Windows 10 x64
RuneLite version: 1.5.27
Launcher version: 1.6.0

Additional context

GPU: RX580
OpenGL version: 26.20.11000.13558

Edit: Screenshots now actually added after I forgot >.>

Can confirm.
I have a Lenovo ThinkCentre M910x at work that runs Radeon RX 460 and has the same issue even with the newest driver.

as per this https://github.com/runelite/runelite/wiki/GPU-FAQ#when-i-turn-on-anti-aliasing-weird-lines-appear you dont want to be on the latest version


Problems with regular expressions in karma.webpack configuration

First, I really like this project!
Second, i don't know if this should be posted here or in stryker-karma-runner.
Third, my issue is almost the same as this one, karma-webpack issue
The thing is that I can use it when I don't use babel-loader in my webpack configuration but when i use babel-loader I get this message:
[2016-08-15 17:01:40.857] [TRACE] IsolatedTestRunnerAdapter - webpack: bundle is now INVALID.

[2016-08-15 17:01:40.891] [TRACE] IsolatedTestRunnerAdapter - 15 08 2016 17:01:40.886:ERROR [karma]: [Error: [object Object] is not a valid test]
Error: [object Object] is not a valid test
    at asMatcher (/Users/axelsson/ProjectsWebstorm/stryker-test/node_modules/webpack/node_modules/webpack-core/lib/LoadersList.js:48:9)
    at LoadersList.matchPart (/Users/axelsson/ProjectsWebstorm/stryker-test/node_modules/webpack/node_modules/webpack-core/lib/LoadersList.js:65:16)
    at LoadersList.matchObject (/Users/axelsson/ProjectsWebstorm/stryker-test/node_modules/webpack/node_modules/webpack-core/lib/LoadersList.js:91:12)
    at LoadersList.<anonymous> (/Users/axelsson/ProjectsWebstorm/stryker-test/node_modules/webpack/node_modules/webpack-core/lib/LoadersList.js:78:12)
    at Array.map (native)
    at LoadersList.match (/Users/axelsson/ProjectsWebstorm/stryker-test/node_modules/webpack/node_modules/webpack-core/lib/LoadersList.js:71:19)
    at /Users/axelsson/ProjectsWebstorm/stryker-test/node_modules/webpack/lib/NormalModuleFactory.js:111:68
    at /Users/axelsson/ProjectsWebstorm/stryker-test/node_modules/webpack/node_modules/async/lib/async.js:726:13
    at /Users/axelsson/ProjectsWebstorm/stryker-test/node_modules/webpack/node_modules/async/lib/async.js:52:16
    at done (/Users/axelsson/ProjectsWebstorm/stryker-test/node_modules/webpack/node_modules/async/lib/async.js:246:17)
    at /Users/axelsson/ProjectsWebstorm/stryker-test/node_modules/webpack/node_modules/async/lib/async.js:44:16
    at /Users/axelsson/ProjectsWebstorm/stryker-test/node_modules/webpack/node_modules/async/lib/async.js:723:17
    at /Users/axelsson/ProjectsWebstorm/stryker-test/node_modules/webpack/node_modules/async/lib/async.js:167:37
    at /Users/axelsson/ProjectsWebstorm/stryker-test/node_modules/webpack/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:29:4
    at onResolved (/Users/axelsson/ProjectsWebstorm/stryker-test/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:39:10)
    at /Users/axelsson/ProjectsWebstorm/stryker-test/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:123:21

I don't know if it is the same as the one in the link above but it looks like it is a similar problem. Any suggestions? Have you managed to use webpack and any loader?
This link coulb also be helpful.
// Dennis

@knegusen Thanks for your issue! I think you are right. We are running test runners in there own process. We are communicating with them through the standard node messaging mechanism. I can see that, if you pass a regex in the config of Stryker, it gets deserialized in the child process an empty object.
See IsolatedTestRunnerAdapter line 137
I think the only way i can think of to solve this is using a custom serializer that supports Regex's. Does anyone know of a serializer for this? Or a better solution?

@knegusen could you please see if #146 fixes your issue?

Great work. It looks like it working now. Now my problem is that if I tell stryker to mutate a file, I think that stryker trying to mutate the not compiled version which does not recognise es6 code like export. It works with module.exports though. Any thoughts?

Did some more investigations. It seems like the problem with es6 and exports are similar as in this issue.
If I add sourceType: 'module' to esprimaOptions it works.
Then I get another error though, :ERROR [preprocessor.coverage]: Line 10: Unexpected token but stryker does continue and makes mutations and runs the tests correct as it did when I had module.exports instead of export.
It feels like the preprocessor.coverage error is more like a warning.

We just did a new release with the fix in it, can this bug be closed?
Yes i think it is the same problem as #133 . Could you please add your wishes to that issue? We want to solve it but are not sure how just yet.
Stryker will use code coverage results if it can. If not, it just runs all your tests for all mutants, as it cannot determine which to run. In a small project, there is not much difference. In bigger once it can be a huge time loss. The mechanism to determine code coverage used in 0.4.x is karma-coverage with the preprocessor, that's why you see the warning. This will change in 0.5.0 where we do our own instrumentation. We will also provide you with an option to disable code coverage analysis, so you won't see the error/warning if your using new code constructs which are not yet supported by the code coverage engine (istanbul).


Restore SFlowGraphNode pin alignment to pre-FlowAddon settings

PR #202 added an override for SFlowGraphNode's AddPin function, causing pin alignment to be incorrect. This PR simply replaces the alignment and padding settings in AddPin with the original alignment settings in SGraphNode (default for pre-FlowAddons)
Alignment at present:

Alignment and padding restored:

Thank you for the fix! Merged :)


Updated GitHub Actions badges to be consistent style with other badges

Description

Instead of using the different GitHub Action badge style, I've updated the badges to conform to the style of the other badges on the README.
Checklist:

[x] I confirm that my submission adheres to the Code of Conduct.
[x] I have tested that the code works with sample data and verified all tests are passing
[x] I have verified that any tests that I have supplied with this Pull Request work and I have fixed any code which caused pre-existing tests to fail.
[x] I have updated the README with any changes in dependencies/configuration values.
[x] I have linted my code to ensure that it is formatted correctly.

Codecov Report

Merging #48 (bc508ff) into main (c77fbca) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #48   +/-   ##
=======================================
  Coverage   56.75%   56.75%
=======================================
  Files           5        5
  Lines          74       74
=======================================
  Hits           42       42
  Misses         32       32

Continue to review full report at Codecov.

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


Clang 16 Support + Fix for Missing OMP Headers

Clang 16 Support
Clang-tidy 16 comes with some new checks and improvements to old ones. I made some small changes were needed so that those checks pass.
I updated the formatting for clang-format 16. Nothing major there, mostly it got better at aligning assignment statements properly.
clang-16 tools are available on C-3PO at /usr/lib/llvm-15/bin and can be added to your path with export PATH="/usr/lib/llvm-15/bin:$PATH"; make sure to remove clang 15 from your path first. Clang 16 is available on CRC's H2P cluster but is not yet functional which is why this is currently a draft. Frontier only has clang 16, clang 15 is unavailable there.
OMP Support
The installation of clang on CRC systems doesn't include OMP. I didn't realize this initially and made a kind of hacky workaround that ended up making clang-tidy skip some of our headers too. The CRC is working on fixing this but in the meantime I have fixed the issues on our end using C-3PO. For future reference, if you want clang-tidy to know that something is a system header you have to pass its include path as -isystem $path$, no amount of header regex will do it properly.
Other

Remove unused ran.h

FYI, the issues with clang-tidy at the CRC have been resolved with the installation of the latest stable version of clang, v17.0.1. I've already gotten Cholla working with clang v16.0.6 in this PR and once I get it working with v17.0.1 I'll mark this PR as ready for review.


Do not log for actions against validators or delegators that are not active.

🐛 Bug Report
Currently any validator that is not active will have errors logged by all clients in the network for any delegation against that validator. This should not even be a DEBUG log I suspect. Maybe TRACE level.
Example log:
ERROR snarkvm_synthesizer::vm::helpers::rewards: Validator aleo1ca09uscr33gahs7r265lfcnqrr7hcwm0r5d5w98r4xjqr8m3avpqgyg3xh is not in the committee - skipping aleo1q9hx0rrry50060uzqw6g26rrnuv3g9h28ru5xe8hey9vv5z4p5zsf7ls2d

Steps to Reproduce
Delegate to unbonded validator.
Expected Behavior
No logs.
Your Environment

canary-0.2.1

That concern is mitigated somewhat by the minimum delegation amount. We should make sure there is minimal time spent on this case, in the same way the positive rewards adjustment case is made fast.


[Running PR] Enable building on JitPack

This is a helper PR to keep an easier-to-follow history of the branch that enables building on JitPack.
No plans to merge.

Closing in favor of https://github.com/wordpress-mobile/react-native-reanimated/pull/3


questions about pokemon_classifer

when I Run the program pokemon,there are some questions as follows,but I do not know what is the meaning and how to modify,
Traceback (most recent call last):
File "E:/Python/TEST2.0/pokemon_classifer.py", line 391, in
main()
File "E:/Python/TEST2.0/pokemon_classifer.py", line 354, in main
tf.constant(FLAGS.export_version), sess)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\contrib\session_bundle\exporter.py", line 269, in export
gfile.MakeDirs(tmp_export_dir)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 299, in recursive_create_dir
pywrap_tensorflow.RecursivelyCreateDir(compat.as_bytes(dirname), status)
File "D:\Program Files\Anaconda3\lib\contextlib.py", line 66, in exit
next(self.gen)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 469, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a directory: ./model\00000001-tmp
Thank you!

The error is "Failed to create a directory". You can comment out the 354th line of code to export the model.
The exporter may not work for Windows, you can just not export the model now.

Thank you very much!
I learned there are different types of net models,when I run the program,it just uses the cnn model and adam optimizer,I  do not know how to use other models.Next,I also don't know the meaning of the dataset 'inference'.There are some results of the program:
"D:\Program Files\Anaconda3\python.exe" E:/Python/TEST0/geshizhuanhua.py
Start Pokemon classifier
Use the model: cnn
Use the optimizer: adam
Use the model: cnn
WARNING:tensorflow:From E:/Python/TEST0/geshizhuanhua.py:297 in main.: initialize_all_variables (from tensorflow.python.ops.variables) is deprecated and will be removed after 2017-03-02.
Instructions for updating:
Use tf.global_variables_initializer instead.
Continue training from the model ./checkpoint/checkpoint.ckpt-170
[0:00:00.985056] Epoch: 0, loss: 0.19509480893611908, train_accuracy: 1.0, test_accuracy: 0.05882352963089943
[0:00:02.539145] Epoch: 1, loss: 0.0, train_accuracy: 0.9984520077705383, test_accuracy: 0.05882352963089943
[0:00:02.744157] Epoch: 2, loss: 0.13220781087875366, train_accuracy: 1.0, test_accuracy: 0.05882352963089943
[0:00:02.077119] Epoch: 3, loss: 0.0, train_accuracy: 1.0, test_accuracy: 0.05882352963089943
[0:00:01.932110] Epoch: 4, loss: 0.0, train_accuracy: 1.0, test_accuracy: 0.05882352963089943
Exporting trained model to ./model
Done exporting!
End of Pokemon classifier

Great!

Thank you!
I don't know your meaning.
I try to change 'cnn' to 'lstm' in
flags.DEFINE_string(
"model", "lstm",
"Model to train, option model: cnn, lstm, bidirectional_lstm, stacked_lstm")
but there  are much more problems,is there any problem with Windows?
"D:\Program Files\Anaconda3\python.exe" E:/Python/TEST2.0/pokemon_classifer.py
Start Pokemon classifier
Use the model: cnn
Use the optimizer: adam
Use the model: cnn
WARNING:tensorflow:From E:/Python/TEST2.0/pokemon_classifer.py:297 in main.: initialize_all_variables (from tensorflow.python.ops.variables) is deprecated and will be removed after 2017-03-02.
Instructions for updating:
Use tf.global_variables_initializer instead.
Continue training from the model ./checkpoint/checkpoint.ckpt-20
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key beta1_power not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key beta2_power not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key fc1/bias/Adam_1 not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key fc1/weights/Adam not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key fc1/bias/Adam not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key fc1/weights/Adam_1 not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key conv1/bias/Adam not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key conv1/bias/Adam_1 not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key conv1/weights/Adam not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key conv2/weights/Adam_1 not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key conv1/weights/Adam_1 not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key conv2/bias/Adam not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key conv2/weights/Adam not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key conv2/bias/Adam_1 not found in checkpoint
Traceback (most recent call last):
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1021, in _do_call
return fn(*args)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1003, in _run_fn
status, run_metadata)
File "D:\Program Files\Anaconda3\lib\contextlib.py", line 66, in exit
next(self.gen)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 469, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.NotFoundError: Key beta1_power not found in checkpoint
[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:/Python/TEST2.0/pokemon_classifer.py", line 387, in
main()
File "E:/Python/TEST2.0/pokemon_classifer.py", line 310, in main
saver.restore(sess, ckpt.model_checkpoint_path)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 1388, in restore
{self.saver_def.filename_tensor_name: save_path})
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 766, in run
run_metadata_ptr)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 964, in _run
feed_dict_string, options, run_metadata)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1014, in _do_run
target_list, options, run_metadata)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1034, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.NotFoundError: Key beta1_power not found in checkpoint
[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]
Caused by op 'save/RestoreV2', defined at:
File "E:/Python/TEST2.0/pokemon_classifer.py", line 387, in
main()
File "E:/Python/TEST2.0/pokemon_classifer.py", line 295, in main
saver = tf.train.Saver()
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 1000, in init
self.build()
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 1030, in build
restore_sequentially=self._restore_sequentially)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 624, in build
restore_sequentially, reshape)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 361, in _AddRestoreOps
tensors = self.restore_op(filename_tensor, saveable, preferred_shard)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 200, in restore_op
[spec.tensor.dtype])[0])
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\ops\gen_io_ops.py", line 441, in restore_v2
dtypes=dtypes, name=name)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 759, in apply_op
op_def=op_def)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 2240, in create_op
original_op=self._default_original_op, op_def=op_def)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 1128, in init
self._traceback = _extract_stack()
NotFoundError (see above for traceback): Key beta1_power not found in checkpoint
[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]
If It can work well for Linux?
I don't know how operate whole program and I have no idea.

The error is as follow:
"D:\Program Files\Anaconda3\python.exe" E:/Python/TEST2.0/pokemon_classifer.py
Start Pokemon classifier
Use the model: lstm
Use the optimizer: adam
Use the model: lstm
WARNING:tensorflow:From E:/Python/TEST2.0/pokemon_classifer.py:297 in main.: initialize_all_variables (from tensorflow.python.ops.variables) is deprecated and will be removed after 2017-03-02.
Instructions for updating:
Use tf.global_variables_initializer instead.
Continue training from the model ./checkpoint/checkpoint.ckpt-20
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key RNN/BasicLSTMCell/Linear/Bias/Adam not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key RNN/BasicLSTMCell/Linear/Bias not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key RNN/BasicLSTMCell/Linear/Bias/Adam_1 not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key RNN/BasicLSTMCell/Linear/Matrix not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key beta2_power not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key RNN/BasicLSTMCell/Linear/Matrix/Adam_1 not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key RNN/BasicLSTMCell/Linear/Matrix/Adam not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key Variable not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key beta1_power not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key Variable/Adam not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key Variable_1 not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key Variable_3 not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key Variable/Adam_1 not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key Variable_1/Adam not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key Variable_1/Adam_1 not found in checkpoint
W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:975] Not found: Key Variable_2 not found in checkpoint
Traceback (most recent call last):
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1021, in _do_call
return fn(*args)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1003, in _run_fn
status, run_metadata)
File "D:\Program Files\Anaconda3\lib\contextlib.py", line 66, in exit
next(self.gen)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 469, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.NotFoundError: Key RNN/BasicLSTMCell/Linear/Bias/Adam not found in checkpoint
[[Node: save/RestoreV2_1 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2_1/tensor_names, save/RestoreV2_1/shape_and_slices)]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:/Python/TEST2.0/pokemon_classifer.py", line 387, in
main()
File "E:/Python/TEST2.0/pokemon_classifer.py", line 310, in main
saver.restore(sess, ckpt.model_checkpoint_path)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 1388, in restore
{self.saver_def.filename_tensor_name: save_path})
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 766, in run
run_metadata_ptr)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 964, in _run
feed_dict_string, options, run_metadata)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1014, in _do_run
target_list, options, run_metadata)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1034, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.NotFoundError: Key RNN/BasicLSTMCell/Linear/Bias/Adam not found in checkpoint
[[Node: save/RestoreV2_1 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2_1/tensor_names, save/RestoreV2_1/shape_and_slices)]]
Caused by op 'save/RestoreV2_1', defined at:
File "E:/Python/TEST2.0/pokemon_classifer.py", line 387, in
main()
File "E:/Python/TEST2.0/pokemon_classifer.py", line 295, in main
saver = tf.train.Saver()
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 1000, in init
self.build()
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 1030, in build
restore_sequentially=self._restore_sequentially)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 624, in build
restore_sequentially, reshape)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 361, in _AddRestoreOps
tensors = self.restore_op(filename_tensor, saveable, preferred_shard)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 200, in restore_op
[spec.tensor.dtype])[0])
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\ops\gen_io_ops.py", line 441, in restore_v2
dtypes=dtypes, name=name)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 759, in apply_op
op_def=op_def)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 2240, in create_op
original_op=self._default_original_op, op_def=op_def)
File "D:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 1128, in init
self._traceback = _extract_stack()
NotFoundError (see above for traceback): Key RNN/BasicLSTMCell/Linear/Bias/Adam not found in checkpoint
[[Node: save/RestoreV2_1 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2_1/tensor_names, save/RestoreV2_1/shape_and_slices)]]
Process finished with exit code 1


fix: Auto-delete-input-file deleting input even in error case

Input files are currently deleted even if there are processing errors and exceptions.
This needs fixing.

We still need to increase the version to 10 due to backwards compatibility drop of dropping python. Should I give it a try?


fix build on windows

Codecov Report

Merging #1912 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1912      +/-   ##
==========================================
- Coverage   75.09%   75.08%   -0.01%
==========================================
  Files          76       76
  Lines      125288   125327      +39
==========================================
+ Hits        94082    94105      +23
- Misses      31206    31222      +16

Impacted Files
Coverage Δ

src/if_xcmdsrv.c
83.33% <0%> (-2.04%)
:arrow_down:

src/version.c
79.29% <0%> (-1.02%)
:arrow_down:

src/os_unix.c
56.98% <0%> (-0.15%)
:arrow_down:

src/gui_gtk_x11.c
47.5% <0%> (-0.11%)
:arrow_down:

src/window.c
81.32% <0%> (-0.1%)
:arrow_down:

src/channel.c
83.55% <0%> (-0.1%)
:arrow_down:

src/term.c
52.93% <0%> (-0.06%)
:arrow_down:

src/gui.c
45.53% <0%> (-0.06%)
:arrow_down:

src/message.c
68.35% <0%> (+0.05%)
:arrow_up:

src/undo.c
81.64% <0%> (+0.06%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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

DO NOT CLOSE THIS.
Windows build still broken. Missing semi-colon in previous line.


Feature request: add optional tasks

I would like Dotbot to install the required softwares by my dotfiles. For instance, if I use i3, I would add to install.conf.yaml:
- shell:
    - sudo apt-get install -y i3

- link:
    - ~/.config/i3/config: i3/config

But imagine I need multiple softwares like fish, tmux, Vim, etc. and with multiple package managers (npm install -g bower gulp yo, sudo pip install pre-commit pre-commit-hooks thefuck, etc.), each time I run ./install, the whole installation process will take several minutes to run, especially on low resource systems such as the Raspberry Pi v1.
I know Dotbot should be idempotent, but wouldn't be great to run ./install --init or something to execute specific part of the file (for instance, install the required softwares)? Then, the install.conf.yaml would become:
- optional:
    # Only executed if `--init` is specified
    - name: init
      tasks:
        - shell:
            - [sudo apt-get install -y i3, Installing required softwares]

# Executed in any case
- link:
    - ~/.config/i3/config: i3/config

Sounds interesting. I would be in favor of incorporating some form of this functionality.
This seems closely related to #44 / #81. It would be great to come up with a single design that unifies all of these ideas.

Well, you're right. Hope we'll find a solution! It seems many of us would love such a feature.

Obviously @anishathalye you have the final word here, but I'd be concerned about feature creep. One of Dotbot's great strengths is that it's dead simple, and starting to add advanced configuration options might remove some of that simplicity.
You already have a plugin API -- I'd much rather see this kind of functionality implemented as a plugin than in the Dotbot core. Maybe there should be an interface for implementing new kinds of tasks; then there could be a "dotbot-optional-task" plugin that implements this feature.

However, letting tasks have some kind of name or group attribute seems like a useful feature to have in the core program. Then you can resolve https://github.com/anishathalye/dotbot/issues/81 easily by grouping the output together for tasks that share a groups attribute:
- groups:
  - "init"
  shell:
    - [sudo apt-get install -y i3, Installing required softwares]

- link:
    - ~/.config/i3/config: i3/config

Alternatively you can require that all additional attributes have to be specified in an "attributes" element, which can then be passed on to plugins etc:
- shell:
    - [sudo apt-get install -y i3, Installing required softwares]
  attributes:
  - optional
  - groups: ["init"]

- link:
    - ~/.config/i3/config: i3/config

I've merged in #214 to allow --only and --except to only run certain sections.
For groups of tasks, I think the right solution is splitting them into foo.yaml, bar.yaml and then tweaking the install script to take an argument that is the config name, e.g. ./install foo which will call Dotbot on foo.yaml.


Hint at missing project.name

We got user reports where users were confused about why they can't use [project.urls] in pyproject.toml (i think that's from poetry?). This PR adds a hint that (according to PEP 621), you need to set project.name when using any project fields. (PEP 621 also requires project.version xor dynamic = ["version"], but we check that later.)
The intermediate parsing layer to tell apart syntax errors from schema errors doesn't incur a performance penalty according to epage (https://github.com/toml-rs/toml/issues/778#issuecomment-2310369253).
Closes #6419
Closes #6760

This hint seems to only be shown when a project is explicitly built.
$ cat pyproject.toml
[project.urls]
repository = 'https://github.com/octocat/octocat-python'
$ cargo run -- pip install .
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s
     Running `/home/jon/src/github.com/astral-sh/uv/target/debug/uv pip install .`
error: Failed to extract static metadata from `pyproject.toml`
  Caused by: `pyproject.toml` is using the `[project]` table, but the required `project.name` is not set.
  Caused by: TOML parse error at line 1, column 2
  |
1 | [project.urls]
  |  ^^^^^^^
missing field `name`

Not, when it is just parsed because of uv run.
$ cargo run -- run python
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s
     Running `/home/jon/src/github.com/astral-sh/uv/target/debug/uv run python`
error: Failed to parse: `pyproject.toml`
  Caused by: TOML parse error at line 1, column 2
  |
1 | [project.urls]
  |  ^^^^^^^
missing field `name`

This is modelled after #6419 and #6760, where the failing cases were dependencies, not the project itself

@konstin -- Do you think we can also add this for the workspace discovery errors?

I extended it to uv run in https://github.com/astral-sh/uv/pull/7399.


Unhandled promise rejection while loading views hide the actual error

Exceptions like this:
Unhandled promise rejection Error: Error loading "app.html!view" at http://localhost:9000/dist/app.html(…)(anonymous function)
@ shim.min.js:1444b.exports
@ shim.min.js:453b.(anonymous function)
@ shim.min.js:1625f
@ shim.min.js:1596q
@ shim.min.js:1600

Can easily hide actual error messages.
(I have place a breakpoint in shim.js to find the particular exception, which is for my current case is a strange thing with chrome:
"Error: Error loading "app.html!view" at http://localhost:9000/dist/app.html↵There was no template element found in 'http://localhost:9000/dist/app.html'.↵    at DefaultLoader.findTemplate (http://localhost:9000/jspm_packages/github/aurelia/loader@0.8.3/aurelia-loader.js:200:15)↵    at http://localhost:9000/jspm_packages/github/aurelia/loader@0.8.3/aurelia-loader.js:188:22↵    at f (http://localhost:9000/jspm_packages/npm/core-js@0.9.18/client/shim.min.js:1415:56)↵    at http://localhost:9000/jspm_packages/npm/core-js@0.9.18/client/shim.min.js:1423:13↵    at b.exports (http://localhost:9000/jspm_packages/npm/core-js@0.9.18/client/shim.min.js:453:24)↵    at b.(anonymous function) (http://localhost:9000/jspm_packages/npm/core-js@0.9.18/client/shim.min.js:1625:11)↵    at Number.f (http://localhost:9000/jspm_packages/npm/core-js@0.9.18/client/shim.min.js:1596:24)↵    at q (http://localhost:9000/jspm_packages/npm/core-js@0.9.18/client/shim.min.js:1600:11)"
)

Same problem with firefox, after a fresh install by yo, I was looking for
http://localhost:9000/
GET XHR http://localhost:9000/dist/main [HTTP/1.1 404 Not Found 2ms]

"Unhandled promise rejection" "Error loading "main" at http://localhost:9000/dist/main
Not Found: http://localhost:9000/dist/main" shim.min.js:1444:98
i/</<() shim.min.js:1444
b.exports() shim.min.js:453
<anonymous> shim.min.js:1625
f() shim.min.js:1596
q() shim.min.js:1600

What's a good way to reproduce this so I can work on fixing the error output?

Sorry I didn't have much time lately.
I had the problem above with loader 0.8.3, but I can still reproduce it with 0.8.7. If I just pick the project I created back then with the yeoman generator, change app.html to something that doesn't have a root template element, and then run 'gulp watch', it has this error.
I now cannot reproduce the same thing with the typescript starter kit for 1.0.0-beta, so the issue must have been solved since then. If I do the same thing to app.html, the error is properly reported on the browser console.
(I guess the yeoman generator is no longer supported, as the changed docs page doesn't mention it).


Broken links for articles about the details of VFS for Git

The links for "Git at Scale", "Technical Scale Challenges", and "VFS for Git Design History" all lead to 404 pages now. I'd love to read the original articles; is there a new URL available that the homepage could link to?

You're meaning the links on https://vfsforgit.org/ which are broken, but are not maintained by this repository.
Perhaps @vtbassmatt knows how to fix this, but otherwise we might close this as "won't fix" (because we don't have those files anymore).

Those topics have new URLs on the Microsoft docs site. I'll get this fixed.

Fix has been deployed.

Thank you!


Look for BROWSER env variable before defaulting to lynx(1)

Should fix #283
I'm not sure whether this change should be mentioned in the docs...

I'm not sure whether this change should be mentioned in the docs...

I think it should be, in two places:

in the description of browser setting (doc/configcommands.dsv);
in the list of environment variables that Newsboat uses (doc/chapter-environment-variables.txt).

As for code, it looks good to me, thank you!

Coverage increased (+0.02%) to 38.225% when pulling b920968184537f3a3ce7cbe4855a05e6f45151d1 on kmws:default-browser into 7d0d3da87c07c007f043dd974383d9e27a336569 on newsboat:master.

Thank you, @kmws!


dependency update

Hope you guys are doing good,
I encountered the issue with the package:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
project ':image_gallery_saver' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72

The problem was with the dependency image_gallery_saver, and I fix it by updating the dependency to latest version.
Camilo, if you get some time please accept the pull request to make this package accessible and fixed from your side, otherwise for those, who is encountering the same issue, until this packages is not updated. You can use this in your pubspec.yaml file.
  stories_editor:
    git:
      url: https://github.com/AdnanKhan45/stories_editor
      ref: feature/dependencyUpdate

Thanks.

thanks for supporting this project :D


Flux without Kubernetes?

Does Flux work only with Docker containers (Compose, Swarm), without Kubernetes?

It doesn't (for now at least)
On Thu, Feb 14, 2019, 10:44 Daniel Blendea<EMAIL_ADDRESS>wrote:

Does Flux work only with Docker containers (Compose, Swarm), without
Kubernetes?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/weaveworks/flux/issues/1739, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACQOJAnzuQBzHbEDLNmEkyHA2nShgS5Fks5vNS_jgaJpZM4a7MyI
.

Sorry for the necro, but why not keep this open as a feature request?

We could but it's really far away from what Flux does so I am not sure it makes sense.

I see Flux as just a cluster synchronization tool for git -> cluster. Does it matter that the cluster is Kubernetes or Swarm? I'm just playing devil's advocate here. The team I'm on at Docker has written an internal tool to do just this (it also includes secret integration) for Kubernetes and Swarm. Eventually, I would like to get it open sourced, but if it makes more sense to integrate, I'd rather do that probably.
But just to be clear, sounds like secret integration (injecting secrets at runtime) and Swarm support are too far away from what Flux is meant to be?


mbedTLS accepts a certificate whose validity is not in the range of its CA certificate's without any warning

Summary: As for a certificate, its validity should be in the range of its CA certificate's in logic. For example, if a CA certificate's validity is from Aug 15 10:28:44 2016 GMT to Aug 15 10:28:44 2017 GMT, the validity of a certificate which is issued by this CA should not be from Aug  1 12:12:12 2008 GMT to Nov  3 12:12:12 2018 GMT or from Sep  3 12:12:12 2016 GMT to Nov  3 12:12:12 2018 GMT. mbedTLS should reject such certificates or give warnings in logic, instead of depending on CRL or OCSP.
Versions of mbedTLS: 2.3.0
Operating System: [Ubuntu v1604-LTS x64]
Steps to reproduce:
mbedtls_cert_app mode='file' filename=3.pem ca_file=ca.pem
mbedtls_cert_app mode='file' filename=4.pem ca_file=ca.pem
Actual results: OK
Expected results: mbedTLS should reject such certificates or give some warnings at least.
The attachement contains ca.pem and 3.pem and 4.pem.
Please rename the file "test cases.txt" to "test cases.zip" and extract it.
ca.pem:
Not Before: Aug 15 10:28:44 2016 GMT
Not After : Aug 15 10:28:44 2017 GMT
3.pem:
Not Before: Aug  1 12:12:12 2008 GMT
Not After : Nov  3 12:12:12 2018 GMT
4.pem
Not Before: Sep  3 12:12:12 2016 GMT
Not After : Nov  3 12:12:12 2018 GMT
test cases.txt

@chenchuAtXidian Thank you for reporting this issue, please upload test cases.txt again

@RonEld The file "test cases.txt" has been uploaded. Thank you!

ARM Internal Ref: IOTSSL-1220

Is this actually a bug? Once the CA expires, both 3.pem and 4.pem will no longer be regarded as valid anyway. Is this required by any RFC? If not, mbedTLS will probably end up rejecting some certificates which validate everywhere else.

@jcowgill A valid CA should not issue certificates whose validity is beyond its date range in logic even when the CA certificate is valid. Is it right for us to accept such certificates without warning?

A warning would probably be appropriate, but I think rejecting certificates like this would be wrong because what the CA has done is (strictly speaking) valid and does not cause any security issues.

@jcowgill I agree that corresponding warnings should be given at least. I am not good at launching attacks using bugs. Therefore it is difficult for me to tell how to use it.

Indeed, not only is it OK, it's desirable to accept leaf certificates with validity which extends beyond the parent certificate's validity - business models may involve a customer buying a 5-year certificate, and the root certificate's validity is also extended every five or ten years, causing some certificates to extend a little beyond the root certificate's validity (for a while). I know it's not common, but that has happened in the past with public CA roots.
The main thing is that the chain is valid only as long as every certificate in the chain is individually valid - which is what the standards require and what mbedTLS implements.

@chenchuAtXidian Thanks for your report. However, we couldn't find anything in RFC 5280 that requires or even suggests such a check from validating parties. Additionally, @NWilson provided an argument why such a check might actually be harmful in some real-world cases. We don't think we should be stricter than what the RFC suggests unless there is a security reason for it, which we don't think is the case here.
Therefore I'm closing this a "not a bug". As usual, if you disagree please reopen and quote standards documents supporting your point.


fix: can not get currentContext in error handler

pick from 1757
Checklist

[x] I have ensured my pull request is not behind the main or master branch of the original repository.
[x] I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first.
[x] I have written a commit message that passes commitlint linting.
[x] I have ensured that my code changes pass linting tests.
[x] I have ensured that my code changes pass unit tests.
[x] I have described my pull request and the reasons for code changes along with context if necessary.

npm dist-tag ls
experimental: 3.0.0-alpha.1
latest-0: 0.21.1
latest: 2.14.2
next: 2.14.2
v1: 1.7.0


Transfer spore error prompt Resolve failed Unknown

Steps to reproduce the behavior:
1、This cell can also be queried during Transfer Spore
2、Build another transaction immediately upon sending it
Error prompt appears:
Error: {"code":-301,"message":"TransactionFailedToResolve: Resolve failed Unknown(OutPoint(0xe6967e78d3b87471a3fa8e2c644dd26004dfda44b79ad26c71e762ec2431edab00000000))","data":"Resolve(Unknown(OutPoint(0xe6967e78d3b87471a3fa8e2c644dd26004dfda44b79ad26c71e762ec2431edab00000000)))"}

https://github.com/Dawn-githup/spore-sdk/blob/beta/packages/core/src/__tests__/TransferError.test.ts

We should probably use transaction-manager to prevent this from happening:
https://github.com/ckb-js/lumos/tree/develop/packages/transaction-manager

A random idea to resolve this issue:

Add a optional RPCTransactionManager property in SporeConfig
If the property exists, collect from it instead of using the default indexer

However, currently, we are using lumos' featured methods to collect capacity, such as the common.injectCapacity method. In any case, it does not appear to accept RPCTransactionManager. Should we contact lumos team for this?

Talked with the lumos team, here's simple workaround:
-const provider = new Indexer('https://mainnet.ckb.dev')
+const provider = new RPCTransactionManager({rpcUrl: 'https://mainnet.ckb.dev'})

let txSkeleton = TransactionSkeleton({
  cellProvider: provider
})

injectCapacity(txSkeleton, ...)

@Dawn-githup is this issue still there?

@Dawn-githup is this issue still there?

Not modified


upgrade Golang to 1.20 and quic-go to v0.34

upgrade Golang_host from 1.91 to 1.20 and quic-go from v0.30 to v0.34

This is clearly a good thing to do. But it looks like all the diffs of the file are in machine generated code, which makes it hard to apply the change.
If you want to merge this you'll probably have to merge it carefully and do some work by hand. If you don't want to merge, I can add this (or something very similar to what I am doing.)

I'm working on it now.


Feat/release builder

Main changes

:new: (feature)
:top: (enhancement)

In this PR:

standard-version has been installed
In package.json now there are 6 new scripts to generate a corresponding version (alpha, prerelesase, patch, minor, major)
First changelog has been generated with npm run release -- --first-release

Context

#27 :ticket: Closes

@kevinccbsg nice catch! 👍🏻


How to use cdf file?

Hello,
I run "./GenerateSDF -r "50 50 50" box.obj" and I got a cdf file, box.cdf. But I don't know how to use the cdf file. How can I visualize the cdf file? I could not read the cdf file using python, such as:
f=open('box.cdf','r') text=f.readlines()
These codes failed.
I study in robotics. And I want to use the sdf to detect collision between robot hand and objects, when I train my neuron network using Tensorflow. How can I do it?

The cdf file format is the format of the DiscreGrid library. You can generate and load it using the library.

thank you
---Original---
From: "Jan<EMAIL_ADDRESS>Date: 2020/2/18 15:02:17
To<EMAIL_ADDRESS>Cc: "zhangqiangbing"<2752067558<EMAIL_ADDRESS>Subject: Re: [InteractiveComputerGraphics/Discregrid] How to use cdf file? (#9)
The cdf file format is the format of the DiscreGrid library. You can generate and load it using the library.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Discregrid is a nice library. We also use it in PyBullet for SDF collision, see the video here:
https://www.youtube.com/watch?v=eaGHbfRWv_w&feature=youtu.be
The extracted code to perform the query is here:
https://github.com/bulletphysics/bullet3/blob/master/src/BulletCollision/CollisionShapes/btMiniSDF.cpp
Actual Python script loads a URDF robotics description that points to the cdf file:
import pybullet as p
import pybullet
import time
p.connect(p.GUI)
p.loadURDF("toys/concave_box.urdf")
p.setGravity(0, 0, -10)
for i in range(10):
  p.loadURDF("sphere_1cm.urdf", [i * 0.02, 0, 0.5])
p.loadURDF("duck_vhacd.urdf")
timeStep = 1. / 240.
p.setTimeStep(timeStep)
while (1):
  p.stepSimulation()
  time.sleep(timeStep)


Using flatpak runtimes

See original issue on GitLab
In GitLab by [Gitlab user @albfan] on May 7, 2018, 10:47
Say I want to build gnome-builder from buildstream. Seems buildstream takes the same approach like jhbuild (building all needed deps) but without relying on host for anything.
That is not a problem at all, but as there's flatpak runtimes out there, would be great to avoid build from scratch several things, like webkit (which takes hours to build).
https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/master/elements/core-deps/WebKitGTK+.bst
One option could be flatpak GNOME runtime:
http://docs.flatpak.org/en/latest/available-runtimes.html#gnome
As far as I know there's no metadata in flatpak runtimes so you can know what packages/version it provides. Our best shot is to interrogate runtime with pkg-config.
Ignoring future designs or implementations: Is it possible right know to reuse flatpak runtimes to build anything from buildstream?
I can try whichever WIP around to give feedback

In GitLab by [Gitlab user @tristanvb] on May 7, 2018, 10:52
From a BuildStream standpoint, a Flatpak runtime is just an import of an ostree repository.
Some of our first tests were building against freedesktop runtimes downloaded from sdk.gnome.org.
However, what will be recommended instead of importing a runtime and building against that, will be to depend on the BuildStream project which defines and builds the runtime you depend on, this will allow inheritance of important details once we implement the include directives hinted at in #331
Currently, 1.8 freedesktop runtime has been under development at https://gitlab.com/freedesktop-sdk/freedesktop-sdk/, and should be ready momentarily; we have had a hard time getting it out of the door (blocking mostly on infra specifically for publishing the 32bit arm runtimes).
Note that gnome-build-meta already depends on the freedesktop 1.8 flatpak runtime for building GNOME releases, see:  https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/master/elements/base/freedesktop-sdk-junction.bst

In GitLab by [Gitlab user @albfan] on May 7, 2018, 14:09
Ok, for this particular issue I found an example on https://gitlab.com/BuildStream/buildstream-tests
It relays on freedesktop-sdk, then on gnome-sdk and route to usr with
https://gitlab.com/BuildStream/buildstream-tests/blob/master/autotools-test/elements/dependencies/base-sdk.bst#L5
then it's a typical buildstream project (using autotools)
Looking at https://gitlab.gnome.org/GNOME/gnome-build-meta
https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/master/elements/world/gnome-builder.bst
I know gnome-builder depends on webkit through devhelp
https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/master/elements/world/evolution.bst#L7
So let's see if I can cut out some deps and link to a flatpak runtime so it just build what is out of gnome runtime

In GitLab by [Gitlab user @albfan] on May 7, 2018, 14:09
closed

In GitLab by [Gitlab user @albfan] on May 8, 2018, 07:48
Finally buildstream-tests are outdated (still use arches option), so I grab 963098df and go to integration-tests/autotools-test
I can build, open workspace, but I cannot get a shell to see all the flatpak files mounted (no sh or bash avaliable) makes sense? freedesktop-sdk should provide it, no?


Feature request

Hi,
The following 2 features in my opinion would be an absolutely awesome addition. Taking the liberty to put it here.

Add option to open Google Chrome inside atom, to browse Internet quickly without me opening a  browser.

Allow user to install Chrome extensions inside atom.

Thanks.

Thank you for the suggestion!
That does sound like an interesting idea for a package :+1: Unfortunately, the Atom maintainer team is already full up handling all of the support and maintenance of the current core packages. There are a couple options:

Someone may have already created this and we're not aware of it. Have you searched the Atom package registry or Atom theme registry?
You can post a message on Discuss, the official Atom and Electron message board to see if anyone from the community is willing to try and build it

In any case, because we treat our issues list as the Atom team's backlog, we close issues that are questions since they don't represent a task needing to be completed. But I'm also going to label this with package-idea so that others searching for suggestions here can find this.
Thanks again for your interest in Atom :grinning:


Create an infrastructure/guidance for using WebHost with generic host and a single container

@Tratcher  @davidfowl
We need to start pointing people to the right way of doing web host inside the generic host without having 3 containers.

This is the plan for 3.0. It's why generic host doesn't have a Startup class or a second and third container.

We need to adapt https://github.com/aspnet/MetaPackages/blob/master/src/Microsoft.AspNetCore/WebHost.cs to work nicely in the generic host.

Current guidance: don't. We'll get this sorted out in 3.0.

Right, it's not a 2.2 work item. There isn't enough time to do anything good.

Closing in favor of #1544


Tenant availability validation

I am using route strategy with in memory store.
I have added 2 tenants in the store tenant1 and tenant2 along with its connection string and all.
Now while opening page http://localhost/tenant1/Home/Index or http://localhost/tenant2/Home/Index. It is working fine as expected.
However, if I open http://localhost/tenant3/Home/Index, it is also opening however while database query it is failing as the tenant is not valid.
I have tried with the route strategy sample provided in the source, the issue is there also.
Am I missing something?
I would like to achieve that if the tenant is not available in the system should show 404 not found.

Hi @niravbhattsai
You aren't missing anything, in that case the request is being routed to the controller with no tenant detected, and in my view I decided to show the default page if no tenant was detected.
You could do something in your controller like this if you wanted to return a 404:
if(HttpContext.GetMultiTenantContext()?.TenantInfo == null)
    return NotFound();

Maybe it would make for a good enhancement to somehow automatically return a 404 if the tenant isn't found when using the RouteStrategy.

Thanks @achandlerwhite, I am planning to use the similar approach.
I agree with you, it will be a good enhancement to return a 404.
I did not get chance to look at the host strategy, but I believe it will be similar output.
In Host, if we map a CNAME record as * and in IIS we map *.domain.com, it is behaving same as route strategy.

@niravbhattsai I've pinned this issue as an enhancement so I can come back to it later. I'm glad you found a workaround for now-- let me know if you run into any problems.

Using this code everywhere can bore you. it looks better like this.
public class ActionFilterExample : ActionFilterAttribute
   {
       public override void OnActionExecuting(ActionExecutingContext context)
       {
           if (context.HttpContext.GetMultiTenantContext<TenantInfo>()?.TenantInfo == null)
               context.Result = new BadRequestResult();
       }
   }

And
    [ActionFilterExample]
    public class HomeController : Controller


Refactor Node and Route structures

These structures are tied together quite closely, but that's not evident from how they are currently used. Further, these objects are clearly not in charge of their internal state: LS and the operators modify this repeatedly.
Additionally, we do no really test these objects yet since they are mostly internal to the C++ implementation of LS. We should probably bind and test them in much the same way we did for TimeWindowSegment.

To further develop this a bit, I'd like Route::Node to be a really simple class or struct that stores only the bare minimum like
struct Node
{
    size_t client;
    size_t position;
    Route *route;
}

The time window, load, and distance statistics can all be moved over to Route. Similarly, inserting/removing nodes is something the Route should be in charge of. I think we can also get rid of the linked list model with p() and n(), using positions and indexing/slicing instead, perhaps using std::span for efficiency.
Getting to that point will take significant refactoring, but should leave us with objects that are (a) in control of their internal state, and (b) easier to test because they can only be modified in very clear ways.

This may be related to #51 (proposal to use end index as exclusive).

We will no longer need the position attribute once Route owns its nodes. That can trivially be computed as
int Node::position()
{
    auto const &nodes = route->nodes;
    return std::distance(nodes.begin(), this);
}

[from #320]
I think two/three more PRs after this:

Make Route take ownership of the Route::Nodes - no more pointers to memory owned by LocalSearch. The LS can maintain pointers to nodes instead, if needed. Remove the idx field; it can be calculated then (see #96 for details).
Move the Route::Node TWS data to Route.
Bind this to Python and add tests.

[ ] [maybe?] Make Route take ownership of the Route::Nodes - no more pointers to memory owned by LocalSearch. The LS can maintain pointers to nodes instead, if needed. Remove the idx field.

I might try this sometime later, but for now I don't think this is super important.


feat(coverage): glob based coverage thresholds

Description

Work in progress ⚠
Closes https://github.com/vitest-dev/vitest/issues/3709.
import { defineConfig } from "vitest/config";

export default defineConfig({
  test: {
    coverage: {
      thresholds: {
        // Thresholds for all files
        lines: 100,
        functions: 100,
        branches: 80,
        statements: 90,

        // Thresholds for utilities
        "**/utils/**": {
          lines: 80,
          statements: 50,
        },
      },
    },
  },
});

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
[ ] Ideally, include a test that fails without this PR but passes with it.
[x] Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

[ ] Run the tests with pnpm test:ci.

Documentation

[ ] If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

[x] Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

@arianshirepublik this feature is not yet finished but should make it to v1 release. I'm introducing some breaking changes to coverage option structure at the same time.

Adding support to thresholdAutoUpdate now that there are multiple different coverage thresholds in configuration file is a bit tricky. Earlier we've used just search-and-replace with regexp but now we may need to parse the configuration file's AST.

Adding support to thresholdAutoUpdate now that there are multiple different coverage thresholds in configuration file is a bit tricky. Earlier we've used just search-and-replace with regexp but now we may need to parse the configuration file's AST.

Maybe you can try https://github.com/unjs/magicast ?

@arianshirepublik this feature is not yet finished but should make it to v1 release. I'm introducing some breaking changes to coverage option structure at the same time.

Hi @AriPerkkio
Can we use this feature in v1.0.0-beta.4?

No, this feature is not yet finished. Please wait patiently 😄
I'm planning to finalize this during this week.

Hi @AriPerkkio
I tested v1.0.0-beta.5
The report will not be generated. Can you check it?

Hi @AriPerkkio
When I run the command: yarn run test --coverage,
The desired test case has been executed but no test report or coverage table has been generated, and then the program stops here.

@arianshirepublik please open new issue with reproducible setup.


Missing steps to enable Multi-Factor Auth Client and Multi-Factor Auth Connector

We went through all these steps and kept getting the following errors showing up.
NPS Extension for Azure MFA:  CID: 341b704d-03f1-4ba6-ae92-eb19ae2f2bf3 :Exception in Authentication Ext for User myusername :: ErrorCode:: CID :341b704d-03f1-4ba6-ae92-eb19ae2f2bf3 ESTS_TOKEN_ERROR Msg:: Verify the client certificate is properly enrolled in Azure against your tenant and the server can access URL in Registry STS_URL. Error authenticating to eSTS: ErrorCode:: ESTS_TOKEN_ERROR Msg:: Error in retreiving token details from request handle: -895352831 AADSTS7000112: Application '981f26a1-7f43-403b-a875-f8b09b8cd720'(Azure Multi-Factor Auth Client) is disabled.
Trace ID: c5379bf7-9e15-49d0-9541-547b68c95d00
Correlation ID: e3dfe056-fbdd-4b4b-8852-2d55991e97be
Timestamp: 2019-10-17 20:48:29Z Enter ERROR_CODE @ https://go.microsoft.com/fwlink/?linkid=846827 for detailed troubleshooting steps. Enter ERROR_CODE @ https://go.microsoft.com/fwlink/?linkid=846827 for detailed troubleshooting steps.
Went through all the troubleshooting steps above, no joy.
Ran the following to enable the relevant apps -
Set-MsolServicePrincipal -AppPrincipalId "981f26a1-7f43-403b-a875-f8b09b8cd720" -AccountEnabled $True
Set-MsolServicePrincipal -AppPrincipalId "1f5530b3-261a-47a9-b357-ded261e17918" -AccountEnabled $True
Restarted NPS server - now able to get Push notifications when vpn'ing in.
Hope this helps someone else configure this (there are a lot of search results for this error but not many fixes documented).

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

ID: a61a7e9a-44bf-7bdc-f810-87e2fd6792e1
Version Independent ID: 71d11105-b83e-952e-d107-1ff9a7c8d107
Content: Use existing NPS servers to provide Azure MFA capabilities - Azure Active Directory
Content Source: articles/active-directory/authentication/howto-mfa-nps-extension.md
Service: active-directory
Sub-service: authentication
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@Absoblogginlutely, Thank you for sharing the steps with us. We are looking into this and will review the steps and will try to incorporate the same in the docs after review, so that it helps others too.

@Absoblogginlutely, we are closing this thread for now.

Why is this still an issue?  I just installed the Azure MFA NPS extension and ran into the same issue.


Incorporate animations package into the Flutter Gallery app

Add animations from the animations package into the Flutter Gallery.

done :) https://gallery.flutter.dev/#/demo/motion


#23 Improve banner design done

Improved the banner design with a new animated design. Also changed the background and button color to a more appealing style.
As this is my first pull request it was very fun to work on this project . . . .Thank You for the project!!!!!!

@amyyalex  Can you please review and merge the code

Job well done! @Ankurnegigithub Love the implemented design and animation.
PR Merged!

@amyyalex  Thank you 😊


@vue/cli-service was packed into my output lib

Version
4.5.6
Environment info
win 10
node v12.16.1
yarn v1.22.4

Steps to reproduce
I ran the vue ui command, and import my project by the ui page, then choose the task compile,it's actual command is vue-cli-service build --target lib --inline-vue --entry package/index.js
What is expected?
exclude the package @vue/cli-service from output file
What is actually happening?
I found the @vue/cli-service was packed into my output lib, but it's too big, is this normal?

Not really. See explanation here: https://github.com/vuejs/vue-cli/issues/5717#issuecomment-665567802


Amam/enable translation

Description
Enable translation and add Content security policy
Changes:

enable translation

Type of change

[ ] Bug fix
[x] New feature
[x] Breaking change
[ ] Dependency update
[ ] This change requires a documentation update

can you show the language dropdown for non-production also? + send the selected language to the socket connection in (socket_base)

can you show the language dropdown for non-production also? + send the selected language to the socket connection in (socket_base)

we dont have design for language dropdown yet, sure will send to socket base

deployment is failing


Revert "chore(deps): bump react-router-dom and @types/react-router-dom in /ui"

Reverts argoproj/argo-workflows#10547

This is quite urgent, master is broken due to the react-router-dom upgrade.
Could we setup dependabot to only upgrade minor versions?

This is quite urgent, master is broken due to the react-router-dom upgrade.

Could you say how please?

Could we setup dependabot to only upgrade minor versions?

Good idea. Would you like to submit a PR?
https://github.com/orgs/community/discussions/21626

Could you say how please?

argo-ui assumes the react-router-dom version is 4. In nav.bar.tsx the AppContext contains an undefined router as a result.
This in turn leads to a broken AppRouter in the workflows ui and only displays a blank page.

Good idea. Would you like to submit a PR?
Sure I will do after the current bug fix I am working on atm.

Could we setup dependabot to only upgrade minor versions?

Good idea. Would you like to submit a PR?
https://github.com/orgs/community/discussions/21626

I added an answer in that discussion about how to ignore all major versions: https://github.com/orgs/community/discussions/21626#discussioncomment-6771318


Add Chaos Frontend Toolkit to the list of tools

This PR adds Chaos Frontend Toolkit to the list of tools.
Chaos Frontend Toolkit is a browser extension (Chrome, FF, Edge) that applies Chaos Engineering experiments to web apps.
The experiments cover network, timers, history, accessibility, localization, inputs, ...

Hi @Errorname, thanks for the contribution. Can you rebase and keep only one line for your project?

Hi @dastergon, sorry, I completely failed the rebased! I opened a new PR here: #116


Refactor validate pkg for generic and odo validation

Signed-off-by: Maysun J Faisal<EMAIL_ADDRESS>What type of PR is this?
/kind cleanup
/kind code-refactoring
What does does this PR do / why we need it:
We need this PR to refactor the validation pkg to odo specific validation and devfile generic validation, so that the generic validation can be exported out to the ~devfile/parser~ devfile/api repo
Which issue(s) this PR fixes:
#4073
PR acceptance criteria:

[x] Unit test

[ ] Integration test

[ ] Documentation

[x] I have read the test guidelines

How to test changes / Special notes to the reviewer:
Run the unit tests in the validate pkg

@mik-dass @adisky could you pls review this PR? This PR refactors the validation pkg into odo specific and devfile specific logic; so that the devfile logic can be moved out to devfile/api repo in the future

You might want to rebase due to merge of this pr: https://github.com/openshift/odo/pull/3959/files

perfect 1000 lines added!!

@girishramnani i would say 85-90% of those new lines are unit tests which will be moved to devfile/parser or devfile/api along with the generic pkg. I'm unit testing the generic func but since odo will consume them as well, i've added the same test for the odo repo. Lmk, if you think otherwise.

/retest

/lgtm


Can't build example hello_world_server

Hi
I have just installedhte library following each step of the getting started guide, and when copying  the hello_world_server example, and trying to compile it:
g++ main.cpp -std=c++17 -I/usr/local/include
The compiler gives an error
In file included from /usr/local/include/boost/network/protocol/http/request.hpp:10:0,
                 from /usr/local/include/boost/network/protocol/http/server.hpp:14,
                 from main.cpp:1:
/usr/local/include/boost/network/protocol/http/impl/request.hpp:20:31: fatal error: network/uri/uri.hpp: No such file or directory
compilation terminated.

Which version of the library are you using?

The last one, I just followed the tutorial step by step, I made git clone git://github.com/cpp-netlib/cpp-netlib.git Anyway, how can I "reinstall" it, I also tried to download it before trying the git way downloading the packet from ubuntu, but it gave same error

@Diablillowilly I would suggest you build the branch 0.13-release and not the master branch.


release 0.1 planned

This fall or summer, the plan is to release the first numbered version of seisflows.  By then (1) we should have a buildbot-like continuous integration system in place, (2) commits to the main repository will more often take the form of pull requests, and (3) I will have finished or be close to finishing my thesis and may be able to devote more time to software development.  Until then, changes will probably just continue in the current fashion.  Thanks for bearing with me.  -Ryan

Just a warning that we are experimenting with the "jenkins" continuous integration system.  You may see some automatically generated messages following the next pull request.  I'd like the integrations tests to run if I just type 'git push' as well, but so far that is not in place.

Update: a new pull request has been submitted, the first of potentially several aimed at delivering a stable tagged release. #36

Update: coincident with the above, some changes have been made to read/write permissions for all users--don't be alarmed if you receive any email notifications.

It look like jenkins is now fully integrated with github.  Thanks David!  After each pull request, all users will be able to see the overall pass or fail status. Users with a local account may be able to click and see even more details.
The jenkins tests are basically just wrappers over the contents of the seisflows/tests directory, with  security measures to prevent execution of any malicious code within a pull request.
Currently, after every pull request, there are four tests that run automatically.

test_import
do modules import correctly?

test_optimize
tests nonlinear optimization machinery on the Rosenbrock function

test_system
checks the system machinery by sending a hello message from every allocated resource

checkers_2d
runs the sample inversion described here http://seisflows.readthedocs.io/en/latest/instructions_remote.html
this last test usually runs in under 5 mintues, but can take longer depending on resource availability

These instructions were posted elsewhere on the issues page, but it occurs to me they seem relevant here too.
The following sed commands can be used to update any code written by individual users but not yet pushed to the main repository.  (All code in the main repository has already been updated.)
It is required that you run these commands from within the seisflows package directory, and of course, it is recommended that you back up your existing source code.
find . -name "*.py" -exec sed i 's:import optimize:optimize = sys.modules['seisflows_optimize']:' {} =
find . -name "*.py" -exec sed i 's:import preprocess:preprocess = sys.modules['seisflows_preprocess']:' {} =
find . -name "*.py" -exec sed i 's:import postprocess:postprocess = sys.modules['seisflows_postprocess']:' {} =
find . -name "*.py" -exec sed i 's:import solver:solver = sys.modules['seisflows_solver']:' {} =
find . -name "*.py" -exec sed i 's:import system:system = sys.modules['seisflows_system']:' {} =
find . -name "*.py" -exec sed i 's:import workflow:workflow = sys.modules['seisflows_workflow']:' {} =

find . -name "*.py" -exec sed i 's:PAR = SeisflowsParameters():PAR = sys.modules['seisflows_parameters']:' {} =
find . -name "*.py" -exec sed i 's:PATH = SeisflowsPaths():PATH = sys.modules['seisflows_paths']:' {} =

find . -name "*.py" -exec sed -i 's:seistools:plugins:' {} +
find . -name "*.py" -exec sed -i 's:tools.code:tools.tools:' {} +
find . -name "*.py" -exec sed -i 's:tools.config:config:' {} +


docs(blog): in-app google assistant blog post

PR Checklist
Please review the guidelines for contributing to this repository.

[x] I am requesting to pull a topic/feature/bugfix branch (right side). In other words, not master.
[x] I have run npm test against my changes and tests pass.
[x] I have added or edited necessary documentation, or no docs changes are needed.

Description
New blog post responding to Google's in-app Assistant paper. Tagging @miketatum to check the tags on the entry.

:tada: This issue has been resolved in version 1.23.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


⚠ Bofrost.be has degraded performance

In 923b507, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2433 ms

Resolved: Bofrost.be performance has improved in d6a3708.


API-189: Append @agents to runner if @agents is defined and not 0

http://youtrack.zopian.ad.zopa.com/issue/API-189
Append @agents to Nunit runner if @agents is defined and not 0

@vytautasziurlis cc @kieranlynam @lukesmith

👍 makes sense to me


feature: "shuffle albums instead of songs" mode

Hi there!  Seeing that you've been doing all this work on a music-shuffling program, would it be relatively easy to add a mode that, rather than playing songs picked at random, randomly picks an album from the library, plays the album straight through, and then moves on to another randomly selected album?
Personally I find that full shuffle is often too jarring, and I like listening to albums all the way through, but it would be really nice if I could get a program to just keep that stream of albums playing without me having to think about what to put on!  In case this does happen to interest you, I should point out that for usability, the full-album shuffle mode really needs to have simple ways both to skip the current song and to jump to another album immediately. (Sometimes you're just not in the mood for what the RNG picked.)
This is a feature I would have expected to be common in mainstream music players, but that hasn't been my experience.

Thanks for the feature request!
This seems to be in a similar spirit to issue #8 I filed a while back. This is something that should definitely be added. Album-based shuffle is not well-addressed by other MPD clients. I'm not sure when I'll have time to add support, but I'll get around to it eventually. If you'd like to take a shot at it, pull requests are always welcome :)

I should point out that for usability, the full-album shuffle mode really needs to have simple ways both to skip the current song and to jump to another album immediately.

This is a good point, but I'm not sure it's feasible given the way MPD/ashuffle work. ashuffle just listens for player events (like skipping a song), and then reacts to them (adds a new song to the queue). There's no way for it to observe events that are not already part of MPDs player interface.
Unfortunately, I think this is best left to other (user-facing) clients to implement. It should be possible for a client to skip past all contiguous songs on the same album. Worst case users can hack something together using mpc. Once there are no songs left in the queue, ashuffle can react, and queue up the next album, just like how it works for individual songs.

@scruloose, if you're still interested in this feature and have the time, I'd love some feedback on PR #55. Does it work like you'd expect?

I've been looking for this too. I'm happy with how this PR is working, but I've only used the --by-album flag so far. I'll be sure to let you know if I see something I don't expect.
I'm really happy to have this feature though.

@ddffnn Thanks for the feedback! It's very good to know that the feature is working well. I think I'll merge it in the next couple days unless I get more feedback.

Finally got the tests figured out. Merged as v3.3.0.


Question about the estimation process of voxel-wise uncertainty

Congratulations! Very impressive work!
However, the manuscript greatly confuses me, especially in uncertainty estimation. I can understand the final PSC output can be ensembled from multiple outputs by averaging the matched semantic and binary mask probability. However, how to obtain the uncertainty of each voxel according to ensemble PSC? Model predicts? How to supervise this uncertainty or unsupervised learning? I cannot get related information from your paper. It's interesting part but I think it's not clear enough to me. I hope the authors can address this question when you feel free.
Thank you for your time!

Hi @Chen-Albert-FENG ,
Thanks for your nice words!  You can get the answer from this figure.

Thanks for your reply! @anhquancao
Let's firstly focus on the discussion of voxel-wise uncertainty. From your given figure, I suppose the final uncertainty based on softmax operations on 3 SSC probability? For example, for one voxel index, the probability array is [0.5, 0.6, 0.7], how to get the uncertainty? I'm sorry for my understanding ability but I hope you can help me figure out the process when you feel free since this work is very interesting!
Looking forward to your reply!

Based on your example, the confidence level is calculated as the average of the values [0.5, 0.6, 0.7], which results in 0.6.
Uncertainty estimation is typically considered as predicting the confidence of the prediction. Higher confidence indicates a higher likelihood of being correct. I recommend reading the following papers for more insights:

Hendrycks et al. "A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networks." ICLR 2017.
Lakshminarayanan et al. "Simple and Scalable Predictive Uncertainty Estimation Using Deep Ensembles." NeurIPS 2017.
Havasi et al. "Training Independent Subnetworks for Robust Prediction." ICLR 2021.

Thank you for your quick response!


conditional startup of admin application

Pull Request Test Coverage Report for Build 4130

0 of 0   changed or added relevant lines in 0 files are covered.
85 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.09%) to 89.255%

Files with Coverage Reduction
New Missed Lines
%

data-access-layer/cf/src/TokenIssuer.js
1
98.55%

core/utils/src/commonFunctions.js
31
85.03%

applications/admin/src/api-controllers/ServiceFabrikAdminController.js
53
75.18%

Totals

Change from base Build 4116:
-0.09%

Covered Lines:
9245

Relevant Lines:
10002

💛  - Coveralls

Not needed anymore as separate app for Interoperator Admin APIs will be created.


macOS / Web UI- ModuleNotFoundError: No module named 'dotenv'

Hi I have followed the steps to run the GUI but face this error when running the command:
(.venv) (rvc) ➜  Retrieval-based-Voice-Conversion-WebUI git:(main) ✗ python infer-web.py

Traceback (most recent call last):
  File "/Users/danielraban/projects/Retrieval-based-Voice-Conversion-WebUI/infer-web.py", line 3, in <module>
    from dotenv import load_dotenv
ModuleNotFoundError: No module named 'dotenv'

Chip: `Apple M2 Max`
macOS: `14.3.1 (23D60)`
Python Version: `Python 3.9.6`

Please let me know if anyone has a solution or has encountered this before.
Thank you.

just install python-doetnv

Was able to get the application running after manually running installs rather than ./run.sh


documentation: clone version specific code for deployment. (#2161)

Coverage remained the same at 52.606% when pulling cf64c3345c7fc03abc07a75705dc0588e2d7724e on squirrelsc:v0.10-patch into 264b7b7892a653ee8f1d7e1f6909e6ac23f32ede on Microsoft:pai-0.10.y.


lspsaga outline error

Describe the bug
use lspsaga outline when press key 'o' and i get these:
E5108: Error executing lua: ...e/pack/packer/start/lspsaga.nvim/lua/lspsaga/outline.lua:178: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
	[C]: in function 'pairs'
	...e/pack/packer/start/lspsaga.nvim/lua/lspsaga/outline.lua:178: in function <...e/pack/packer/start/lspsaga.nvim/lua/lspsaga/outline.lua:175>

Steps to reproduce
run command lspsaga outline
and press key 'o'
Expected behavior
jump to symbol correctly
Neovim version (nvim -v)
NVIM v0.9.0-dev-635+gc19bd47c0
lspsaga commit
latest
Terminal name/version
kitty release

need more reproduce step. I can't reproduce.

please provide more information like the min example language code (c cpp lua go rust etc) that can reproduce this.

if long time no reply i will close until you provide more information it will reopen .

Maybe this was caused by some plugin conflict or something else because this is not happening on a file but on all the Lua files I edited, I don't know what I should provide for that...

if you can reproduce with a min config I will reopen .

if you can reproduce with a min config I will reopen .

I have the same problem:
Behaviour: When opening outline and trying to open with 'o'
Neovim Version:
NVIM v0.9.0-dev-771+g18fb669b9
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/gcc-10  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g  -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -W
double-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fno-common -fdiagnostics-color=always -fstack-protector-strong -DNVIM_
UNIBI_HAS_VAR_FROM -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_TS_HAS_SET_MATCH_LIMIT -DNVIM_TS_HAS_SET_ALLOCATOR -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DMIN_LOG_LEVEL=3 -I/home/runner/
work/neovim/neovim/.deps/usr/include/luajit-2.1 -I/usr/include -I/home/runner/work/neovim/neovim/.deps/usr/include -I/home/runner/work/neovim/neovim/build/src/nvim/auto -I/home/runner/
work/neovim/neovim/build/include -I/home/runner/work/neovim/neovim/build/cmake.config -I/home/runner/work/neovim/neovim/src
Compiled by runner@fv-az344-236

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/share/nvim"

Error:
E5108: Error executing lua: ...e/pack/packer/start/lspsaga.nvim/lua/lspsaga/outline.lua:178: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
        [C]: in function 'pairs'
        ...e/pack/packer/start/lspsaga.nvim/lua/lspsaga/outline.lua:178: in function <...e/pack/packer/start/lspsaga.nvim/lua/lspsaga/outline.lua:175>

lspsaga config:
require('lspsaga').setup({
  symbol_in_winbar = {
    enable = false,
  },
  lightbulb = {
    enable = false,
  },
  ui = {
    -- currently only round theme
    theme = 'round',
    title = false,
    -- border type can be single,double,rounded,solid,shadow.
    border = 'single',
    winblend = 0,
    expand = '',
    collapse = '',
    preview = ' ',
    code_action = ' ',
    diagnostic = ' ',
    incoming = ' ',
    outgoing = ' ',
    virtual_text = false,
    colors = {
      --float window normal background color
      normal_bg = "#282c34",
      --title background color
      title_bg = '#282c34',
      red = '#e06c7b',
      magenta = '#b33076',
		 orange = "#d19a66",
		 yellow = "#e5c07b",
		 green = "#98c379",
		 cyan = "#56b6c2",
      blue = '#61afef',
		 purple = "#c678dd",
		 white = "#abb2bf",
      black = '#61afef',
    },
    kind = {},
  },
})

If you need any more info let me know.

like i said . I need a reproduce step can 100 percent to reproduce this bug. I can't reproduce it.

reproduced

update


Consumer EventData does not work if system time isn't UTC

Link : https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/eventhub/Azure.Messaging.EventHubs/README.md#consume-events-using-an-event-processor
Code snippet:

Error Details : Will throw an exception while perform this code.

Consumes Event data failed while system time is not UTC time, it works if set the system time as UTC.
Migrated from: https://github.com/Azure/azure-sdk-for-java/issues/5448

I've completed investigation and was able to reproduce this.   A fix has been made in the linked PR and will be included in the next release.

Closing as resolved, with the associated PR merged.


[Bug]: Could you update the configuration process for LLAMA-7B? EasyLM seems to be updated and the old configuration is not correct anymore.

Issue Type
Build/Install
Modules Involved
SPU runtime
Have you reproduced the bug with SPU HEAD?
Yes
Have you searched existing issues?
Yes
SPU Version
latest
OS Platform and Distribution
Ubuntu 22.04
Python Version
3.10
Compiler Version
GCC 11.3
Current Behavior?
The EasyLM has been updated and the steps in README.md in examples/python/ml/flax_llama7b are incorrect.
Standalone code to reproduce the issue
Lots of errors

Relevant log output
No response

Main errors come from
python convert_hf_to_easylm.py  \
   --hf_model     /home/code/models/Llama-7b    \
   --output_file flax-llama7b-EasyLM.msgpack  \
   --streaming false

It seems to be a duplicate of #704

It seems to be a duplicate of #704

Yes, it can work with some tedious modifications, but I recommend updating the readme or giving some hits to prevent future users from these errors.  After all, LLAMA is an important model in PPDL.
Thanks a lot!


remove_accents option deletes € sign

since #464 the remove_accents function also deletes the € sign.

Would this be an alternative implementation for the remove_accents?
https://stackoverflow.com/a/71408065
It also relies only on roce python libs.


Bug: Versions gone wonky

Describe the bug
https://botc-scripts.azurewebsites.net/script/129/3.2.1 has versions listed in a really bizarre order. Firstly, it probably shouldn't be possible to upload a version that's older than the latest and if it is, the history should always be in version order.

Fixed in https://github.com/AdmiralGT/botc-scripts/pull/109


how to focus cursors from extension api?

I want to move a cursor from a extension. I wrote below codes.
var p = new vscode.Position(line,char);
var s = new vscode.Selection(p, p);
vscode.window.activeTextEditor.selection = s;

The cursor moves, but when it move to outside of a window, the window does not focus it.
How to focus cursors from a extension api?

@74th would TextEditor.revealRange with no/default revealType work for you?

Thank you! It works!


Set the poster and preload attributes for videos hosted on OSF

To save a lot of OSF bandwidth and to speed up the loading of content, I would strongly suggest the use of the poster=path/to/poster.png and preload="none" attributes of HTML video nodes. This would impact the video preview panel when browsing project files and also videos embedded in the wiki using the @[osf](GUID) method.
It would also be nice if eventually the poster images could be selected by the users when uploading video files, but I would say this is lower priority for now.

So I'm sorry I told you to move this only to then close it, but it turns out this will be more difficulty to implement then I thought and probably can't be done from markdown-it-video, it's more likely you'd actually need to change our modular-file-render AKA MFR to actually accomplish.
I sent a message to our dev who in charge of the MFR and he was positive about the change, but it would be difficult to work into are agile process anytime soon. I may personally just go put in a PR for this because I think it's a good suggestion, but it won't be merged or deployed within the next six months most likely.
The OSF does not usually investigate or adopt feature requests unless they are very easy to QA test and give us a lot of utility. Yours was kind of on the edge of that so I looked into. Thanks for your suggestion, I'll try to credit you if this does get done. Or you could put in a PR into the MFR yourself and I'll make sure it gets a relatively speedy review. (Sometimes we ignore outside PRs, even good ones simply because we don't have the QA resources to ensure quality) Just remember to write tests.

I was having a quick look at the source code and I agree that this looks like something that should be added in the MFR repository, specifically here:
https://github.com/CenterForOpenScience/modular-file-renderer/blob/master/mfr/extensions/video/templates/viewer.mako#L9
Or at least at a glance, you could add at this point the preload="none" attribute. The poster attribute is a bit more tricky, but I have some ideas. Perhaps we continue discussing on an issue in the MFR repo?


ignore Hyphens character

In some way, I just don't want escape the Hyphens character, how can I do that, in version 4.0.0 the Hyphens was escaped '-' => '\x2d'

Why is it a problem? Please familiarize yourself with why it was needed.

because hyphens can behave like normal characters as explained here
https://stackoverflow.com/questions/4068629/how-to-match-hyphens-with-regular-expression/4068725#4068725
for my needs, i will just wrap your function with a chained call to .replace(/\\x2d/g, '-')

Yes, it is not always necessary to escape it, but it doesn't cause any problem if escaped as well. So I also don't see any issue here.

for my needs, i will just wrap your function with a chained call to .replace(/\\x2d/g, '-')

@Metallou-dev That will give the wrong result for the input "\x2d".

@charmander agreed. my solution works well for my needs
@papb agreed, i just needed to write htaccess directives that seo people can understand (it works but they complain)

I also think the - escaping should be only done where necessary, e.g. inside character classes.


in vitest browser runner plugin with transformIndexHtml to inject importmap script manually does not work.

Describe the bug
Need the importmap available for non-js resources like SVG and HTML to be resolved natively by import.meta.resolve( path ).
For some reasin in vitest browser runner the usual plugin with transformIndexHtml to inject importmap script manually does not work.
Advised in https://github.com/vitejs/vite/issues/2483 method of injecting script via browser.testerScripts is not applicable as a) import maps requires script type="importmap", b) it is injected after stateScript which causes "import maps injected after module use" error. Following request, openingthe  bug on vitest.
Root cause:

Declarative Custom Element is HTML-centric and needs support for importmap for use by import.meta.resolve( path ) API. Vitest in browser does not support import maps.
vitest browser run uses static HTML instead of loading by vite build and altering it afterwards
using vitest to run the StoryBook interactive tests for TDD on visual components (React and Web Components).  The StoryBook is not supported by vitest browser run, had to do a bit of tricks.

Solving on any level from $subj to root causes, better all, would be beneficial for frameworks and reusable libs authors.
Reproduction
<script type="importmap">
{
    "imports": {
        "embed-lib": "./demo/lib-dir/embed-lib.html"
    }
}
</script>

const url = import.meta.resolve( 'embed-lib' );
expect( url ).to.include( 'embed-lib.html' );

System Info
System:
    OS: Windows 11 10.0.22621
    CPU: (16) x64 12th Gen Intel(R) Core(TM) i7-1260P
    Memory: 1.31 GB / 15.69 GB
  Binaries:
    Node: 20.8.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.22 - C:\Program Files\nodejs\yarn.CMD
    npm: 10.1.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.0.6 - C:\Program Files\nodejs\pnpm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    @vitest/browser: ^1.6.0 => 1.6.0
    @vitest/coverage-istanbul: ^1.6.0 => 1.6.0
    vite: ^5.3.1 => 5.3.1
    vitest: ^1.6.0 => 1.6.0

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

For some reasin in vitest browser runner the usual plugin with transformIndexHtml to inject importmap script manually does not work.

transformIndexHtml is meant for the app HTML, Vitest doesn't use your index.html file in the root, so the processing is not applied. I don't think we should reuse it.
We do need to provide a way to use your own HTML, but I don't know how. Open to ideas.
Import maps are tricky because they are not supported by Vite, so we can't add our own support otherwise it will contradict the dev environment.
Also, I noticed you are using 1.6.0. The browser mode was rewritten in Vitest 2.0, we do not support lower versions anymore.

There is a "right" and "fast" solution. The "right" is to allow to accept the web page from running web server and inject the code. This way it can be any framework or StoryBook built natively.
The "fast" solution is to alter

the html loading source code and apply the transformIndexHtml or similar on it, or
introduce importMaps config parameter which would inject the script before testerScripts.

The hacking attempt into pathe/resolve to substitute client/tester/tester.html with app-specific one does not work as dist/ compiled code inlines the calls :(
PS. Upgrade vitest to current does not change the approach. The HTML loading code stays the same in  "@vitest/browser": "^2.0.5",

Proposed PR for review:
https://github.com/vitest-dev/vitest/pull/6424

@sheremet-va , in PR ^^ there is one of possible solutions. It can be not optimal and perhaps does not follow the current codebase conventions though. Who/how I can ask for review of principle?
If the solution is OK in general, I would update PR with CLI and docs support.

While the PR under review, there is a work around. In project root run:
node bin/vitest-browser-importmaps.mjs

// injects importmaps for module-url.test.stories.ts
import fs from 'node:fs'

const pathName =<EMAIL_ADDRESS>const jsStr = fs.readFileSync(pathName).toString();
if( !jsStr.includes('importmap') ) // skip if already patched
{
    const injectedStr = jsStr.replace('</style>', `</style>
<script type="importmap">
    {
        "imports": {
            "lib-root/": "./demo/lib-dir/",
            "embed-lib": "./demo/lib-dir/embed-lib.html"
        }
    }
</script>
`);
    fs.writeFileSync(pathName, injectedStr);
}