feature: Add static examples from OpenAPI specification as it was in 2.x versions

Is your feature request related to a problem? Please describe.
Add the possibility to return static examples into responses that listed in OpenAPI specification
Describe the solution you'd like
I liked this feature in 2.x versions

@usmanovbf Static Examples are now supported in Prism; are you referring to something in particular?

Which version are you running? We only released it in a recent alpha so maybe upgrade.

@philsturgeon yeah, thanks! Suddenly it appeared


now inspect <id> should be implemented

Motivation
When using the usage .csv, we can't get meaningful information because all the deployments have only the id. There are no commands to see the deployment URL (.now.sh) behind that id and it would be really useful to know that information.
Proposal
$ now inspect dpl_3BsJHEkNkMkpTESLKaAreZMfduio
> Fetched deployment "nodejs-apamojuq4.now.sh" in pgdm [2s]

  General

    version     2
    id          dpl_3BsJHEkNkMkpTESLKaAreZMfduio
    name        nodejs
    readyState  READY
    url         nodejs-apamojuio.now.sh

  Builds

    ┌ yarn.lock           Ready               [0ms]
    └── yarn.lock
    ┌ api/index.js        Ready               [8s]
    └── λ api/index.js (8.73KB) [sfo1]
    ┌ api/date.js         Ready               [9s]
    └── λ api/date.js (238.5KB) [sfo1]

  Routes

    ╶ ^/api/(index|index\.js)?$      ->      /api/index.js
    ╶ ^/api/(date|date\.js)$         ->      /api/date.js
    ╶ /api(\/.*)?$                                              [404]

Thank you for creating this issue!
Please note that – in order for us to be able to handle each feature request with care – we have to consume all of them through a unified pipeline that makes it easier for us to prioritize, track and progress on the features our user base is interested in.
In turn, the Issues tab on this repository is best only be used for reporting bugs, which we can immediately act on.
For well-explained feature requests (like the one you just posted), please contact us at<EMAIL_ADDRESS>so that we can consider adding it to our roadmap.


If the player clicks the home button, the player will be forwarded to the home page, where the player can join or create a new game.

Commit: https://github.com/sopra-fs24-group-32/sopra-fs24-group-32-client/commit/8dade79798032c0e653af6d801f1ce0294832e04


Let VMIRS detect VMIs in unknown state

What this PR does / why we need it:
If nodes become unreachable, the node controller will put a non-responsive taint on the node. As a consequence pods on that node will be terminated after some time. However, it is not directly visible in the container status that they are in an unknown state. From a user and controller perspective it looks like the pod is fine, except that it is being deleted. If a delete hangs for a long time (which it does in this case), controllers like VMIRs can't see on the VMI that the VMI is going down.
With this PR, the VMI controller will indicate on the Ready condition that the pod is going down by setting the Ready condition to false and applying the reason PodTerminating. The VMIRs can directly look for that condition and react by deleting the VMI and creating a replacement.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #3332
Special notes for your reviewer:
Release note:

VMIs reflect deleted stuck virt-launcher pods with the "PodTerminating" Reason in the ready condition. The VMIRS detects this reason and immediately creates replacement VMIs.

@haemyung I think that should address your issue. What do you think?

@haemyung I think that should address your issue. What do you think?
니 말에 동의하고 너가 container의 status 를 잘 감지해서 처리했다고 생각해

Pushed an e2e test

/cc @davidvossel
/cc @vladikr

/retest

/retest

will our PDB impact pods going into termination when node failure timeout occurs?

I don't know. Will try it out. Good hint.

/lgtm :+1:

/retest

I don't know. Will try it out. Good hint.

As expected the pod gets deleted since this is a pure delete call and not an evict call.


Release Google.Cloud.Notebooks.V1 version 2.2.0

Changes in this release:
This is primarily a promotion of the previous beta, which includes REST transport support.
Documentation improvements

Minor formatting fixes to reference documentation (commit 78da228)

Created release for Google.Cloud.Notebooks.V1-2.2.0


FlagEval team tries to add the flagjudge model to help judge the clcc dataset.

Description
[FlagEval team tries to add the flagjudge model to help judge the clcc dataset.]
Motivation and Context
[A judge model provieded by FlagEval team can be used to help judge the output of clcc dataset automaticlly.]

Hi there, Thanks for the PR. WIll be looking through it

@eyuansu62 Hello, I am encountering some error running this on the cli.
can you help me by giving me the command to run it

@imda-benedictlee for review

Thank you for all your hard work!


Split scan - Missing Split button in the split menu RHP

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.64-0
Reproducible in staging?: y
Reproducible in production?: n
Issue reported by: Applause - Internal Team
Action Performed:

Go to staging.new.expensify.com
Go to workspace chat.
Create a split scan expense.
When the expense is still scanning, click on the split preview.
Enter amount and merchant.

Expected Result:
There will be a Split button in the split menu RHP.
Actual Result:
There is no Split button in the split menu RHP.
Workaround:
n/a
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/83058603-ecf3-4123-977c-5ef35471d992
View all open jobs on GitHub

We think that this bug might be related to #vip-split

Removing the label, the PR will be QAed on the checklist for confirmation

Issue generated through my/our refactoring PR, and fixed by my/our PR mentioned above.
I believe that no payment will be necessary here.

Issue generated through my/our refactoring PR, and fixed by my/our PR mentioned above. I believe that no payment will be necessary here.

I think we can close this one. It's been 7+ days since the PR has been in production


Add print_verbose() built-in function to print in verbose mode only

This can be used as a shorthand for:
if OS.is_stdout_verbose():
    print("...")

Unlike print_debug(), this works in release builds too and can be toggled off in debug builds.
This closes https://github.com/godotengine/godot-proposals/issues/3324.
Preview
extends Node

func _ready():
	print("normal", " and ", "verbose")
	print_verbose("verbose", " only")

Verbose mode disabled
normal and verbose

Verbose mode enabled
Enable verbose stdout in the advanced project settings:

Alternatively, you can start Godot with the --verbose/-v command line argument.
normal and verbose
verbose only

Weird error on Linux.

Weird error on Linux.

This is because the built-in function enum was updated, so the class reference needs to be regenerated.
I don't know if I should add the new built-in function at the end for the master version of this PR.

Thanks!


Importing issues

There are several issues that makes it difficult to import, in particular, I suspect that some of the following problems may be related to decompressing stack files in emulation (I'm using SheepShaver).  Te couple of stacks I was able to get without compression had script issues but came through --see "Testable Stacks" issue.  As far as I can tell many stack files appear corrupted after decompressing in the SheepShaver using standard decompressing applications of the day.
NOTE: I think that importing key stacks is important, but at this point I'm moving on.

I'm curious what's going on here. If you have a chance, attach a corrupted stack to this issue.

@defano, Hey!
So here are some of the ones I found. Not sure why, but most of them were decompressed in the appropriate applications running in the SheepShaver emulator, which I've been using for a while quite successfully.
corrupted-stacks.zip


Add robots.txt to apprtc

Right now we are getting many robots.txt requests per day.
We should exclude everything except the root directory (e.g. index.html)

Is this right, from the apprtc directory?
User-agent: *
Disallow: /
Allow: /index.html
We might want to use the Webmaster Tools robots.txt tester
https://support.google.com/webmasters/answer/6062598.
On 28 January 2015 at 10:18, Justin Uberti<EMAIL_ADDRESS>wrote:

Right now we are getting many robots.txt requests per day.
We should exclude everything except the root directory (e.g. index.html)
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleChrome/webrtc/issues/438.

Does that allow requests to /?
I was thinking Disallow: /r/, Allow: /

My example is meant to disallow everything except /index.html.
Do we want anything except /index.html to get crawled?
On 28 January 2015 at 11:10, Justin Uberti<EMAIL_ADDRESS>wrote:

Does that allow requests to /?
I was thinking Disallow: /r/, Allow: /
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleChrome/webrtc/issues/438#issuecomment-71756524.

My question was whether / is treated the same as /index.html. If yes, then that is fine.

Disallow: /
means disallow everything (doesn't it?)
On 28 January 2015 at 11:47, Justin Uberti<EMAIL_ADDRESS>wrote:

My question was whether / is treated the same as /index.html. If yes, then
that is fine.
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleChrome/webrtc/issues/438#issuecomment-71760613.

I wasn't sure if there was some way to allow just the root but nothing underneath. But I checked, and AFAICT, no dice.
Let's go with your suggestion, and we can add additional Allow: lines if needed in the future (e.g. some sort of about.html)

If no objections, I think we should run the Webmaster Tools robots.txt
tester https://support.google.com/webmasters/answer/6062598.
This requires adding an HTML verification file first:
apprtc.appspot.com/google1b7eb21c5b594ba0.html.
On 28 January 2015 at 13:16, Justin Uberti<EMAIL_ADDRESS>wrote:

I wasn't sure if there was some way to allow just the root but nothing
underneath. But I checked, and AFAICT, no dice.
Let's go with your suggestion, and we can add additional Allow: lines if
needed in the future (e.g. some sort of about.html)
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleChrome/webrtc/issues/438#issuecomment-71769521.

ok

See PR 439 https://github.com/GoogleChrome/webrtc/pull/439.
On 28 January 2015 at 15:05, Justin Uberti<EMAIL_ADDRESS>wrote:

ok
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleChrome/webrtc/issues/438#issuecomment-71777925.

@samdutton Are you working on this or should I pick it up?

apprtc.appspot.com has now been verified by Webmaster Tools.
I did some more research on how to exclude everything except root. This
(from this answer on Stack Overflow
http://stackoverflow.com/questions/7226432/robots-txt-allow-root-only-disallow-everything-else)
seems like the best option I've seen so far:
User-agent: *
Allow: /$
Disallow: /
I tried this out with the Webmaster Tools robots.txt tester and have pushed
it (along with handler added to app.yaml). This is now part of #66.
Vikas - this will need to be deployed.
Sam
On 4 February 2015 at 23:26, Justin Uberti<EMAIL_ADDRESS>wrote:

Closed #438 https://github.com/webrtc/samples/issues/438.
--
Reply to this email directly or view it on GitHub
https://github.com/webrtc/samples/issues/438#event-230431875.


Request localization of time

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hi @Achraf-cyber, Could you please provide more details on the issue?

I am closing this issue because of an inactivity. feel free to reopen this if you need more information.


Dockerize Video-Comparer?

Would you be able to containerize https://www.video-comparer.com/

This is a Windows-only application.  So the result will highly depend on how well it is supported under Wine.


Reliable Delivery to Full Radius Nodes

@pipermerriam noted a gap in the design of the gossip mechanism:
https://github.com/ethereum/portal-network-specs/blob/77925bf2623db8ddc22fcb1ea8363f10ecc271af/transaction-gossip.md

The current gossip design does not provide reliable guarantees that transactions broadcast by low radius nodes will successfully be gossiped to full radius nodes.

Consider a transaction starts at a low radius r node. There is no distribution requirement with respect to r in a node's routing table. It is possible that the node's routing table contains only nodes with small radius; furthermore, the traversal of those nodes' routing tables also only touches low radius nodes. This transaction is stuck on a local typology containing only small radius nodes.
The issue arises because the routing table's node distribution is only designed to have some structure with respect to "node_id". Note that I am assuming a that the routing table follows the Kademlia algorithm. The node distribution is such that each k-bucket covers a specific distance range, namely [2^2, 2^(i+1)], where i is the k-bucket index. That means that if the node wants to get to a certain part of the network, the routing could help the node to get closer. However, if the node wants to reach a node with a larger radius and eventually reaching node with r=1, the routing table does not contain any useful deterministic or even probabilistic structure.

Here is an idea to address this problem.
To have such a guarantee, even just a probabilistic one, we would need to consider modifying the routing table. A node's routing table is divided into two groups, one group with radius greater than the node's r, and the other with radius equal or less than the node's r. The cardinality of the first group is m, and the latter group has n elements. We can conveniently call them m group and n group elements. We require that m has to be greater than a preset number M, which could be 1. The routing table still needs to satisfy the Kademlia guarantee that it has a direct path to each of its substrees.
Assuming that there is always at least one r=1 node in the network. Because the original Kadmelia routing only ensures that we can efficiently look up nodes based on node_id, there is no efficient way to locate this r=1 node unless every nodes are inspected. Hence, we could only have a probabilistic guarantee that each node could meet the requirement that m>=M. But this issue could be alleviated by requiring that the one of the bootnotes has to have a radius larger than the initiating node.
The nodelookup mechanism follows the Kademlia construction.
Whenever a node offer a transaction, the node has to make offers to at least \alpha many nodes in the m group, and to \beta many nodes in the n group. \alpha=1 could be sufficient. By Kademlia, the message will flow toward the nodes closest to the message's content_id. Concurrently, the message also propagates toward some nodes with larger radius. Even if the initiating node's contact with m group nodes fail, the amplifying gossips from the initial n group nodes generates a feedback toward larger radius nodes. The message would not reach all large radius nodes, but the message finds some large radius nodes.
A node only gossips messages that it hasn't propagates recently. This dampens a positive feedback loop. We could use a bloom filter to limits resource consumption. False positives are acceptable if they are not uniformly false positive across nodes; that is, each node could use a unique salt for its bloom filter. Furthermore,the propagation path toward large r nodes should be unidirectional, if XOR distance is used. Caching would prevent duplicate messages.

I like this direction.  Altering the Kademlia structure to mirror the structure of gossip seems like a good research direction.
The major thing that I believe needs to be addressed is that a node's published radius value cannot be trusted and nodes have an incentive to lie about this value.  The larger your radius, the more responsibility you carry in the network... and the closer you are to the nodes in the network which take transactions and include them in a block.  A node that wants to increase it's probability of getting their transaction included would be incentivized to lie about their radius in order to get closer to the full radius nodes.
So by this logic, we cannot structure our network based on radius unless we are able to make radius a value we can trust.  Which leads me towards trying to understand if we can accurately "measure" a node's radius simply by observing what transactions they gossip.

Extending on the main idea of nodes maintaining two sets of nodes:

Nodes with a radius greater than theirs
Nodes with a radius less than or equal to theirs

In theory, we can treat each of these groups as their own sort of "routing table", and divide them into K-buckets.  The closest bucket would contain the nodes with radius values most similar to yours, and as you incremented buckets you would start extending towards nodes with radius values much larger/smaller than your own.

Agree that choice of published radius or radius inference is probably not a big design decision. That could be iterated on later. I will create an issue for that to keep track of it. I will copy some of these discussions over there.
There are a few other items that are loosely defined in this discussion. Let me parse them out and post them as separate issues. If you already have answers for them, feel free to comment and close them out.


Validator build is broken by ton-client-rs v 0.2.3

 Compiling ton-client-rs v0.23.0 (https://github.com/tonlabs/ton-client-rs.git?branch=0.23.0-rc#04057f07)
error[E0061]: this function takes 3 parameters but 2 parameters were supplied
   --> src/call.rs:127:32
    |
127 |     let result = ton.contracts.decode_input_message_body(
    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters

error: aborting due to previous error

For more information about this error, try `rustc --explain E0061`.
error: could not compile `tonos-cli`.

Fixed


[rfc] Run time atlas packing for icons

Pack icon atlases at runtime; I'm not especially in favor of a runtime process on that, just pointing out an issue that needs to be addressed, either at runtime or offline, so let's discuss.
Current status on this shown below (benchmark results on S6). As @blair1618 mentioned, the data can also be reinterpreted at runtime for a better internal compressed texture format like PVRTC and others.
Packing takes ~1% of scene loading here, and can be improved.

Nice, repacking is quicker than I thought!
The total scene load time is bizarrely high for reasons that I hope to delve into soon, but tens of milliseconds is quite manageable for a one-time cost. Aside from actual texture uploads, could we run re-packing on a background thread if we wanted?

Yeah for reasons mentioned in https://github.com/tangrams/tangram-es/issues/486 the scene loading would be reduced.
Yep, packing doesn't have to be done at scene loading and could be done from a worker thread before any first use. I think that we can also make it more clever, don't repack anything that is already well packed, and don't use POT texture when the filtering is anything except mipmaps (which is not supported in core ES 2.0), so if filtering is say, linear, the packing can save even more memory.


Platformer-3x Game Level Transitions partly working (the first and second transition image are the same for some reason - will fix in the future)

A suggestion from Mr. Mortenson gave us this idea or suggestion for the game level end. He said that we should add an animation that plays when the monkey gets to the tree. This way the people know what happen when the game ends as currently the same tube animation plays when the monkey gets to the tree.  We will change this by adding the following:
Adding an Animation for the monkey when he gets to the tree
Creating a better ending page, and create smoother transitions for the ending of the game etc.
Issue by: Pranav Santhosh and Derek Kang

Leve 1 complete Image  Level 2 Complete Image  Level 3 Complete Image

With those changes I added better transition images that relates more to the game, and makes a smoother transitions from each level to the next. However, this is not finished as the first and second image are set to be the same which I will fix in the future.

The images look great.   But this has code for fun facts that we have handled with a button, we need to remove that code.

Will Change that right now.


Can't insert a new client when use JdbcRegisteredClientRepository

I implement Spring Oauth2 Authorization Server v0.2.3
When i use JdbcRegisteredClientRepository to register client but it's not working.
Here is my code.

Hi @sjohnr ,
Thanks for your reply
When i start project , JdbcRegisteredClientRepository not save registered client into database.
Here is my sample code: https://github.com/manhnv94/new-oauth2-server/blob/main/src/main/java/com/sbd/oauth2server/config/Oauth2ServerConfiguration.java

Hi @sjohnr
I don't get any error messages and my database doesn't have any records yet.
I send to you the capture in intellij when i started my project

Wow, it's work.
You have saved my day.
Thanks.


fix: casparcg doesnt resync state after server restart SOFIE-2156

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Bug fix

What is the current behavior? (You can also link to an open issue here)

when casparcg server is restarted, tsr will not resync the state, so all channels will remain black and only play new content.

What is the new behavior (if this is a feature change)?

Upon connection to casparcg, a basic check is performed to see if anything is playing on the server. If it is not then the state is resynced. Any failure in this check (eg timeout) causes it to be resynced, as having a glitch on air is better than the output remaining black.

Other information:

Inspired by the code in older casparcg-connection that got removed in the overhaul https://github.com/SuperFlyTV/casparcg-connection/blob/v4.1.1/src/CasparCG.ts#L2151-L2182
For a while I was seeing timeouts at any command in this process, but that appears to have gone away, I can't explain why

Codecov Report
Patch coverage has no change and project coverage change: +73.56 :tada:

Comparison is base (fbe0dcd) 26.43% compared to head (0855597) 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@               Coverage Diff               @@
##           release48      #248       +/-   ##
===============================================
+ Coverage      26.43%   100.00%   +73.56%
===============================================
  Files             39        28       -11
  Lines           7975       555     -7420
  Branches        2112        60     -2052
===============================================
- Hits            2108       555     -1553
+ Misses          5347         0     -5347
+ Partials         520         0      -520

Impacted Files
Coverage Δ

...-state-resolver/src/integrations/casparCG/index.ts

...kages/timeline-state-resolver/src/AsyncResolver.ts

...e-state-resolver/src/integrations/sofieChef/api.ts

...e-state-resolver/src/integrations/tcpSend/index.ts

...e-state-resolver/src/integrations/shotoku/index.ts

...-state-resolver/src/integrations/httpSend/index.ts

...ate-resolver/src/integrations/httpWatcher/index.ts

...line-state-resolver/src/devices/deviceContainer.ts

...te-resolver/src/integrations/singularLive/index.ts

...te-resolver/src/integrations/panasonicPTZ/index.ts

... and 57 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Remove dependabot from "what we've been doing recently..."

filtered the events array to exclude all events flagged dependabot.

Closes #112


React when mention someone

Feature Request
It might be nice to get the bot to react to messages when someone is mentioned.
Details
The robot should react to the message when a person is mentioned. However, the username of the person on the server must contain spooky.
It is also necessary to be careful that it is not the person's tag but his username that is taken into consideration.
e.g.: LucasAlt#7887 is my tag but my username on some servers is SpookyAlt

However, the username of the person on the server must contain spooky.
As in the name of the mentioned user or the one sending the message with the mention?

The mentionned one

I'll go ahead and add this then if you don't have anything against it

You can do it!


Make updating CHANGELOG for incremental releases part of workflow

WebStorm notifies me of a new SDK release, e.g. 1.13.2. I find the CHANGELOG for the SDK, but nothing there about 1.13.x. It's nice to know what's included before I update. It's happened before that the CHANGELOG wasn't updated, and so perhaps worth considering making it a part of the development workflow? Release new version -> update CHANGELOG, etc.

Thanks for the suggestion @davenotik, we have updated the changelog.md file with comments for 1.13.1 and 1.13.2, and have update our release process documentation to do this going forward before we push a new stable patch release.


The interface is not displayed

After compiling, the main_multiview.cpp file can run normally, but the interface is always white and no point cloud is displayed。
May I ask what is the reason and where should I modify it。

I meet the same question...

I meet the same question...


Why ARR for Licensing?

Howdy! I'm just wondering since this is a meant to be used with other mods, why All Rights Reserved for its licensing? Wouldn't it make sense to use an OSS license like LGPLv3 or MIT?

i forgor to change it

alright thats fixed


[nginx] Add option to disable HTTP compression

Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
[x] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
[x] When the request is meant for an existing plugin, I've added its name to the title.

Is your feature request related to a problem? Please describe.
gzip compression is enabled unconditionally here which incurs vulnerability to BREACH attack.
Describe the solution you'd like
It should be possible to disable gzip compression with a check box in General Settings.
Describe alternatives you've considered
I don't think any other alternative is worth considering.
Additional context
None

given the specificity of the attack and the wide 'SameSite' support, might it be enough to add the 'disable gzip' at the server context? )

yes it would be fine for sure !

Also searching for this option at Server-Context-Level. Would appreciate this feature!


[BUG] Incompatible Hydrator Type in Configuration and Nutgram Classes

Nutgram version
4.15
PHP version
8.2
Framework
No Framework
Cache driver
All
OS
All
Dev environment
No response
Describe the bug
I encountered an issue in the library related to the $hydrator field within the Configuration class, which is specified to accept types HydratorInterface|string. The problem arises when trying to assign an instance or a class that implements HydratorInterface to this field. The operation fails due to a type incompatibility issue with the $hydrator field in the Nutgram class, which is strictly typed to Hydrator. This discrepancy makes it impossible to pass a custom hydrator through the configuration, whether it is of type Hydrator or HydratorInterface.
To Reproduce

Create a class that implements HydratorInterface.
Attempt to pass an instance of this class (or the class itself if using its name as a string) to the Configuration class's $hydrator field.
Observe the error indicating a type mismatch with the Nutgram class's $hydrator field.

Expected behavior
I would expect that any class or instance that implements HydratorInterface should be assignable to the $hydrator field in the Configuration class and be compatible with the Nutgram class's expectations for the hydrator.
Screenshots
No response
Additional context
Possible Solution:
Adjusting the type declaration for the $hydrator field in both the Configuration and Nutgram classes to ensure compatibility with HydratorInterface could resolve the issue. This would enable the flexibility to pass custom hydrators that implement this interface.

The Hydrator interface is something that will be probably removed in the future, because it was introduced back in 3.0 when transitioning from netresearch/json-mapper to our own fork of another hydrator, later extended and improved, so the integration between the nutgram and its hydrator is much more tigher than in the beginning.
Those are the changes/features needed that led to that tigher integration:

Flexible enum casting, needed when telegram changes things that are not in our control (eg. https://github.com/nutgram/nutgram/blob/master/src/Telegram/Types/Inline/InlineQueryResultLocation.php#L21)
abstract type resolvers: solve the correct class to instantiate based on the input json object (eg. https://github.com/nutgram/nutgram/blob/master/src/Telegram/Types/Chat/ChatMember.php#L21)
dependecy injection: ability to inject services inside the DTOs that are instantiated (eg. https://github.com/nutgram/nutgram/blob/master/src/Telegram/Types/BaseType.php#L29)
explicit types for arrays (eg. https://github.com/nutgram/nutgram/blob/master/src/Telegram/Types/Message/Message.php#L224)

And there is probably more. As you can see many of those features are declared via attributes, which are going to be completely ignored if you pick any other hydrator


Disable winit by default

:umbrella: The latest upstream changes (presumably #249) made this pull request unmergeable. Please resolve the merge conflicts.

Obsoleted by https://github.com/servo/surfman/pull/271.


Update the Loader Compatibility List to list ts-loader support

Hey!
Would you be able to update the wiki at some point to add ts-loader support please?
Thanks! ❤

I'm not sure if happypack fully supports ts-loader since I got following errors trying to do that
Module build failed: TypeError: loader._compiler.plugin is not a function
TypeError: Cannot read property 'meta' of undefined

Hi @liqiang372, that sounds like you're not running in happypackmode (see docs) or with an older version of ts-loader that didn't support it

@johnnyreilly wow, many thanks, just noticed<EMAIL_ADDRESS>starts to support happypack 21 days ago, but npm install ts-loader still installs 2.0.3 by default.  You saved my night!

No problem!

Updated, thanks!


⚠ Bofrost.at has degraded performance

In 6dca79b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1325 ms

Resolved: Bofrost.at performance has improved in cbaf432.


Object skipped when upload link missing

Due to a permissions issue for Artifactory, push a new LFS object resulted in the following exchange:
> POST /artifactory/api/lfs/automatos_git_lfs/objects/batch HTTP/1.1
> Host: host.domain.com
> Accept: application/vnd.git-lfs+json; charset=utf-8
> Authorization: Basic * * * * *
> Content-Length: 124
> Content-Type: application/vnd.git-lfs+json; charset=utf-8
> User-Agent: git-lfs/1.4.0 (GitHub; linux amd64; go 1.7; git 9f1f93f)
>
{"operation":"upload","objects":[{"oid":"8ef0d1dc5eb9a56ff62f5d62caf7807803ab6c9edf413e989d84271b4db6dfb6","size":2097152}]}

< HTTP/1.1 200 OK
< Transfer-Encoding: chunked
< Connection: keep-alive
< Content-Type: application/vnd.git-lfs+json
< Date: Wed, 21 Sep 2016 13:54:45 GMT
< Server: Artifactory/4.11.0
< X-Artifactory-Id: c591e197ecfaabfd:612f7dbb:15748c7dba3:-8000
<
{
  "objects" : [ {
    "oid" : "8ef0d1dc5eb9a56ff62f5d62caf7807803ab6c9edf413e989d84271b4db6dfb6",
    "size" : -1
  } ]
Git LFS: (0 of 0 files, 1 skipped) 0 B / 2.00 MB
Git LFS: (0 of 0 files, 1 skipped) 0 B / 2.00 MB

The base issue here is (I believe) that the Artifactory LFS server did not return an upload link.  That was fixed with a change to Artifactory.
However, I don't like the way that Git LFS responded.  Git LFS skipped the upload.  As a result, I had a repository for which I couldn't fetch all LFS objects.  This basically is like a "hole" in my repository.
Shouldn't Git LFS say, in effect, "hey, I really need to upload this, and there's no upload link!", and exit with an error?

I don't think so. The correct response from Artifactory would be returning a 403 Forbidden response to a request if a batch request with "operation": "upload" can't complete due to a permissions issue.
The API docs don't really have a concept of per-object permissions, but a server could also implement this with a 200 OK response, with an error for the bad object like this:
{
  "objects" : [ {
    "oid" : "8ef0d1dc5eb9a56ff62f5d62caf7807803ab6c9edf413e989d84271b4db6dfb6",
    "size" : -1,
    "error": {
      "code": 403,
      "message": "permissions error"
    }
  } ]
}

I agree with @technoweenie in that LFS's current behavior is correct. Going to close this one out for now.


[#3570] change to hs_irods:4.2.6 image

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

@pkdash everything seems OK now, no need to runchmod /tmp anymore

@phuongdm Great.

@sblack-usu , please review on dev-hs-1, hope it does not make trouble like previous PR

@hyi,
The local-dev settings got this error if run test locally, I don't know why it can pass the Jenkins test (still use iRODS 4.1.8) because even we use rodsadmin user, it cannot upload a file to a personal home dir without chmod. Can you take a look on the test code and make some modify if need? Thanks!

@phuongdm I just ran that test locally but got AssertionError: irods docker containers are not set up properly for federation testing. I am using the develop branch. Should I pull your PR branch in to test this? The fact that all tests have passed in Jenkins but not in local environment might be a good entry point to figure out the reason for this problem in local dev environment although I don't know the local dev env set up much to provide any useful input here at this point.

@hyi,
Yes, you need to pull the branch to test. I copied the iRODS set up from Jenkins to the PR, so that's why I am confusing now.

@phuongdm I have done that, but run into issues with the following error:
ERROR: for data.local.org  Cannot start service data.local.org: driver failed programming external connectivity on endpoint data.local.org (ed678a69ca11b4fe8b091b4be200b531d9b0a03f4b13bc8b34c6e10fcda19f4b): Error starting userland proxy: listen tcp <IP_ADDRESS>:1247: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

ERROR: for data.local.org  Cannot start service data.local.org: driver failed programming external connectivity on endpoint data.local.org (ed678a69ca11b4fe8b091b4be200b531d9b0a03f4b13bc8b34c6e10fcda19f4b): Error starting userland proxy: listen tcp <IP_ADDRESS>:1247: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
Encountered errors while bringing up the project.

When I ran it yesterday for the first time, everything worked and I can ran tests. I was using my windows laptop, so when I was trying to bring all containers up this morning after restarting my laptop, I ran into the errors above. So I erased everything by running ./local-dev-first-start-only.sh script to start over, but still run into the errors above. It just fails to bring up data.local.org container. I will try to manually erase everything to start over, but let me know what I should do to keep the running states the next day when I restart my laptop.

@hyi,
Sometimes, I got unknown error from Docker Desktop on both Windows and Macbook, the fastest way to get rid of that is to restart laptop, then run those commands:
docker rm -f $(docker ps -aq)
docker volume prune
docker system prune -a
I also pushed a small updated (set REMOTE_IRODS to be true on local_settings.template) to bypass the federated testing.

@phuongdm I finally got local dev env up and running on my windows laptop again after restarting my laptop and docker a couple of times and rebuilding. Really hope I don't have to do it again the next day after shutting down and restarting my laptop. I pulled your PR branch and can now reproduce the test error when iputting a file to user zone. I will look into it a bit when I have time, but need to fix those test failures for my PR first which is not related to federation.

@hyi,
I think that's permission problem, not federation problem. Probably, some default policies were changed from 4.1.8 to 4.2.6

@hyi, any update?

@phuongdm Sorry, I have not got time to look further into it yet, and since I am not that familiar with the local development setup environment, I am not sure how much help I can offer given that you have not figured out the permission issue. What is especially mysterious is that why the same setup works in Jenkins environment, but somehow does not work in local development environment. I'll try to find some time to look further into the issue during the next couple of weeks.

@phuongdm Yes, this works by design since when an iRODS user corresponding to the HS user is being created, HS iRODS proxy user is given owner privilege to the new iRODS user's home collection, hence the proxy user can put any file into the user's home collection/directory. See this code snippet for details: https://github.com/hydroshare/hydroshare/blob/develop/irods/create_user.sh#L15..L17. Can you check the new local development environment setup to make sure this iRODS permission is taken care of there similarly to the old iRODS local container setup with code snippet as shown above?

@hyi,
thanks, my new iRODS docker image has no those .sh files

@phuongdm I am realizing now that I have created my current working branch for model program aggregation type from this branch (fix-test-error). Wondering if this PR will be merged soon.

@hyi Is this ready for merge?

@pkdash I don't see @phuongdm has further commits since our last conversation here regarding allowing iRODS proxy user to upload files into personal iRODS user's user space in user zone, so that is still an issue remaining to be resolved. I guess this PR has improved the current local dev environment so I have no objection if you think this PR can be merged. But I think we should create an issue to capture the remaining problem which @phuongdm needs to further address when he gets a chance. You can use our last conversation as context for the new issue you create. I assume some user zone related tests will still fail in local development environment without further addressing the remaining permission issue.

@hyi Since I created my working branch from this branch based on @phuongdm suggestion as I was not able to run unit tests locally, I am now having issues with updating my local branch with develop. I am hoping if this PR gets merged then updating my working branch with devlop should work. I am not really familiar with the work of this PR - so can't comment if this PR should be merged. However, I know work of this PR made running unit tests locally possible for me.
@phuongdm See if you can create a separate issue to address @hyi 's concerns and merge this PR after @hyi approves it.

Spoke with Scott, we don't know what's going on here so someone will need to restart this work from first principles.


Is it possible to support Android Phone?

Thanks for your great work!. Like this tool very much, do you have the plan to support exporting from Android Phone?

Looking for a solution for Android in the same. I found a related project https://github.com/ppwwyyxx/wechat-dump but only worked for the rooted devices due to encryption.


Map the GroupId for OffsetCommit and OffsetDelete RPCs for alterConsumerGroupOffsets and deleteConsumerGroupOffsets Admin API calls

Fix #190

The PR title says it maps GroupId for OffsetCommit but I think that was done in an earlier PR. Also maybe worth mentioning the fix for onOffsetFetchRequest when there are no topic names in the commit message.


Add some more documentation on how to add a new component

"story-book" how to
npm link how to (if updates to Fhi.Frontend.Style are needed)

Closed due to depreciation of this repo.


Resolving Value Objects with EnumType fields

Greetings!
In my project we have an InputOption enum value object class. Each instance represents a single possible value limited to the enum options. We're then mapping the class to an EnumType within GraphQL PHP with the corresponding names and values.
The issue we're having is that the value which gets passed to GraphQL PHP to get resolved during the EnumType->serialize($value) method is an instance of the enum class. The lookup fails because it's expecting a string or integer in the MixedStore::offsetExists method. In our case, the class does have a __string() method to cast the instance to a string, but the is_string() php method does not honor this.
Would folks be open to adding something like the following to the offsetExists method?
if (is_object($offset) && method_exists($offset, '__toString')) {
    return array_key_exists((string)$offset, $this->standardStore);
}

I'm happy to make a PR for this, but figured I'd start the discussion here and see if I'm thinking in an appropriate direction.

IMO it's out of scope of this lib. Also, did you mean __toString(), not __string()?
What I do is enum wrapper:
<?php

declare(strict_types=1);

namespace MyNs;

use MyNs\EnumBuilder;
use GraphQL\Type\Definition\EnumType;

final class MyEnum extends EnumType
{
    private const NAME = 'EnumName';

    public function __construct()
    {
        parent::__construct(
            EnumBuilder::create(self::NAME)->buildFromEnum(EnumClass::class)
        );
    }
}

In EnumBuilder I map my enum values to gql enum.

Thanks @simPod!
Unless I'm reading this wrong, the wrapper has to do with creating the EnumType from the Enum class. If that's the case that isn't the issue I'm having; the corresponding EnumType is being constructed just fine.
The issue I'm having is resolving the value during a query. The value it's attempting to resolve is an instance of the enum class, not the underlying value. So instead of it resolving 'disabled' it's attempting a lookup on new InputOption('disabled'), which is just a value object for the "disabled" value.
Does that make sense?

Ah I see. There's a lot of conditions in offsetExists() already so tweaking one to support __toString() would not hurt performance I guess. But the change you propose would probably break this part of code, hm?
https://github.com/webonyx/graphql-php/blob/2320b3cede6b0b31131457a5a627ada8b12890f6/src/Utils/MixedStore.php#L107-L109

True, only for classes that are specifically using the __toString() method. I would imagine that most classes are not using that magic method unless they intend the class to be cast in that way. I wouldn't imagine this to be a common problem, especially since I'd imagine most values being looked up at this post are native types.
Another option would be to provide an interface that can be implemented on the class and then checked for on the instance. That would protect against any backwards compatibility.

You should be able to fix that by overwriting serialize on your EnumType:
https://github.com/nuwave/lighthouse/blob/b52e3646b0e7fea9671a316fb6f1947862e99099/src/Schema/Types/LaravelEnumType.php#L53-L66

The lookup fails because it's expecting a string or integer in the MixedStore::offsetExists method

MixedStore is supposed to support any offset type. It should work with objects too:
https://github.com/webonyx/graphql-php/blob/46a99a34c1dc20fc85673e45989f2702d4be3671/src/Utils/MixedStore.php#L107-L109
So maybe you have different instances somehow? Have you tried doing singletones for those values or I am missing something here?

An example would be beneficial

I tested out @spawnia's idea of extending the EnumType and overwriting the serialize method and this did the trick. I think this is a better solution than changing this library as the internal enum value isn't reliably a string, so an interface would be necessary for a robust solution and that feels overly complicated.
@vladar That really only works if it's the same instance. In my case we're trying to compare the enum's internal value, not the object instance.


Implement TableSet.__str__

To match Table.__str__
See also #416.

Can live without this for 1.2.0

@onyxfish is the structure of a TableSet a list of columns and column types as well or some sort of list of tables in the set?

@nbedi I have asked myself the same question and I don't really you have a good answer. Both seem reasonable and useful... thoughts?

Maybe something like:
|---------------+---------------|
|  column_names | column_types  |
|---------------+---------------|
|  letter       | Text          |
|  number       | Number        |
|---------------+---------------|
|  table_names | row_count |
|---------------+---------------|
|  a       | 5          |
|  b       | 3        |
|---------------+---------------|

I think I'm probably leaning more toward just the latter, since it's always possible to get the column structure from the first table and it'll be less confusing to just print one thing.
In either case, we'll need to be careful about how large the "table of tables" can get, because a TableSet could theoretically have thousands of keys. I'd suggest we support a max_rows key like print_table does—and maybe even have that default to 20 or something.

Sounds good, I'll try it out and submit a pull request

Thanks!


Export CJS and ESM Lib

Feature Request
Is your feature request related to a problem? Please describe.
I have a serverless setup with type: "module" and no bundler like vite, webpack etc (I use serverless-jetpack to upload only necessary files). With the actual output config of vite the lib is cjs only and cannot be imported like said in the doc under my configuration.
Because of that I have no choice but to import  with default export
For example
import awsPkg from<EMAIL_ADDRESS>It's not very convenient.
Describe the solution you'd like
It would be great if the lib was exported as both cjs and esm with appropriate resolution in package.json. It shoudn't impact cjs users and benefit to esm users
Are you willing to resolve this issue by submitting a Pull Request?
I can try to do it but I prefer to wait some comments on this request if I missed something

Having the path as import awsPkg from<EMAIL_ADDRESS>is intentional because I want the CJS users to have multiple environments supported in the same code and they only need to install a library for that environment if they import that file.
But if we can have something like: import awsPkg from "@h4ad/serverless-adapter/adapters/aws I will be happy to accept.
I don't know much about publishing to esm, so I appreciate it if you could open a PR.
The main goal that we should achieve is: that the users can install this library and only need to install an optional dependency if they import that code, so express users can use ExpressFramework without need to install all the other frameworks, for example.


Crc setup

This PR call crc setup after installation. It provides basic process indication on status bar.
During setup, user will be asked for preset.
Also PR adds detection that setup should be called, so crc setup is called before vm stat.

Several issues have been recorded that have mostly been worked around: https://github.com/crc-org/crc-extension/issues/9#issuecomment-1469587481


Error 256

I'm using your lib in combination with domotocz. I dont know if you have any experience with domotociz? Reading data works like a charm, writing new temps gives an error 256. Do you have any clue how I could get more info about this error to see what is going on?
Patrick

I would have a look to see if you can turn debugging on when the Evohome client is created. Basically when the EvohomeClient object is created, you can pass debug=True to the constructor and you should get a whole load of extra information printed out.  See if that helps you narrow it down.

Closing as no follow up so assume it's fixed / being worked around.


ci: Add MSRV test

Assuming MSRV 1.65
Fixes #127
Depends on fix for #126 re-based in
Failure as expected with 1.65: https://github.com/pinkforest/rust-id3/actions/runs/8002170702/job/21854841329
Where as current stable works ok.

Not entirely sure why this fails. It might be something with unstable Rust?
Could you revert back the cache changes? I'd prefer to keep to GitHub's official solution for now

Yeah sure, it seems some transient dependency doesn't support MSRV but let me check that - the lib itself is fine all the way down 1.63 - the minimal versions is standard test
Also Swatinem's rust-cache is used all around the Rust ecosystem that has become "standard" - e.g. tokio https://github.com/tokio-rs/tokio/blob/master/.github/workflows/ci.yml#L111 but I'll remove it as wished but don't recommend hand-crafting manual cache as it has caused trouble elsewhere caching things it should not

All green now :sweat_smile: :partying_face: :tada:

Excellent! Thanks!


Looks like mdx doesn't work with #install_printer

I'll proceed to debug, but figured I'd report this, just in case I'm missing something.
mdx: 2.2.1, and also check with branch main: ea30f77f40d4f77aadb581fa65013abc1b26aac2
OCaml: 5.0.0
Platform: Ubuntu 22.04.2 LTS
I'm running: ocaml-mdx test foo.md
The following block:
# #use "topfind";;
# #require "fmt";;
# (1,2) ;;
# let pp_intpair (a,b) = Fmt.(pf stdout "<< %d,%d >>" a b) ;;
# #install_printer pp_intpair ;;

# (1,2) ;;

produces a .corrected file where the last line is:
# (1,2) ;;
- : int * int =

but the previous instance of the same line is printed normally, viz
- : int * int = (1, 2)

That is, no printing of the result (with the custom printer).
ALSO, the missing output (<< 1,2 >>) is not lost -- it shows up on the stdout of the entire ocaml-mdx execution (hence, in the terminal window).
I attach both the input ASCIIDOC file, and the .corrected file (renamed to .corrected.md)
foo.md.corrected.md
foo.md

After further debugging, NO, this appears to be a fmt problem, not an mdx problem.  If I change the printer function to either of:
# let pp_intpair (a,b) = Format.fprintf Format.std_formatter "<< %d,%d >>%!" a b ;;

or
# let pp_intpair (a,b) = Format.printf "<< %d,%d >>%!" a b ;;

things work as desired.

Oops, no, there's a different bug, but I'll open a new issue after I debug a bit further this time.


ignoring {:live=>true}

spec_helper.rb
RSpec.configure do |config|
  config.formatter = :documentation
  config.run_all_when_everything_filtered = true
  config.example_status_persistence_file_path = "tmp/rspec_test_results.txt"

  # With this you can run live Stripe API tests by running 'rspec -t live'
  if config.filter_manager.inclusions.rules.include?(:live)
     StripeMock.toggle_live(true)
     puts "Running **live** tests against Stripe..."
  end
end

bundle exec rspec -t live

Run options: include {:live=>true}
All examples were filtered out; ignoring {:live=>true}

Why would running live be ignored? How do I solve this?

I needed to add live => true to the tests
Solution:
describe "Stripe Testing", :live => true do
end


chore(deps): update jest monorepo to v25.2.6

This PR contains the following updates:

Package
Type
Update
Change

jest (source)
devDependencies
patch
25.2.4 -> 25.2.6

jest-cli (source)
devDependencies
patch
25.2.4 -> 25.2.6

Release Notes

facebook/jest
v25.2.6
Compare Source
Chore & Maintenance

[*] 25.2.5 was published without changes from 25.2.4 - 25.2.6 includes all changes from that version.

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about these updates again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

:tada: This PR is included in version 5.0.4 :tada:
The release is available on:

v5.0.4
GitHub release

Your semantic-release bot :package::rocket:


ModuleSettings: remove unused resource key "lblCachedItemCount.Text"

Description of bug
key lblCachedItemCount.Text is not used anymore
Steps to reproduce
List the precise steps to reproduce the bug:

Go to settings of any module on any page
take your magnifier out of your pocket and check every pixel on any part of the settings dialogue for occurrence of text "Current Cache Count: {0} item(s) for this tab module." with any value for placeholder {0}

Current behavior
not found
Expected behavior
key should not exist, as it puts on unnecessary burden on translators
Screenshots
see the text on the screen:
Additional context
catched during validation of translation
Affected version

[ ] 10.00.00 alpha build
[X] 09.06.01 release

Affected browser

[x] any

I confirm it is not used, there is a same key in another resource file for pages instead of tabModules that is used, but this one key is not used anywhere.

same applies to cmdClearTabModuleCache.Text abd cmdClearAllTabModuleCache.Text


Config prune

@bkueng @davids5 This prunes board configs that are not used from flash for some boards. Since each autostart config is about 1K flash this is critical to allow the addition of further configs and keeping Pixhawk flash under control.

@anton-matosov @kd0aij Please use this tag in all new racer configs to exclude them from Pixhawk 1:
# @board px4fmu-v1 exclude
# @board px4fmu-v2 exclude

Sure!

Rebased and applied!


Adam Hollings Filetype check

A simple function to get the file type of a file. Tested it on a directory of files and it works.

A simple function to get the file type of a file. Tested it on a directory of files and it works.

I didn't see a test committed - so I made a quick one.


Add KaitenBooks and Star Fruit Books manga publishers

They're both small sites but all digital purchases are DRM free.

Thank you!


Front Page: Reorganization of Page Elements

Some stuff that people want done on the HydroShare front page to address comments from users and CUAHSI. This is to make it so that the really important stuff shows up closer to the top of the page to minimize required scrolling to access it - especially on mobile devices.

[ ] 1. Move the "Join the community to start sharing" with the sign up button up on top of the rotating images (front, top, and center)
[ ] 2. Move the text messages that are now on the rotating images to below the images where the "Join the Community to start sharing" text and sign up button are now
[ ] 3. Swap the position of "How it works" and "What you can do with HydroShare"

Closing this one and moving to #1554


need to be reviewed; may not work; only little improvment the whole code seems okey to me

this is outdated


Emails could be prettier

They're very basic at the moment, just need a decent base template.

Not implementing this for now.


fixed folder name for tool cache with codeql

The folder path is wrong. it is singular.

Additionally, I found that the version format has changed recently to:
https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.14.2

@juliakm
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Use package files whitelist instead of .npmignore blacklist

Isn't it normal to also publish the package.json file for example? Or are files like that whitelisted by default?

Included by default:

package.json
README and its variants like README.md
CHANGELOG and its variants
LICENSE and the alternative spelling LICENCE

See this blog


children node type issue

Was working on writing test cases for extract, and came across an interesting bug. In walk, sometimes a node or parent will be an array instead of an object. The reason is because of this line where map is used instead of flatMap. Because of this, nested arrays can appear, and then propagate up to here. Finally, setAll calls walk here, where sometimes parent can end up being an array instead of an object.
example for expression if(starts(url, 'http'), 'external')
{
  node: '{"type":"Identifier","name":"starts"}',
  parent: `[{"type":"CallExpression","arguments":[{"type":"Identifier","name":"url"},{"type":"Literal","value":"http","raw":"'http'"}],"callee":{"type":"Identifier","name":"starts"}},{"type":"Literal","value":"external","raw":"'external'"}]`
}

Fixed


[Deployment Automation] - create issues and dev plan

Background
Deployment automation epic needs to be groomed and planned. The end vision was documented by @ValarDragon in the following doc under "Final Upgrade Testing": https://docs.google.com/document/d/1ODFiCbayw2h9dJ-m9z-L6RVeOA7RXRumIQ-LwlZzx_A/edit?usp=sharing
Acceptance Criteria

the development plan is created
follow up GitHub issues are made

This is outdated and we have separate issues for most items in the google doc, closing


Printing concurrency group in ship Workflow

Current dependencies on/for this PR:

main

PR #1046   👈

This comment was auto-generated by Graphite.


bring back mount_media, remove_media

Functions mount_media and remove_media were removed in https://github.com/Azure/azure-init/pull/57.
To parse a ovf_env file, however, both mount_media and remove_media are necessary.
Bring back the functions.
Adjust return types according to the new LibError interface as well.
TODO: unit test for the functions would be also nice.
Testing done
TBD

It would be nice to have unit tests in this PR, but without root privileges, unit tests would fail.
According to my research, Rust does not have a clear and nice way of mocking unit tests like Python.
If we really want to do that in Rust, in theory we could create mount-specific unit tests that can be executed only when cargo test runs with privileges.
On the other hand, I think in general running mount/umount commands on system devices should be rather in integration tests, not in unit tests.

I agree that anything running mount/unmount should be an integration test.  Unit tests should not require privilege or necessarily even run on the "target" system.


Problem getting this to work with 2.5.17

Hi,
With the latest version 2.5.17 working on the Cloudkey Gen 2 as another application I am unable to get this working with it.
Since LED is now another application on top of Unifi OS and they are all (Network, Protect, Access and Talk) accessed via port 443 it is not seeming to detect the LED panels I have connected.
I am not sure this is anything to do with this plugin for homekit but it maybe a User Keyboard interface error.
I hope you can help.
Thanks in advance
Gordon

It's not UniFi LED ™. You can control the LED of eg. UniFi AccessPoint and Switches

Do you have suggest how working the LED?


Create example.md

Developers can test the cicero code while they build the node library

Hi @chainbelow, thank you for your contribution! We love to see new contributors ⭐
We recommend that new users use the yo generator to create new templates, please see the guide here, https://docs.accordproject.org/docs/basic-create.html
By using the yo generator helps to reduce the number of manual steps and keeps the default template structure up to date with the latest developements in Cicero.
Does this address the problem that you're trying to solve? Instead, perhaps we should make the README file better to point people to relevant sections of the documentation?
Also for future reference, we require all contributors to sign each commit with a 'Developer Certificate of Origin`, there's further information in https://github.com/accordproject/cicero/blob/master/CONTRIBUTING.md

Hi. The yeoman generator again is relevant for users, not developers. Folks could be adding or changing the folder structure, like adding an IAM/ACL folder or other deployment folders. In our sandbox, we found this a better way.

Thanks for clarifying @chainbelow, I understand now.  I hadn't appreciated that this comment was specific to developers / contributors.
Instead, I suggest that this content is best distributed as follows:

The guidance on folder structure should go here, we describe it, but we aren't explicit about the folders, https://github.com/accordproject/techdocs/blob/master/docs/spec-template.md, which gets built to https://docs.accordproject.org/docs/spec-template.html
Then perhaps the rest could go either at https://github.com/accordproject/cicero/blob/master/packages/cicero-cli/README.md or https://github.com/accordproject/cicero/blob/master/DEVELOPERS.md

We could then give much better sign-posting from https://github.com/accordproject/cicero/blob/master/README.md?

Sounds good Matt. We will make the changes and send it across. Thanks.


Custom calculated value

Hello,
Is there a way to create a custom component whose value depends on the other columns? And which is updated in real time.
Thanks in advance

@dschecksicfe did you find any solution?


Error when trying to build on Ubuntu

When trying to build the executables for Ubuntu using npm run dist it throws the following error:

Error: Please specify author 'email' in the application package.json
See https://docs.npmjs.com/files/package.json#people-fields-author-contributors
It is required to set Linux .deb package maintainer. Or you can set maintainer in the custom linux options.
(see https://www.electron.build/configuration/linux).

Please provide the email field in the author section of package.json

Fixed in cdb9d8d2348f4ae53a8ae2e6af547617b1de49de


constrainResolution broken for delta = -0.5

constrainResolution is broken for delta = -0.5, and I believe all deltas between -1 and 0.
This means that in practice you cannot zoom out with zoom control delta = 0.5, as in this example:
https://jsbin.com/kefogomogi/edit?html,output
I think the reason is that essentially olView.constraints_.resolution is broken, as can be seen:
olView.constraints_.resolution(2.9, -0.5, 0)
2.9562622252024005

Also, might be related here, that even for integer zoom levels, constrainResolution doesn't return whole numbers, but some 5% off ones. I believe this can result in non-integer zoom blurriness.
olView.constraints_.resolution(1, -1, 0)
2.09039306640625

and

olView.constraints_.resolution(1, 1, 0)
0.5225982666015625

I believe these should be exactly 2.0 and 0.5 to have pixel perfect zoom for integer levels.

@hyperknot - I too have seen fishy behavior with the resolution constraint.  It would be good to know if things were working differently in a previous release.

@tschaub it's really simple to test it, as in my example you just need to click the zoom + once and the zoom - once. The - button won't work. I tried it back till 3.1.0 by editing the js library url and it was all the same.


[BUG] 2.15 using qat_deflate with default docker image crashes node because of missing library

Describe the bug
Trying to use the qat_deflate compression. According to the docs it should be there from 2.14 on. This is not correct btw, in 2.14.0 it can't be used, gives an instant error. Created a PR for the docs for that one.
In 2.15 is does not throw the error of not supporting the codec but it does crash the node.
Related component
Storage
To Reproduce
PUT /telegraf-rabbitmq-dip-tst-2024.07.24-qat
{
  "settings": {
    "index": {
      "codec": "qat_deflate"
    }
  }
}

Then reindex:
POST /_reindex
{
  "source": {
    "index": "telegraf-rabbitmq-dip-tst-2024.07.24"
  },
  "dest": {
    "index": "telegraf-rabbitmq-dip-tst-2024.07.24-qat"
  }
}

Expected behavior
Do not crash
Additional Details
Base 2.15.0 docker image with the s3 plugin installed.
Log:
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot [2024-07-25T20:02:25,225][ERROR][o.o.b.OpenSearchUncaughtExceptionHandler] [opensearch-data-nodes-hot-1] fatal error in thread [opensearch[opensearch-data-nodes-hot-1][write][T#3]], exiting
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot java.lang.UnsatisfiedLinkError: /tmp/opensearch-9601680627269700390/libqat-java12656953293004161880.so: libqatzip.so.3: cannot open shared object file: No such file or directory
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) ~[?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:331) ~[?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:197) ~[?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:139) ~[?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2418) ~[?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/java.lang.Runtime.load0(Runtime.java:852) ~[?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/java.lang.System.load(System.java:2025) ~[?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at com.intel.qat.Native.lambda$loadLibrary$1(Native.java:99) ~[?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) ~[?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at com.intel.qat.Native.loadLibrary(Native.java:102) ~[?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at com.intel.qat.InternalJNI.<clinit>(InternalJNI.java:17) ~[?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at com.intel.qat.QatZipper.<clinit>(QatZipper.java:97) ~[?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.codec.customcodecs.QatZipperFactory.createInstance(QatZipperFactory.java:34) ~[?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.codec.customcodecs.QatZipperFactory.createInstance(QatZipperFactory.java:166) ~[?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.codec.customcodecs.QatCompressionMode$QatCompressor.<init>(QatCompressionMode.java:96) ~[?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.codec.customcodecs.QatCompressionMode.newCompressor(QatCompressionMode.java:75) ~[?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsWriter.<init>(Lucene90CompressingStoredFieldsWriter.java:118) ~[lucene-core-9.10.0.jar:9.10.0 695c0ac84508438302cd346a812cfa2fdc5a10df - 2024-02-14 16:48:06]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsFormat.fieldsWriter(Lucene90CompressingStoredFieldsFormat.java:140) ~[lucene-core-9.10.0.jar:9.10.0 695c0ac84508438302cd346a812cfa2fdc5a10df - 2024-02-14 16:48:06]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.codec.customcodecs.Lucene99QatStoredFieldsFormat.fieldsWriter(Lucene99QatStoredFieldsFormat.java:124) ~[?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.index.StoredFieldsConsumer.initStoredFieldsWriter(StoredFieldsConsumer.java:50) ~[lucene-core-9.10.0.jar:9.10.0 695c0ac84508438302cd346a812cfa2fdc5a10df - 2024-02-14 16:48:06]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.index.StoredFieldsConsumer.startDocument(StoredFieldsConsumer.java:57) ~[lucene-core-9.10.0.jar:9.10.0 695c0ac84508438302cd346a812cfa2fdc5a10df - 2024-02-14 16:48:06]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.index.IndexingChain.startStoredFields(IndexingChain.java:535) ~[lucene-core-9.10.0.jar:9.10.0 695c0ac84508438302cd346a812cfa2fdc5a10df - 2024-02-14 16:48:06]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.index.IndexingChain.processDocument(IndexingChain.java:566) ~[lucene-core-9.10.0.jar:9.10.0 695c0ac84508438302cd346a812cfa2fdc5a10df - 2024-02-14 16:48:06]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.index.DocumentsWriterPerThread.updateDocuments(DocumentsWriterPerThread.java:263) ~[lucene-core-9.10.0.jar:9.10.0 695c0ac84508438302cd346a812cfa2fdc5a10df - 2024-02-14 16:48:06]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.index.DocumentsWriter.updateDocuments(DocumentsWriter.java:425) ~[lucene-core-9.10.0.jar:9.10.0 695c0ac84508438302cd346a812cfa2fdc5a10df - 2024-02-14 16:48:06]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.index.IndexWriter.updateDocuments(IndexWriter.java:1558) ~[lucene-core-9.10.0.jar:9.10.0 695c0ac84508438302cd346a812cfa2fdc5a10df - 2024-02-14 16:48:06]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1843) ~[lucene-core-9.10.0.jar:9.10.0 695c0ac84508438302cd346a812cfa2fdc5a10df - 2024-02-14 16:48:06]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1483) ~[lucene-core-9.10.0.jar:9.10.0 695c0ac84508438302cd346a812cfa2fdc5a10df - 2024-02-14 16:48:06]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.engine.InternalEngine.addDocs(InternalEngine.java:1281) ~[opensearch-2.15.0.jar:2.15.0]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.engine.InternalEngine.indexIntoLucene(InternalEngine.java:1217) ~[opensearch-2.15.0.jar:2.15.0]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.engine.InternalEngine.index(InternalEngine.java:1011) ~[opensearch-2.15.0.jar:2.15.0]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.shard.IndexShard.index(IndexShard.java:1215) ~[opensearch-2.15.0.jar:2.15.0]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.shard.IndexShard.applyIndexOperation(IndexShard.java:1160) ~[opensearch-2.15.0.jar:2.15.0]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.shard.IndexShard.applyIndexOperationOnPrimary(IndexShard.java:1051) ~[opensearch-2.15.0.jar:2.15.0]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.action.bulk.TransportShardBulkAction.executeBulkItemRequest(TransportShardBulkAction.java:625) ~[opensearch-2.15.0.jar:2.15.0]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.action.bulk.TransportShardBulkAction$2.doRun(TransportShardBulkAction.java:471) ~[opensearch-2.15.0.jar:2.15.0]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:941) ~[opensearch-2.15.0.jar:2.15.0]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:52) ~[opensearch-2.15.0.jar:2.15.0]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot fatal error in thread [opensearch[opensearch-data-nodes-hot-1][write][T#3]], exiting
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot java.lang.UnsatisfiedLinkError: /tmp/opensearch-9601680627269700390/libqat-java12656953293004161880.so: libqatzip.so.3: cannot open shared object file: No such file or directory
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:331)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:197)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:139)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2418)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/java.lang.Runtime.load0(Runtime.java:852)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/java.lang.System.load(System.java:2025)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at com.intel.qat.Native.lambda$loadLibrary$1(Native.java:99)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at com.intel.qat.Native.loadLibrary(Native.java:102)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at com.intel.qat.InternalJNI.<clinit>(InternalJNI.java:17)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at com.intel.qat.QatZipper.<clinit>(QatZipper.java:97)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.codec.customcodecs.QatZipperFactory.createInstance(QatZipperFactory.java:34)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.codec.customcodecs.QatZipperFactory.createInstance(QatZipperFactory.java:166)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.codec.customcodecs.QatCompressionMode$QatCompressor.<init>(QatCompressionMode.java:96)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.codec.customcodecs.QatCompressionMode.newCompressor(QatCompressionMode.java:75)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsWriter.<init>(Lucene90CompressingStoredFieldsWriter.java:118)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsFormat.fieldsWriter(Lucene90CompressingStoredFieldsFormat.java:140)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.codec.customcodecs.Lucene99QatStoredFieldsFormat.fieldsWriter(Lucene99QatStoredFieldsFormat.java:124)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.index.StoredFieldsConsumer.initStoredFieldsWriter(StoredFieldsConsumer.java:50)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.index.StoredFieldsConsumer.startDocument(StoredFieldsConsumer.java:57)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.index.IndexingChain.startStoredFields(IndexingChain.java:535)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.index.IndexingChain.processDocument(IndexingChain.java:566)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.index.DocumentsWriterPerThread.updateDocuments(DocumentsWriterPerThread.java:263)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.index.DocumentsWriter.updateDocuments(DocumentsWriter.java:425)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.index.IndexWriter.updateDocuments(IndexWriter.java:1558)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1843)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1483)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.engine.InternalEngine.addDocs(InternalEngine.java:1281)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.engine.InternalEngine.indexIntoLucene(InternalEngine.java:1217)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.engine.InternalEngine.index(InternalEngine.java:1011)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.shard.IndexShard.index(IndexShard.java:1215)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.shard.IndexShard.applyIndexOperation(IndexShard.java:1160)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.index.shard.IndexShard.applyIndexOperationOnPrimary(IndexShard.java:1051)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.action.bulk.TransportShardBulkAction.executeBulkItemRequest(TransportShardBulkAction.java:625)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.action.bulk.TransportShardBulkAction$2.doRun(TransportShardBulkAction.java:471)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:941)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at org.opensearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:52)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
opensearch-data-nodes-hot-1 opensearch-data-nodes-hot 	at java.base/java.lang.Thread.run(Thread.java:1583)

@sandervandegeijn Did you get a chance to dig into this? Might be a 2.16 showstopper.

Any suggestions on how to provide more useful info? The only thing I need to do is to create a new index with the codec and reindex the data. As soon as I hit send the node crashes.
Dockerfile with which we extend the base image with the Azure plugin (sorry, we use S3 on the other cluster, this one uses Azure blob storage).
ARG osversion

FROM opensearchproject/opensearch:${osversion}

#RUN /usr/share/opensearch/bin/opensearch-plugin install --batch repository-s3
RUN /usr/share/opensearch/bin/opensearch-plugin install --batch repository-azure

Hi @sandervandegeijn ,
Would you give us more details on It looks like a CI/CD packaging / path problem to me at first glance?
I am a bit confused here as this seems like a code issue related to the core.
Could you test again on the tarball artifact?
Since docker release is basically running the tarball.
Thanks.
Also sync @reta @sarthakaggarwal97 into the discussion since this looks like a opensearch-project/custom-codecs issue.
Thanks.

I was not able to reproduce on the default distribution of 2.15.
$ curl -k -u admin:$OPENSEARCH_PASSWORD -X GET https://localhost:9200/
{
  "name" : "02b751c49f0f",
  "cluster_name" : "docker-cluster",
  "cluster_uuid" : "HA6t8-RuQQmMmWFn1SnTOw",
  "version" : {
    "distribution" : "opensearch",
    "number" : "2.15.0",
    "build_type" : "tar",
    "build_hash" : "61dbcd0795c9bfe9b81e5762175414bc38bbcadf",
    "build_date" : "2024-06-20T03:27:32.562036890Z",
    "build_snapshot" : false,
    "lucene_version" : "9.10.0",
    "minimum_wire_compatibility_version" : "7.10.0",
    "minimum_index_compatibility_version" : "7.0.0"
  },
  "tagline" : "The OpenSearch Project: https://opensearch.org/"
}

$ curl -k -u admin:$OPENSEARCH_PASSWORD -X PUT https://localhost:9200/my_index --json '{
  "settings": {
    "index": {
      "codec": "qat_deflate"
    }
  }
}'
{"acknowledged":true,"shards_acknowledged":true,"index":"my_index"}

The reason I suspect a packaging problem is the error:
libqatzip.so.3: cannot open shared object file: No such file or directory
Looks like the lib is missing or in the wrong path.
@dblock have you tried doing a reindex to that newly created index? That's when the error occurs on my cluster.

@sandervandegeijn yes, sorry, I forgot to copy-paste the last part

In 2.15 is does not throw the error of not supporting the codec but it does crash the node.

Should we also look at ways to disable this codec, while we figure out a way to actually get a fix in place. Moreover, since this codec is anyway not working since 2.14, if we can throw 4xx instead to prevent crash?

libqatzip.so.3

Let me do some testings directly on the docker release image.
Thanks.

opensearch-cluster-1  | Caused by: java.lang.UnsupportedOperationException: Unsupported OS/arch, cannot find /com/intel/qat/linux/aarch64/libqat-java.so. Please try building from source.

That seems like a different issue:
opensearch-cluster-1  | Caused by: java.lang.UnsupportedOperationException: Unsupported OS/arch, cannot find /com/intel/qat/linux/aarch64/libqat-java.so. Please try building from source.

opensearch-cluster-1  | Caused by: java.lang.UnsupportedOperationException: Unsupported OS/arch, cannot find /com/intel/qat/linux/aarch64/libqat-java.so. Please try building from source.

That seems like a different issue:
opensearch-cluster-1 | Caused by: java.lang.UnsupportedOperationException: Unsupported OS/arch, cannot find /com/intel/qat/linux/aarch64/libqat-java.so. Please try building from source

opensearch-cluster-1  | Caused by: java.lang.UnsupportedOperationException: Unsupported OS/arch, cannot find /com/intel/qat/linux/aarch64/libqat-java.so. Please try building from source.

That seems like a different issue: opensearch-cluster-1 | Caused by: java.lang.UnsupportedOperationException: Unsupported OS/arch, cannot find /com/intel/qat/linux/aarch64/libqat-java.so. Please try building from source

Confirmed this one on a Mac with Apple Silicon running the image under docker desktop as well. Didn't expect that error either, from the docs: it should fall back to the software implementation instead of the hardware accelerated one, but it should still work.

I just tried using the docker images and I dont see the issue as well:

% docker run -it -d -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" -e "OPENSEARCH_INITIAL_ADMIN_PASSWORD=myStrongPassword123" opensearchproject/opensearch:2.15.0

3b3758158c66e63686ab22613cdbf78b1567ad1125105bb48532db0a26265ff6

% docker ps
CONTAINER ID   IMAGE                                 COMMAND                  CREATED         STATUS        PORTS                                                                                NAMES
3b3758158c66   opensearchproject/opensearch:2.15.0   "./opensearch-docker…"   2 seconds ago   Up 1 second   <IP_ADDRESS>:9200->9200/tcp, :::9200->9200/tcp, 9300/tcp, <IP_ADDRESS>:9600->9600/tcp, :::9600->9600/tcp, 9650/tcp   adoring_hoover

% curl -k -u admin:myStrongPassword123 -X PUT https://localhost:9200/my_index --json '{
  "settings": {
    "index": {
      "codec": "qat_deflate"
    }
  }
}'
{"acknowledged":true,"shards_acknowledged":true,"index":"my_index"}%

% curl -k -u admin:myStrongPassword123 -X POST https://localhost:9200/_reindex --json '{
  "source": {
    "index": "my_index"
  },
  "dest": {
    "index": "their_index"
  }
}'

{"took":13,"timed_out":false,"total":0,"updated":0,"created":0,"deleted":0,"batches":0,"version_conflicts":0,"noops":0,"retries":{"bulk":0,"search":0},"throttled_millis":0,"requests_per_second":-1.0,"throttled_until_millis":0,"failures":[]}%

opensearch-cluster-1  | Caused by: java.lang.UnsupportedOperationException: Unsupported OS/arch, cannot find /com/intel/qat/linux/aarch64/libqat-java.so. Please try building from source.

That seems like a different issue: opensearch-cluster-1 | Caused by: java.lang.UnsupportedOperationException: Unsupported OS/arch, cannot find /com/intel/qat/linux/aarch64/libqat-java.so. Please try building from source

Confirmed this one on a Mac with Apple Silicon running the image under docker desktop as well. Didn't expect that error either, from the docs: it should fall back to the software implementation instead of the hardware accelerated one, but it should still work.
Seperate bug?

Yeah that probably is a separate bug because in custom-codecs we see this
[opensearch@3b3758158c66 test]$ unzip qat-java-1.1.1.jar
Archive:  qat-java-1.1.1.jar
   creating: META-INF/
  inflating: META-INF/MANIFEST.MF
   creating: com/
   creating: com/intel/
   creating: com/intel/qat/
   creating: com/intel/qat/linux/
   creating: com/intel/qat/linux/amd64/
   creating: META-INF/maven/
   creating: META-INF/maven/com.intel.qat/
   creating: META-INF/maven/com.intel.qat/qat-java/
  inflating: com/intel/qat/Native.class
  inflating: com/intel/qat/QatZipper$Mode.class
  inflating: com/intel/qat/QatException.class
  inflating: com/intel/qat/QatZipper$QatCleaner.class
  inflating: com/intel/qat/QatDecompressorInputStream.class
  inflating: com/intel/qat/package-info.class
  inflating: com/intel/qat/QatCompressorOutputStream.class
  inflating: com/intel/qat/InternalJNI.class
  inflating: com/intel/qat/QatZipper.class
  inflating: com/intel/qat/QatZipper$PollingMode.class
  inflating: com/intel/qat/QatZipper$Algorithm.class
  inflating: com/intel/qat/linux/amd64/libqat-java.so
  inflating: META-INF/maven/com.intel.qat/qat-java/pom.xml
  inflating: META-INF/maven/com.intel.qat/qat-java/pom.properties
  inflating: module-info.class

It seems like it does not support arm64 at this point.

Related to this PR in custom-codecs repo
https://github.com/opensearch-project/custom-codecs/pull/122


Two way binding work in library?

Two way binding work in library? What need that do two way binding? Paste brackets as here: [(data)]="yourData"

It has been a little bit since i worked with this, but please try [(formData)] instead of data.

What difference between data and formData? I have following template:
`<app-schema-form
*ngIf="schema&&settings"
[schema]="schema"
[layout]="layout"
[(data)]="settings"
(onSubmit)="applyConfiguration($event)"

`
Where 'app-schema-form' - selector for child component. When I change data on form changes passed on formData property, not on data property. Can you explain how this work?

I did not write any of this code ... so I am only going off my experience and guesses.
When I started using this library there was not 2-way binding only a change event that you could then fetch data.  The Author added 2-way binding but at that time only added it to formData and not data (if he has added 2-way bing to other thing, i don't know).
however looking at the second code snippet I wonder if his code is wrong because you should be doing a this.onChanges.next(this.formData)


Fix PointCNN benchmark; sklearn is replaced by scikit-learn.

Fix PointCNN benchmark (dim (int) is required); sklearn is replaced by scikit-learn.

Thank you!


Webchat does not show text from HTTPS Response despite HTTP Code 200

Hello
I'm calling a remote https service via the bot emulator by typing a text into the webchat, here "Hello". The response is coming back correctly with HTTP code 200, but the webchat does not show the response. What did I miss?
Bot Emulator version is 3.5.33
Startup Log
[11:16:23] Emulator listening on http://[::]:63840
[11:16:23] ngrok listening on https://08a7372a.ngrok.io
[11:16:23] ngrok traffic inspector: http://localhost:4040
[11:16:23] Will bypass ngrok for local addresses
[11:16:23] Checking for new version...
[11:16:25] Application is up to date.
I added the screenshots and the json files from the webchat in the bot emulator.
REQUEST

RESPONSE

REQUEST
{
"type": "message",
"text": "Hello",
"from": {
"id": "default-user",
"name": "User"
},
"locale": "en-US",
"textFormat": "plain",
"timestamp": "2017-11-05T09:49:50.451Z",
"channelData": {
"clientActivityId": "1509875028121.6653353473116588.0"
},
"entities": [
{
"type": "ClientCapabilities",
"requiresBotState": true,
"supportsTts": true,
"supportsListening": true
}
],
"id": "aiend6j0klk6",
"channelId": "emulator",
"localTimestamp": "2017-11-05T10:49:50+01:00",
"recipient": {
"id": "akd08b141n47chj3dc",
"name": "Bot"
},
"conversation": {
"id": "bc4lk7ell0d"
},
"serviceUrl": "https://242f7bb7.ngrok.io"
}
RESPONSE
{
"type": "message",
"from": {
"id": "akd08b141n47chj3dc",
"name": "Bot"
},
"conversation": {
"id": "bc4lk7ell0d",
"name": "Conversation Name"
},
"recipient": {
"id": "default-user",
"name": "User"
},
"channelData": {
"clientActivityId": "1509875028121.6653353473116588.0"
},
"channelId": "emulator",
"text": "I understood: Hello",
"speak": "I understood: Hello",
"inputHint": "expectingInput",
"replyToId": "aiend6j0klk6"
}
thanks
Holger

test

Interesting! Did you build your bot using the BotBuilder SDK? Or are you generating the reply message manually?

I used neither one of those two options. The external cloud service I'm calling generates the response.

Can you tell me how you created your bot? What platform or generation tool? I'm wondering because the reply it generated is a little different than what I typically see. It is possibly invalid in some way.

It‘s a cloud service and I defined the JSON format myself based on what I know about the response format. Would you share the response you see and think it‘s correct? thx

@holgerkyas were you able to resolve your issue?


New Version Bug: Changing viewport size causes following list's scrollbar to go back to default

The reverse should happen though

I think as of today I can't reproduce this problem this issue should be closed.


Not success status code: 403

Just trying to play a song from youtube and I'm getting this error.

Error
2021-12-24 05:40:08.371 ERROR 2184 --- [back-1-thread-1] c.s.d.l.t.p.LocalAudioTrackExecutor      : Error in playback of iT6MEoRywDY

com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.
	at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:44) ~[lavaplayer-1.3.76.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:116) ~[lavaplayer-1.3.76.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:348) ~[lavaplayer-1.3.76.jar!/:na]
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[na:na]
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[na:na]
	at java.base/java.lang.Thread.run(Thread.java:831) ~[na:na]
	Suppressed: com.sedmelluq.discord.lavaplayer.tools.exception.EnvironmentInformation:
  lavaplayer.version: 1.3.76
  os.arch: aarch64
  os.name: Linux
  os.version: 5.11.0-1023-raspi
  java.vendor: Private Build
  java.version: 16.0.1
  java.runtime.version: 16.0.1+9-Ubuntu-1
  java.vm.version: 16.0.1+9-Ubuntu-1
Caused by: java.lang.RuntimeException: Not success status code: 403
	at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.validateStatusCode(PersistentHttpStream.java:87) ~[lavaplayer-1.3.76.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.attemptConnect(PersistentHttpStream.java:116) ~[lavaplayer-1.3.76.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.connect(PersistentHttpStream.java:105) ~[lavaplayer-1.3.76.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.internalRead(PersistentHttpStream.java:150) ~[lavaplayer-1.3.76.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.tools.io.PersistentHttpStream.read(PersistentHttpStream.java:166) ~[lavaplayer-1.3.76.jar!/:na]
	at java.base/java.io.DataInputStream.readByte(DataInputStream.java:271) ~[na:na]
	at com.sedmelluq.discord.lavaplayer.container.matroska.format.MatroskaEbmlReader.readEbmlInteger(MatroskaEbmlReader.java:39) ~[lavaplayer-1.3.76.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.container.matroska.format.MatroskaFileReader.readNextElement(MatroskaFileReader.java:45) ~[lavaplayer-1.3.76.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaStreamingFile.readFile(MatroskaStreamingFile.java:78) ~[lavaplayer-1.3.76.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaAudioTrack.loadMatroskaFile(MatroskaAudioTrack.java:51) ~[lavaplayer-1.3.76.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.container.matroska.MatroskaAudioTrack.process(MatroskaAudioTrack.java:34) ~[lavaplayer-1.3.76.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.track.DelegatedAudioTrack.processDelegate(DelegatedAudioTrack.java:25) ~[lavaplayer-1.3.76.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.processStatic(YoutubeAudioTrack.java:57) ~[lavaplayer-1.3.76.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:49) ~[lavaplayer-1.3.76.jar!/:na]
	at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:104) ~[lavaplayer-1.3.76.jar!/:na]
	... 4 common frames omitted

Sorry about that close/reopen didn't mean it

Latest is 1.3.78

Issue was related to running out of ram I'm pretty sure

Issue was related to running out of ram I'm pretty sure

403 HTTP status code means forbidden access from that content. I'm not sure how it is supposed to be an "out of memory" issue.

Issue was related to running out of ram I'm pretty sure

403 HTTP status code means forbidden access from that content. I'm not sure how it is supposed to be an "out of memory" issue, as mentioned above try to use lavaplayer-fork.


Consider adding a license

Hello, thanks for sharing this awesome project!
I noticed the repository doesn't contain any license. This makes it legally impossible to use or contribute to the repo. GitHub lets you add the most common ones from the Insights -> Community tab I believe.
Thanks for considering! 🎄

Yup, thanks for pointing it out, this was just an oversight from me :)