[Bug] [Zeta Engine] Savepoint cannot be stored as split

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
My source has 1 million data and the target has 0. When I start the synchronization task, I write the data to the target and then execute The command ./seatunnel.sh -s<PHONE_NUMBER>31640065 was used to store the savepoint, but it was not found until the task was fully transferred and the target reached 1 million. Then the savepoint was written to HDFS.
SeaTunnel Version
2.3.3
SeaTunnel Config
env {
    "job.mode"="BATCH"
    "job.name"="DEMO"
    "execution.parallelism"=2
}
source {
    Jdbc {
        url="jdbc:mysql://xxx/seatunnel_source?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true"
        driver="com.mysql.cj.jdbc.Driver"
        user="root"
        password="xxx"
        query="select * from emp_quality_millions_100w"
        "partition_column"="emp_id"
        "partition_num"=40
        "parallelism"=2
    }
}
transform {
}
sink {
    Jdbc {
        url="jdbc:mysql://xxx/seatunnel_sink?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true"
        driver="com.mysql.cj.jdbc.Driver"
        user="root"
        password="xxx"
        database="seatunnel_sink"
        table="emp_104"
        "batch_size"="1000"
        "generate_sink_sql"="true"
	    "enable_upsert" = true
     	"generate_sink_sql" = true
        "query" = ""

    }
}

seatunnel.yaml is
seatunnel:
    engine:
        backup-count: 1
        queue-type: blockingqueue
        print-execution-info-interval: 60
        slot-service:
            dynamic-slot: true
        checkpoint:
            interval: 10000
            timeout: 300000
            storage:
                type: hdfs
                max-retained: 3
                plugin-config:
                    namespace: /tmp/seatunnel/checkpoint_snapshot/
                    storage.type: hdfs
                    fs.defaultFS: hdfs://xxx:8020

Running Command
./bin/seatunnel.sh -s<PHONE_NUMBER>31640065

Error Exception
no exception

Zeta or Flink or Spark Version
No response
Java or Scala Version
java version "1.8.0_291"
Screenshots
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

https://github.com/lihjChina/log/blob/master/seatunnel-engine-server.log

@lihjChina link #5695 The problem may have been improved, can you help verify it on the dev branch

I have verified it in dev and it has been resolved. Thank you

I have verified it in dev and it has been resolved. Thank you


fix: tx link network mode

closes #829

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


[Consistency] Embeddings are different in Android and Python

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
Android 11
MediaPipe Tasks SDK version
No response
Task name (e.g. Image classification, Gesture recognition etc.)
Image Embedder
Programming Language and version (e.g. C++, Python, Java)
Android and Python
Describe the actual behavior
I generated embeddings for same image in Python and Android.
Both gives different embedding vectors.

Is is possible to convert to same scale? If yes, then How?
Why embeddings are different in different platform?

### Describe the expected behaviour

```shell
Both Embedding vector should be same.

Standalone code/steps you may have used to try to get what you need
Android: https://github.com/googlesamples/mediapipe/tree/main/examples/image_embedder/android
Python: https://github.com/googlesamples/mediapipe/tree/main/examples/image_embedder/python

Other info / Complete Logs
No response

Few other things to ponder:

Android reads images as bitmap with ARGB format. Whereas Python OpenCV reads with RGB.
While converting to MPImage in Android, We cannot pass any image format; It takes image format from Bitmap.Config. Whereas in Python, we can pass format, such as SRGB or SRGBA etc.

@yichunk Can you take a look?

I'm also facing the same issue.

I converted to RGB in Opencv and generated embedding.
Python gives in Signed Bytes (0 to 255), whereas Android gives in Unsigned bytes (-128 to 127).
Still in between many values are not exactly same in embeddings between the two platforms.

@yichunk Any workaround to get the same embeddings from both the platforms?


Kuba's laptop's issues with Firefox

I installed OptMeowt on Firefox (version 83) on my computer (macOS Catalina version 10.15.7) and everything worked as expected. I checked on all sites:
https://globalprivacycontrol.org/
https://global-privacy-control.glitch.me/
https://www.privacytechlab.org/optmeowt/
When I turned the signal on, it was shown that I am sending it. When I turned it off, it was shown I am not sending it. Also, the DOM property was fine. Not sure what the issue could be ...

Okay, I just took some time to look at this issue and it turns out that since I don't regularly use Firefox at the moment, I forgot I had a few other GPC compatible extensions installed. I believe one of them must have had the DOM signal set to off by default, which gave us the false flag on the original demo server. Uninstalling all of them brought everything back to normal and it runs smooth.
Given there doesn't seem to be an issue at the moment, we can close this, and I think we should be good to start the process of uploading to the Firefox add-ons store, @SebastianZimmeck.


[Event Hubs] Geo DR - Preview v2

Contributes to https://github.com/Azure/azure-sdk-for-net/issues/39367
The concepts being updated here all relate to the Event Hubs service no longer accepting numeric values for offset. Offset needs to be treated an opaque string. An alternative approach can be found in:

https://github.com/Azure/azure-sdk-for-net/pull/43935

The primary changes in this PR are the following:

EventData.Offset is now a string, constructor now takes in a string
EventData.LastPartitionOffset is now a string and takes in a string
EventPosition.FromOffset takes in a string value
LastEnqueuedEventProperties.Offset is now a string
Add CheckpointPosition.Offset and new constructor
EventHubsModelFactory - EventData and LastEnqueuedEventProperties need to be created with string values for offsets.

TODO:

[ ] Hide old checkpoint overloads
[ ] Add changelog entry


Partition tree.py module into tree package + pickle fix

Resolves #2478, resolves #1324
Hello!
Pull request overview

Allow unpickling of ParentedTree objects for Python 3.7+. Please see 938a64b9761a406659b9af8fb0aca5653eed8c5f to inspect only these changes.
Created a doctest to show that pickling now works correctly.
Partitioned the large (1800 lines) tree.py top-level module into a tree package.

Details
This PR contains two main changes, which are fairly unrelated beyond their location. As a result, if one change is welcomed, while the other isn't, then I'll happily remove one of the sections.
Allow unpickling of ParentedTree objects for Python 3.7+
For context, this is in response to #2478, which shows that
import pickle
from nltk.tree import ParentedTree

tree = ParentedTree.fromstring('(S (NN x) (NP x) (NN x))')
pickled = pickle.dumps(tree)
tree_2 = pickle.loads(pickled)

print(tree)
print(tree_2)

will throw an error for Python 3.7+. The pickle unpickling behaviour seems very strange, but my understanding of it seems to be that in Python 3.7+ onwards, the __new__ method gets called with some bogus parameters.
Beyond that, the _parent and _label parameters aren't set properly on the child of some parent object (yet), and then _setparent will complain.
The long and short of it is that adding __getnewargs__ as used by pickle (see https://docs.python.org/3.9/library/pickle.html#pickling-class-instances) will specify the correct parameters for __new__ when unpickling, and then checking whether the child even has a _parent attribute further fixes the issue entirely.
I've added a doctest for this under tree.doctest which shows that this now works correctly for all supported Python versions.
You can check these changes in 938a64b9761a406659b9af8fb0aca5653eed8c5f. I would recommend doing so, as this PR is kind of large otherwise.
Partitioning the tree.py module into a tree package
I noticed that tree.py was a collection of many Tree related classes, which together made up this really long file. I'm not a particular fan of this - as I prefer different kinds of classes to be in different files. Currently, nltk.tree provides the following classes and methods:

nltk.tree:

ImmutableProbabilisticTree
ImmutableTree
ProbabilisticTree
Tree
bracket_parse
sinica_parse
ParentedTree
MultiParentedTree
ImmutableParentedTree
ImmutableMultiParentedTree

After this change, these methods and classes arrive from these files:

nltk.tree.tree:

Tree

nltk.tree.immutable

ImmutableProbabilisticTree
ImmutableTree
ImmutableParentedTree
ImmutableMultiParentedTree

nltk.tree.parented

ParentedTree
MultiParentedTree

nltk.tree.probabilistic

ProbabilisticTree

nltk.tree.parse

bracket_parse
sinica_parse

It's important to note that all of these methods and classes can still be imported with either from nltk import ParentedTree or ntk.tree import ParentedTree. This change is purely for code quality and restructuring the codebase a bit, and should not affect users (unless I made a mistake!).
Beyond moving these classes to files, the only real changes I made was to move the import of the classes from nltk.tree.immutable into the _frozen_class method. For example for Tree:
    def _frozen_class(self):
        from nltk.tree.immutable import ImmutableTree

        return ImmutableTree

This is to avoid a circular import.
Discussion
There are two other tree-related files which perhaps ought to be moved into the new tree package: treeprettyprinter.py and treetransforms.py. If we didn't have to worry about people's codebases breaking upon updating, then I would move both of these files into tree, and rename them to prettyprinter.py and transforms.py respectively.
However, doing so would mean that these files need to be imported in a new way, which is a breaking change. Instead of the current way of:
from nltk.treeprettyprinter import TreePrettyPrinter

from nltk.treetransforms import chomsky_normal_form

Users would need to do
from nltk.tree.prettyprinter import TreePrettyPrinter
# or
from nltk.tree import TreePrettyPrinter
# or
from nltk import TreePrettyPrinter

from nltk.tree.transforms import chomsky_normal_form
# or
from nltk.tree import chomsky_normal_form
# or
from nltk import chomsky_normal_form

Perhaps there is a way to move the files while still supporting the old imports? For example by writing some hack into nltk/__init__.py?

Thank you @movabo for letting us know about the bug, and thank you @hitt08 for pointing me to it while I had some spare time to look into it.

Tom Aarsen

I've expanded this PR to also tackle an issue very similar to #1324.
The bug in question:
from nltk.tree import ParentedTree

ptree = ParentedTree.fromstring("(TOP (S (NP (NNP Bell,)) (NP (NP (DT a) (NN company)) (SBAR (WHNP (WDT which)) (S (VP (VBZ is) (VP (VBN based) (PP (IN in) (NP (NNP LA,)))))))) (VP (VBZ makes) (CC and) (VBZ distributes) (NP (NN computer))) (. products.)))")
ptree.copy(deep=False)

which throws:
Traceback (most recent call last):
  File "[sic]\nltk_2863.py", line 12, in <module>
    ptree.copy(deep=False)
  File "[sic]\nltk\tree.py", line 562, in copy
    return type(self)(self._label, self)
  File "[sic]\nltk\tree.py", line 1277, in __init__
    super().__init__(node, children)
  File "[sic]\nltk\tree.py", line 1047, in __init__
    self._setparent(child, i, dry_run=True)
  File "[sic]\nltk\tree.py", line 1371, in _setparent
    raise ValueError("Can not insert a subtree that already " "has a parent.")
ValueError: Can not insert a subtree that already has a parent.

The actual issue reported in #1324 is about a deepcopy, but I have no issues with a deepcopy.
Furthermore, this error looks very similar to the issue from #2478, which this PR originally set out to resolve.
But upon some investigation, this is actually not really much of an implementation issue - it's a small design oversight.
We're attempting to make a shallow copy of a ParentedTree. For all Tree subclasses, this means that the root node is reconstructed, and the child nodes are used for both the original object and the freshly copied object. But, that means the children have two parents, which is not allowed by ParentedTree.
When trying to make a shallow copy (i.e. import copy; copy.copy(ptree) or ptree.copy(deep=False)), a deep copy is made. Beyond that, a warning is thrown to notify users that a shallow copy isn't supported for a ParentedTree.
My commit 2d5ef121092175f64d6f77416e00a44dd5a1f47c has added these fixes, and some doctests with documentation on how shallow copying works for different Tree subclasses.

Also, I've now moved treeprettyprinter and treetransform to the tree package, in such a way that old imports will simply call the functions at the new locations.
I'd like to link this PR to #1324 too, so that issue gets closed if this gets merged.

Tom Aarsen

I've moved forward with the changes suggested in #2875. I figured this PR would be a good place for it, as this has kind of become a PR that completely overhauls the tree module (now package). For the time being, we can go with the simplest option: no further option for users to modify the looks of the graph. (Note, the old system didn't have that option either)
All that remains is discussing if we want to add it to pip-req.tx. I'm leaning towards simply providing a "smarter" ModuleNotFoundError, as svgling will only be needed in very niche situations. (i.e. when outputting trees in jupyter notebooks)

Looks good to me. I agree about not adding svgling to pip-req.txt.

Thanks for this major reorganisation + many improvements!


Integration doc - LoginRadius with MongoDB

Prepare integration document on how to integrate MongoDB with LoginRadius
You will need to create an account here - https://accounts.loginradius.com/auth.aspx?return_url=https://dashboard.loginradius.com/login&action=register
Go to the integration section to explore
Reference for template - https://www.loginradius.com/docs/developer/guide/shopify/
Document should be end to end I.e. what all needs to be done in LoginRadius and MongoDB

Hi @IArchna, I'd love to work on this issue. Please assign.
cheers.

@JubayerJoy  I have assigned this issue to you. Please proceed and submit PR when it's ready.


ThirdPartyResource config store backend

Mostly code shuffling...
Splitting the big kube controller into pieces.

This was intentional since I'll split ingress away as well later, once we can aggregate across config sources.


Changing main to point to built files in dist/keras.js

I think maybe there was a mistake with a global find & replace here: https://github.com/transcranial/keras-js/commit/fb6527466490ecf6a978f97709ee8c5fcc39175a
main in package.json was pointing to the uncompiled files in lib/index.js. So when this package was installed with npm and required, it required compilation of everything in the src file. For example, it required babel-polyfill, axios, glsl files and other things that aren't really part of this library.
This change tells applications who require keras-js to load the already compiled files.

Indeed. Sorry about the confusion.


Bad CMake executable

I have added following environments to local user environments:
QTDIR=C:\Qt_v2\6.7.0\msvc2019_64
Path+=C:\Qt_v2\6.7.0\msvc2019_64\bin
Started VSCode, installed all extensions required from extensions.json, now I get following error.
CMake Tools (Extension) throws this error:
Bad CMake executable: "". Check to make sure it is installed or the value of the "cmake.cmakePath" setting contains the correct path

After installing CMake 3.29.4 as standalone with user environment path I get following output on building:
[main] Configuring project: blog-vscode-template
[proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Debug -SC:/Users/USER_NAME/src/blog-vscode-template -BC:/Users/USER_NAME/src/blog-vscode-template/build-debug -G Ninja
[cmake] CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
[cmake] CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
[cmake] -- Configuring incomplete, errors occurred!
[proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Debug -SC:/Users/USER_NAME/src/blog-vscode-template -BC:/Users/USER_NAME/src/blog-vscode-template/build-debug -G Ninja exited with code: 1

Hi, you need ninja installed and in PATH

Now it shows
CMake Error at CMakeLists.txt:3 (project):No CMAKE_CXX_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.


pytorch fails

I tried,
let
  mach-nix = import (builtins.fetchGit {
    url = "https://github.com/DavHau/mach-nix/";
    ref = "master";
    rev = "42a1daf1979bef3a26a8a4eb19db801284758ba6";
  });
in
mach-nix.mkPythonShell {
  requirements = ''
    torch
  '';
}

but got this error (click to expand)
these derivations will be built:
/nix/store/gag7dhx91bzp6i2rxc0ql1cmd78h8kqn-python3.7-torch-0.1.2.post2.drv
/nix/store/dlm02884w3fss89ppcrbli5vm79d7dn1-python3-3.7.5-env.drv
building '/nix/store/gag7dhx91bzp6i2rxc0ql1cmd78h8kqn-python3.7-torch-0.1.2.post2.drv'...
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
unpacking sources
unpacking source archive /nix/store/avcbiihlwlqdqyjqq0bn12nx88qahlx3-torch-0.1.2.post2.tar.gz
source root is torch-0.1.2.post2
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file torch-0.1.2.post2/setup.cfg
patching sources
configuring
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
running bdist_wheel
running build
running build_deps
Traceback (most recent call last):
File "nix_run_setup", line 8, in <module>
    exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
File "setup.py", line 265, in <module>
    description="Tensors and Dynamic neural networks in Python with strong GPU acceleration",
File "/nix/store/p4xpcwj9bxrjz9zsn032yzpnckxpyra7-python3.7-setuptools-41.2.0/lib/python3.7/site-packages/setuptools-41.2.0-py3.7.egg/setuptools/__init__.py", line 145, in setup
File "/nix/store/ljbn79cwlwvrlmqil0nk4zvf043ph592-python3-3.7.5/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
File "/nix/store/ljbn79cwlwvrlmqil0nk4zvf043ph592-python3-3.7.5/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
File "/nix/store/ljbn79cwlwvrlmqil0nk4zvf043ph592-python3-3.7.5/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
File "/nix/store/qg1m9rpl2yvfnjw9r7bh7hx7jijk233a-python3.7-wheel-0.33.6/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 192, in run
    self.run_command('build')
File "/nix/store/ljbn79cwlwvrlmqil0nk4zvf043ph592-python3-3.7.5/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
File "/nix/store/ljbn79cwlwvrlmqil0nk4zvf043ph592-python3-3.7.5/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
File "/nix/store/ljbn79cwlwvrlmqil0nk4zvf043ph592-python3-3.7.5/lib/python3.7/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
File "/nix/store/ljbn79cwlwvrlmqil0nk4zvf043ph592-python3-3.7.5/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
File "/nix/store/ljbn79cwlwvrlmqil0nk4zvf043ph592-python3-3.7.5/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
File "setup.py", line 51, in run
    from tools.nnwrap import generate_wrappers as generate_nn_wrappers
ModuleNotFoundError: No module named 'tools.nnwrap'
builder for '/nix/store/gag7dhx91bzp6i2rxc0ql1cmd78h8kqn-python3.7-torch-0.1.2.post2.drv' failed with exit code 1
cannot build derivation '/nix/store/dlm02884w3fss89ppcrbli5vm79d7dn1-python3-3.7.5-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/dlm02884w3fss89ppcrbli5vm79d7dn1-python3-3.7.5-env.drv' failed

Mach-nix tries to install a quite old version (0.1.2.post2) of pytorch here. The reason for this is that pytorch switched to wheel releases only from that point on. Mach-nix doesn't support wheels yet. It is my number one focus right now to make them available (check https://github.com/DavHau/mach-nix/issues/7), but currently they are not.
The specific reason why 0.1.2.post2 cannot be installed is because the package is broken. It tries to import tools.nnwrap which doesn't exist under tools. The installation also fails with pip under debian.

ah, thanks for the explanation...
I thought Mach was going to take the pytorch derivation from nixpkgs & modify the src/version? I may have the wrong mental model of how this works...

Yes, that is correct. But the list of sources it knows doesn't contain anything better than '0.1.2'. It doesn't consider that in your case it would be best to just take the package from nixpkgs without touching the src attribute.
This could be fixed by adding nixpkgs as a provider to the dependency resolver. But it will also work as soon as wheel support is there.

Ah, I see, thanks!

This should be resolved by version 2.0.0.
Both nixpkgs provider and wheel provider have now been added


[fix] nullable check

Added nullable checks in the pipes.

That's because we can't get those default values. See here https://github.com/nestjs/nest/issues/4590
We can add DefaultValuePipe like in Nest, or add defaultValue as an option, like in GQL. Which one sounds more reasonable?

Let's create a feature request issue :)


try ClimaUtilities regrid fix

Purpose
test https://github.com/CliMA/ClimaUtilities.jl/pull/66
To-do

Content

[ ] I have read and checked the items on the review checklist.

This PR was just for testing a ClimaUtilities branch, so it doesn't need to be merged


unable to only pull in backquote and not all the style dropdown.

Is there a way to just pull in blockquote?
currently we have to use ['style', ['style']] to get blockquote which includes everything in the drop down.
If we use   styleTags: ['blockquote'], then we still get a dropdown for a single menu item.

This is an issue of summernote.
Please stay tuned on https://github.com/summernote/summernote/issues/1560


[XS6] Cannot debug on Mac without changing global default .NET runtime preference

XS 6.0 (build 4520)
Addin Maker 1.3.0 installed from gallery
OS: Mac OS X Yosemite

(this works fine on Windows)
When debugging an addin project in a default install of XS6, launch of the new XS instance fails because it is using the default configured .NET runtime, which is 32-bit. XS6 on Mac now requires 64-bit Mono.
You need to go to Preferences -> Projects -> .NET Runtimes and select a 64-bit runtime.
Filing an issue because I'm not sure it makes sense to require this setting globally.

TBH I consider this to be an XS bug. There's no way to mark the app as requiring 64-bit, and if I launch the native stub instead of the exe then debugging won't work.

Sounds good, I'll close this then.


fix: get previous and check restart count

/cc @msvticket @skiSocks

@msvticket  ready for review!


Changing the color depth from 16 to 32 bit.

I wanted to try 32 bit color depth but cloning the project and just changing
From
#define LV_COLOR_DEPTH 16
To
#define LV_COLOR_DEPTH 32
below is the attached image,

Is there any other configuration which needed to changed?

I don't have this board with me now, but these are suspicious to me: here and here the * 2 means hard coding to 2 bytes.

I don't have this board with me now, but these are suspicious to me: here and here the * 2 means hard coding to 2 bytes.

Yeah this works.
Thank you


Fixes #3443 - clean up unused/unimplemented code from existing analyzer project

These are the changes for https://github.com/dodexahedron/Terminal.Gui/issues/41.
Just cleanup before continuing work on Roslyn stuff.
All work on #3443 starts from the end of this.
Can be merged now or can just wait til the entire body of work is done and merge that all at once.
There are no functional changes contained in this PR except that some extra design-time-only code for one of the removed classes will not be generated in the Terminal.Gui project any more.
Fixes

Cleanup of code from #3420 before continuing with #3443

Proposed Changes/Todos

[x] Removed no-longer-planned generator that the new one will make redundant and do better anyway.
[x] Cleaned up a bit of code in the EnumExtensionMethodsGenerator for features I decided not to add to it.
[x] Took a few R# suggestions and silenced a couple of inspections for things that were intentional.

Pull Request checklist:

[x] I've named my PR in the form of "Fixes #issue. Terse description."
[x] My code follows the style guidelines of Terminal.Gui - if you use Visual Studio, hit CTRL-K-D to automatically reformat your files before committing.
[x] My code follows the Terminal.Gui library design guidelines
[x] I ran dotnet test before commit
[x] I have made corresponding changes to the API documentation (using /// style comments)
[x] My changes generate no new warnings
[x] I have checked my code and corrected any poor grammar or misspellings
[x] I conducted basic QA to assure all features are working

Note this is branched from after #3438, so it'll show those changes in the changes above until that's merged.


Update ruby to 3.1.0

closes #2000
Before merging this PR:

[ ] Provision bibdata staging to ruby 3.1 https://github.com/pulibrary/princeton_ansible/issues/3368
[ ] Deploy this branch in bibdata-staging
[ ] Deploy the webhook in aws webhook staging
[ ] Run an incremental index in the alma sandbox.
[ ] Make sure the event was created and the records were indexed.
[ ] Check honeybadger for errors
[ ] Run a full dump in the alma sandbox
[ ] Make sure the full dump event was created. Run a full reindex in staging to index the records.
[ ] Index coins in catalog-staging using bibdata-staging

closing in favor of https://github.com/pulibrary/bibdata/pull/2009


[Setup] Bump up the minimum .NET Core version requirement

Currently, the installer checks that at least .NET Core 3.1.0 is installed, we should increase the minimum version to 3.1.10 and keep the minimum version requirement up-to-date in future releases.

@enricogior 3.1.11 has been released

@enricogior 3.1.11 has been released


Is it possible extend the current d3 object to have better force?

Hey guys,
Similar to this post https://github.com/danielcaldas/react-d3-graph/issues/329 I think It would be super nice if we could define nice force when somebody drags the nodes in the canvas. So I wanted to ask, if there are any plans to extend this feature?
Best regards
Christian

Sorry :) Currently don't have time to look into this. Please use the bug/feature request template when opening an issue in the repo. It helps us a lot with triaging. PRs and suggestions are always welcome! 🙂

Sorry :) Currently don't have time to look into this. Please use the bug/feature request template when opening an issue in the repo. It helps us a lot with triaging. PRs and suggestions are always welcome! 🙂


Switch to unix line endings?

GitHub recommends to always use \n as a newline character in git-handled repos.
Windows line endings make it difficult to collaborate with folks using unix, and result in the docker-compose entrypoint scripts being parsed incorrectly on linux:
postgresml-admin-1     | /app/docker/entrypoint.sh: line 8: $'\r': command not found
postgresml-admin-1     | /app/docker/entrypoint.sh: line 23: syntax error: unexpected end of file

This should be an easy fix. I haven't created a PR, because it would involve changing a large number of files...

We'll add a linter to CI to catch this in the future. Thanks for the heads up!


GET API Elasticsearch plugin

Plugin for Elasticsearch GET API.

Thanks, can you include a README?

Yes, done.

You should also delete the comments from the plugin.zsh file and put it in the README. That way you can document the whole thing as well as include the author and possibility of using json_reformat.

can you add environment variable to change localhost to any host i want?


Windows: Set DTS via setCommState

https://github.com/bugst/go-serial/issues/35

Hi @Niondir
I've reproduced the bug and tested that your fix works, thank you!
May I ask you to put the GetDTR() and GetRTS() methods into another PR?
I'd like to have those methods as part of GetModemStatusBits(), but better to move the discussion on another PR, so I can merge the SetRTS bugfix in the meantime.

Here we go, I will provide another request to extend the GetModemStatusBits() method for windows


Exception on Android

I have code that's working fine in other Compose clients but on Android I'm getting following when calling getFileByteArray
01-14 19:37:45.657 22788 22788 E AndroidRuntime: java.lang.IllegalArgumentException: Uri lacks 'file' scheme: content://com.android.providers.media.documents/document/image%3A1000050843
01-14 19:37:45.657 22788 22788 E AndroidRuntime: 	at androidx.core.net.UriKt.toFile(Uri.kt:43)
01-14 19:37:45.657 22788 22788 E AndroidRuntime: 	at com.darkrockstudios.libraries.mpfilepicker.AndroidFile.getFileByteArray(AndroidFilePicker.kt:15)

following is code I have
    val coroutineScope = rememberCoroutineScope()

    val fileExtensions = listOf("jpg", "png")
    FilePicker(show = show, fileExtensions = fileExtensions) { file ->
        coroutineScope.launch {
            val data = file?.getFileByteArray()
            data?.let {
                ....
            }
        }
    }

I had the same problem and found a weird workaround
(inspired by https://github.com/Wavesonics/compose-multiplatform-file-picker/pull/104)
I have a global variable in commainMain to store the byte array (this is not necessary, only if you want to do more than just displaying the picked image):
// this variable is set from "outside" in the jvmMain and androidMain var imageBytes : ByteArray = byteArrayOf()
this is my commonMain part:
var showFilePicker by remember { mutableStateOf(false) }         colorButton(onClick = {showFilePicker = true}, text = "Choose Image")         var showImage by remember {mutableStateOf(false)}         val fileType = listOf("jpg", "png")         var file by remember { mutableStateOf<MPFile<Any>?>(null) }         FilePicker(             show = showFilePicker,             fileExtensions = fileType,             onFileSelected = {                 showFilePicker = false                 scope.launch {                     file = it                     showImage = true                 }             }         )         if (showImage) {             ImageFromFile(file)         }
then in commonMain i have this expect function declared:
@Composable expect fun ImageFromFile(file: MPFile<Any>?)
The actual implementation in androidMain:
@Composable actual fun ImageFromFile(file: MPFile<Any>?) {     var imageBitmap by remember { mutableStateOf(ImageBitmap(height = 1, width = 1)) }     if (file != null) {         val uri = Uri.parse(file.path)         val stream = LocalContext.current.contentResolver.openInputStream(uri)         if (stream != null) {             val bytes = stream.readBytes()             imageBytes = bytes // sets the global byteArray variable in commonMain             stream.close()             if (bytes.isNotEmpty()) {                 imageBitmap.prepareToDraw()                 imageBitmap = BitmapFactory.decodeByteArray(                     bytes,                     0,                     bytes.size                 ).asImageBitmap()             }         }     }     Image(         bitmap = imageBitmap,         ""     ) }
actual implementation in jvmMain:
@Composable actual fun ImageFromFile(file: MPFile<Any>?) {     var imageBitmap by remember { mutableStateOf(ImageBitmap(height = 1, width = 1)) }     val scope = rememberCoroutineScope()     scope.launch {         if (file == null) return@launch         imageBitmap.prepareToDraw()         imageBytes = file.getFileByteArray() // sets the global byteArray variable in commonMain         imageBitmap = Image.makeFromEncoded(file.getFileByteArray()).toComposeImageBitmap()     }     Image(         bitmap = imageBitmap,         ""     ) }
Furthermore, I have these functions for displaying an Image from just a byte Array:
`
// commonMain expect function
@Composable
expect fun ImageFromByteArray(byteArray: ByteArray, modifier:Modifier = Modifier, scale: ContentScale = ContentScale.Fit)
// androidMain actual function
@Composable
actual fun ImageFromByteArray(byteArray: ByteArray, modifier: Modifier, scale: ContentScale) {
var imageBitmap by remember { mutableStateOf(ImageBitmap(height = 1, width = 1)) }
imageBitmap = BitmapFactory.decodeByteArray(byteArray,
0,
byteArray.size).asImageBitmap()
Image(
modifier = modifier,
bitmap = imageBitmap,
contentDescription = "",
contentScale = scale
)
}
// jvmMain actual function
@Composable
actual fun ImageFromByteArray(byteArray: ByteArray, modifier: Modifier, scale: ContentScale) {
val scope = rememberCoroutineScope()
var imageBitmap by remember { mutableStateOf(ImageBitmap(height = 1, width = 1)) }
scope.launch {
imageBitmap.prepareToDraw()
imageBitmap = Image.makeFromEncoded(byteArray).toComposeImageBitmap()
}
Image(
modifier = modifier,
bitmap = imageBitmap,
contentDescription = "",
contentScale = scale
)
}
`

Thanks @lusc8520  ....using adapted version of that now in https://github.com/joreilly/GeminiKMP/blob/main/composeApp/src/androidMain/kotlin/actual.kt

Could you try this?:
https://stackoverflow.com/a/8370299/9133703

While folks are waiting on that pr, here's some of the guts of it worked as an extension function so that you can use the library as is. This just steals the main punchline from vinceglb's pr of using contentResolver to turn a Uri into a ByteArray. Assumes the original works correctly in iOS. Handling the non-null assertion and supplying the Android context is dealt with elsewhere.
Common:
expect suspend fun MPFile<Any>.getBytes(): ByteArray
iOS:
actual suspend fun MPFile<Any>.getBytes(): ByteArray {     return this.getFileByteArray() }
Android:
actual suspend fun MPFile<Any>.getBytes(): ByteArray {     return AndroidApplication.getApplicationContext().contentResolver.openInputStream(this.platformFile as Uri).use { stream -> stream!!.readBytes() } }

Thanks @randyheaton its works with your workaround.
@vinceglb Did you know if the PR is mergeable ?

@c4software I sent a message to other maintainers, I'll let you know as soon as I have any news 👍

@c4software I discuss with Wavesonics, it supposed to have a reviewer before merging. So, I'm waiting to a maintainer to review it. If it takes too long, I'll check with Wavesonics how to proceed.

Thanks for you feedback 👍


Could you update to alpha 4 please?

Is there any way you could upgrade this to alpha .4 from the current .2?

Yes, I’ll work on getting that update this next week 👍
On Thu, Jan 31, 2019 at 12:40 AM Chris Pettigrew<EMAIL_ADDRESS>wrote:

Is there any way you could upgrade this to alpha .4 from the current .2?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SardiusMedia/sardius-fullcalendar-wrapper/issues/2,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AldDoU8hNzs3CdzmuIQt26QWMCXve4iXks5vIo_YgaJpZM4abrXy
.

Thank you!  If you can update your NPM package too that would be amazing :)

Now using version 4.0.0-alpha.4, and npm package has been updated.

Thanks for this!  out of interest.  How would you integrate the scheduler plugin into this manually without you having to import it yourself?

Hi, are you interested in updating again? Following fullcalendar's documentation - https://fullcalendar.io/docs/v4/release-notes - this is how I installed the latest:
npm install --save @fullcalendar/core @fullcalendar/daygrid
which gives me this in my package.json -
    "@fullcalendar/core": "^4.0.0-beta.4",
    "@fullcalendar/daygrid": "^4.0.0-beta.4",

This is interesting because the latest release I can see they have on github is beta.2.
Anyways, not sure how this plays with your wrapper.  Thanks!


[Request] Add More Examples

What do you want to request?
Adding more examples
Do you have any solutions?
If you have, please tell us so we can add(or at least think about) your solution!
Since we have lots of bot codes in test/, we might just need to change some and put them into the example.
Do you have anything to tell us about your request?
Right now harmony is getting known to many peoples and some junior coders can be confused if there are not enough examples.

i think it will be better if we post more examples on official instructions https://github.com/harmonyland/harmonyland.github.io

I think we could add examples on:

Threads ( creating, joining, reading messages, getting a list of (active) threads )
Message components ( Creating, responding to click )
Simple permission check, for example, command that checks if a user has an admin
Interaction response ( how to work with responses, for example MESSAGE_UPDATE type)


doctl: Resolve versions based on GitHub releases

Description
Previously, doctl was pinned to a rather old release (1.56.0). Use the GitHubVersionStrategy to find versions based on GH releases, and simplify URL construction by providing a BinaryTemplate rather than a full URLTemplate, since the binaries live at standard GitHub release paths.
While we're here, add support for doctl Linux ARM binaries since they are now available.
Motivation and Context
arkade get doctl was downloading a rather old version.

[ ] I have raised an issue to propose this change, which has been given a label of design/approved by a maintainer (required)

How Has This Been Tested?
make e2e
Fails on an unrelated test (k10multicluster is broken on its latest release).
test-tool.sh
% hack/test-tool.sh doctl
+ ./arkade get doctl --arch arm64 --os darwin --quiet
+ file /home/awg/.arkade/bin/doctl
/home/awg/.arkade/bin/doctl: Mach-O 64-bit arm64 executable, flags:<|DYLDLINK|PIE>
+ rm /home/awg/.arkade/bin/doctl
+ echo

+ ./arkade get doctl --arch x86_64 --os darwin --quiet
+ file /home/awg/.arkade/bin/doctl
/home/awg/.arkade/bin/doctl: Mach-O 64-bit x86_64 executable
+ rm /home/awg/.arkade/bin/doctl
+ echo

+ ./arkade get doctl --arch x86_64 --os linux --quiet
+ file /home/awg/.arkade/bin/doctl
/home/awg/.arkade/bin/doctl: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=kq9KHvC4kgxvm0B9wjg0/XHes6Wf8FXnCldycDaJo/u_CQFYqAoF-SIQClBsM6/5WfFN-cg8sK4HRo2W9sL, with debug_info, not stripped
+ rm /home/awg/.arkade/bin/doctl
+ echo

+ ./arkade get doctl --arch aarch64 --os linux --quiet
+ file /home/awg/.arkade/bin/doctl
/home/awg/.arkade/bin/doctl: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=70Ctm0l2Yic7VdKGtWnz/TYE8O_nbx80ImpboFzvs/fOj9d1ZzSQtqA2w1Xi4u/UwAaAXnoPDPeHF_SugIh, with debug_info, not stripped
+ rm /home/awg/.arkade/bin/doctl
+ echo

+ ./arkade get doctl --arch x86_64 --os mingw --quiet
+ file /home/awg/.arkade/bin/doctl.exe
/home/awg/.arkade/bin/doctl.exe: PE32+ executable (console) x86-64, for MS Windows, 15 sections
+ rm /home/awg/.arkade/bin/doctl.exe
+ echo

Local test
% ./arkade get --path . doctl
Downloading: doctl
2024/06/03 10:16:05 Looking up version for doctl
2024/06/03 10:16:05 Found: v1.107.0
Downloading: https://github.com/digitalocean/doctl/releases/download/v1.107.0/doctl-1.107.0-linux-amd64.tar.gz
15.27 MiB / 15.27 MiB [-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00%
/tmp/arkade-1975906647/doctl-1.107.0-linux-amd64.tar.gz written.
2024/06/03 10:16:06 Extracted: /tmp/arkade-1975906647/doctl
2024/06/03 10:16:06 Copying /tmp/arkade-1975906647/doctl to doctl

Wrote: doctl (33.05MB)

Run the following to copy to install the tool:
sudo install -m 755 doctl /usr/local/bin/doctl

🚀 Speed up GitHub Actions/GitLab CI + reduce costs: https://actuated.dev

% ./doctl version
doctl version 1.107.0-release
Git commit hash: 42fc8b6f

Types of changes

[ ] 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 change)

Documentation

[ ] I have updated the list of tools in README.md if (required) with ./arkade get --format markdown
[ ] I have updated the list of apps in README.md if (required) with ./arkade install --help

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s

[ ] I have tested this on arm, or have added code to prevent deployment

Nice to see the recent VersionStrategy being adopted more widely.  Just one comment on the testing changes, which I think we can align better with the other binary template test approaches

I'll let @rgee0 update the style of the test per https://github.com/alexellis/arkade/pull/1078/files/376aa2cd02bd2c43fb3b3ce8a86336f3b69a2f28#diff-9c6c771d0b3b1914ffc067cd8c554aff00676cd88540e7462322b91e55557630
I'll merge the bug for the arm template, then change this back myself, unless you know of a reason why an arm64 binary would work on an armv7 platform?


add cost property to agents

users should be able to fetch the price from each agent involved in their chat.

@kevin666aa for you to consider adding this functionality back in v0.2

just curious about the reason why cost functionality is removed in v0.2. thx.

@kevin666aa An ideal implementation (to support analysis, tracing, etc.) would be to record the cost of each message. Adding a timestamp field would also be useful. These would support many other metrics for benchmarking etc.

Note: it would be nice to have that also for OpenAI assistant API. It seems that #769 wouldn't work in that case

@kevin666aa please check the comment above if you haven't.

Thanks. Adding tasks to #770:

supporting cost calculation in assistant API
record the cost of each message.
Add time stamp to creation of each messages.

Thanks. Adding tasks to #770:

supporting cost calculation in assistant API
record the cost of each message.
Add time stamp to creation of each messages.

Hi. I wonder if functions are included in the cost? thanks.

Closing this issue due to inactivity. If you have further questions, please open a new issue or join the discussion in AutoGen Discord server: https://discord.com/invite/Yb5gwGVkE5


Multiple discord post formats

Different groups / squadrons have different needs when reporting to Discord. It would be useful to support different formats. For example, a simplified black-and-white format with system titles in bold:

HIP 117865
Celestial Light Brigade : +51 Inf, 808k Bounties

To achieve this would need the following approach:

[x] Rationalise all discord formatting code into a single formatter class, which has two main entry-point methods: get_plain_text() and get_embed_fields().

Initially there will be just one formatter -- the default -- to replicate the current format.
Each method takes an instance of the Activity class as its source data.

[x] Place the formatter class in a subfolder
[x] Add a picker to the preferences screen to allow the formatter to be chosen from all available in the subfolder. Could do this for each Discord channel if we're being completist (maybe for v2?)
[x] Use the selected formatter when posting to Discord.

Closed in 84f35f64988f8bffc03b2b762776d95ac3267b70


child_process streams missing destroy property

> c = chp.spawn('python', ['-v']);
> c.stdout.destroy()
undefined

Right now child_process$ChildProcess's stdout and stderr are declared as stream$Readable. Each of these, including stdin have some additional properties beyond stream$Readable/Writable including destroy.

All ReadStream and WriteStream streams in current node.js use destroy() and close() no longer exists.


Gemspec is 0.2.0

It appears the Gemspec on rubygems is 0.2.0 and tied to the December 2015 commit, but there are later commits that are needed, including the commit that includes 'colorize' in "lets-encrypt.rake" to allow logging to work.
If I knew the process, I'd make a pull request to update runygems,but alas, I do not 😞

bump


update addon-framework to fix addon config remove issues

Fix: https://issues.redhat.com/browse/ACM-10982

does it need to be cherry-picked?

/approve
/lgtm


TST: Reference to non-existing class TimedeltaSeries and TimestampSeries

Pandas doesn't define TimedeltaSeries and TimestampSeries:
https://github.com/pandas-dev/pandas-stubs/blob/b4db0a62efb0e7e1ca890bcd99c6ae78e1af7f19/tests/test_timefuncs.py#L12

Yes, but those types are defined in pandas-stubs and the import is surrounded by if TYPE_CHECKING .
The tests will only work with the stubs, not without them.


[Question] Genshin commissions not updating

This isn't actually an issue with your library, but more of a question that you may have the answer to.
I found that the resin values get updated within ~30-60 seconds, but I noticed that the commission count and daily reward boolean hasn't updated in over an hour. Is that normal? Do you know if there's a commission-specific setting that I might need to enable/disable to get this to update properly?
Example API response snippet:
{'retcode': 0, 'message': 'OK', 'data': {'current_resin': 2, 'max_resin': 160, 'resin_recovery_time': '75724', 'finished_task_num': 0, 'total_task_num': 4, 'is_extra_task_reward_received': False, 'remain_resin_discount_num': 0, 'resin_discount_num_limit': 3, 'current_expedition_num': 5, 'max_expedition_num': 5, 'expeditions': [...]

finished_task_num is 0, even though I compelted my commissions >1hr ago.
Amazing library, btw. Keep it up!!
Thanks!

For me it generally updates at the same rate as resin so I'm unsure as to why you'd be experiencing such a major delay.

Odd.
Sanity check:  'finished_task_num' or 'completed_commissions" are in fact the purple commissions/quests that you get 4 of each day?
I'll try again tomorrow. Hopefully it was a fluke?

I'm going to close this issue.
I opened up the hoyolab app and I see the exact same commission data that the API is vending, which does not match the in-game values (even though the resin is 100% accurate, so I know I'm hitting the correct account).
Thanks for the info!

Final update: It started working as expected today with no changes on my end :)

I have a bit more info. The commission count incorrectly resets to zero 4 hours before it's supposed to. I tried to look for a timezone setting through hoyolab but couldn't find one.
Hopefully it gets fixed, but I don't think there's anything we can do on our end.

It's most likely just using Chinese reset times since that's where the servers are located.

That's a great theory.
I'd hope that it would use the account's region, but I'll work around it locally in an ugly way, instead, haha.
Thanks again for the wonderful library!


Broke the ability to change backend via config

Btw, for the next release, will be adding an automated test for the sample config so this doesn't happen again


Initial iOS release - 0.4.0

Updates CMake and the Info.Plist entry manually (for now) to set the appropriate alpha version release number.

@matteblair / @karimnaaji how do you folks normally handle / do you handle tagging releases on the main ES codebase for Android?

We do tag releases for android. Example last android release is tagged as 0.4.8-android.
We can follow same semantics for tagging ios releases. Example this one will be: 0.4.0-ios. We also make sure the version number in the tag matches the one in android/tangram/gradle.properties

Ok I'll update the cmake file for 0.4.0 then so we're properly semantic.

To cleanup this a bit we can safely remove all the cmake related versioning, I added those as a placeholders when adding binary framework through cmake (reference here) but
reading the docs more closely it seems that this particular option FRAMEWORK_VERSION only affects OSX.

@karimnaaji removed.


Improvement for k8s.io/docs/tasks/administer-cluster/configure-upgrade-etcd/

I couldn't find the options to pass etcd certificates in the etcdctl api from the doc. Could you append this example in the doc: https://kubernetes.io/docs/tasks/administer-cluster/configure-upgrade-etcd/
ETCDCTL_API=3 etcdctl --endpoints=https://[<IP_ADDRESS>]:2379 \
--cacert=/etc/kubernetes/pki/etcd/ca.crt \
--cert=/etc/kubernetes/pki/etcd/server.crt \
--key=/etc/kubernetes/pki/etcd/server.key member list

Rather than include this detail, I wonder if it makes sense to hyperlink to the etcd documentation on the same topic.

Rather than include this detail, I wonder if it makes sense to hyperlink to the etcd documentation on the same topic.

Rather than include this detail, I wonder if it makes sense to hyperlink to the etcd documentation on the same topic.

I just added the link of the doc which I am referring to!!

Rather than include this detail, I wonder if it makes sense to hyperlink to the etcd documentation on the same topic.

I just added the link of the doc which I am referring to!!

@ravisinha0506 - when I mention the etcd documentation, I mean https://etcd.io/docs/

/remove-lifecycle rotten

/remove-lifecycle rotten

/remove-lifecycle stale

/remove-lifecycle rotten

/remove-lifecycle stale

/close
This has been fixed.


Support for domino

jsdom is painfully slow and has native dependencies.  It would be great if jest would support using the domino DOM implementation instead: https://github.com/fgnass/domino

Thank you for reporting this issue and appreciate your patience. We've  notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

This should be possible by providing the testEnvironment_EXPERIMENTAL config option. I'm going to close this because it isn't on Jest's roadmap but I will most certainly welcome contributions to Jest around this. See the JSDOMEnvironment and NodeEnvironment for examples.


Post release automated changes for documentintelligence releases

Post release automated changes for azure-rest-ai-document-intelligence

API change check
API changes are not detected in this pull request.


AtClient: Deprecate the (experimental) AtProtocolEmitted in prefs and replace with AtEncryptionScheme

Is your feature request related to a problem? Please describe.

Encryption / decryption is a client-side activity
i.e. it does not relate to AtProtocol per se
so the name is misleading

Describe the solution you'd like

Deprecate the (experimental) AtProtocolEmitted in AtClient prefs and replace with AtEncryptionScheme
Once complete, create tickets to replicate in the Java, Python and C SDKs

Describe alternatives you've considered
No response
Additional context

In the medium term we will need to refactor our client SDKs so that data Encryption and data Decryption implementations can be added by client code and invoked based on the corresponding encryption-related metadata for a given data record
Intention being that users should be able to use our AtClient libraries in whatever language while being able to plug in their own encryption / decryption schemes with minimal effort

Will complete in PR80 if I can find two spare hours some day


Card 3979 always display the day parts page for account admins

Added .idea to gitignore
Added setup section to readme
Changed Day Parts page logic to be visible only for admins and account owners

This branch resolves related issue:
https://peachworks.leankit.com/Boards/View/267929177/437845808

@PSkierniewski , can you please review your editor settings? We use 2 spaces indent and in your updates there are 4 spaces, isn't it?

@darushka Thanks for pointing that out, it's fixed now.

@PSkierniewski please merge/squash

Merged at: 597987b73ff89b0444e308f715404e5dd7316d56

v1.0.9


[FEAT] Gas Injection System

Get the gis working on hardware

TESCAN (SIM)
-- Drawbeam function returns error (Invalid request) no further info

Thermo (SIM)
-- Returns error GIS line is not controllable


Bootstrapping node on behalf of inclusion controller does nothing - possibly HA/Server issue

15:05:01.398 CNTRLR   Node 4 was included by another controller:
                      basic device class:    Routing Slave
                      generic device class:  Binary Switch
                      specific device class: Unused
                      supported CCs:
                        · Z-Wave Plus Info (0x5e)
                        · Security 2 (0x9f)
                        · Security (0x98)
                        · Supervision (0x6c)
                        · Transport Service (0x55)
                        · Binary Switch (0x25)
15:05:01.398 CNTRLR   [Node 004] Waiting for initiate command to bootstrap node...
15:05:11.401 CNTRLR   [Node 004] no initiate command received, bootstrapping node...
15:05:11.401 CNTRLR » [Node 004] Assigning SUC return route...
15:05:11.406 SERIAL » 0x0105005104c36c                                                     (7 bytes)
15:05:11.406 DRIVER » [Node 004] [REQ] [AssignSUCReturnRoute]
                        payload: 0x04c3
15:05:11.408 SERIAL « [ACK]                                                                   (0x06)
15:05:11.417 SERIAL « 0x0104015101aa                                                       (6 bytes)
15:05:11.418 SERIAL » [ACK]                                                                   (0x06)
15:05:11.419 DRIVER « [RES] [AssignSUCReturnRoute]
                        was executed: true
15:05:11.468 SERIAL « 0x01210051c30000000000000000000000000000000000000000000000000000000 (35 bytes)
                      0004c
15:05:11.468 SERIAL » [ACK]                                                                   (0x06)
15:05:11.468 DRIVER « [REQ] [AssignSUCReturnRoute]
                        callback id:     195
                        transmit status: OK
15:05:11.471 SERIAL » 0x010e00a90104029f042500000000c425                                  (16 bytes)
15:05:11.471 DRIVER » [Node 004] [REQ] [SendDataBridge]
                      │ source node id:   1
                      │ transmit options: 0x25
                      │ callback id:      196
                      └─[Security2CCKEXGet]
15:05:11.474 SERIAL « [ACK]                                                                   (0x06)
15:05:11.475 SERIAL « 0x010401a90152                                                       (6 bytes)
15:05:11.475 SERIAL » [ACK]                                                                   (0x06)
15:05:11.476 DRIVER « [RES] [SendDataBridge]
                        was sent: true
15:05:11.488 SERIAL « 0x011d00a9c400000100ba7f7f7f7f00000300000000030100007f7f7f7f7f4a    (31 bytes)
15:05:11.489 SERIAL » [ACK]                                                                   (0x06)
15:05:11.489 DRIVER « [REQ] [SendDataBridge]
                        callback id:            196
                        transmit status:        OK, took 10 ms
                        routing attempts:       1
                        protocol & route speed: Z-Wave, 100 kbit/s
                        ACK RSSI:               -70 dBm
                        ACK channel no.:        0
                        TX channel no.:         0
15:05:11.495 SERIAL « 0x010f00a8000104069f050002018300bafb                                (17 bytes)
15:05:11.495 SERIAL » [ACK]                                                                   (0x06)
15:05:11.495 DRIVER « [Node 004] [REQ] [BridgeApplicationCommand]
                      │ RSSI: -70 dBm
                      └─[Security2CCKEXReport]
                          echo:                       false
                          supported schemes:
                          · KEXScheme1
                          supported ECDH profiles:
                          · Curve25519
                          CSA requested:              false
                          requested security classes:
                          · S2_Unauthenticated
                          · S2_Authenticated
                          · S0_Legacy

can be tested with the RT_SUCAndSISFunctionality_Rev01 certification test

I think there's an inherent assumption in the design that inclusion is initiated by the primary controller. Currently the only way for an application to process the grant security classes or validate dsk and enter pin steps is by providing callbacks as part of calling Controller.beginInclusion right? I see in the docs that these callbacks can be specified in the driver options, maybe we need to switch to using that in the server so that there is always a callback available to the controller/driver?

I see in the docs that these callbacks can be specified in the driver options, maybe we need to switch to using that in the server so that there is always a callback available to the controller/driver?

Yep, I added that setting while working on support for Inclusion controllers for this exact reason.

I see in the docs that these callbacks can be specified in the driver options, maybe we need to switch to using that in the server so that there is always a callback available to the controller/driver?

Yep, I added that setting while working on support for Inclusion controllers for this exact reason. The problem here was though that only one application can provide those, so it is probably Z-Wave JS UI when it is the one hosting the server.

can we make it optionally a list that the driver loops through? And maybe add a method to add callbacks outside of options? We can then add our callbacks immediately after we start the server which will work in both the embedded and standalone context

The only way I could imagine a list working would be to call them all at once and wait until the first one resolves, but then the others won't get notified that the callback already resolved.

Just checked. You can already change the inclusionUserCallbacks using driver.updateOptions(...). Only one set of callbacks can be active at any given time, but that should be okay.
Maybe when using the core addon, HA should handle the callbacks. And if using Z-UI, Z-UI should handle them.

Also I confirmed with Z-UI which also gets this wrong. The driver calls the callbacks, but they are never handled.

Maybe when using the core addon, HA should handle the callbacks. And if using Z-UI, Z-UI should handle them.

Before we do this, is there any alternative that allows both applications to be able to handle this in parallel? It feels like a bad user experience to have things work differently depending on the addon you are using.

Thought about this a bit more. Pretty sure Z-UI can only handle such a callback if the UI is visible, I guess the same would be true for HA.
Maybe this should be solved on both sides similarly to how HA does driver logs:
"subscribe" by configuring the callbacks when opening the relevant UI, "unsubscribe" by removing them again when leaving it.
/cc @robertsLando

What if there are 2 users logged then?


coinbase

https://www.coinbase.com/oauth/authorize?account=all&client_id=0494e00fb3b297b4fa8dc44e55ab318ff53d1c2899772af0fa883a3a2b73923e&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fcoinbase.com%2Foauth%2Fjavascript_sdk_redirect&response_type=code&scope=wallet%3Aaccounts%3Aread%2Cwallet%3Atransactions%3Aread%2Cwallet%3Adeposits%3Aread%2Cwallet%3Awithdrawals%3Aread%2Cwallet%3Aaddresses%3Aread%2Cwallet%3Aaddresses%3Acreate%2Cwallet%3Auser%3Aread%2Cwallet%3Auser%3Aemail

We'd be happy to look into this for you.
Kindly file a support ticket here
https://forms.gle/xABEcR5MwDBJAm1c6

We'd be happy to look into this for you
Kindly file a support ticket below
https://forms.gle/VcaSaDQysAwZBQp77


How to use different GPU cards to render to different image sensors? or how to assign a sensor to a certain gpu.


Imported google checkstyle rules

These rules try to mimic original google checkstyle rules as much as possible. Some of the previous rules were removed during the progress:

No more method length limitations.
No more magic number violations.
No more CyclomaticComplexity rule.

Coverage increased (+0.02%) to 65.456% when pulling a73bb84d1cad7b50861fb8ff2ad830da0a4d9d39 on laurpulk:google-checkstyle-merged into 680e780872e7c30c13a51413091e804692eb0ac3 on tdd-pingis:master.


chore: promote test15 to version 0.0.24

chore: promote test15 to version 0.0.24
this commit will trigger a pipeline to generate the actual kubernetes resources to perform the promotion which will create a second commit on this Pull Request before it can merge

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign q1323829945
You can assign the PR to them by writing /assign @q1323829945 in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

@q1323829945: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

verify
41e1f0ea695a1a0ed344a14ed7c94da274425fec
link
/test verify

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


About installing cachet-monitor

Precondition

Already installed CachetHQ
Successed to access Dashboard
Have some WEBsites which I want to monitor status by using CachetHQ
Using Amazon Linux
Using Apache 2.4
Using PHP 7.0
Using Mysql 14.14

Following the procedure which is written on this site, I executed cachet-monitor -c /~~~/~~~~~~.yml,
Now an error occuered.

WARN[0000] Unable to parse configuration file
PANI[0000] Unable to start (reading config): yaml: line 61: did not find expected key
panic: (*logrus.Entry)

I edited from line1 to line13 about config.yml which I renamed from config.sample.yml.
Following the error message,

did not find expected key

In config file, "cachet api token" may be incorrect, I think.
(I wrote the API-KEY which appeared when I excuted php artisan key:generate)
Does anyone  know about this error? I hope someone would give me some advise.
regards,

Validate your yaml file here http://www.yamllint.com/

Validate your yaml file here http://www.yamllint.com/

Solved my issue!


Avoid importing the same files multiple times into a vector store

Is your feature request related to a problem? Please describe.
When using Langchain::Vectorsearch::Pgvector#add_data with file paths, I noticed that it imports the same file again if it was already imported in a previous run, which I did not expect to happen.
Describe the solution you'd like
I was thinking of adding a checksum collumn or the like to the default schema and skip files with the same checksum.
Describe alternatives you've considered
I was trying to add that logic described above myself, but found it too hacky and I think having that behaviour makes sense to have by default.
Additional context
No. Thanks for the work on this.

If this is something that makes sense to you I can try to compile a PR.

@ahx I'm not convinced that this belongs in Langchain.rb. Shouldn't the developer do this in their own application instead?

@andreibondarev I think I understand what you mean. The main reason to create this ticket was that I stumbled across this while trying to build a demo to show Langchain.rb to my colleagues and without this it does not demo that nice.
But I totally agree. In a production setup you probably have that step implemented before the indexing part.
I'll close this issue. Thanks for the feedback. 🚀

@ahx I'm open to considering other approaches. Maybe there's a way to get rid of redundant chunks AFTER all the files have been indexed into a vector DB. Or perhaps you can enforce uniqueness at the vector DB level by passing in metadata. Which vector DB are you using?


ansible-lint fails when using role with embeded modules

Issue Type

Bug report

Ansible and Ansible Lint details
ansible==<IP_ADDRESS>
ansible-lint==2.5.0

Desired Behaviour
ansible-lint versions before 2.5.0 used to work fine with role with embedded modules.
Actual Behaviour
ansible-lint fails when ran against a playbook using a role with embedded modules.
Traceback (most recent call last):
  File "/Users/mgagne/venv/ansible/bin/ansible-lint", line 125, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/Users/mgagne/venv/ansible/bin/ansible-lint", line 112, in main
    matches = runner.run()
  File "/Users/mgagne/venv/ansible/lib/python2.7/site-packages/ansiblelint/__init__.py", line 222, in run
    skip_list=set(self.skip_list)))
  File "/Users/mgagne/venv/ansible/lib/python2.7/site-packages/ansiblelint/__init__.py", line 134, in run
    matches.extend(rule.matchtasks(playbookfile, text))
  File "/Users/mgagne/venv/ansible/lib/python2.7/site-packages/ansiblelint/__init__.py", line 62, in matchtasks
    for task in ansiblelint.utils.get_action_tasks(yaml, file):
  File "/Users/mgagne/venv/ansible/lib/python2.7/site-packages/ansiblelint/utils.py", line 368, in get_action_tasks
    if 'include' not in task.keys()]
  File "/Users/mgagne/venv/ansible/lib/python2.7/site-packages/ansiblelint/utils.py", line 326, in normalize_task
    return normalize_task_v2(task)
  File "/Users/mgagne/venv/ansible/lib/python2.7/site-packages/ansiblelint/utils.py", line 258, in normalize_task_v2
    action, arguments, result['delegate_to'] = mod_arg_parser.parse()
  File "/Users/mgagne/venv/ansible/lib/python2.7/site-packages/ansible/parsing/mod_args.py", line 304, in parse
    raise AnsibleParserError("no action detected in task. This often indicates a misspelled module name, or incorrect module path.", obj=self._task_ds)
ansible.errors.AnsibleParserError: no action detected in task. This often indicates a misspelled module name, or incorrect module path.

While we're currently not seeing this in the OpenStack-Ansible roles because we're capped at <=2.3.9 this is something that currently effects a few of our roles because we do use embedded modules. I've not looked into the code to see what the issue is however this is forcing us to keep our constraints in place until its resolved.
Roles that we have which are effected:

https://github.com/openstack/openstack-ansible-os_neutron
https://github.com/openstack/openstack-ansible-os_keystone
https://github.com/openstack/openstack-ansible-galera_server

Thanks @mgagne for the excellent bug report and @cloudnull for the extra detail and pull request.
I'll leave this unclosed for now - I consider #146 a workaround.
I'll update this again when I have a proper fix (or give up looking for a proper fix)

Thank @willthames for the review. If there's anything we can do to help out, look into things, and or test please let us know.

I'm not sure this is only a problem with embedded modules.
Looking at openstack-ansible-os_neutron, it is relying on config_template, which is not embedded in the role.
However, it's also the case that ansible-lint was ignoring looking under roles for libraries. I think I have a change for that in 42988c4 so it might be worth testing against the v2.6 branch and see if that improves matters.

@willthames i'll give that a go and report back. Thanks!

In case it's relevant: we have the same symptoms and we also have an embedded module. We can help test a patch.

Hi, I think I might have fixed this now. Certainly a simple playbook that just includes the openstack galera role works, once I also installed the openstack-ansible-plugins repo too.
My main concern is whether this change misses anything.
I've pushed ansible-lint v2.7.0rc1 to pip so that this can be tested, or you can use the v2.7 source branch.
Please note that v3.0 is around the corner, so I've rebased v3.0 on this change, and 3.0.0rc6 is now available for testing too.

v2.7 is released.


Migration of broken links

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Fixes a broken link to testgrid dashboard in README.md
Which issue(s) this PR fixes:
This is related to an umbrella issue and fixes a task of the same:
https://github.com/kubernetes/test-infra/issues/30370

/ok-to-test
/lgtm

/approve


Debounce on slider on slide?

I have nouislider populating a chart, however the lack of debounce in the slider renders the chart oddly when changing the data (sliding the slider).
Is there a debounce we can add where the slider does not send the slider information until a specific time is added? can I add an equation to the slide callback to do this?

Hi Erik,
Did you find any solution for the above??
Thanks in advance!


User/masudars/microsoft winget create azure pipelines migration to 1 es

[winget-create] winget-create azure-pipeline migration to 1ESPipeline
This PR migrates the following winget-create publish pipelines to 1ESPipeline.

azure-pipelines.yml

[How Validated:]

Initiate the pipeline manually from the topic branch that includes these changes and confirm that the pipeline functions as it did before.

Compare the artifacts generated by the pipeline before and after the migration to ensure that they match.

[x] Have you signed the Contributor License Agreement?

[ ] Are you working against an Issue?

Microsoft Reviewers: Open in CodeFlow

/azp run

/azp run


Bugs when app is landscape mode

Project settings：

UIViewController setups:

Please make sure to add the following line in your AppDelegate file
‘’’
func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask {
return ViewAR.orientation
}
‘’’

@AFathi thx, but ViewAR.orientation only returns "portrait", while i want to use "landscape right" mode in my app, can't it support this?

@joyjones,
It will only return portrait when the user is in a UIViewController that contains an AR scene. However, if you want to support landscape right you may use the following option to specify which objects you want to view in landscape mode while in a UIViewController that contains an AR scene:
recorder?. inputViewOrientationMode = .manual(subviews:[button1, icon2, captureBtn])

Please check ARView and ARInputViewOrientationMode options.
I hope that helped :)
-Ahmed

The landscape problem seems to be ARKit's bug. Not specifically in ARVideoKit, we can fix it by rotating camera image by setting background.contents.
However, this solution makes app slower but we don't need to rotate views manually in deviceDidRotate
func renderer(_ renderer: SCNSceneRenderer, updateAtTime time: TimeInterval) {
    guard let capturedImage = sceneView.session.currentFrame?.capturedImage else {
        return
    }
    let ciImage = CIImage(cvPixelBuffer: capturedImage)
    let orientation = CGImagePropertyOrientation.from(statusBarOrientation: UIApplication.shared.statusBarOrientation)
    let result = ciImage.oriented(orientation)
    if let cgImage = self.convertCameraImageContext.createCGImage(result, from: result.extent) {
        sceneView.scene.background.contents = cgImage
    }
}

Has anyone managed to get this to work in LandscapeRight? I've tried all the above and the video is still in portrait mode with the background rotated and the overlaying scene squished to fit.

Having this issue with the example app on an iPad mini


fixfix mysql catalog not check auth

Proposed changes
Issue Number: close #xxx
set needCheckColumnPriv=true
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

旧优化器改回之前的鉴权逻辑，就不会有现在的问题了


[Error message before server loads] ServerMain ERROR Invalid option %msg

Spark link
https://spark.lucko.me/QjFJSr33YA
Expected behavior
There would not be an error message
Observed/Actual behavior
After loading libraries, before loading the Minecraft auth environment, there is an error message: ServerMain ERROR Invalid option %msg - This sends twice
This does not show up on the logs

Console, copy -> pasted directly
rhythmic@rhythmic-computer:~/Applications/tests$ bash start.sh
WARNING: Using incubator modules: jdk.incubator.vector
Starting org.bukkit.craftbukkit.Main
System Info: Java 17 (OpenJDK 64-Bit Server VM 17.0.7+7-LTS) Host: Linux 5.19.0-43-generic (amd64)
Loading libraries, please wait...
2023-06-14 09:36:02,874 ServerMain ERROR Invalid option %msg
2023-06-14 09:36:02,879 ServerMain ERROR Invalid option %msg
[09:36:07 INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[09:36:08 INFO]: Loaded 7 recipes
[09:36:08 INFO]: Starting minecraft server version 1.20.1
[09:36:08 INFO]: Loading properties
[09:36:08 INFO]: This server is running Purpur version git-Purpur-1991 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: cc465d6 on HEAD)
[09:36:08 INFO]: Server Ping Player Sample Count: 12
[09:36:08 INFO]: Using 4 threads for Netty based IO
[09:36:09 INFO]: [ChunkTaskScheduler] Chunk system is using 1 I/O threads, 3 worker threads, and gen parallelism of 3 threads
[09:36:09 INFO]: Default game type: SURVIVAL
[09:36:09 INFO]: Generating keypair
[09:36:09 INFO]: Starting Minecraft server on *:25565
[09:36:09 INFO]: Using epoll channel type
[09:36:09 INFO]: Paper: Using libdeflate (Linux x86_64) compression from Velocity.
[09:36:09 INFO]: Paper: Using OpenSSL 3.0.x (Linux x86_64) cipher from Velocity.
[09:36:09 INFO]: [spark] Loading server plugin spark v1.10.41
[09:36:09 INFO]: Server permissions file permissions.yml is empty, ignoring it
[09:36:09 INFO]: Preparing level "world"
[09:36:10 INFO]: Preparing start region for dimension minecraft:overworld
[09:36:10 INFO]: Time elapsed: 169 ms
[09:36:10 INFO]: Preparing start region for dimension minecraft:the_nether
[09:36:10 INFO]: Time elapsed: 40 ms
[09:36:10 INFO]: Preparing start region for dimension minecraft:the_end
[09:36:10 INFO]: Time elapsed: 68 ms
[09:36:10 INFO]: [spark] Enabling spark v1.10.41
[09:36:11 INFO]: [spark] Using Paper ServerTickStartEvent for tick monitoring
[09:36:11 INFO]: [spark] Starting background profiler...
[09:36:12 INFO]: Running delayed init tasks
[09:36:12 INFO]: Done (3.173s)! For help, type "help"
> spark profiler
[09:36:23 INFO]: [⚡] Profiler is already running!
[09:36:23 INFO]: [⚡] It was started automatically when spark enabled and has been running in the background for 11s.
[09:36:23 INFO]: [⚡] To view the profiler while it's running, run:
[09:36:23 INFO]: [⚡]   /spark profiler open
[09:36:23 INFO]: [⚡] To stop the profiler and upload the results, run:
[09:36:23 INFO]: [⚡]   /spark profiler stop
[09:36:23 INFO]: [⚡] To cancel the profiler without uploading the results, run:
[09:36:23 INFO]: [⚡]   /spark profiler cancel
> spark profiler stop
[09:36:29 INFO]: [⚡] Stopping the profiler & uploading results, please wait...
[09:36:31 INFO]: [⚡] Profiler stopped & upload complete!
[09:36:31 INFO]: https://spark.lucko.me/QjFJSr33YA
[09:36:31 INFO]: [⚡] Restarted the background profiler. (If you don't want this to happen, run: /spark profiler cancel)
>
[09:36:40 INFO]: Stopping server
[09:36:40 INFO]: [spark] Disabling spark v1.10.41
[09:36:40 INFO]: Saving players
[09:36:40 INFO]: Saving worlds
[09:36:40 INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[09:36:40 INFO]: [ChunkHolderManager] Waiting 60s for chunk system to halt for world 'world'
[09:36:40 INFO]: [ChunkHolderManager] Halted chunk system for world 'world'
[09:36:40 INFO]: [ChunkHolderManager] Saving all chunkholders for world 'world'
[09:36:41 INFO]: [ChunkHolderManager] Saved 529 block chunks, 529 entity chunks, 0 poi chunks in world 'world' in 0.75s
[09:36:41 INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[09:36:41 INFO]: Saving chunks for level 'ServerLevel[world_nether]'/minecraft:the_nether
[09:36:41 INFO]: [ChunkHolderManager] Waiting 60s for chunk system to halt for world 'world_nether'
[09:36:41 INFO]: [ChunkHolderManager] Halted chunk system for world 'world_nether'
[09:36:41 INFO]: [ChunkHolderManager] Saving all chunkholders for world 'world_nether'
[09:36:41 INFO]: [ChunkHolderManager] Saved 529 block chunks, 529 entity chunks, 0 poi chunks in world 'world_nether' in 0.43s
[09:36:41 INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[09:36:41 INFO]: Saving chunks for level 'ServerLevel[world_the_end]'/minecraft:the_end
[09:36:41 INFO]: [ChunkHolderManager] Waiting 60s for chunk system to halt for world 'world_the_end'
[09:36:41 INFO]: [ChunkHolderManager] Halted chunk system for world 'world_the_end'
[09:36:41 INFO]: [ChunkHolderManager] Saving all chunkholders for world 'world_the_end'
[09:36:42 INFO]: [ChunkHolderManager] Saved 529 block chunks, 529 entity chunks, 0 poi chunks in world 'world_the_end' in 0.07s
[09:36:42 INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[09:36:42 INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[09:36:42 INFO]: Flushing Chunk IO
2023-06-14 09:36:42,077 Log4j2-AsyncAppenderEventDispatcher-1-Async WARN Advanced terminal features are not available in this environment
[09:36:42 INFO]: Closing Thread Pool
[09:36:42 INFO]: Closing Server
rhythmic@rhythmic-computer:~/Applications/tests$

Log file
[09:36:07] [ServerMain/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[09:36:08] [ServerMain/INFO]: Loaded 7 recipes
[09:36:08] [Server thread/INFO]: Starting minecraft server version 1.20.1
[09:36:08] [Server thread/INFO]: Loading properties
[09:36:08] [Server thread/INFO]: This server is running Purpur version git-Purpur-1991 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: cc465d6 on HEAD)
[09:36:08] [Server thread/INFO]: Server Ping Player Sample Count: 12
[09:36:08] [Server thread/INFO]: Using 4 threads for Netty based IO
[09:36:09] [Server thread/INFO]: [ChunkTaskScheduler] Chunk system is using 1 I/O threads, 3 worker threads, and gen parallelism of 3 threads
[09:36:09] [Server thread/INFO]: Default game type: SURVIVAL
[09:36:09] [Server thread/INFO]: Generating keypair
[09:36:09] [Server thread/INFO]: Starting Minecraft server on *:25565
[09:36:09] [Server thread/INFO]: Using epoll channel type
[09:36:09] [Server thread/INFO]: Paper: Using libdeflate (Linux x86_64) compression from Velocity.
[09:36:09] [Server thread/INFO]: Paper: Using OpenSSL 3.0.x (Linux x86_64) cipher from Velocity.
[09:36:09] [Server thread/INFO]: [spark] Loading server plugin spark v1.10.41
[09:36:09] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[09:36:09] [Server thread/INFO]: Preparing level "world"
[09:36:10] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[09:36:10] [Server thread/INFO]: Time elapsed: 169 ms
[09:36:10] [Server thread/INFO]: Preparing start region for dimension minecraft:the_nether
[09:36:10] [Server thread/INFO]: Time elapsed: 40 ms
[09:36:10] [Server thread/INFO]: Preparing start region for dimension minecraft:the_end
[09:36:10] [Server thread/INFO]: Time elapsed: 68 ms
[09:36:10] [Server thread/INFO]: [spark] Enabling spark v1.10.41
[09:36:11] [Server thread/INFO]: [spark] Using Paper ServerTickStartEvent for tick monitoring
[09:36:11] [Server thread/INFO]: [spark] Starting background profiler...
[09:36:12] [Server thread/INFO]: Running delayed init tasks
[09:36:12] [Server thread/INFO]: Done (3.173s)! For help, type "help"
[09:36:23] [Craft Scheduler Thread - 3 - spark/INFO]: [⚡] Profiler is already running!
[09:36:23] [Craft Scheduler Thread - 3 - spark/INFO]: [⚡] It was started automatically when spark enabled and has been running in the background for 11s.
[09:36:23] [Craft Scheduler Thread - 3 - spark/INFO]: [⚡] To view the profiler while it's running, run:
[09:36:23] [Craft Scheduler Thread - 3 - spark/INFO]: [⚡]   /spark profiler open
[09:36:23] [Craft Scheduler Thread - 3 - spark/INFO]: [⚡] To stop the profiler and upload the results, run:
[09:36:23] [Craft Scheduler Thread - 3 - spark/INFO]: [⚡]   /spark profiler stop
[09:36:23] [Craft Scheduler Thread - 3 - spark/INFO]: [⚡] To cancel the profiler without uploading the results, run:
[09:36:23] [Craft Scheduler Thread - 3 - spark/INFO]: [⚡]   /spark profiler cancel
[09:36:29] [Craft Scheduler Thread - 2 - spark/INFO]: [⚡] Stopping the profiler & uploading results, please wait...
[09:36:31] [Craft Scheduler Thread - 2 - spark/INFO]: [⚡] Profiler stopped & upload complete!
[09:36:31] [Craft Scheduler Thread - 2 - spark/INFO]: https://spark.lucko.me/QjFJSr33YA
[09:36:31] [Craft Scheduler Thread - 2 - spark/INFO]: [⚡] Restarted the background profiler. (If you don't want this to happen, run: /spark profiler cancel)
[09:36:40] [Server thread/INFO]: Stopping server
[09:36:40] [Server thread/INFO]: [spark] Disabling spark v1.10.41
[09:36:40] [Server thread/INFO]: Saving players
[09:36:40] [Server thread/INFO]: Saving worlds
[09:36:40] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[09:36:40] [Server thread/INFO]: [ChunkHolderManager] Waiting 60s for chunk system to halt for world 'world'
[09:36:40] [Server thread/INFO]: [ChunkHolderManager] Halted chunk system for world 'world'
[09:36:40] [Server thread/INFO]: [ChunkHolderManager] Saving all chunkholders for world 'world'
[09:36:41] [Server thread/INFO]: [ChunkHolderManager] Saved 529 block chunks, 529 entity chunks, 0 poi chunks in world 'world' in 0.75s
[09:36:41] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[09:36:41] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world_nether]'/minecraft:the_nether
[09:36:41] [Server thread/INFO]: [ChunkHolderManager] Waiting 60s for chunk system to halt for world 'world_nether'
[09:36:41] [Server thread/INFO]: [ChunkHolderManager] Halted chunk system for world 'world_nether'
[09:36:41] [Server thread/INFO]: [ChunkHolderManager] Saving all chunkholders for world 'world_nether'
[09:36:41] [Server thread/INFO]: [ChunkHolderManager] Saved 529 block chunks, 529 entity chunks, 0 poi chunks in world 'world_nether' in 0.43s
[09:36:41] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[09:36:41] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world_the_end]'/minecraft:the_end
[09:36:41] [Server thread/INFO]: [ChunkHolderManager] Waiting 60s for chunk system to halt for world 'world_the_end'
[09:36:41] [Server thread/INFO]: [ChunkHolderManager] Halted chunk system for world 'world_the_end'
[09:36:41] [Server thread/INFO]: [ChunkHolderManager] Saving all chunkholders for world 'world_the_end'
[09:36:42] [Server thread/INFO]: [ChunkHolderManager] Saved 529 block chunks, 529 entity chunks, 0 poi chunks in world 'world_the_end' in 0.07s
[09:36:42] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[09:36:42] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[09:36:42] [Server thread/INFO]: Flushing Chunk IO
[09:36:42] [Server thread/INFO]: Closing Thread Pool
[09:36:42] [Server thread/INFO]: Closing Server

Steps/models to reproduce
Download purpur-1991, run on an empty server with no plugins
Purpur version
[09:47:19 INFO]: Checking version, please wait...
[09:47:19 INFO]: Current: git-Purpur-1991 (MC: 1.20.1)*
Previous: git-Purpur-1990 (MC: 1.20)

You are running the latest version

Agreements

[X] I am running the latest version of Purpur available from https://purpurmc.org/downloads.
[X] I have searched for and ensured there isn't already an open issue regarding this.
[ ] I ticked all the boxes without actually reading them
[X] My version of Minecraft is supported by Purpur.

Other
This issue was not reproducible on vanilla or paper

In %paperMinecraftFormatting{%msg}%n%xEx{full} the paperMinecraftFormatting pattern converter no longer exists here https://github.com/PurpurMC/Purpur/blob/ver/1.20.1/patches/server/0302-Make-GUI-Great-Again.patch#L400-L409
Paper removed that pattern converter, so now it's just %msg%n%xEx{full} in both places.


Blank window on saving new model or saving demo model

When the 'Create a New Model' selection is made, and then the details of the model filled in, then on Save the model is saved but the Threat Dragon window is blank. Recovery is by closing the model from the Electron menu.
Tested on Windows, MacOS and Debian Linux
TD version : core 0.61, desktop 0.6.3
also on TD version : core 0.7.0, desktop 1.0
Error message:  [ [Error] Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded

Seeing this issue as well on MacOSX. I can confirm that the workaround of closing the model(*), re-opening TD and then re-opening the saved JSON file works.
It's a minor annoyance and easily worked around, but may deter new users if this is their first contact with the tool. (a.k.a. : you never get a second chance to make a first impression ;-) ).
(*) "OWASP-Threat-Dragon" menu -> "Close Model" ; this kills the application alltogether, but I guess that's an Electron thing?

Hello @meetinthemiddle-be , selecting "OWASP-Threat-Dragon" menu -> "Close Model" should only close an existing open threat model and not the application itself. It works this way when I test it on my MacOS. Are you running from the version 1.0 .dmg install or from an npm install ?

This issue is also present when opening the demo model and then trying to save it

This is looking quite hard  to fix with the existing behaviour:

open a new TM
do some changes
save as a new file

and I suggest that we change to:

Save a new file using template
open the new TM
do some changes
save the file


Pnpm parser fails to parse unquoted urls in some cases

What version of Turborepo are you using?
1.5.5
What package manager are you using / does the bug impact?
pnpm, Yarn v1
What operating system are you using?
Windows
Describe the Bug
When a pnpm-lock file is parsed by Turborepo there is a case where valid YAML results in an error.
This is specifically when using an unquoted URL with a ? in it as the value for a tarball on the resolution field for a package.
This is a very vague description, therefor I'll give an example of erroring YAML, and two non-erroring YAMLs. (red will not give an error, green will give an error).
'@registry.npmjs.com/<EMAIL_ADDRESS>    resolution: {tarball: https://registry.npmjs.com/@prisma/client/-/client-4.3.1.tgz?id=%40examples%2Ftrpc-next-prisma-todomvc}
+   id: @registry.npmjs.com/@prisma/client/-/client-4.3.1.tgz?id=%2540examples%252Ftrpc-next-prisma-todomvc
-   id<EMAIL_ADDRESS>-   id: '@registry.npmjs.com/@prisma/client/-/client-4.3.1.tgz?id=%2540examples%252Ftrpc-next-prisma-todomvc'
    name: '@prisma/client'
    version: 4.3.1
    engines: {node: '>=14.17'}
    requiresBuild: true
    peerDependencies:
      prisma: '*'
    peerDependenciesMeta:
      prisma:
        optional: true
    dependencies:
      '@prisma/engines-version': 4.3.0-32.c875e43600dfe042452e0b868f7a48b817b9640b
      prisma: 4.3.1

Expected Behavior
Turborepo should likely correctly parse this file, though this may also be pnpm's fault and therefore the person who first experienced the problem created an issue in pnpm's repo. It contains more details on how the error causing lockfile is generated.
Currently, the error can be removed by putting ' around the URL, however, since the file is automatically generated, this is undesirable.
I was also told I should mention @chris-olszewski since "he's the expert"
To Reproduce
I created a repro, which contains turbos current code for parsing a pnpm-lock file (not the entirety of turborepos code) and a pnpm file which errors. All that needs to be done to reproduce the error is download the repro and run the hello.go file.

Thanks for the detailed issue. This is an issue with the underlying go-yaml parser, I opened a PR with a fix, but have been having trouble getting traction with it. Since it's now been a week, I think it's reasonable to vendor the library with the fix.
I'm closing this since I'm pretty sure it's a duplicate of #2039. Reopen if you think it's different.

The repository for go-yaml doesn't look very active, there are some PR's that have been open for 3 years.
Vendoring the library seems like a good solution to me.
The other issue seems virtually identical to me, sorry for creating the duplicate issue.


Added frequently Asked Questions Page( Fixed issue #1858)

Fixes Issue

Changes proposed

Screenshots

Note to reviewers

kindly mention the issue number in the first comment and try to add in first comment
Close #xxxx
like this


Run rustfmt on the snippets

So that we're recommending properly-formatted code.
https://github.com/nrc/rustfmt

I didn't specifically deal with snippets, but I did make it so rustfmt runs on save (and dealt with running it against unsaved file in a different way): https://github.com/carols10cents/rust.tmbundle/pull/58


Reduce test output to minimum

This should greatly minimize the test output in our CI. I've removed the -v switch from go test but you can re-enable it by running GO_TEST_VERBOSITY_FLAG=-v make test-integration-no-coverage or any other test target.
Apart from that I've set the log level in tests to a high level (error). This can be overridden as well.
For example: GO_TEST_VERBOSITY_FLAG=-v F8_LOG_LEVEL=info make test-integration-no-coverage

@kwk snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1674-1

@kwk snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1674-2

@kwk snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1674-3

Locally I've been trying this by just setting F8_LOG_LEVEL=error. We still want the normal verbose go test output i reccon. There are a few locations that use fmt.Println() but we can log that instead.

@aslakknutsen

Locally I've been trying this by just setting F8_LOG_LEVEL=error.

That's why I've putted it here.

We still want the normal verbose go test output i recon. There are a few locations that use fmt.Println() but we can log that instead.

And fmt.Printlln output is hidden if -v is not present... is that what you're trying to say? I don't think I follow your conclusion on this.

In this gist I show the output of make docker-test-unit-no-coverage without the changes from this PR (865 lines of code) and with the changes (68 lines of code). I've introduced and error in one test on purpose. Decide for yourself what output your find more readable and in which you find the error quicker.
https://gist.github.com/kwk/403118d39570a8f30db76dace7837c8c


error:missing script:docs

$ npm install && npm run docs
when I run this command,it shows 'missing script:docs'. what's wrong?How to solve it? Thanks.

I got it what wrong is.I should write the package.json to let it know what docs is! Thanks!

The command npm run docs should be run inside folder example.
Maybe it's not very clear in the README ... 🤔


Add Step for fetching external resources

Add a step that uses a config file to pull in an external resource, either from the internet or from the local filesystem.

We will have to extend the new explicit custody return values for Step, but only for input sources. This is important for handling resources that come from outside the filesystem, and does not really cost us anything; if we do not support checking whether non-FS resources have changed, they can simply be treated as always dirty. We will ideally want to have an API for custody management, which will allow end users to support their own resource types as needed. Output paths can remain strictly paths, since the flow of external data is strictly ingress in our approach to a file processing engine.


An internal error when uploading files

I uploaded a folder this morning and got the following error and could not run it. Please review the attachment.

Hi @paleboat Thanks for your issue. This looks like an intermittent error and should work now. Also for future reports related to AI Studio please use send feedback button.


refactor(opendataset): merge classification into box2d

Pull Request Test Coverage Report for Build 985212498

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 83.613%

Totals

Change from base Build 985171956:
0.0%

Covered Lines:
4985

Relevant Lines:
5962

💛  - Coveralls


RFC: DataList::toRawArray() - Fast querying of data for things that need a low response time

Problem I'm aiming to solve:
When you want to get data from a large amount of records and have rapid response time (ie. for an autocomplete field), the current paradigm I have generally seen is a direct DB::query().
I think we can get the benefits of the ORM and keep things fast if we just add a function to DataList which returns raw data.
How it might look in code (using 3.6.X)
DataList::toRawArray()
public function toArray() {
	$query = $this->dataQuery->query();
	$rows = $query->execute();
	$results = array();

	foreach($rows as $row) {
		$results[] = $row;
	}

	return $results;
}

DataList::toArray() (for comparison)
public function toArray() {
	$query = $this->dataQuery->query();
	$rows = $query->execute();
	$results = array();

	foreach($rows as $row) {
		$results[] = $this->createDataObject($row);
	}

	return $results;
}

I'm not sure about this one. I'm thinking people who have a specific need for this are probably better off doing a DB::query() instead.

OK two core committers tending against this change, and no further traction. I'm going to close this.


ui: support ERC-20 in transaction history

Acceptance criteria:
Includes the following:

transaction history on the Ethereum account detail page
transaction history in the Latest transactions widget

The ERC-20 tokens transactions could disappear from time to time from The Latest Tx widget and from the transaction history on the Ethereum account detail page. I have to refresh the page to see them:

https://github.com/superhero-com/superhero-wallet/assets/69896204/00893c99-9863-440e-9e2a-cac397372572
https://github.com/superhero-com/superhero-wallet/assets/69896204/1683bbbb-59dc-483a-99a4-41b33b74b2fa

Also the Transaction list could be not fully shown on ETH account detail page.

Idk, if it's related to this task, but ERC-20 Txs are also displaying on coins/ethereum page in Transaction list because fee is paid in ETH:

https://github.com/superhero-com/superhero-wallet/assets/69896204/89cca758-2d4f-4550-89f6-75c06ee501f2

The ERC-20 transactions could be displaying in The Latest Tx widget as ETH Tx from time to time (fee is paid in ETH). I have to refresh page to see them correctly:

https://github.com/superhero-com/superhero-wallet/assets/69896204/555a5d64-ae5e-4366-b1cc-ef5e7072576f

Besides the issue that Nikita found, I discovered next:

I can see transactions from testnet in mainnet when I'm switching the network:

https://github.com/superhero-com/superhero-wallet/assets/69896204/36c41bd2-201b-4e05-81e8-fc51e33ee40a

Maybe it's glitch but I see the same transaction twice in Tx list:

The extension is starting "jumping" when I'm trying to reach out the end of Tx list:

https://github.com/superhero-com/superhero-wallet/assets/69896204/0aa7ffd8-3c96-4799-9576-05469b4c3f00
Not an issue, rather question:
is this new option? this text at the bottom when I've reached out the end of Tx list?

I fixed mentioned issues @Liubov-crypto . Can you please retest?
Regarding the last thing: the message in the end of the list: yes, this was discussed with Tsvetan. Sorry for not letting you aut about this new thing.

I can see transactions from testnet in mainnet when I'm switching the network - still reproducible for me:

https://github.com/superhero-com/superhero-wallet/assets/69896204/b52ad35e-68c1-40c7-88a3-3ee2a5312c6b

Issue with displaying amount of "allow ae usage" :

The rest issues have been fixed.

The issue for the transactions from testnet visible in mainnet is another thing related to the fact that we are using free version of ETH API. If user changes the network and the API reaches the maximum call amount the app is trying to avoid clearing the transaction list. This feature is related to @martinkaintas work. Until we have fully working API these kind of glitches will happen. Here's separate task for this: https://github.com/orgs/superhero-com/projects/2/views/2?pane=issue&itemId=52383948
Regarding the allowance amount calculation I also created separate task for this: https://github.com/orgs/superhero-com/projects/2/views/2?pane=issue&itemId=52386501
Do we have any other issues found there?

The first recent issue is fixed (I hope).
Regarding the second one I think someone was working on this in a separate PR. I'll ask. But in short: this is not caused by my PR.

You are correct, the ERC-20 Txs and ETH Txs are fetching (in pending status) approx 10 min...
but the list of Txs looks good to me in the web wallet.
In extension I can't see the Tx list from time to time, or could be reproducible the error with seeing only ERC-20 in the Tx list or ETH, as I described above. Idk from what it depends on...
https://github.com/superhero-com/superhero-wallet/assets/69896204/f4a79e96-2df1-4a4b-969c-fe0cb1edba71
https://github.com/superhero-com/superhero-wallet/assets/69896204/a0f7e9c0-8ae9-4615-91ad-2fa76d43ab9e

We can proceed with this pr.
I created a separate issue about strange behaviour in Tx list in extension: #2703