Update the whole cluster status via REST API

Motivation:
When the writable status is updated via AdministrativeSevice.updateStatus(), the status isn't propagated to other cluster members. As a result, they will have inconsistent status. #912
Additionally, the status isn't persistent. If one replica is restarted, the status will be reset. That means the Central Dogma server can't be started with read-only mode. It makes it difficult to serve data in read-only mode after restart if there are replication problems.
This feature also helps to scale out the Central Dogma server by adding read-only nodes when the server receives heavy read queries. If more features are implemented, new data can be replicated while serving in read-only mode.
Modifications:

Replication is now controlled by UpdateServerStatusCommand.
<data-dir>/server-status.properties file will be created to store a server status when it is updated via UpdateServerStatusCommand.

The file is used to determine whether the server is writable and replicating when the server is started.
As the server status is persistent, we should use REST API or the file to restore the status. REST API is preferred, however, if replication is disabled, it can't be recovered via REST API. There is no way to propagate new status because ZooKeeper servers are also stopped. In this case, 1) the status file should be updated manually before restarting servers. Otherwise, 2) each replica's status can be updated by specifying scope=LOCAL to the status API.

ServerStatusManager is added to atomically update and read the status file.
CommandExecutorStatusManager is a helper class to handle a start request and a stop request.

A start request being processed is canceled if a stop request is received and vice versa.

AdministrativeService uses UpdateServerStatusCommand to propagate the received server status to other replicas.
Add ReadOnlyException that is raised when data is pushed in read-only mode.
Testing) CentralDogmaReplicationExtension is added to testing-internal for easier testing of Central Dogma features in replication mode.

Result:

You can update the status of all servers equally using the Administrative REST API.
You can now start Central Dogma servers in read-only mode.
Fixes #912

https://github.com/line/centraldogma/actions/runs/8780555404/job/24090707203?pr=921#step:6:482
Could you check the test failure? 😉

Oops... 😅

Let's ship it 👍 👍 👍


[Feature] chatbot

Addition of chatbot will be helpful for users as it will work as helpdesk that will solve queries and provide information.
@MinavKaria Kindly assign me this issue under gssoc-ext and hacktoberfest-accepted with level3
Regards.

Hi @shalini-bhandari! Thanks for opening this issue on Ratna Supermarket. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible.


Apply better font to Korean text

I think applying Nanum font to Korean text would be good

close by https://github.com/ParallelSpaceInc/poly-web/commit/bc73f9a75c5bed317074627bccb60ede6995351f


Shared VPC support

Adds support for shared VPCs, as well as explicitly sets the default service account.

Thanks for the reviews, @bhavanki and @meowfaceman. I just pushed two commits that should address them all.
@bhavanki - with regard to the feedback regarding the commit message, is that on you to do when merging this pull request?  Or something else?

Thanks for the reviews, @bhavanki and @meowfaceman. I just pushed two commits that should address them all.
@bhavanki - with regard to the feedback regarding the commit message, is that on you to do when merging this pull request?  Or something else?

If you can squash, that would be great, just to have one commit in the history. I actually don't know how github decides what the commit message(s) should be, but I'll figure that out and let y'all know what to do about including bpodgursky in it.

Thanks guys for cleaning my changes up and getting them merged : )

Thanks @bpodgursky !


issue after logging in

after logginn i recieve this error... have to cllick the small "x" to get rid of it

thank you resolved


Change selenium environment include to use hub/node configuration

As configured currently selenium is using an all-in-one container, this would preclude multi-browser testing. Would like to see something like the following (i.e. hub and a chrome node) supported OOTB here (allowing environments to add additional nodes as needed).
  selenium-hub:
    container_name: ${WARDEN_ENV_NAME}_selenium-hub
    image: selenium/hub:3.141.59-titanium
    ports:
      - "4444:4444"
  selenium-chrome:
    container_name: ${WARDEN_ENV_NAME}_chrome
    image: selenium/node-chrome:3.141.59-titanium
    volumes:
      - /dev/shm:/dev/shm
    depends_on:
      - selenium-hub
    environment:
      - HUB_HOST=selenium-hub
      - HUB_PORT=4444
      - START_XVFB=false

Note this will require reform before dropping into place as it came from a sidecar stack.
cc @lbajsarowicz would be wonderful if you'd like to tackle this since you've got a working MFTM setup you could validate the changes with, otherwise I'll probably tackle it only if I have the time leading up to Warden 0.2.0 release.

Good point, but we need to take into consideration the fact that Codeception is not supporting Selenium that is more recent than 3.8.1. What is more - I'd like to give choice to use DEBUG version (that can be connected with VNC), not only -titanum one without possibility to check what's wrong.

Another point is... Allure reporting. We should be able to provide interface - for example allure.{domain}.test


TypeError: Cannot read properties of undefined (reading 'getWebSocketProvider')

error info:

@shenzhimeng Which version of the SDK are you using? getWebSocketProvider() wasn't exported until v2.2.0.


updated several files from Patch <IP_ADDRESS>0 (GS)

Great, thanks ! 👍 If you work on more file, push your changes on the same branch, I'll merge it all together

Great, thanks ! 👍 If you work on more file, push your changes on the same branch, I'll merge it all together

I have some time this week, so might be able to push out a bunch of them.

Probably won't have time to do much more for now, but who knows.

Thanks for the help 😄👍, I'll merge it now so I can review the other pull request. It's only a few tweak remaining I'll do it.

Awesome. Was bound to have copied something over wrong, was going slightly crazy after a while to be quite honest haha.


[Machine Learning] AutoNLP using AutoVIML library for Natural Language Processing

Proposal Submission
Proposed title of article
[Machine Learning] AutoNLP using AutoVIML library for Natural Language Processing
Proposed article introduction
Natural language processing is the branch of computer science that enables machines to understand the text. This process is usually hectic and has many processes. But with the use of AutoVIML which is an AutoNLP library natural language processing has been made easier. AutoVIML builds more robust models that are more effective to perform NLP tasks.
AutoVIML automates the processes of EDA and text processing to format the dataset correctly. It also automates the processes of stemming, tokenization, lemmatization, CounterVectorizer, and TfidfVectorizer. It automates this process using a machine learning Pipeline, this saves the developers time and makes the process of natural language processing easier.
In this tutorial, we build a product review model using AutoVIML. AutoVIML will be able to build a model that classifies customers reviews as either positive or negative.
Key takeaways

What is AutoNLP?
Installing AutoVIML.
Dataset preparation using AutoVIML.
Creating a machine learning pipeline to automate the NLP processes.
Building the product review model using AutoVIML.

Article quality
In this tutorial, we will first explain the stages involved in natural language processing in detail.  This tutorial will also cover the important  AutoVIML functions that help with the automation process. This tutorial will be detailed and have guided steps that a reader can easily follow. We will finally build a custom product review model.
References
Please list links to any published content/research that you intend to use to support/guide this article.
Conclusion
Finally, remove the Pre-Submission advice section and all our blockquoted notes as you fill in the form before you submit.
We look forwarding to reviewing your topic suggestion.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Thank you for submitting your topic suggestion. There seems to be many articles that already cover this topic. Can you tell me how yours will build upon them and be unique to add value to our readers?

Hello @louisefindlay23, In this tutorial, I will be using the tensorflow_datasets package for easy loading and pre-preprocessing of our dataset. I will also implement the Shap library to interpret the decisions made by the AutoVIML library. When we integrate Shap and AutoVIML library, this creates more value to the reader, and they build a more sophisticated model. This is because it enables us to understand every decision made during the automation process.
Also, we will build a custom model which is not covered in the other articles, this model will be a sentiment analysis model.


MSOutput: handle very old StepChain/TaskChain workflows with diff schema

Fixes #9726
Status
not-tested
Description
The ChainParentageMap attribute was introduced in the system a few years ago (2017/2018), which means that, if we haven't yet archived all of those, MSOutput service would fail to parse that map.
This PR adds a protection against that and simply uses the top level Campaign attribute of the workflow.
Is it backward compatible (if not, which system it affects?)
yes
Related PRs
Todor is making similar changes here: https://github.com/dmwm/WMCore/pull/9750
External dependencies / deployment changes
none

I cherry-picked this commit in mine PR here https://github.com/dmwm/WMCore/pull/9750 and tested it. It is working properly and we can merge the other one so we have all the changes related to similar bugs in one place. I am closing this one.

Thanks Todor.


Reverse array in groups.java

This is a question from geeksforgeeks SDE sheet.
I have attached a solution to this question in java language.
_Given an array arr[] of positive integers of size N. Reverse every sub-array group of size K.
Note: If at any instance, there are no more subarrays of size greater than or equal to K, then reverse the last subarray (irrespective of its size)._
Example 1:
Input:
N = 5, K = 3
arr[] = {1,2,3,4,5}
Output: 3 2 1 5 4
Explanation: First group consists of elements
1, 2, 3. Second group consists of 4,5.
Example 2:
Input:
N = 4, K = 3
arr[] = {5,6,8,9}
Output: 8 6 5 9
Your Task:
You don't need to read input or print anything. The task is to complete the function reverseInGroups() which takes the array, N and K as input parameters and modifies the array in-place.
Expected Time Complexity: O(N)
Expected Auxiliary Space: O(N)
Constraints:
1 ≤ N, K ≤ 107
1 ≤ A[i] ≤ 1018
Solution(JAVA):
class Solution
{
void reverseInGroups(ArrayList arr, int n, int k)
{
for(int l=0;l<n;l+=k)
{
reverse(arr,l,Math.min(n-1,l+k-1));
}
}
void reverse(ArrayList arr, int l,int u)
{
int mid=(u-l)/2+l;
int j=u;
for (int k=l;k<mid+1;k++)
{
int t=arr.get(k);
arr.set(k,arr.get(l+u-k));
arr.set(l+u-k,t);
}
}
}

The change has been done kindly check


Save-file-as and workspace "Duplicate" menu command don't update the workspace bar

This can be reproduced on both Windows (Windows 7) [note for myself – T], Mac OS X, and Linux (Ubuntu).
Steps to reproduce for save-file-as:

Open a tab for an existing file.
Use any of the following:
a. Open the File menu and pick Save file as...
b. Open the command bar and pick the command File: Save file as...
c. Enter the default keybinding (assuming it's still bound) Ctrl+Shift+s.
In the OS file dialog window, pick a directory for which files are listed and visible in the workspace bar in Light Table, enter a new name for the file, and save the new file with the new name.
The new file won't be automatically listed in the workspace bar; it should be.

This was discovered while QA-ing the 0.8.1 release candidate build; see #2126.

I suspect https://github.com/LightTable/LightTable/pull/2105 but will require more investigation

This was rediscovered during work for PR #2234, but can still be reproduced on 0.8.1 via the context menu's Duplicate. Rather than create another extremely similar issue, the relevant information is below with screenshots for reproducing the issue with Duplicate from the context menu.
On LT 0.8.1 this happens at all folder levels.
Here are some screenshots illustrating the problem (and workaround):
Initial state - 'README.md' is displayed in the sidebar

Open context menu on 'README.md' and select Duplicate

Nothing appears

Open context menu on root folder and select Refresh

Duplicate file 'README copy.md' is now visible

While you are it you could add drag and duplicate.
on Windows: ctrl+click+drag
on Mac: ⌥+click+drag
Or should this be requested in another issue?

My guess is probably another issue!
Happy to work on that after I get to a couple of other issues.


Missing output dataset from StepChain

https://cmsweb.cern.ch/reqmgr2/fetch?rid=vlimant_task_HIG-RunIIFall17wmLHEGS-00011__v1_T_171130_141411_8017
is expecting
"OutputDatasets": [
"/ZZTo4L_13TeV_powheg_pythia8/RunIIFall17wmLHEGS-93X_mc2017_realistic_v3-v2/GEN-SIM",
"/ZZTo4L_13TeV_powheg_pythia8/RunIIFall17wmLHEGS-93X_mc2017_realistic_v3-v2/LHE",
"/ZZTo4L_13TeV_powheg_pythia8/RunIIFall17DRPremix-94X_mc2017_realistic_v10-v2/AODSIM",
"/ZZTo4L_13TeV_powheg_pythia8/RunIIFall17MiniAOD-94X_mc2017_realistic_v10-v2/MINIAODSIM"
],
but there are not a single merge jobs for the LHEm while
progress:
/ZZTo4L_13TeV_powheg_pythia8/RunIIFall17DRPremix-94X_mc2017_realistic_v10-v2/AODSIM: event: 40.2%, lumi: 40.2%
/ZZTo4L_13TeV_powheg_pythia8/RunIIFall17wmLHEGS-93X_mc2017_realistic_v3-v2/GEN-SIM: event: 40.4%, lumi: 40.4%
/ZZTo4L_13TeV_powheg_pythia8/RunIIFall17MiniAOD-94X_mc2017_realistic_v10-v2/MINIAODSIM: event: 37.1%, lumi: 37.1%

in wmstats. this looks very suspicious to me, although it could be that there hasn't been enough files/events for any merge of LHE to be ran.

ZZTo4L_13TeV_powheg_pythia8/RunIIFall17DRPremix-94X_mc2017_realistic_v10-v2/AODSIM: event: 68.6%, lumi: 68.6%
/ZZTo4L_13TeV_powheg_pythia8/RunIIFall17wmLHEGS-93X_mc2017_realistic_v3-v2/GEN-SIM: event: 68.4%, lumi: 68.4%
/ZZTo4L_13TeV_powheg_pythia8/RunIIFall17MiniAOD-94X_mc2017_realistic_v10-v2/MINIAODSIM: event: 66.8%, lumi: 66.8%
/ZZTo4L_13TeV_powheg_pythia8/RunIIFall17wmLHEGS-93X_mc2017_realistic_v3-v2/LHE: event: 67.7%, lumi: 67.7%


Special token for marking a function as a promise generator

In some cases, the existing syntax of promise! #()* ... seems a little unwieldy, especially in the case of something like:
def get-something = promise! #(key)*
  yield ...

or
{
  get-something: promise! #(key)*
    yield ...
}

It could be better to have another token such as % or & or something along those lines that would automatically mark the function as a generator and wrap it with promise!
The previous examples would then look like the following:
def get-something(key)%
  yield ...

{
  get-something(key)%
    yield ...
}

Any thoughts?

In my community repo, I made this:
#**
	yield stuff()

Be a promise generator.


[MM-18785] Remove deprecated lifecycle methods from user settings

Summary
This PR replaces the deprecated method componentWillReceiveProps with either componentDidUpdate or getDerivedStateFromProps in the following files:

components/user_settings/security/user_access_token_section/user_access_token_section.jsx
components/user_settings/display/user_settings_theme/user_settings_theme.jsx

Ticket Link
Resolves https://github.com/mattermost/mattermost-server/issues/12340

@bolariin @hmhealey Are there tests that should or could be updated or added with these changes?


Add new energy management built in types (power-mW, voltage-MV, amperage-mA, energy-mWh) to ZAP

Fixes #1219 Add new energy management built in types.
Not sure how the additional test code works, so I haven't touched that.

Maybe this PR is unnecessary... seems that some of the logic is in chip repo.


Inline SDFGs with multiple states

The new strict transformation finds nested SDFGs that exist as the only component of the state (only node + input/output access nodes), and for now only cases where views or subsets would not be used. It can inline a loop within a nested SDFG, for example.

@acalotoiu @alexnick83 seems like there is some (unrelated?) FPGA test failing, so please ignore it


freebsd build tensor v2.1.0

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):
FreeBSD  12.1-RELEASE-p1 FreeBSD 12.1-RELEASE-p1 GENERIC  amd64

TensorFlow installed from (source or binary):
source, v2.1.0

TensorFlow version:

Python version:

python --version
Python 3.7.6

Installed using virtualenv? pip? conda?:
pip
Bazel version (if compiling from source):

bazel --version
bazel 0.29.0

GCC/Compiler version (if compiling from source):

gcc --version
gcc (FreeBSD Ports Collection) 9.2.0

CUDA/cuDNN version:
GPU model and memory:

Describe the problem
as per https://www.tensorflow.org/install/source
running: bazel build --config=opt --verbose_failures //tensorflow/tools/pip_package:build_pip_package
Provide the exact sequence of commands / steps that you executed before running into the problem
INFO: Analyzed target //tensorflow/tools/pip_package:build_pip_package (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: /root/.cache/bazel/_bazel_root/fbc06f9baef46cade6e35d9e4137e37c/external/local_config_mlir/BUILD:1834:1: Linking of rule '@local_config_mlir//:mlir-tblgen' failed (Exit 1)
ld: error: undefined symbol: backtrace
>>> referenced by Signals.cpp
>>>               Signals.o:(PrintStackTraceSignalHandler(void*)) in archive bazel-out/host/bin/external/llvm/libsupport.a

ld: error: undefined symbol: backtrace_symbols_fd
>>> referenced by Signals.cpp
>>>               Signals.o:(PrintStackTraceSignalHandler(void*)) in archive bazel-out/host/bin/external/llvm/libsupport.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Target //tensorflow/tools/pip_package:build_pip_package failed to build
ERROR: /opt/tensorflow/tensorflow/python/tools/BUILD:97:1 Linking of rule '@local_config_mlir//:mlir-tblgen' failed (Exit 1)
INFO: Elapsed time: 0.282s, Critical Path: 0.05s
INFO: 1 process: 1 local.
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.

you have to link libexecinfo. Add --linkopts=-lexecinfo to your bazel command line

it doesn't matter what I do, that opt fails:
# bazel build --config=opt --linkopts=-lexecinfo //tensorflow/tools/pip_package:build_pip_package
ERROR: Unrecognized option: --linkopts=-lexecinfo

ok, I tried a clean, same error it looks:
Command: tensorflow# bazel build --config=opt --linkopt=-lexecinfo //tensorflow/tools/pip_package:build_pip_package
bazel-out/freebsd-py2-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
bazel-out/freebsd-py2-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
bazel-out/freebsd-py2-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
bazel-out/freebsd-py2-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
bazel-out/freebsd-py2-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
bazel-out/freebsd-py2-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
bazel-out/freebsd-py2-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
bazel-out/freebsd-py2-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
bazel-out/freebsd-py2-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
bazel-out/freebsd-py2-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
bazel-out/freebsd-py2-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
bazel-out/freebsd-py2-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
bazel-out/freebsd-py2-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
bazel-out/freebsd-py2-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile tensorflow/compiler/mlir/lite/quantization/quantization_info.pb.h:
bazel-out/freebsd-py2-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
ERROR: /opt/tensorflow/tensorflow/compiler/mlir/lite/quantization/BUILD:104:1: Linking of rule '//tensorflow/compiler/mlir/lite/quantization:op_quant_spec_getters_gen' failed (Exit 1)
ld: error: undefined symbol: backtrace
>>> referenced by Signals.cpp
>>>               Signals.o:(PrintStackTraceSignalHandler(void*)) in archive bazel-out/host/bin/external/llvm/libsupport.a

ld: error: undefined symbol: backtrace_symbols_fd
>>> referenced by Signals.cpp
>>>               Signals.o:(PrintStackTraceSignalHandler(void*)) in archive bazel-out/host/bin/external/llvm/libsupport.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
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: 691.338s, Critical Path: 43.27s
INFO: 2982 processes: 2982 local.
FAILED: Build did NOT complete successfully

Linking libexecinfo should work. Please add --host_linkopt=-lexecinfo bazel build --config=opt --linkopt=-lexecinfo --host_linkopt=-lexecinfo //tensorflow/tools/pip_package:build_pip_package. You may also need --cxxopt=-std=c++14 --host_cxxopt=-std=c++14

ok, so!
bazel build --config=opt --linkopt=-lexecinfo --host_linkopt=-lexecinfo //tensorflow/tools/pip_package:build_pip_package

INFO: Elapsed time: 11909.924s, Critical Path: 181.67s
INFO: 19961 processes: 19961 local.
INFO: Build completed successfully, 20742 total actions

The build was successful.. and then:
# ./bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
Sun 8 Mar 2020 10:32:35 UTC : === Preparing sources in dir: /tmp/tmp.XXXXXXXXXX.0hYTgRyc
/opt/tensorflow /opt/tensorflow
/opt/tensorflow
/tmp/tmp.XXXXXXXXXX.0hYTgRyc/tensorflow/include /opt/tensorflow
/opt/tensorflow
Sun 8 Mar 2020 10:32:48 UTC : === Building wheel
....
Sun 8 Mar 2020 10:33:19 UTC : === Output wheel file is in: /tmp/tensorflow_pkg
root@warvm-server01:/opt/tensorflow# pip install /tmp/tensorflow_pkg/tensorflow-2.1.0-cp37-cp37m-freebsd_12_1_RELEASE_p1_amd64.whl
....
  /tmp/pip-build-env-6i11fzxp/overlay/lib/python3.7/site-packages/numpy/distutils/system_info.py:716: UserWarning: Specified path /usr/include/python3.7m is invalid.
    return self.get_paths(self.section, key)
  scipy/fft/_pocketfft/pypocketfft.cxx:15:10: fatal error: 'pybind11/pybind11.h' file not found
  #include <pybind11/pybind11.h>
           ^~~~~~~~~~~~~~~~~~~~~
  1 error generated.
  scipy/fft/_pocketfft/pypocketfft.cxx:15:10: fatal error: 'pybind11/pybind11.h' file not found
  #include <pybind11/pybind11.h>
           ^~~~~~~~~~~~~~~~~~~~~

scipy install error. Ok, time to work that out, just looks like a dependency issue.
# pkg install py37-pybind11 pybind11
# pip install /tmp/tensorflow_pkg/tensorflow-2.1.0-cp37-cp37m-freebsd_12_1_RELEASE_p1_amd64.whl
....

I need to go to bed now and i'll leave this building, I assume it wont be short and report back in the morning. Thank you!

o0o0o0o0o, yeah!
Successfully installed astor-0.8.1 cachetools-4.0.0 google-auth-1.11.2 google-auth-oauthlib-0.4.1 markdown-3.2.1 oauthlib-3.1.0 opt-einsum-3.2.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 requests-oauthlib-1.3.0 rsa-4.0 scipy-1.4.1 tensorboard-2.1.1 tensorflow-2.1.0 tensorflow-estimator-2.1.0

Thank you!

Are you willing to make a port of the 2.0 version?

Trying to do this again, it now does not work:

bazel clean && bazel build --config=opt --linkopt=-lexecinfo --host_linkopt=-lexecinfo //tensorflow/tools/pip_package:build_pip_package

external/pybind11/include/pybind11/detail/common.h:510:30: note: previous definition is here
template <typename T> struct intrinsic_type<T&>                   { typedef typename intrinsic_type<T>::type type; };
                             ^
In file included from tensorflow/python/framework/op_def_registry.cc:20:
In file included from ./tensorflow/python/lib/core/pybind11_status.h:21:
In file included from bazel-out/freebsd-opt/bin/external/local_config_python/python_include/pybind11/pybind11.h:44:
In file included from bazel-out/freebsd-opt/bin/external/local_config_python/python_include/pybind11/attr.h:13:
In file included from bazel-out/freebsd-opt/bin/external/local_config_python/python_include/pybind11/cast.h:13:
In file included from bazel-out/freebsd-opt/bin/external/local_config_python/python_include/pybind11/pytypes.h:12:
bazel-out/freebsd-opt/bin/external/local_config_python/python_include/pybind11/detail/common.h:522:30: error: redefinition of 'intrinsic_type<T &&>'
template <typename T> struct intrinsic_type<T&&>                  { typedef typename intrinsic_type<T>::type type; };
                             ^~~~~~~~~~~~~~~~~~~
external/pybind11/include/pybind11/detail/common.h:511:30: note: previous definition is here
template <typename T> struct intrinsic_type<T&&>                  { typedef typename intrinsic_type<T>::type type; };
                             ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
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: 1295.408s, Critical Path: 81.63s
INFO: 5956 processes: 5956 local.
FAILED: Build did NOT complete successfully


Add git_porcelain

git_porcelain

Did you use submit?

nope, wasn't working for me

On Mar 16 2016, at 5:35 pm, Jorge Bucaran<EMAIL_ADDRESS>wrote:

Did you use submit?

—
You are receiving this because you modified the open/close state.
Reply to this email directly or [view it on
GitHub](https://github.com/fisherman/fisher-index/pull/53#issuecomment-1972277
02)![](https://github.com/notifications/beacon/ABlxkZnBbR66KVzEyIm8I69EfeCtFW0
lks5pt87NgaJpZM4HxzrC.gif)

Yeah, I thought so. :smile:


Glacier

Coverage increased (+0.07%) to 95.94% when pulling 625b1d2ac6669d51e1c34364fb403c8eb403150b on glacier into b296294086d8a1a8f76b790f6cf0af73b1e88dcd on master.


Fix null pointer on name compare

Hi all,
this PR resolves issue #369, the fix is a pretty straightforward null pointer check.
I've also included a dedicated regression script for the issue, please let me know if there is anything you think i should add to the PR.

Looks good. Just waiting on Travis CI.
Added @dehowef to double check.


Migrate away from "unit" tests that act as integration tests

Running integration tests using a unit test framework does not work well:

there's no logging to allow debugging, no timestamps to correlate failures with the logs of services they interact with.
it provides a very limited environment (see below).
using a build flag (infrarunning) to prevent the tests being run normally comes with a large cpu and memory overhead as go has to recompile a lot of the codebase. (In CI we have to run each infrarunning test individually, as otherwise the memory usage spikes by 1.6GB and causes OOMs in 4G of ram).

We currently have 3 tests that do this:

go/lib/pathmgr/infra_test.go - this doesn't use any features of the unit test framework.
go/lib/snet/integration_test.go - this will fail if any path request times out, and it assumes that it can run client and server in different ASes on the same host, which we're trying to explicitly move away from.
go/sciond/server_test.go - runs its own sciond with a config that may be incompatible with the running environment.

All of these should work well as normal integration tests, and would increase the reliability/flexibility/simplicity of our testing setup.

We no longer have infrarunning tests.


fix: Increase project-clone CPU limit to 500m to make clone faster

What does this PR do?
Increases the CPU limit for the project clone container from 50m to 500m to make cloning faster. In my brief testing, with 50m, project clone for https://github.com/che-samples/spring-petclinic takes ~15 seconds (as timed by the "started" and "completed" fields on cluster), whereas with 500m the same operation takes ~2 seconds.
Also increases memory limit to 1Gi, to avoid OOMKilled when cloning large repos.
What issues does this PR fix or reference?
Fixes https://github.com/devfile/devworkspace-operator/issues/446
Fixes https://github.com/devfile/devworkspace-operator/issues/447
Is it tested? How?
cat <<EOF | kubectl apply -f -
kind: DevWorkspace
apiVersion: workspace.devfile.io/v1alpha2
metadata:
  name: checkoutfrom
  annotations:
    controller.devfile.io/debug-start: "true"
spec:
  started: true
  template:
    projects:
      - name: spring-petclinic
        git:
          checkoutFrom:
            revision: devfilev2
          remotes:
            origin: "https://github.com/che-samples/spring-petclinic"

    components:
      - name: tools
        container:
          image: quay.io/eclipse/che-java11-maven:nightly
EOF

Added a commit to bump the memory limit to 1Gi, which is sufficient to run the devfile
cat <<EOF | kubectl apply -f -
kind: DevWorkspace
apiVersion: workspace.devfile.io/v1alpha2
metadata:
  name: checkoutfrom
  annotations:
    controller.devfile.io/debug-start: "true"
spec:
  started: true
  template:
    projects:
      - name: console
        git:
          checkoutFrom:
            revision: update-web-terminals
          remotes:
            origin: "https://github.com/amisevsk/console"

    components:
      - name: tools
        container:
          image: quay.io/eclipse/che-java11-maven:nightly
EOF

/test v7-devworkspaces-operator-e2e, v7-devworkspace-happy-path


Default focus button

Currently, you cannot change the default focus button. Is it possible to add the option to customize this behavior so that we can set the focus on the Cancel button?

There is no such a feature, but that’s a good idea


feat: advance remote state on push

#189  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @nadilas and the rest of your teammates on  Graphite


Fix grace period bug in _end.accept_ticket

Let me tell you sometime of the joys of having high-level tests find low-level bugs.

Python is green.


Connect to Azure AD should mention -TenantId

It's likely that someone following this may need to connect to an Azure AD used for DevOps rather than their corporate AD so the use of a -TenantId parameter on the connect command is probably necessary in many cases.

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

ID: 49643811-ee04-ae88-8153-aad4cc009b73
Version Independent ID: d1e1f15d-d988-7951-e453-f10ed6bb20bf
Content: Use a Windows VM system-assigned managed identity to access Azure AD Graph API
Content Source: articles/active-directory/managed-identities-azure-resources/tutorial-windows-vm-access-azure-ad-graph.md
Service: active-directory
GitHub Login: @priyamohanram
Microsoft Alias: priyamo

@IanMercer Thank you for your feedback . We will investigate and update this thread.

@IanMercer We have updated the document and put in a pull request for review to the authors.
@priyamohanram @arluca Could you please review the proposed changes and help merge the pull if appropriate.

@Shashishailaj: Thanks for fixing the article
@IanMercer : Thanks for the feedback. The documentation has been updated with the new information. Please feel free to open a new issue if you have any further concerns. Thanks!
#please-close


Template text for Preparatory Items

Similar to #269 , when the "Is preparatory" box is ticked in our current software, the template text appear on the Change Request and on the live dictionary but the full description appears in the software.
The text is "This item is being used for development purposes and has not yet been approved."

Has Mauro been set up in the same way to display this text?

7/2/22 - Discussion with James. Moved to To Do.

15/2/22 - still required.

I have created a prep item in Mauro but the preview still shows the item definition:

Prep item definitions cannot be shown on the dictionary website until the item has been approved.

Also, @jamesrwelch - currently when a new prep item is created and then when the flag is unticked when the item has been approved, I tell Likin so codes are displayed correctly on the Terminology Server.
Do we have to do anything when we author in Mauro or will it work OK?

28/2/22 - James has confirmed that codes ticked as prep items will not be displayed on the Ontoserver.


[SDK-1569] Sample app with E2E tests

Description
Created a react-router app and express api app to demonstrate the main use cases (login, logout, protect a route, access an api) and run end to end tests against.
This is not blocking the Beta
Resources

Testing
Added end to end testing using Cypress
Checklist

[ ] I have added documentation for new/changed functionality in this PR or in auth0.com/docs
[ ] All active GitHub checks for tests, formatting, and security are passing
[ ] The correct base branch is being used, if not master

Codecov Report

Merging #31 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #31   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           10        10
  Lines          121       121
  Branches        14        14
=========================================
  Hits           121       121

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 bba5129...ef3df96. Read the comment docs.


chore: refactor by removing a couple variables

Following up due to comment https://github.com/lovell/detect-libc/pull/19#discussion_r1266910023
See related PR:

https://github.com/lovell/detect-libc/pull/19

@H4ad Do you have the systems you benchmarked from #19 to try this out on to make sure I didn't slow anything down?

@styfle No problem, same overall performance, could be a bit slower because of .toLowerCase, but I don't think it's enough to slow down in this case.


How to install ideep4py on Windows?

I cannot install ideep4py on Windows.
Is it possible to install ideep4py on Windows?
If is it possible, could you tell me how to install ideep4py on Windows?
Intel MKL is already in windows.
Can you give me advice?

sorry that ideep4py doesn't support installation on windows now, we have such a plan for it, but it should need some time.

OK, thanks.
I'm looking forward to using ideep4py on Windows.
I'll close this question.

@coffeorange Sorry for keeping you waiting, but would you mind tell us why you would like to install ideep4py on windows considering that installation on linux is much more convenient? Is it for business requirement or it just for personal research interest?


Influence of zero entries in data file on result.

If i add zero entries in input test file, it causes some perturbation of result.
For example,
this
1 0:1 3:4 10:1
canges to this
1 0:1 1:0 2:0 3:4 10:1
and then resulting probability for this sample changes too.
I made xgb model in python, then exported it and tested with standalone application. Probabilities were not the same, as in python script, but quite near, the biggest change was like from 0.99 to 0.97.
I tested 0.4.0 release and master branch. Both have this problem.

The main reason is that the unpresented entries are treated as missing while zero are treated as zero, they should not have big impact in general

Then we have a semantic problem, because in python script zero entries do exist, and in order to get the same result with the same model and data in standalone application i should except them and consider all zeros as missing values. Is it ok?

yes, this normally won't pose as problem


[TASK][TRIVIAL] Upgrade download-maven-plugin from 1.6.8 to 1.7.1

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before creating

[X] I have searched in the task list and found no similar tasks.

Mentor

[X] I have sufficient knowledge and experience of this task, and I volunteer to be the mentor of this task to guide contributors to complete the task.

Skill requirements

Apache Maven

Background and Goals
Upgrade download-maven-plugin
Implementation steps
download-maven-plugin version change
Additional context
No response

hi could I work on this issue?

@rojin254 assigned, thanks

@rojin254 have you started looking at this task? it should a kind of "one line code change" task ~

sorry for the delay, I just updated the version in the pom.xml


Add functions for NI RFmx Demod by updating metadata

What does this Pull Request accomplish?
This PR updates the metadata for NI RFmx Demod with exported files from grpc-device-scrapigen.
Why should this Pull Request be merged?
Updates grpc-device with some additional functions in NI RFmx Demod
What testing has been done?
Demod system tests are passing

The one failing test in the Ubuntu system tests is for NI-FGEN. Is that something that needs to be addressed?

The one failing test in the Ubuntu system tests is for NI-FGEN. Is that something that needs to be addressed?

No, I think I've seen that one pop up before. Just didn't create an Issue for it before. Tracking it here: https://github.com/ni/grpc-device/issues/951
Unrelated to your changes so no need to worry about it. We have a few intermittent tests noted in the Issues/Bugs.

Note: The code_readiness for RFmx Demod is still marked as NextRelease: https://github.com/ni/grpc-device/blob/50d365b5b3401c7c048c8761e25b4b131dd8912e/source/codegen/metadata/nirfmxdemod/config.py#L30
That should be changed to Release when you want the service enabled by default

Note: The code_readiness for RFmx Demod is still marked as NextRelease: https://github.com/ni/grpc-device/blob/main/source/codegen/metadata/nirfmxdemod/config.py#L30
That should be changed to Release when you want the service enabled by default

@ayesham-729 I pushed a change just now that changes the codereadiness to Release

Demod tests passed in the CI build, seems to have run into an unrelated timeout

Demod tests passed in the CI build, seems to have run into an unrelated timeout

Yeah, I saw it pass the Demod tests on that run so it should be fine. Added an Issue though to bump that timeout, I think we've just finally hit the limit we set initially for these Windows system tests: https://github.com/ni/grpc-device/issues/952


Synchronizing PlatformIO and XMC4Arduino Versions

By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---
CONTRIBUTING.md also tells you what to expect in the PR process.
Description
Synchronizing PlatformIO and XMC4Arduino Versions: gcc toolchain and library version
Related Issue
https://github.com/Infineon/platformio-infineonxmc/issues/19
Context
Quick update to synchronizing PlatformIO and XMC4Arduino Versions.
Further updates required (package registry, boards json...)

ok It looks like we removed some of the target board, so we need to modify the CICD 😺

Yes, the board list also needs to be synced with XMC for Arduino (see https://github.com/Infineon/platformio-infineonxmc/tree/master/boards)
Also it looks like the examples need to be updated. Maybe they can also be removed?

Yes, the board list also needs to be synced with XMC for Arduino (see https://github.com/Infineon/platformio-infineonxmc/tree/master/boards)
Also it looks like the examples need to be updated. Maybe they can also be removed?

I did not add all boards, but removed unsupported boards.
I want to keep the example tests as much as possible, I removed the unsupported target and the rest passed.


Add a db tag guidance.

Right now, include two demonstrations.

Java, Spring JdbcTemplate -> MySQL
Python, redis-py  -> Redis

Closing it. Include in #45 .


Fix bug in as_signal method that allows an invalid signal number

Codecov Report

Merging #9 (39312c7) into master (be59c92) will not change coverage.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##           master       #9   +/-   ##
=======================================
  Coverage   91.23%   91.23%
=======================================
  Files           9        9
  Lines         776      776
=======================================
  Hits          708      708
  Misses         68       68

Flag
Coverage Δ

unittests
91.23% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/signal.c
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Fix problem with ovs settings running under vagrant on Fedora-21

Accept an expanded list of protocols for ovs bridge in the vagrant provider provision network script. This corrects an error seen after start up that prevents pods from communication via kubernetes service addresses.

@rajatchopra - can you weigh in here?

This change is harmless. Though I am curious on the error. The openflow rules we add conform use OpenFlow13, are there any other rules added from elsewhere?

I am not aware of any other rules getting added.  I suspect there was a bug introduced in the version of ovs getting pulled into the fedora 21 box.
After set up:
[root@kubernetes-minion-1 ~]# ovs-ofctl dump-flows obr0
NXST_FLOW reply (xid=0x4):
 cookie=0x0, duration=9061.163s, table=0, n_packets=36, n_bytes=1512, idle_age=594, arp,in_port=9,arp_tpa=<IP_ADDRESS>/24 actions=load:0xaf50103->NXM_NX_TUN_IPV4_DST[],output:10
 cookie=0x0, duration=9061.166s, table=0, n_packets=3, n_bytes=214, idle_age=601, ip,in_port=9,nw_dst=<IP_ADDRESS>/24 actions=load:0xaf50103->NXM_NX_TUN_IPV4_DST[],output:10
 cookie=0x0, duration=9061.173s, table=0, n_packets=0, n_bytes=0, idle_age=9061, ip,in_port=9,nw_dst=<IP_ADDRESS>/24 actions=load:0xaf50102->NXM_NX_TUN_IPV4_DST[],output:10
 cookie=0x0, duration=9061.169s, table=0, n_packets=0, n_bytes=0, idle_age=9061, arp,in_port=9,arp_tpa=<IP_ADDRESS>/24 actions=load:0xaf50102->NXM_NX_TUN_IPV4_DST[],output:10

which looks like the only rules there are getting set by the provision-network script, so that should mean only OpenFlow13 compliant rules.

Did I not link this pull request to the issue I opened correctly?  If so I appologize, this should be a fix for issue #9861

Expanding the protocols will not help here. The problem is that the hostname that minion-1 is registered with is not resolving to minion-1's IP address on the minion itself. Let me try to create a cluster, maybe something is amiss with respect to /etc/hosts

Ok,
If you can find another problem that resolves it that's great, but my local instance has been working perfectly since I made that change to it.

I am yet to understand how adding more protocols fixes the networking when we do not use anything other than OpenFlow13. Do you mean in the context of a single host vagrant setup?
There was a genuine error meanwhile in enabling multiple host network among containers. Fixed by #10073.

Tomorrow I will build and test with that change.
I am not sure why adding protocols would fix anything, but what I can tell you is that in my environment when I started up a cluster I was not able to route from any of the deployed pods to any address in the service block.  I noticed that when I ran ovs-ofctl show obr0 i got back the following error:
[root@kubernetes-master ~]# ovs-ofctl show obr0
2015-06-16T14:18:38Z|00001|vconn|WARN|unix:/var/run/openvswitch/obr0.mgmt: version negotiation failed (we support version 0x01, peer supports version 0x04)
ovs-ofctl: obr0: failed to connect to socket (Broken pipe)

Some searching around given that error message I can across a stack overflow topic that pointed me to the version of the ovs-vsctl command with additional protocols. After running that I got:
[root@kubernetes-minion-1 ~]# ovs-ofctl show obr0
OFPT_FEATURES_REPLY (xid=0x2): dpid:00008274e85ad546
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
 9(tun0): addr:8e:be:7b:64:35:66
     config:     0
     state:      0
     speed: 0 Mbps now, 0 Mbps max
 10(gre0): addr:ee:3c:e0:a3:d0:74
     config:     0
     state:      0,
     speed: 0 Mbps now, 0 Mbps max
 LOCAL(obr0): addr:82:74:e8:5a:d5:46
     config:     PORT_DOWN
     state:      LINK_DOWN
     speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0

I made this change to the provision-network.sh script, rebuilt everything, and when the cluster came up I was able to route from pods to addresses in the service ip range. I am not extremely knowledgible about how ovs works, but given what little I did know, it made sense to me that if the obr0 bridge was not functioning, I wouldn't be able to route to services, and that a change that made the obr0 appear normal would fix it.
It is entirely possible that there is something else going on, perhaps something else creating OpenFlow rules.  but other than the change in this commit, there is nothing that I did to the code from the point I forked my copy other than running kube-up.sh and testing the env.
If there is something else going on that I'm missing, I'd love to learn what it is, so if you dig up a different problem that proves to fix my issue, I'd like it if you could tell me what you found.  Thanks for taking the time to talk this through.

The set up I am running is 2 vagrant VM's master plus 1 minion.
This morning I checked out tag/v0.19.0 then cherry-picked in commit d0816be55d65682bfa26be3e0c25fe8a5b58237d (the fix suggested above).  After building, then starting the cluster with kube-up I still see
[root@kubernetes-master ~]# ovs-ofctl show obr0
2015-06-19T12:47:21Z|00001|vconn|WARN|unix:/var/run/openvswitch/obr0.mgmt: version negotiation failed (we support version 0x01, peer supports version 0x04)
ovs-ofctl: obr0: failed to connect to socket (Broken pipe)

at this point, if I add a service, and then spin up a pod, that pods does not get DNS resolving from the service name.   Looking at logs:
/data/kubernetes • kubectl.sh logs kube-dns-v3-6s1yu skydns
2015/06/19 12:50:57 skydns: falling back to default configuration, could not read from etcd: 100: Key not found (/skydns) [2]
2015/06/19 12:50:57 skydns: ready for queries on cluster.local. for tcp://<IP_ADDRESS>:53 [rcache 0]
2015/06/19 12:50:57 skydns: ready for queries on cluster.local. for udp://<IP_ADDRESS>:53 [rcache 0]

/data/kubernetes • kubectl.sh logs kube-dns-v3-6s1yu kube2sky
I0619 12:42:42.793121       1 kube2sky.go:388] Etcd server found: http://<IP_ADDRESS>:4001
I0619 12:42:43.797326       1 kube2sky.go:451] Using https://<IP_ADDRESS>:443 for kubernetes master
I0619 12:42:43.797341       1 kube2sky.go:452] Using kubernetes API v1beta3
E0619 12:43:13.799268       1 reflector.go:136] Failed to list *api.Endpoints: Get https://<IP_ADDRESS>:443/api/v1beta3/endpoints: dial tcp <IP_ADDRESS>:443: i/o timeout
E0619 12:43:13.799389       1 reflector.go:136] Failed to list *api.Service: Get https://<IP_ADDRESS>:443/api/v1beta3/services: dial tcp <IP_ADDRESS>:443: i/o timeout
E0619 12:43:44.801156       1 reflector.go:136] Failed to list *api.Endpoints: Get https://<IP_ADDRESS>:443/api/v1beta3/endpoints: dial tcp <IP_ADDRESS>:443: i/o timeout
E0619 12:43:44.801272       1 reflector.go:136] Failed to list *api.Service: Get https://<IP_ADDRESS>:443/api/v1beta3/services: dial tcp <IP_ADDRESS>:443: i/o timeout

It appears that skydns are not able to reach ETCD. Also it appears that kube2sky is not able to reach the $KUBERNETRES_SERVICE_HOST (<IP_ADDRESS>) which is in the service CIDR range (<IP_ADDRESS>/16).
From within a pod deployed to minion 1 into a pod I deployed:
[root@kubernetes-minion-1 ~]# docker exec -it e4a10c73dbdf bash
[root@doppler-tp-v1-pujke /]# cat /etc/resolv.conf
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
search default.svc.cluster.local svc.cluster.local cluster.local liquidweb.com
[root@doppler-tp-v1-pujke /]# ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
^C
--- <IP_ADDRESS> ping statistics ---
34 packets transmitted, 0 received, 100% packet loss, time 33738ms

[root@doppler-tp-v1-pujke /]# ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
^C
--- <IP_ADDRESS> ping statistics ---
25 packets transmitted, 0 received, 100% packet loss, time 24961ms

So apparently still not able to route to anything in the cluster's service ip block.

The service IPs cannot be ping'ed because they are virtual IPs mapped with iptables for udp/tcp traffic only.
[root@kubernetes-minion-2 ~]# iptables-save | grep 247
-A KUBE-PORTALS-CONTAINER -d <IP_ADDRESS>/32 -p udp -m comment --comment "default/kube-dns:dns" -m udp --dport 53 -j REDIRECT --to-ports 58739
-A KUBE-PORTALS-CONTAINER -d <IP_ADDRESS>/32 -p tcp -m comment --comment "default/kube-dns:dns-tcp" -m tcp --dport 53 -j REDIRECT --to-ports 47694

On the master see what endpoints the service points to: 'kubectl get endpoints' and one can ping the actual nameserver endpoint then.
[root@kubernetes-master ~]# kubectl get endpoints
NAME         ENDPOINTS
kube-dns     <IP_ADDRESS>:53,<IP_ADDRESS>:53
kubernetes   <IP_ADDRESS>:6443
[root@kubernetes-master ~]# ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=63 time=5.83 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=63 time=1.74 ms
^C
--- <IP_ADDRESS> ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 1.741/3.785/5.830/2.045 ms

Also the services function only where kube-proxy is running, which runs on a 'node'. One cannot reach any of the service through the master, unless master also becomes one of the nodes (vagrant is not configured for that).
[root@kubernetes-minion-2 ~]# curl -vvv -k https://<IP_ADDRESS>
* Rebuilt URL to: https://<IP_ADDRESS>/
* Hostname was NOT found in DNS cache
*   Trying <IP_ADDRESS>...
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 443 (#0)
<snip>

Meanwhile 'ovs-ofctl show obr0' will not work, you have to specify the protocol.
[root@kubernetes-master ~]# ovs-ofctl -O OpenFlow13 show obr0
OFPT_FEATURES_REPLY (OF1.3) (xid=0x2): dpid:00003a9412f29a45
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS
OFPST_PORT_DESC reply (OF1.3) (xid=0x3):
 9(tun0): addr:7e:54:b5:bd:35:05
     config:     0
     state:      0
     speed: 0 Mbps now, 0 Mbps max
 10(gre0): addr:0e:0b:37:fa:24:32
     config:     0
     state:      0
     speed: 0 Mbps now, 0 Mbps max
 LOCAL(obr0): addr:3a:94:12:f2:9a:45
     config:     PORT_DOWN
     state:      LINK_DOWN
     speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (OF1.3) (xid=0x5): frags=normal miss_send_len=0

So far I think the setup is alright. Now there may be a real issue with why the apiserver is timing out for you. It is working for me, but I will try it a couple of times over again to see what could be wrong.

The setup is clearly not correct.... did you see the skydns pods on minion-1 are timing out trying to talk to the kubernetes_service_address in the log out put of my last comment?
The premise of using ping to check may be flawed, but traffic is clearly not routing.

at the end of the day, if you want to reject this patch thats fine, but the simple fact is that without this patch my application will not run under vagrant, and with the patch it works.

I think there is a problem with SkyDNS setup generally outside of GCE right now.  I am debugging that issue first because SkyDNS is restarting continually.

So first issue with skydns on vagrant was missing ca.crt in generated secrets.
Fixed here: https://github.com/GoogleCloudPlatform/kubernetes/pull/10562

So second issue is when I removed nginx, I forgot to fix kube-proxy setup.
Fixed here: https://github.com/GoogleCloudPlatform/kubernetes/pull/10568

I think all Vagrant issues are now resolved on master, and the conformance test is passing.  I am going to close this pull request, but please let us know if you continue to see problems at HEAD


remove pyproject.toml to simplify installation

supercedes #493
fixes #453
cc #193 #209
unfortunately black configuration can only be done via pyproject.toml:

https://github.com/psf/black/issues/688
https://github.com/psf/black/issues/683

this has the side-effect of enabling PEP517 as explained in https://github.com/Dao-AILab/flash-attention/pull/493#issuecomment-1693964407
instead of black, you can use https://github.com/odwyersoftware/brunette which can be configured via setup.cfg instead.

fixed by https://github.com/Dao-AILab/flash-attention/commit/73bd3f3bbb6775c5286e4b095efbc62d9fd4e5dd


Clickable vertical lines

I have a zoomable area chart with some (fixed) vertical lines (with labels). I would like to make the labels & lines clickable (ie, the whole thing).  I have managed to make the lines clickable using the events property on line_options. However you really have to aim carefully with the mouse to trigger the event.
The events option has no effect inside label_options it seems. Tried going through the class property but I suspect the zooming may be interfering. Any suggestions?

It is definitely a usability concern.  For draggable lines C3 added support for this.  If you use the straight line layers you can enable draggable behaviour.  This will create a hidden draggable element that is wider then the visible line so it is easier to drag.  The Worldbank example demonstrates this.  The top timeline has straight red dotted lines that are draggable.  You'll notice they are draggable not just over the lines themselves, but from a wider area.  It should be doable to expose a drag_line_options that could create these additional elements even if the draggable behaviour is not enabled.

Ok, now if you define drag_line_options you can set events for the hidden line that is wider than the actual visible line for user interactions.

Excellent, thanks! FYI, in my use case the vertical lines represent different types of events that happen over time (= x axis). Clicking them gives more information elsewhere in the page.
Ideally I also wanted to give them their own glyph, attached to the top of the line. Don't believe there is a direct API for that but figured I could add a scatter plot layer to simulate that.


Compatibility with @emotion/babel-preset-css-prop

What problem does this feature solve?
Hello, we are going to try to migrate a somewhat large application that is in CRA with 3 custom customize-cra configurations.

The first of them is babel-imports, I understand that there should be no problem because this can currently be done by swc and you support it.
The following is a babel preset @emotion/babel-preset-css-prop that I have seen that right now could not be used with rspack as I understand. TRUE?
And finally it is a less loader with javascriptEnabled, this I understand is only about less-loader and there should be no problem either.

What does the proposed API of configuration look like?
Should be able to migrate from @emotion/babel-preset-css-prop

have you tried builtin.emotion？


SP636E connection problems

Hello, my name is Jose. I am new to this world of homeassistant. I explain my problem to you to see if we can solve it.
I have two LED strips and two banlanx SP636E controllers. Buy an ESP32 and install Bluetooth Proxy, then following the instructions install UniLed from HACS.
I gave 24v power to the SP636E controller and it recognized it perfectly. You can do the integration. The problem comes when I did the same with the second controller, it didn't detect it and I uninstalled everything and started again. My current situation is that none of the drivers recognize me.
Can you help me?

I have already solved it


Update/capacitor v6

+1 validated

@thegnuu possible to merge this PR for capacitor 6 ?

@julienkermarec we deprecated this library for multiple reasons and I don't really have time to work on this at the moment.
Unfortunately I cannot even merge this PR since the commits are not signed and this is required by the capacitor-community org.
If someone is willing to create a signed PR and properly test it out, I can merge it and create a beta release or so since I will not have time to test everything.

@reslear I would not recommend archiving the project.
https://capacitorjs.com/docs/apis/barcode-scanner : the library is still under development and currently offers only one API scanBarcode(). Additionally, the current version does not allow for customizing the scanner's UI or scanning multiple codes at once.
https://capawesome.io/plugins/mlkit/barcode-scanning/: this library can not properly scan the ITF, Code 128, and Code 39 (known issue).

ITF, Code 128, and Code 39
https://issuetracker.google.com/issues/159876630
Both issues have not provided a solution for the barcode scanning problem. It makes this library sort of unreliable.


Twill 3: Handle Permissions should avoid trying to display deleted content.

I was able to replicate a bug that when a permissionable is deleted the getFormFieldsHandleUserPermissions raises an error for $model->id (link)
While this can be fixed by adding a defensive or failsafe check, It worth to verify if we should cascade delete or if we should display the "deleted" permissionable model despite the fact that is not visible.
@ifox Assigning to you for discussion.

Fix in #2372


Cannot search for dependencies that have a 'q' in their name

Because hitting 'q' closes the search mode ;)

Yeah that was a funny bug :). But it should be fixed on version 1.2.0, which is already at nixpkgs-unstable, however it's not in nixpkgs-stable yet.
Could you try updating your nix-tree?

I'm going to close this issue because I believe it is already fixed. Please do re-open it if you can reproduce it on newer versions.


New features and rewrote of working internals

Wow! I am excited by your passion for WordHighlight. Is there any way you could break this up into multiple PRs so that it's easier to review, or maybe clean up the history so it can be reviewed one clean commit at a time? Thanks!

Wow! I am excited by your passion for WordHighlight. Is there any way you could break this up into multiple PRs so that it's easier to review, or maybe clean up the history so it can be reviewed one clean commit at a time? Thanks!

+1

You should read very carefully each word I wrote because they are very subtle and precise. Also, I am not a native English Speaker, then, may be something I wrote cannot be understandable on first sight.
Nothing on this text is directed to your person, or it has anything with what you have done. It is just my accumulated frustration over the years with open source projects pull request requirements. This was just it, the last one required for me to unleash my wrath.
I do not know what do say here. I just went very wild committing stuff and fixing whatever problem I could find and adding whatever feature I would like.
This is working 100% on Windows, but on Linux the Ctrl+D/Alt+D feature is sometimes (i.e., randomly, and may be related to https://github.com/SublimeTextIssues/Core/issues/2937) double selecting words. I did not have the time yet to track down why Sublime Text is bad behaving on Linux.
If I would go to spend more time with this plugin, it would be tracking it down and fixing the double selection bug on Linux. Then, for me it is easier to just close this pull request instead of rewriting the git history, either renaming/squashing commits or splitting it with multiple pull requests.
Undoubtedly, if did everything as you asked, i.e., adding pull requests for each feature/bug fix, it would require from me much more work/time. Indeed, working with several pull requests is:

The best way to work on a large project where concurrently several people are committing at the same time. But that is not the case here.
The easiest way for you to deeply review my code changes. Do you really need to deep review them?

On the last 2 years, I alone committed into my master branch and I was the only one working (while also keeping it up-to-date with this upstream changes). So, the overhead time of splitting everything into countless pull requests can definitely be spent for me writing more code on another open source projects I also work on. (Of course, this is also valid for you too (reviewing it). Unless you quit the idea of deep review my code and accept to merge it just by superficially reviewing it, or just installing it and using it and see if everything still working as expected)
As it is a very deep rewrite, to review it, one would just be required to get the latest version and read the main file upside-down. If this is too much for you, then, either:

Do not review it, and merge it anyways because you trust me
Review it superficially, and merge because you trusted the code you superficially saw
Install it on your computer and just use it. If you find bugs, report them.
Close this pull request and pretend I do not exist. If you choose this, for me there is no problem. I just opened this pull request because I liked my changes very much and would like to share them. But, I can also do that by releasing this as a new package on Package Control under a new name.

I would definitely call this (splitting everything into countless pull requests) a case of over engineering and splitting the open source community (now there is your project and my fork project as completely independent code bases). This is very small project and there is no need for such management overhead. As just explained, this work flow (several small pull requests, i.e., git flow itself) is good for large and high active projects, unless:

Do you think I wrote some backdoor on this code to steal peoples data and you need to deep review it?
Do you think I definitely broke backward compatibility and once merging this, it would badly break this plugin for all its users?
Do you think I am a very bad programmer and I my work should be very deep inspected because I am introducing all kinds of errors, unknown and wrong behaviors?

If you do not agree with nothing of the above and still requires to split everything into countless pull requests, it is better for me and for you, to just close this pull request and let us both work as independent projects. It would much better than keep fighting over whitespaces and function names.
Please, I do not want to start a fight. Right now, everything I want to is finish writing my graduation thesis, find a good job and keep using Sublime Text with this and much others countless and good plugins there are for it. (And of course, fix that damn double selection bug on Linux too).
I am just pissed off because it is very frequent to find people over engineering small projects like this. It just a waist of time which could be well spend working somewhere else. At least for me, this is a small project. May be for this is a big project, then, all I can do is say sorry for opening this pull request and wasting your time reading this.
May be for you, this is not over engineering because you are right and this not over engineering and I am the one which is actually under engendering it. Probably I just went insane because I put myself into maintaining over 200 packages and this is just more one of them on my maintainment list. Do not take me bad, I did not commit to all of them (yet), but each time a new bug emerges, or a new feature is required, I am there writing it! Yeah, coding until you bleeeeeeed! Is there a bug? It only has a ugly workaround? I am definitely doing! All I want to is to definitely get it working!


CSV report in Chinese and not English

Describe the bug
When requesting statistics CSV download (http://<IP_ADDRESS>:8089/stats/requests/csv), the report is in Chinese and not English.
Expected behavior
Report in English.
Actual behavior
Generated report CSV is in Chinese.
Steps to reproduce
Start locust, run any test, click on the "Download Data" tab, choose "Download request statistics CSV".
Environment

OS: Ubuntu 18.04 LTS
Python version: 3.6.9
Locust version: 2.8.1
Locust command line that you ran: locust
Locust file contents (anonymized if necessary):

import time
from locust import HttpUser, task, between, constant

class QuickstartUser(HttpUser):
    wait_time = between(1, 5)

    @task
    def view_items(self):
        self.client.get("/administer-site.htm")
        self.client.get("/documentPack.htm?documentPackId=1")
        self.client.get("/documentPack.htm?documentPackId=2")
        wait_time = constant(1)

    def on_start(self):
        self.client.post("/login.htm", json={"username":"redacted", "password":"redacted"})

    def on_stop(self):
        self.client.post("/login.htm?action=signOut")

Are you serious? Why would I have a Chinese locale set up?

I dont know, but it must be something in your setup. it works for me, and in the unit tests..
Type,Name,Request Count,Failure Count,Median Response Time,Average Response Time,Min Response Time,Max Response Time,Average Content Size,Requests/s,Failures/s,50%,66%,75%,80%,90%,95%,98%,99%,99.9%,99.99%,100%
POST,/something,4,4,29,63.25441899999973,22.90519199999963,168.92069900000095,0.0,0.3850008341539098,0.3850008341539098,32,32,170,170,170,170,170,170,170,170,170
,Aggregated,4,4,29,63.25441899999973,22.90519199999963,168.92069900000095,0.0,0.3850008341539098,0.3850008341539098,32,32,170,170,170,170,170,170,170,170,170

Thanks, what character set do you use to open a CSV file?

Idk, it just works, but I’m on macos.

OS plays not part here, it's the app that you use to open a CSV file. Whatever you use on macos, can you try UTF-16 to see if you can replicate the problem?

VS code says it is UTF-8. If I reopen it as UTF-16 it does look like chinese, maybe that is the problem.

If we really wanted to we could optionally include a BOM when writing the csv file (essentially adding encoding="utf-8-sig" when opening the file) https://stackoverflow.com/questions/57152985/what-is-the-difference-between-utf-8-and-utf-8-sig
But it is kind of considered to be invalid UTF-8 to do so
https://softwareengineering.stackexchange.com/questions/372692/should-utf-8-csv-files-contain-a-bom-byte-order-mark


chore: converted notifications category from JS to TS

Description of changes

converts notifications category from JS to TS

Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #11025 (4c65fa7) into dev (6ab0c99) will increase coverage by 1.02%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##              dev   #11025      +/-   ##
==========================================
+ Coverage   48.19%   49.22%   +1.02%
==========================================
  Files         670      663       -7
  Lines       32446    31779     -667
  Branches     6598     6447     -151
==========================================
+ Hits        15638    15642       +4
+ Misses      15188    14651     -537
+ Partials     1620     1486     -134

Impacted Files
Coverage Δ

packages/amplify-cli-core/src/cliConstants.ts
100.00% <ø> (ø)

packages/amplify-cli-core/src/types.ts
100.00% <ø> (ø)

...fy-category-notifications/src/validate-filepath.ts
33.33% <33.33%> (ø)

...-category-notifications/src/apns-cert-p8decoder.ts
40.00% <40.00%> (ø)

...category-notifications/src/apns-cert-p12decoder.ts
14.92% <62.50%> (ø)

...amplify-category-notifications/src/channel-APNS.ts
64.42% <88.46%> (ø)

...ify-category-notifications/src/apns-cert-config.ts
88.88% <88.88%> (ø)

.../amplify-category-notifications/src/channel-FCM.ts
73.17% <92.85%> (ø)

...lify-category-notifications/src/apns-key-config.ts
91.66% <100.00%> (ø)

... and 6 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


adding cycle detection in linked list

Adding cycle detection in linked list in python!!

Please follow the Contributing Guidelines & naming conventions in the guidelines accordingly. 🙂
Following naming guidelines is important to maintain consistency.😊


DO NOT MERGE: use variable for bom version

In dependency pattern of bom libraries, use variable to display version number.

If it's still in progress, how about converting it to draft?


Memory Leak ?

I'm currently inserting around 35 million data records into a database - and I use the prepare sql statement feature of this library. More or less always the same stuff. Prepare a statement based on a table definition and then execute this statements for around 1000 instances - and this repeats around 35000 times. All high level stuff in this library.
And I notice, that there seems to be a memory leak - I noticed, that the memory usage goes up forever. It seems to be related to the number of prepared statements I execute.
The topaz process starts with around 317M shared memory and I killed one process at around 8800M shared memory.
I can not be more concrete right now - just a notice here. I will change my application in that way, that the PostgreSQL exporter will restart each night to reduce this problem. Of course I do not export that many data records each day - its the work of the last two years in a customer database for testing purposes.

Is this a linked Topaz? If so, every page in the SPC that is touched by that Topaz will be reported as part of the RSS of the process. This will tend to increase as persistent objects are accessed or committed, until eventually the entire SPC size is included in the RSS.
So that's one possible explanation.
But if your Topaz RSS is a lot bigger than your SPC, that would indicate a leak.
You can use the smem utility (which may not be installed by default) to monitor memory usage. The "USS" number is the one to watch -- if that keeps increasing it's probably a memory leak.

I wrote some simple code that prepares a statement which inserts a random integer into a table. Then execute the prepared statement 1000 times.  I ran this code 100 times under valgrind and exited topaz without closing the Postgres connection. I do not see evidence of a memory leak from the valgrind output.
One possible leak is that the prepared statements do not get freed as documented here under PQprepare
(https://www.postgresql.org/docs/11/libpq-exec.html#LIBPQ-EXEC-MAIN), but I don't know if those take any memory in client library (valgrind doesn't show any).
"Also, although there is no libpq function for deleting a prepared statement, the SQL DEALLOCATE statement can be used for that purpose."
I'm willing to investigate further if you can come up with a test case which I can run here that demonstrates a memory leak,
As Martin said above, various parts of the SPC will be mapped into the gem's memory on demand which may make the process RSS grow. That is normal and no need for concern. However you can improve performance by enabling Linux Huge Memory Pages for large shared page caches.

Yes, I will take a look at that problem next week. And the problem with linked topaz processes - I use quite a lot of such processes in my application and they are long-running processes (e.g.180 days) and I never found such problems. But as I say - next week, I will take a closer look. Other than that - due to the fact, that I have to deliver our product with this library I'll terminate the application after six hours and restart it again.


Support for ESP32-C3.

This project is simply amazing!
I got everything running perfectly with an ESP32-WROOM-32 (32-DevKitC). However it is a little bit big and clumsy.
It would be so nice if somebody can provide a firmware file (or guide me on how to compile one for myself) that will support the Xiao Seeed ESP32-C3 board. I know the pin layout is different, but it is easy to remap the GPIO's from the WROOM-board to the Xiao C3-board.

Unfortunately adding a bunch of binary firmware files to the repository would grow it out of proportion,  However, when I post an update it compiles the firmware for various targets.  I re-ran the action from the last update and the resulting files can be found here for the S2, S3, C3 mini variants.
https://github.com/rstrouse/ESPSomfy-RTS/actions/runs/6880964082

Thank you for the response.
I tried to flash the .bin file, but it doesn't work :(
I guess the LOLIN C3-mini is a different "animal" and it calls for a boot-loader. Mine has the boot-loader pre-installed and it will flash.

ESP32-WROOM-32 (32-DevKitC

Thank you foe sharing the model, i only had another model i tested with many ESP32, unitl i saw you comment, went and buy one of those and now it works!!!

I ordered an S3-Mini and a C3-Mini just to see what the differences are.  The C3 only has one core so I will see how it does with the hardware interrupts for the radio.

In v2.2.3 I added onboard binaries for esp32-c3, s2, and s3.  I only have an s3 mini to try so I do not know if the c3 build is perfect.  I have to say that the s3 mini works pretty well with the onboard files.

I tried to flash the C3 with the firmware and it seems to work perfect. I haven't connected the radio module to the C3, but the interface works like a charm and I can change all the different parameters.
GOOD work so far. Thank you :)

Thanks for the feedback my C3 is delayed in transit so it will be a while before I get to test it out.  The S3 mini is pretty great so far and is the size of a postage stamp.  It is about 1/5 of the size of the ESP32S.

I have updated the firmware to generate the files for the S3, S2, and C3 when the release is published.  You should now be able to update your C3 to 2.2.4 but you will need to do it manually first using the upload firmware/application buttons.  The binaries are not as compatible as I originally thought between the ESP32 and the ESP32-C3.
The files are in the 2.2.4 release as SomfyController.ino.esp32c3.bin and SomfyController.littlefs.bin for the firmware and application respectively.


Replace dat.gui with Bootstrap

dat.gui is a bummer on a tablet or a phone.  It has it's advantages, but the time has probably come to move on :[
I'm just starting to mess with bootstrap on some other projects, and it feels pretty awesome...
On a separate branch, attempt to replace dat.gui with bootstrap, including the sliders.  Also try to clean up some of the additional divs we need - loading, attributes, file open, etc

ahhh i could not agree more with this move. dat bums me out. i think bootstaps will make customization much easier too.

I'm into it too.
We'll have to do some experimenting with bootstrap.  I think it might be harder to make it work in embedded viewer scenarios...  I'm worried about it trying to take over the host page's styles.  But we'll see.


Broken markdown when a text contains |

When a text contains |, a generated markdown is brokes because | is the separator of the markdown table.

I'm wondering we can workaround by replacing (escaping) | with |.

Thank you for your comment.
I hope to fix this within a week at the earliest.
I'm sorry if I'm late due to a busy work schedule.

We have released a new Release <IP_ADDRESS> to fix this bug.


Add support for optional depednencies

Description
This PR adds support for optional dependencies. This is useful in conjunction with dynamic packages.
Related Issue(s)

Fixes #100
How to test
Have a dependency to a package which doesn't exist and mark it optional, e.g. like in leeways workspace.

Closed because of https://github.com/gitpod-io/leeway/issues/100#issuecomment-1262192961


Same set of values for both X and Y axis

I have a requirement to plot a milestone chart like below

Significance of this chart is:

Both x and y axis are both date axis
Both x and y axis start and end at the same value
45 degree line should be displayed(cound be annotation).
Importance of 45 degree diagonal line is, if at any point in thst line if i draw a vertical and horizontal line, it meets a same date.

Can anyone suggest solution how can i plot such kind of chart using chart.js
I tried to set Min and Max values for both X and Y axis.
Also, added step size for both X and Y axis.
But still X and Y don't match in 45 degree annotation line

The issue tracker is meant only for bugs and feature requests per the issue guidelines. The #general Slack channel is probably a better place for this type of discussion: https://chartjs-slack.herokuapp.com/

@benmccann. Atleast let me know if such kind of charts are possible to plot using chart.js or not

it should be possible, but haven't tried.

@kurkle , could you please suggest me how can i solve this?
I tried with setting Same value as Min and Max for both axis. It dint work.

@karthiksd9 it it does not work as excepted, please update this to comply with issue guidelines.
"It didn't work" does not help any of us understand what went wrong.
Some important missing points:

Bug reports MUST be submitted with an interactive example:
https://codepen.io/pen?template=JXVYzq
Expected Behavior
Tell us what should happen
Current Behavior
Tell us what happens instead of the expected behavior

@kurkle :  below is my fiddle.
https://jsfiddle.net/u318xtk7/3/
Chart.js Version: 2.7.3
Annotation Version : 0.5.7
I am plotting both X and Y axis in date format.
Y axis is plotting inverted. (This issue in fixed in v2.8 i think)
I want to start my X and Y axis from the same value. So i used Min value(i dint get any other options, so tried with Min). Its having no effect on chart.
I need to plot chart having same values for X and Y axis, then plot line onto it.

You need to have min and max under time when using time scale. There is a PR about moving those up a level for time scale too.


Add MiMa to keep backward binary compatibility under control.

Review by @gzm0
I did test manually that it does report errors if I introduce backward binary incompatible changes. This tool is really cool!

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1387/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/1774/
Test FAILed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1388/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/1775/
Test PASSed.

I am assuming there is a reason %% and %%%! do not work. (I don't even understand why %%% wouldn't work)....

%%% would not work because the implementation of the macro is in the same project (i.e., the build project).
%% and %%%! don't work because, well, they don't work. It appears the MiMa sbt plugin does not honor the cross version of the artifact in previousArtifact.

Hence updated.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1390/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/1777/
Test PASSed.

LGTM


Add feature can set attribute path in the DataInterface after init

Create a function called add_dir to be used in the __init__ method and to be used outside of the __init__ method. Optional we can add remove_dir and list_dir method.

This is done see #5


Input fasta file

Hi,
I was wondering if mob-recon can accept fasta files from hybrid assembly. For each isolate, we did the both nanopore and illumina sequence and we used unicycler to assemble the nanopore and illumina fastq files for each isolate.

MOB-recon can accept draft or complete assemblies.  It is much easier to work with complete plasmids than draft ones.   If your assemblies are complete, then there isn't really a need for reconstruction, you could just run mob-typer on everything but the chromosome.  So there is no harm in running MOB-recon but it isn't necessary


Specify required Go version

@nickbp Do we specify the Go version elsewhere?

https://github.com/mesosphere/dcos-commons/blob/master/tools/build_go_exe.sh#L32

Another case where a pytest failure was reported as success to github @jsrodman :
 generated xml file: /jenkins/workspace/dcos-commons/inf-pr/elastic-shakedown-report.xml
==================================== ERRORS ====================================
____________________ ERROR at setup of test_service_health _____________________
...
_______________________ ERROR at setup of test_endpoints _______________________
...
others...
...
============================== 1 tests deselected ==============================
============= 5 passed, 1 deselected, 10 error in 1155.92 seconds ==============
Marathon apps: ['/test/integration/elastic']
[GH-STATUS]  success: Shakedown tests succeeded

However that said I don't think the above failure is caused by this PR if you should want to merge it.

I concur.


Support for Hugo Modules

I think support for Hugo Modules would be awesome. They make it really easy and are the recommended way!

Sure, I would love to. I just need to study usage of Hugo Modules.

Thank you @LNA-DEV. I will take a look.


clarify param_store.load() docs

Resolves #1204

i dont know why this has been running for a full day and the travis link is broken so i cant rebuild... i think this is merge-able


tensorflow-gpu not working with pycharm

I am trying to get the tensorflow-gpu working on pycharm but it doesn't compile. When I compile it, it gives me the following compile error

ImportError: Could not find 'cudart64_80.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Download and install CUDA 8.0 from this URL:

I am using Pycharm with the Python 3.6 venv and I am pretty sure I have CUDA 8.0 installed. When I check the directory of CUDA\v8.0\bin, it shows the cudart64_80.dll
It works perfectly on the CPU version but I want it working on the GPU side

Is it in your PATH?
Please run
echo %PATH%

Microsoft Windows [Version 10.0.16299.125]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Users\Tori>echo %PATH%
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\libnvvp;;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Java\jdk1.8.0_25\bin;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;D:\Program Files\Git\cmd;D:\Python27;D:\Python27\Scripts;D:\protobuf;C:\Program Files (x86)\nodejs;F:\Python\Python36\Scripts;F:\Python\Python36;C:\Users\Tori\AppData\Local\Microsoft\WindowsApps;C:\Users\Tori\AppData\Roaming\npm;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin;
Is this what you're looking for?

You have 2 Python here. How does it work?

One of it is python 2.7 and the other one is 3.6
I deleted the python 2.7 though and only have the 3.6 at the moment

Can you run your code directly on command line, without PyCharm?  Is your problem specific to PyCharm or not?

It is specific to pycharm. I don't think I have tensorflow working on command line but I am planning on working with pycharm only

This is a pycharm specific issue, it's not a tensorflow library bug. This question is better asked on  StackOverflow. There is also a larger community that reads questions there. Thanks!

Had the same issue here - adding LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64/ to the pycharm environment did the trick

Nagging Awaiting Response: It has been 14 days with no activityand the awaiting response label was assigned. Is this still an issue?

Nagging Awaiting Response: It has been 14 days with no activityand the awaiting response label was assigned. Is this still an issue?

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

Closing since it appears to be resolved.


Cannot find "raw dataset" from link

Hi authors, thank you for sharing great codes, and congrats on your ECCV acceptance!
I would like to reproduce the results, but could not find the link to the "raw dataset" in README.md. So, could you update it so that we can visualize the results?
Thanks!

Hi,
Thanks for pointing out the problem. Actually the dataset link is the same as above data link in the readme or the data link in the project website.
Sorry that I forget to update the data link in the visualization section. If you have any other questions, feel free to ask. Thanks for following our work!

Hi @Jianghanxiao ,
Thanks for the reply! I'll use the above data link then.

Hi,
I just have a test and both data links mentioned above work from my side. Can you try again?


Disabling the plugin keeping it running and does no clean-up of any sorts.

It doesn't even disconnect the observer.

I have found a solution to fix this, this will be fixed in the v2.5 release.

Correction: v2.5 will never exist. I decided to revamp the code and now v3.0 exists.
This will feature the fix mentioned.


Add Node Tags creating/deleting

Steps

Try to update a project's user tags with some new or modified tags

Expected
You can make that modification
Actual
Tags are a read-only resource.
Note that system tags should never be editable. Also, there are some complications working with lists and dictionaries in DRF right now because the functionality is broken. @billyhunt has done some work with this and can give some guidance. Finally, the tags field is a serializer method field, which will add in some complications. So it's good capability to have, but it's not as simple as it sounds at first glance.
We could potentially make tags a related resource and make their contents their primary key. This is not necessarily a bad way to go, but we need to do this before we go live with the API unless we leave in the tag field as it is and just add extra endpoints.

Fixed by #4093


feat(iroha): adding checkEmpty param to request

Depends on #1957
Current functionality did not make use of the newer additional parameter in the Iroha command
Closes: #1265
Signed-off-by: Travis Payne<EMAIL_ADDRESS>

@petermetz Currently the request params are accepted using an array of params, instead of named, typed params, generated using the OpenAPI. What's your opinion on refactoring this as part of the PR, also makes the optionality of the oldValue param a lot cleaner.

@travis-payne I agree. If we don't already have a separate task (so not within the scope of this) for the params refactor, we should (IIRC we did have a task for it though).

Rebased this onto upstream/main.
Will still need to verify that it actually works with the tests, but for that we first need the Iroha tests to be passing again.

@petermetz This pull-request has been left unreviewed for a long time.  What would you like to do? (still wait / close this PR / etc.)
I guess that this pull request can no longer be merged to the current branch because it has been a long time.

@petermetz This pull-request has been left unreviewed for a long time. What would you like to do? (still wait / close this PR / etc.)
I guess that this pull request can no longer be merged to the current branch because it has been a long time.

@takeutak Agreed on all of those points. Let's close this down for now and if there's willingness for someone to take it over the finish line then we can re-open it anytime we want. Closing it for now to de-clutter the PR queue a little bit more.


Subcell positivity IDP limiting for conservative variables

This PR provides the very basic subcell positivity limiting feature using the IDP limiting. Conservative variables can be limited with a one-sided Zalesak-type limiter. Only the mesh type TreeMesh is supported.
There are more PRs to come. All implemented features can be found in the branch subcell-limiting and PR #1502.

In my opinion, this PR is now ready so far.

Then please mark this PR as "Ready for review" - this will let us know that a) it can and should get a reivew and b) once a reviewer is happy, this can be merged immediately

Do you have any allocations? E.g, can you post the output of the final timer summary?

Feel free to request a review when you're ready for it

Do you have any allocations? E.g, can you post the output of the final timer summary?

It does not look like it. (This is the output of elixir_euler_shockcapturing_subcell.)
────────────────────────────────────────────────────────────────────────────────────────────────────
 Simulation running 'CompressibleEulerEquations2D' with DGSEM(polydeg=3)
────────────────────────────────────────────────────────────────────────────────────────────────────
 #timesteps:                340                run time:       3.63036940e+00 s
 Δt:             2.26626523e-03                └── GC time:    0.00000000e+00 s (0.000%)
 sim. time:      1.00000000e+00                time/DOF/rhs!:  2.16431976e-07 s
                                               PID:            2.40560150e-07 s
 #DOF:                    16384                alloc'd memory:       1359.705 MiB
 #elements:                1024

 Variable:       rho              rho_v1           rho_v2           rho_e
 L2 error:       8.50814791e-02   4.51029902e-02   4.51030198e-02   6.93070434e-01
 Linf error:     3.11235465e-01   5.61627487e-01   5.61969271e-01   2.88670199e+00
 ∑∂S/∂U ⋅ Uₜ :  -3.04430445e-01
────────────────────────────────────────────────────────────────────────────────────────────────────

────────────────────────────────────────────────────────────────────────────────────────────────────
Trixi.jl simulation finished.

All previous suggestions are implemented. @sloede @ranocha Do you think it's necessary and useful that I re-request a review from you.

All previous suggestions are implemented. @sloede @ranocha Do you think it's necessary and useful that I re-request a review from you.

Yes please. We always ask the original reviewers to sign off after changes have been implemented.

Since we postponed the naming issue to next week, I'll request another review from you. Hopefully, we can resolve most others issues/suggestions until then.

This PR is ready so far. I have already requested reviews, so I can't do it again. @sloede @ranocha

If CI passes, this should be merged automatically. If not, we need to watch out for #1590 etc.

IMHO it would be good to add a NEWS.md item for this addition (just for our own record)


Set up deploy on merge into master with github actions

We currently deploy with ansible playbooks, but this is manual process.
It would be great to be able to trigger deploys from a github action, maybe with an action like this ansible one, that refers to playbooks we already have:
https://github.com/saubermacherag/ansible-playbook-docker-action
The other approach might be to trigger logging into the server, and running ansible from the machine itself.
https://github.com/Greening-Digital/greening-digital-ghost/blob/production/.github/workflows/cd.yml
Controlling currency of deploys
Github Actions doesn't have great concurrency control, and running two ansible playbooks together could be really messy.
It's worth looking at turnstyle for limiting the number of concurrent jobs:
https://github.com/softprops/turnstyle

@arendjantetteroo hey buddy, I've added links I found when I looked into this myself a few weeks back


segresnet algo update

Intermediate update of segresnet algo,  until it's merged in the core.
compatible with all existing workflows.

I saw some items are printed twice when I run the new segresnet in my local environment. @myron Can you check if the outputs are all necessary? Thanks!
segresnet.txt


Lookup Threat Intel reports for selected alerts - ValueError: The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all()

How to fix this code line giving a ValueError?
selected_alert_type['TI Risk'] = selected_alert_type.progress_apply(lookup, axis=1)

This is from a notebook called "Guided Investigation - Alert Triage."


chore(deps): bump aws-cdk from 2.54.0 to 2.70.0

Bumps aws-cdk from 2.54.0 to 2.70.0.

Release notes
Changelog
Commits

updated-dependencies:

dependency-name: aws-cdk dependency-type: direct:development update-type: version-update:semver-minor ...

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

CDK version 2.70.0 has been released! Updated the pull request accordingly. Leaving the branch name as-is to keep the pull request comment history.