ScottPlot.WPF based on GL accelerated control

Purpose:
SkiaSharp haven't GPU accelerated control for WPF.
But there is PR in SkiaSharp with such control started at Nov 22. https://github.com/mono/SkiaSharp/pull/2317
I tested a bit, and it looks finished.
So i grab the code and place it in ScottPlot.WPF.
If and when the PR is approved we can simply remove the code and change the link.

I tested a bit, and it looks finished.

This is a great find! Thank you so much for this PR 😄

If and when the PR is approved we can simply remove the code and change the link.

I love this plan!

Hi @swharden,
PR with SKGLElement has finally been accepted into SkiaSharp. Now we can give up our own copy, but there is a catch.
This PR is in the Preview version of SkiaSharp 3.0 and we will probably have to wait until version 3 goes to release.
I've tested the SKGLElement replacement and at a quick glance it works as it should.
I didn't do a PR because you probably don't want to use the Preview version of SkiaSharp in ScottPlot.WPF.


⚠ Bofrost.de has degraded performance

In e2c1a7c, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 904 ms

Resolved: Bofrost.de performance has improved in e215a42 after 6 minutes.


Proximity search

Boolean operators – the keywords can be combined with operators such as (like, and, or, proximity search)

The portal already supports all options provided by the elasticsearch query syntax.

See #92


App is not installed in multiple store using Shopify CLI

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
App
Expected behavior
Hello,
I wan to installed the App in Multiple store in Shopify. The App is working fine for one store but I want to installed it for multiple store.  I am trying to installed it from partner account into multiple store. But its not installing and gives error. So how can I do it using Shopify CLI etc.
Thanks
Actual behavior
Hello,
I wan to installed the App in Multiple store in Shopify. The App is working fine for one store but I want to installed it for multiple store.  I am trying to installed it from partner account into multiple store. But its not installing and gives error. So how can I do it using Shopify CLI etc.
Thanks
Stack trace
Hello,
I wan to installed the App in Multiple store in Shopify. The App is working fine for one store but I want to installed it for multiple store.  I am trying to installed it from partner account into multiple store. But its not installing and gives error. So how can I do it using Shopify CLI etc.
Thanks

Reproduction steps

npm run dev
choose the store
installed the app.

Operating System
Window
Shopify CLI version (check your project's package.json if you're not sure)
3.1
Shell
No response
Node version (run node -v if you're not sure)
v14.02
What language and version are you using in your application?
Ruby 3.0.3, Node 14.02, PHP 7.4

Hi @avinashbrst. Thanks for reporting this issue.
You can run the CLI command yarn dev --reset and select a different store to try the application on. On the other hand, what's the error message you are receiving when you try to install the app from the partner dashboard?.
Waiting to hear from you soon.


Confidence metrics

It looks like that "predicted aligned error" and pTM are not included in the prediction_results dict in case of openfold/fastfold. Is this planned to be added?

Yes, it would be developed with a high priority.

A recently merged PR #132 saves the pickle file which contains these information
>>> import pickle
>>> df = pickle.load(open("predicted_results.pkl", "rb"))
>>> df.keys()

dict_keys(['msa', 'pair', 'single', 'sm', 'final_atom_positions', 'final_atom_mask', 'final_affine_tensor', 'lddt_logits', 'plddt', 'distogram_logits', 'masked_msa_logits', 'experimentally_resolved_logits', 'tm_logits', 'predicted_tm_score', 'aligned_confidence_probs', 'predicted_aligned_error', 'max_predicted_aligned_error'])

Great thanks!


Fix doc levels and remove broken links

What does this PR do?

Fixes #<issue_number>

Before submitting

Was this discussed/agreed via a GitHub issue? (not for typos and docs)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
Did you make sure to update the documentation with your changes? (if necessary)
Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
Did you list all the breaking changes introduced by this pull request?
Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

Reviewer checklist

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

@Borda i saw... any idea how to fix?

@lantiga it might be confusing, but to avoid indexing problems i'll go with that suggestion- thanks!
see https://github.com/Lightning-AI/lightning/pull/17545


Analyzer complains about operator >>> definition

When analyzing the co19 test Language/Expressions/Shift/equivalent_super_t02.dart, the analyzer complains, even when triple-shift is enabled:
$ bin/dartanalyzer --enable-experiment=triple-shift tests/co19_2/src/Language/Expressions/Shift/equivalent_super_t02.dart
Analyzing tests/co19_2/src/Language/Expressions/Shift/equivalent_super_t02.dart...
  error • Operator '>>' should declare exactly 1 parameters, but 0 found. • tests/co19_2/src/Language/Expressions/Shift/equivalent_super_t02.dart:20:12 • wrong_number_of_parameters_for_operator
  error • Methods must have an explicit list of parameters. • tests/co19_2/src/Language/Expressions/Shift/equivalent_super_t02.dart:20:12 • missing_method_parameters
  error • Operator declarations must be preceded by the keyword 'operator'. • tests/co19_2/src/Language/Expressions/Shift/equivalent_super_t02.dart:20:14 • missing_keyword_operator
  error • A function body must be provided. • tests/co19_2/src/Language/Expressions/Shift/equivalent_super_t02.dart:20:14 • missing_function_body
  error • Expected an identifier. • tests/co19_2/src/Language/Expressions/Shift/equivalent_super_t02.dart:29:13 • missing_identifier
5 errors found.

Approved failure of this test in https://dart-review.googlesource.com/c/sdk/+/134826

What's happening here is that the co19_2 tests are being opted out of NNBD by running them with a language version of 2.7.  This opts them out of all other future features as well (even those enabled by "--enable-experiment" flags).  The reasoning behind this is that when running with "--enable-experiment=triple-shift", the analyzer simulates the behavior it will have once triple-shift is fully supported by the Dart language.  However, even after triple-shift is fully implemented and supported by Dart, it will still be illegal to use it from a file with a language version of 2.7, because when Dart 2.7 shipped, triple-shift wasn't supported.
@munificent and I talked about what to do about tests like this one when setting up the analyzer NNBD testing infrastructure, and we agreed that since triple-shift won't be implemented until after NNBD, any code that uses triple-shift will necessarily need to be NNBD-enabled; accordingly, tests for triple-shift need to be NNBD-enabled.  So what needs to happen is that the triple-shift tests need to be ported to a post-NNBD world, and moved into a folder that doesn't end in "_2".  A similar thing needs to happen for all other post-NNBD features.
Accordingly, I'm reclassifying this as "area-test".


[request]: Support custom connectors for aws-config and generated services

Tell us about your request
support easily dropping in custom HTTPS and connector implementations
Tell us about the problem you're trying to solve.

I want to be able to easily provide my own TLS implementation (eg. rustls with custom CA certs)
It should be straightforward to set this both for aws-config as well as services like aws-s3

Are you currently working around this issue?

I can set a DynConnector for aws-config but it doesn't obey timeouts
with_tcp_connector expects something that returns TcpStream as a response but that doesn't actually work with connectors from rustls which return MaybeHttps as the response.

Additional context
No response

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue, please leave a comment

Included in this release: https://github.com/awslabs/aws-sdk-rust/releases/tag/release-2023-08-03


Separate tests into different components for easier debugging.

TBC

Codecov Report

Merging #212 (a9be3f2) into master (4fba477) will decrease coverage by 68.50%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           master     #212       +/-   ##
===========================================
- Coverage   85.67%   17.16%   -68.51%
===========================================
  Files          25       25
  Lines         670      670
  Branches       60       64        +4
===========================================
- Hits          574      115      -459
- Misses         76      548      +472
+ Partials       20        7       -13

Impacted Files
Coverage Δ

testcontainers/core/generic.py
0.00% <0.00%> (-85.72%)
:arrow_down:

testcontainers/kafka.py
0.00% <0.00%> (-100.00%)
:arrow_down:

testcontainers/mssql.py
0.00% <0.00%> (-100.00%)
:arrow_down:

testcontainers/neo4j.py
0.00% <0.00%> (-100.00%)
:arrow_down:

testcontainers/mongodb.py
0.00% <0.00%> (-100.00%)
:arrow_down:

testcontainers/postgres.py
0.00% <0.00%> (-100.00%)
:arrow_down:

testcontainers/clickhouse.py
0.00% <0.00%> (-100.00%)
:arrow_down:

testcontainers/core/config.py
0.00% <0.00%> (-100.00%)
:arrow_down:

testcontainers/google/__init__.py
0.00% <0.00%> (-100.00%)
:arrow_down:

testcontainers/compose.py
0.00% <0.00%> (-98.37%)
:arrow_down:

... and 12 more

Continue to review full report at Codecov.

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


How to build a c++dll?

@petergu684 I wanna build a c++ dll ,but I find there may be something wrong with my dll. I just built a simple function for ARM64 to deploy it to hololens2.
I just delete all your HL2RmStreamUnityPlugin .h  and .cpp  code and write a return function.
The .h file is like this:
#pragma once
#ifdef FUNCTIONS_EXPORTS
#define FUNCTIONS_EXPORTS_API extern "C" __declspec(dllexport)
#else
#define FUNCTIONS_EXPORTS_API extern "C" __declspec(dllimport)
#endif
namespace HL2Stream
{
FUNCTIONS_EXPORTS_API   int __stdcall DOUT();
}
And the .cpp file is below:
#include "pch.h"
#include "HL2RmStreamUnityPlugin.h"
#define DBG_ENABLE_VERBOSE_LOGGING 1
#define DBG_ENABLE_INFO_LOGGING 1
 int __stdcall HL2Stream::DOUT()
{
	return 123;
}`
then I deploy it into Unity/Plugin and the scritp is:
[DllImport("HL2RmStreamUnityPlugin.dll", EntryPoint = "DOUT", CallingConvention = CallingConvention.Cdecl)]     public static extern int DOUT();
But  i find there is something wrong with it.
First of all, I guess  it is the version problem.
I find your project .vcxproj version
 <WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>   <WindowsTargetPlatformMinVersion>10.0.17763.0</WindowsTargetPlatformMinVersion>
and my unity build setting is

Next,  maybe there are more detailed settings in building dll. And i would be appreciated
that someone can help ！

Hololens2: 10.0.19041.1136
Unity:  2019.4.12f1
VS: 2019

Sorry for the late reply. I am using the Windows Runtime Extension template in this repository but what you are doing seems to be related to building native plugins for Unity. There are a lot of tutorials online teaching you how to build the native plugins in Unity (for example, if you wanna use OpenCV). I suggest you create a new project following those tutorials rather than using this project. The native plugins won't have the winmd file, and you need to do DLLImport in the script.


Add support for Hisense AEH-W4A1 wifi module (AC remote control)

Description:
This PR add support for various ACs, mainly branded Hisense, that use the AEH-W4A1 module to communicate remotely.
It works in automatic discovery, but it is possible to set static ip addresses in configuration.yaml
Pull request with documentation for home-assistant.io: home-assistant/home-assistant.io#11130
Example entry for configuration.yaml:
hisense_aehw4a1:
  ip_address:
  - <IP_ADDRESS>
  - <IP_ADDRESS>

Checklist:

[X] The code change is tested and works locally.
[X] Local tests pass with tox. Your PR cannot be merged unless tests pass
[X] There is no commented out code in this PR.
[X] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[X] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[X] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[X] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[X] Untested files have been added to .coveragerc.

Hi @bannhead,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

CI errors does not seem related to my PR, what could I do now? If I update dev in my fork and push will it be merged to this PR?

Please add tests for the config flow.

Please add tests for the config flow.

I searched the repo for an integration working like this, with no luck: mine uses the config_entry_flow helper, adding support to manual config in init.
Should I test only init for wrong ip or malformed config?
Where I can find documentation on test developing?

Ok, I'm starting from here...

See eg the tests for the hue config flow. Init a user step and an import step and check that all cases are covered.

See eg the tests for the hue config flow. Init a user step and an import step and check that all cases are covered.

I need help to make one of the tests work.
I should bypass the IP check function to positively conclude the entity creation procedure

Can be merged when build passes.

Should we merge?

Using it every day I didn't find any new bugs. The last changes made are minimal and only impact the logic, so I feel comfortable that everything is fine.


proposal: maps: Add Group and GroupFunc

Proposal Details
I propose to add the functions Group and GroupFunc to the package maps , as I find myself reimplementing these often.
They work similarly to Object.GroupBy in JavaScript.
func Group[K comparable, V any](seq iter.Seq2[K, V]) map[K][]V {
	m := make(map[K][]V)
	for k, v := range seq {
		s := m[k]
		s = append(s, v)
		m[k] = s
	}
	return m
}

func GroupFunc[K comparable, V any](seq iter.Seq[V], f func(V) K) map[K][]V {
	m := make(map[K][]V)
	for v := range seq {
		k := f(v)
		s := m[k]
		s = append(s, v)
		m[k] = s
	}
	return m
}

What's a typical implementation of Seq2 in this scenario? (Often a Seq2 is a map, which doesn't have repeated keys.)

PersonAll is not an obvious iterator, because the first element (K=string) is redundant with the second (V=Person), and is not a primary key. Do we expect this kind of thing to be common?

Group is definitely less common than GroupFunc and this example can also be expressed with GroupFunc, but it has its use cases.

Assume we have a people.All() iterator of some kind.
m := make(map[string][]Person)
for p := range people.All() {
    m[p.name] = append(m[p.name], p)
}

Would using a helper function save much here? Sometimes a loop is more clear than a helper function.

For simple use cases like this, I think GroupFunc is more idiomatic.  If name was a getter, you would have to use a variable. This conveys  its meaning more clearly.
GroupFunc(Values(ps), func(p Person) string {
	if p.Age < 20 {
		return "Youngster"
	}
	return "Adult"
})

Object.groupBy was originally intended to be Array.prototype.group and was only changed due  web compatibly issues. So there seems to be a demand for this kind of function. The iterator also supports simple use cases like Limit and Filter. Of course you can say that a loop is idiomatic, but this could be said about every higher order function.

A generalization of GroupBy is GroupReduce[K comparable, S, T any](sum S, reduce func(S, T) S, seq iter.Seq2[K, T]) map[K]S which makes GroupBy's implementation GroupReduce(nil, append, seq) (you need a wrapper around append to get it to work but I'm being a bit loose here to get the point across).

Cross linking #69123, which is also about a grouping iterator.

I'm not sure about GroupFunc. I see the utility but it seems to be fusing two operations.
If there were a
func KeyBy[K, V any](key func(V) K, seq iter.Seq[V]) iter.Seq2[K, V]

that yields (key(v), v) then GroupFunc would just be return GroupBy(KeyBy(key, seq)) but then again KeyBy is trivial to write in terms of Map21 https://github.com/golang/go/issues/61898#issuecomment-1683969720


cmake: Fix missing cs_export.

Add missing cs_export macro in CMake files using catkin simple.

Hello, thank you for the PR.
Could you please update it against latest master?
Changes needed:

don't touch dvs_renderer/CMakeLists.txt, cs_export was added in a separate PR
add cs_export to dvxplorer_ros_driver/CMakeLists.txt
Thank you!

Hello, thank you for the PR.
Could you please update it against latest master?
Changes needed:

don't touch dvs_renderer/CMakeLists.txt, cs_export was added in a separate PR
add cs_export to dvxplorer_ros_driver/CMakeLists.txt
Thank you!

Done!


How to use Impulsive Forces

i want use impulsive forces to apply an instantaneous burst of force to an object,but there is no an example in the document （or i just cannot understand it） .
would you please give me an example to use impulsive forces that let the object parabola move
thanks alot !

Hey @llf22282776, no worries, thanks for reaching out. I've actually managed to reproduce this bug on the Viro Platform - setting enabled=false + gravity=true (true by default) results in the bug. It's a really weird bug, as we have code to prevent specifically this kind of situation, so i'm a bit puzzled.
To mitigate this, you can also set gravity:false or tie it to same state you use to enable/disable physics on the object (since ideally in both situations you don't want it to move anyways).
I'll file a bug on our back log to track this and update the title of this issue. We'll report back once it has been pushed to release.

This issue has been fixed in our latest release, ViroReact 1.6.0. Release notes and upgrade instructions here -> https://virocore.viromedia.com/docs/3d-objects#section-loading-3d-objects
Let us know if you still have issues.


Move get_spot_a_tform_b to main Spot class and replace all get_ABC_T_XYZ calls with this generix function

Thank you @zephirefaith for making this issue. It would be easier to track it this way.
Will take this as next task

This issue will be addressed as a part of https://github.com/facebookresearch/spot-sim2real/issues/90


Option to start mprocs without spawning any process

Right now if I have a mprocs.yaml file and do mprocs, it starts all the process - which is fine for most the cases.
For some of the use case, I would not like it to start any process. I would like the TUI to get open in possible a "NOT STARTED" state and I want to manually start them using the existing key bindings.
Possibly an option like --no-run implementing such feature would be nice to have.
Also, thanks for creating mprocs!

I guess one way to do this is to specify autostart: false in my configuration. I can live with that now. :-)
Free feel to close the issue. Having a setting to override it would be nice to have, but not really required.


add findPatch code.

LGTM, I am going to merge and then do a small cleanup/refactor

Sounds good! I tried cleaning up as much as possible and outputting some files to the "mvn project directory" by assumption. You might run into some bugs in these "directory" issues.  Lmk if you need anything.

@yzhang54 The cleanup commit is here if that helps


Could llama2.c be adapted to BitNet?

Ref https://huggingface.co/papers/2310.11453

https://github.com/mah110mat/llama2.bitnet/


Add GitHub release for v3.6.0?

Version
Latest (GH)
Development Environment
N/A
Current Behavior
There is a commit where package.json is updated to 3.6.0, however, the latest tagged commit (GH release) is 3.5.2.
Expected Behavior
The GitHub and package.json version numbers are up to date

@Fauxil-Fox
Actually, I've tried to release TOAST UI ImageEditor-v3.6.0. And it contains uptate fabric.js to fabric.js-v2.7.0.
However, fabric.js-v2.7.0 has an issue with IE10.
I've already fixed that issue but, That change included fabric.js-v3.1.0. I'll re-update fabric.js to fabric.js-v3.2.0  and release ImageEditor-v3.7.0 or higher.


LanguageExtension transform support for Fn::ForEach

Is this feature request related to a new rule or cfn-lint capabilities?
No response
Describe the feature you'd like to request
Add support for Fn::ForEach based on https://github.com/aws-cloudformation/cfn-language-discussion/issues/9
Describe the solution you'd like
A way to validate a template if its using Fn::ForEach
Additional context
No response
Is this something that you'd be interested in working on?

[X] 👋 I may be able to implement this feature request

Would this feature include a breaking change?

[X] ⚠ This feature might incur a breaking change

v0.79.1 was the first version with support for Fn::ForEach but I would highly recommend going to v0.79.6


How to train multi class segmentation?

I want to train CapsNetR3 with n_class=3 and shape=(160,160), but Length(num_classes=n_class, seg=True, name='out_seg')(seg_caps) returns a tensor with shape of (?, 160, 160, 1).
Maybe, it should return a tensor with shape of (?, 160, 160, 3).
Therefore, Length.compute_output_shape returns (None, 160, 160, 3).
Please tell me a solution to this problem.
appendix
Keras: ver. 2.2.4
tensorflow-gpu: ver. 1.13.1
Input Image: (160, 160, 3) 160x160 pixels image with 3 channel
Output Image: (160, 160, 3) 160x160 pixels image with 3 classes
Executing Code: train_model, eval_model, manipulate_model = CapsNetR3((160,160,3), 3)
Thank you.

As far as I understand capsule networks, seg_caps should have as many capsules as there are different classses i.e. 3.
Maybe the Length layer was only tested for 1 class. Especially it seems like the decoder was not designed to take more than 1 class, since the original digit capsule is flattened to num_classes*num_atoms.
So you can try to rewrite the Length layer and to remove the assert.
I have tried segcaps only with grayscale images for binary segmentation. If you can achieve acceptable results with RGB images, please tell about it.


Fix Error When Requesting Too Fast

Hi! Thank you very much for your fixes! I've added your example.py in 715b84f - sorry, couldn't split it into a separate commit =)
I couldn't accept the "Fix Bug When Request too Fast" commit, sorry. The commit you described would hide any communication errors, including those happening when sensor isn't present on I2C bus, has a wrong address or is faulty, just outputting zeros instead. I fixed your problem in a different way, that should work for you while still allowing you to detect hardware malfunctions. Basically, it does 5 attempts to get data from the sensor and fails only when all the attempts failed. In addition, it time.sleep's after an unsuccessful attempt, and both re-try amount and sleep time are configurable. Check it out here: fbb7a28 Hope you find this implementation useful!

No problem, I tested with a 0.00001 sleep because I need a real time response and worked fine.
Your method only sleeps when it throws an error so it's even better!

Glad you liked it =)


Restoring old mirroring pipeline (removed in PR2683)

Which issue this PR addresses:
ICM: https://portal.microsofticm.com/imp/v3/incidents/details/369927527/home
What this PR does / why we need it:
Reverting old mirroring pipeline to try to fix current missing images (Ev2 mirroring pipeline failures)
ICM: https://portal.microsofticm.com/imp/v3/incidents/details/369927527/home
Test plan for issue:
We will try to run the old pipeline mirror.
Is there any documentation that needs to be updated for this PR?

This was opened to temporarily test restoring the old pipeline, but we couldn't make it work.
Dropping the PR.


userland: Update to 20200316 snapshot

Refresh patches
Signed-off-by: Khem Raj<EMAIL_ADDRESS>

I think there is a small issue with missing egl.pc and glesv2.pc files. I will soon send a v2 once fixed.

Should we drop it now that I have merged https://github.com/agherzan/meta-raspberrypi/pull/609 ?

this is for dunfell that pull was for master

Hm... where is the dunfell poky branch?

It will be created soon

dunfell is branched but I plan to refresh this pull request so hold on it.

Gotcha.

This merged all changes but 1 from master into dunfell branch. Please take a look


Add createctconfig.secret option to ctlog helm chart

Signed-off-by: Priya Wadhwa<EMAIL_ADDRESS>cc @pwelch @vaikas I think just putting the secret option under createctconfig might be easier, but wanted to make sure it'll work with the different shards?

Yes, as long as we make sure to match these lines so that creation of a shard config and using it are consistent:
https://github.com/sigstore/public-good-instance/blob/main/argocd/utilities/templates/ctlog-shards.yaml#L55
And then maybe setting this new variable to match it here (well, add it here and make it match):
https://github.com/sigstore/public-good-instance/blob/main/argocd/utilities/templates/ctlog-shards.yaml#L68


Dosen't get any error if not set authorization token.

I am using "lexik/jwt-authentication-bundle": "^2.6",  with symfony 4.2 . It was working if i m not set authorization token it gives the error "JWT Token not found".
while, i 've upgraded version of symfony  4.2 to  4.3. i've notice that i can call any api without authorization token. It should be come error if i m not pass  authorization token.
I believe following method dosen't call after upgrading symfony version:
public function start(Request $request, AuthenticationException $authException = null)
    {
        $exception = new MissingTokenException('JWT Token not found', 0, $authException);
        $event     = new JWTNotFoundEvent($exception, new JWTAuthenticationFailureResponse($exception->getMessageKey()));

        $this->dispatcher->dispatch(Events::JWT_NOT_FOUND, $event);

        return $event->getResponse();
    }

After Symfony 4.3 update the package needs to implement these changes after that this should work :

The ListenerInterface is deprecated, turn your listeners into callables instead.
2.The Firewall::handleRequest() method is deprecated, use Firewall::callListeners() instead.

Minor releases should not modify the behavior of your application, even if deprecated classes/methods are used.

Issue solved!
I think issue was occurred due to somehow version was not updated properly.


remove some occurrences of the old $secret syntax

Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)

Tugboat has finished building the preview for this pull request!
Link:

https://pr4544-k3qatovqwxlwokuxplmhcupkykjmjpxy.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/602b704cfcb22d0fdb56663c


Merge sometimes doesn't work

Sometimes merge fails with error something like 'object not mergeable'

I believe this was fixed at some point in 0.7.7 release


[5.2] Fix double json_encode on pivot model

I'm not 100% sure if this is the best way to fix https://github.com/laravel/framework/issues/10533 but this works and no failing tests.

Could you add a test that failed before, and passes now please.

@GrahamCampbell done!

Thanks. Taylor will review this soon. ;)

Thanks!
There is one issue remaining related to casting attributes on the pivot model.
$model->sync([
    1 => ['data' => ['foo' => 'bar']]
]);

This still results in:

ErrorException in helpers.php line 748:
preg_replace(): Parameter mismatch, pattern is a string while replacement is an array

I've been trying to fix this and have found a solution (which would replace this pull request), but can't find a way to achieve this without breaking a few tests. Should I do a separate pull request to compare?

OK taking a slightly different approach here and have pushed a fix. We need the constructor to accept values and mutate them so it behaves more expected during tests. For example if you do `new CustomPivot($model, $attributes) in test you want to be able to pass it an array.
So I've added a new fromRawAttributes static method to the base pivot class so you can now do:
public function newPivot(Model $parent, array $attributes, $table, $exists)
{
    return Custom::fromRawAttributes($parent, $attributes, $table, $exists);
}

https://github.com/laravel/framework/commit/f356419fa6f6b6fbc3322ca587b0bc1e075ba8d2

@taylorotwell thanks! Do you have any idea how to fix casting attributes when attaching/syncing?
Since sync and attach don't touch the pivot model there is no way to use $casts or mutators like setDataAttribute().

Will make a note to check on that

@taylorotwell this is still an issue in 5.1. Can it be backported at all?


fix: {pre} {post} {label} etc are not working when language annotatio…

fix: {pre} {post} {label} etc are not working when language annotation begin with ‘run-’

merge into develop branch instead of mater

related issue: https://github.com/twibiral/obsidian-execute-code/issues/179#issue-1457698922


Add GHA test and release workflows

#6

Two notes:

Looks like stackprof gem (which rambling-trie depends on) doesn't support windows https://github.com/tmm1/stackprof#requirements
I have added release-tag workflow which will allow manual release, @ronaldtse let me know how do you think about it?

@CAMOBAP stackprof is clearly not useful in a running environment, can you helll Po disable it on windows completely and also make it a dev time dependency?

@ronaldtse thanks for information

can you helll Po disable it on windows completely

ok

and also make it a dev time dependency?

It's already dev one
P.S. some tests failed I will check why

Thanks @CAMOBAP !


IntelliScript: The Personal AI Partner of Your Company

Project Name
Intelliscript
Description
Our RAG (Retrieval-Augmented Generation) app is a privacy-focused AI assistant designed to streamline knowledge management within organizations. Leveraging a local Large Language Model (LLM), the app addresses data privacy concerns by processing all information internally, ensuring sensitive data never leaves the organization’s infrastructure. The system integrates a variety of data sources, including PDFs, DOCX, CSVs, XLSX, and more, to generate real-time insights and reports through a simple, intuitive chat interface.
Key features include a Q&A assistant, instant report generator, and business insights tool, tailored to meet the needs of departments like HR, Sales, and Marketing. To enhance the user experience, we optimized data ingestion flows to handle a wide range of document types efficiently, without the need for external cloud APIs. Our app is designed to bridge the gap between generative AI potential and corporate adoption, making it accessible to all organizational roles, from administrators to executives, empowering them to retrieve and analyze data naturally.
You can learn more about the project by referring to the following report:
https://drive.google.com/file/d/1nRaE7XCuxL0iz4erKwa9NEsC73TDhW_x/view?usp=sharing
Technology & Languages

[ ] JavaScript
[ ] Java
[ ] .NET
[X] Python
[ ] AI Studio
[X] AI Search
[ ] PostgreSQL
[ ] Cosmos DB
[ ] Azure SQL

Project Repository URL
https://github.com/ChathurangaMMP/FYP-IntelliScript-Final
Deployed Endpoint URL
No response
Project Video
https://youtu.be/8tP8joZY3yo?si=77hpb-6AhZDX1Aqt
Team Members
surenbandara7@gmail.com,mmpchathuranga.07<EMAIL_ADDRESS><EMAIL_ADDRESS>

Hello @surenbandara, thank you for participating in RAG Hack!
The team is working hard to distribute badges. Please have each team member fill out this form:
aka.ms/raghack/badge-dist
Thank you!


WIP: development docs

Refs #933
Work in progress. I would like to get some input from people who are more familiar with the project.
This is just what I deduced from .travis.yml so far.
Curiously, if I follow these steps to run the tests on my local system, I get some test failures that I do not see on travis: https://gist.github.com/rfleschenberg/9b3eb58154cd8456a320b6b5cb694ce8

The instructions from 302d2f3 work on my system.

Also if you wouldn't mind squashing your work into a single commit, that would be greatly appreciated.

Wonderful, thanks for this @rfleschenberg!


How to set rules with params?

I am trying to set rules for most of my actions where I need to pass the model to the Rule to check if the owner of the model is the user who is accessing it.
As its a beforeAction is there a way to override it or a way to escape it?

You can set params via config, for example:
class SiteController extends Controller
{
    /**
     * @inheritdoc
     */
    public function behaviors()
    {
        return [
            'access' => [
                'class' => AccessControl::class,
                'params' => [
                   // `page` - page url
                    'page' => [
                        'model' => 'test'
                    ]
                ]
            ],
        ];
    }
}


Executing MinLabel/SlurCutter as Admin

Hi!
I use a modded version of Win11 (Ghost Spectre) and, by default, my user is an Admin.
Could the warning on MinLabel and SlurCutter be changed so they don't kill the application when hitting "OK"?

Neither using non-official Windows distributions nor running applications as Admin user is recommended.
If you really want to start the application, then add --allow-root command-line option


How to run optscale over local machine

Is your feature request related to a problem? Please describe.
With the available docs, we are not able to run the application end to end in our local machine which includes UI and backend
Describe the solution you'd like
It would be really helpful if we have a proper documentation which would help us in nstalling and using optscale in our local machine, screenshots would be an enhancement with updated docs
Additional context
Please also share a community link

@puneet-nayal, could you please specify the exact issues you encountered while trying to set up an Optscale cluster?
Please follow the documentation and let us know if there are any inaccuracies.
https://github.com/hystax/optscale?tab=readme-ov-file#getting-started

@v-hx I have executed till the below command
./runkube.py --with-elk  -o overlay/user_template.yml --
How would I host the UI afterwards.

@puneet-nayal, once you finish the installation, the UI will be available at your machine's IP address/domain. If you have already edited the optscale-deploy/overlay/user_template.yml template according to your needs and have run the Ansible command previously, you are good to go with the command you mentioned.


Chore: Update variable editor to use new API

This pr changes to the "new" variables API. It also fixes the issue where the $__timeFilter macro was not resolved properly because the range was not passed to the component.

@mdvictor Yep I also found that confusing but it is by design. https://grafana.com/docs/grafana/latest/dashboards/variables/add-template-variables/#add-a-query-variable

In the Refresh list, select when the variable should update options.
On Dashboard Load: Queries the data source every time the dashboard loads. This slows down dashboard loading, because the variable query needs to be completed before dashboard can be initialized.
On Time Range Change: Queries the data source when the dashboard time range changes. Only use this option if your variable options query contains a time range filter or is dependent on the dashboard time range.

@mdvictor Yep I also found that confusing but it is by design. https://grafana.com/docs/grafana/latest/dashboards/variables/add-template-variables/#add-a-query-variable

In the Refresh list, select when the variable should update options.
On Dashboard Load: Queries the data source every time the dashboard loads. This slows down dashboard loading, because the variable query needs to be completed before dashboard can be initialized.
On Time Range Change: Queries the data source when the dashboard time range changes. Only use this option if your variable options query contains a time range filter or is dependent on the dashboard time range.

Thanks for the explanation!


added video cover and image files

Signed-off-by: KipTwitchell<EMAIL_ADDRESS>

Approved and closing request


default stream_id should be 0

This line
https://github.com/audioscience/avdecc-lib/blob/master/controller/lib/src/acmp_controller_state_machine.cpp#L89
sets the stream_id to 0xffffffffffffffff, but it should instead be set to 0x0.

So use jdksavdecc_eui64_zero(...) at line 766 instead?

Yes, that is my thought.


Blackbird terminates with "Segmentation fault: 11" when entry is found

Hi Butor/Blackbird community,
First off thanks for building and sharing this project - very cool stuff. I have been playing around with it for a few weeks now and only started trading with real money. I am running into a problem though and just wanted some guidance. Not sure if this is a bug, or if I've incorrectly configured blackbird.conf. I am using macOS Seirra.
Here is an example of the 'bug'. When a trade opportunity is found, the log file outputs:
[ ENTRY FOUND ]
Date & Time:       02/12/2018 13:51:51
Exchange Long:     QuadrigaCX (id 3)
Exchange Short:    Kraken (id 2)
Fees:              0.50% / 0.25%
Price Long:        8,420.00 (target)
Price Short:       8,493.20 (target)
Spread:            0.87%
Cash used:         25.00 on each exchange
Exit Target:       -1.13%
At this point the program terminates and nothing more is printed to the log. When I check my terminal window the following message is printed: "Segmentation fault: 11".
 Not sure how to debug a C++ program; any guidance would be hugely appreciated. Thanks.

What operating system do you use? I've made several changes to the Kraken exchange to reduce the chance of seg-faults -- can't vouch for quadriga. In my experience, most faults have been coming from bad CURLs, which seems likely here. Either Kraken or Quadriga sent something you did not expect. Probably in GetLimPrice.

@CCKRK, can you recommend ideas to help us debug? It seems like #430 might be related (and due to Quadriga)

So if it were me I would write some tests for quadriga to see which one is broken... it's probably safe to start with getlimitprice.

Since it's correctly printing the Entry Info, can't we safely assume that getLimitPrice is succeeding?

Actually yes I suppose that's true, getLimitPrice is succeeding and it is failing to send the orders

See issue #382. This is likely due to the minimum trade on QuadrigaCX to be $50. We should add a 'minimum trade' parameter in the blackbird.conf file to ignore certain exchanges if the exposure amount isn't matched.


properly nest tsconfig under compilerOptions

This PR was started to emit .d.ts files (https://github.com/Zaplib/zaplib/issues/116) but the solution involved fixing other issues with the tsconfig. Basically we were using attributes at the top level that should all be nested under compilerOptions.
Closes https://github.com/Zaplib/zaplib/issues/116

What we used to output in the dist folder:

What we output with these changes:

This works as long as you import from the .js file. It doesn't work if you import from the .production.js or the .development.js versions.

I think it's ready to go :)


configuring the link, route

hi i have many nested categories like mechanic-part,car and place but when i render as html and i click in a link it go directly to site.local/{slug}
i want to change to custom link like site.local/car/{slug} site.local/mechanic-part/{slug} .... how can i?

how can i do dat?

i think, it is currently not available.. however, i will take a look at it later on.. i will try to give feedback until next week..

thank you johannesschobel because it is important to work with

Hi @amine8ghandi8amine
Sorry for my late answer. I am working hard these days so i do not have enough time. If @johannesschobel fix the issue i accept PR.

Hi again
i added that feature. Please check: customUrl

ow Thank you man you are right you work hard


Add support for Gazebo and Ignition simulation

NOTE: This PR will be soon moved to another repository to separate simulation dependencies.
Changes needed to run Gazebo and Ignition simulation backed-up by ros2_control.
Currently, the plugins are not released, so you have to compile them from source.
Check simulations.repos file for this.
Some left TODOs before merging:

[ ] Add documentation about this into README.md
[ ] wati for "initial position"-functionality get merged into simulators:

[ ] ros-simulation/gazebo_ros2_control#100
[ ] Igntion - TBD

[ ] Resolve URDF changes to enable visuals in Gazebo (and test this with Ignition)

Usage:
Tested robot (default) is ur5e - although it should also work for other robots.
Checkout repos from simulations.repos file.
After launching simulation, you can test the robot's behavior using test script for joint trajectory controller.
Package ros2_control_demos is needed for this.
ros2 launch ur_bringup test_joint_trajectory_controller.launch.py

Ignition:
ros2 launch ur_bringup ur_sim_control.launch.py

Gazebo:
Add gazebo_ros2_control repository on PR#100 (ros-controls/gazebo_ros2_control#100).
ros2 launch ur_bringup ur_sim_control.launch.py gazebo_sim:=true ignition_sim:=false

Note: this PR containes changes from #231.

@destogl I would like to keep parametrization from the YAML file because it is one of the many things that were done in ros1, and are quite nice to have. So gazebo has problems with parsing those paths? Is it possible to solve this in any other way, while keeping the YAML paths propagation?

@destogl I would also like to create a separate gazebo_control.ros2_control.xacro file to avoid having one with many options.

@destogl after getting this working I was surprised that this is using Gazebo classic!??
I need this working in Ignition, so if you know of any conflicts this might have as I get the newer version going again please feel free to tag me.

Wont this PR have the same issues (#240) that @vatanaksoytezer's PR had? This will make the repo depend on Gazebo classic and if I also depend on Ignition then users will need to install both. @destogl do you have a plan on getting around this here?

Wont this PR have the same issues (#240) that @vatanaksoytezer's PR had? This will make the repo depend on Gazebo classic and if I also depend on Ignition then users will need to install both.

I don't see a specific dependency to gazebo here. The <gazebo> tags in the urdf won't get parsed if not by gazebo. The build and the other launch files like ur_control.launch.py should work. Only ur_gazebo_sim_control.launch.py will fail because of gzclient/gzserver not being available.
Though it looks like igniton is still a dependency, since the main branch was not merged yet including the https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/pull/241 revert commit.

Though it looks like igniton is still a dependency, since the main branch was not merged yet including the #241 revert commit.

Ignition PR literally lived around a week and reverted, I don't understand how can it be dependency, while it's never pushed rosdistro and immediately reverted ...

Ignition PR literally lived around a week and reverted, I don't understand how can it be dependency, while it's never pushed to rosdistro and immediately reverted on main branch ...

Seems like gazebo-simulation branch was forked from main right that time, therefore the revert was not included yet.
Anyway, I removed the merge conflict + colon bug in a separate PR https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/pull/249 to your branch, if you can have a look @destogl .

I don't see a specific dependency to gazebo here. The <gazebo> tags in the urdf won't get parsed if not by gazebo. The build and the other launch files like ur_control.launch.py should work. Only ur_gazebo_sim_control.launch.py will fail because of gzclient/gzserver not being available.

Its more a question of if you want the package.xml to include the actual dependencies or if its the users responsibility to go and find them. The ROS1 robot_description depends on Gazebo classic packages.

Its more a question of if you want the package.xml to include the actual dependencies or if its the users responsibility to go and find them. The ROS1 robot_description depends on Gazebo classic packages.

No, it actually doesn't.
You're linking to the Gazebo package, which was specifically introduced to separate the Gazebo dependencies from the regular xacro:macro.
Both the Kinetic nor the Melodic version of ur_description do not depend on any simulator.

No, it actually doesn't.
You're linking to the Gazebo package, which was specifically introduced to separate the Gazebo dependencies from the regular xacro:macro.
Neither the Kinetic nor the Melodic version of ur_descriptiondepends on any simulator.

My bad, I have been doing everything from source lately and look at the entire repo. So is it correct to say that it requires developers have everything installed if we supported Gazebo Classic and Ignition?
This still doesn't seem like it addresses the fact that this PR depends on gazebo_ros2_control, Gazebo Classic and that the launch file is currently located in ur_bringup. Where would you say those dependencies belong? Should this be split into its own package like the ROS1 ur_gazebo?

I have been doing everything from source lately and look at the entire repo

it's true at the repository level those dependencies of course exist, but without hosting every package in its own repository, that's always going to be the case (and one-package-per-repository does not really scale).
The suggested workflow when building from source would be to specifically ignore packages you're not interested in. So use either the white/blacklisting feature of catkin, use (CATKIN|COLCON|AMENT)_IGNORE files or (really a last resort) remove the packages you don't want.
It's not ideal, but at least this way it's feasible to build subsets of packages from the same repository and not always drag in heavy dependencies.
(incidently, industrial_ci supports this in a nice way: configure it to clone an "upstream repository" providing some dependency, and then tell it to prune certain packages before installing dependencies of your dependency)

This still doesn't seem like it addresses the fact that this PR depends on gazebo_ros2_control, Gazebo Classic

I agree. I just wanted to correct your statement about ros-industrial/universal_robot/ur_description depending on Gazebo.

and that the launch file is currently located in ur_bringup. Where would you say those dependencies belong? Should this be split into its own package like the ROS1 ur_gazebo?

I would suggest to not use ur_bringup for everything.
That, combined with separating packages (ie: responsibilities) as much as possible should allow for relatively finegrained management of dependencies.

@MarqRazz @vatanaksoytezer This PR is still a work in progress and it will be reviewed a few times before merging.
IMO The approach to be able to separate simulation (gazebo/ignition) users from the users of bare-bone driver consist of a few points:

if other dependencies are needed create .repos file that can import necessary dependencies from the source
if .repos file is not an option consider using git submodule option that will link an empty package/folder if the package  (in this situation ur_gazebo) is not needed
move everything gazebo/ignition-related (except description stuff into) ur_gazebo which should be an external package (as mentioned above .repos or git submodule approach) - move also launch files which can be an extended set of main ur_control.launch.py file for barebone driver - we shouldn't add too many flags/options into one launch file because it creates confusion and it will eventually make the whole launch file system hard to maintain
add separate ur_macro.xacro (e.g. ur_gazebo(ignition)_macro.xacro) in ur_description which will support all the necessary gazebo/ignition references and will solve the problem of parsing mesh file paths (maybe this additional urdf/xacro file  can also be part of ur_gazebo )
of course, README file to document all the necessary steps to use the extended option of the driver package - in this case gazebo/ignition

There is new a fixed proposal also including Ignition simulation - because those two are very, very similar.

I have tested the PR and can confirm the Gazebo classic simulation works but when I run Ignition I get the following errors and the UI crashes. I will keep digging and let you know if I can find the root error.
I have other Ignition worlds that I can run and get the same libEGL warning: DRI2: failed to create dri screen but everything launches and works as expected. Not sure why I am getting the duplicate proto message, but that is not output in my other test cases???
[ign gazebo-5] [libprotobuf ERROR google/protobuf/descriptor_database.cc:58] File already exists in database: ignition/msgs/actor.proto
[ign gazebo-5] [libprotobuf FATAL google/protobuf/descriptor.cc:1358] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size):
[ign gazebo-5] terminate called after throwing an instance of 'google::protobuf::FatalException'
[ign gazebo-5]   what():  CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size):
[ign gazebo-5] Stack trace (most recent call last):
[ign gazebo-5] #31   Object "/usr/lib/x86_64-linux-gnu/ign-gazebo-6/plugins/libignition-gazebo-user-commands-system.so", at 0x7f220855bdb2, in ignition::gazebo::v6::systems::CreateCommand::Execute()
[ign gazebo-5] #30   Object "/lib/x86_64-linux-gnu/libignition-gazebo6.so.6", at 0x7f2224afc1c1, in ignition::gazebo::v6::SdfEntityCreator::CreateEntities(sdf::v12::Model const*)
[ign gazebo-5] #29   Object "/lib/x86_64-linux-gnu/libignition-gazebo6.so.6", at 0x7f2224b10130, in void ignition::gazebo::v6::EventManager::Emit<ignition::common::EventT<void (unsigned long, std::shared_ptr<sdf::v12::Element>), ignition::gazebo::v6::events::LoadPluginsTag>, unsigned long const&, std::shared_ptr<sdf::v12::Element> const&>(unsigned long const&, std::shared_ptr<sdf::v12::Element> const&)
[ign gazebo-5] #28   Object "/lib/x86_64-linux-gnu/libignition-gazebo6.so.6", at 0x7f2224b2aa09, in ignition::gazebo::v6::SimulationRunner::LoadPlugins(unsigned long, std::shared_ptr<sdf::v12::Element> const&)
[ign gazebo-5] #27   Object "/lib/x86_64-linux-gnu/libignition-gazebo6.so.6", at 0x7f2224b2994b, in ignition::gazebo::v6::SimulationRunner::LoadPlugin(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<sdf::v12::Element> const&)
[ign gazebo-5] #26   Object "/lib/x86_64-linux-gnu/libignition-gazebo6.so.6", at 0x7f2224b45e58, in ignition::gazebo::v6::SystemLoader::LoadPlugin(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<sdf::v12::Element> const&)
[ign gazebo-5] #25   Object "/lib/x86_64-linux-gnu/libignition-gazebo6.so.6", at 0x7f2224b4676c, in
[ign gazebo-5] #24   Object "/lib/x86_64-linux-gnu/libignition-plugin1-loader.so.1", at 0x7f2222134670, in ignition::plugin::Loader::LoadLib(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[ign gazebo-5] #23   Object "/lib/x86_64-linux-gnu/libignition-plugin1-loader.so.1", at 0x7f2222133a7d, in ignition::plugin::Loader::Implementation::LoadLib(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[ign gazebo-5] #22   Object "/lib/x86_64-linux-gnu/libdl.so.2", at 0x7f22290c23d9, in dlopen
[ign gazebo-5] #21   Object "/lib/x86_64-linux-gnu/libdl.so.2", at 0x7f22290c2b58, in
[ign gazebo-5] #20   Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f22292de982, in _dl_catch_error
[ign gazebo-5] #19   Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f22292de8b7, in _dl_catch_exception
[ign gazebo-5] #18   Object "/lib/x86_64-linux-gnu/libdl.so.2", at 0x7f22290c234b, in
[ign gazebo-5] #17   Object "/lib64/ld-linux-x86-64.so.2", at 0x7f22297025f9, in
[ign gazebo-5] #16   Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f22292de8b7, in _dl_catch_exception
[ign gazebo-5] #15   Object "/lib64/ld-linux-x86-64.so.2", at 0x7f22297030be, in
[ign gazebo-5] #14   Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f22292de914, in _dl_catch_exception
[ign gazebo-5] #13   Object "/lib64/ld-linux-x86-64.so.2", at 0x7f22296fec90, in
[ign gazebo-5] #12   Object "/lib64/ld-linux-x86-64.so.2", at 0x7f22296feb89, in
[ign gazebo-5] #11   Object "/lib/x86_64-linux-gnu/libignition-msgs5.so.5", at 0x7f22013d3768, in void std::call_once<void (&)()>(std::once_flag&, void (&)())
[ign gazebo-5] #10   Object "/lib/x86_64-linux-gnu/libpthread.so.0", at 0x7f222916847e, in
[ign gazebo-5] #9    Object "/lib/x86_64-linux-gnu/libignition-msgs5.so.5", at 0x7f22013ce3ed, in protobuf_ignition_2fmsgs_2factor_2eproto::AddDescriptorsImpl()
[ign gazebo-5] #8    Object "/lib/x86_64-linux-gnu/libprotobuf.so.17", at 0x7f2223e8387d, in
[ign gazebo-5] #7    Object "/lib/x86_64-linux-gnu/libgcc_s.so.1", at 0x7f22257485a9, in _Unwind_Resume
[ign gazebo-5] #6    Object "/lib/x86_64-linux-gnu/libgcc_s.so.1", at 0x7f2225747bee, in
[ign gazebo-5] #5    Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f22257fbd20, in __gxx_personality_v0
[ign gazebo-5] #4    Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f22257fb368, in
[ign gazebo-5] #3    Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f22257fc38b, in
[ign gazebo-5] #2    Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f22257f0910, in
[ign gazebo-5] #1    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f22291a0858, in abort
[ign gazebo-5] #0    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f22291c118b, in gsignal
[ign gazebo-5] Aborted (Signal sent by tkill() 68789 0)
[ign gazebo-5] [GUI] [Wrn] [Application.cc:669] [QT] file::/Gazebo/GazeboDrawer.qml:147:3: QML Dialog: Binding loop detected for property "implicitHeight"
[ign gazebo-5] libEGL warning: DRI2: failed to create dri screen
[ign gazebo-5] libEGL warning: DRI2: failed to create dri screen

So I found the issue and it was because I don't  have the environment variable $IGNITION_VERSION set which are used here and here.
Is this variable normally setup by Ignition when you install it? I don't see anything about adding it in the repo README
After setting export IGNITION_VERSION=fortress the simulation works!!

Anyone know why the mesh colors are not being used? In @vatanaksoytezer port they were working.

I think the clocks might be out of sync, I cant get motion from the arm when running MoveIt. I can see that the robot is publishing joint_states but get the following error when attempting to plan after launching:
ros2 launch ur_bringup ur_moveit.launch.py ur_type:=ur5e robot_ip:="xxx.xxx" use_fake_hardware:=true launch_rviz:=true
[move_group-1] [moveit_move_group_default_capabilities.move_action_capability]: Motion plan was computed succesfully.
[rviz2-3] [move_group_interface]: Planning request complete!
[rviz2-3] [move_group_interface]: time taken to generate plan: 0.0186026 seconds
[move_group-1] [moveit_move_group_default_capabilities.execute_trajectory_action_capability]: Received goal request
[move_group-1] [moveit_move_group_default_capabilities.execute_trajectory_action_capability]: Execution request received
[move_group-1] [moveit.plugins.moveit_simple_controller_manager]: Returned 1 controllers in list
[move_group-1] [moveit_ros.trajectory_execution_manager]: Validating trajectory with allowed_start_tolerance 0.01
[rviz2-3] [move_group_interface]: Execute request accepted
[move_group-1] [moveit_ros.current_state_monitor]: Didn't received robot state (joint angles) with recent timestamp within 1.000000 seconds.
[move_group-1] Check clock synchronization if your are running ROS across multiple machines!
[move_group-1] [moveit_ros.trajectory_execution_manager]: Failed to validate trajectory: couldn't receive full current joint state within 1s
[move_group-1] [moveit_move_group_default_capabilities.execute_trajectory_action_capability]: Execution completed: ABORTED
[rviz2-3] [move_group_interface]: Execute request aborted
[rviz2-3] [move_group_interface]: MoveGroupInterface::execute() failed or timeout reached

Is this variable normally setup by Ignition when you install it? I don't see anything about adding it in the repo README. If you would like I can make a PR and add a note like this one for ign_ros2_control.

I have no idea about this. I didn't have to set any environment variable manually.

I think the clocks might be out of sync, I cant get motion from the arm when running MoveIt. I can see that the robot is publishing joint_states but get the following error when attempting to plan after launching: ros2 launch ur_bringup ur_moveit.launch.py ur_type:=ur5e robot_ip:="xxx.xxx" use_fake_hardware:=true launch_rviz:=true

Is this related to the simulation of FakeHardware?

I have no idea about this. I didn't have to set any environment variable manually.

I would assume then that you are using citadel then because that's what it defaults to. The instructions for building from source have been updated.

Is this related to the simulation of FakeHardware?

This is for running the simulation. Do we need to change the launch to run sim? I am launching the following in two terminals.
ros2 launch ur_bringup ur_sim_control.launch.py
ros2 launch ur_bringup ur_moveit.launch.py ur_type:=ur5e robot_ip:="xxx.xxx" use_fake_hardware:=true launch_rviz:=true
Should I be using use_fake_hardware:=false?

This is for running the simulation. Do we need to change the launch to run sim? I am launching the following in two terminals. ros2 launch ur_bringup ur_sim_control.launch.py ros2 launch ur_bringup ur_moveit.launch.py ur_type:=ur5e robot_ip:="xxx.xxx" use_fake_hardware:=true launch_rviz:=true Should I be using use_fake_hardware:=false?

This doesn't make any difference because for the moveit those parameters are irrelevant.

@destogl should we close this? There are separate repositories for simulation:
ignition: https://github.com/UniversalRobots/Universal_Robots_ROS2_Ignition_Simulation
gazebo: https://github.com/UniversalRobots/Universal_Robots_ROS2_Gazebo_Simulation


[Improve]Schema change parses ddl sql using jsqlparser framework

Proposed changes
Problem Summary:
Introduce the com.github.jsqlparser framework to parse DDL SQL statements when schema changes.
The original change principle is to infer the columns that need to be added, deleted or modified in this change based on the last schema structure. In some special scenarios, this method will have certain bugs.
After the jsqlparser framework is introduced, the content of this schema change can be parsed based on the ddl passed by the upstream flink-cdc. Very accurate and no need to rely on the last schema.
Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes/No/No Need)
Does it need to update dependencies: (Yes/No)
Are there any changes that cannot be rolled back: (Yes/No)

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...

Thanks to @DongLiang-0  for his contribution. It is suggested to control it through a switch here.


Add observation search param has_geolocation, fix search instructions

Addresses #2093. Until now, we don't have a parameter to search for obs with geolocation.
Questions:

should a query like this also check for gps_hidden? I believe so.
I had thought not, because on my checkpoint the lat/lng seems to have been stripped where gps_hidden. But Joe pointed out that the lat/lng is saved on the obs even when gps_hidden, on production.
should it instead be called has_public_geolocation?

coverage: 94.412% (+0.003%) from 94.409%
when pulling 302a675840bd65592e55464c47c6d9e2b978f0bf on search-has-lat-long
into 2be0832145b6d3c8fc4e7757f8c8b9af98a8e3d5 on main.

Please vote for a name for this param:

gps_public
has_geolocation
has_public_geolocation
has_lat_lng
has_public_lat_lng

My 2¢ = has_public_lat_long because that is least ambiguous.

Per email conversation with @pellaea it seems the has_location param is only useful for finding undefined Locations.  That query returns only one observation in the entire database with an undefined location currently (and it's from the town I live in!)

@JoeCohen should we retire has_location?

param name:
I'm good with whatever others like. If it were up to me I'd use something without "has" (will avoid one rubocop issue).
maybe with_public_geolocation
I'm OK with retiring has_location.

@mo-nathan is the has_location query param useful for projects, or anything you're working on?
In case you missed the discussion on this, has_location only checks for an associated location, which of course could be "Alabama, USA", so it's not so useful, except for finding obs with undefined location.
The current use people seem to have for something like this, however, is trying to find observations that "have a precise and public GPS lat/long". Until now, the search instructions for the has_location param erroneously suggested this was what it did.


Add some missing keys

Current version of stable-diffusion-webui: 64da5c4
No translation for additional extensions is included (only one key belongs to sd-webi-bilingual-localization)

Test passed.
The newly added translation can be displayed normally.


1 nonadmin.cmd

This change is

...

Thank you for your contribution. However, the changes made to the filename need to be generic to accommodate different users' needs, as originally intended with the placeholder.


⚠ Bofrost.fr has degraded performance

In 74e0fa7, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 900 ms

Resolved: Bofrost.fr performance has improved in cfbe002 after 6 minutes.


OAuth2 authentication

Please describe the change you are making
This PR adds authentication capabilities as described in this blog post

Closing PR pending reopening from new account @janosdebugs


AttributeError: 'tuple' object has no attribute 'size'

I see that f is a tuple, consisting of (x, x_736), the result of the forward() method in the netOpenFace class. I am getting AttributeError: 'tuple' object has no attribute 'size' when I run your code as is.
Is this expected?
The following code is from the last few lines in loadOpenFace.py.
for i in range(f.size(0) - 1):
        for j in range(i + 1, f.size(0)):
            df = f[i] - f[j]
            print(img_paths[i].split('/')[-1], img_paths[j].split('/')[-1], torch.dot(df, df))

I'm having the exact same issue. Rather, I can see that the author has tried to compute the L2 of the difference of each 2 images, but  in fact f is a tuple, where f[0] is a Tensor of the size num_imagesx128 and f[1] is of the size num_imagesx736 and I am not quite sure which of those I should use!

Oh, sorry for the very belated response. I was off.
x will be an 128d embedding or x_736. The original was just x, but I added x_736 without update of the main function. Sorry again :)
And regardless of the main function in loadOpenFace.py,

you may want to try Cosine distance for 128d feature.
for 736d feature, I'm not sure which metric is the best because it is the intermediate output of the network. I guess L2 would work.


Bug: wrong display position after creating a code block from selected text.

When selecting text and creating a code block, the resulting code block appears in an incorrect position. Instead of being inserted at the location of the selected text, the code block is either displaced or appears in an unintended area of the document. This misalignment disrupts the document's layout and workflow, causing confusion and additional manual adjustments by the user.
Steps To Reproduce
Please watch this video:
https://github.com/facebook/lexical/assets/64115961/deefc84c-14d3-48a9-b608-fd26879af5d2
The expected behavior

This seems to happen with all formatting options. It formats from the beginning of the selection to the end of the line.


[SMALLFIX] Upgrade aws sdk to latest.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/17242/
Test PASSed.

@calvinjia what has been done to test the version bump?

@aaudiber I ran the contract tests (which were ~25% faster, for what its worth) and did some raw IO tests (same performance)


fix_sex_toy_speed -- allows speed to have an effect on the setInterva…

@Rabrennie
fixes sexToy.js speed usage so that setInterval's interval is not stuck at 400

:cactus: - sex toy
:+1:


About the init_cfg.checkpoint of the backbone

Hi, thanks a lot for sharing the great work. I notice a good pre-trained model for Camere backbone is helpful to get a better effect.
How did you get the pre-trained model "swint-nuimages-pretrained.pth"? And what the data volume?
Thanks a lot~

The Swin-T model is pretrained on nuImages 2D object detection task following the convention of almost all camera-LiDAR fusion papers (that uses nuScenes). You can refer to official mmdet3d repo for details of model training on nuImages.

Ok, got it. Many thanks.

Hi, I checked the official mmdet3d repo. It seems that there's no training configs of the training of swinT. Can you release the  pretraining configs of it? Or how can I find the proper way to train a swinT model on nuImages 2D object detection task?

Sorry I don't have the bandwidth to check whether my previous experiment config can work with the latest codebase, so the release plan will be delayed. However, I think it should be quite easy to get started from the mmdetection3d codebase. I remember that they provided some example for ResNet101-based detectors. You may just change the image backbone to SwinT.

Yes, they provide different settings. And I'm confused about whether you pretrained on COCO and which model you used for the 2D detection task. Could you give me a suggestion to find the same setting as yours~

That's helpful. Thanks a lot.


⚠ SkipTheCommericals has degraded performance

In 0a95170, SkipTheCommericals ($STC) experienced degraded performance:

HTTP code: 200
Response time: 1385 ms

Resolved: SkipTheCommericals performance has improved in 9f84c4d.


MLE-17858:(CVE) MLCP - com.thoughtworks.xstream:xstream - 7.5 HIGH

Upgrade xstream from 1.4.20 to 1.4.21

Test results:

Check local maven repo:

only the lastest version 1.4.21 has been used

mvn test

Local regression test:

Merged now


Disable debug

There needs to be a way to disable the package's debug messages, its flooding my console.
Also this is not cool, as its app wide

^This. And I'm getting the following error related to this.
angular.js:63 Uncaught Error: [$injector:modulerr] Failed to instantiate module myApp due to: Error: [$injector:modulerr] Failed to instantiate module hm.readmore due to: TypeError: e.debugEnabled is not a function

Agree, this makes it very hard to debug other things

With the debug enabled at false it shouldn't show anything in the console.

Fixed in a56d8f35dd0291eb70257d104583f7e968c384b2


GH-33970: [C#] Make schema field names case sensitive

Remove the use of a comparer that ignores casing when building the fields dictionary for a schema.
This allows for fields with names that differ only in casing.
Currently, fields with names that only differ in casing will be seen as having the same name and will cause an Exception to be thrown due to being seen as having duplicate keys.

Closes: #33970

Thanks for the contribution, @DanTm99! The code change looks good.
Any chance you could write a quick unit test or two for this?

It's odd to me that a dictionary is used at all. For example, it seems this will still prevent correct loading of tables that have duplicate column names

How do duplicate column names work? If you look it up by name, you get the last one? But each gets an index?
So if I had 2 columns named "Foo", the Count would be 2, and index 0 would be the first column. Index 1 would be the second column. And if I said schema.GetFieldByName("Foo") I'd get the 2nd column?

How do duplicate column names work? If you look it up by name, you get the last one? But each gets an index?

Yes, each column gets an index and index-lookups always work.  In pyarrow a name lookup raises an error if there are duplicate columns.  In arrow-rs it appears it always picks the first one.

@eerhardt I've added a few unit tests

@westonpace @eerhardt I've created issue #34076 regarding the exception being thrown when multiple fields have the same name


Compatibility checker blocks joining a lobby (or seeing error messages) if you are using an older version.

The update message was blocking any potential error info etc.
The compatibility checker may have also crashed the game one time it seems.
Also seems to trigger if someone with a newer version joins an older version it can crash the game to start menu.

Could you send me your log file if you ever crash with the mod again?
It's located in your game file directory/BepInEx
there should be a log file in there.


SSR not compatible?

running into  this issue
window is not defined on server rendering.
Suggested solutions in medium post didn't help.
any ideas?

take a look at #11. you should exclude vue-toasted from SSR


Replace eventlet

FYI eventlet is on the way out, cf. https://github.com/eventlet/eventlet README:

Our goal is to plan the retirement of eventlet

Would be nice to find a replacement at some point.
For Linux distros, eventlet is starting to cause problems, for example this page shows all the Debian packages that need the workaround EVENTLET_NO_GREENDNS=yes: https://codesearch.debian.net/search?q=EVENTLET_NO_GREENDNS&literal=1&perpkg=1
We also have to patch a few packages in Kali Linux.
Unfortunately I'm not familiar with Python async stuff, so I can't submit a patch myself. I don't know if it's easy to migrate to something else.
Best regards, from Kali dev team !

Hi,
Thank you for bringing this to our attention. We appreciate the heads-up and will work on finding a replacement and implementing a fix in the coming days.
Best regards, from the redeye-framework team :)


修travis-ci

#170 袂過

Coverage remained the same at 94.208% when pulling 79b12f52af68437d55347c5da44812cf25aa3163 on 修travis-ci into b4f39ae2a78e0ec7408b8a71b6a623c9c57c5df7 on master.

Coverage remained the same at 94.208% when pulling 79b12f52af68437d55347c5da44812cf25aa3163 on 修travis-ci into b4f39ae2a78e0ec7408b8a71b6a623c9c57c5df7 on master.

因為celery更新到4.0.0版矣


Log Level not preserved across reloads

Noticed in 1.57-insiders and 1.56.

Works for me.

Version: 1.57.0-insider
Commit: 4fd4e10e99eff9eb77408b71c7f58b7ed7458ee5
Date: 2021-05-21T05:12:10.032Z
Electron: 12.0.7
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 20.4.0
🤷♂


[Question]: Issue with setting up OpenAI Embedding RAG for LibreChat running on Unraid

What is your question?
I am running my LibreChat docker container on Unraid. I am trying to enable RAG with OpenAI embeddings based on the instructions at this page, which are:

Insert environment variable RAG_API_URL=http://host.docker.internal:8000

Insert environment variable RAG_OPENAI_API_KEY=sk-your-openai-api-key-example
(I inserted my OpenAI API key.)

Change my repository to: ghcr.io/danny-avila/librechat-rag-api-dev-lite:latest

4, Run the command to start up the Docker containers.
The problem is that the LibreChat instance will fail to start up. I've inserted the details of my error log below.
Thank you for your help!
More Details
Here is the error log:
text  error  warn  system  array  login
self.dbapi_connection = connection = pool._invoke_creator(self)

File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 643, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 616, in connect
return self.loaded_dbapi.connect(*cargs, **cparams)
File "/usr/local/lib/python3.10/site-packages/psycopg2/init.py", line 122, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: could not translate host name "db" to address: Name or service not known
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 389, in create_vector_extension
session.execute(statement)
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2306, in execute
return self._execute_internal(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2181, in _execute_internal
conn = self._connection_for_bind(bind)
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2050, in _connection_for_bind
return trans._connection_for_bind(engine, execution_options)
File "", line 2, in _connection_for_bind
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/state_changes.py", line 139, in _go
ret_value = fn(self, *arg, **kw)
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 1144, in _connection_for_bind
conn = bind.connect()
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3279, in connect
return self._connection_cls(self)
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 147, in init
Connection._handle_dbapi_exception_noconnection(
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2443, in _handle_dbapi_exception_noconnection
raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 145, in init
self._dbapi_connection = engine.raw_connection()
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3303, in raw_connection
return self.pool.connect()
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 449, in connect
return _ConnectionFairy._checkout(self)
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
rec = pool._do_get()
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 179, in _do_get
with util.safe_reraise():
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in exit
raise exc_value.with_traceback(exc_tb)
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
return self._create_connection()
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
return _ConnectionRecord(self)
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 674, in init
self.__connect()
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 900, in __connect
with util.safe_reraise():
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in exit
raise exc_value.with_traceback(exc_tb)
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
self.dbapi_connection = connection = pool._invoke_creator(self)
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 643, in connect
return dialect.connect(*cargs, **cparams)
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 616, in connect
return self.loaded_dbapi.connect(*cargs, **cparams)
File "/usr/local/lib/python3.10/site-packages/psycopg2/init.py", line 122, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "db" to address: Name or service not known
(Background on this error at: https://sqlalche.me/e/20/e3q8)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/main.py", line 49, in
from psql import PSQLDatabase, ensure_custom_id_index_on_embedding, pg_health_check
File "/app/psql.py", line 3, in
from config import DSN, logger
File "/app/config.py", line 264, in
vector_store = get_vector_store(
File "/app/store_factory.py", line 22, in get_vector_store
return AsyncPgVector(
File "/usr/local/lib/python3.10/site-packages/langchain_core/_api/deprecation.py", line 216, in warn_if_direct_instance
return wrapped(self, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 347, in init
self.post_init()
File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 354, in post_init
self.create_vector_extension()
File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/pgvector.py", line 392, in create_vector_extension
raise Exception(f"Failed to create vector extension: {e}") from e
Exception: Failed to create vector extension: (psycopg2.OperationalError) could not translate host name "db" to address: Name or service not known
(Background on this error at: https://sqlalche.me/e/20/e3q8)
What is the main subject of your question?
Other
Screenshots
No response
Code of Conduct

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

psycopg2.OperationalError: could not translate host name "db" to address: Name or service not known

It seems that it cannot find the db
For rag server you need a vector db. This can be a postgres or a mongo.
Check here for details.
https://github.com/danny-avila/rag_api/


Gift entry: Payments with no schedule date will give component error when update payment is selected.

Steps to reproduce:

Create an opportunity.
Create a payment with no scheduled date.
From gift entry form, select the donor and update payment in review donations modal.

The component error occurs as shown in the screenshot. it's fixed after you enter a scheduled date.

**lurch: attach W-040249

Tracking W-040249

W-7964224

This issue is no longer being considered by the product team.  (W-7964224)


Fix num of docs in -1k generated corpus

Fix number of docs in -1k file generated by the create-track
subcommand.
Closes #1317

@DJRickyB thank you for the quick review!


Functions passed as additional variable of the include statement are executed

Consider the following test:
        twig({
            id:   'include-with-function',
            path: 'test/templates/include-with-function.twig',
            async: false
        });

        // Load the template
        twig({ref: 'include-with-function'}).render({
            test: function(d) {
                return 'ABC' + d;
            }
        }).should.equal( "ABCD" );

with test/templates/include-with-function.twig consisting of
{% include "inc-function.twig" with {
    test: test
} %}

and test/templates/inc-function.twig consisting of
{{ test('D') }}
This test will fail with the error:

Error parsing twig template test/templates/inc-function.twig:
TwigException: test function does not exist and is not defined in the context

Now consider the same test with test/templates/include-with-function.twig consisting of
{% include "inc-function.twig" %}
This test will pass.
The only difference between those two test in that in the first one, test is passed as an additional variable to the include statement.
The thing is function passed as additional variable of the include statement are executed:
{% include "inc-function.twig" with {
    test: test <---------------- test is executed and the result of its execution is stored into `test` property
} %}

Thus, in the included template, test is not a function but a string containing 'ABCundefined'.
Is this an expected behavior?

with is causing lots of problems all over the place.
If it doesn't behave like twig-PHP, then it isn't expected behaviour.

OK, I'll see what I can do.


ComparisonType.GreaterThan and ComparisonType.GreaterThanOrEqual are mixed up

Comparison logic is mixed up in file CompareToAttribute.cs. For example:
line 163
if (ComparisonType == ComparisonType.GreaterThan)
and line 177
if ((DateTime)value <= (DateTime)comparePropertyValue)
line 177 should be
if ((DateTime)value < (DateTime)comparePropertyValue)
line 192
if (ComparisonType == ComparisonType.GreaterThanOrEqual)
and line 206
if ((DateTime)value < (DateTime)comparePropertyValue)
line 206 should be
if ((DateTime)value <= (DateTime)comparePropertyValue)
Or just change comparison type in if statement:)
I haven't checked other comparison types so there could be some errors too.

Sorry, my bad. I have the TimeSpan comparison in my code, so GreaterThan acts as GreaterThanOrEqual comparison type.


Several block changes to FTC components.

Several block changes to  FTC components.

Added blocks

FtcLinearOpMode

Time
The number of seconds this op mode had been running when the RunOpMode event was triggered.

FtcOpMode

Time
The number of seconds this op mode had been running when the Loop event was triggered.

Renamed blocks

FtcDcMotor

ChannelMode Mode

@jisqyv
@halatmit

@lizlooney LGTM, Merged


Discriminator + Deserialize does not appropriately create objects when used with Arrays.

I'm attempting to use deserialize with Discriminator support.
I noticed an issue, so i'm going to use the example to demonstrate that problem.
The object we create in the example is below:
const list = {
  data: [
    {
      type: "page_view",
      value: "value",
      url: "https://url"
    },
    {
      type: "action",
      value: "value",
      event: "event"
    },
    {
      type: "click_action",
      value: "value",
      event: "event"
    }
  ]
};

Because data is an Array, the TS type should be represented as such.
Example below.
class DataObject {
   data: Array<ObjectType1 | ObjectType2 | ObjectType3>
}

If you copy and paste the full example code (below), the issue should become clear.
Specifically, deserialize does NOT make the internal objects appropriately when used with Array.
Example Code
import { deserialize } from "@tsed/json-mapper";
import {
  DiscriminatorKey,
  DiscriminatorValue,
  OneOf,
  Property,
  Required,
} from "@tsed/schema";

class Event {
  @DiscriminatorKey() // declare this property a discriminator key
  type: string;

  @Property()
  value: string;
}

class SubEvent extends Event {
  @Property()
  meta: string;
}

@DiscriminatorValue("page_view") // or @DiscriminatorValue() value can be inferred by the class name
class PageView extends SubEvent {
  @Required()
  url: string;
}

@DiscriminatorValue("action", "click_action")
class Action extends SubEvent {
  @Required()
  event: string;
}

@DiscriminatorValue()
class CustomAction extends Event {
  @Required()
  event: string;

  @Property()
  meta: string;
}
/**
STOP HERE, COMMENT / UNCOMMENT TO `data` TO SEE THE PROBLEM
*/
class Tracking {
  // If data is NOT an Array, this works.
  @OneOf(PageView, Action, CustomAction)
  data: PageView | Action | CustomAction;

  // If data IS an Array, this fails
  // @OneOf(PageView, Action, CustomAction)
  // data: Array<PageView | Action | CustomAction>;
}

describe("test", () => {
  it("check", () => {
    const list = {
      // Data is an ARRAY, not a single object so the example on the website is indeed incorrect.
      data: [
        {
          type: "page_view",
          value: "value",
          url: "https://url",
        },
        {
          type: "action",
          value: "value",
          event: "event",
        },
        {
          type: "click_action",
          value: "value",
          event: "event",
        },
      ],
    };

    const result = deserialize(list, {
      type: Tracking,
    });

    expect(result.data[0]).toBeInstanceOf(PageView);
    expect(result.data[1]).toBeInstanceOf(Action);
    expect(result.data[2]).toBeInstanceOf(Action);
  });
});

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

v7.14.1
GitHub release

Your semantic-release bot :package::rocket:


Use JSDoc for React!

solomon is used to build my personal blog, so document doesn't seem necessary... but it's cool to have one, right?
On the other hand, some tag from JSDoc, such as @type and @param can be pretty handy.
For now, I'm working with the react part of solomon, so here is a todo list of react:

[x] App.jsx
[x]  Comment.jsx
[x]  Footer.jsx
[x]  Forever17.jsx
[x]  Header.jsx
[x]  Main.jsx
[x]  Navbar.jsx
[x]  PostList.jsx
[x]  UpNext.jsx
[x]  About.jsx
[x]  Homepage.jsx
[x]  Links.jsx
[x]  Post.jsx
[x]  Tag.jsx

For amp and ng(angular), I might open a new issue after finishing this one.

closes in 2231f96d1ec5ff8112f1417c73f39716f8c233e4


Include killed boolean in command result

The exit code of each command is already included in the result but the usefulness of this is limited if concurrently is run with killOthers. When parsing the result you do not know if a non-0 exit code is because the command failed or if it was killed by concurrently.
Adding this option allows you to print a message at the end identifying exactly which commands caused the initial failure.

Coverage remained the same at 100.0% when pulling 1bb54a42a9103e2fbc2682dcd8778a60fadfe847 on Roaders:master into b62a2a1c92caa590b78f336cc8fcef745e5a7832 on kimmobrunfeldt:master.

Any chance we can get this PR considered?

Do I have to do anything to merge this? I assume you'll merge it at some point.
Thanks.

Any idea when this will be released?

Heya. Just released it in v6.2.0.

brilliant, thanks


10 | Regular Expression Matching | C++

Title -
What will change -
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] C++

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

I would like to contribute in cpp.


FindPackage(OpenCL) reports found even if no C++ bindings installed

We need to only enable OpenCL if the C++ bindings are present. Might have to write some custom cmake scripts?

I think this is taken care of now that we include the OpenCL C++ bindings as a submodule. Need to verify.

Closing as wontfix now that we've stopped using OpenCL.


Rebalancing service containers across hosts

Describe your issue here
The Rebalancing service containers across hosts is not happening in the rancher (V 1.6.21).
I have stopped all the services before adding 2 more hosts to the environment and made all their services up but the services are running only from the first host, it supposes to run from all the hosts(load balancing).
Is there any configuration needed for this?

Useful
Info

Versions
Rancher v1.6.21 Cattle: v0.183.60 UI: v1.6.45

Access
Disabled

Orchestration
Cattle

Route
hosts.index

There are scheduling examples to spread the containers as much as possible here: https://rancher.com/docs/rancher/v1.6/en/cattle/scheduling/#examples
See https://github.com/rancher/rancher/issues/2558#issuecomment-382673071 for an actual rebalancing feature.


Create a submodule for providing easy access to System properties

In the Readme.md file : What's next -> Make a complete PC suite by integrating other features -> Get info about PC health ,
one of the future objectives of this repository has been highlighted. I would like to propose making a python module which could provide fast and easy access to details of a systems underlying architecture , ranging from disk partitions to processor count.
Such a module in my view would help future work on projects closely related to a computers underlying hardware , much more easier . The data obtained from such a module can also be used to provide statistics to the user and predict the systems health which would be a key feature to convert the project into a complete PC suite.

I would like to work on this issue. Could you please assign it to me ?

@Ansh-Sarkar can you please mention exactly what features you would be adding?
Have you read the contribution guide as well (specially the blog post mentioned)?

Yes I did . Sorry for next mentioning the exact features. Will do so .

The module should be able to provide the following data :

Software and Hardware info :

System software and hardware info
First boot time stamp data
CPU statistics such as number of cores , percentage usage and frequency
Memory statistics : Used , available and total memory
Disk partitioning data : Number of disk partitions and total read/write operations performed on them
Network hardware : IP/MAC address , broadcast address and total bytes sent and received
GPU statistics : return the GPU id , name , manufacturer , temperature  , memory usage.

These are the main statistics / information which this module would provide access to. It requires a few extra python libraries which i will be adding to the requirements.txt file.

Thanks for the detailed explanation!
I think you will be using subprocess or psutil to achieve this?
You can go ahead with this IMO. Make sure that you present it in a user-friendly way.
Also look at #14 by @encrypted-jpg which also does the same perhaps

Yes @prashantsengar will be using both those libraries. #14 focuses only on a few parameters but my aim is to provide a module on which future developers can get easy access to such system data. Also may I know what user-friendly means ? Like properly commented code or something ? And sorry but what is IMO ?

Will send the P.R. soon thank you.


feat(Lezer grammar): Highlight properties

This renames the AssignCall token to Property which seems more common in upstream tokens, albeit there it is inconsistently named and sometimes named Property (JSON) and PropertyDeclaration (JavaScript), etc.
This also adds a token with the name PropertyName which we map to the Lezer highlighting tag propertyName.

How about the name Column or Field? Please provide suggestions if you have any better name.
Good question about Assign and AssignCall. I think it depends on whether they're semantically the same thing. If they are then they do not need to be distinguished, but if they are semantically different then it would be good to have separate Lezer tokens for them as that allows us to highlight them differently by mapping them to different Lezer highlighting tags in the highlight.js file and would also allow us to lint them differently.

How about variable or declaration? That's what we call them in the book: https://prql-lang.org/book/reference/declarations/variables.html. They're not always columns (for example, a function), so column isn't ideal either.

Good question about Assign and AssignCall. I think it depends on whether they're semantically the same thing.

I think we used to differentiate between
from x
derive foo = (round 2 g)

and
from x
derive {foo = round 2 g}

...since only the latter can be outside a tuple, because of our rules about parentheses (https://prql-lang.org/book/reference/syntax/operators.html?parentheses#parentheses). So possibly that's why we have two types here. We can merge them if the parser can still handle that difference...

We cannot use variable or declaration (lowercase) because then they would be internal tokens, so they would have to be Variable or Declaration.
We already have a VariableDeclaration token which is composed of the let keyword, the variable name (a token named VariableName), the equals sign, and a nested pipeline. Adding a Variable token could be confusing when we already have a VariableDeclaration and a VariableName token. The Declaration is rather ambiguous.
Perhaps TupleAtom or TupleVariable?

Perhaps TupleAtom or TupleVariable?

These aren't always Tuples though! e.g. derive foo = bar
I have to admit that Assign seems reasonable! I can't think of a better term than those at the moment. Alias could be OK...

But we have an Assign token, the one I renamed to Property was the AssignCall token. Should I rename it back to AssignCall?

Ah, I see what you mean.
AssignTupleItem / AssignTuple could be reasonable. I agree the Call part of it isn't that clear. It was probably there because derive foo = (round 2 g) contains a function call...
(and looks like at the moment it's the same as Assign — though really derive foo = round 2 g should be invalid, and I'm guessing it's not at the moment, since the current Assign allows function calls like round 2 g.

AssignTupleItem sounds alright for now.

OK great! Thanks for pushing through


Build broken in main

Build broken after recent merge of #64

@witterless one for you :fire_extinguisher:

Will do!