java-interop: add extra properties to GreyhoundConfig

Modify GreyhoundConfig to accept extraProperties map parameter.
Add Unit test case (GreyhoundBuilderTest.configure_consumer_with_timeout_custom_props) but it is still failing; seem like properties setting doesn't have any affect on kafka consumer/producer. Please help to verify this.

restarting PR to try and trigger build on github actions

restarting PR to try and trigger build on github actions

@b41somp, great job so far.
regarding the failing test.
Maybe a better way to test would be to check with an additional consumer with a custom property that changes it's group name, but both consumers using the same handler.
and checking that invocations happened double.
for that you would have to go back to your original idea of having the custom props on consumer level - which is not such a bad idea, as there are props that are unique to consumers...
In terms of testing the producer, may I suggest to add another test that uses the max.request.size  with low value, and check the produce fails with RecordTooLargeException
WDYT?

@b41somp, great job so far.
regarding the failing test.
Maybe a better way to test would be to check with an additional consumer with a custom property that changes it's group name, but both consumers using the same handler.
and checking that invocations happened double.
for that you would have to go back to your original idea of having the custom props on consumer level - which is not such a bad idea, as there are props that are unique to consumers...
In terms of testing the producer, may I suggest to add another test that uses the max.request.size  with low value, and check the produce fails with RecordTooLargeException
WDYT?

I have managed to add producer and consumer test cases to test kafka properties.
For producer test case, I test on max.request.size property and on consumer I test on max.poll.interval.ms property with value '0'. It doesn't look good to me on consumer test case but I tried many failure ways except this one. Please help to verify.

I have managed to add producer and consumer test cases to test kafka properties.
For producer test case, I test on max.request.size property and on consumer I test on max.poll.interval.ms property with value '0'. It doesn't look good to me on consumer test case but I tried many failure ways except this one. Please help to verify.

fixed

fixed

performing close/open to trigger sync to private

performing close/open to trigger sync to private

@b41somp the commits of these PR were sync to our private repo and synced back here with this PR.
The PR is merged and I'm cutting a new version for Maven Central.
All of the team at Wix really appreciates your meaningful contribution to Greyhound!

@b41somp the commits of these PR were sync to our private repo and synced back here with this PR.
The PR is merged and I'm cutting a new version for Maven Central.
All of the team at Wix really appreciates your meaningful contribution to Greyhound!


[WFCORE-3541] ScramDigestPassword into set-password operation

Elytron security:
Adding scram password support into set-password operation of modifiable security realms.
https://issues.jboss.org/browse/WFCORE-3541

@fjuma updated


Add --meta-lyrics option to embed lyrics

This option is missing, there should be a setting for unsynchronized, synchronized and --auto-import=lyrics for lrc files.

It is now possible to add lyrics via tone.json. A command line parameter combination would be very hard to use, so we just skip that for now.


[NEW][WIP] File upload

@rafaelks Does the Rocket.Chat REST API support the upload for any kind of file or only for image, audio and video?
From here, the right answer is only for image, audio and video?

File Upload Error:
Network Error: Write error: ssl=0x7f67d07e00:
I/O error during system call, Broken pipe
known issue?
Android(git clone 2018/02/21) --(https)-> nginx --(http)-> Rocket.Chat 0.61.0


Create VM from boot source with correct SC

📝 Description
Apply the SC to the VM's DataVolumeTemplate section from the underlying PVC
🎥 Demo
https://user-images.githubusercontent.com/67270715/221886955-fd368a40-04e0-4820-af5f-476ac1c38a6b.mp4

/lgtm


Fixed point support

Motivation
Efficient DSP hardware is typically implemented in fixed point arithmetic:
see https://en.wikipedia.org/wiki/Q_(number_format)
https://ieeexplore.ieee.org/document/7199829
It is painful to write a fixed point data path in SV, as it offers no help in managing the Q point (the number of fractional bits). The designer has to undertake the error prone process of

Aligning the binary point of addition / subtraction operands by left shifting
Keeping track of how the binary point moves after a multiplication

Desired solution
Add support for signed and unsigned fixed point 'type's in ROHD, and overload operators such as +, - and * to shift as necessary and keep track of the Q point of the result
Alternatives considered
No response
Additional details
No response

Thank you for the feature suggestion!  I'm wondering whether there's sufficient complexity that it needs to be integrated into ROHD itself or if it could be added to the library at https://github.com/intel/rohd-hcl.

Hi Max. I am very unfamiliar with Dart and ROHD still, but in my mind a user friendly implementation would look something like this wish list:

a fixed point signal that is a subclass of Logic, for example the following could define a Q1.25 signed number:
var fp = FixedPoint(name: 'b', iw: 1, qw: 15, signed: true)
a fixed point constant that is a subclass of Const with the ability to assign a float (with rounding as necessary) and a toFloat() method that return toInt() / 2^qw
Support for Arrays of Logic or Const
Operator overloading for + and - (for arrays as well), such that for example, adding a signed Q2.10 signal/constant to a signed Q5.20 signal/constant is done by shifting the Q2.10 to make a Q2.20, doing the addition, and returning a signed Q6.20.
Operator overloading for * (for arrays as well), such that for example, multiplying an unsigned Q2.10 signal/constant to a signed Q5.20 signal/constant is done by padding an MSB of 0 to the Q2.10 to make it a signed Q3.20, doing the multiplication, and returning a Q8.40.
Methods for casting to a different Q format, which would perform dropping LSBs (truncation), padding LSBs (zeros), dropping MSBs (bonus for proper clipping instead of letting it wrap), and padding MSBs (sign extension).

There is more here but this covers most of the use cases for DSP applications.

Thanks for the context, very helpful!  I think this sounds quite achievable.


Transaction ID not unique overall across models

We love Papertrail, its been a great auditing library for us.  That being said, one painful issue has been transaction id seems to not be unique across different models. So if we know to know same transaction for creating a user and their address, if I join in DB by transaction id I get hits but the actual user_versions and address_version records are not right and not created on same day......
Is this expected?

We love Papertrail, its been a great auditing library for us.

Awesome! Thanks Benjamin :heart:

.. if I join in DB by transaction id I get hits but the actual user_versions and address_version records are not right and not created on same day ..

I don't understand, sorry. Please use our bug report template.

Sorry, I'm not sure what your asking, so I'm going to close this. If this is a bug report, please use our bug report template and I'll be happy to reopen the issue, thanks!


Added 'serialize' method.

Motivation for changes:
Serialization was needed to output the the entry list as a JSON file.
Detailed changes:

Added a method to the Entry class called serialize. entry.serialize() returns a python dictionary that is ready to be used in file outputs like json.dump, or for use in writing text, csv, html, etc. files.  It was added here, so that anywhere an entry exists, it can always be serialized easily.

To Do:

[ ] Discuss if this is wanted/needed
[ ] Discuss best location for this method

I'm not sure this is needed. You can already call dict(entry) to get a dict, and I think the custom serialization of non trivial fields should go in our json util (which they already do).

I think the only issue might be with the Quality object. If I use the datetime_encoding=True flag, I'm not sure it will convert the Quality object to a string.

Perhaps that will need an additional encoder then

In order this to be useful it should be able to serialize & deserialize lazy fields and other object based fields like quality.

In order this to be useful it should be able to serialize & deserialize lazy fields and other object based fields like quality.

Agreed. I'm hoping to start work on the de-serialization method this week.


Test-bed viewer TLC

Draft issue to be discussed/prioritized at dev or PM meeting.
What needs to happen?
Test-bed viewer gets added to over time and suffers a death by a thousand cuts. I am interested in doing this work, and writing up this issue to get feedback and buy-in before opening any PRs:

The UI is getting very cluttered. I am personally to blame for some of this, but as we add/test features we are accumulating interactive elements above the viewport without a design scheme. A small effort to style and organize the UI would make for a better experience in using the viewer and reviewing PRs. I think this can be whipped up without UX input, its not production code.

Viewer.tsx is 1000+ lines and growing, also it isn't terribly well commented or organized. The html could be dried out, constants/types could be moved, and much of the html could be factored into separate component files.

Use consistent code patterns: A recent PR raised the question of wether methods passed as props should be bound in the constructor, bound as they are passed down, or used as arrow functions. All three approaches co-exist currently.

Refactor from class to functional component? This is not essential, but React continues to move on from class based components. I find that my work is easier when the test bed is more similar to the production front end environment, so refactoring the viewer as a functional component could be worth doing at some point and would not be that hard.

Worth doing a pass through on functionality to make sure that everything in the UI still works as expected.

Why should we do this?
Increased productivity and the peace of a well kept space.
When does this need to get done?

I'm thinking of something simple, draft ideation example below. Makes it easy to hide functionality that isn't often used.

Not urgent, but why not now.

Love this ticket.  And it can be done incrementally... e.g. "convert to react functional component" is a good self contained task here.

I would like to ask for no overlays over the viewer canvas, please?
And keep it as easy as possible to add a new button.  This is one of the things that was good about the big monolithic file was that it's easy to just throw in a button and hook it up, to try something out. The whole point of the testbed.

I would like to ask for no overlays over the viewer canvas, please? And keep it as easy as possible to add a new button. This is one of the things that was good about the big monolithic file was that it's easy to just throw in a button and hook it up, to try something out. The whole point of the testbed.

No overlays, got it! Thank you for making a request!
Yes, I will make adding things as easy as possible. I know that is critical.


Design inconsistencies in pass test payload section of the response pane

Incorrect bottom padding between the run button and the footer.
The input is missing label data .
Spacing between the subtext and the input is incorrect.
The stop CTA has disappeared.
Spacing between the input payload and run CTA’s are not as per design.

The lighting menu indicator is not required here. This input cannot be used to bind anything.

@ayushpahwa as discussed, creating a separate ticket to track the error and warning state for test payload input.

Hey team! Please add your planning poker estimate with Zenhub @nsarupr @srix

Stop cta is not integrated at the moment. I am moving that as a separate task.


MockServer cannot be instantiated in ts as it is an abstract class

When copying this code
https://github.com/SAP-docs/sapui5/blob/e91c998501a959ac766536e81a537ea6916bec80/docs/03_Get-Started/step-26-mock-server-configuration-typescript-3e1c64f.md?plain=1#L157-L159
I get the following error:

Cannot create an instance of an abstract class.ts(2511)

How can this be done instead?

843769

Hi @o-liver, thanks for your contribution! We'll look into it and will get back to you.

Fixed as of the next release.


Crash when adding a connection to a named instance of SQL 2014 when multiple instances exist on the machine.

SQL Operations Studio Version: sqlops 0.23.6 (8a3011756318a2ded1e6e84332230a2b2bf9c544, 2017-11-06T21:51:43.232Z)
OS Version: Windows_NT x64 10.0.16299

Note: I am able to connect with SQL Management Studio 2016
Steps to Reproduce:

Adding a connection to a named instance on a server with multiple SQL Server instances. 2008, 2012, and 2014.

System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.<>c__DisplayClass22_0.b__0(Task1 _)    at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection.ReliableSqlConnection.<>c__DisplayClass28_0.<b__0>d.MoveNext() in C:\J\jobs\sqltoolsservice_master_win\workspace\src\Microsoft.SqlTools.ServiceLayer\Connection\ReliableConnection\ReliableSqlConnection.cs:line 298
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.SqlTools.ServiceLayer.Connection.ConnectionService.d__46.MoveNext() in C:\J\jobs\sqltoolsservice_master_win\workspace\src\Microsoft.SqlTools.ServiceLayer\Connection\ConnectionService.cs:line 542
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:-1,State:0,Class:20

Could you give more information on the steps to reproduce? For example:

What do the different server names look like (e.g. MyServer\MyInstance1, MyServer\MyInstance2 )?
Are you using an alias?
Is there a default instance on the machine?

This will help us reproduce the issue and determine if it's an issue in the driver, lack of support for aliases, or a bug in the Operations Studio code.

Closing since we don't have a repro.  Please reactivate if the problem persists.


Bug: QA Protocol Gas Data

Issue:
Protocol Gas is missing from the historical RATA in global - view print-out report
Steps to Recreate:

Select 564 config CCB from global view
Go to Export and Report
Select 2022 Q2 Reporting Period
Select RATA test
View Print-out Report

https://usepa.sharepoint.com/sites/CAMDCVPTeam/Shared Documents/Forms/AllItems.aspx?id=%2Fsites%2FCAMDCVPTeam%2FShared Documents%2FECMPS Beta Testing%2F2023-10-27 Screenshots%2FTEST_DETAIL_Curtis H. Stanton Energy Center_564-2022q2.html&parent=%2Fsites%2FCAMDCVPTeam%2FShared Documents%2FECMPS Beta Testing%2F2023-10-27 Screenshots

We do not have Protocol Gas Report added for RATA. Chris confirmed to add the Protocol Gas Report.
As I talked with @Kyle-Herceg . This needs to added in the DB-SCRIPTS. So, Transferring over to Tech Team @Kyle-Herceg

Protocol Gas added to report
Private Zenhub Image


Move this repo to the new electron org?

Should we?
@jlord @kevinsawicki

👍 It is on the list here https://github.com/atom/electron/issues/4874

This has happened :shell:


Remove version: Fort.Firewall version 3.10.7

Replaced by https://github.com/microsoft/winget-pkgs/pull/137339

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Is there a way to remove the version without it throwing Internal-Error-Manifest error? or is it expected?

Sequence contains no elements

https://github.com/microsoft/winget-pkgs/issues/133371

(Automated response - build 684.)

URL: https://github.com/tnodir/fort/releases/download/v3.10.7/FortFirewall-3.10.7-windows10-x86_64.exe
Status Code: 200
(Automated message - build 684)


Support multiple bots

The way the token configuration is handled at the moment means that this library can only be used for a single bot. I'd like to have multiple bots running within the same Erlang VM.
It would be nice if the token could be specified when making an API call. For example:
Nadia.send_message(chat_id, text, token: token)

That sounds like a big refactor @col
Any feedback on this? @zhyu

Is there any chance this will get merged yet? Has anyone come up with a workaround?

Sorry for keeping you waiting 😿
I'll try to find a clean way to do this, and do some refactoring later

what about using an umbrella project instead?

We need multiple bots!

Hi there.
I've created a fork project which enables support for multiple bots. You can even add dynamic bots at runtime. https://hex.pm/packages/alexia
Did a pull request with some of the functionalities and enhancements 2 weeks ago but nothing was accepted so I decided to focus on my own fork.
Take care!

@Enotsoul could you please host your code for alexia on github too?


Add support to elixir language server

Is this a work in progress? If not, I could try to implement it and send a pull request.

Go for it :)
This is a good example: https://github.com/kabouzeid/nvim-lspinstall/pull/24/files


PHP 8 support

Now that PHP 8 has been released we should update the app to work on php8.
Laravel framework v6.20 adds PHP8 support: https://github.com/laravel/framework/releases/tag/v6.20.0
This does bump the minimum version of php to 7.2.5: https://github.com/laravel/framework/pull/34928

[ ] Update framework.
[ ] Go through dependencies and update where require.
[ ] Update GitHub actions to cover php 8.
[ ] Test locally

Due to php version change we'll need to add a notice to the update docs on release.

Removed from being targeted on next release due to outstanding issues/work in #2410. Don't want to rush it.

FYI:
The current Debian Version Buster has PHP 7.3
Ubuntu 18.04 (Support until 2028) has PHP 7.2

So we can't use it on php8?

So we can't use it on php8?

@sid606 Not yet

@sid606 Not yet

@ssddanbrown Not sure if this is the right place for this Dan, but it's related to the lack of PHP 8 support and it may help someone so here goes.  I updated packages on Ubuntu 18.04 today and it automatically installed PHP 8.  I subsequently tried to update BookStack and hit a wall.
I fixed this by setting Apache PHP back to 7.4:
sudo a2enmod proxy_fcgi setenvif
sudo a2enconf php7.4-fpm
sudo systemctl reload apache2
And also setting PHP CLI back to 7.4 and masking 8.0:
sudo rm /etc/alternatives/php; sudo ln -s /usr/bin/php7.4 /etc/alternatives/php;
sudo systemctl mask php8.0-fpm
Other people may hit this issue before PHP 8 support is available, so maybe worth including a note in the admin docs?
Thanks again for your work, we all love BookStack here!

Done, as part of the commits listed within https://github.com/BookStackApp/BookStack/issues/2648#issuecomment-803405790


Postgres test data is too big

Use a smaller scale Postgres test data. Current one is SF0.1, i.e. around 100MB.

We'll also need to revise the keys used in the unit tests as per #111.

This has been fixed.


[Feature Request] Embed nptyping exceptions in beartype exceptions

Thanks to the tireless wizardry of @ramonhagenaars, the upcoming nptyping 2.0.0 release will bring a @beartype-friendly public nptyping.NDArray API for raising detailed error messages describing the exact cause of a typing failure. Let us applaud his resilience in the face of annoying commentary from @leycec.
Ideally, @beartype should explicitly support this API with an optional runtime dependency on nptyping. Specifically, when nptyping is importable and an arbitrary object violates a type hint, @beartype should (in order):

Detect whether that type hint is a nptyping.NDArray[...] subscription.
If so:

Call the is_instance_or_die() method (or something something) of that object to offload the burden of generating a human-readable exception to nptyping itself.
Embed the resulting exception message in a higher-level @beartype exception message.

Actually...
@ramonhagenaars: I just jury-rigged up an even more convenient API for @beartype. That's great for us but possibly less great for nptyping. While the proposed is_instance_or_die() method would definitely suffice, what @beartype really wants is a getter method returning a sentence fragment describing the cause of the failure: e.g.,
# In the utopian dreamworld that is `nptyping`:
class NDArraySubscripted(...):
    '''
    Object produced by subscripting (indexing) :class:`NDArray`.
    '''

    def get_cause(array: object) -> Optional[str]:
        '''
        Get a sentence fragment describing the failure
        of the passed arbitrary object to satisfy this type hint if
        that object violates this hint *or* just return ``None``.
        '''

        # If this object satisfies this hint, return "None".
        if isinstance(array, self):
            return None
        # Else, this object violates this hint.

        # Let's pretend the shape is the problem.
        return (
            f'NumPy array {repr(array)} shape '
            f'{repr(array.shape)} != {repr(self.shape)}'
        )

Apex predators typers unite! :gorilla: + :bear: = :+1:

Thank you @leycec , for opening this discussion.
Let me give some context on what's this all about, for history's sake. Some libraries - I have a particular one in mind 😇 - allow for complex type hints that may leave the innocent Pythonista in doubt of the typing error when only a boolean instance check is provided.
Let's for example look at a beartyped function with hints from, say, nptyping:
@beartype
def fun(_: NDArray[Shape['*, [a, b, c], 2, BareNecessities, 5 bananas'], Float]) -> None:
    ...

Calling that fun with an array not conforming to the type hint, would result in beartype rightfully stating something like:
'@beartyped fun() parameter _="array([<some big array>])" violates type hint NDArray[Shape['2, 2'], Float], as "array([<some big array>])" not instance of <protocol "nptyping.ndarray.NDArray">'

Truthful as this may be, it leaves guessing what exactly caused the failing instance check. It would be nice if the error message would guide the poor dev towards the actual issue. An extra sentence like 'The Shape does not correspond' or maybe even something like 'Expecting Shape["*, 3, 2, *, 5"], got Shape["3, 2 <-- ERROR, 2, 4, 6 <-- ERROR"]' might be useful. This information should of course be provided by the library in question in a form that beartype expects.

Ideally, beartype should explicitly support this API with an optional runtime dependency on nptyping

Lovely as this sounds, I think a dependency can be avoided if beartype defines a protocol which nptyping (and any other library) should follow. Through the power of ducktyping, beartype could discover the existence of a get_cause method on the type hint and use that. Otherwise it would fall back to isinstance. If this was already what you meant, then sorry for being Captain Obvious. 😄

what @beartype really wants is a getter method returning a sentence fragment describing the cause of the failure: e.g.
[That code example]

It does not need to be anything complex, so this looks about right to me! 👍 The only 2 comments I have are:

The method name get_cause does not really work well from an NDArray point of view, outside of the beartype context. Do you get what I mean? I think that NDArray.get_cause(...) is not really self-explanatory. What do you think of something like get_difference or compare_to or get_comparison?
The parameter name array would fit nptyping perfectly fine of course. Other libraries, not so much probably. So maybe rename that to something like instance or obj or item?

Apex ~predators~ typers unite! 🦍 + 🐻 = 👍

Yeah! Towards a typed universe where bears and gorillas happily roam!

I think a dependency can be avoided if beartype defines a protocol which nptyping (and any other library) should follow. Through the power of ducktyping, beartype could discover the existence of a get_cause method on the type hint and use that.

You're... absolutely right. If it quacks like a duck and declares a get_cause() callable, we'll feed it crackers and ask its opinion about deep typing matters.
Of course, no API is complete without desperate attention seeking. I've excreted a new issue at #122 prodding myself to document the get_cause() protocol for the good of third-party typing kind. Let's standardize something without writing a PEP, people!1
1. Pretty sure bears and gorillas are people, too.

I think that NDArray.get_cause(...) is not really self-explanatory.

Then that is a bad name. Let's see... Let's see... Let's see! Yes, I have it!
Okay, I got nuthin'. I totally get the general direction you're lurching towards with get_difference, compare_to, and get_comparison. B-b-but all three sorta suggest that the method conveys a set difference or unified diff – orthogonal concerns, if I'm to judge by this quacking duck in my lap hungrily pecking pixels out my last remaining monitor.
After wracking my feeble neuronal bodies, how about:

describe_failure(). Tell us what you saw last summer, nptyping.
get_failure_cause(). So, we just added _failure_ here. Epic win.
is_satisfied_or_reason(). I'm reaching. I'm really reaching. The semantic idea here is that one of these two cases must hold. Either:

The passed object satisfies this type hint, in which case this method returns nothing (i.e., None).
The passed object violates this type hint, in which case this method returns a string describing why.

Kinda partial to is_satisfied_or_reason(), because the name alone explicitly tells you exactly how the protocol behaves. But we're down with whatever the raging simian masochistically beating his chest wants! Ain't nobody throwing down the apex predator gauntlet with that guy.
Coupling that with this...

The parameter name array would fit nptyping perfectly fine of course. Other libraries, not so much probably. So maybe rename that to something like instance or obj or item?

Then by the power vested in me by... uh, Github and stuff, I dub thee the pluripotent is_satisfied_or_reason() protocol:
def is_satisfied_or_reason(obj: Any) -> str | None:
    '''
    Get a sentence fragment describing the failure
    of the passed arbitrary object to satisfy this type hint if
    that object violates this hint *or* just return ``None``.
    '''

    # If this object satisfies this hint, return "None".
    if isinstance(obj, self):
        return None
    # Else, this object violates this hint.

    # Let's pretend the shape is the problem.
    return (
        f'NumPy array {repr(obj)} shape '
        f'{repr(obj.shape)} != {repr(self.shape)}'
    )

:gorilla: + :bear: = :muscle:


Question:  readonly attributes with no modifications at all being allowed

Is it true that if I want to create a truly read-only Sequelize model, I need to use this npm package and set EVERY field attribute to noUpdate: {readOnly: true}  ???

Well, yes, this is one way to accomplish that, I don't know if there are others, which they might.
The only caveat is when it is a new record, as the README says:

which effectively disables any modification on the content attribute, no matter if the previous value was null or not, though exception is when the record is new.

since, as you can see, in the code it reads:
 if (instance.isNewRecord) {
      return;
    }

but I think this is the desired in most situations (tell me if not to add an options to disable it, if you needed).
Also, if you want to set the entire model fields to readonly right now is the only way since Model noupdate is not currently supported, but could be a good addition, so tell me to add it.


[tests-only][full-ci] Add tests to list same name resources shared by user from two project-spaces with him/her

Description

In this PR following scenarios are added related to sharingNG:
- user lists the file with same name shared by user from two project-spaces with him/her
- user lists the folder with same name shared by user from two project-spaces with him/her

Related Issue

Part of https://github.com/owncloud/ocis/issues/8318

Motivation and Context

How Has This Been Tested?

locally
CI

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[X] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[x] Acceptance tests added
[ ] Documentation ticket raised:

Please, make changes to json schema
'items' should be an object when expecting 1 element
Failed asserting that false is true.


[BUG] v2.0.0 vs v2.0 CredentialManager

Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have tested that this issue has not been fixed in the latest (beta or stable) release.
[X] I have checked the FAQ section for solutions
[X] This issue is about a bug (if it is not, please use the correct template)

Describe your issue
See blog https://www.edtittel.com/blog/wingetui-throws-bogus-update-notification.html.
Steps to reproduce the issue
Install PS gallery item credentialmanager using install-module -name credentialmanager
Run latest WingetUI (v2.2.0) against windows image to get bogus update report.
WingetUI Log
🟢 .NET Tool search for installed packages finished with 0 result(s)
🟢 Searching for string ""
🟢 Chocolatey search for installed packages finished with 0 result(s)
🟠 Chocolatey got too few installed packages, retrying
🔵 Starting Chocolatey search for installed packages
🟢 PowerShell search for installed packages finished with 3 result(s)
🟢 Searching for string ""
🟢 Chocolatey search for installed packages finished with 0 result(s)
🟢 Searching for string ""
🟢 Winget search for installed packages finished with 272 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 275
🔵 Loading WingetUI log...
🔵 Copying log to the clipboard...
🔵 Loading WingetUI log...

Package Managers Logs
Outputs from package managers on the current session:
Name                                         Id                                            Version              ---------Chocolatey
Chocolatey v2.2.2
0 packages installed.
---------

Version    Name                                Repository           Description
-------    ----                                ----------           -----------
1.0.18     SpeculationControl                  PSGallery            This module provides the ability to query the speculation control settings for th...
2.0        CredentialManager                   PSGallery            Provides access to credentials in the Windows Credential Manager
1.0.11     pscredentialmanager                 PSGallery            This module allows management and automation of Windows cached credentials.---------Chocolatey
Chocolatey v2.2.2
0 packages installed.

Relevant information
No response
Screenshots and videos
No response

Please try WingetUI Beta: https://github.com/marticliment/WingetUI/releases/download/3.0.0-beta0/WingetUI.Installer.exe


[improve][broker] Make some methods in SchemasResourceBase async.

Motivation
See PIP #14365  and change tracker #15043.
Make getSchema /  deleteSchema / postSchema / getVersionBySchema / testCompatibility methods in SchemasResourceBase to pure async.
Documentation

[x] no-need-doc
(Please explain why)

Do we have test cover this change?

Ah, yes, there are tests that cover these changes. Because the interface is not changed, so tests are not modified.


[antlr4] update to 4.9.1

Describe the pull request

What does your PR fix?

Updates the port to version 4.9.1.

Which triplets are supported/not supported? Have you updated the CI baseline?

This change contains nothing related to triplets or CI.

Does your PR follow the maintainer guide?

Yes.

Hi @NickStrupat ，Thank you for your pr, I helped you modify the problem in your portifile.cmake, and updated the version, but CI showed that could not find git for clone of utfcpp, I attached the log, please take a look:
config-x86-windows-out.log

@JonLiu1993, thanks for your help. I noticed those CI errors as well. I figured it was an issue with CI, but mostly because I have no clues as to what about this port could be causing those issues.
Have you seen this kind of error before?

@JonLiu1993 I'm not sure what's going on here...
CMake Error at D:/downloads/tools/cmake-3.19.2-windows/cmake-3.19.2-win32-x86/share/cmake-3.19/Modules/ExternalProject.cmake:2542 (message):
  error: could not find git for clone of utfcpp```

It seems that something is broken on Azure? Do I need to introduce some change to reflect some change in git's availability on the build agents?

@capra314cabra I saw your previous ANTLR upgrade PR. If you have any insight here it would be greatly appreciated.

@capra314cabra I saw your previous ANTLR upgrade PR. If you have any insight here it would be greatly appreciated.

It seems to occur here. All I can say is that investigating this command may solve this problem.
https://github.com/antlr/antlr4/blob/5c2b686f95e1a42f302fefd99271863bf25b2e06/runtime/Cpp/runtime/CMakeLists.txt#L6-L14

@JonLiu1993 I had some free time and finally figured it out.

@NickStrupat ，Thanks for your contribution

@JonLiu1993, Any idea why the Windows tests are now failing due to osgearth?

@JonLiu1993, Any idea why the Windows tests are now failing due to osgearth?

This is caused by other ports on ci and has been fixed.

@vicroms ,Please merge this pr.


[icu] build failure (can't handle spaces [ ] in file path)

Host Environment

OS: Windows 10 Build 19042.804
Compiler: Visual Studio 2019
Package: icu:x64-windows
Vcpkg version: 2021-01-13-768d8f95c9e752603d2c5901c7a7c7fbdb08af35

To Reproduce
Steps to reproduce the behavior:
./vcpkg install qt5
Failure logs

stdout
>.\vcpkg\vcpkg.exe install qt5
Computing installation plan...
The following packages will be built and installed:
  * icu[core]:x64-windows -> 67.1#8
  * libpq[core,openssl,zlib]:x64-windows -> 12.2#11
  * openssl[core]:x64-windows -> 1.1.1i
  * pcre2[core]:x64-windows -> 10.35#2
    qt5[activeqt,core,declarative,essentials,imageformats,multimedia,networkauth,quickcontrols2,svg,tools]:x64-windows -> 5.15.2
  * qt5-activeqt[core]:x64-windows -> 5.15.2
  * qt5-base[core]:x64-windows -> 5.15.2#1
  * qt5-declarative[core]:x64-windows -> 5.15.2
  * qt5-imageformats[core]:x64-windows -> 5.15.2
  * qt5-multimedia[core]:x64-windows -> 5.15.2
  * qt5-networkauth[core]:x64-windows -> 5.15.2
  * qt5-quickcontrols2[core]:x64-windows -> 5.15.2
  * qt5-svg[core]:x64-windows -> 5.15.2
  * qt5-tools[core]:x64-windows -> 5.15.2
  * sqlite3[core]:x64-windows -> 3.34.1
  * zstd[core]:x64-windows -> 1.4.5#1
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...

-- Using cached C:/Users/Sebastian/Documents/Coding Projects/gz-ws/vcpkg/downloads/icu4c-67_1-src.tgz
-- Cleaning sources at C:/Users/Sebastian/Documents/Coding Projects/gz-ws/vcpkg/buildtrees/icu/src/c-67_1-src-52188c6db3.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/Sebastian/Documents/Coding Projects/gz-ws/vcpkg/downloads/icu4c-67_1-src.tgz
-- Applying patch C:/Users/Sebastian/Documents/Coding Projects/gz-ws/vcpkg/ports/icu/disable-escapestr-tool.patch
-- Applying patch C:/Users/Sebastian/Documents/Coding Projects/gz-ws/vcpkg/ports/icu/remove-MD-from-configure.patch
-- Applying patch C:/Users/Sebastian/Documents/Coding Projects/gz-ws/vcpkg/ports/icu/fix_parallel_build_on_windows.patch
-- Applying patch C:/Users/Sebastian/Documents/Coding Projects/gz-ws/vcpkg/ports/icu/fix-extra.patch
-- Applying patch C:/Users/Sebastian/Documents/Coding Projects/gz-ws/vcpkg/ports/icu/mingw-remove-bsymbolic.patch
-- Applying patch C:/Users/Sebastian/Documents/Coding Projects/gz-ws/vcpkg/ports/icu/mingw-remove-version-from-link-flags.patch
-- Using source at C:/Users/Sebastian/Documents/Coding Projects/gz-ws/vcpkg/buildtrees/icu/src/c-67_1-src-52188c6db3.clean
-- Using msys root at C:/Users/Sebastian/Documents/Coding Projects/gz-ws/vcpkg/downloads/tools/msys2/6f93104a9f073c4a
-- Configuring x64-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:105 (message):
    Command failed: "C:/Users/Sebastian/Documents/Coding Projects/gz-ws/vcpkg/downloads/tools/msys2/6f93104a9f073c4a/usr/bin/bash.exe" --noprofile --norc -c "C:/Users/Sebastian/Documents/Coding Projects/gz-ws/vcpkg/buildtrees/icu/src/c-67_1-src-52188c6db3.clean/source/runConfigureICU MSYS/MSVC --disable-samples --disable-tests --disable-layoutex --disable-static --enable-shared --host=x86_64-w64-mingw32 --disable-debug --enable-release --prefix=C:/Users/Sebastian/Documents/Coding Projects/gz-ws/vcpkg/packages/icu_x64-windows"
    Working Directory: C:/Users/Sebastian/Documents/Coding Projects/gz-ws/vcpkg/buildtrees/icu/x64-windows-rel
    Error code: 127
    See logs for more information:
      C:\Users\Sebastian\Documents\Coding Projects\gz-ws\vcpkg\buildtrees\icu\configure-x64-windows-rel-err.log

Call Stack (most recent call first):
  ports/icu/portfile.cmake:134 (vcpkg_execute_required_process)
  scripts/ports.cmake:133 (include)

Error: Building package icu:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: icu:x64-windows
  Vcpkg version: 2021-01-13-768d8f95c9e752603d2c5901c7a7c7fbdb08af35

...\vcpkg\buildtrees\icu\configure-x64-windows-rel-err.log
```
/usr/bin/bash: C:/Users/Sebastian/Documents/Coding: No such file or directory
```

Additional context
The telling information is in the ...-err.log. I have all my coding projects in a folder called Coding Projects. Most projects don't mind the space, but every now and again it seems there is a project that breaks because it can't handle spaces in paths. icu currently seems to be one of them 😄

Renaming the folder to Coding-Projects (note the minus) indeed fixes the problem.

Not all build systems handle spaces in paths properly, so it's best to put vcpkg in a path without spaces.


Add notifications for charger errors

Charger errors reported as a persistent notification eg Unsupported, Rejected to alert users the request via the integration has failed.

@lbbrhzn the run tests failure will be resolved after sensor refactoring is merged


Add changelog

See e.g. https://github.com/JonathonReinhart/scuba/blob/master/CHANGELOG.md

Actually,  with GitHub releases, this isn't as important.


Merge/conflicts

This is to solve the merge conflicts with main. After merging this, then merge dev into main.


Test process

Great work, thanks for sharing!
What are the correct evaluation steps?
I suppose "python main.py configs/config_train.ini --train" is for generating models.
What are supposed to output by the following commands?
python main.py configs/config_refine.ini --demo
python main.py configs/config_refine.ini --refine

Hi MaitaYuki,
Thank you for your question!

python main.py configs/config_train.ini --train is used for training the CSS network that outputs correspondences and latent shape codes;
python main.py configs/config_refine.ini --demo shows an example of the optimization process on a single KITTI frame. Optimization is done for both object's shape and pose.
python main.py configs/config_refine.ini --refine does the refinement on the whole KITTI dataset.

Please also take a look at the readme file. It gives more details about the respective commands.


rnn.encode_sentences deals with unknown token

Description
For rnn.encode_sentences(), could mxnet provides user self-defined behavior when vocab dictionary is given, instead of just raise false assertion?
For example, I would like to add the unknown token as "UNK" into the res list, provided that available vocab dictionary is given already.
Environment info (Required)
Name
Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz

D:\Anaconda3\envs\mlp\lib\site-packages\urllib3\contrib\pyopenssl.py:46: DeprecationWarning: OpenSSL.rand is deprecated - you should use os.urandom instead
  import OpenSSL.SSL
----------Python Info----------
Version      : 3.6.3
Compiler     : MSC v.1900 64 bit (AMD64)
Build        : ('default', 'Oct  6 2017 10:25:46')
Arch         : ('64bit', 'WindowsPE')
------------Pip Info-----------
Version      : 9.0.1
Directory    : D:\Anaconda3\envs\mlp\lib\site-packages\pip
----------MXNet Info-----------
Version      : 1.0.0
Directory    : D:\Anaconda3\envs\mlp\lib\site-packages\mxnet
Commit Hash   : 9ef196909ec7bf9cdda66d5b97c92793109798e1
----------System Info----------
Platform     : Windows-7-6.1.7601-SP1
system       : Windows
node         : CHC
release      : 7
version      : 6.1.7601
----------Hardware Info----------
machine      : AMD64
processor    : Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0150 sec, LOAD: 1.8871 sec.
Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.0200 sec, LOAD: 0.4030 sec.
Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 0.1960 sec, LOAD: 0.7660 sec.
Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0410 sec, LOAD: 1.0991 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0170 sec, LOAD: 0.1960 sec.
Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0120 sec, LOAD: 0.9331 sec.

Package used (Python/R/Scala/Julia):
(I'm using Python)
Error Message:
(Paste the complete error message, including stack trace.)
D:\Anaconda3\envs\mlp\lib\site-packages\urllib3\contrib\pyopenssl.py:46: DeprecationWarning: OpenSSL.rand is deprecated - you should use os.urandom instead
  import OpenSSL.SSL
Traceback (most recent call last):
  File "code/train.py", line 56, in <module>
    train_corpus_indexing = corpus.tokenize(args.data_folder + 'wiki-train.txt', args.train_size)
  File "E:\BD Cloud\Study\nlu-coursework\code\lstm.py", line 50, in tokenize
    invalid_key='UNK')
  File "D:\Anaconda3\envs\mlp\lib\site-packages\mxnet\rnn\io.py", line 68, in encode_sentences
    assert new_vocab, "Unknown token %s"%word
AssertionError: Unknown token sri

Minimum reproducible example
(If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.)
class Corpus(object):
    def __init__(self, vocab_size, vocab_file):
        self.vocab_size = vocab_size
        self.word2idx, self.idx2word = self.build_vocab(vocab_file)

    def build_vocab(self, vocab_file):
        '''build the vocabulary from given file'''
        vocab = pd.read_table(vocab_file, header=None, sep="\s+", index_col=0, names=['count', 'freq'], )
        idx2word = dict(enumerate(vocab.index[:self.vocab_size]))
        word2idx = invert_dict(idx2word)
        return word2idx, idx2word

    def tokenize(self, path, size=None):
        """Tokenizes a text file."""
        assert os.path.exists(path)
        # Loads the context sentence by sentence
        corpus = load_lm_dataset(path)
        corpus_indexing, _ = mx.rnn.encode_sentences(corpus, vocab=self.word2idx,
                                                     invalid_key='UNK')
        if size:
            return corpus_indexing[:size]
        else:
            return corpus_indexing

corpus = Corpus(vocab_size=args.vocab_size, vocab_file = args.data_folder+ 'vocab.wiki.txt')

train_corpus_indexing = corpus.tokenize(args.data_folder + 'wiki-train.txt', args.train_size)

Steps to reproduce
(Paste the commands you ran that produced the error.)
python code/train.py
What have you tried to solve it?
Could we provide a variable say unknown_token = "UNK"  to enable this features, possible modification:
def encode_sentences(sentences, vocab=None, invalid_label=-1, invalid_key='\n', start_label=0, unknown_token=None) :

    idx = start_label
    if vocab is None:
        vocab = {invalid_key: invalid_label}
        new_vocab = True
    elif unknown_token:
        new_vocab = True
    else:
        new_vocab = False
    res = []
    for sent in sentences:
        coded = []
        for word in sent:
            if word not in vocab:
                assert new_vocab, "Unknown token %s"%word
                if idx == invalid_label:
                    idx += 1
                if unknown_token:
                        word = unknown_token
                vocab[word] = idx
                idx += 1
            coded.append(vocab[word])
        res.append(coded)
   return res, vocab

This is a simple but necessary solution. As people sometimes are only interested in k most frequent token, that is the provided dictionary, other tokens are considered as unknown tokens, and could be replaced with special mark (e.g. 'UNK') and added into the dictionary.


Can't override default security values.

I'm trying to override security values using settings.py config file within my Django project. All my security settings are ignored and default values are being used.
I'm mostly intrested in "requestedAuthnContext" and I want to set it to "False". I've also tried to modify other parameters like nameIdEncrypted or signatureAlgorithm. All of those get ignored.

Hmm...I'd need further information to see why it isn't working for you. It definitely works in local testing so it may be something with the way the settings are being specified?

Hmm...I'd need further information to see why it isn't working for you. It definitely works in local testing so it may be something with the way the settings are being specified?

I know this issue was from quite a ways back but I haven't been able to replicate it locally. If you are still having this issue can you share an example?


Use credentials from vault to talk to s3

We shouldn't have to set this in the config. If the right environment variables are set then credential resolver should find them. If that's not working then we have a bug.


[Feature Request]: Website does not have proper meta tags

How would you like to enhance the existing project.
Issue: The website does not have meta tags with descriptions.
Impact: This means that the website is not as visible in search results, and users are less likely to click on the website's links.
Describe breifly how would you implement the same.
I would like to add meta tags with descriptions to all of its pages. This will help the website rank higher in search results and attract more visitors.
Are you contributing for a program?
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Please assign me this issue so that I can work on this issue under GSSOC'23.

Hi @Avinash905 , I am assigning this issue to you, kindly complete work within a week. Good luck for you work.

Thank you, can you also add the GSSoC'23 label also

Hi @Avinash905 , I am assigning this issue to you, kindly complete work within a week. Good luck for you work.


Increased latency

Hello,
I am running the latest version of imgproxy using Google Cloud Run, but has the same issue with Scaleway.
At the beginning, images are processed within 1 sec but after a few days, I start to experience some latencies (sometimes up to 30 sec).
I usually set the resources to 2Gb of RAM and 2 CPUs, so should be enough I guess?
Do you have an idea of what could cause this?
Many thanks for your help.
bruno.

Hey Bruno!
Sorry, can't say anything without metrics. Do you collect ones?

Hey!
I didn’t have metrics so far but your comment made me create a new relic account.
And latency mainly comes from image download and not image processing.
So nothing related to imgproxy then!
Thanks for the hint, I will investigate our network issues...


Queue preemptible work item

Description
Describe the purpose of and changes within this Pull Request.
Testing
Do any existing tests cover this change? Are new tests needed?
Documentation
Is there any documentation impact for this change?

Abandoning this PR...


Analyzer error in Webstorm 2017.1 / Dart SDK 1.22.1

Analyzer Feedback from IntelliJ
Version information

IDEA WS-171.3780.79
1.22.1
WS-171.3780.79, JRE 1.8.0_112-release-736-b13x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1920x1080, 1920x1080

Exception
Please append the contents of:
file://C:\Users\lemmanuele\AppData\Local\Temp\report1.txt
Dart analysis server, SDK version 1.22.1, server version 1.17.0, error: Task failed: ResolveUnitTask for source C:\devel\mlog-mric-js\mLogistics\lib\modules\accountRequestsManagement\accountRequestDetail\accountRequestInfo\AccountRequestInfoController.dart
Unexpected exception while performing ResolveUnitTask for source C:\devel\mlog-mric-js\mLogistics\lib\modules\accountRequestsManagement\accountRequestDetail\accountRequestInfo\AccountRequestInfoController.dart
#0      AnalysisTask._safelyPerform (package:analyzer/task/model.dart:333)
#1      AnalysisTask.perform (package:analyzer/task/model.dart:220)
#2      AnalysisDriver.performWorkItem (package:analyzer/src/task/driver.dart:284)
#3      AnalysisDriver.performAnalysisTask (package:analyzer/src/task/driver.dart:255)
#4      AnalysisContextImpl.performAnalysisTask.<anonymous closure> (package:analyzer/src/context/context.dart:1199)
#5      _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:189)
#6      AnalysisContextImpl.performAnalysisTask (package:analyzer/src/context/context.dart:1197)
#7      PerformAnalysisOperation.perform (package:analysis_server/src/operation/operation_analysis.dart:369)
#8      AnalysisServer.performOperation (package:analysis_server/src/analysis_server.dart:997)
#9      Future.Fut

Thanks for the report! Unfortunately, there isn't enough information here for us to be able to reproduce the issue. That said, it looks similar to several issues that will be fixed in the 1.23 release (due in about a week), so please let us know if you continue to see this after updating.


AntBasedAndroidApplication won't build on Windows

Building AntBasedAndroidApplication fails to lauch android and ant. If I modify the commandLine value it works (but obviously breaks on non-Windows)
-    commandLine 'android', 'update', 'project', '-p', '.'
+    commandLine 'cmd', '/c', 'android', 'update', 'project', '-p', '.'

and
-    commandLine 'ant', 'debug'
+    commandLine 'cmd', '/c', 'ant', 'debug'

Unfortunately, I don't know if there is a gradle idiom to handle platform dependent variables, so I cannot supply a fix http://stackoverflow.com/questions/11235614/how-to-detect-the-current-os-from-gradle

I don't plan to support ANT since Google completely switched to Gradle.


Adds left scroll

Similar PR to https://github.com/CartoDB/cartodb/pull/6970, but with a fix to work with the current analysis branch.

Merging since frontend build is :green_apple:


MessageMaze-Iambodha

Message Maze
Message Maze is a maze creation tool that allows you to embed hidden messages within mazes. And then draw them via Blot!
Features

Hidden Messages: Create mazes with concealed messages.
Python Logic: Maze creation logic implemented in Python due to familarity.
Open Source: The code for the API, website, and maze creation logic is open source and available on GitHub.
Try It Out: Visit the Message Maze Website to create your own mazes with hidden messages.

About
I thoroughly enjoyed coding this project—it was a lot of fun! I am hopeful that it will be accepted into the gallery. I look forward to receiving a blot.
Example
Attached is an image of a maze with the hidden message "hello world". I believe such mazes would make excellent message cards for gifts.

This is a great project. I see the core of it also seems to have been written by you. Could you include that in the submission? Ideally it would be done in your Blot project. ChatGPT could probably help you port it over pretty quick.

I am not sure if this is what i was supposed to do, but I think I just made a new request with the changes. Sorry for the incovienence if i did it wrong.

Just posting this as an update– we have a discussion right now on the team about how to handle async code. Sorry for the wait!

You can use xmlhttprequests for api calls as it's non async

I have converted most of the python logic to java script and now only use api request to get the alphabet patterns in the editor(json files on my github). I hope API Requests for those are fine.
The new problem is that the blot editor is either timing out, running out of ram(500mb according to chrome) or getting stuck somewhere along the script. My script works fine on local machines as the new server side logic gives the desired output and when I copy this output and put it in the Blot editor it works fine. So I am not sure where the problem is. If you could help me find out the problem it would be awesome.
Here is the link to the new script: https://github.com/iambodha/Message-Maze-Blot/blob/main/Updated-MessageMaze/index.js

I looked futher into it and the script actually does get a list as the output but for some reason the list does not work. If i would copy this list and paste it in it works. I think there is a problem with the await or something else in the function.

The problem has been solved, on the normal blot editor async is not available but when a temporary blot editor with async was used it worked perfectly fine. I hope this pull request still gets accepted :)


Merge solutions

Move connector tests and sample projects to bot.builder solution.
Delete old connector solution

We have dueling PR's. :) Reviewing your now.


Filter by list's element in payload

How can I filter results of a search limiting to the ones where the list contain a specific element?
As example, if the set of points is:
[
  { "id": 1, "Fruit": ["apple", "banana", "orange"] },
  { "id": 2, "Fruit": ["pear", "orange" ] },
  { "id": 3, "test": "nothing" },
  { "id": 4,  "Fruit": ["apple", "orange", "pear"] }
]

And I want to filter the results containing both an Apple AND an Orange, i.e. the ones with ID 1 and 4.
How can I build such filter?
What I tried is:
def build_filter(fruits: list):
    filter_list = []
    for fruit in fruits:
        filter_list.append(
            models.FieldCondition(
                key="fruits",
                match=models.MatchValue(value=fruit)))
    filter = models.Filter(should=filter_list)
    return filter

build_filter(["Banana", "Apple"])

And I use it with the search api:
    filter = build_filter(["Banana", "Apple"])
    results = qdrant_client.search(
        collection_name="Estate23",
        query_vector=embeddings_descr['text'][0],
        query_filter=filter,
        limit=3,
    )

But the result I know is in the DB does not show up.
Thank you in advance.

Hi @vlavorini please make sure you are using correct names for the field. In your example:
"Fruit" - used in payload
"fruits" - used in query

Indeed, there was a typo. Thank you, you can close this.


Getting HTTP 400 error when trying to enable the Firebase extension through CLI

Description
I am using the Firebase CLI to try to enable the extension for a Firebase project.  Major note is that the last few times I did this it worked fine, so this seems to be a new issue.  I think it may be related to this change: https://github.com/typesense/firestore-typesense-search/commit/44c5b37ce84ea2573cc40419f0e414865bbc4544
The TYPESENSE_API_KEY parameter appears to be the issue. Previously I had this set as the admin API key, which used to work. Now, when I try to enable the extension, I get an error related to secrets manager, which seems to be saying I have formatted it wrong.  Specifically it says it should be formatted like projects/*/secrets/*/versions/* instead of just the API key, but I am not sure exactly how to format my API key like that (I am not sure which each of the asterisks in this case should be)
Steps to reproduce
Set up parameters file
Run Firebase command to enable extension
firebase ext:install typesense/firestore-typesense-search --project=projectId --params=params.env --force
Expected Behavior
The extension will enabled for my Firebase project
Actual Behavior
I receive a HTTP 400 error:
Error: HTTP Error: 400, Secret ID 123.... is invalid, must be of form projects/*/secrets/*/versions/*
Metadata
Typesense Version: v0.23.0.rc27
OS: MacOS

@jon-flowers Could you try installing via the Firebase web console? It did ask me to provision a new secret and I just had to paste the Typesense API key and click on "Create" in the UI.
@dackers86 Any thoughts on how to do this via the CLI?

Thanks @jasonbosco , I checked and can confirm that I can use the UI to activate the extension.  The flow has definitely changed slightly, with the API key now asking me to create a secret, but if I click that it seems to create fine.
That being said, based on the number of environments we have, we definitely would prefer to do this with the CLI / programmatically wherever possible

Just checking in to see if there were any updates here, I'm blocked from rolling out Typesense to more environments unless I can automate the extension installation. Thank you!

@jasonbosco  generally my file looks like this:
FIRESTORE_COLLECTION_PATH=receiptTemplates
FIRESTORE_COLLECTION_FIELDS=
TYPESENSE_HOSTS=abc.a1.typesense.net
TYPESENSE_API_KEY=abc123
TYPESENSE_COLLECTION_NAME=eng_test_receiptTemplates
LOCATION=useast1
The TYPESENSE_API_KEY value (filled with a generic string above) is just the actual API key that I get directly from the Typesense cloud console.  This definitely worked before, but if I need to change the format I am fine with that.
Were you able to get the above results by using a params.env file with the same formatting?  Or is that the interactive flow where you entered the API key in when it prompted for it?

@jon-flowers are you using the non-interactive flow --force option?

@jon-flowers are you using the non-interactive flow --force option?

Yes I am

@joehan fyi

we think it's a combination of specifying the secret in the params.env file and using the --force param. But the error message should've been more clear. Let us investigate a little bit.

Thanks @i14h.
@jon-flowers While this is being investigated, could you use v0.2.7 of the extension, which doesn't use the Secret Manager:
firebase ext:install<EMAIL_ADDRESS>--project=projectId --params=params.env --force

@i14h got it, thank you!
@jasonbosco that makes sense, I will do that and that should unblock me for now.  Appreciate the help!

I strongly suggest using the more secure version. Try not specifying your secret in the params.env file and see if that makes the problem go away? We don't suggest storing secrets in plain text files that could end up checked into your source repo

@i14h Sorry I probably should have added more context here.
I am using Terraform (with the third-party Typesense provider, as well as Google and local-execs) to build out a Typesense collection, alias, enable the extension for an existing Firestore database, and create the backfill sync document.
Everything is pretty straightforward EXCEPT installing this extension, because the Google/Firebase providers do not have a Terraform resource for that. So I am using a local-exec instead.  Though I am actually using two local-execs:

The first one builds a simple params.env file, using dynamic values.  Long-term, these are stored in either an env.yaml (for non-secret parameters) or an env-sensitive.yaml (for secret parameters).  The env.yaml is maintained in the Terragrunt source code, the sensitive yaml is maintained in S3 and retrieved every time Terragrunt runs.  The params.env file is built within Terragrunt and so is only maintained temporarily in the cache before being deleted.
The second local-exec using the built params.env file to run the Firebase CLI command that installs the extension for my given Firebase/Firestore app/database.

I need to add the Secret in there somehow because otherwise the CLI asks for it to be input, and I need this to be non-interactive.  I am using Terragrunt/Terraform to deploy this to 20+ environments (and maintain those going forward), so i am trying to avoid having to manually run CLI commands for each environment, especially as we continue to add more in the future.  I know that if I don't specify the secret it will ask me for it (and the flow works, with it correctly converting the API key to a secret), but this will not work in CircleCI/Terragrunt

You should be able to create the secret manually on the Google Cloud Console in secrets manager or through the API then reference in the .env file like so:
TYPESENSE_API_KEY=projects/${param:PROJECT_NUMBER}/secrets/<secretName>/versions/latest

I think I tried something similar to that, I agree it should work but if I remember correctly the problem was that the extension is not expecting that format; basically it seems like the extension at least is expecting the API key itself in one place and the GCP format you used above in another place, meaning it fails no matter what.  Assuming I am remembering this correctly, when I tested it using the above method I got a different error that was due to the formatting.
This sort of makes sense, since the UI / manual flow to enable the extension actually does ask for first the API Key itself, then prompts you to click a button to create the secret, and then uses that secret in the config.  So when you use the CLI method to enable the extension it's probably trying to do at least two things:

Using TYPESENSE_API_KEY to generate a new secret
Using that new secret in the config

And unfortunately it's not possible to format TYPESENSE_API_KEY in a way that works for both those steps.

Has anyone got a solution for this? First time using the extension and also getting  Request failed with HTTP code 404 | Server said: Not Found... I've set mine up through the Firebase Web Ui...

@PMLS3 This issue is referencing an HTTP 400 error, when installing this extension via the Firebase CLI.
Your HTTP 404 error is one that comes from Typesense and is unrelated to this issue. You're seeing that error most likely because you need to setup a collection in Typesense first - the extension does not create the Typesense collection for you. See Step 3 here. If that's not the issue, and you do have a collection setup in Typesense, could you open a separate issue?


[NRCE] 4BS teach in flow with request/response

this could theoretically be implemented, but i do not have any device using this feature, so it's hard to test irl...


Add back a parameterless constructor to DefaultPointerMediator

Overview
A constructor was recently added to DefaultPointerMediator.  This removed the implicit parameterless constructor, which was a breaking change that affected one of my projects.
Changes

Fixes: #5989 .
Adds an explicit parameterless constructor which passes null.  Also then added null checks where appropriate.

@julenka, FYI.

/azp run

/azp run


Events: show event page

Adds show of an event page and routing.  Each event on the event list page links to the corresponding show event page.
fixes #53
fixes #52

Closing. Included in a newer PR.


it doesn't work well with recycleview

As you can see, the first item of recycleview is recycled when i scroll down to the buttom.
So the last item is epanded as the first one.
When i collapse the last one, the first one collapse too.
In fact, they are the same one.
I meet this problem many times and i can't find way to deal with it.
Do you have any idea? Although it's no matter about your library.
Thanks in advance.

Just call holder.setIsRecyclable(false) to prevent item being recyled.
Recycleview will never recycle.

@Ivolian
Thank you for your reporting.
I thought this problem is fixed.
I'll report here if I solve it.

@Ivolian
I fixed it. #20
You have to set the state of expandable.
For example,  expandableLayout.setExpanded(boolean).


Create model for Plans

Was necessary specify the attr_accessible in Plan's model(here) to avoid the Brakeman's warning: Brakeman: Mass Assignment not restricted using attr_accessible

Coverage increased (+0.03%) to 81.579% when pulling 8d7381a49d16daca459c325aa0648251f7b7b994 on fetch-pagarme-plans into f4675f1cbb48ba0f97b38e23e79eeb33ad907dea on master.

Coverage increased (+0.03%) to 81.579% when pulling a7d39f4513ebc7bf283451a5779eec121b48bcf9 on fetch-pagarme-plans into f4675f1cbb48ba0f97b38e23e79eeb33ad907dea on master.

Coverage increased (+0.04%) to 81.585% when pulling c754f2cc0718814b8662b8cd81daac1d46d1df6a on fetch-pagarme-plans into f4675f1cbb48ba0f97b38e23e79eeb33ad907dea on master.

@igorrfc Adiciona só uma tag para indicar o status desse pr, pfv

Coverage increased (+0.04%) to 81.585% when pulling eed3a8fa9027f320b77dc41a140635a3968b1780 on fetch-pagarme-plans into f4675f1cbb48ba0f97b38e23e79eeb33ad907dea on master.


Adding images to documentation

Need to add images to the tutorial and the groupings glossary. Waiting for access to the DDMAL google drive.

Added this


⚠ Bofrost.lu has degraded performance

In 38a7d2e, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2085 ms

Resolved: Bofrost.lu performance has improved in bf21a7f after 44 minutes.


Update documentation with embedded use

Updating the docs with what I had to do to get am embedded example to compile.

Thanks for the improvements!

Has this not made it into a release yet? This documentation fix is needed to make the crate actually work with #no_std and I see it here, but not in what i get with version 0.4.0 of the crate.
[dependencies]
htk16k33 = { version = "*", default-features = false }


Output is badly-aligned for long test names or large numbers of tests

For example:
[koz@Sebastian bdd-memetic]$ ./test-bitvector
        Basic equalitypass:4092   fail: 0      1ms
        Indexing      pass:100564992   fail: 0     87ms
ALL TESTS PASSED (100569084/100569084)

Fixed.


How to generate offline files offline?

Hi,
This project is amazing. I'd love to upload md to github repos, but I'd like to make every commit meaningful. Is there any way to generate web page before committing to github? So that, I would use gitpitch as a publish platform and keep git repo clean.

Hi @hu6360567 I'm glad you're enjoying GitPitch. I have two options for you.
Option 1: Develop GitPitch presentation content in a feature branch
Simply create a feature-branch and do all of your busy work in that branch. Then when you are happy with your final presentation PITCHME.md and associated assets, merge your feature-branch back into your master making sure to use a squash on the merge as follows:
git checkout -b presentation-dev-branch
#
# Now develop your presentation content in this branch, committing as often as you want
# Then when you are finished, do the following:
#
git checkout master
git merge --squash presentation-dev-branch
git add -A
git commit -m "Completed GitPitch presentation."
 And if you really want to you can always delete the feature branch you used for dev when you are satisfied you no longer need it. Just fyi, this is how I typically work with GitPitch.
Option 2: Use the GitPitch Offline Bundle as a Dev/Preview Environment
I've just created detailed instructions for this approach and added them to the GitPitch Wiki, see here.

Great! Thanks!

Just fyi, I've also just added a Clean Commit History page to the GitPitch Wiki as it may be useful to others.


Failed     << pointmatcher_ros:make                [ Exited with code 2 ]

Thank you very much for your work. I have this problem when running catkin build icp_localization, and it seems to remain me that there are some system files that were missing, not sure where to go...
Here's part of the output information, running on Ubuntu20.04, and file path in:
~/carto_ws/src/icp_localization
~/carto_ws/src/libnabo
~/carto_ws/src/libpointmatcher
~/carto_ws/src/pointmatcher-ros
Terminal Output:
`..........................................................................................
Finished  <<< libpointmatcher                      [ 1 minute and 6.1 seconds ]
Starting  >>> pointmatcher_ros

Warnings   << pointmatcher_ros:cmake /home/sim2real/carto_ws/logs/pointmatcher_ros/build.cmake.000.log
CMake Warning at /opt/cmake/share/cmake-3.14/Modules/FindBoost.cmake:896 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/opt/cmake/share/cmake-3.14/Modules/FindBoost.cmake:1018 (_Boost_COMPONENT_DEPENDENCIES)
/opt/cmake/share/cmake-3.14/Modules/FindBoost.cmake:1694 (_Boost_MISSING_DEPENDENCIES)
/usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:134 (find_package)
/usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:314 (find_boost)
/usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:551 (find_external_library)
CMakeLists.txt:30 (find_package)
CMake Warning at /opt/cmake/share/cmake-3.14/Modules/FindBoost.cmake:896 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/opt/cmake/share/cmake-3.14/Modules/FindBoost.cmake:1018 (_Boost_COMPONENT_DEPENDENCIES)
/opt/cmake/share/cmake-3.14/Modules/FindBoost.cmake:1694 (_Boost_MISSING_DEPENDENCIES)
/usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:134 (find_package)
/usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:314 (find_boost)
/usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:551 (find_external_library)
CMakeLists.txt:30 (find_package)
CMake Warning at /opt/cmake/share/cmake-3.14/Modules/FindBoost.cmake:896 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/opt/cmake/share/cmake-3.14/Modules/FindBoost.cmake:1018 (_Boost_COMPONENT_DEPENDENCIES)
/opt/cmake/share/cmake-3.14/Modules/FindBoost.cmake:1694 (_Boost_MISSING_DEPENDENCIES)
/usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:134 (find_package)
/usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:314 (find_boost)
/usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:551 (find_external_library)
CMakeLists.txt:30 (find_package)
CMake Warning at /opt/cmake/share/cmake-3.14/Modules/FindBoost.cmake:896 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/opt/cmake/share/cmake-3.14/Modules/FindBoost.cmake:1018 (_Boost_COMPONENT_DEPENDENCIES)
/opt/cmake/share/cmake-3.14/Modules/FindBoost.cmake:1694 (_Boost_MISSING_DEPENDENCIES)
/usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:134 (find_package)
/usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:314 (find_boost)
/usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:551 (find_external_library)
CMakeLists.txt:30 (find_package)
CMake Warning at /opt/cmake/share/cmake-3.14/Modules/FindBoost.cmake:896 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/opt/cmake/share/cmake-3.14/Modules/FindBoost.cmake:1018 (_Boost_COMPONENT_DEPENDENCIES)
/opt/cmake/share/cmake-3.14/Modules/FindBoost.cmake:1694 (_Boost_MISSING_DEPENDENCIES)
/usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:134 (find_package)
/usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:314 (find_boost)
/usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:551 (find_external_library)
CMakeLists.txt:30 (find_package)
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
** WARNING ** io features related to libusb-1.0 will be disabled
cd /home/sim2real/carto_ws/build/pointmatcher_ros; catkin build --get-env pointmatcher_ros | catkin env -si  /usr/local/bin/cmake /home/sim2real/carto_ws/src/pointmatcher-ros --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/sim2real/carto_ws/devel/.private/pointmatcher_ros -DCMAKE_INSTALL_PREFIX=/home/sim2real/carto_ws/install; cd -
..........................................................................................

Errors     << pointmatcher_ros:make /home/sim2real/carto_ws/logs/pointmatcher_ros/build.make.000.log
In file included from /usr/include/c++/9/complex:44,
from /usr/include/eigen3/Eigen/Core:96,
from /usr/include/eigen3/Eigen/StdVector:14,
from /home/sim2real/carto_ws/src/libpointmatcher/pointmatcher/PointMatcher.h:47,
from /home/sim2real/carto_ws/src/pointmatcher-ros/include/pointmatcher_ros/serialization.h:5,
from /home/sim2real/carto_ws/src/pointmatcher-ros/src/serialization.cpp:3:
/usr/include/c++/9/cmath:45:15: fatal error: math.h: No such file or directory
45 | #include_next <math.h>
|               ^~~~~~~~
In file included from /usr/include/c++/9/complex:44,
from /usr/include/eigen3/Eigen/Core:96,
from /usr/include/eigen3/Eigen/StdVector:14,
from /home/sim2real/carto_ws/src/libpointmatcher/pointmatcher/PointMatcher.h:47,
from /home/sim2real/carto_ws/src/pointmatcher-ros/include/pointmatcher_ros/deserialization.h:5,
from /home/sim2real/carto_ws/src/pointmatcher-ros/src/deserialization.cpp:3:
/usr/include/c++/9/cmath:45:15: fatal error: math.h: No such file or directory
45 | #include_next <math.h>
|               ^~~~~~~~
compilation terminated.
compilation terminated.
In file included from /usr/include/c++/9/complex:44,
from /usr/include/eigen3/Eigen/Core:96,
from /usr/include/eigen3/Eigen/Dense:1,
from /usr/include/eigen3/Eigen/Eigen:1,
from /home/sim2real/carto_ws/src/pointmatcher-ros/include/pointmatcher_ros/transform.h:5,
from /home/sim2real/carto_ws/src/pointmatcher-ros/src/transform.cpp:2:
/usr/include/c++/9/cmath:45:15: fatal error: math.h: No such file or directory
45 | #include_next <math.h>
|               ^~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pointmatcher_ros.dir/build.make:76: CMakeFiles/pointmatcher_ros.dir/src/deserialization.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/pointmatcher_ros.dir/build.make:89: CMakeFiles/pointmatcher_ros.dir/src/serialization.cpp.o] Error 1
make[2]: *** [CMakeFiles/pointmatcher_ros.dir/build.make:102: CMakeFiles/pointmatcher_ros.dir/src/transform.cpp.o] Error 1
In file included from /usr/include/c++/9/ext/string_conversions.h:41,
from /usr/include/c++/9/bits/basic_string.h:6493,
from /usr/include/c++/9/string:55,
from /opt/ros/noetic/include/ros/platform.h:38,
from /opt/ros/noetic/include/ros/time.h:53,
from /opt/ros/noetic/include/ros/ros.h:38,
from /home/sim2real/carto_ws/src/pointmatcher-ros/include/pointmatcher_ros/helper_functions.h:4,
from /home/sim2real/carto_ws/src/pointmatcher-ros/src/helper_functions.cpp:2:
/usr/include/c++/9/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
75 | #include_next <stdlib.h>
|               ^~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pointmatcher_ros.dir/build.make:63: CMakeFiles/pointmatcher_ros.dir/src/helper_functions.cpp.o] Error 1
In file included from /usr/include/c++/9/complex:44,
from /usr/include/eigen3/Eigen/Core:96,
from /usr/include/eigen3/Eigen/StdVector:14,
from /home/sim2real/carto_ws/src/libpointmatcher/pointmatcher/PointMatcher.h:47,
from /home/sim2real/carto_ws/src/libpointmatcher/pointmatcher/IO.h:39,
from /home/sim2real/carto_ws/src/pointmatcher-ros/include/pointmatcher_ros/RosPointCloud2Deserializer.h:7,
from /home/sim2real/carto_ws/src/pointmatcher-ros/src/RosPointCloud2Deserializer.cpp:2:
/usr/include/c++/9/cmath:45:15: fatal error: math.h: No such file or directory
45 | #include_next <math.h>
|               ^~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pointmatcher_ros.dir/build.make:141: CMakeFiles/pointmatcher_ros.dir/src/RosPointCloud2Deserializer.cpp.o] Error 1
In file included from /usr/include/c++/9/ext/string_conversions.h:41,
from /usr/include/c++/9/bits/basic_string.h:6493,
from /usr/include/c++/9/string:55,
from /home/sim2real/carto_ws/src/pointmatcher-ros/include/pointmatcher_ros/PmTf.h:4,
from /home/sim2real/carto_ws/src/pointmatcher-ros/src/PmTf.cpp:2:
/usr/include/c++/9/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
75 | #include_next <stdlib.h>
|               ^~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pointmatcher_ros.dir/build.make:115: CMakeFiles/pointmatcher_ros.dir/src/PmTf.cpp.o] Error 1
In file included from /usr/include/c++/9/ext/string_conversions.h:41,
from /usr/include/c++/9/bits/basic_string.h:6493,
from /usr/include/c++/9/string:55,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /opt/ros/noetic/include/ros/console.h:38,
from /home/sim2real/carto_ws/src/pointmatcher-ros/include/pointmatcher_ros/PointMatcherFilterInterface.h:4,
from /home/sim2real/carto_ws/src/pointmatcher-ros/src/PointMatcherFilterInterface.cpp:2:
/usr/include/c++/9/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
75 | #include_next <stdlib.h>
|               ^~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pointmatcher_ros.dir/build.make:128: CMakeFiles/pointmatcher_ros.dir/src/PointMatcherFilterInterface.cpp.o] Error 1
In file included from /usr/include/c++/9/ext/string_conversions.h:41,
from /usr/include/c++/9/bits/basic_string.h:6493,
from /usr/include/c++/9/string:55,
from /usr/include/c++/9/stdexcept:39,
from /usr/include/c++/9/array:39,
from /usr/include/c++/9/tuple:39,
from /usr/include/c++/9/bits/unique_ptr.h:37,
from /usr/include/c++/9/memory:80,
from /home/sim2real/carto_ws/src/pointmatcher-ros/include/pointmatcher_ros/StampedPointCloud.h:4,
from /home/sim2real/carto_ws/src/pointmatcher-ros/src/StampedPointCloud.cpp:2:
/usr/include/c++/9/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
75 | #include_next <stdlib.h>
|               ^~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pointmatcher_ros.dir/build.make:154: CMakeFiles/pointmatcher_ros.dir/src/StampedPointCloud.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1899: CMakeFiles/pointmatcher_ros.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
cd /home/sim2real/carto_ws/build/pointmatcher_ros; catkin build --get-env pointmatcher_ros | catkin env -si  /usr/bin/make --jobserver-auth=3,4; cd -
..........................................................................................
Failed     << pointmatcher_ros:make                [ Exited with code 2 ]
Failed    <<< pointmatcher_ros                     [ 2.5 seconds ]
Abandoned <<< icp_localization                     [ Unrelated job failed ]
[build] Summary: 3 of 5 packages succeeded.
[build]   Ignored:   4 packages were skipped or are skiplisted.
[build]   Warnings:  2 packages succeeded with warnings.
[build]   Abandoned: 1 packages were abandoned.
[build]   Failed:    1 packages failed.
[build] Runtime: 1 minute and 17.4 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.`

Hi AndrewWu
@AndrewWu1998 thank you for your patience with the answer, unfortunately, I cannot reproduce the problem on my machine.
which boost and GCC version do you use? I can compile successfully with gcc version 9.4.0 and boost version 1.71
Did you try any of the proposed solutions from below?
https://stackoverflow.com/questions/40262928/error-compiling-opencv-fatal-error-stdlib-h-no-such-file-or-directory


flannel: update docker_opts path

From https://github.com/coreos/bugs/issues/1756.

@crawford Do you think this doc should be backported?

Backported to what?

To here: https://coreos.com/flannel/docs/latest/flannel-config.html instead of waiting for the next flannel release.

Oh, sure. I wouldn't have called that "backporting".


go get issue due to deps

we need to update the go modules and tag a release:
https://github.com/HdrHistogram/hdrhistogram-go/issues/32

Probably need to add replace github.com/codahale/hdrhistogram => github.com/HdrHistogram/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd since its a indirect dependency

(that hash will need a update)

https://github.com/nats-io/jetstream/pull/372


Encoding error on the Product URL field search function

Encoding error on the search function within the Product URL field in the edit mode

Generate the above barcode, using: https://barcode.tec-it.com/en/EAN13
Go into edit mode, on the first page, expand all the section, and look for the magnifier glass icon and click on it.

@teolemon @brandenfung It's not an encoding error, the search field is properly doing what it should do. The search URL consists of a barcode, the brand name, product name along with the text "OFFICIAL WEBSITE". It would somewhat look like this (url = code + brand.getText + name.getText + "OFFICIAL WEBSITE"). I've tested this search field and it works just fine for the other products.
The google search text in the above-mentioned screenshot is not an encoding error. Before the API call it would look like this, (url = https://www.google.com/search?q=3256220661249  U  Mélange fruits du verger et graines grillées). Where u is brand name, and product name is Mélange fruits du verger et graines grillées.
So that's not an encoding error, it's just the product name that looks messy when it's searched on google.


Parser doesn't preserve multi-line search indentation

When working with long searches with joins, it can be useful to indent subsearches to make it easier to follow the search:
index=foo
| join type=outer my_field [|makeresults
  | eval thing="a"
  | eval another_thing="b"]
| table my_field thing another_thing

The above example, when parsed by the module, loses all indentation leaving you with
index=foo
| join type=outer my_field [|makeresults
| eval thing="a"
| eval another_thing="b"]
| table my_field thing another_thing

Would there be any way for this module to support this sort of indentation?

hey @cschmidt0121
thanks for submitting an issue
I doubt there is any Python library specific to Splunk SPL that we can use to support this

Okay, no worries. I believe it's supported by Splunk's internal cli_common module but I understand thats an entirely different codebase. Thank you anyways!

doesn't parse its own db_inputs.conf correctly.  Useless.


[V3.0.1] Using SEARCH_FIELDS function in  square bracket throws an error.

OrientDB Version: 3.0.1, 3.0.2-SNAPSHOT
Java Version: 1.8
OS: Linux
Hi, I want to use Lucene operator in square bracket (in projection).
Actual/Expected behavior
I used to use Lucene operator in square bracket to filter outputs, but it's deprecated in orientdb v3. Now I want to use SEARCH_FIELDS function instead of Lucene operator in square bracket, but it throws ClassCastException error.
Error:
java.lang.ClassCastException: com.orientechnologies.orient.core.record.impl.OVertexDocument cannot be cast to com.orientechnologies.orient.core.sql.executor.OResult

Orientdb v3:
SELECT expand(out("Friends")[SEARCH_FIELDS(["name"], "A*") = true]) FROM User WHERE id = 1; /* It throws an error */

Orientdb v2:
SELECT expand(out("Friends")[name Lucene  "A*"]) FROM User WHERE id = 1;  /* It works fine */

Steps to reproduce
/* Schema */
create class User extends V;
create property User.id Integer;
create property User.name String;
CREATE INDEX User.name ON User(name) FULLTEXT ENGINE LUCENE;

CREATE CLASS Friends EXTENDS E

insert into User set id = 1, name = "A";
insert into User set id = 2, name = "AB";
insert into User set id = 3, name = "ABC";
insert into User set id = 4, name = "ABCD";

CREATE EDGE Friends FROM (SELECT FROM User WHERE id = 1) to (SELECT FROM User WHERE id IN [2, 3, 4]);

/ * Query */
SELECT out("Friends")[SEARCH_FIELDS(["name"], "A*") = true] FROM User WHERE id = 1;

Hi @mehdizarepour
I just pushed a fix for this bug, it will be released with v 3.0.2.
The snapshot will be available in a few minutes
Thanks
Luigi


Lesson 12: Matrix Job issue

I'm new to learning Github Actions. For this lesson, I put in what I thought was the correct answer:
 matrix:
        version: [8, 10, 12]
        component: [frontend, backend]

I don't get an error, but it doesn't let me proceed. I had a look through the source and can see the result must contain "frontend" and "backend".

Your solution is correct, I think that's a bug in the code determining whether the solution is correct or now. There have been some issues with the last few lessons.


Bump to Springboot 2.0.5 and remove already defined dependencies

Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.

[x] Make sure you are requesting to pull a topic/feature/bugfix branch (right side). Don't request your master!
[x] Make sure you are making a pull request against the dev (left side). Also you should start your branch off dev.
[x] Check the commit's or even all commits' message styles matches our requested structure.
[x] Check your code additions will fail neither code linting checks nor unit test.
[x] Make sure that you've add licence text on every new file you are adding to repository.

Description
Bump to springboot 2.0.5 and remove already defined version in Spring-boot BOM

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


task: use local mit-tr instead of MIT self-hosted

Description

Needs to be merged after orchestration PR that change MIT_TR_URL from mit-hosted to mit-tr.
Remove OPEN_AI_KEY as it is embedded as an ENV in orchestration for mit-tr

To be honest I don't know if we want to make that OPEN_AI_KEY optional in case someone (MIT) is not running their mit-tr container with an already set key?

This is still needed as mit-tr is poorly written and we cannot really leverage ENV variables.


Force more specialization on promote_to_const

Found in a code example from @ChristianSchuler, Julia sometimes de-specializes for large argument numbers (in this case it was 11 args) and that would lead to an execution error on the GPU.

Thanks @vchuravy
CI fails for Julia 1.11. The problematic line seems to be: https://github.com/omlins/ParallelStencil.jl/actions/runs/11270682587/job/31341934121?pr=170#step:6:968

Merging because Julia 1.11 support of enzyme is still "best effort".


bug in current clang version

@mdusome I had it as well. The problem is in the current clang version. I've fixed it by manually downloading newer clang from here. Unpack & overwrite everything in src/third_party\llvm-build\Release+Asserts. And you can continue your build.
I'm not sure where can I find a packed new clang and llvm to include it in downloads.ini, so this solution can work for now.
Originally posted by @Luka-Filipovic in https://github.com/ungoogled-software/ungoogled-chromium-windows/pull/46#issuecomment-664973289

Solved with 84 release


Kint debugging output isn't printed

I think there might be a minor bug on the following line:
https://github.com/podio/podio-php/blob/master/lib/Podio.php#L407
The elseif has the same conditionals as the elseif above it so the Kint output isn't printed when trying to debug in the browser.

Should be fixed now I think :P


might better to double/tripple/... license that unsafe generic "public domain"

"is hereby released into the public domain" in itself doesn't e.g. provide any disclaimers for absent warranty etc, like any license has (e.g.BSD-3 or MIT/expat), so theoretically (IANAL) you might be left responsible for every harmful use of your code ;)   So I wondered why didn't you just release it under some very open license which would not have (virtual) any conflicts? E.g. BSD-3  or MIT/Expat... or may be both of those ;)

https://creativecommons.org/publicdomain/zero/1.0/ is designed for this use case.

@yarikoptic Is public domain unsafe for users of Versioneer? I myself use a modified version of Versioneer in my PyScaffold (https://github.com/blue-yonder/pyscaffold/) package which I put under the new-BSD license. This should be fine, right?

it might be unsafe to you (hypothetically ;) ) happen someone kills their 5billion worth of stuff somehow using versioneer... ;-)  using specific permissive license (MIT/BSD/...) is imho the best way forward with software, so yeah -- new-BSD would be good

Thanks, CC0 sounds like exactly what I wanted.


[e2e-check] need to run ui-checks in the CI with test results

Currently, check will run automatically on mvn verify(https://github.com/provectus/kafka-ui/blob/master/.github/workflows/backend.yml#L33), but check disabled with @Disabled. Because checks need Selenoid to run
What do we want:

Checks run on local selenoid
Failed checks fail build, passed checks do not
Failed checks shouldn't stop actions from gathering allure results( see https://github.com/mikementor/java-ui-checks/blob/master/.github/workflows/build.yml#L41)
Green(or red) arrow with link to allure results(that on gh-pages, e.g.https://provectus.github.io/kafka-ui/allure-results/19,gh-pages already work, you only need to publish artifacts(allure test results) on gh-pages branch)

See(would be almost identical steps):
https://github.com/mikementor/java-ui-checks/blob/master/.github/workflows/build.yml

finished and merged into master


fix(doc,tdhttp): typo

Coverage remained the same at 99.855% when pulling 615c22c63d132f5a91f616acd957b55c4de19d59 on Linkid:fix-doc-tdhttp-typo into 6f66433d36e9424da7a398a2a7678fa8bd8dac08 on maxatome:master.

Thanks!


[Feature] Access to Abort Signal from Client

I would like to have access to Abort Signal from the client implementation. We need access to it for some existing functionality we are looking to replace with reqwest.
https://github.com/cloudflare/workers-rs/pull/510#discussion_r1543452802

Is the actual signal needed? I try to present a unified API in reqwest, without exposing internals. The signal is used to make the Drop behavior of the future the same as in non-wasm environments.
Can you do what you want without direct access?

Ah, I think we should be able to use Drop. Correct me if I'm wrong, since I'm new to Reqwest, but we could just have a handler for the functionality and pass it through like so:
// Asynchronous loop to continuously check for cancellation signal
    loop {
        tokio::select! {
            _ = sleep(Duration::from_secs(1)) => {
                println!("Async task running...");
            }
            _ = cancel_receiver.recv() => {
                println!("Cancellation signal received. Dropping task...");
                break; // Break out of the loop when cancellation signal is received
            }
        }
    }```

I believe that should do it.


Windows XP 32-bit is not supported.

When running tundra from the command line, the following text is printed:
couldn't resolve symbol InitializeConditionVariable in kernel32.dll; your windows version is not supported

Tundra isn't supported for Windows XP afaik

I didn't think so, but I thought I may as well report it and see what happens.
It's possible the condition variables could be implemented in terms of other primitives (critical sections and events maybe).

Dude, if you look at the readme it clearly says "Windows (Vista and later, 32/64 bit native)" is supported :)
If you care about XP, feel free to implement condition variables for it.

We can leave this open as a todo/wishlist issue.

Thanks guys.
I did some digging into implementing condition variables in a way that would work on XP and this is the best I found:
http://www.cs.wustl.edu/~schmidt/win32-cv-1.html
(the authors seem to settle on a good solution in section 3.4)
Looks like more of a messy change than I would like. It would require switching the existing pthread mutex implementation from critical section to mutex, and I can understand if that isn't desirable.
Plus it would be a shame to change the existing simple code that works, to a more complex facsimile of it.

I've got tundra running on windows xp, I've used a modified amp (https://github.com/bjoernknafla/amp) for the condition variables. but it's only a hack, I had to modify amp to allow recursive critical sections (which is allowed on windows, but amp doesn't allow that).

I'm sure Amp is great (I know Björn from Twitter in fact), but is seems about as big as Tundra itself. I want to avoid adding a 3rd party dependency that big if possible. It seems to me an implementation of just condition variables in portable.c wouldn't need to be more than some 100 lines of code.

I have not included the files for purpose, I don't expect my changes to be included, also because of the ugly hack I had to do to make amp working. I could provide my changed sources and a compiled binary, but I don't want to release a new windows-xp binary with every new tundra version, so I have only provided the steps I had to do to get a working version with a proper implementation of condition variables on xp (björn mentions the same webpage as above, but states that there are errors in the solutions).
making a "good" patch should be easily possible with the work of björn, but I have not the time and motivation because (yet?) I haven't found a usecase for tundra for myself. but I like hacking around and trying new things :)

@questor Can you try the winxp branch I just pushed? I've added the slow but safe path from http://www.cs.wustl.edu/~schmidt/win32-cv-1.html as a fallback when running pre-vista.
Would appreciate if you can try both Vista and XP (I've only tried XP)

@petmac See above. Should have mentioned you in that post too :)

I've managed to test the winxp support myself now and it looks good. Merged into master for 1.0.


fix: error message for Vault store validation of Auth.Jwt.KubernetesServiceAccountToken

The error message for an invalid SecretRef was used before mistakenly.

/reopen


CASM-3496: Highly available Prometheus setup with long term storage c…

…apabilities with Thanos
Summary and Scope
Summarize what has changed. Explain why this PR is necessary. What is impacted? Is this a new feature, critical bug fix, etc?
Is this change backwards incompatible, backwards compatible, or a backwards compatible bugfix?
Issues and Related PRs
List and characterize relationship to Jira/Github issues and other pull requests. Be sure to list dependencies.

Resolves [issue id](issue link)
Change will also be needed in <insert branch name here>
Future work required by [issue id](issue link)
Documentation changes required in [issue id](issue link)
Merge with/before/after <insert PR URL here>

Testing
List the environments in which these changes were tested.
Tested on:

<development system>
Local development environment
Virtual Shasta

Test description:
How were the changes tested and success verified? If schema changes were part of this change, how were those handled in your upgrade/downgrade testing?

Were the install/upgrade-based validation checks/tests run (goss tests/install-validation doc)?
Were continuous integration tests run? If not, why?
Was upgrade tested? If not, why?
Was downgrade tested? If not, why?
Were new tests (or test issues/Jiras) created for this change?

Risks and Mitigations
Are there known issues with these changes? Any other special considerations?
Pull Request Checklist

[ ] Version number(s) incremented, if applicable
[ ] Copyrights updated
[ ] License file intact
[ ] Target branch correct
[ ] CHANGELOG.md updated
[ ] Testing is appropriate and complete, if applicable
[ ] HPC Product Announcement prepared, if applicable

Can you please fill out the PR template including a summary of the changes and how it was tested?

Can you please fill out the PR template including a summary of the changes and how it was tested?

@johren-hpe , These code changes are not complete yet, We needed a build so that we can do some testing.

Can you please fill out the PR template including a summary of the changes and how it was tested?

@johren-hpe , These code changes are not complete yet, We needed a build so that we can do some testing. Need to push some images to arti and make changes here as well. Then we will be ready for reviews.

Okay, I will wait to review.   I received an email requesting a review on this PR.   You can mark PRs as "Draft" if they aren't ready for review yet.