fix: Use file-server container for db upgrade job

fixes #306
Description

While testing installing on OpenShift the db upgrade job fails because it's no longer run as the root user so can't install the psql command into the alpine container image.
This adds the psql command to the file-server image and uses this to run the job.
Related Issue(s)

#306
Checklist

[x] I have read the contribution guidelines
[ ] Suitable unit/system level tests have been added and they pass
[ ] Documentation has been updated

[ ] Upgrade instructions
[ ] Configuration details
[ ] Concepts

[ ] Changes flowforge.yml?

[ ] Issue/PR raised on FlowFuse/helm to update ConfigMap Template
[ ] Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

[ ] Backport needed? -> add the backport label
[ ] Includes a DB migration? -> add the area:migration label

I assume the validation failed because the file-server container wasn't built?
https://github.com/FlowFuse/helm/actions/runs/7870917055/job/21473105621?pr=307#step:10:561

@ppawlowski Just checking, the failed job looks to be using the latest containers from the docker hub, not the ones built as part of the PR test, so the failure is because the new version of the container is not published yet?

I'll test this when I get chance locally


Add some additional filters for Current Generation only and SSD only

Would be good to be able to ignore the older instance types or the non-ssd instance types

Tracking this in #178


Help Panel: LaTeX rendering is unreadable when using dark theme

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
When a docstring renders LaTeX as part of its body, it is rendered on black by default, this causes readability problems when the dark theme is used, as it is not possible to read the rendered formulas.
What steps reproduce the problem?

Import torch
Request help for torch.nn.AdaptiveAvg2D using help shortcut

What is the expected output? What do you see instead?

Versions

Spyder version: 4.0 beta2
Python version:  3.7
Qt version: 5.9
PyQt version: 5.9
Operating System name/version: Ubuntu 18.04

maybe change back the default to non-dark ?

@stonebig We should be able to render LaTeX, regardless of the theme used

@andfoy, please take a look at this one. We need to add a more recent version of MathJax, and for that please copy/paste its latest stable release to plugins/help/utils/js/mathjax, then add a CSS rule in plugins/help/utils/static/dark_css/default.css to change the color of its divs to white.

Actually, let's leave this one to @steff456.


Ubuntu installation instruction is too obsolete!

For successful build on Ubuntu it's required to do much more than stated on the installation instructions!
My system:
CUDA support: YES
Bazel: 0.5.4
gcc (Ubuntu 5.4.1-8ubuntu1) 5.4.1 20170304
Linux Desktop 4.10.0-33-generic #37-Ubuntu SMP Fri Aug 11 10:55:28 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
CPU i7-7820x (with AVX512 support)

It's required change the build command:
bazel build --config=opt --config=cuda --cxxopt="-fabi-version=0" //tensorflow/tools/pip_package:build_pip_package --verbose_failures
And it's still not enough :( I still can't make successful build...

Are you missing the configure step?

No, of course.

If I remove libeigen3-dev then I get the same error like before install:
ERROR: /home/dmitry/Private/Kaggle/tensorflow/tensorflow/core/kernels/BUILD:1369:1: C++ compilation of rule '//tensorflow/core/kernels:range_sampler' failed (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command
  (cd /home/dmitry/.cache/bazel/_bazel_dmitry/45cfecd68ef4f076728c861b104b36a6/execroot/org_tensorflow && \
  exec env - \
    CUDA_TOOLKIT_PATH=/usr/local/cuda \
    CUDNN_INSTALL_PATH=/usr/local/cuda-8.0 \
    GCC_HOST_COMPILER_PATH=/usr/bin/gcc \
    PWD=/proc/self/cwd \
    PYTHON_BIN_PATH=/usr/bin/python \
    PYTHON_LIB_PATH=/usr/local/lib/python2.7/dist-packages \
    TF_CUDA_CLANG=0 \
    TF_CUDA_COMPUTE_CAPABILITIES=6.1 \
    TF_CUDA_VERSION=8.0 \
    TF_CUDNN_VERSION=6 \
    TF_NEED_CUDA=1 \
    TF_NEED_OPENCL=0 \
  external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -fPIE -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -DNDEBUG -ffunction-sections -fdata-sections '-march=native' '-std=c++11' '-march=native' '-fabi-version=0' '-D_GLIBCXX_USE_CXX11_ABI=0' -MD -MF bazel-out/local_linux-opt/bin/tensorflow/core/kernels/_objs/range_sampler/tensorflow/core/kernels/range_sampler.pic.d '-frandom-seed=bazel-out/local_linux-opt/bin/tensorflow/core/kernels/_objs/range_sampler/tensorflow/core/kernels/range_sampler.pic.o' -fPIC -DEIGEN_MPL2_ONLY -DTENSORFLOW_USE_JEMALLOC -DSNAPPY -iquote . -iquote bazel-out/local_linux-opt/genfiles -iquote external/nsync -iquote bazel-out/local_linux-opt/genfiles/external/nsync -iquote external/bazel_tools -iquote bazel-out/local_linux-opt/genfiles/external/bazel_tools -iquote external/jemalloc -iquote bazel-out/local_linux-opt/genfiles/external/jemalloc -iquote external/protobuf_archive -iquote bazel-out/local_linux-opt/genfiles/external/protobuf_archive -iquote external/eigen_archive -iquote bazel-out/local_linux-opt/genfiles/external/eigen_archive -iquote external/local_config_sycl -iquote bazel-out/local_linux-opt/genfiles/external/local_config_sycl -iquote external/gif_archive -iquote bazel-out/local_linux-opt/genfiles/external/gif_archive -iquote external/jpeg -iquote bazel-out/local_linux-opt/genfiles/external/jpeg -iquote external/com_googlesource_code_re2 -iquote bazel-out/local_linux-opt/genfiles/external/com_googlesource_code_re2 -iquote external/farmhash_archive -iquote bazel-out/local_linux-opt/genfiles/external/farmhash_archive -iquote external/fft2d -iquote bazel-out/local_linux-opt/genfiles/external/fft2d -iquote external/highwayhash -iquote bazel-out/local_linux-opt/genfiles/external/highwayhash -iquote external/png_archive -iquote bazel-out/local_linux-opt/genfiles/external/png_archive -iquote external/zlib_archive -iquote bazel-out/local_linux-opt/genfiles/external/zlib_archive -iquote external/snappy -iquote bazel-out/local_linux-opt/genfiles/external/snappy -isystem external/nsync/public -isystem bazel-out/local_linux-opt/genfiles/external/nsync/public -isystem external/bazel_tools/tools/cpp/gcc3 -isystem external/jemalloc/include -isystem bazel-out/local_linux-opt/genfiles/external/jemalloc/include -isystem external/protobuf_archive/src -isystem bazel-out/local_linux-opt/genfiles/external/protobuf_archive/src -isystem external/eigen_archive -isystem bazel-out/local_linux-opt/genfiles/external/eigen_archive -isystem external/gif_archive/lib -isystem bazel-out/local_linux-opt/genfiles/external/gif_archive/lib -isystem external/farmhash_archive/src -isystem bazel-out/local_linux-opt/genfiles/external/farmhash_archive/src -isystem external/png_archive -isystem bazel-out/local_linux-opt/genfiles/external/png_archive -isystem external/zlib_archive -isystem bazel-out/local_linux-opt/genfiles/external/zlib_archive -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -fno-canonical-system-headers -c tensorflow/core/kernels/range_sampler.cc -o bazel-out/local_linux-opt/bin/tensorflow/core/kernels/_objs/range_sampler/tensorflow/core/kernels/range_sampler.pic.o)
In file included from external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/Core:378:0,
                 from external/eigen_archive/unsupported/Eigen/CXX11/Tensor:14,
                 from ./third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,
                 from ./tensorflow/core/lib/random/random_distributions.h:27,
                 from ./tensorflow/core/lib/random/simple_philox.h:24,
                 from ./tensorflow/core/lib/random/distribution_sampler.h:38,
                 from ./tensorflow/core/kernels/range_sampler.h:23,
                 from tensorflow/core/kernels/range_sampler.cc:16:
external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h: In function 'Packet Eigen::internal::ploaddup(const typename Eigen::internal::unpacket_traits<Packet>::type*) [with Packet = __vector(16) float; typename Eigen::internal::unpacket_traits<Packet>::type = float]':
external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h:469:77: error: '_mm512_castsi512_ps' was not declared in this scope
   __m512 even_elements = _mm512_castsi512_ps(_mm512_cvtepu32_epi64(low_half));
                                                                             ^
external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h: In function 'Packet Eigen::internal::ploaddup(const typename Eigen::internal::unpacket_traits<Packet>::type*) [with Packet = __vector(8) double; typename Eigen::internal::unpacket_traits<Packet>::type = double]':
external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/AVX512/PacketMath.h:478:56: error: '_mm512_insertf64x2' was not declared in this scope
   x = _mm512_insertf64x2(x, _mm_loaddup_pd(&from[0]), 0);
                                                        ^
In file included from ./tensorflow/core/platform/default/logging.h:24:0,
                 from ./tensorflow/core/platform/logging.h:25,
                 from ./tensorflow/core/lib/core/status.h:25,
                 from ./tensorflow/core/kernels/range_sampler.h:21,
                 from tensorflow/core/kernels/range_sampler.cc:16:
./tensorflow/core/platform/default/logging.h: In instantiation of 'std::string* tensorflow::internal::Check_LEImpl(const T1&, const T2&, const char*) [with T1 = long unsigned int; T2 = long long int; std::string = std::basic_string<char>]':
tensorflow/core/kernels/range_sampler.cc:86:5:   required from here
./tensorflow/core/platform/default/logging.h:230:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 TF_DEFINE_CHECK_OP_IMPL(Check_LE, <= )
                                   ^
./tensorflow/core/platform/macros.h:79:29: note: in definition of macro 'TF_PREDICT_TRUE'
 #define TF_PREDICT_TRUE(x) (x)
                             ^
./tensorflow/core/platform/default/logging.h:230:1: note: in expansion of macro 'TF_DEFINE_CHECK_OP_IMPL'
 TF_DEFINE_CHECK_OP_IMPL(Check_LE, <= )
 ^
./tensorflow/core/platform/default/logging.h: In instantiation of 'std::string* tensorflow::internal::Check_EQImpl(const T1&, const T2&, const char*) [with T1 = long long int; T2 = long unsigned int; std::string = std::basic_string<char>]':
tensorflow/core/kernels/range_sampler.cc:244:3:   required from here
./tensorflow/core/platform/default/logging.h:228:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         == )  // Compilation error with CHECK_EQ(NULL, x)?
                         ^
./tensorflow/core/platform/macros.h:79:29: note: in definition of macro 'TF_PREDICT_TRUE'
 #define TF_PREDICT_TRUE(x) (x)
                             ^
./tensorflow/core/platform/default/logging.h:227:1: note: in expansion of macro 'TF_DEFINE_CHECK_OP_IMPL'
 TF_DEFINE_CHECK_OP_IMPL(Check_EQ,
 ^
Target //tensorflow/tools/pip_package:build_pip_package failed to build
INFO: Elapsed time: 1.974s, Critical Path: 1.31s
FAILED: Build did NOT complete successfully

@rmlarsen any idea what the problem is with _mm512_insertf64x2?

It looks like problem is with _mm512_insertf64x2 is caused by gcc 4 - it doesn't support avx512. Of course, compilation must be successful anyway. But even gcc 5 doesn't work with another error :( Nothing work at all.
It's so disappointing. I can't build tensorflow for a week on macOS, Windows and Ubuntu using hundreds of different compilation options (but always with GPU support).

Now I get another error with gcc 5 (I don't understand why the error is different from described above). It's reported here: #10220

More information about errors that I get both with gcc-4.9 and gcc-5: https://github.com/tensorflow/tensorflow/issues/13014

Only gcc-4.8 works fine on new CPUs. Please update installation instructions.

Hi, no matter for me with this command line : "bazel build -c opt --copt=-mavx --copt=-mavx2 --copt=-mfma --copt=-mfpmath=both --config=cuda -k //tensorflow/tools/pip_package:build_pip_package"

@wolffg, could you update the docs:?

It has been 14 days with no activity and this issue has an assignee.Please update the label and/or status accordingly.

These installation instructions have been updated several times since this bug was opened.  I'm closing this; if you are still having issues compiling from source, please file a new issue and fill out the template so we can get more information on your issues.
Thanks!

Thanks @wolffg


HELP - REASON: INVALID_PASSWORD

I'm trying to use the Stream example from the Firebase_ESP_Client library and the following error is happening:
-> Set string ...
-> FAILED
-> REASON: INVALID_PASSWORD
Where do I need to validate the email and password to use in the code?

The user that you created in the project.
The users tab in Authentication, see the picture below
https://github.com/mobizt/Firebase-ESP-Client/blob/main/media/images/Enable_Email_Password_Provider.png

You can use the Discussions for the question and help.

Hello, thank you so much for replying.
I already did that, and put my email and email password in the project, but
the password is invalid. Why?
Em qui., 11 de mar. de 2021 às 09:49, mobizt @.***>
escreveu:

The user that you created in the project.
The users tab in Authentication, see the picture below
https://github.com/mobizt/Firebase-ESP-Client/blob/main/media/images/Enable_Email_Password_Provider.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mobizt/Firebase-ESP-Client/issues/32#issuecomment-796712087,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOVNYSTCLTRTFGNTOEAFKHDTDC34NANCNFSM4ZAGMD4Q
.

No thing else more than your trying to log in with user in other project instead of your provided project in the code.
Make sure you log in with user of that project and provide the valid host name (FIREBASE_AUTH) , in case you create  many projects.
If your project host name (Fire

Please do not reply from email, please go to Github in case I edit the message.


Fix getting instance tags in IAP scanner

Adding cla: yes label, as the PR author is a googler at the time of this PR was created.


Package request: Hyprshot

Project description
Hyprshot is an utility to easily take screenshot in Hyprland using your mouse.
It allows taking screenshots of windows, regions and monitors which are saved to a folder of your choosing and copied to your clipboard.
Metadata

homepage URL:https://github.com/Gustash/Hyprshot
source URL:https://github.com/Gustash/Hyprshot
license: [GPL-3.0
platforms: unix, linux, darwin, ...

It reminds me of learn resholve!

I'm pretty close to getting the derivation finished.
Although this would be my very first time contributing to nixpkgs and writing a derivation for a shellscript so I cannot guarantee the quality my first iteration. 😅
I'll be more than happy to improve and fix ti in order to fit the required standards.

Are you using resholve?

I wasn't aware of that project until now. It seams great to be able to deal with dependencies in a nix-y way.
Now I want to look into it and explore it. A lot of projects could benefit from it.
I was approaching the problem using this post as a reference. Hope is not much of crime....
I've kinda finished writing my derivation (I only need to check if it works and properly fill all metadata if possible).
I'm a bit stuck since following the nixpkgs manual on packaging I cannot get my derivation to build. Nothing happens if I try nix-build -A hyprshot. What could be causing this?

Hello, I have create a PR, hope it helps ^_^
https://github.com/NixOS/nixpkgs/pull/268237

close by #268237


Some possible improvements for std.algorithm.schwartzSort()

bearophile_hugs reported this on 2010-10-18T19:11:06Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=5078
CC List

andrei (@andralex)

Description
Here I have a (hopefully) improved version of schwartzSort (code not tested much). It contains three changes:

1) I have removed the fields here:
return binaryFun!(less)(a[0], b[0]);

2) I have added a transformFunc, so schwartzSort() may accept a short string too as transform, as sort/map/filter do, like:  schwartzSort!q{ a.y }(data)

3) When the input data is very small it's a waste of time to allocate a temporary array on the GC heap, so I have used alloca().

So this code assumes that the space allocated by alloca() gets freed only at the end of the function, this is a constraint that I think D docs don't state, see bug 3822

See also bug 5077

import std.algorithm: SwapStrategy, zip, sort, binaryFun, unaryFun;
import std.range: isRandomAccessRange, hasLength, front;
import std.c.stdlib: alloca;
import std.array: array;

void schwartzSort(alias transform, alias less = "a < b",
        SwapStrategy ss = SwapStrategy.unstable, Range)(Range r)
    if (isRandomAccessRange!(Range) && hasLength!(Range))
{
    enum size_t MAX_SIZE = 512;
    alias unaryFun!transform transformFunc;

    alias typeof(transformFunc(r.front)) XformType;
    XformType[] xform;
    if (r.length * XformType.sizeof > MAX_SIZE)
    {
        xform = new XformType[r.length];
    }
    else
    {
        xform = (cast(XformType*)alloca(r.length * XformType.sizeof))[0 .. r.length];
    }

    foreach (i, e; r)
    {
        xform[i] = transformFunc(e);
    }
    auto z = zip(xform, r);
    alias typeof(z.front()) ProxyType;
    bool myLess(ProxyType a, ProxyType b)
    {
        return binaryFun!(less)(a[0], b[0]);
    }
    sort!(myLess, ss)(z);
}

// demo code --------------------------

import std.typecons: Tuple;
import std.stdio: writeln;

alias Tuple!(int, "x", int, "y") P;

void main() {
    P[] data = [P(1,4), P(2,3), P(3,1), P(4,0)];
    writeln(data);
//    schwartzSort!((p) { return p.y; })(data);
    schwartzSort!q{ a.y }(data);
    writeln(data);
}

andrei (@andralex) commented on 2013-02-26T09:26:57Z
Bearophile, could you please paste this as a pull request. Thanks!


ER: option or method for preserving the precision of numeric literals

Currently, the precision of JSON numbers is not, in general, preserved.
Unfortunately, using JSON_BIGINT_AS_STRING, at least by itself, doesn't help, first because it converts all "big integers" to strings (see below), and because it does nothing for "big decimals" (meaning "big or little decimals").
Perhaps asking for the preservation of numeric decimals is too much to ask for in this project; if so,
please interpret this ER as a request for the preservation of integer precision.
--
print json_encode(json_decode("[\"123\", 123]", flags: JSON_BIGINT_AS_STRING))."\n";

print json_encode(json_decode("[\"123000000000000000000000000123\",<PHONE_NUMBER>00000000000000000123]", flags: JSON_BIGINT_AS_STRING))."\n";

produces:
["123",123]
["123000000000000000000000000123","123000000000000000000000000123"]

whereas for the second array, we want:
["123000000000000000000000000123",123000000000000000000000000123]

Your number will be on most systems bigger than PHP_INT_MAX, as seen here https://3v4l.org/2HbS6. It means that PHP itself is not able to express that number as a native integer. That's why you get it as a string with JSON_BIGINT_AS_STRING. To work wi these 'stringy' integers use gmp.

Perhaps you're saying that this ER is beyond the scope of JSON Machine, but at least for large integers, I think there would be a way if somehow the strings that JSON_BIGINT_AS_STRING creates could be tagged or traced in some manner, so that they can later be printed as though they were integers.
For example, the strings created by JSON_BIGINT_AS_STRING could be modified to include some bytes that are disallowed in JSON strings, e.g. an initial "!", so that the PHP string "\!1" would finally be rendered as just 1.

Oh, I see where you're heading. If no decoder is applied, pure source JSON is passed along. See PassThruDecoder in README. Just skip decoding entirely and there will be no problems with bigints :)

And also skip the final json_encode. Yes!!!

No decoder, and no json_encode. Yes!!!
Is there any reason why the jm script shouldn't ALWAYS use PassThruDecoder then?

The script at https://github.com/halaxa/json-machine/issues/88 using the PassThruDecoder meets my requirements, so I'm closing this issue, even though using that decoder has possibly-unwanted effects.

Sure, no decoding is the best option if you only intend to chunk it.


Standardize Residue ID: if alignment takes too long, program stalls

In the current code, the alignment is supposed to be completed in 10 seconds. After that, the script continues running, expecting as input the output of the alignment (*.afa file). If there are too many sequences, or the sequences are too large, it may take longer than 10s, thus stalling the script.

Fixed and updated new version. https://github.com/fatipardo/PDBClean-0.0.2/pull/48#pullrequestreview-1177018636


Remove unnecessary test

Since we now don't do anything on our end with the SuperClosure, we don't need this test anymore.
There's no point in us testing third party code.

I think this is still a nice test to keep.


Make Element.prototype.classList polyfill configurable

Just like its native counterpart.

This code is syntactically invalid so would have thrown immediately if you'd tried to run it.  I am happy to accept this change in pinciple.

@triblondon Oh dear, what on earth happened there? Fixed now! :smile:


QGIS >= 1.5.0 shows reversed layers list

The GetCapabilities response is interpreted bottom top instead of top bottom.
QGIS 1.4.0 works ok, 1.5.0 and 1.6.0 show reversed layer list.
We cannot filter on the user agent:
QGIS 1.4.0: HTTP_USER_AGENT: Quantum GIS - 1.4.0-Enceladus
QGIS 1.5.0: HTTP_USER_AGENT: Mozilla/5.0
QGIS 1.6.0: HTTP_USER_AGENT: Mozilla/5.0
rgrep "Mozilla/5.0" *
Binary file Quantum GIS Enceladus/bin/QtNetwork4.dll matches
Binary file Quantum GIS Tethys/bin/QtNetwork4.dll matches
Binary file Quantum GIS Tethys/bin/QtWebKit4.dll matches
Binary file Quantum GIS Copiapo/bin/QtNetwork4.dll matches
Binary file Quantum GIS Copiapo/bin/QtWebKit4.dll matches

May be something related to Qt WebKit usage. If that is the case, it can be modified (http://doc.trolltech.com/4.6/qwebpage.html#userAgentForUrl) so servers can filter QGIS requests.

see also: https://trac.osgeo.org/qgis/ticket/2792


Module structure improvement

This PR improves the module structure.
Summary:

cli-app module was renamed to todo-cli. The module contains CLI views and clients.
local-inmem module was created. The module contains a local server using InMemoryStorageFactory.
A server from todo-cli was moved to local-jdbc. The module contains a local server using MySQL data base.

@armiol PTAL.

@armiol PTAL.


Hello world in racket

What the program do ?
hello world in racket
In what programming language it is written?
racket

This pull request do not contains files in specific folders. Please fix it and reopen


Add sensible defaults for Turndown config

Hey @charlyllo,
I've added the sensible default options for Turndown you have asked for in the comment on my previous PR.
These seemed to make sense for how I've seen people write markdown in the wild, but if you need to change/override any of them, you can find the full configuration options here and change it the way you see fit.
Kind regards,
g

Amazing! Zelo Dobro! Hvala lepa G!


ReadME spelling and syntax cleanup

Just noticed some things while I was reading the Readme. This looks like an awesome project and i'll definitely be following along!

@drewbeno1 Thanks for fixings those up for me. Much appreciated 😀


Added documentation for Keys class

Can someone please verify this PR?

@pzbarcea looks like you cannot build locally because you don't have access to archiva. I'll sort it out tomorrow, but for now, I'll merge your contribution. Congrats for your first one, keep them coming!


fix: add esbuild to peerDeps for fix yarn pnp

close #130

@jinmao88  Thank you! When will you be able to publish this fix on npm?


Autostart breaks machine

When saving parameters from the admin page this will render the machine unusable until the service is restarted. Either you CTRL+C and start again or when using systemd sudo systemctl restart dascr-machine.

e0926351aeb08a87caa2071f61352f343538ef31 fixes this


[fleet] Improvements to script telemetry

What does this PR do?
Improvement to script telemetry, forward traceID/spanID
Motivation
Describe how you validated your changes

Possible Drawbacks / Trade-offs
Additional Notes

/merge


185 ship schema with package

This PR closes #185 by incorporating the schema descriptions (JSON) into the package. This has been done IAW what I think is current best practice for storing & loading data files within a package (https://docs.python.org/3/library/importlib.resources.html#module-importlib.resources).
Whilst doing this, I found a couple of places where the data submodule was doing some ad-hoc local data loads. These have also been updated to use the new pattern.
Open questions:

Is this how we want to ship schema? How often do the schema need updating, and is it a pain to have to tag a new version every time an update is required?

Let me know when you want another review @marc-white


Create documentation site: openservicemesh.io/docs

Create a dedicated site for OSM documentation under https://openservicemesh.io/docs/
Here is a great example from the Helm project: https://helm.sh/docs/

The Helm v3 docs work well (Hugo and markdown). English docs are edited in https://github.com/helm/helm-www/tree/master/content/en/docs and displayed on https://helm.sh/docs.
I recommend not using Helm's process for the CLI doc creation: https://github.com/helm/helm-www#updating-the-helm-cli-reference-docs

Tool removes md file headers, leading to error-prone manual fixes
Does not support multi-lingual (which the main Helm docs support, as documented in https://helm.sh/docs/community/localization/)
Can pull in local variables, editing paths incorrectly
Discussed in https://github.com/helm/helm-www/issues/487 and https://github.com/helm/helm/issues/6592

Currently testing layout and design.

Current status: getting subdomain configured via cncf

Site is available at https://docs.openservicemesh.io/

Discussed on call and resolving this one. Additional issues being cleared up in https://github.com/openservicemesh/osm/pull/2647.


Install fails on Win 7: " error C2373: '__pfnDliNotifyHook2'"

Error log below.  Any advice on how I can fix / get around this?  Thank you!  I'm super excited to use this library!
C:\NearbyWeb\node_modules\bluetooth-hci-socket>if not defined npm_config_node_gyp (node "C:\node\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
win_delay_load_hook.c
C:\node\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(34): error C2373: '__pfnDliNotifyHook2': redefinition; different type modifiers [C:\NearbyWeb\node_modules\bluetooth-hci-socket\build\binding.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\delayimp.h(134): note: see declaration of '__pfnDliNotifyHook2'

Solved.  See https://github.com/nodejs/node-gyp/issues/972


Support security services

🚀 Feature Request
Description
EdgeX now allows users to run a security proxy (kong) to secure an EdgeX instance. Currently, the CLI only talks to the different micro services directly over HTTP. Ideally, we'd need to talk to those services through the kong gateway, which means generating a token to pass with every requests.
Describe the solution you'd like
The user would have to generate a token before using the CLI with security enabled. The token would be stored in the config file or an env variable. The config file would also contain a security_enabled variable which would activate or deactivate security.

:57
@Colin Hutchinson (Kong) your developer scripts commit to lock down access to <IP_ADDRESS> now forces users of edgex-cli to be on the same host! Had envisaged it as a tool to manipulate remote edgeX instances … this prompts moving to secure EdgeX support sooner than later! Good job, your fix works.  :slightly_smiling_face:
Big-B (Intel)(opens in new tab)  8:31 AM
@MaliniKB How about just adding a -remote  switch to the cli that sends everything through the kong proxy? (Or EDGEX_KONG_TOKEN env var) (edited)
MaliniKB(opens in new tab)  8:47 AM
thats what I am thinking .. but it had not been a first focus of the CLI
Colin Hutchinson (Kong)(opens in new tab)  8:50 AM
may I propose:
ports:
- "8000:8000"

   - "<IP_ADDRESS>:8001:8001"

   - "${KONG_ADMIN_IP:-<IP_ADDRESS>}:8001:8001"
   - "8443:8443"

   - "<IP_ADDRESS>:8444:8444"

   - "${KONG_ADMIN_IP:-<IP_ADDRESS>}:8444:8444"

tty: true
environment:
as a stopgap?
8:51
so secure by default but can be overrode to <IP_ADDRESS> or your exact ip via an environment variable?

Big-B (Intel)(opens in new tab)  8:52 AM
You mean ${KONG_PUBLIC_IP} and do it on the other set?
Colin Hutchinson (Kong)(opens in new tab)  8:52 AM
whoops did the wrong port ... heh but yes :slightly_smiling_face:
Big-B (Intel)(opens in new tab)  8:52 AM
but wait thats already public.
Colin Hutchinson (Kong)(opens in new tab)  8:53 AM
wait I got it right didn't I. That's a git diff so instead of binding admin api to 127 bind admin api to 127 by default let an ENV change it
Big-B (Intel)(opens in new tab)  8:53 AM
I think the problem may be that the cli is not proxy-aware.  Expects all the other services to have exposed ports.
1 reply(opens in new tab)
4 days agoView thread

ooooh I thought this was purely the cli can't use kong admin api because of the restriction.
8:55
I mean could implement a global env override for all things I bound to 127 :confused:
8:58
might be best to punt this as a requirement for the docker-compose rewrite.
Use case: developer environment vs production environment


What does app.bundle.js do?

What does app.bundle.js do?

Not much, actually. It's there for adding any javascript, and mostly for an example. But there's some explanation here: https://github.com/budparr/gohugo-theme-ananke/tree/master/src and I'm happy to answer any questions.

Thanks and thanks for making this theme :)


Repo access rights

@Joe8Bit Hi Joe, sorry for all the hassle. I understand you have sent invites but we haven't received anything. If you get a chance i'd appreciate it if you could resend.
thanks for your help.

Should be dealt with, both Cian and yourself now have invites. It seems there is a user called matt-co that got invited (and now that invite rescinded!).

Thanks for your help, invite received.


Added the files

Please let me know if any changes

Required Changes:

in MiniBatchSparsePCa file: according scree and other plot, component must be 15 instead of 3
and in SparsePCA file similarily it must be 4 instead of 15 components
correct those mistake of interpretation

clean the initialized features,target and file path

Yes done.


[Feature]: Add derived variable changes from PR #712 into cdat-migration-fy24 branch

Is your feature request related to a problem?
There are new derivations in PR #712 that aren't in the new Xarray-based derived variables dictionary in cdat-migration-fy24.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

Closed by #814


Insulated tin cable from IC has different rubber requirement

Insulated tin cable (4959:13) has different rubber requirement from copper (4959), gold (4959:3), and HV (4959:6) insulated cable in IC.
Suggest changing all recipes to work with all three kinds of rubber (raw rubber, rubber bar, and IC Rubber).

This issue / recipes will be fixed within the next release of the modpack.


Can't migrate LUIS Apps to Azure Resources

While trying to migrate apps to Azure Resources I got the following error message:
"BadArgument: Endpoint keys were assigned by collaborators to your apps and you have no access to them. Either remove these keys or get access. Keys: {keyPath: /subscriptions/f51aa7db-a3d5-4790-xxxx/resourceGroups/ACCChatBot/providers/Microsoft.CognitiveServices/accounts/accchatbotluis, region: WEU, appId: 274bf9f7-a295-xxxx}"
I have checked all my apps and none of them are collaborated. Furthermore, I even deleted all of my apps and I still get the same error.

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

ID: fd1b7924-7392-c538-9961-40c92e8a38c1
Version Independent ID: 9b1991ad-d980-83db-4de8-aa5de13da335
Content: Migrate to an Azure authoring resource - Azure Cognitive Services
Content Source: articles/cognitive-services/LUIS/luis-migration-authoring-steps.md
Service: cognitive-services
Sub-service: language-understanding
GitHub Login: @diberry
Microsoft Alias: diberry

@jbeltranluna Thanks for the feedback. We are investigating into the issue and will update you shortly.

@jbeltranluna To lookup the error details of your migration could you please submit the details from LUIS portal through "General inquiry through user voice"? This would send the details to our product team who would have access to lookup the logs and provide feedback on the error.

Yes, I already have opened the issue from the feedback menu. I'll let you know if there is some general solution. Thanks

@jbeltranluna Thanks for sharing the feedback through user voice. Our product team should help you further to check your resource migration. We will now proceed to close this thread.

Hello,
Sorry for reopening the issue. The LUIS product team contacted me through email with a possible solution:

Use the LUIS API to remove every collaborator from the App

I replied to the email<EMAIL_ADDRESS>that I am trying to do that but I always get an unauthorized error (only for the AppId that is giving me the error on the migration, the other AppIds work well with the LUIS API):
{
"error": {
"code": "401",
"message": "The apps - Get application info Operation under LUIS Programmatic APIs v2.0 API is not supported with the current subscription key and pricing tier LUIS.S0."
}
}
I'm reopening the issue just because I'm not sure that the Product Team will get my answer to the solution since I only have as a contact an email address<EMAIL_ADDRESS>that I suppose is an automated mail account.
Thank you!

@jbeltranluna I am reaching out internally for help. In the meanwhile could you please elaborate the API used for the message seen above? It looks like 2.0 was used, you can try to use 3.0-Preview API's to check if the operation can be successful.

@jbeltranluna Could you also confirm if you are using the authoring key while calling the API?

Hello, it seems my messages are getting to the Product Team, but I don't think they are understanding me. It seems to me that there is an old deleted LUIS App that got stuck somewhere.
Yes, when I use an authoring to key to get the details of the app it says that there isn't any app with that ID in my subscription. When I use a prediction key on that app, the API says that the endpoint is not supported with that key.
I've got an error during the migration saying that an AppID (274bf9f7-a295-4863-8d1b-d2c641e7d261) has keys assigned, but I don't have that AppID anymore, so I cannot unassign those keys. This is what I get when a run " LUIS Programmatic APIs v3.0-preview apps - Get applications list" with my authoring key:
Pragma: no-cache
Apim-Request-Id: eb04e04d-4804-43c2-bd3b-044dfb4e17d8
Request-Id: eb04e04d-4804-43c2-bd3b-044dfb4e17d8
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Request-Context: appId=cid-v1:26a3540d-a02a-4998-a060-715488fd769b
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Cache-Control: no-store, proxy-revalidate, no-cache, max-age=0, private
Date: Thu, 07 Nov 2019 10:44:19 GMT
Content-Length: 2
Content-Type: application/json; charset=utf-8

[]

As you can see, the list of Apps is empty...

@jbeltranluna I believe the service team is now clear on what is going on, thanks to @RohitMungi-MSFT.


Add cleanup controller for external dns

Description
Adds a cleanup controller to the operator. This will clean up unneeded resources that are managed by the operator but are no longer used. It does this through labels to ensure that customer resources aren't deleted.
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Tested locally and with unit. E2e tests will be added in the near future (not added here to split up an already large PR).
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

/ok-to-test sha=73ed8fe

/ok-to-test sha=0daa8ec

/ok-to-test sha=0daa8ec


[v2] fix: Legacy storage

Summary:
Fixes

Legacy multi get/set functions
Drop storage throwing empty error

Chores

Updated Mobile example

Test Plan:
Green CI.

@Krizzu Is this released? I got the latest rc and i'm getting this as a warning:

And my app doesn't load at all.  Is the issue perhaps not fixed?

As soon as I comment out:
let data = storage.get('data');

it works again for me.


Typo ".WRITE"→".WRITE"

https://docs.microsoft.com/en-us/sql/t-sql/queries/updatetext-transact-sql?view=sql-server-ver15
#PingMSFTDoc

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


CLI: kontena master rm has --force, but it is not used

$ kontena master rm mastername omits --force. what's the correct behaviour? To respect --force ?

It's only used when trying to remove more than one server from config (which is only possible through the selector and then --force is a bit pointless).


[Bug]: failed to open file

Component
Heimdall CLI
Version
heimdall 0.1.0
Please check the following

[x] This is not a duplicate issue
[x] I have checked the wiki and tried troubleshooting the issue

Operating System
macOS (Intel)
Describe the issue you are facing
when I run
heimdall disassemble 0x0b061f45000000000000000000000000627a22ff70cb84e74c9c70e2d5b0b75af5a1dcb90000000000000000000000005992f10a5b284be845947a1ae1694f8560a89fa8000000000000000000000000ebe72cdafebc1abf26517dd64b28762df77912a90000000000000000000000008a90cab2b38dba80c64b7734e58ee1db38b8992e0000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000012a900000000000000000000000000000000000000000000000000000000000012b00000000000000000000000000000000000000000000000000000000000000b8c0000000000000000000000000000000000000000000000000000000000001e7e00000000000000000000000000000000000000000000000000000000000010da0000000000000000000000000000000000000000000000000000000000001ed6000000000000000000000000000000000000000000000000000000000000256e0000000000000000000000000000000000000000000000000000000000000643000000000000000000000000000000000000000000000000000000000000119e0000000000000000000000000000000000000000000000000000000000001b1400000000000000000000000000000000000000000000000000000000000004e50000000000000000000000000000000000000000000000000000000000001a6800000000000000000000000000000000000000000000000000000000000024bb000000000000000000000000000000000000000000000000000000000000042b00000000000000000000000000000000000000000000000000000000000000b30000000000000000000000000000000000000000000000000000000000000fb10000000000000000000000000000000000000000000000000000000000001bfd00000000000000000000000000000000000000000000000000000000000002d000000000000000000000000000000000000000000000000000000000000014830000000000000000000000000000000000000000000000000000000000001d01

I get this error
error: failed to open file '0x0b061f45000000000000000000000000627a22ff70cb84e74c9c70e2d5b0b75af5a1dcb90000000000000000000000005992f10a5b284be845947a1ae1694f8560a89fa8000000000000000000000000ebe72cdafebc1abf26517dd64b28762df77912a90000000000000000000000008a90cab2b38dba80c64b7734e58ee1db38b8992e0000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000012a900000000000000000000000000000000000000000000000000000000000012b00000000000000000000000000000000000000000000000000000000000000b8c0000000000000000000000000000000000000000000000000000000000001e7e00000000000000000000000000000000000000000000000000000000000010da0000000000000000000000000000000000000000000000000000000000001ed6000000000000000000000000000000000000000000000000000000000000256e0000000000000000000000000000000000000000000000000000000000000643000000000000000000000000000000000000000000000000000000000000119e0000000000000000000000000000000000000000000000000000000000001b1400000000000000000000000000000000000000000000000000000000000004e50000000000000000000000000000000000000000000000000000000000001a6800000000000000000000000000000000000000000000000000000000000024bb000000000000000000000000000000000000000000000000000000000000042b00000000000000000000000000000000000000000000000000000000000000b30000000000000000000000000000000000000000000000000000000000000fb10000000000000000000000000000000000000000000000000000000000001bfd00000000000000000000000000000000000000000000000000000000000002d000000000000000000000000000000000000000000000000000000000000014830000000000000000000000000000000000000000000000000000000000001d01' .

This is expected, it only takes a contract address OR file path.
In tonights 0.1.2 I will add support for pasting contract bytecode :)


change values of TET validation_by_author and validation_by_professio…

…nal_biocurator for more understandable labels

Looks good. Thanks @azurebrd


New 'install' command to install themes! Closes #93

Purpose
As described in issue #93, it would be awesome if viewers could install themes they would like to be able to switch to. This PR attempts to close that issue.
How it works

The viewer will need to use the following command: !theme install {extension unique identifier}. The identifier is found on the marketplace' webpage for the theme.
The 'themer' will ask the broadcaster if it is OK to install the theme. (There is an option to auto-install if you want).
If the broadcaster 'Accept's the install, the theme will install.
The viewer will then be able to switch to the themes contained within the theme extension.

Example Video

Behind the scenes

I use the API static class to verify that the extension exists in the Visual Studio marketplace.
If the extension exists, the API will then determine the public Github repo from the metadata within the marketplace website.
The API will then download the package.json from the extensions Github repo and inspect the JSON to ensure that it contributes at least one theme.
If the extension contributes an extension then VSCODE will prompt the broadcaster to install the extension (or install automatically if set).

Looks good but build seems to be failing.
I'd love to eventually break out the follower/subscriber/moderator setting to separate this ability.
So maybe everyone can change a theme but only subs or followers can request to install one.
Looks great though.  You are amazing @parithon!

Ah... node 8 doesn't support named regex groups... bummer. I'll fix that up right away.


Help refactor this

https://github.com/yonathanF/Repair-Graph-Compression/blob/c5657faf8255fed32eed55a7f0968dac545a4de7/graphs/graph_generator.py#L41
Trying to refactor this section.  There is a syntax error on line 47 with the if statement, but I can't rewrite it since the logic isn't clear to me. Add comments or hmu on groupme

PR #43  completes the basic implementation so I'm closing this issue. The logic is the same just refactored a bit. Will track bugs in diff issues.


[RocM]  Extend support to RocM

Dear team,
Firstly, thanks for your amazing works, congratulation.
As pytorch support RocM (AMD GPU card) is it possible to extend the support too for flashlight ?
References:

https://pytorch.org/blog/pytorch-for-amd-rocm-platform-now-available-as-python-package/
https://github.com/ROCmSoftwarePlatform/pytorch

Thanks a lot
Best regards

@bioinfornatics — sorry for the delay; this is a work in progress.
This will require adding new tensor backends that support RoCM backends. There are a few routes to this:

via an XLA backend: https://github.com/tensorflow/tensorflow/pulls?utf8=✓&q=is%3Apr+ROCm+XLA with PJRT
via oneDNN/oneAPI via sycl: https://www.oneapi.io/blog/bringing-nvidia-and-amd-support-to-oneapi/ (the oneDNN backend is a work in progress)

PRs or other suggestions to achieve this are appreciated. We have old MIOpen integration with autograd primitives, but the rest of the tensor stack is missing. I'll keep this open for tracking.


chore:update netty version 4.1.44.final

Motivation:
Explain the context, and why you're making that change.
To make others understand what is the problem you're trying to solve.
Modification:
Describe the idea and modifications you've done.
Result:
Fixes #.
If there is no issue then describe the changes introduced by this PR.

Codecov Report

Merging #832 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #832      +/-   ##
============================================
+ Coverage     71.04%   71.06%   +0.01%
+ Complexity     1127     1126       -1
============================================
  Files           381      381
  Lines         15851    15851
  Branches       2521     2521
============================================
+ Hits          11262    11265       +3
+ Misses         3276     3274       -2
+ Partials       1313     1312       -1

Impacted Files
Coverage Δ
Complexity Δ

...lipay/sofa/rpc/registry/consul/ConsulRegistry.java
49.42% <0%> (-0.58%)
18% <0%> (-1%)

...c/transport/http/AbstractHttp2ClientTransport.java
77.43% <0%> (+0.6%)
29% <0%> (ø)
:arrow_down:

...pay/sofa/rpc/transport/ClientTransportFactory.java
76.92% <0%> (+4.61%)
0% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Fix state update when one of the remembered values changes

I don't really understand this. Can you explain what problem this is solving?

A crash occurs in the SpecialFoldersContent composable when attempting to display the error state. This happens because the rememberContentLoadingErrorViewState is triggered even when the state.error is already null.
The state was not updated as the value is based on a calculation. The derivedStateOf ensures that the value is calculated again if any of the remember keys got changed.

I can reliably reproduce the crash by adding the following test to SpecialFoldersScreenKtTest.
@Test
fun `switch from error to loading state`() {
    val initialState = State(
        isLoading = false,
        error = SpecialFoldersContract.Failure.LoadFoldersFailed("irrelevant")
    )
    val viewModel = FakeSpecialFoldersViewModel(initialState)

    setContentWithTheme {
        SpecialFoldersScreen(
            onNext = { },
            onBack = { },
            viewModel = viewModel,
            brandNameProvider = FakeBrandNameProvider,
        )
    }

    viewModel.updateStateForTest {
        it.copy(
            isLoading = true,
            error = null
        )
    }

    composeTestRule.mainClock.advanceTimeBy(500)
}

FakeSpecialFoldersViewModel.updateStateForTest() is a helper to make BaseViewModel.updateState() accessible.
Unfortunately, the change in this PR doesn't appear to fix the crash.
I believe the problem is that the composable functions called inside of AnimatedContent use state other than targetState. This will lead to the error/loading/content functions being called with the wrong state when creating the content to animate in or out.
I think our ContentLoadingErrorView needs to be changed to accommodate for this.


Modules: Redundant dependencies

Under Project.toml, it seems like GeometryBasics, ElasticArrays and Preferences packages are not being used right now in FastIce.jl.

Thanks for checking this @youwuyou ! Some of these packages are indeed leftovers from previous experiments in FastIce. GeometryBasics will be needed when #44 is merged, other things are redundant.

@utkinis It seems like #44 has been merged, shall we remove these dependencies in an upcoming pull request?

Current working and to be merged branch is iu/chmy. Can you check the status there? We can address remaining in there and close it then.

Closing this as addressed by #54


Are contributions welcome?

Hey, I see not much work has gone into this library for a while.
Is there any interest in seeing PRs for more functionality, or am I better off to just fork?

You're welcome to contribute with PRs :)


You are trying to set "Companion" which is a final field! when using Kotlin classes in NS

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project:

CLI: 4.2.4
Cross-platform modules:
"nativescript-theme-core": "~1.0.4",
"tns-core-modules": "~4.2.0"
Android Runtime: 4.2.0
iOS Runtime (if applicable):
Plugin(s):

Describe the bug
Calling new SomeClass() fails with Error: You are trying to set "Companion" which is a final field! Final fields can only be read. if SomeClass is a Kotlin class with a companion object.
To Reproduce
kotlinplugin.zip
Add (tns plugin add) the attached plugin into a new {N} project. Import and execute:
var test = require("nativescript-kotlintest");
test.doTest();

index.js of NS plugin:
module.exports = {
    doTest: function() {
        new com.example.stedra.myapplication.ScanbotSDKInitializer(); // <-- this crashes
    }
};

ScanbotSDKInitializer.kt:
package com.example.stedra.myapplication

class ScanbotSDKInitializer {
    companion object {
        private var initialized = false

        @JvmStatic
        fun isInitialized() = initialized
    }

    fun initialize() {
        initialized = true
    }
}

Expected behavior
To not crash.
Additional context
Kotlin companion objects are implemented using a nested class SomeClass$Companion and a field named Companion of that same type in SomeClass. This doesn't seem to be possible with Java itself, but the JVM seems OK with it. The clash of type and field names or the non-standard implementation of the nested class might be the reason for this buggy behavior.

Hi,
Any help on this??

Hi, we are looking into addressing this issue. As a possible workaround, the kotlin method that you would like to consume from javascript can be wrapped in a plain Java method - either as a NativeScript plugin or directly as a .java file in the App_Resources folder.

This is becoming more of a problem with kotlin gaining adoption for Android libraries. I've personally run into it also forgetting that it's not compatible.
Curious if there is a sample of the workaround. I'm not really following the "wrapped in a plain Java method"

@bradmartin, the suggested workaround is to write a Java module that contains some plain Java classes calling into the Kotlin library. Then in your NativeScript application you will directly consume the exposed Java classes instead of trying to call the Kotlin library.

Understand now. Just not thrilled about it. Any discussion internally about this in recent months? Anything that I could possibly explore to provide insight?

I had a similar problem when I started writing my last lib in kotlin ... I had to revert to java hoping this can be addressed soon

I am stucked in a plugin also as described here.

Any update on this please? Kotlin is now super popular and many libraries are now developed with it. This issue makes it impossible to write plugin of those native libraries! Hope someone will update if we can expect anything on this soon.

@sam0829 try updating to at least 6.1 or the latest

@triniwiz indeed. I just tried with 6.2 and my plugin is working now as expected.


Update tvplus.com.tr.channels.xml

Added a new channel called Sözcü TV.

Please read this guide before posting your next request: https://github.com/iptv-org/epg/blob/master/CONTRIBUTING.md#how-do-i-add-a-program-guide-for-the-channel


How to change and validate?

The Problem
How I should validate value when changed?
Steps to Reproduce
I have following code on my custom input component:
onChange(model, date) {
  dispatch(actions.change(model, formatDate(date)))
  dispatch(actions.validate(model), ownProps.validators)
}

Expected Behavior
I would like to dispatch action where model is changed and validated with new value
Actual Behavior
Validation is triggered before value is changed and therefore is "one step behind" meaning:
If I add invalid value, validator will first see valid result
When I change value to valid, validator validates previous invalid message
and so on...

Right - you can't expect dispatch(...) to be synchronous. If you want to do validation manually, you should either wait for the model value to be updated in componentDidUpdate, or you can assume that the value passed in is the value that it will be changed to:
onChange(model, date) {
  dispatch(actions.change(model, formatDate(date)))
  dispatch(actions.setValidity(model, ownProps.validators(formatDate(date))))
}

assuming that ownProps.validators is a function.


{LogAnalytics} Fix 'az monitor log-analytics query' examples

closed https://github.com/Azure/azure-cli-extensions/issues/3003
This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

LogAnalytics


Blank space on the context menu of some items

Hi,
I'm getting a blank space on the context menu of some items.

Do you know what could be causing this?
Thanks

This issue has been fixed please refer to #227


Request for Guidance on Getting Started with Open Source Contributions

Dear Collaborator
I hope you're doing well. I am new to open source contributions, and while I am eager to contribute to projects, I’m feeling a bit lost on how to begin. I have explored some of the projects on the GSSoC website and found a few that interest me, but I'm unsure about the first steps to take and how to get started effectively.
I realize this is my first time contributing, and I would greatly appreciate any guidance or suggestions you could provide. I understand that asking might feel a bit daunting, but I’m eager to learn and grow through this opportunity. If you could help me understand how to get started or point me in the right direction, I would be extremely grateful.
Thank you so much for your time and consideration.

#


add unix socket example to README.md

I spend about hour to find correct form to proxy everything without port listening.
May be next admin say thanks. (node, sockets and remote development is a pain...)

Codecov Report

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

@@          Coverage Diff          @@
##           master    #52   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           2      2
  Lines          30     30
  Branches        5      5
=====================================
  Hits           30     30

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 cea72ac...be219ec. Read the comment docs.

Sounds good to me


Solve problem with split lines

I found out that depending on how the lines where split, the regex didn't match.
Therefore I changed the code and now it seems to better find the URL and modify the location.

@Leworoe Could you please generate the XPI and upload it to the official repo? I think it's a great improvement as right now it buggy.
I'm thinking on creating an automate workflow to the work for us, based on the master branch.


Can't find how to change response phrase.

I would like to change response phrases to vocal commands but I can't find how to do this.
Any advice?
Thank you.

You can change the response in the responding skill e.g. in the assistatn_activation.py skill you can  change how it says hello you can do this for all skills. If you have futher question just ask

Thank you for your answer. I wanted to reproduce specific audio files as Assistant's response. Is this possible modifying those skills?
Really thank you for your help.

Yeah sure depends on what you want to change but you can change anything

Ok I will try some changes. Thank you so much for your patience!

No problem, then close


Big Sur: spyder 4.2.0 or 4.2.1, undocking the editor results in high typing latency; the focused tab in the editor has a white squa

Problem Description
There has been a documented / discussed problem with spyder 4.2.0 on Big Sur where there is high typing latency in the editor. I have tried 4.2.1 which solves the typing latency. However, if the editor is undocked (such that macos now presents a single spyder window with two tabs, one for everything else, and one for the editor), and if you drag the tab out to a separate window, the typing latency reappears.
Additionally, there is a problem where the current file open in the editor is whited out. This issue also occurs for the "Variable Explorer" and "Plots" buttons.

What steps reproduce the problem?

Open spyder 4.2.0 or 4.2.1
Undock the editor, optionally try dragging the undocked editor tab out to its own window
Try typing

What is the expected output? What do you see instead?
No typing latency. High typing latency.
Note, for the information below, I followed the FAQ to install spyder 4.2.1 as a fix for Big Sur typing problems.
 This is probably an issue with Qt (the graphical toolkit used by Spyder), so there's little we can do about it.
@impact27, are you observing the same behavior when undocking the editor?

Hey @btglau, thanks for reporting. This is probably an issue with Qt (the graphical toolkit used by Spyder), so there's little we can do about it.
@impact27, are you observing the same behavior when undocking the editor?

With: Python 3.8.6 64-bit | Qt 5.12.10 | PyQt5 5.12.3 | Darwin 20.2.0  I don't have any problem undocking the editor.

With: Python 3.8.6 64-bit | Qt 5.12.10 | PyQt5 5.12.3 | Darwin 20.2.0  I don't have any problem undocking the editor.

Thanks @impact27 for your help testing that!
@btglau, please download and install Spyder with our DMG installer. You shouldn't see any problems with it in Big Sur.

Thanks @impact27 for your help testing that!
@btglau, please download and install Spyder with our DMG installer. You shouldn't see any problems with it in Big Sur.

Hi @ccordoba12 thanks for the tip. If I use this installer, will it be compatible with an anaconda installation?

Hi @ccordoba12 thanks for the tip. If I use this installer, will it be compatible with an anaconda installation?

Yes, Spyder automatically detects your conda environments so you can use them from the application. Please follow the instructions in our FAQ to learn how to do that.

Yes, Spyder automatically detects your conda environments so you can use them from the application. Please follow the instructions in our FAQ to learn how to do that.

Hi, the new version as installed from the dmg indeed fixes both issues I outlined. It also picked up my old environment and preferences without me having to set anything, which is nice. Thanks!

Hi, the new version as installed from the dmg indeed fixes both issues I outlined. It also picked up my old environment and preferences without me having to set anything, which is nice. Thanks!

Great to know, thanks for the update @btglau!
Closing this report then.

Great to know, thanks for the update @btglau!
Closing this report then.


Issues while extracting pubgraph

I have downloaded the PubGraph dataset available at https://pubgraph.isi.edu/. After downloading the entire dataset and looking into it, I found that it is a multi-part archive containing 226 .tar.gz files. But, when I tried different extraction approaches, every time at the end the files were not extracted. The error message always indicates that either the dataset is corrupt or the format is wrong. The same goes for PubGraph-X dataset.
Is there any particular way of extracting the tar.gz files?

Hello there, I am sorry for the delayed response.  I tried the above approach, but the issue still persists.
Following is the terminal log displaying that when using multi-volume with tar, its keeps on prompting the following message:
'''
tar --multi-volume -xf part-0.tar.gz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains ‘\276\213c\236\223\232\\204L\204B\331’ where numeric off_t value expected
tar: Archive contains ‘t\222\364|\233og\264\177i|\306’ where numeric off_t value expected
tar: Archive contains ‘\255\325)BQ\302\025N!\272\273\001’ where numeric off_t value expected
tar: Archive contains ‘z-\370\362\024B\360\352+\214D\356’ where numeric off_t value expected
Prepare volume #2 for ‘part-0.tar.gz’ and hit return:
tar: Archive contains ‘\276\213c\236\223\232\\204L\204B\331’ where numeric off_t value expected
tar: Archive contains ‘t\222\364|\233og\264\177i|\306’ where numeric off_t value expected
tar: Archive contains ‘\255\325)BQ\302\025N!\272\273\001’ where numeric off_t value expected
tar: Archive contains ‘z-\370\362\024B\360\352+\214D\356’ where numeric off_t value expected
Prepare volume #3 for ‘part-0.tar.gz’ and hit return:
tar: Archive contains ‘\276\213c\236\223\232\\204L\204B\331’ where numeric off_t value expected
tar: Archive contains ‘t\222\364|\233og\264\177i|\306’ where numeric off_t value expected
tar: Archive contains ‘\255\325)BQ\302\025N!\272\273\001’ where numeric off_t value expected
tar: Archive contains ‘z-\370\362\024B\360\352+\214D\356’ where numeric off_t value expected
Prepare volume #4 for ‘part-0.tar.gz’ and hit return:
'''
Am I doing something wrong?

Having the same issue here - any updates?


Branch cleanup

Profiling -Jeff
cansel -Lenny
mem-hack -Lenny
master_Freeze_8_21_18 -Ross
mnr -Ross
object -Ross
Simcheck -Ross
Devtest -Ross
virtualtg -Ross
448b-freeze -Ross
typelang -Ross
@leonardt, @jeffsetter, what is the state of your coreir branches here? Can you delete/do a PR or let me know if you still need the branch?

Deleted my branch.  IIRC, 448b-freeze was the version of coreir used for our visualization project? That can probably be deleted, you could instead use a git-tag for the commit if we need to reference it in the future.

Deleted profiling, since its implementation was later implemented for #696


Add new account label for Physis ASTRALIS allocation

@SebastianBor Is that Vercel error a bug before any new commits?


Issue with curried HOC

Hello!
Last December I opened an issue (#404) regarding a problem with HMR when Prefresh encounters out of date references, caused by circular dependencies.
I started reworking my code to stop having to rely on these circular dependencies in the first place, but encountered a second problem in doing so: it seems like Prefresh does not support currying for HOC.

Reproduction and investigation details

If we take the following code:
// Dummy curried HOC for reproduction purpose that does nothing interesting...
const withDisplayName = (displayName) => (Component) => {
  Component.displayName = displayName
  return () => <Component receivedDisplayName={displayName} />
}

const MyComponent = withDisplayName('MyCurriedHoc')((props) => {
  return
{props.receivedDisplayName}

})

If we look at the output of @prefresh/babel-plugin, we see the following
const withDisplayName = (displayName) => (Component) => {
  Component.displayName = displayName;
  return () => /* @__PURE__ */ h(Component, {
    receivedDisplayName: displayName
  });
};
const MyComponent = withDisplayName("MyCurriedHoc")((props) => {
  return /* @__PURE__ */ h("div", null, props.receivedDisplayName);
});

As we can see, the plugin did not save the reference to the component and does not register it for refresh. Interestingly enough in this precise situation, the first change made to the component... Correctly gets updated through HMR (using @web/dev-server). I don't really know why this is happening since the if (import.meta.hot) { bit is nowhere to be seen in the transformed code.
The second change however, triggers a full reload of the page (which is normal considering HMR handling has not been injected).
Next I tried storing the first currying stage in a temporary variable, as follows:
const withDisplayName = (displayName) => (Component) => {
  Component.displayName = displayName
  return () => <Component receivedDisplayName={displayName} />
}

const withCurriedName = withDisplayName('MyCurriedHoc')

const MyComponent = withCurriedName((props) => {
  return
{props.receivedDisplayName}!!!

})

With this change, the transformed output becomes:
const withDisplayName = displayName => Component => {
  Component.displayName = displayName;
  return () => /* @__PURE__ */h(Component, {
    receivedDisplayName: displayName
  });
};

const withCurriedName = withDisplayName("MyCurriedHoc");
const MyComponent = withCurriedName(_c = props => {
  return /* @__PURE__ */h("div", null, props.receivedDisplayName);
});
_c2 = MyComponent;
export const StubbablePlayground = MyComponent;

var _c, _c2;

$RefreshReg$(_c, "MyComponent$withCurriedName");
$RefreshReg$(_c2, "MyComponent");

          if (import.meta.hot) {
            self.$RefreshSig$ = prevRefreshSig;
            self.$RefreshReg$ = prevRefreshReg;
            import.meta.hot.accept(() => {
              try {
                flushUpdates();
              } catch(e) {
                import.meta.hot.invalidate();
              }
            });
          }

Now we can clearly see that HMR handling has been injected as expected, and with this everything works fine.

Is this a known limitation? It would really help not having to rely on a temporary variable to store the curried HOC before calling it.
I've looked into the code of @prefresh/babel-plugin but I'm not knowledgeable enough in Babel to know where to add checks for this myself.

This is a known limitation if we can't identify the VNode by a name we can't hot-reload

Hum... So the issue is that
withDisplayName('MyCurriedHoc')

when inline has no name that can be extracted, while
const withCurriedName = withDisplayName('MyCurriedHoc')

has a name that can be used to construct the MyComponent$withCurriedName I see in the output code?
Isn't it possible to extract MyComponent$withDisplayName from the following expression?
const MyComponent = withDisplayName('MyCurriedHoc')(...)

Not really as there are multiple unnamed funcs in there 😅

Ah, I see yes. withDisplayName('MyCurriedHoc') returns an unnamed function I did not take into account, that will mess things up in the AST.
While I'm here and before closing this, could you tell me why this form does not work either:
const withDisplayName = (displayName, Component) => {
  Component.displayName = displayName
  return () => <Component receivedDisplayName={displayName} />
}

const MyComponent = withDisplayName('MyParameterizedHoc', (props) => {
  return
{props.receivedDisplayName}!

})

Transformed output is:

```js
const withDisplayName = (displayName, Component) => {
  Component.displayName = displayName
  return () => <Component receivedDisplayName={displayName} />
}

const MyComponent = withDisplayName('MyParameterizedHoc', (props) => {
  return
{props.receivedDisplayName}!

})

It looks like in order to qualify as a HOC, the component-like parameter must be the first parameter? Is that also a limitation or is that a design choice?

Hmm I haven't thought much about that case, it could be that we can fix this, not entirely sure

Ok 🙂
For my use case a curried HOC working inline would be perfect, but I could live with a parametrised HOC as long as I can give my parameters first (it's a developer experience requirement). Having to pass the component first to HOC is limiting.

For the parameter orders it seems it's as simple as changing:
            const firstArgPath = argsPath[0];
            const innerName = inferredName + '$' + calleeSource;
            const foundInside = findInnerComponents(
              innerName,
              firstArgPath,
              callback
            );
            if (!foundInside) {
              return false;
            }

To:
            const innerName = inferredName + '$' + calleeSource;

            const foundInside = argsPath.some((argPath) => findInnerComponents(
              innerName,
              argPath,
              callback
            ))

            if (!foundInside) {
              return false;
            }

Around line 100 of babel/src/index.mjs
Not sure if this has side-effects though so I'm not confident enough to open a PR, but I tested it locally and it does make the parametrised HOC work as expected

Feel free to PR it 😅 will test it out with you

It seems I found a way to make it work for curried HOC too, I'll include this in the PR so that you can review :)

There you go :) Thanks for you help and let see if we can make this work :)


[Bug]: Strange crash using Mohist 1.12

What happened?
Well, i know 2.3.5 is the very last version of this mod for 1.12.2, but anyway i will try my chances here.
Basically, i tried to boot Mohist build 321 with this mod installed and got the linked error (it appeared in latest.log since no crash report was generated).
Game Version
1.12
What platform are you using?
Forge
Platform version
Mohist #321 based on Forge <IP_ADDRESS>60
Config File
# General options for the bot
[general]
  # Insert your Bot Token here!
  # DO NOT SHARE IT WITH ANYONE!
  botToken = "REDACTED"
  # The channel ID where the bot will be working in
  botChannel = "REDACTED"
  # The bot's status message
  #
  # PLACEHOLDERS:
  # %online% - Online Players
  # %max% - Maximum Player Amount
  botStatusName = "%online% jogadores online"
  # Type of the bot's status
  # Allowed Values: DISABLED,PLAYING,WATCHING,LISTENING,STREAMING,COMPETING
  botStatusType = "WATCHING"
  # URL of the bot's stream when using the status type 'STREAMING'
  # Has to start with https://twitch.tv/ or https://www.youtube.com/watch?v=
  streamingURL = "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
  # Enable checking for updates?
  # Notification will be shown after every server start in log when update is available
  enableUpdateChecker = true
  # The minimum release type for the update checker to notify
  # Allowed values: release, beta, alpha
  updateCheckerMinimumReleaseType = "beta"
  # Set to false to disable config migration from other mods/plugins to this one
  # This does not prevent updating of this config after mod updates
  allowConfigMigration = true
  # Attempt to parse id-based mentions to names in in-game chat
  parseMentionsIngame = true
# Configuration options for commands
[commands]
  # The Role IDs of your Admin Roles
  # Now supports multiple roles which can access admin commands
adminRoleIDs = [  "REDACTED"  ]
  # Add your custom commands here
  # You can also generate some on https://erdbeerbaerlp.de/dcintegration-commands/
  # You must op this UUID in the ops.txt or some custom commands won't work!
  senderUUID = "REDACTED"
  # Enable help command?
  # Disabling also removes response when you entered an invalid command
  # Requires server restart
  helpCmdEnabled = true
  # Enable the list command in discord
  # Requires server restart
  listCmdEnabled = true
  # Enable the uptime command in discord
  # Requires server restart
  uptimeCmdEnabled = true
  # Set to false to completely disable the "Unknown Command" message
  showUnknownCommandMessage = true
  # Set to true to enable the "Unknown Command" message in all channels
  showUnknownCommandEverywhere = false

    [[commands.customCommands]]
      name = "kick"
      description = "Kicks an player from the Server"
      mcCommand = "kick %player% %reason%"
      adminOnly = true
      hidden = false

        [[commands.customCommands.args]]
          name = "player"
          description = "The player to be kicked"
          optional = false

        [[commands.customCommands.args]]
          name = "reason"
          description = "Reason for the kick"
          optional = true

    [[commands.customCommands]]
      name = "stop"
      description = "Stops the server"
      mcCommand = "stop"
      adminOnly = true
      hidden = false
args = [    ]

    [[commands.customCommands]]
      name = "kill"
      description = "Kills an Player or Entity"
      mcCommand = "kill %target%"
      adminOnly = true
      hidden = false

        [[commands.customCommands.args]]
          name = "target"
          description = "The target(s) for the kill command."
          optional = false
# Toggle some message related features
[messages]
  # Enable formatting conversion (Markdown <==> Minecraft)
  convertCodes = true
  # Send formatting codes from mc chat to discord
  # Has no effect when markdown <==> Minecraft is enabled
  formattingCodesToDiscord = false
  # Should /say output be sent to discord?
  sendOnSayCommand = true
  # Should /me output be sent to discord?
  sendOnMeCommand = true
  # When an /say command's message starts with this prefix, it will not be sent to discord
  sayCommandIgnoredPrefix = "§4§6§k§r"
  # Should tamed entity death be visible in discord?
  sendDeathMessagesForTamedAnimals = false
# Advanced options
[advanced]
  # Custom channel ID for server specific messages (like Join/leave)
  # Leave 'default' to use default channel
  serverChannelID = "default"
  # Custom channel ID for death messages
  # Leave 'default' to use default channel
  deathsChannelID = "default"
  # Custom channel for for ingame messages
  # Leave 'default' to use default channel
  chatOutputChannelID = "default"
  # Custom channel where messages get sent to minecraft
  # Leave 'default' to use default channel
  chatInputChannelID = "default"
# Config options which only have an effect when using forge
[forgeSpecific]
  # A list of blacklisted modids
  # Adding one will prevent the mod to send messages to discord using forges IMC system
IMC_modIdBlacklist = [  "examplemod"  ]
  # Show item information, which is visible on hover ingame, as embed in discord?
  sendItemInfo = true
# Configuration for linking
[linking]
  # Unlink players when they leave the discord server for whatever reason (ex. leave,kick,ban)?
  unlinkOnLeave = true
  # Should discord linking be enabled?
  # If whitelist is on, this can NOT be disabled
  # DOES NOT WORK IN OFFLINE MODE!
  enableLinking = true
  # Role ID of an role an player should get when he links his discord account
  # Leave as 0 to disable
  linkedRoleID = "0"
  # Enable discord based whitelist?
  # This will override the link config!
  # To whitelist use the whitelist command in the bot DMs
  whitelistMode = false
  # Adding Role IDs here will require the players to have at least ONE of these roles to link account
requiredRoles = [    ]
settingsBlacklist = [    ]

    # Allows you to configure the default values of some personal settings
    [linking.personalSettingsDefaults]
      default_useDiscordNameInChannel = true
      default_ignoreReactions = false
      default_pingSound = true
# Webhook configuration
[webhook]
  # Whether or not the bot should use a webhook (it will create one)
  enable = false
  # The avatar to be used for server messages
  serverAvatarURL = "https://raw.githubusercontent.com/ErdbeerbaerLP/Discord-Chat-Integration/master/images/srv.png"
  # The name to be used for server messages
  serverName = "VicoCraft"
  # The URL where the player avatar gets fetched from
  #
  # PLACEHOLDERS:
  # %uuid% - Returns the player's UUID with dashes
  # %uuid_dashless% - Returns the player's UUID without dashes
  # %name% - Returns the player's name
  # %randomUUID% - Returns an random UUID which can be used to prevent discord cache
  playerAvatarURL = "https://minotar.net/avatar/%uuid%?randomuuid=%randomUUID%"
# Allows you to modify and translate most of the messages this bot will send
[localization]
  # This is what will be displayed ingame when someone types into the bot's channel
  # PLACEHOLDERS:
  # %user% - The username
  # %id% - The user ID
  # %msg% - The message
  ingame_discordMessage = "§6[§5DISCORD§6]§r <%user%> %msg%"
  # This is what will be displayed ingame when someone sends an reply into the bot's channel
  # PLACEHOLDERS:
  # %user% - The username
  # %id% - The user ID
  # %msg% - The reply message
  # %ruser% - The username of the message that got the reply
  # %rmsg% - The replied message
  ingame_discordReplyMessage = "§6[§5DISCORD§6]§r §a%user%§r respondendo à §3%ruser%§r: %msg%"
  # Message shown when hovering over the username of an discord message
  # PLACEHOLDERS:
  # %user% - The username/nickname (Someone123)
  # %user#tag% - The username with tag (someone#0001)
  # %id% - The user ID
  #
  # NOTE: using an @ here can cause ping sounds ingame
  discordUserHover = "§3Discord User %user#tag%\n§aClick to mention"
  # This message will edited in / sent when the server finished starting
  serverStarted = "VicoCraft iniciado!"
  # Message to show while the server is starting
  # This will be edited to SERVER_STARTED_MSG when webhook is false
  serverStarting = "VicoCraft iniciando..."
  # This message will be sent when the server was stopped
  serverStopped = "VicoCraft desligado!"
  # The message to print to discord when it was possible to detect a server crash
  serverCrash = "Server Crash Detected :thinking:"
  # Gets sent when an player joins
  #
  # PLACEHOLDERS:
  # %player% - The player's name
  playerJoin = "%player% entrou"
  # Gets sent when an player leaves
  #
  # PLACEHOLDERS:
  # %player% - The player's name
  playerLeave = "%player% saiu"
  # Gets sent when an player dies
  #
  # PLACEHOLDERS:
  # %player% - The player's name
  # %msg% - The death message
  playerDeath = "%player% %msg%"
  # Message sent instead of playerLeave, when the player times out
  #
  # PLACEHOLDERS:
  # %player% - The player's name
  playerTimeout = "%player% timed out!"
  # Gets sent when an player finishes an advancement
  # Supports MulitLined messages using \n
  #
  # PLACEHOLDERS:
  # %player% - The player's name
  # %name% - The advancement name
  # %desc% - The advancement description
  advancementMessage = "%player% obteve o progresso [**%name%**]\n_%desc%_"
  # The chat message in discord, sent from an player in-game
  #
  # PLACEHOLDERS:
  # %player% - The player's name
  # %msg% - The chat message
  discordChatMessage = "%player%: %msg%"
  # Sent to a player when someone reacts to his messages
  # PLACEHOLDERS:
  # %name% - (Nick-)Name of the user who reacted (format: 'SomeNickName')
  # %name2% - Name of the user who reacted with discord discriminator (format: 'SomeName#0123')
  # %msg% - Content of the message which got the reaction
  # %emote% - The reacted emote
  reactionMessage = "§6[§5DISCORD§6]§r§7 %name% reacted to your message \"§9%msg%§7\" with '%emote%'"
  # Message shown for attachments
  attachment = "Attachment"
  # Message shown for stickers
  sticker = "Sticker"
  # Header for Embeds
  embed = "Embed"
  # Message shown for embed images
  embedImage = "Image"
  # Message shown for embed messages
  embedMessage = "Message"
  # Hover message for the bot tag ingame
  bot = "This user is an bot"

    # Strings about the discord commands
    [localization.commands]
      # Shown in console when trying to use the discord command
      ingameOnly = "This command can only be executed ingame"
      # Shown when successfully reloading the config file
      configReloaded = "Config reloaded!"
      # Shown when an subcommand is disabled
      subcommandDisabled = "This subcommand is disabled!"
      # Message sent when user does not have permission to run a command
      noPermission = "You don't have permission to execute this command!"
      # Message sent when an invalid command was typed
      #
      # PLACEHOLDERS:
      unknownCommand = "Unknown command, try `/help` for a list of commands"
      # Message if a player provides less arguments than required
      notEnoughArguments = "Not enough arguments"
      # Message if a player provides too many arguments
      tooManyArguments = "Too many arguments"
      # Message if a player can not be found
      #
      # PLACEHOLDERS:
      # %player% - The player's name
      playerNotFound = "Can not find player \"%player%\""
      # The message for 'list' when no player is online
      cmdList_empty = "There is no player online..."
      # The header for 'list' when one player is online
      cmdList_one = "There is 1 player online:"
      # The header for 'list'
      # PLACEHOLDERS:
      # %amount% - The amount of players online
      cmdList_header = "There are %amount% players online:"
      # Header of the help command
      cmdHelp_header = "Your available commands in this channel:"
      # Message sent when ignoring Discord messages
      commandIgnore_ignore = "You are now ignoring Discord messages!"
      # Message sent when unignoring Discord messages
      commandIgnore_unignore = "You are no longer ignoring Discord messages!"
      # Message sent when using the uptime command
      #
      # PLACEHOLDERS:
      # %uptime% - Uptime in uptime format, see uptimeFormat
      cmdUptime_message = "The server is running for %uptime%"
      # The format of the uptime command
      # For more help with the formatting visit https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/time/DurationFormatUtils.html
      uptimeFormat = "dd 'days' HH 'hours' mm 'minutes'"
      # Shows when running slash commands as command response
      executing = "Executing..."
      # Command argument description for the linkcheck command's Discord user parameter
      cmdLinkcheck_userargDesc = "The discord user to check"
      # Command argument description for the linkcheck command's minecraft player parameter
      cmdLinkcheck_mcargDesc = "The minecraft player's UUID or Name to check"
      # Sent when checked user is not linked
      cmdLinkcheck_notlinked = "This account is not linked!"
      #
      cmdLinkcheck_discordAcc = "Discord-Account: "
      cmdLinkcheck_minecraftAcc = "Minecraft Account: "
      cmdLinkcheck_cannotGetPlayer = "Error getting player information! Maybe you used an invalid name / UUID"
      cmdSett_key = "Destination settings key"
      cmdSett_val = "Settings value"
      cmdSett_set = "Change an setting"
      cmdSett_get = "Retrieve an setting value"

        # Command descriptions
        [localization.commands.descriptions]
          settings = "Allows you to edit your personal settings"
          uptime = "Displays the server uptime"
          help = "Displays a list of all commands"
          list = "Lists all players currently online"
          link = "Links your Discord account with your Minecraft account"
          whitelist = "Whitelists you on the server by linking with Discord"
          linkcheck = "Shows info about an linked discord user or an ingame player"

    # Strings about the account linking feature
    [localization.linking]
      # Sent to the user when he linked his discord successfully
      # PLACEHOLDERS:
      # %player% - The in-game player name
      linkSuccessful = "Your account is now linked with %player%.\nUse /settings to view and set some user-specific settings"
      # Sent to the user when linking fails
      linkFailed = "Account link failed"
      # Sent when an already linked user attempts to link an account
      # PLACEHOLDERS:
      # %player% - The in-game player name
      alreadyLinked = "Your account is already linked with %player%"
      # Sent when attempting to use personal commands while not linked
      # PLACEHOLDERS:
      # %method% - The currently enabled method for linking
      notLinked = "Your account is not linked! Link it first using %method%"
      # Message of the link method in whitelist mode
      # Used by %method% placeholder
      linkMethodWhitelistCode = "joining the server and then using `/link <whitelist-code>` here"
      # Message of the link method in normal mode
      # Used by %method% placeholder
      linkMethodIngame = "`/discord link` ingame"
      # Sent when attempting to whitelist-link with an non uuid string
      # PLACEHOLDERS:
      # %arg% - The provided argument
      link_argumentNotUUID = "Argument \"%arg%\" is not an valid UUID or Name. Use `/whitelist <Name-or-UUID>`"
      # Sent when attempting to link with an unknown number
      invalidLinkNumber = "Invalid link number! Use `/discord link` ingame to get your link number"
      # Sent when attempting to link with an invalid number
      linkNumberNAN = "This is not a number!"
      # Message shown to players who are not whitelisted using discord
      # No effect if discord whitelist is off
      notWhitelistedCode = "§cYou are not whitelisted.\nJoin the discord server for more information\nhttps://discord.gg/someserver\nYour Whitelist-Code is: §6%code%"
      # Sent when trying to link without an required role
      link_requiredRole = "You need to have an role to use this"
      # Sent when trying to link as an non-member
      link_notMember = "You are not member of the Discord-Server this bot is operating in!"
      # Sent to the user when he linked his discord successfully
      # PLACEHOLDERS:
      # %name% - The linked discord name
      # %name#tag% - The linked discord name with tag
      linkSuccessfulIngame = "Your account is now linked with discord-user %name#tag%"
      # Message shown to players who want to link their discord account ingame
      #
      # PLACEHOLDERS:
      # %num% - The link number
      linkMsgIngame = "Send this command as a direct message to the bot to link your account: /link %num%\nThis number will expire after 10 minutes"
      # Shown when hovering over the link message
      hoverMsg_copyClipboard = "Click to copy command to clipboard"

    # Strings about the personal settings feature
    [localization.personalSettings]
      # Message for getting an setting's value
      personalSettingGet = "This settings value is `%bool%`"
      # Sent when user sucessfully updates an prersonal setting
      settingUpdateSuccessful = "Successfully updated setting!"
      # Header of the personal settings list
      personalSettingsHeader = "Personal Settings list:"
      # Error message when providing an invalid personal setting name
      invalidPersonalSettingKey = "`%key%` is not an valid setting!"
      settingsCommandUsage = "Usages:\n\n/settings - lists all available keys\n/settings get <key> - Gets the current settings value\n/settings set <key> <value> - Sets an Settings value"
      # Sent when setting an personal setting fails
      settingUpdateFailed = "Failed to set value :/"
      # Sent when attempting to change an blacklisted setting
      settingUpdateBlocked = "The server owner disabled changing of this setting"

        # Descriptions of the settings
        [localization.personalSettings.descriptons]
          ignoreDiscordChatIngame = "Configure if you want to ignore discord chat ingame"
          useDiscordNameInChannel = "Should the bot send messages using your discord name and avatar instead of your in-game name and skin?"
          ignoreReactions = "Configure if you want to ignore discord reactions ingame"
          pingSound = "Toggle the ingame ping sound"
          hideFromDiscord = "Setting this to true will hide all of your minecraft messages from discord"
# Configuration for the in-game command '/discord'
[ingameCommand]
  # Enable the /discord command to show an custom message with invite URL?
  enabled = true
  # The message displayed when typing /discord in the server chat
  message = "Join our discord! http://discord.gg/myserver"
  # The message shown when hovering the /discord command message
  hoverMessage = "Click to open the invite url"
  # The url to open when clicking the /discord command text
  inviteURL = "http://discord.gg/myserver"
# The command log channel is an channel where every command execution gets logged
[commandLog]
  # Channel ID for the command log channel
  # Leave 0 to disable
  channelID = "0"
  # The format of the log messages
  #
  # PLACEHOLDERS:
  # %sender% - The name of the Command Source
  # %cmd% - executed command (e.g. "say Hello World"
  # %cmd-no-args% - Command without arguments (e.g. "say"
  message = "%sender% executed command `%cmd%`"
  # A list of commands that should NOT be logged
ignoredCommands = [  "list", "help", "?"  ]
# Configure votifier integration here
# (Spigot only)
[votifier]
  # Should votifier messages be sent to discord?
  enabled = true
  # Custom channel ID for Votifier messages
  # Leave 'default' to use default channel
  votifierChannelID = "default"
  # The message format of the votifier message
  #
  # PLACEHOLDERS:
  # %player% - The player´s name
  # %site% - The name of the vote site
  # %addr% - (IP) Address of the site
  message = ":ballot_box: %player% just voted on %site%"
  # Name of the webhook title
  name = "Votifier"
  # URL of the webhook avatar image
  avatarURL = "https://www.cubecraft.net/attachments/bkjvmqn-png.126824/"
# Configure Dynmap integration here
[dynmap]
  # The message format of the message forwarded to discord
  #
  # PLACEHOLDERS:
  # %sender% - The sender´s name
  # %msg% - The Message
  dcMessage = "<%sender%> %msg%"
  # Custom channel ID for dynmap chat
  # Leave 'default' to use default channel
  dynmapChannelID = "default"
  # Name of the webhook title
  name = "Dynmap Web-Chat"
  # URL of the webhook avatar image
  avatarURL = "https://styles.redditmedia.com/t5_2kl3ct/styles/communityIcon_am5zopqnjhs41.png"
  # The name format of the message forwarded to the dynmap webchat
  #
  # PLACEHOLDERS:
  # %name% - The discord name of the sender (including nickname)
  # %name#tag% - The discord name with tag of the sender (without nickname)
  webName = "%name% (discord)"
  # Name shown in discord when no name was specified on the website
  unnamed = "Unnamed"
# Configure some plugin-specific BStats settings here
# Everything can be seen here: https://bstats.org/plugin/bukkit/DiscordIntegration/9765
#
# Does not apply to fabric yet, as there is no bstats for it
[bstats]
  # Allow sending of installed addon stats (Name and version of installed addons)
  sendAddonStats = true
# Settings for servers running as Bungeecord-suberver
[bungee]
  # Set this to true if the server is running as an subserver of an bungeecord network and therefore needs to be in offline mode
  # Setting this will force account linking in offline mode
  # Do NOT use for actual offline mode servers, as this will break the linking feature because of the UUIDs!
  #
  # Currently no support for floodgate running on bungee
  isBehindBungee = false

Crash report / Error log (if applicable)
[00:30:18] [Server thread/INFO] [FML]: The state engine was in incorrect state POSTINITIALIZATION and forced into state SERVER_STOPPED. Errors may have been discarded.
[00:30:18] [Discord SendMessage/WARN] []: java.util.concurrent.RejectedExecutionException: The Requester has been stopped! No new requests can be requested!
[00:30:18] [Discord SendMessage/WARN] []: 	at net.dv8tion.jda.internal.requests.Requester.request(Requester.java:107)
[00:30:18] [Discord SendMessage/WARN] []: 	at net.dv8tion.jda.api.requests.RestFuture.<init>(RestFuture.java:38)
[00:30:18] [Discord SendMessage/WARN] []: 	at net.dv8tion.jda.internal.requests.RestActionImpl.submit(RestActionImpl.java:209)
[00:30:18] [Discord SendMessage/WARN] []: 	at net.dv8tion.jda.api.requests.RestAction.submit(RestAction.java:694)
[00:30:18] [Discord SendMessage/WARN] []: 	at de.erdbeerbaerlp.dcintegration.common.Discord.lambda$sendMessage$14(Discord.java:486)
[00:30:18] [Discord SendMessage/WARN] []: 	at java.lang.Thread.run(Thread.java:750)

Additional Information
No response

I believe once switching to mohist you need to start using the spigot version of the mod. I can't be 100% certain however.
Link to spigot version: https://www.spigotmc.org/resources/discord-integration.87196/

Honestly, i dont know what i did, but starting the server a second time the issue just vanished.
BTW i will take in consideration what @JellyFisheh told about the spigot version of the mod.
Thanks a lot!


ensure the buffer is updated

This fixes a small issue that I was having in brackets where the buffer was not updated properly, so codeactions changed randomly.

Thanks!


Responsive CSS to allow the grids to expand/contract

Could you be more specific?
We improved responsiveness. It will be added with next release.
Something like this:
https://github.com/block-bites/fondant-app/assets/107482064/05476469-cda1-40fb-980c-72dc9c89fe10

@devendran-m could you check now?

Closing as won't do.


Issue with bower install

With the command, bower install --save git@github.com:heyflock/angular-bootstrap-material.git#master, I'm getting the following error,
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Am I missing something?

@chinnichaitanya can you try bower install --save git@github.com:teamjell/angular-bootstrap-material.git#master instead? We moved our github account to teamjell and neglected to update the README.


After upgrade to dlv can no longer do dlv attach

I used homebrew to upgrade delve to 1.0.0-rc.1 on a Mac OS 10.11.6 (15G1510). Since then I can no longer do dlv attach pid. dlv debug still works.
When I do dlv attach pid  I get
could not attach to pid 18272: must specify executable path on macOS
I don't know where to go from here. What executable path? dlv started fine, the process is running fine. My current directory is the source directory in go of my main.go, just like always.

Delve 1.0.0-rc.1
Go go1.8.3 darwin/amd64
Mac OS 10.11.6

Thanks.
PS: I tried sudo dlv attach, same error.

What executable path?

the one that's running on the process you are attaching to.

I'm sorry, I don't understand what that means. The process is already executing. So it must have an executable path.  How could it be running without a path?
Nothing has changed on how I start the process since before upgrading to the latest delve. Something related to the upgrade, or the the homebrew upgrade procedure, is causing the problem.

I'm sorry, I don't understand what that means. The process is already executing. So it must have an executable path. How could it be running without a path?

Yes, that's right. You have to pass that path to delve so it can load debug symbols from it.
In principle we could get it from the process id but we need to be a signed executable to do that and we're trying to avoid that.

I'm having the exact same issue with this.  The documentation doesn't seem very clear.  Is it the --wd flag I need to be setting here?  I have tried to the following to no avail:
dlv attach 26577 --wd "."
dlv attach 26577 --wd="."
dlv attach 26577 --wd=.
dlv attach 26577 --wd ${GOPATH}/bin
dlv attach 26577 --wd "${GOPATH}/bin"
Plus loads of other variations how I expect flags may be passed, and many variations on the path that I'm running my application from.  Maybe you could give an example?

No you need to pass the path of the executable you are attaching to.

I had the exact same problem too. Passing the exact path of the executable in all of the variations listed above doesn't resolve the issue. No amount of Ring TFM seems to have helped.


Integrate AzCopy 10.15

Integrated the official 10.15.0 for mac, Linux, Windows 64 and a private build for Windows 32 due to an alignment bug in the Windows 32 bit exe.