Build On aarch64 Server

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): CentOS 7
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): source
TensorFlow version: v1.11.0
Python version: 3.6
Installed using virtualenv? pip? conda?: no
Bazel version (if compiling from source): 0.15.0
GCC/Compiler version (if compiling from source): 4.8.5
CUDA/cuDNN version: no
GPU model and memory:

Describe the problem
I build tensorflow on aarch64 server. But always got error. I do not understand!!
Provide the exact sequence of commands / steps that you executed before running into the problem
./configure
WARNING: Running Bazel server needs to be killed, because the startup options are different.
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
You have bazel 0.15.0- (@non-git) installed.
Please specify the location of python. [Default is /usr/bin/python]: /usr/local/python3/bin/python3
Found possible Python library paths:
/usr/local/python3/lib/python3.6/site-packages
Please input the desired Python library path to use.  Default is [/usr/local/python3/lib/python3.6/site-packages]
Do you wish to build TensorFlow with jemalloc as malloc support? [Y/n]: n
No jemalloc as malloc support will be enabled for TensorFlow.
Do you wish to build TensorFlow with Google Cloud Platform support? [Y/n]: n
No Google Cloud Platform support will be enabled for TensorFlow.
Do you wish to build TensorFlow with Hadoop File System support? [Y/n]: n
No Hadoop File System support will be enabled for TensorFlow.
Do you wish to build TensorFlow with Amazon AWS Platform support? [Y/n]: n
No Amazon AWS Platform support will be enabled for TensorFlow.
Do you wish to build TensorFlow with Apache Kafka Platform support? [Y/n]: n
No Apache Kafka Platform support will be enabled for TensorFlow.
Do you wish to build TensorFlow with XLA JIT support? [y/N]: n
No XLA JIT support will be enabled for TensorFlow.
Do you wish to build TensorFlow with GDR support? [y/N]: n
No GDR support will be enabled for TensorFlow.
Do you wish to build TensorFlow with VERBS support? [y/N]: n
No VERBS support will be enabled for TensorFlow.
Do you wish to build TensorFlow with nGraph support? [y/N]: n
No nGraph support will be enabled for TensorFlow.
Do you wish to build TensorFlow with OpenCL SYCL support? [y/N]: n
No OpenCL SYCL support will be enabled for TensorFlow.
Do you wish to build TensorFlow with CUDA support? [y/N]: n
No CUDA support will be enabled for TensorFlow.
Do you wish to download a fresh release of clang? (Experimental) [y/N]: n
Clang will not be downloaded.
Do you wish to build TensorFlow with MPI support? [y/N]: n
No MPI support will be enabled for TensorFlow.
Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native]:
Would you like to interactively configure ./WORKSPACE for Android builds? [y/N]: n
Not configuring the WORKSPACE for Android builds.
Preconfigured Bazel build configs. You can use any of the below by adding "--config=<>" to your build command. See tools/bazel.rc for more details.
--config=mkl            # Build with MKL support.
--config=monolithic     # Config for mostly static monolithic build.
Configuration finished
bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package
Starting local Bazel server and connecting to it...
....................
WARNING: /home/fei/tensorflow/tensorflow/core/BUILD:2463:1: in includes attribute of cc_library rule //tensorflow/core:framework_internal_headers_lib: '../../external/com_google_absl' resolves to 'external/com_google_absl' not below the relative path of its package 'tensorflow/core'. This will be an error in the future. Since this rule was created by the macro 'cc_header_only_library', the error might have been caused by the macro implementation in /home/fei/tensorflow/tensorflow/tensorflow.bzl:1373:20
WARNING: /home/fei/tensorflow/tensorflow/core/BUILD:2548:1: in includes attribute of cc_library rule //tensorflow/core:framework_headers_lib: '../../external/com_google_absl' resolves to 'external/com_google_absl' not below the relative path of its package 'tensorflow/core'. This will be an error in the future. Since this rule was created by the macro 'cc_header_only_library', the error might have been caused by the macro implementation in /home/fei/tensorflow/tensorflow/tensorflow.bzl:1373:20
WARNING: /home/fei/.cache/bazel/_bazel_fei/6d85cbe619157ee2e987c2321228a66d/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_common.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /home/fei/.cache/bazel/_bazel_fei/6d85cbe619157ee2e987c2321228a66d/external/grpc/bazel/grpc_build_system.bzl:172:12
WARNING: /home/fei/.cache/bazel/_bazel_fei/6d85cbe619157ee2e987c2321228a66d/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_decode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /home/fei/.cache/bazel/_bazel_fei/6d85cbe619157ee2e987c2321228a66d/external/grpc/bazel/grpc_build_system.bzl:172:12
WARNING: /home/fei/.cache/bazel/_bazel_fei/6d85cbe619157ee2e987c2321228a66d/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_encode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /home/fei/.cache/bazel/_bazel_fei/6d85cbe619157ee2e987c2321228a66d/external/grpc/bazel/grpc_build_system.bzl:172:12
WARNING: /home/fei/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:exporter': No longer supported. Switch to SavedModel immediately.
WARNING: /home/fei/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:gc': No longer supported. Switch to SavedModel immediately.
WARNING: /home/fei/tensorflow/tensorflow/contrib/timeseries/python/timeseries/BUILD:354:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries:ar_model: target '//tensorflow/contrib/timeseries/python/timeseries:ar_model' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/fei/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:230:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/fei/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:73:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/fei/tensorflow/tensorflow/contrib/bayesflow/BUILD:17:1: in py_library rule //tensorflow/contrib/bayesflow:bayesflow_py: target '//tensorflow/contrib/bayesflow:bayesflow_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/fei/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/fei/tensorflow/tensorflow/core/BUILD:2562:1: in includes attribute of cc_library rule //tensorflow/core:stream_executor_headers_lib: '../../external/com_google_absl' resolves to 'external/com_google_absl' not below the relative path of its package 'tensorflow/core'. This will be an error in the future. Since this rule was created by the macro 'cc_header_only_library', the error might have been caused by the macro implementation in /home/fei/tensorflow/tensorflow/tensorflow.bzl:1373:20
WARNING: /home/fei/tensorflow/tensorflow/contrib/BUILD:13:1: in py_library rule //tensorflow/contrib:contrib_py: target '//tensorflow/contrib:contrib_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
INFO: Analysed target //tensorflow/tools/pip_package:build_pip_package (305 packages loaded).
INFO: Found 1 target...
ERROR: /home/fei/.cache/bazel/_bazel_fei/6d85cbe619157ee2e987c2321228a66d/external/com_google_absl/absl/base/BUILD.bazel:117:1: C++ compilation of rule '@com_google_absl//absl/base:base' failed (Exit 1)
external/com_google_absl/absl/base/internal/cycleclock.cc:1:0: error: unknown value 'native' for -march
// Copyright 2017 The Abseil Authors.
^
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 12.825s, Critical Path: 0.34s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
➜  tensorflow git:(c19e293) bazel build --config=opt  --verbose_failures //tensorflow/tools/pip_package:build_pip_package
WARNING: /home/fei/tensorflow/tensorflow/core/BUILD:2463:1: in includes attribute of cc_library rule //tensorflow/core:framework_internal_headers_lib: '../../external/com_google_absl' resolves to 'external/com_google_absl' not below the relative path of its package 'tensorflow/core'. This will be an error in the future. Since this rule was created by the macro 'cc_header_only_library', the error might have been caused by the macro implementation in /home/fei/tensorflow/tensorflow/tensorflow.bzl:1373:20
WARNING: /home/fei/tensorflow/tensorflow/core/BUILD:2548:1: in includes attribute of cc_library rule //tensorflow/core:framework_headers_lib: '../../external/com_google_absl' resolves to 'external/com_google_absl' not below the relative path of its package 'tensorflow/core'. This will be an error in the future. Since this rule was created by the macro 'cc_header_only_library', the error might have been caused by the macro implementation in /home/fei/tensorflow/tensorflow/tensorflow.bzl:1373:20
WARNING: /home/fei/.cache/bazel/_bazel_fei/6d85cbe619157ee2e987c2321228a66d/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_common.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /home/fei/.cache/bazel/_bazel_fei/6d85cbe619157ee2e987c2321228a66d/external/grpc/bazel/grpc_build_system.bzl:172:12
WARNING: /home/fei/.cache/bazel/_bazel_fei/6d85cbe619157ee2e987c2321228a66d/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_decode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /home/fei/.cache/bazel/bazel_fei/6d85cbe619157ee2e987c2321228a66d/external/grpc/bazel/grpc_build_system.bzl:172:12
WARNING: /home/fei/.cache/bazel/bazel_fei/6d85cbe619157ee2e987c2321228a66d/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_encode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /home/fei/.cache/bazel/bazel_fei/6d85cbe619157ee2e987c2321228a66d/external/grpc/bazel/grpc_build_system.bzl:172:12
WARNING: /home/fei/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:exporter': No longer supported. Switch to SavedModel immediately.
WARNING: /home/fei/tensorflow/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:gc': No longer supported. Switch to SavedModel immediately.
WARNING: /home/fei/tensorflow/tensorflow/contrib/timeseries/python/timeseries/BUILD:354:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries:ar_model: target '//tensorflow/contrib/timeseries/python/timeseries:ar_model' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/fei/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:230:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/fei/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:73:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/fei/tensorflow/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/fei/tensorflow/tensorflow/core/BUILD:2562:1: in includes attribute of cc_library rule //tensorflow/core:stream_executor_headers_lib: '../../external/com_google_absl' resolves to 'external/com_google_absl' not below the relative path of its package 'tensorflow/core'. This will be an error in the future. Since this rule was created by the macro 'cc_header_only_library', the error might have been caused by the macro implementation in /home/fei/tensorflow/tensorflow/tensorflow.bzl:1373:20
WARNING: /home/fei/tensorflow/tensorflow/contrib/bayesflow/BUILD:17:1: in py_library rule //tensorflow/contrib/bayesflow:bayesflow_py: target '//tensorflow/contrib/bayesflow:bayesflow_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
WARNING: /home/fei/tensorflow/tensorflow/contrib/BUILD:13:1: in py_library rule //tensorflow/contrib:contrib_py: target '//tensorflow/contrib:contrib_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of tf.contrib.distributions to tfp.distributions.
INFO: Analysed target //tensorflow/tools/pip_package:build_pip_package (0 packages loaded).
INFO: Found 1 target...
ERROR: /home/fei/.cache/bazel/bazel_fei/6d85cbe619157ee2e987c2321228a66d/external/gif_archive/BUILD.bazel:8:1: C++ compilation of rule '@gif_archive//:gif' failed (Exit 1): gcc failed: error executing command
(cd /home/fei/.cache/bazel/bazel_fei/6d85cbe619157ee2e987c2321228a66d/execroot/org_tensorflow &&
exec env -
PATH=/usr/local/bin:/usr/bin:/home/fei/bin:/usr/local/sbin:/usr/sbin
PWD=/proc/self/cwd
/usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -B/usr/bin -B/usr/bin -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections -MD -MF bazel-out/host/bin/external/gif_archive/objs/gif/external/gif_archive/lib/dgif_lib.d -iquote external/gif_archive -iquote bazel-out/host/genfiles/external/gif_archive -iquote external/bazel_tools -iquote bazel-out/host/genfiles/external/bazel_tools -isystem external/gif_archive/lib -isystem bazel-out/host/genfiles/external/gif_archive/lib -isystem bazel-out/host/bin/external/gif_archive/lib -g0 '-march=native' -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE="redacted"' '-D__TIMESTAMP="redacted"' '-D__TIME="redacted"' -c external/gif_archive/lib/dgif_lib.c -o bazel-out/host/bin/external/gif_archive/_objs/gif/external/gif_archive/lib/dgif_lib.o)
external/gif_archive/lib/dgif_lib.c:1:0: error: unknown value 'native' for -march
/******************************************************************************
^
Target //tensorflow/tools/pip_package:build_pip_package failed to build
INFO: Elapsed time: 2.137s, Critical Path: 0.07s
INFO: 0 processes.
FAILED: Build did NOT complete successfully

@wf0312 as the message said
 error: unknown value 'native' for -march

Please change the value of optimization of optimization flags
Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native]:

either during configuration or edit your configuration file after configuration.


Create a contact-us-info.html

One need to make this component using HTML and Tailwind CSS. I would suggest to use Tailwind Playgrounds to make things faster and quicker.
Here is a reference to the component.

After building the component please raise a PR with a screenshot of the component and add the component in Form Group/src/contact-us-info.html.
If you need to use any icon please use it from Hero Icons
Good luck.

should I add this component? @Rajdip019


Release/beta.2

AutoAnimate Beta 2

Hey, thanks for the great library!
Just wanted to ask if this is going to be released?


Add update_or_insert operation

It would be slick to have a update_or_insert (upsert) collection method that would take a query to uniquely identify a document, and the new or updated document. If the query matches an existing document, the document is updated with the new values provided, else it is created.
In my particular application, new and existing records are not so easy to tease apart, and fetched data includes a mix of both. I would rather not have to query the database for existing records, split the list, and perform both an insert_many and a number of update_one operations in a loop. I appreciate that transactions make this pretty trivial in terms of performance and consistency, but it would be a super nice convenience for an already very convenient crate. Having the _many version of this would be even better!
// impl<T>  Collection<T>
pub fn update_or_insert(&self, query: Document, upsert: Document) -> Result<UpdateOrInsertResult>;

// App
let mut session = db.start_session().unwrap();
session.start_transaction(None).unwrap();

let collection = db.collection::<Item>("items");
let new_and_updated: Vec<Item> = refresh_items().await?;

for item in new_and_updated {
  collection.update_or_insert(
    doc! { "guid": item.guid },
    bson::to_document(item).unwrap(),
  )?;
}

Yes we need this. Will add this.

We can use upsert now:
let update_result = col.update_one_with_options(
        doc! { "_id": 1 },
        doc! { "$set": { "name": "John", "age": 30 } },
        UpdateOptions::builder().upsert(true).build(),
    ).unwrap();

Awesome, thanks!


Update CLI -h (target options)

Eg --string-array-encoding <string|boolean> [true, false, base64, rc4] has available options, but --target no.
--target <string>      Allows to set target environment for obfuscated code.

And I'm thinking, that all options should have described Default values

Thank you

I will change help format to this one:
--target <string>        Allows to set target environment for obfuscated code. Values: browser, browser-no-eval, node. Default: browser

Fix in the master branch now. You can use version from master branch until release.

0.17.0 version in out!


Switch to datetime

Switch to datetime - Issue #14
Added datetime library and updated logging string to use strftime().

Good start, however the string being passed into strftime can contain other words.
date.strftime('month = %b')
and since date is only used once after being created can we consolidate line 29 & 30?

I was apparently misusing datetime.now(), it's supposed to be datetime.datetime.now(). But then I don't even need it in the first place, since time.strftime() already defaults to the current system time. So I feel silly.
I'm not sure what you mean about the strftime though. Are you suggesting we include variables in the strftime statement? So instead of
"{0}  {2} Checking in at {1}\n".format(strftime('%b  %d %H:%M:%S'),self.client_address[0], msg[1].strip())
we use
strftime('%b  %d %H:%M:%S  {1} Checking in at {0}'.format(self.client_address[0], msg[1].strip()))
or even worse-looking
strftime('%b  %d %H:%M:%S  ' + msg[1].strip() + ' Checking in at ' + str(self.client_address[0]))

I would personally go with the first option using the format function. The only thing we need to worry about is escaping possible %s in the host name. I am not sure if it will be cleaner to put the call to strftime on a different line then the format because of escaping.
"%b".replace('%','%%')
Also lets stick with datetime because

For time objects, the format codes for year, month, and day should not be used, as time objects have no such values. If they’re used anyway, 1900 is substituted for the year, and 1 for the month and day.

to be fair I am not sure if that is talking about the time library
We should be able to do a from datetime import datetime since the second datetime is a class

Don't worry about escaping characters issue #18 should take care of any security implications that may entail.

I think that quote is referring to the difference between datetime.time objects, when what we're using is a time object. I tested using from time import strftime and strftime('%d %b %Y') correctly returns 07 Feb 2017 (or 08 Feb 2017, if your time zone is UTC like my raspberry pi was).


[BUG] Rand lower bound >1 when log=True

Describe the bug
When log=True, the lower bound of rand is set to 1, or error will be thrown.
Expected behavior
This is not necessary, the lower bound should be (0.0
Environment (please complete the following information):

Backend: pandas/dask/ray?
Backend version:
Python version:
OS: linux/windows

https://github.com/fugue-project/tune/blob/2082ae988ff3a13e35dbe65083e373a72f65c44f/tune/concepts/space/parameters.py#L156


Allow user to unwhitelist themselves

It would be really cool if someone could remove only themselves from the whitelist and get their allocation back. Not sure how simple this would be, but if its possible that would make this plugin perfect.

Okay, I have added this feature (thanks for the suggestion) and it should be working now. I've added the command '!whitelist clear' for limited whitelist roles to use, this will unwhitelist all their linked minecraft names, notify the chat of the removed names and allow them to re-whitelist. You can check this out now if you feel comfortable compiling it or you can wait for me to upload it to Spigot.


Simplify tostring function definition.

Coverage decreased (-0.1%) to 72.568% when pulling 0c3eb92f029eb300491d3ef39dff4ba1f40334a9 on sproctor:master into 381616907f1846f8fdd7fd584d52d93de2b40243 on osa1:master.

Thanks!


Add getOrThrow for Either TaskEither

Hello,
Just as there is an TaskEither.tryCatch, there may be scenarios where we want the opposite behavior (throw the left), like in your example with riverpod.
https://github.com/SandroMaglione/fpdart/blob/505c2250b7877b04ede2b2dce15b0c6f93f4cd02/examples/pokeapi_functional/lib/controllers/pokemon_provider.dart#L13
Would be:
  FutureOr<Pokemon> build() async =>
      fetchRandomPokemon.getOrThrow().run();

https://github.com/SandroMaglione/fpdart/blob/505c2250b7877b04ede2b2dce15b0c6f93f4cd02/examples/pokeapi_functional/lib/controllers/pokemon_provider.dart#L27-L30
Would be:
state = await AsyncValue.guard(()=> pokemon.getOrThrow().run());

or shorter
state = await AsyncValue.guard(pokemon.getOrThrow().run);

I would avoid adding a specific method to throw in fpdart core. The idea is to keep fpdart focused on functional error handling, without allowing throw directly inside types as Either. I think that having a "throw" method would make the core error handling methods less used, since most people would fallback to just throwing instead of properly handling errors.
My suggestion is to add an extension method on Either/TaskEither for your specific project if needed with a getOrThrow method.
Let me know if this works, feel free to continue the discussion below if needed.


[main] Update actions

Cron -knative-prow-robot
/cc knative-sandbox/api-core-wg-leads
/assign $knative-sandbox/api-core-wg-leads
Produced by: knative-sandbox/knobots/actions/update-actions
Details:

/lgtm
/approve


Terminology change proposal

People often mix up data tables with example tables. Both conceptually and how they name them.
Since Scenario Outline became a synonym of Scenario and scenarios can have example tables, it makes little sense to talk about "scenario outlines".
I quite like the Gauge terminology here. They call them Table driven scenario. The syntax and semantics are undeniably inspired from Gherkin, so let's take some inspiration back.
I propose we adopt "Table driven scenario" and remove references to "Scenario Outline" everywhere
With this terminology it also makes sense to replace "examples table" with "Scenario Table"
When we talk about Scenario Tables it might also make sense to talk about "Step Tables" instead of "Data Tables".
What do you think about this proposal? It would require a pretty wide search-replace/rename in our docs and repos. We could keep the old classes as subclasses of the new ones and deprecate them.
/cc @mpkorstanje @mlvandijk @mattwynne @sebrose @charlierudolph @vincent-psarga

I’m aware that I may be missing some context here...but, knowing nothing further about this terminology change, my first reaction is that I don’t like it. I’d expect a “scenario table” to contain scenarios, and I’d expect a “step table” to contain steps, so I find these proposed changes rather confusing. (I use ~scenario outlines~table-driven scenarios more than most Cucumber users I know, so I can imagine these terminologisch changes making it harder for me to explain how my Cucumber features work...)

Maybe it would be better to improve the docs to make difference more clear instead of renaming things?
One might propose to rename "javascript" to "browserscript" so people don't confuse it with java, but that does not solve the real issue that people use wrong terms for things :-)

Searching through the docs I can't find the term "Example Table". We only have an "Example section" mentioned in the Gherkin reference. So perhaps we can start by properly defining "Example Table" as part of the Gherkin reference?
https://cucumber.io/docs/gherkin/reference/

Maybe I should have made a different issue for each proposed name change.
The name that bothers me the most is "Scenario Outline" because it doesn't really exist anymore.
What do you think about table driven scenario?

If Scenario and Scenario Outlines are now the same thing then you can't really create a new name for Scenario Outline. It would run into all the same problems. Perhaps we can consider them both Scenarios and consider the example table an optional part of a Scenario?

When you put an example table under a scenario, it becomes something else. It behaves differently. It's a different beast.
I think different beasts ought to have different names.

I might be hanging on to the past, but I think all the old words (and some of those new ones) are still relevant at some level.
You use the Scenario keyword to tell Cucumber about an example.
Within a scenario, you can pass rich data to a step with a Data Table.
If you want to run a scenario multiple times with different values, you can add an Examples Table at the end. Cucumber will then treat the Scenario as a template, or Scenario Outline, which is used to generate Table Driven Scenarios.

@aslakhellesoy you seem to be in two minds about this. Scenario and Scenario Outline are two different beast that need different names. And at the same time what bothers you most about the Scenario Outline is that it doesn't exist anymore because it has been renamed to Scenario.
Regardless of that, if anything introducing a second name for Scenario Outline is going to add more confusion. We already have an established but undocumented terminology.

Imagine you're explaining Gherkin to someone who is new to it. What words would you use to describe this and how it works?
Scenario: compute insurance premium
  Given a new customer born in <born_year>
  And the customer obtained their license in <license_year>
  When the premium is caculated
  Then the value should be <premium>

  Examples:
    | born_year | license_year | premium |
    |      1980 |         2000 |     109 |
    |      1990 |         2000 |     123 |

If you want to run your scenario multiple times with different values, use these angle brackets together with an examples table. Cucumber will use the table of examples at the bottom to generate a scenario for every row in the table.

I don't think "table driven scenario" adds much, unless we need a way to name the two different kinds of pickles under the hood. From a user perspective I don't think it helps.

You didn't use "scenario outline" in that explanation, which is great.
I think that if we resort to using that term, confusion will arise when the learner realises that it is just a synonym. If it's just a synonym and behaves the same, why use it?

If it's just a synonym and behaves the same, why use it?

Okay so:

Scenario ==> Scenario
Scenario Outline with Example ==> Scenario Outline
Scenario with Example ==> Scenario Outline
Scenario Outline without Examples  ==> Confusion?

Perhaps we shouldn't completely treat it as a synonym?
Or use Scenario with Examples as the term?

To be clear: I am suggesting we stop using thew term "Scenario Outline" altogether. In docs, conversations etc. The reason being that it is identical to "Scenario" and pretending it's different is just confusing.

If we can just use "Scenario" everywhere we previously used "Scenario Outline" - great! But I have a feeling we are going to come up with a new term for it...

Imagine you're explaining Gherkin to someone who is new to it. What words would you use to describe this and how it works?

Happened to be in a room with a couple of BAs new to Gherkin when I saw this. Consensus:

Describing it as a "template" with "examples|scenarios" seemed to land best
Both suggested it was a "data-driven scenario"
Both agreed "Scenario Outline" is confusing, suggests a more concise form which it's not

Interesting. I like "data-driven scenario"!

I think the Rule/Example grammar adds another angle to this. Given, from the docs:

The keyword Scenario is a synonym of the keyword Example.

And, from above:

Scenario Outline became a synonym of Scenario

Then would the following be valid?
Feature: Premium calculation

  Rule: Discriminate on age and experience

    Example:
      Given a new customer born in <born_year>
      And the customer obtained their license in <license_year>
      When the premium is calculated
      Then the value should be <premium>
      Examples:
        | born_year | license_year | premium |
        |      1980    |         2000    |          109 |
        |      1990    |         2000    |          123 |

Or are the forms mutually exclusive? (I haven't actually tried to run this)

@davidjgoss as I understand it that would be valid, yes.
@aslakhellesoy reviewing this proposal with some distance, I think I'd come down on the side of disagreeing with this part of it:

I propose we adopt "Table driven scenario" and remove references to "Scenario Outline" everywhere

Although we've allowed people the flexibility to omit the word "outline" in their Gherkin, we still have a thing in our domain that is not yet a scenario, merely a template that can be used to generate scenarios. I think "scenario outline" is a fine name for talking about that thing, and I think we should stick with it.
I do recognise the problem about people confusing data tables and examples tables, I'm just not convinved that these changes will really solve that problem.


Doesn't work in windows?

I'm running it but doesn't appear coins

https://i.gyazo.com/6b37ef78cd4a54ef85574de047c470ee.jpg

Hey Tencru, I'm not sure what you mean by "doesn't appear coins" but based on your provided image, it appears you did not install dependencies.
Install dependencies by running this in the project root directory:
npm install

oh boy, i had installed in the old TriangularArbitrage-master andI thought it was not necessary to install it again xD
That's what i mean when i said doesn't appear coins
https://i.gyazo.com/b3678e90ee185c7f42bb5816ab396aaa.jpg

Yup, you should do an 'npm install' after each pull if you are unsure. Does that solve your issue?

Just updated the files with your last updated and it's working now: https://i.gyazo.com/a0d2aed8b7d55caf3895265811321964.jpg
What are you doing with the bot right now? improving it to be faster?
I would like to tell you a way to get more out of the bot but I would like to tell you in privately, could you tell me a way to contact?
discord, email, telegram, something like this?


Unable to extract DASH manifest error

youtube-dl https://www.youtube.com/watch?v=h5c06I8rHO8
[youtube] h5c06I8rHO8: Downloading webpage
[youtube] h5c06I8rHO8: Extracting video information
WARNING: [youtube] h5c06I8rHO8: Skipping DASH manifest: ExtractorError(u'Cannot decrypt signature without player_url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.',)
[download] Destination: English Words in Japanese by 日本語 learners (Nations Of The World tune) #add1challenge 日本語学習者が歌う外来語-h5c06I8rHO8.mp4
[download] 100% of 20.79MiB in 00:11
youtube-dl -U
youtube-dl is up-to-date (2<IP_ADDRESS>)
rm -rf -h5c06I8rHO8
youtube-dl --verbose https://www.youtube.com/watch?v=h5c06I8rHO8
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=h5c06I8rHO8']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.9rc1 - Linux-3.16-3-amd64-x86_64-with-debian-8.0
[debug] exe versions: avconv 2.4.4, avprobe 2.4.4, ffmpeg 2.4.4, ffprobe 2.4.4, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] h5c06I8rHO8: Downloading webpage
[youtube] h5c06I8rHO8: Extracting video information
[youtube] h5c06I8rHO8: Downloading DASH manifest
[debug] Invoking downloader on u'https://r5---sn-q4f7sn7l.googlevideo.com/videoplayback?sparams=dur%2Cid%2Cip%2Cipbits%2Citag%2Cmime%2Cmm%2Cms%2Cmv%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&ratebypass=yes&sver=3&dur=115.496&signature=D10531FA78AE92309C42534799B53CE2BA8D81BA.68C58A5B3C90C943158580AEB2BFB74C2C040567&mime=video%2Fmp4&itag=22&upn=4t2EfJe8-uY&fexp=907259%2C922244%2C927622%2C932404%2C943917%2C945323%2C946008%2C947209%2C948124%2C952302%2C952605%2C952901%2C953912%2C957103%2C957106%2C957201&id=o-ACVa0oIyo5FJQjupPL0UnPrOMgfJmteItghtHOcdgZoO&source=youtube&mm=31&expire=1417981325&key=yt5&requiressl=yes&ms=au&ipbits=0&mv=u&mt=1417959346&ip=<IP_ADDRESS>'
[download] Destination: English Words in Japanese by 日本語 learners (Nations Of The World tune) #add1challenge 日本語学習者が歌う外来語-h5c06I8rHO8.mp4
[download] 100% of 20.79MiB in 00:07

➜  ~  youtube-dl --verbose https://www.youtube.com/watch\?v\=usIoVA75xsI\&hd\=1
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=usIoVA75xsI&hd=1']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.01.11
[debug] Python version 2.7.9 - Darwin-14.1.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.5.2, ffprobe 2.5.2
[debug] Proxy map: {}
[youtube] usIoVA75xsI: Downloading webpage
[youtube] usIoVA75xsI: Extracting video information
WARNING: [youtube] usIoVA75xsI: Skipping DASH manifest: ExtractorError(u'Cannot decrypt signature without player_url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.',)
[debug] Invoking downloader on u'https://r7---sn-jc47eu7l.googlevideo.com/videoplayback?ipbits=0&upn=aLGCD2SwdnE&gcr=us&source=youtube&signature=A9AD4A70C7E8EE9F2F8A66910E72646839BB2641.57CDE527E0F5610B5C976CFFC38A791174B804A9&expire=1421400969&ratebypass=yes&mime=video%2Fmp4&requiressl=yes&id=o-AMSVMBLmeRyF08jE_A09isSqw5fQ_PuMA_ntXQRVxTIH&fexp=900718%2C907263%2C927622%2C9405437%2C941004%2C943917%2C947209%2C947225%2C948124%2C952302%2C952605%2C952901%2C955301%2C957103%2C957105%2C957201%2C959701&sparams=dur%2Cgcr%2Cid%2Cip%2Cipbits%2Citag%2Cmime%2Cmm%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&sver=3&itag=18&ms=pm&mv=s&dur=1371.091&mt=1421377458&pl=22&ip=<IP_ADDRESS>&mm=35&key=yt5'
[download] Destination: Deadmau5 Live New York 10_30_10 'The Lost Set'-usIoVA75xsI.mp4
[download] 100% of 53.16MiB in 00:09

Looks to be dupe of: #4587 & #4638


generating invalid username (20+ symbols)

{"username":"3c5g0y0l4l6l9v3s5h6e2i9d","password":"SECRET"}

Yes i've got the same issue, you should generator less long username and password to work

Outdated issue, please use the latest commit


Switch from bespoke antlr4 grammar to magik-squid

Summary by CodeRabbit

New Features

Transitioned to using Magik-Tools for parsing the Majik source code and constructing the Abstract Syntax Tree (AST).
Introduced new classes for handling various node types in the AST, including AssignmentNode, BlockNode, CompoundNode, IdentifierNode, InvocationNode, NumberNode, StringNode, and VariableNode.
Added functionality for dynamic method invocation and improved error handling in the AST processing.
Implemented a new MajestikRuntimeException for clearer exception handling.
Enhanced logging clarity in the Invoker class.

Bug Fixes

Enhanced logging and error handling in the Invoker class.

Tests

Added comprehensive test suites for new node classes, including AssignmentNodeTest, IdentifierNodeTest, InvocationNodeTest, NumberNodeTest, StringNodeTest, and CompoundNodeTest.
Updated existing tests to ensure functionality and correctness.
Removed obsolete test files related to ANTLR4.

Documentation

Updated README to reflect changes in parsing and compilation processes.

Chores

Updated .gitignore to manage ignored files and directories.
Modified workflow configurations for improved build processes.

@coderabbitait resume

@coderabbitai full review

@coderabbitai resolve

Let's get this merged instead of staying in an endless loop; there are no more serious issues afaics
@coderabbitai resolve

https://github.com/coderabbitai resolve

@coderabbitai review

@coderabbitai review

@coderabbitai resolve


Code hygiene: Remove old _underscore prefix for “private” methods

See if eslint can detect and prevent.  Update to to remove _ prefix from function scoped const methods.

I'll take this on - it fits well with the code-hygiene push I'd been working on.

Sounds good - all yours.


Disable maven-metadata.xml SHA256 and SHA512 upload warnings to Nexus

Expected Behavior
The flag systemProp.org.gradle.internal.publish.checksums.insecure=true should disable publishing of sha-256 and sha-512 checksums for maven-metadata.xml files.  See #11308.  I do not expect warnings when the disable flag is explicitly set.
Current Behavior
Publishing appears to be successful, but console is polluted with set of warnings like the following for each artifact that is published:
Cannot upload checksum for snapshot-maven-metadata.xml. Remote repository doesn't support sha-256. Error: Could not PUT 'http://.../x.y.z-SNAPSHOT/maven-metadata.xml.sha256'. Received status code 400 from server: Invalid path for a Maven 2 repository
Cannot upload checksum for snapshot-maven-metadata.xml. Remote repository doesn't support sha-512. Error: Could not PUT 'http://.../x.y.z-SNAPSHOT/maven-metadata.xml.sha512'. Received status code 400 from server: Invalid path for a Maven 2 repository
Cannot upload checksum for module-maven-metadata.xml. Remote repository doesn't support sha-256. Error: Could not PUT 'http://.../x.y.z-SNAPSHOT/maven-metadata.xml.sha256'. Received status code 400 from server: Invalid path for a Maven 2 repository
Cannot upload checksum for module-maven-metadata.xml. Remote repository doesn't support sha-512. Error: Could not PUT 'http://.../x.y.z-SNAPSHOT/maven-metadata.xml.sha512'. Received status code 400 from server: Invalid path for a Maven 2 repository

Context
I'm publishing a library with multiple custom Gradle plug-ins to Nexus OSS Repository 3.  Nexus does not support sha-256 and sha-512 (see https://issues.sonatype.org/browse/NEXUS-21802 for feature request).  A feature flag has been implemented but did not appear to alter anything when applied via gradle.properties or CLI argument (see #11308).
This does not appear to prevent anything, but it prints out hundreds of unnecessary warning lines in my build, making it difficult to find meaningful warnings.
Steps to Reproduce
Publish custom Gradle plug-ins to a repository to Nexus OSS 3.
Optionally:

add systemProp.org.gradle.internal.publish.checksums.insecure=true to gradle.properties
add -Dorg.gradle.internal.publish.checksums.insecure=true

Your Environment
Gradle 6.2.1 (latest release as of bug report)
Nexus OSS Repository 3.21.1-01 (latest release as of bug report)
Windows 10

From your report, the flag is not properly configured as setting it should completely bypass the publication of SHA256 and SHA512 checksum files.
Could you try printing that system property from a publication block in your build and see if it is set properly?

I ran the exact same code today and the error warnings no longer print out.  I can't think of any changes on my end that would have affected this, but I will assume I made an error of some sort.  I apologize for taking up your time and appreciate the help.


Voice chat in home environment

It's almost great, just the ScriptProcessorNode implementation doesn't respect the buffer size, resulting in hitching across two different breeds of browser.
Fix for this is to use the current frame size (128) as a basis and queue up until we have enough data in LabSound to emit an onaudioprocess.
Related repository is the home environment itself: https://github.com/webmixedreality/exokit-home

I have a solution involving vivox if your interested! Their sdk isnt quite public but you would be able to add 3d voice chat very easily

That's probably not something that would be expected to make it into the core of a web engine. I.E. it feels like a userspace solution.
This issue is more about a technical bug.


Bugfix milvus similaritySearch Filter Expression condition NIN

Fix MilvusVectorStore: When executing the similaritySearch method and adding the Filter Expression condition with ExpressionType set to NIN, the concatenated Milvus syntax is incorrect. The current error is "nin", and the correct Milvus syntax is "not in"

Thanks!  https://milvus.io/docs/boolean.md is the ref.  I updated the test and also added some others for operators not covered.
merged in<PHONE_NUMBER>da0519b09cc89a97287a707f5e9e17


Add w0mb4t to the contributors list.

Hey, thank you for taking the time to make this walkthrough.  It's really helpful and I appreciate the willingness of others to share their knowledge.  I hope I can make meaningful contributions in the future.

Hi  @k0mb4tw0mb4t, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


Update encrypted keys.

Not sure why travis auto-changed the formatting of the zookeeper download lines, but :shrug:.

LGTM
thanks for taking!


[embeddingapi] Improve maven build and gradle build for embeddingapi pack

It's successful to build embeddingapi pkg using maven build and gradle build

https://crosswalk-project.org/jira/browse/XWALK-3784

@haoyunfeix @qiuzhong
Pls notice change,
After this PR merged, we will deploy the maven/gradle build into regular(nightly) testsuite release.
Nightly build script may need to update to support it .

@jennycao , this PR will cause the same name of package of embeddingapi tests no matter what kind of build way. That means if we first use maven and then use gradle way to build, there will be only a package is generated because the latter will overwrite the former. To fix this issue, we need commit another PR.


@types/react-wait should be in devDependencies

At title, Typescript types should not be in core dependencies.

:tada: This issue has been resolved in version 12.2.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


There is a vulnerability in swagger-ui 3.22.2,upgrade recommended

https://github.com/Optum/dce/blob/5efedfcc89c27b04c3cddf170a9c548a69ad2057/dist/swagger-ui.js#L1
CVE-2019-17495
Recommended upgrade version：3.23.11

This is a very serious CVE


Question: May we add support for Rocky Linux?

I am part of the testing team for Rocky Linux, a replacement for CentOS currently in development. We have a release candidate here. Currently osbuild will not start in Rocky Linux, despite starting in RHEL, see the forum post here. I was wondering if we could add support for Rocky Linux? I am willing to provide the patch.

Hi, I'm glad you are interested in running osbuild-composer on Rocky Linux, though I'm not yet sure it would be wise to add support specifically for it. The reason is that Rocky Linux is currently not the only distribution trying to replace CentOS after its shift towards CentOS Stream. For example this seems to be an alternative project: https://almalinux.org/
I'd start with providing a workaround so that you can start composer and build images. In my opinion it would be nice to add support for all RHEL clones together but this needs a bit more thought.
I'll download and run Rocky Linux image and let you know later.

I agree, it would be best to make (in some way) composer distribution agnostic.

I tried running osbuild-composer on Rocky Linux and it is not ideal. It uses very old version (osbuild-composer-20.1-1.el8.x86_64) which doesn't have support for CentOS, so the only way to use it is to pretend the system is actually RHEL. This is again a problem, because Rocky Linux doesn't ship insights and cannot use this exception for CentOS:
https://github.com/osbuild/osbuild-composer/blob/4a54ab43e5f8f295d82f98cade8b1c5e41afcdd8/internal/distro/rhel84/distro.go#L218
Anyway, if you modify /etc/os-release like this:
NAME="Rocky Linux"
VERSION="8"
ID="rhel"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:rocky:rocky:8"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"

create /etc/osbuild-composer/repositories/rhel-8.json
{
  "x86_64": [
    {
      "name": "baseos",
      "mirrorlist": "https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=BaseOS-8",
      "gpgkey": "-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nmQINBGAofzYBEAC6yS1azw6f3wmaVd//3aSy6O2c9+jeetulRQvg2LvhRRS1eNqp\n/x9tbBhfohu/tlDkGpYHV7diePgMml9SZDy1sKlI3tDhx6GZ3xwF0fd1vWBZpmNk\nD9gRkUmYBeLotmcXQZ8ZpWLicosFtDpJEYpLUhuIgTKwt4gxJrHvkWsGQiBkJxKD\nu3/RlL4IYA3Ot9iuCBflc91EyAw1Yj0gKcDzbOqjvlGtS3ASXgxPqSfU0uLC9USF\nuKDnP2tcnlKKGfj0u6VkqISliSuRAzjlKho9Meond+mMIFOTT6qp4xyu+9Dj3IjZ\nIC6rBXRU3xi8z0qYptoFZ6hx70NV5u+0XUzDMXdjQ5S859RYJKijiwmfMC7gZQAf\nOkdOcicNzen/TwD/slhiCDssHBNEe86Wwu5kmDoCri7GJlYOlWU42Xi0o1JkVltN\nD8ZId+EBDIms7ugSwGOVSxyZs43q2IAfFYCRtyKHFlgHBRe9/KTWPUrnsfKxGJgC\nDo3Yb63/IYTvfTJptVfhQtL1AhEAeF1I+buVoJRmBEyYKD9BdU4xQN39VrZKziO3\nhDIGng/eK6PaPhUdq6XqvmnsZ2h+KVbyoj4cTo2gKCB2XA7O2HLQsuGduHzYKNjf\nQR9j0djjwTrsvGvzfEzchP19723vYf7GdcLvqtPqzpxSX2FNARpCGXBw9wARAQAB\ntDNSZWxlYXNlIEVuZ2luZWVyaW5nIDxpbmZyYXN0cnVjdHVyZUByb2NreWxpbnV4\nLm9yZz6JAk4EEwEIADgWIQRwUcRwqSn0VM6+N7cVr12sbXRaYAUCYCh/NgIbDwUL\nCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRAVr12sbXRaYLFmEACSMvoO1FDdyAbu\n1m6xEzDhs7FgnZeQNzLZECv2j+ggFSJXezlNVOZ5I1I8umBan2ywfKQD8M+IjmrW\nk9/7h9i54t8RS/RN7KNo7ECGnKXqXDPzBBTs1Gwo1WzltAoaDKUfXqQ4oJ4aCP/q\n/XPVWEzgpJO1XEezvCq8VXisutyDiXEjjMIeBczxb1hbamQX+jLTIQ1MDJ4Zo1YP\nzlUqrHW434XC2b1/WbSaylq8Wk9cksca5J+g3FqTlgiWozyy0uxygIRjb6iTzKXk\nV7SYxeXp3hNTuoUgiFkjh5/0yKWCwx7aQqlHar9GjpxmBDAO0kzOlgtTw//EqTwR\nKnYZLig9FW0PhwvZJUigr0cvs/XXTTb77z/i/dfHkrjVTTYenNyXogPtTtSyxqca\n61fbPf0B/S3N43PW8URXBRS0sykpX4SxKu+PwKCqf+OJ7hMEVAapqzTt1q9T7zyB\nQwvCVx8s7WWvXbs2d6ZUrArklgjHoHQcdxJKdhuRmD34AuXWCLW+gH8rJWZpuNl3\n+WsPZX4PvjKDgMw6YMcV7zhWX6c0SevKtzt7WP3XoKDuPhK1PMGJQqQ7spegGB+5\nDZvsJS48Ip0S45Qfmj82ibXaCBJHTNZE8Zs+rdTjQ9DS5qvzRA1sRA1dBb/7OLYE\nJmeWf4VZyebm+gc50szsg6Ut2yT8hw==\n=AiP8\n-----END PGP PUBLIC KEY BLOCK-----\n",
      "check_gpg": true
    },
    {
      "name": "appstream",
      "mirrorlist": "https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=AppStream-8",
      "gpgkey": "-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nmQINBGAofzYBEAC6yS1azw6f3wmaVd//3aSy6O2c9+jeetulRQvg2LvhRRS1eNqp\n/x9tbBhfohu/tlDkGpYHV7diePgMml9SZDy1sKlI3tDhx6GZ3xwF0fd1vWBZpmNk\nD9gRkUmYBeLotmcXQZ8ZpWLicosFtDpJEYpLUhuIgTKwt4gxJrHvkWsGQiBkJxKD\nu3/RlL4IYA3Ot9iuCBflc91EyAw1Yj0gKcDzbOqjvlGtS3ASXgxPqSfU0uLC9USF\nuKDnP2tcnlKKGfj0u6VkqISliSuRAzjlKho9Meond+mMIFOTT6qp4xyu+9Dj3IjZ\nIC6rBXRU3xi8z0qYptoFZ6hx70NV5u+0XUzDMXdjQ5S859RYJKijiwmfMC7gZQAf\nOkdOcicNzen/TwD/slhiCDssHBNEe86Wwu5kmDoCri7GJlYOlWU42Xi0o1JkVltN\nD8ZId+EBDIms7ugSwGOVSxyZs43q2IAfFYCRtyKHFlgHBRe9/KTWPUrnsfKxGJgC\nDo3Yb63/IYTvfTJptVfhQtL1AhEAeF1I+buVoJRmBEyYKD9BdU4xQN39VrZKziO3\nhDIGng/eK6PaPhUdq6XqvmnsZ2h+KVbyoj4cTo2gKCB2XA7O2HLQsuGduHzYKNjf\nQR9j0djjwTrsvGvzfEzchP19723vYf7GdcLvqtPqzpxSX2FNARpCGXBw9wARAQAB\ntDNSZWxlYXNlIEVuZ2luZWVyaW5nIDxpbmZyYXN0cnVjdHVyZUByb2NreWxpbnV4\nLm9yZz6JAk4EEwEIADgWIQRwUcRwqSn0VM6+N7cVr12sbXRaYAUCYCh/NgIbDwUL\nCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRAVr12sbXRaYLFmEACSMvoO1FDdyAbu\n1m6xEzDhs7FgnZeQNzLZECv2j+ggFSJXezlNVOZ5I1I8umBan2ywfKQD8M+IjmrW\nk9/7h9i54t8RS/RN7KNo7ECGnKXqXDPzBBTs1Gwo1WzltAoaDKUfXqQ4oJ4aCP/q\n/XPVWEzgpJO1XEezvCq8VXisutyDiXEjjMIeBczxb1hbamQX+jLTIQ1MDJ4Zo1YP\nzlUqrHW434XC2b1/WbSaylq8Wk9cksca5J+g3FqTlgiWozyy0uxygIRjb6iTzKXk\nV7SYxeXp3hNTuoUgiFkjh5/0yKWCwx7aQqlHar9GjpxmBDAO0kzOlgtTw//EqTwR\nKnYZLig9FW0PhwvZJUigr0cvs/XXTTb77z/i/dfHkrjVTTYenNyXogPtTtSyxqca\n61fbPf0B/S3N43PW8URXBRS0sykpX4SxKu+PwKCqf+OJ7hMEVAapqzTt1q9T7zyB\nQwvCVx8s7WWvXbs2d6ZUrArklgjHoHQcdxJKdhuRmD34AuXWCLW+gH8rJWZpuNl3\n+WsPZX4PvjKDgMw6YMcV7zhWX6c0SevKtzt7WP3XoKDuPhK1PMGJQqQ7spegGB+5\nDZvsJS48Ip0S45Qfmj82ibXaCBJHTNZE8Zs+rdTjQ9DS5qvzRA1sRA1dBb/7OLYE\nJmeWf4VZyebm+gc50szsg6Ut2yT8hw==\n=AiP8\n-----END PGP PUBLIC KEY BLOCK-----\n",
      "check_gpg": true
    }
  ]
}

and fix one issue with runners:
ln -s /usr/lib/osbuild/runners/org.osbuild.rhel83 /usr/lib/osbuild/runners/org.osbuild.rhel8

You should be able to start it:
# systemctl start osbuild-composer.socket
# composer-cli status show
API server status:
    Database version:   0
    Database supported: True
    Schema version:     0
    API version:        1
    Backend:            osbuild-composer
    Build:              devel

I was able to trigger a tar image build, but not qcow2 because that one requires ingishts that I mentioned above.

Can confirm the issue effects alma linux 8.4 I will see if there is a similar workaround

I have an update regarding support for RHEL clones in general:

We don't want to have a distro support specific to any of the clone. Meaning we don't want a new directory here: https://github.com/osbuild/osbuild-composer/tree/main/internal/distro with a name of the distro. BUT I believe you don't want this either.
We are happy to accept a patch that would create an "alias" for RHEL definition, which I believe is something you want (as opposed to the solution above).

This is how we created one for CentOS: https://github.com/osbuild/osbuild-composer/blob/9a4b5763e9da6701d67d12b8c048d07a70b668de/internal/distro/rhel84/distro.go#L826
You will probably want to use the exceptions already implemented for CentOS like this one: https://github.com/osbuild/osbuild-composer/blob/9a4b5763e9da6701d67d12b8c048d07a70b668de/internal/distro/rhel84/distro.go#L218
We are not sure how to deal with the uefi vendor yet: https://github.com/osbuild/osbuild-composer/blob/9a4b5763e9da6701d67d12b8c048d07a70b668de/internal/distro/rhel84/distro.go#L590

See also this PR as an example of creating aliases for Fedora: https://github.com/osbuild/osbuild-composer/pull/1438/files
The implemented "alias" should cover all the RHEL clones: Rocky, Alma, etc.
We don't want to ship any code that we don't cover with our CI, but we also can't cover all the clones with our CI setup as it is already pretty complicated. As a result the new alias should use CentOS or RHEL content in the repositories directory: https://github.com/osbuild/osbuild-composer/tree/main/repositories and it should also use RHEL or CentOS content for CI: https://github.com/osbuild/osbuild-composer/tree/main/test/data/repositories
Our idea is that each downstream distribution can patch the osbuild-composer package to contain their repository URLs. This patch should not be a big issue while rebasing to the newest version as these files rarely change.
Also we ship our integration tests in the -tests RPM subpackage so it should be pretty simple to verify osbuild-composer works after patching if these tests are used in the downstream distribution CI system.

As I implied above, we are probably not going to implement this ourselves but we are happy to help with contributions.


"before all" hook issue undefined value

I'm new at mocha and unit testing, and I'm dealing with some issues as I get this error. I have tried to include a setTimeout, and checked all the issues possible but none of what I'm trying seems to work.

"before all" hook

259 passing (32s)
10 pending
1 failing
 Uncaught TypeError: Cannot read property '_id' of undefined
  at chai_1.default.request.get.set.end (dist/test/deviceTests/createDevicesTests.js:82:93)

It's quite strange that trying to pass this test, with describe.only, it passes with no issues, but when I remove the .only and try to pass the complete test set, it fails.
I have a connection to a "volatile" ddbb that, deletes all the documents and creates them to pass the running test as follows:
import chai from "chai";
import chaiHttp from "chai-http";
const should = chai.should();
chai.use(chaiHttp);
import jwt from "jsonwebtoken";
import config from "config";
import User from "../../src/models/userModel";
import Permission from "../../src/models/permissionModel";
import ApiToken from "../../src/models/apiTokens";
export class CreateDevicesTests {
private accessToken: string = "";
private accessTokenWoutPermissions: string = "";
private buildId: string = "";
public runTests(): void {
describe("Test to create new devices", (): any => {
before((done): any=>{
ApiToken.deleteMany({}).exec().then(()=>{
User.deleteMany({}).exec().then(()=>{
Permission.deleteMany({}).exec().then(()=>{
new User({
companyId: "5d1b19917ad7740012c53609",
email<EMAIL_ADDRESS>passwd: "1234",
fullName: "Marvin Martian",
avatar: "",
location: "Mars",
phone: "+56486797985632135487687",
position: "Imperial destructor"
}).save().then((doc) => {
new Permission({
userId: doc._id,
name: doc.fullName,
permissions: {
userMgmt: true,
deplyMgmt: true,
deviceMgmt: true,
deplyList: new Array()
}
}).save().then(()=>{
console.log('doc1', doc)
this.accessToken = jwt.sign({ userId: doc._id, companyId: doc.companyId }, config.get("server.secret"), { expiresIn: 86400 });
new User({
companyId: "5d1b19917ad7740012c53609",
email<EMAIL_ADDRESS>passwd: "1234",
fullName: "Terrance Ramos",
avatar: "",
location: "Rome",
phone: "+39 06 69865421",
position: "Regular worker"
}).save().then((doc) => {
this.accessTokenWoutPermissions = jwt.sign({ userId: doc._id, companyId: doc.companyId }, config.get("server.secret"), { expiresIn: 86400 });
new Permission({
userId: doc._id,
name: doc.fullName,
permissions: {
userMgmt: false,
deplyMgmt: false,
deviceMgmt: false,
deplyList: new Array()
}
}).save().then(() =>{
console.log('doc2',doc._id)
new ApiToken({
companyId: "5d1b19917ad7740012c53609",
apiToken: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb21wYW55SWQiOiI1ZDFiMTk5MTdhZDc3NDAwMTJjNTM2MDkiLCJpc0JCUkEiOnRydWUsImlhdCI6MTU2MjA1NzEwNX0.nCYqG2rCsBnChT-ZwBxggSay-rLNK41aGEoZKaX2e5I",
name: "Barbara Admin"
}).save().then(()=>{
chai.request("http://localhost:5000")
.get("/images")
.set("authorization", this.accessToken.toString())
.end((err: any, res: any): any => {
if (!err) {
res.should.have.status(200);
this.buildId = res.body.response[0]._id;
done();
}
});
});
});
});
});
});
});
});
});
});
        it("it should return a 400 no authorization header is not provided", (done): any => {
            chai.request("http://localhost:5000")
                .post("/devices")
                .end((err: any, res: any): any => {
                    if (!err) {
                        res.should.have.status(400);
                        res.body.response.errorCode.should.be.equal("ERRUMP04");
                        done();
                    }
                });
        });
        it("it should return a 403 when the token is incorrect", (done): any => {
            chai.request("http://localhost:5000")
                .post("/devices")
                .set("authorization", jwt.sign({ userId: "123", companyId: "123" }, config.get("server.secret"), { expiresIn: 86400 }).toString())
                .end((err: any, res: any): any => {
                    if (!err) {
                        res.should.have.status(403);
                        done();
                    }
                });
        });

The funny thing is that, when making a console.log of the doc, it's there but I have no idea why it's getting undefined instead:
Device routes tests
create devices route tests
Test to create new devices
doc1 { _id: 5eba5aeaeeb50606019e3c5a,
companyId: '5d1b19917ad7740012c53609',
email<EMAIL_ADDRESS>passwd: '1234',
fullName: 'Marvin Martian',
avatar: '',
location: 'Mars',
phone: '+56486797985632135487687',
position: 'Imperial destructor',
__v: 0 }
doc2 5eba5aeaeeb50606019e3c5c
1) "before all" hook
259 passing (31s)
10 pending
1 failing

Barbara Panel Backend Test Suite
Device routes tests
create devices route tests
Test to create new devices
"before all" hook:
Uncaught TypeError: Cannot read property '_id' of undefined
at chai_1.default.request.get.set.end (dist/test/deviceTests/createDevicesTests.js:82:93)

Could anybody help me?

From your error it seems like you have a problem in your own code to set up your tests. Please use the gitter chat for support questions as we try to keep GitHub issues focused on project related matters


Ticking Mod Crash

Version - most recent beta
Crash - https://crashy.net/2w9UMvuEiMeON7NJgL37

Should be fixed in the upcoming beta of Dungeons Libraries: 0.0.19-beta . Be slightly patient for the release in the coming days.


Is it possible to use TRANSFORM clause on dbt_ml?

I have not found a way to use the TRANSFORM clause (from Bigquery ML) on the config settings using the dbt_ml package. Is this already implemented?

Would also love support for the transform clause.


Adding mapping with lifetime 0

Adding a mapping with lifetime 0 works once mapped, but when the mapping collection is enumerated it throws an "ArgumentOutOfRangeException" stating that lifetime was out of range of valid values.
I created a mapping a couple of hours ago, the mapping doesn't last infinitely and can be over written.
I only created a mapping with lifetime 0 because intellisense stated that for the lifetime parameter setting it to 0 would be permanent or infinite.

I created a mapping a couple of hours ago, (1) the mapping doesn't last infinitely  and (2) can be over written.

(1) Open.Nat doesn't control what your router does, your router's software does it. The library simple performs a request to your router's http server for opening a port, how it handles the request and what it does after that is out of the library control and is different from router to router. The spec says that a lifetime=0 should keep the port opened.
(2) Yes, it can be over written, otherwise client software would never extend the expiration date or remove mappings once they are not needed any more.

Adding a mapping with lifetime 0 works once mapped, but when the mapping collection is enumerated it throws an "ArgumentOutOfRangeException" stating that lifetime was out of range of valid values.

Ummm... this looks like a defect. Could you share the log file please? In case you don't know how enable the tracing, take a look at this config file: https://github.com/lontivero/Open.NAT/blob/master/Open.Nat.ConsoleTest/app.config


Improve type hints for Package.name etc.

When comparing names it's important to know if a name of a package/dependency is normalized or not. So let's tighten up type hints.

Also here https://github.com/python-poetry/poetry-core/blob/971f82488bfc082fb0065d04eaa6c6cf355ad3d3/src/poetry/core/masonry/metadata.py#L15?
Also I think this MR show that the calls to canonicalize_name here are redundant https://github.com/python-poetry/poetry-core/blob/971f82488bfc082fb0065d04eaa6c6cf355ad3d3/src/poetry/core/pyproject/tables.py#L46-L53


mise format

basically just sort the config file

Will this be compatible with taplo?
https://taplo.tamasfe.dev/configuration/formatter-options.html

we could probably add taplo as a lib if it's not too heavy—the json schema stuff would be nice to validate the config against the schema inside mise as well

looking at the taplo formatter, it's great for managing some of the whitespace stuff (which is awesome and worth adding for that alone), but I'd like some custom sorting that would go beyond what taplo could do.
I think config files should roughly follow this order:
[env]
[tools]
[tasks]
[settings]

(there are more top-level things but those are the big ones)
here's how I think this should work (either notes for myself or someone else if they want to pick this up, I think it's a good one to pick up since it probably won't touch much of the rest of the code)
First, I wouldn't use the normal toml_config parser at all. I would just read it in as toml_edit::Value, and sort it that way. That'll be a lot easier.
In tools, the order actually matters in some cases since the order of the tools is what goes into PATH. This is rarely important so I think we should by default sort the tools but provide a flag like --disable-tool-sort or something (with an alias for --disable-tools-sort). This is also true with [env] so I think something similar like --disable-env-sort would be good.
There will be some edge cases to work out like that env can be an array [[env]].
This would likely be a follow-up, but at some point I'd like it to simplify configs so if you had this originally:
[tools]
node = {version = "latest"}
[tasks.foo]
run = ["echo 123"]

it could simplify both of those to:
[tools]
node = "latest"
[tasks.foo]
run = "echo 123"

mise does a ton of this and I'm always looking to add more since I like the config to be flexible and where users don't need to remember if something is an array or not.

I think there is also an edge case with vars and env?


Update Links “tiktok-54”

Automatically generated by Netlify CMS

👷 Deploy Preview for distracted-hoover-7b89cc processing.
🔨 Explore the source changes: fe88468e7e44585ccfa0e1dcb0da31b693ab4dac
🔍 Inspect the deploy log: https://app.netlify.com/sites/distracted-hoover-7b89cc/deploys/615371060a5ac000080ff3b9


[BUG] {start_camera service kills the node if called while camera is already running}

Describe the bug
Calling the start_camera service when the camera is already running will cause the node to die.
Minimal Reproducible Example
Launch the camera node and call:
ros2 service call /oakd/start_camera std_srvs/srv/Trigger {}

Result:
[component_container-6] terminate called after throwing an instance of 'std::runtime_error'
[component_container-6]   what():  Pipeline is already running
[ERROR] [component_container-6]: process has died [pid 4789, exit code -6, cmd '/opt/ros/humble/lib/rclcpp_components/component_container --ros-args -r __node:=oakd_container -r __ns:=/'].

Expected behavior
Nothing should happen since the camera is already running
Screenshots
If applicable, add screenshots to help explain your problem.
Pipeline Graph
Please also provide a screenshot of your pipeline using the DepthAI Pipeline Graph.
Attach system log
Ubuntu 22.04 Server
ROS2 Humble
Raspberry Pi 4B
depthai_ros_driver v2.6.3

Fixed in https://github.com/luxonis/depthai-ros/pull/241


Allows slugs to be empty

Description
This PR allows slugs to be empty. The use case being entities like a homepage.
I'm pretty new to the Twill Vue setup so not sure if the changes are how you would want to go about this.
I've marked this as a draft because I was unable to generate the dist assets. When I ran yarn build I got a large number of Syntax Error: TypeError: token.type.endsWith is not a function in files I haven't changed, what am I doing wrong?

Hey @freshleafmedia,
Forgive me if I am mistaken, but I believe this is not needed.
You can set
class BlogController extends BaseModuleController
{
    protected $moduleName = 'blogs';

    protected $indexOptions = [
        'permalink' => false,
    ];
}

Then the field will not be shown.

That would disable all permalinks for that model, what I want is to have permalinks which are optionally empty.
To expand on my use case a little, I have a Pages Capsule and each page has permalink except the homepage which I want to be just / aka an empty permalink

Interesant use case, but I think it's opinionated for the project.
I would create an additional checkbox with the 'Homepage' value, and in the repository, with the prepareFieldsBeforeSave method I would overwrite the permalink value to the / (quick fix).
It's really up to you to serve the homepage, Twill treats all slugs the same.


Filter out contributors with no active and public lists

Overview
Update the contributors endpoint to filter out contributors with

no lists
no active lists
no public lists

Continue displaying contributors with active, public lists that have no matches.
Add test for contributors list endpoint.
Connects https://github.com/open-apparel-registry/open-apparel-registry/issues/413
Testing Instructions

./scripts/manage resetdb
./scripts/server then visit the app and register for a new account
confirm your account
visit the search page and check the search box and verify that you do not see your contributor name listed among the available options
upload a list then return to the search page and refresh the page to verify that you do see your name listed among the available options
run the tests to verify that they pass

Checklist

[x] fixup! commits have been squashed
[x] CI passes after rebase
[x] CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines

Thanks for the suggestion! I updated the code with that change and force pushed new commit 8024a0f0cd784bfc910da29577026dcd73d248bd

Thanks for your help with this!


Doc update: explain what the minimum version of the PnP PS cmdlets is that you need

The templates used during setup require a PS version that understands the schema of the templates (201512 in this case). connect-sponline -url blabla -verbose outputs the current version...can be used to verify if the version is "high" enough

Done.

Thx Paolo!


Allow client to define the progress location

For the progress indicator, eg. during connection.onInitialize, the ProgressLocation is set to Notification if the progress is cancelable, otherwise Window
I would like to show a notification progress indicator with percentage and without a cancel button, this is currently not possible.
Suggest adding a setting on the client-side as how to display the indicators. Eg 2 different settings

ByCancellation (default) - Show as notification if the progress is cancelable otherwise Window
AlwaysWindow - Always show as window progress, cancel button is shown if the progress is cancelable

ref
https://github.com/microsoft/vscode-languageserver-node/blob/0a93b43a54ab68e6139bc3dea18286ee9131e015/client/src/progressPart.ts#L49

This got addressed. The progress is now shown using a new silent mode in VS code which combines a notification with a cancel button and a status bar item.


Example for the REDIS_URL for the redisdown

This is a quick and dirty example of where I put the redisdown REDIS_URL in so that one could use redis on
heroku or if your redis server is not on localhost.  This example is based on a 2016 hack that I did, and I
haven't proved it out on the most recent plugin based code.

Thanks for your pull request. Sorry for getting to this only now. I'm happy to merge this change provided it passes the test suite. If you could rebase it against the latest master, that should fix the current Travis errors.

Thanks @seigel!


Scale up smaller resolutions - e.g. Myth: The Fallen Lords

DxWnd does some kind of magic where it allows you to choose a smaller resolution and it scales it up over your current desktop resolution without actually going full screen.  This is very nice for Myth: The Fallen Lords because the game's latest patch (v1.5 from Project Magma) can't handle resolutions over 1920x1080 for the directx portions of the game.  Is there any chance dxwrapper can perform the same trick?  Nglide works nicely for the 3dfx rendering parts of the game, so I was wondering if a combination of nglide and dxwrapper could be used together for this game.

That sounds like integer scaling, with some kind of "use the biggest window resolution that can fit the screen"

dxwrapper does have the ability to scale the resolution when using dd7to9.  If the game DirectX 7 or older and only uses the 2D APIs then it should work fine.  As @mirh said, you can also use integer scaling here and maintain aspect ratio, if you like.

Thanks for the pointers.  I tried this with Myth TFL (v1.5) but unfortunately no luck.  I'm suspecting part of the problem is, with v1.5, they recognize the larger screen and keep your desktop resolution (so integer scaling really doesn't do anything in this case as you're already by default at desktop resolution).  But, the game just doesn't work at resolutions over 1920x1080, so I need to trick it into using a smaller screen resolution and scale that back up to the desktop.  I also tried these settings, but still couldn't get this game to work with dxwrapper:
[Compatibility]
Dd7to9                     = 1
[Dd7to9]
DdrawOverrideWidth         = 800
DdrawOverrideHeight        = 600
DdrawIntegerScalingClamp   = 1
DdrawMaintainAspectRatio   = 1 ; or 0

Nglide works nicely for the 3dfx rendering parts of the game, so I was wondering if a combination of nglide and dxwrapper could be used together for this game.

At this point I have no plans to support nglide.  I am focusing mainly on DirectX, but I might add WinG in the future.

This is basically DSR/supersampling.

Closing issue.  I am not planning to add DSR or SuperSampling (SSAA).


Build on JDK 11

Let's make the build work on JDK 11 as it is a long term release

first few issues are on :spring-cloud-sleuth-core all caused by the same thing:
Java(TM) SE Runtime Environment 18.9 (build 11+28)
Caused by: java.lang.IllegalStateException: Error processing condition on org.springframework.cloud.client.serviceregistry.ServiceRegistryAutoConfiguration$ServiceRegistryEndpointConfiguration.serviceRegistryEndpoint
	at org.springframework.cloud.sleuth.instrument.messaging.JmsTracingConfigurationTest.tracesListener_annotationMessageListener(JmsTracingConfigurationTest.java:150)
Caused by: java.lang.IllegalArgumentException: Value must be alpha-numeric
	at org.springframework.cloud.sleuth.instrument.messaging.JmsTracingConfigurationTest.tracesListener_annotationMessageListener(JmsTracingConfigurationTest.java:150)

The build is working fine. Issue was related to Boot.


Remove deprecations

Codecov Report

Merging #264 (3fe112c) into master (eecbad4) will increase coverage by 0.83%.
The diff coverage is 28.57%.

@@             Coverage Diff              @@
##             master     #264      +/-   ##
============================================
+ Coverage     81.38%   82.21%   +0.83%
+ Complexity      469      455      -14
============================================
  Files            45       45
  Lines          1359     1327      -32
============================================
- Hits           1106     1091      -15
+ Misses          253      236      -17

Impacted Files
Coverage Δ

src/Controller/ContentSecurityPolicyController.php
0.00% <0.00%> (ø)

src/DependencyInjection/Configuration.php
98.07% <ø> (-0.07%)
:arrow_down:

...rc/EventListener/ContentSecurityPolicyListener.php
84.33% <100.00%> (-0.73%)
:arrow_down:

src/Session/CookieSessionHandler.php
63.95% <0.00%> (-2.33%)
:arrow_down:

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 eecbad4...3fe112c. Read the comment docs.


GLSL from SPIR-V produces copy write copy pattern

I have this bug I created for the spirv-tools team some time ago. https://github.com/KhronosGroup/SPIRV-Tools/issues/735 Essentially, there is a particular spirv pattern that generates very bad glsl that in turn noticeably affects my compile time and my performance. I thought it was a bug in the optimizer, but I've been told that it's the way spirv-cross generates the glsl from the spirv that is a bit problematic.
Essentially, the following spirv binary
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 97

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Fragment 4  "main" 55
                              ExecutionMode 4 OriginLowerLeft
                              Source HLSL 500
                              Name 4  "main"
                              Name 10  "MyStruct"
                              MemberName 10(MyStruct) 0  "a"
                              MemberName 10(MyStruct) 1  "b"
                              MemberName 10(MyStruct) 2  "c"
                              MemberName 10(MyStruct) 3  "d"
                              MemberName 10(MyStruct) 4  "condition"
                              MemberName 10(MyStruct) 5  "v"
                              Name 12  "DefaultMyStruct("
                              Name 15  "@main("
                              Name 18  "s"
                              Name 48  "s"
                              Name 55  "@entryPointOutput"
                              Decorate 55(@entryPointOutput) Location 0
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeFloat 32
               7:             TypeVector 6(float) 4
               8:             TypeVector 6(float) 2
               9:             TypeInt 32 1
    10(MyStruct):             TypeStruct 7(fvec4) 7(fvec4) 8(fvec2) 8(fvec2) 9(int) 6(float)
              11:             TypeFunction 10(MyStruct)
              14:             TypeFunction 7(fvec4)
              17:             TypePointer Function 10(MyStruct)
              19:      9(int) Constant 0
              20:    6(float) Constant 0
              21:    7(fvec4) ConstantComposite 20 20 20 20
              22:             TypePointer Function 7(fvec4)
              24:      9(int) Constant 1
              26:      9(int) Constant 2
              27:    8(fvec2) ConstantComposite 20 20
              28:             TypePointer Function 8(fvec2)
              30:      9(int) Constant 3
              32:      9(int) Constant 5
              33:             TypePointer Function 6(float)
              35:      9(int) Constant 4
              36:             TypePointer Function 9(int)
              40:             TypeBool
              54:             TypePointer Output 7(fvec4)
55(@entryPointOutput):     54(ptr) Variable Output
              95:10(MyStruct) Undef
         4(main):           2 Function None 3
               5:             Label
              78:10(MyStruct) CompositeInsert 21 95 0
              80:10(MyStruct) CompositeInsert 21 78 1
              82:10(MyStruct) CompositeInsert 27 80 2
              84:10(MyStruct) CompositeInsert 27 82 3
              86:10(MyStruct) CompositeInsert 20 84 5
              88:10(MyStruct) CompositeInsert 26 86 4
              72:    40(bool) IEqual 26 19
                              SelectionMerge 73 None
                              BranchConditional 72 74 73
              74:               Label
              92:10(MyStruct)   CompositeInsert 20 88 5
                                Branch 73
              73:             Label
              96:10(MyStruct) Phi 88 5 92 74
              94:    7(fvec4) CompositeExtract 96 0
                              Store 55(@entryPointOutput) 94
                              Return
                              FunctionEnd
12(DefaultMyStruct():10(MyStruct) Function None 11
              13:             Label
           18(s):     17(ptr) Variable Function
              23:     22(ptr) AccessChain 18(s) 19
                              Store 23 21
              25:     22(ptr) AccessChain 18(s) 24
                              Store 25 21
              29:     28(ptr) AccessChain 18(s) 26
                              Store 29 27
              31:     28(ptr) AccessChain 18(s) 30
                              Store 31 27
              34:     33(ptr) AccessChain 18(s) 32
                              Store 34 20
              37:     36(ptr) AccessChain 18(s) 35
                              Store 37 26
              38:     36(ptr) AccessChain 18(s) 35
              39:      9(int) Load 38
              41:    40(bool) IEqual 39 19
                              SelectionMerge 43 None
                              BranchConditional 41 42 43
              42:               Label
              44:     33(ptr)   AccessChain 18(s) 32
                                Store 44 20
                                Branch 43
              43:             Label
              45:10(MyStruct) Load 18(s)
                              ReturnValue 45
                              FunctionEnd
      15(@main():    7(fvec4) Function None 14
              16:             Label
           48(s):     17(ptr) Variable Function
              49:10(MyStruct) FunctionCall 12(DefaultMyStruct()
                              Store 48(s) 49
              50:     22(ptr) AccessChain 48(s) 19
              51:    7(fvec4) Load 50
                              ReturnValue 51
                              FunctionEnd

generates the following glsl
struct MyStruct
{
    vec4 a;
    vec4 b;
    vec2 c;
    vec2 d;
    int condition;
    float v;
};

layout(location = 0) out vec4 _entryPointOutput;

MyStruct _95;

void main()
{
    MyStruct _78 = _95;
    _78.a = vec4(0.0);
    MyStruct _80 = _78;
    _80.b = vec4(0.0);
    MyStruct _82 = _80;
    _82.c = vec2(0.0);
    MyStruct _84 = _82;
    _84.d = vec2(0.0);
    MyStruct _86 = _84;
    _86.v = 0.0;
    MyStruct _88 = _86;
    _88.condition = 2;
    MyStruct _96;
    if (2 == 0)
    {
        MyStruct _92 = _88;
        _92.v = 0.0;
        _96 = _92;
    }
    else
    {
        _96 = _88;
    }
    _entryPointOutput = _96.a;
}

You can see this pattern of copy, modify, copy, modify in this very simple case. This came from an optimized shader that was simply populating a structure inside a function. Now, I wouldn't expect to see all those copies, but just a single instance of the struct and the parameters being poked in one by one. In more complex scenarios I have hundreds of these in the code. Is there any way to generate something like this?
    MyStruct _78 = _95;
    _78.a = vec4(0.0);
    _78.b = vec4(0.0);
    _78.c = vec2(0.0);
    _78.d = vec2(0.0);
    _78.v = 0.0;
    _78.condition = 2;
    if (2 == 0)
    {
        _78.v = 0.0;
    }

    _entryPointOutput = _78.a;

OpCompositeInsert followed by Phi ... ye. This is extremely awkward to express efficiently in GLSL.
OpCompositeInsert in SPIR-V is defined as a full copy + the modification. There have been optimizations in SPIRV-Cross to replace this with a straight up modification, but corner cases and bugs forced me to remove that. Maybe it can be fixed properly, but that's not the biggest problem here.
The real annoyance here is the OpPhi which essentially selects between two complete structs. This kind of code sequence seems very inefficient to me. Ideally you want to select the struct member itself, and then insert it I think ... Optimizing this requires a full-blown optimizer I think, which SPIRV-Cross is not.
Do you have the original code sequence by any chance? Rewriting the sequence to not rely on this very difficult optimization seems like a better idea to me.

Thanks for the quick reply. The way I produced the original spirv is explained in detail in the linked bug for spirvcross KhronosGroup/SPIRV-Tools#735 In short I grab some hlsl and put it through glslang + the spirv optimizer. At the end of it that spirv is produced. I also find it strange to express modifications in terms of copy + write, but I don't know enough about spirv to judge it adequately. I would perhaps naively think it would have a performance impact in Vulkan as it's having on my glsl if the driver doesn't optimize. Any chance you could pop by the bug to have a discussion there?

Closing this as there is no obvious resolution here. Feel free to reopen if this is still a problem.


Feature: Run-time requiring of pegjs files

Issue type

Bug Report: no
Feature Request: yes
Question: no
Not an issue: no

Prerequisites

Can you reproduce the issue?: n/a
Did you search the repository issues?: yes
Did you check the forums?: I don't see links to forums
Did you perform a web search (google, yahoo, etc)?: yes

Description
While there might be other use cases for being able to require PEGJS files directly in Node at run-time, the main intent of this issue is for code coverage (e.g., for Mocha tests).
This latter use case of code coverage would first need #93 (providing source maps) to be first implemented. If implemented, one could avoid the need for a separate instrumented copy of one's tests + peg code.
I see that Node's require.extensions is used to accomplish this for ts-node, and though require.extensions is technically deprecated in Node, as per the discussions around https://stackoverflow.com/questions/28884377/better-way-to-require-extensions-with-node-js (particularly in the vein of this answer), it seems to be the only practical mechanism here, and as per the comment, I don't think we have to worry about Node breaking Babel.

I’d rather not allow this.

@ExE-Boss : For our use case, it'd just be for testing (also, not sure if you noted this is the pegjs repo.)

I know that this is the PEGJS repo, which is exactly why I’m opposed to implementing this here.

Ok, cool... (I can sometimes follow a link to another repo without noticing it is not a separate issue, so just making sure) :)

No more features until the 2017 two-liners that let us use es6 modules and arrows are out.

Also, it looks like what you actually want is testing
You don't put the coverage hooks in the library.  You put them in the test file.
If you want coverage, you can install jest and just be done.  It auto-includes everything you need and no modifications need to take place to the library.  Coverage tools are designed to be added from the outside, not the inside.
This parser generator should not suddenly become tied to the node.js package ecosystem as an internal feature.
Besides, coverage is a false desire for a parser.  Consider the following:
Food
    / "Peanuts"
    / "Shellfish"
    / "Rice"

Now, just write a test for rice.  peg is going to try Peanuts first, then when it doesn't work peg will try Shellfish, then peg will try Rice
Notice you only wrote a test for Rice, but you're incorrectly showing coverage for all three
The way a packrat parser (honestly the way ever parser I can think of) works means coverage is fake
Don't waste your time

As far as putting coverage hooks in the library, normally one puts them in one's tests, yes, but when a parser is auto-generated with some branches as relevant and some as not, then it makes sense for the auto-generator to produce this so that those projects which do not wish to ignore their parser file can do so. It is not related to the coverage of the pegjs library (which has its own coverage requirements) but to coverage of the generated parser's use of the grammar.
In your example, the generated parser has lines of code to check for "Peanuts", "Shellfish" and "Rice", and if they aren't covered, they can indeed be reported.
It becomes more of an open question whether a rule like ruleA = ruleB / ruleC should check that "ruleA" has cases with both "ruleB" and "ruleC", or whether it is sufficient to check that "ruleA", "ruleB", and "ruleC" all get covered somehow (e.g., if there is a ruleD = ruleB / ruleF, its coverage of ruleB may be seen by some projects as enough to avoid the need for checking it is covered within "ruleA", especially if there are lots of alternatives and combinations).
As far as this issue, there could be an entrance file which added the feature, and another which didn't.

@brettz9 - I was about to say "I'm talking to someone else about this same thing" and then I realized it's you, so, I'm going to cease this instance of this discussion in favor of the similar one we're having on #633, if that seems okay to you
I'm writing something long there currently


refactor JobFunc parameters

Codecov Report

Merging #2 (9e95210) into master (851d22b) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #2      +/-   ##
==========================================
- Coverage   99.04%   99.03%   -0.01%
==========================================
  Files           3        3
  Lines         209      208       -1
==========================================
- Hits          207      206       -1
  Misses          2        2

Impacted Files
Coverage Δ

job.go
97.72% <100.00%> (-0.06%)
:arrow_down:

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 851d22b...9e95210. Read the comment docs.


[BUG] (python-chess) Restarting saved game results in player switching sides

Describe the bug
When restarting a game from the lastgame.txt file, the player will occasionally be switched to be playing as the opposing side. If a game crashes or is otherwise exited, the file may not be updated correctly.
To Reproduce
Steps to reproduce the behavior:

Exit a game in progress
Restart UR10_stockfish.py from the last saved game
The player may be switched to the opposing side

Expected behavior
The player should continue the game from the correct side.
Desktop (please complete the following information):

OS: Ubuntu 22.04
Python Version 3.10.12

Additional context
This is more than likely caused by the save_last_play function, and there should be a check using python-chess to confirm that the player is on the correct side before starting the game.

May be possible to fix by pushing an empty move


clang++: error: unsupported option '-mfpu=' for target 'arm64-apple-darwin24.1.0'

Both johnhcc/gs-x11/ghostscript-x11 and johnhcc/gs-x11/gv give this on macOS 15.1 (M3 Pro).

Same here...

Noted, and I'll try to get to this ASAP all. Thanks for reporting.


The validation section in the training code

Exciting work indeed! Regarding the code in the 'train.py' file, I have some questions about the purpose of the 'block_list' in lines 156-158. What is its function?
block_list = ['s_09_act_05_subact_02',                     's_09_act_10_subact_02',                     's_09_act_13_subact_01']

Thanks @sk-zhang 🙂
The evaluation code is same as what MotionBERT uses (probably they can give you a better answer). I assume that's because for certain videos of subject 9 the annotation has some issues and they discarded it.

Thanks!


convertColumnsData do not preserve order when a category is '0'

With c3js 0.4.11 and probably the latest, the data.order: null is not honored correctly when one of the category is '0'.
With the following configuration:
var chart = c3.generate({
    data: {
        columns: [
            ['< 0', 1],
            ['0', 2],
            ['> 0', 3]
        ],
        type : 'pie',
        order: null
    },
    color: {
      pattern: ['green', 'grey', 'red']
    }
});

I would except to have the slices in the following order < 0, 0 then > 0 whereas I got 0, < 0 then > 0.
See: https://jsfiddle.net/mcd6ucge/126/

The issue is actually in convertColumnsToData.
It creates an object indexed by the category name (here, '0') and it automatically goes to the "beginning" of the object.
Then, in convertDataToTargets, we iterate over this object using Object.keys and we have our '0' in first position.
When ordering is important the pivot between each format should have been array based. Not sure how to go around this

duplicate with #1534


Add toString and getMessage method

@hchoura @lchanmann has done some of this in https://github.com/foam-framework/foam2/pull/3494


Backport client-side decryption of Config Server properties to Angel

Creating this ticket per request here: https://github.com/spring-cloud/spring-cloud-config/issues/305#issuecomment-169028032
We are releasing support for this in SCS next week, and most customer apps will not have moved to Brixton yet, so a backported fix would be great. Thanks!

Shame that Angel.SR5 was just released yesterday. Oh well.

Fixed in https://github.com/spring-cloud/spring-cloud-config/commit/7f897d5. Please try 1.0.5.BUILD-SNAPSHOT of spring-cloud-context to check this works for you.


chore: create folders for web and server files

Part of Issue #16
The main purpose for this PR is to restructure the file hierarchy in order to have the front and back end in the same repository. The front end files can be found in /web and the back end files will be in /server. For now, the /server directory only contains a README, but will be updated in future PRs.
Notes for reviewers
I was unsure if there should only be one .gitignore file for the repo. Or, if the root, web, and server directories should each have one. Thoughts on this would be appreciated.
There are now three separate README files that will be used to document how developers can contribute to either the front or back end. These are still bare for now, but I plan to update them in separate PRs as changes are made to their respective directories.
Testing
The Netlify build settings have been updated to build the files found in the /web directory. Please see the Netlify preview in the comment below for testing. Also, the build can be re-ran through the Netlify dashboard to verify that the settings are correct.

Thanks for getting this started!
If we proceed with this direction (I would like to hear @ermish thoughts first):

In a single git repository, only one .gitignore is required.
We may wish to consolidate READMEs in the beginning
Contributing guidelines traditionally go in CONTRIBUTING.md, see https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/setting-guidelines-for-repository-contributors (Fine to handle in another issue)

I would love to hear more about your thoughts on combining server and client code in a monorepo first in our meeting before we push this out

I've explained my reasoning here and perhaps a quick sync meeting to unblock @theyokohamalife would be helpful


WinAppDriver replace / for \u002f character (Encoding)

At run time, the driver replaces the "/" character for "\u002f" and generates problems for search objects through xpath.
Example
My code in java is:
"// * [@ AutomationId = 'Buttonx']"
The error generated on WinAppDriver is:
"Error, no souch element"
"using": "xpath"
"value": "" /u002f /u 002f * [@ AutomationId = 'Buttonx'] ""

Hi ,
Any update on this issue as still we are struggling with the same issue as explained by
diegomeneses1

Still an issue.  It works at the element level.  Here is my previous comment:
https://github.com/microsoft/WinAppDriver/issues/1563#issuecomment-888043461