Instance ShaderMaterials going black after 4.1k instances

Godot version
4.1.stable
System information
Godot v4.1.stable - Windows 10.0.19044 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3050 (NVIDIA; <IP_ADDRESS>24) - Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz (4 Threads)
Issue description
General: I can spawn blocks with 6 meshes, avg 2-3 materials each. Those are instance spacial shader materials, just hue parameters mixed with a texture (different texture -> different materials, but hues and wether texture is used varies between instances).
Problem: once I spawn ~680-700 blocks (4.1k meshes), all following blocks spawn with pure black texture. it doesn't matter if new parameters or old ones are used. I can despawn a few random colored blocks and that's exactly how many more colored meshes I will be able to spawn. Other than that, the object is lit by environmental light like all other.

That said, draw calls are under 100, fps stays at 60 and I can spawn 5 times more blocks before any loss of fps or general performance.
Steps to reproduce

Load the project and an auto-clicker.
Star the game, wail with auto clicker on 10 ms or so.
(Extra: Some block textures flicker, but return to normal)
Around 4100 blocks (4,1k meshes, same as when it fails in my main project) you will see that all new meshes are black.

Minimal reproduction project
Bug-ShaderMaterialInstanceLimit.zip

Do you get any errors printed in the console when the issue occurs?

It says too many istances are using shader instance variables, 4096 being the limit, which is 2^12. Though, there are onl a few options for colors, and int he main progect, I can just use the same parameters for all meshes and still hit this limit. Is it creating a new material with each mesh, regardless of weather it needs to?
Also there is a problem of random meshes changing their color though they are not supposed to be related.

Have you tried increasing the limit as the error suggests doing?

Yeah, It allows as many times more as bigger the buffer is set. However, by that time, the world becomes a flickering sea of candy as each new block changes the colors of many other blocks.

Seems like the original issue is solved and not really an issue, just increase the buffer size in the project settings. However, I noticed two other issues that might be bugs or something else. I uploaded a simplified version of the MRP project that has some useless stuff commented out and doesn't require an auto-clicker to actually see the problem:
Bug-ShaderMaterialInstanceLimit-simpler.zip
To test the project, run it and click the mouse so that the raycast hits the ground plane, hold the button down and move the mouse. You can "paint" new meshes on the plane that have all instance unfiform colors. You can see two potential issues:

The material of a new box mesh is black during the first frame when it is created. After that, the instance uniforms are updated and the box gets its bright color. Not sure if this is intentional, but it can be pretty bad if you use instance uniforms to index into an uniform array or texture etc. During this first frame you can accidentally read garbage if you don't guard all your reads, which can affect performance and can be tricky to do. Brute forcing a call to MaterialStorage::_update_global_shader_uniforms()  in MaterialStorage::global_shader_parameters_instance_update() with some check removes seems to work and gets rid of this possible glitch, but there should be a better and more performant way to do this.

After a few hundred boxes are added, it looks like some of the old instance colors are overriden or corrupted. As far as I can see it, the demo only modified instance colors of the newly created box meshes, but occasionally you can see how some of the old box colors change, too. The more boxes you paint, the more easier this is to see as many old mesh colors start to glitch out.

Turns out the solution to issue 2. I mentioned is to simply enable "Local to Scene" for the Block MeshInstance3D in the block.tscn so that they don't conflict with each other. You can read more about this flag and PackedScenes in the documentation. Or you can manually duplicate resources or nodes in code during runtime, but that can result in more heavy-handed results.
My comment about the delayed instance uniform update resulting in one-frame black material is still valid, but I'll do a separate, new bug report if I can't find any existing bug reports. Let us know if something other than that issue is still unsolved here, otherwise I'll close this issue as resolved at some point in the near future.
In short, enable this checkbox:

Thank you! I currently see no other related issues. Have a great day!

Closing as promised, the new found issue is now tracked in https://github.com/godotengine/godot/issues/79602


v3.4: add file preview

Since invenio-previewer has not been migrated to Semantic-UI, the code to display the file preview in the record.html has been commented out for the time being.

blocked because invenio-previewer is not migrated https://github.com/inveniosoftware/invenio-previewer/issues/124


[dartdev] Add dart prebuild command to build native assets

How can I precompile assets for release packaging and debug development?
You can pub get the packages, but there are no command for post-processing (compiling) got packages.
Also it would be great to expose some sort of config that will allow to map some particular Natives to precompiled dynamic libraries.

Please add same logic/feature for JS packages.
For example, definition:
// native_add_library.d.ts

export function add(a: number, b: number): number;

// native_add_library.js

import { add as _add } from "library";

export function add(a, b) {
  return _add(a, b);
}

generated:
// native_add_library.dart

JS()
library;

import 'package:js/js.dart';

@JS()
external int add(int a, int b);


4.0.1_beta affine step produces intermittant odd rotational transformations

Issue has been resolved in version 4.1.0-beta. Please download the latest release.


Sent the govuk_request_id field to the Content Store

Currently it is only sent to the message queue but it was decided
that it would be useful to have in the Content Store as well.
Not to be merged until after https://github.com/alphagov/govuk-content-schemas/pull/613 has gone in.
Trello Card

I would guess that the request id is already being sent to the Content Store, but as a HTTP header. I think there is some code in the gds-api-adapters that does this.

@cbaines Yep, you're right, it will already be accessible in the content store.


Can gptcli commit generate based on the format of recent commit messages?

It would be even better if I could provide additional prompt information or conduct further optimization through dialogue when the results obtained are not very clear.

@fatedier This suggestion is very great！ I think it's good to further optimize this commit message through chat.  And  I will test whether generating commit messages based on recent commits is more accurate. If it's better, I will add a configuration that allows users to include the recent commit messages in the predicted commit message.
thanks a lot 👍👍👍

git commit -m':sparkles: Add Confirm and Input classes, prompt user input for
 confirm messages in Confirm class. Close issue #8.'

@fatedier Take a look, It it great!

3.11.0
Release！ 🎉

Great! Works like a charm.

I will continue to tune this prompt 🤖

https://github.com/JohannLai/gptcli/blob/main/src/plugins/commit.yml#L81

@fatedier thanks report the bug，I checked it today

fixed


OMR output extensions are "xml", rename them into "musicxml" for compatibility

All the outputs of the OMR software have .xml extensions.
For all of our MuseScore files, we use the extension .musicxml. I think .musicxml and .mxl (for compressed MusicXML) are the official extension names. I remember I read that somewhere, but I can't find it.
In any case, .xml is a bad extension because any XML-based file could be an .xml. .musicxml is more specific.

[x] Rename all OMR output files to have .musicxml extension

Done on https://github.com/DDMAL/felix_quartets_got_annotated/commit/cd8bd68f7b4b76faf9c06a92eb1ec83b65799926


Variable Refnum Invalid Error When deploy EtherCAT Custom device at second time.

If you need immediate assistance, please contact NI Support at<EMAIL_ADDRESS>or 1(800)531-5066.
Please describe the problem you're facing.
Veristand return error below, when deploy EtherCAT Custom device at second time.
It dose not return error at first time after RT reboot.
But it return error, after un-deploy  system then deploy again.

sorry for Japanese error massage, it describe that "Variable refnum is invalid. variable is deleted after opening reference or valid reference is not opened"

[Environment]
Veristand 2020 R5
Scan engine & Ethercat custom device (Veristand 2020 R5 shipping version)
CompactRIO 9055
Third-Party EtherCAT Slave (Comemso Battery Cell Simulator)
Describe the expected behavior
it should not return error when re-deploy the system.
Currently, I have to always re-boot system to deploy it again.
Describe troubleshooting steps you've taken.
First, I made simple LabVIEW program to test third party EtherCAT slave, and it work properly in LabVIEW environment.
Additional context

This sounds like an issue with how the custom device or the EtherCAT slave are handling state transitions. As a quick test to make sure it works from LabVIEW in the same manner, make sure to transition the Scan Engine between Active and Configuration modes in the project. Otherwise, just deploying to the system from LabVIEW without changing the state is not a valid comparison.
Either way though, this is not the best support forum for this issue. I recommend creating a support case via the email or phone numbers above. NI technical support can help with more detailed debugging and next steps.

thanks for comments.
I tested with LabVIEW following procedure and EtherCAT slave works properly.

Set Scan engine into configuration mode at utility menu.
then Set Scan engine into active mode and deploy RT VI.
Stop RT VI and set Scan engine into Configuration mode.
Again Set scan engine into active mode then, re-deploy RT VI.

Do you think above procedures are same as Veristand do when deploy & undeploy?
I will also try to contact NI tech support.
best regard.

Closing for inactivity.


Apply an Open Source license?

Hey, can you apply an open source license to this utility so that I can get it approved for use at my place of work? It has been immensely useful debugging legacy SQL queries.

@etlacker thanks for the feedback! I have added MIT license per your request. If it needs to be a part of the actual vscode release, I will have to do that when I get home later after work. Let me know if you need anything else.
Cheers

Awesome! I think just the MIT license is good enough. Thanks for the quick response!


[Coverity CID :188758]Incorrect expression in /drivers/wifi/winc1500/wifi_winc1500.c

Static code scan issues seen in File: /drivers/wifi/winc1500/wifi_winc1500.c
Category: Incorrect expression
Function: winc1500_get
Component: Drivers
CID: 188758
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

@tbursztyka can you please take a look at this?

@nashif  sure

Marked as Fixed in latest coverity scan


Kelvin support?

Hi - thank you SO MUCH for this! I love being able to control my lights from my apple devices!
I see on the homepage you mention support for Kelvin however I've not been able to get siri to change the temperature of my lights.
Do you happen to know how to do that?

@cmsimike Kelvin is defined as a custom characteristic as HomeKit doesn't a built-in one, therefore, the Kelvin attribute can be adjusted manually using some 3rd party HomeKit apps, but unfortunately not using Siri.

Thank you!


Custom claim value has a limit of 80 characters

Hello Guys,
I have a Function App using a MSI. I grab an access_token from the MSI_ENDPOINT and would like to use it to authenticate to a Logic App.
The access_token, among others, has a following claim: xms_mirid.
This claim has the following structure: "xms_mirid": "/subscriptions/<subscription_id>/resourcegroups/<resource_group_name>/providers/Microsoft.Web/sites/<function_name>"
I would like to allow only specific Function Apps to be able to trigger the Logic App.
It would be a perfect fit to condition access to the Logic App based on the value of the xms_mirid claim.
Unfortunately there is a limit of 80 characters for the claim value which isn't documented anywhere. I get the following error when I try to use the xms_mirid as returned by the Function App's MSI_ENDPOINT.
"error":{"code":"InvalidOAuthClaimValue","message":"OAuth authentication policy '<policy_name>' in access control configuration of workflow is not valid. The provided claims value 'xms_mirid' have a length of '9' respectively which exceeds the maximum limit of '80'."}}

Could you please suggest how to best tackle this issue?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 95b48753-cabe-fe92-42de-21775f4f99c3
Version Independent ID: 45a1fa90-c4f8-6d0b-e1a8-ed996de671eb
Content: Secure access and data - Azure Logic Apps
Content Source: articles/logic-apps/logic-apps-securing-a-logic-app.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

@lukipro Thank you for your feedback! We will review and update as appropriate.

#assign @ecfan

ecfan is already assigned.

@JayaChatterjee-MSFT: Could you work with the Logic Apps team to investigate possible solutions to work around the limit? I'll be happy to incorporate the solution into the doc after a resolution is found.

@lukipro Thanks for reporting this item! Document has been updated and published. We appreciate the feedback!
Just to reconfirm, this error is thrown by your logic app when you are verifying the value of "xms_mirid" as condition to further proceed?

Thanks for picking this up.
The error is shown in the Portal in the Logic App/Settings/Authorization blade. Just try to use Add custom claim and specify a claim value longer than 80 characters.

@lukipro: Increasing limit up to 150 is enough for your scenario?

@lukipro Could you please confirm if the proposed limit would work in this case? Also we can continue this offline to share the updates. You may send an email with subject line “Attn:Jaya” to AzCommunity[at]Microsoft[dot]com referencing this thread.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Reset password is not accepting special characters like [] , ? , - , ()

Closing as Issue is already present for the same


Need to Pass SqlQuery Columns List into Decoders

Version: (e.g. 3.18.0)
Module: (e.g. quill-core)
Database: (e.g. All)
Analysis
Based on various issues discovered when doing co-products in ProtoQuill (here: TODO) as well as OrientDB (here: TODO) two things have become aparant.

In order to be able to actully know which column needs to be looked up, there can be no column duplicates. That means that in the aliasing of the columns, each top-level column must be aliased as the full-path to the root level entity and theree has to be a path delimiter (e.g. $). For example:
case class Person(name: Name, age: Int)
case class Name(first: String, last: String)
run(query[Person])
// must be
// SELECT x.name AS name$first, name$last, age

Currently, top-level aliases purposely only have the top-level column name:
SELECT x.name AS first, last, age

This behavior is intentional and I have described it here TODO.

One cannot expect all databases to have index-based lookup. For example, newer OrientDB APIs specifically have a Set<Column> representation where columns can only be looked up by the name (some info here TODO).

Due to the current behavior of item 1, Co-Product rows with nested embedded entities will not predictably work because there could be repeating column names. For example, say we have:
case class Person(name: Name, first: String)
case class Name(first: String, last: String)
run(query[Person])
// this will yeild
// SELECT x.name, x.first, x.name FROM Person x

This is generally fine (in JDBC, Jasync, etc...) because quill looks up all columns by index however, for databases like OrientDB (as mentioned above) it is highly problematic.
Proposed Solution
I propose that we keep change SQL query columns to the pathing scheme mentioned above and also:

Introduce a Context[Session](session: Session, columnList: String) parameter into all encoders and decoders replacing the current Session parameter. This can serve as a base location where to put additional information into the future. In fact, as a 1st step, just changing the Session parameter of all encoders/decoders to Context[Session] is a good start.

Change the ExpandNestedQueries and SelectPropertyProtractor to add $ between parts of concatonate paths (also possibly a change in SqlIdiom is needed). The most important change should be in FlattenNestedProperty the isSubselect part where we're doing path.mkString which needs to become path.mkString("$") and we no longer want an isSubselect.

Note that this change will cause breakage to lots of tests that will now have their pathing schemes changed. Unfortunately this needs to be manually changed.

The parameter used passed into the extractors in executeQuery etc... needs to be changed to Context[Session]. In place like JDBC, if we are passing the columnsList:List[String] it will need to be propagated all the way through to ResultSetExtractor where in extractResult the call is extractResult(rs, conn, extractor, extractor(rs, Context(conn /*the session*/, columnMap)) :: acc).

Again, it might be useful to start with just creating a Context(conn) making all the needed changes and only then proceeding. Maybe it should even be in a separate PR.

The actual columnList:List[String] needs to be propagated into all the execute_ methods. The easiest way to do this is by adding this information to the executionInfo object. The actual columnList needs to be passed into the Expand.scala case class which is injected by the expand method at the the top of ContextMacro.scala*. From there. which it can be injected from the expand variable into the ExecutionInfo inside the QueryMacro (the same way as expanded.string and expanded.ast is done).

In order make that actually work you'll need to do something like:

val (ast, statement, executionType, /*columnList*/) = ${translate(ast, topLevelQuat)}

...and then modify translateStatic and translateDynamic methods to propagate this parameter from idiom.translate. Then you'll have to go to all the dialects and in their translate methods return a columnsList:List[String]. This can be directly computed from the case q: Query case of doTranslate (the columns list should be empty if the query is an action) where the Query is turned into an SqlQuery object right before the RemoveExtraAlias phase. You can go through the SelectValue elements of SqlQuery. and pull out their aliases. There should always be an alias, we can add fake placeholders if there in the unlikely case there is none but there it should not be the case.
In order to actually compute the columnList:List[String] from SqlQuery, do something like this:def getColumns(sqlQuery: SqlQuery) =
  sqlQuery match {
    case f: FlattenSqlQuery =>
      f.select.map(_.alias.getOrElse(throw new RuntimeException("will figure out what to do about this later")))
  }

Then you pass it from doTranslate back to translate back to translateStatic/translateDynamic in ContextMacro back up to ContextMacro.translate and from there back to Expand in the ContextMacro.expand back to ExecutionInfo from the newly created expanded.columnsList variable in every clause of QueryMacro.expandQueryWithMeta and QueryMacro.expandQueryWithDecoder.

This is a very large change it's result will be very significant. All the encoders/decoders will have access to all of the columns used by the SQL Query and each Select alias will be have a guarenteed unique alias!
(Note that a similarly involved change needs to be done in ProtoQuill. I will document that when possible.)
@getquill/maintainers

Due to the sheer size and scope of this change, I recommend that it be split into 4 different PRs.

Change the Session parameter of all Encoders/Decoders to the newly created Context[Session]. This alone will be a fairly involved change because it will involve modificaiton of all of the encoders/decoders across all Contexts and databases. However, it can avoid having to make extensive changes in other places since ExecutionInfo can stay un-modified.

Get the columns-list and propagate it all the way from idiom.translate to ExecutionInfo and expandQueryWithDecoder/Meta and ContextMacro.expand/translate/translateStatic/translateDynamic methods.

Add the $ deliniator between column names. This should only involve changes in the path.mkString("$") in FlattenNestedProperty in ExpandNestedQueries.scala but it will cause lots of tests to break and need updating but the updates shuold be fairly mechanical (i.e. add "$" everywhere).

Remove the else case from isSubselect in FlattenNestedProperty. This will also case many tests to need updating.


randen_hwaes compilation error on aarch64

The error message is:
In file included from external/com_google_absl/absl/random/internal/randen_hwaes.cc:225:0:
external/org_linaro_components_toolchain_gcc_aarch64/lib/gcc/aarch64-linux-gnu/7.4.1/include/arm_neon.h: In function 'Vector128 {anonymous}::AesRound(const Vector128&, const Vector128&)':
external/org_linaro_components_toolchain_gcc_aarch64/lib/gcc/aarch64-linux-gnu/7.4.1/include/arm_neon.h:12440:1: error: inlining failed in call to always_inline 'uint8x16_t vaesmcq_u8(uint8x16_t)': target specific option mismatch
 vaesmcq_u8 (uint8x16_t data)
 ^~~~~~~~~~
external/com_google_absl/absl/random/internal/randen_hwaes.cc:251:20: note: called from here
   return vaesmcq_u8(vaeseq_u8(state, uint8x16_t{})) ^ round_key;
          ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from external/com_google_absl/absl/random/internal/randen_hwaes.cc:225:0:
external/org_linaro_components_toolchain_gcc_aarch64/lib/gcc/aarch64-linux-gnu/7.4.1/include/arm_neon.h:12426:1: error: inlining failed in call to always_inline 'uint8x16_t vaeseq_u8(uint8x16_t, uint8x16_t)': target specific option mismatch
 vaeseq_u8 (uint8x16_t data, uint8x16_t key)
 ^~~~~~~~~
external/com_google_absl/absl/random/internal/randen_hwaes.cc:251:20: note: called from here
   return vaesmcq_u8(vaeseq_u8(state, uint8x16_t{})) ^ round_key;

Looks like when crypto is not supported, the compiler cannot generate some instructions. Adding -march=armv8-a+crypto resolves the problem but forces hardware crypto.

I also have one idea here - randen currently uses software AES when hardware AES is not supported, according to my benchmark, this is 10x slower on x64. What about using chacha as the polyfill when hardware AES is not supported?

It looks like the problem here is that https://github.com/abseil/abseil-cpp/blob/master/absl/copts/configure_copts.bzl has the symbol ABSL_RANDOM_HWAES_ARM64_FLAGS but never uses it. Our internal version of this file does use it, but it gets stripped out before it reaches GitHub, for reasons that are complicated. It should be fixable.
I think using ChaCha when hardware acceleration isn't available is a reasonable idea, but we likely won't be able to work on it for a while. I should also point out that absl::BitGen explicitly says that should not be considered a secure generator, in case you thought it is. If you need speed on ARM, consider using absl::InsecureBitGen, which is currently based on pcg and shouldn't rely on hardware acceleration to get good speed.

Xin chào thế giới

/home/marcel/Desktop/atc_buildroot/src/src_buildroot/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/9.3.0/include/arm_neon.h: In function ‘Vector128 {anonymous}::AesRound(const Vector128&, const Vector128&)’: /home/marcel/Desktop/atc_buildroot/src/src_buildroot/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/9.3.0/include/arm_neon.h:16925:1: error: inlining failed in call to always_inline ‘uint8x16_t vaesmcq_u8(uint8x16_t)’: target specific option mismatch 16925 | vaesmcq_u8 (uint8x16_t __data)       | ^~~~~~~~~~ internal/randen_hwaes.cc:251:20: note: called from here   251 |   return vaesmcq_u8(vaeseq_u8(state, uint8x16_t{})) ^ round_key;       |          ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from internal/randen_hwaes.cc:225: /home/marcel/Desktop/atc_buildroot/src/src_buildroot/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/9.3.0/include/arm_neon.h:16911:1: error: inlining failed in call to always_inline ‘uint8x16_t vaeseq_u8(uint8x16_t, uint8x16_t)’: target specific option mismatch 16911 | vaeseq_u8 (uint8x16_t __data, uint8x16_t __key)       | ^~~~~~~~~ internal/randen_hwaes.cc:251:20: note: called from here   251 |   return vaesmcq_u8(vaeseq_u8(state, uint8x16_t{})) ^ round_key;       |          ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: *** [absl/random/CMakeFiles/random_internal_randen_hwaes_impl.dir/build.make:82: absl/random/CMakeFiles/random_internal_randen_hwaes_impl.dir/internal/randen_hwaes.cc.o] Error 1
Have the same problems, building with buildroot for ARM / RPI3b

Is there any work around for this?

I see the same issue building for 32-bit ARM on an AArch64 platform (also using Buildroot).
Note that Buildroot does not use the Bazel backend, but cmake. In the cmake files I do see that the ABSL_RANDOM_HWAES_ARM64_FLAGS / ABSL_RANDOM_HWAES_ARM32_FLAGS are respected. Yet the problem remains.
 I tried removing either one and both, but this made no difference.
But when I change the parameter to -mfpu=crypto-neon-fp-armv8, then the error disappears.

We're still looking in to this, though haven't prioritized it. PRs certainly welcome, as this is not a place we have significant expertise, though we are investigating solutions.

With CMake compilation is working:
./example/hello_world.cc
#include <iostream>
#include <string>
#include <vector>

#include "absl/strings/str_join.h"
#include "absl/random/random.h"

int main() {
  std::vector<std::string> v = {"foo", "bar", "baz"};
  std::string s = absl::StrJoin(v, "-");

  absl::BitGen bitgen;

  std::cout << "Joined string: " << s << "\n";
  std::cout << "Number: " << absl::Uniform(bitgen, 0, 1.0) << "\n";

  return 0;
}

ubuntu@NVIDIA-01:~/Projects/TestProject/build$ cmake ..
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ubuntu/Projects/TestProject/build

ubuntu@NVIDIA-01:~/Projects/TestProject/build$ cmake --build . --target hello_world
[  3%] Built target absl_log_severity
[  6%] Built target absl_raw_logging_internal
[  9%] Built target absl_bad_optional_access
[ 12%] Built target absl_spinlock_wait
[ 21%] Built target absl_base
[ 27%] Built target absl_throw_delegate
[ 30%] Built target absl_int128
[ 33%] Built target absl_random_internal_platform
[ 36%] Built target absl_random_internal_randen_hwaes_impl
[ 39%] Built target absl_random_internal_randen_hwaes
[ 45%] Built target absl_random_internal_randen_slow
[ 48%] Built target absl_random_internal_randen
[ 51%] Built target absl_random_seed_gen_exception
[ 57%] Built target absl_strings_internal
[ 81%] Built target absl_strings
[ 84%] Built target absl_random_distributions
[ 87%] Built target absl_random_internal_seed_material
[ 90%] Built target absl_random_internal_pool_urbg
[ 93%] Built target absl_random_seed_sequences
[100%] Built target hello_world

./CMakeLists.txt
cmake_minimum_required(VERSION 3.5)

project(my_project)

# Abseil requires C++11
set(CMAKE_CXX_STANDARD 11)

# Process Abseil's CMake build system
add_subdirectory(abseil-cpp)

add_executable(hello_world hello_world.cc)

# Declare dependency on the absl::strings library
target_link_libraries(hello_world absl::strings)
target_link_libraries(hello_world absl::random_random)

I have the issue only with Bazel:
./example/BUILD
cc_binary(
  name = "hello_world",
  deps = ["@com_google_absl//absl/strings", "@com_google_absl//absl/random"],
  srcs = ["hello_world.cc"],
)

./WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
  name = "com_google_absl",
  urls = ["https://github.com/abseil/abseil-cpp/archive/98eb410c93ad059f9bba1bf43f5bb916fc92a5ea.zip"],
  strip_prefix = "abseil-cpp-98eb410c93ad059f9bba1bf43f5bb916fc92a5ea",
)

ERROR
ubuntu@NVIDIA-01:~/Projects/my_workspace$ bazel build //example:hello_world
DEBUG: Rule 'com_google_absl' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "aabf6c57e3834f8dc3873a927f37eaf69975d4b28117fc7427dfb1c661542a87"
DEBUG: Repository com_google_absl instantiated at:
  /home/ubuntu/Projects/my_workspace/WORKSPACE:3:13: in <toplevel>
Repository rule http_archive defined at:
  /home/ubuntu/.cache/bazel/_bazel_ubuntu/b8008d82eb65899d4e39675de40d6cec/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: Analyzed target //example:hello_world (7 packages loaded, 98 targets configured).
INFO: Found 1 target...
ERROR: /home/ubuntu/.cache/bazel/_bazel_ubuntu/b8008d82eb65899d4e39675de40d6cec/external/com_google_absl/absl/random/internal/BUILD.bazel:331:11: C++ compilation of rule '@com_google_absl//absl/random/internal:randen_hwaes_impl' failed (Exit 1): gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++0x' -MD -MF ... (remaining 31 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++0x' -MD -MF ... (remaining 31 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from external/com_google_absl/absl/random/internal/randen_hwaes.cc:225:0:
/usr/lib/gcc/aarch64-linux-gnu/7/include/arm_neon.h: In function 'Vector128 {anonymous}::AesRound(const Vector128&, const Vector128&)':
/usr/lib/gcc/aarch64-linux-gnu/7/include/arm_neon.h:12440:1: error: inlining failed in call to always_inline 'uint8x16_t vaesmcq_u8(uint8x16_t)': target specific option mismatch
 vaesmcq_u8 (uint8x16_t data)
 ^~~~~~~~~~
external/com_google_absl/absl/random/internal/randen_hwaes.cc:251:20: note: called from here
   return vaesmcq_u8(vaeseq_u8(state, uint8x16_t{})) ^ round_key;
          ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from external/com_google_absl/absl/random/internal/randen_hwaes.cc:225:0:
/usr/lib/gcc/aarch64-linux-gnu/7/include/arm_neon.h:12426:1: error: inlining failed in call to always_inline 'uint8x16_t vaeseq_u8(uint8x16_t, uint8x16_t)': target specific option mismatch
 vaeseq_u8 (uint8x16_t data, uint8x16_t key)
 ^~~~~~~~~
external/com_google_absl/absl/random/internal/randen_hwaes.cc:251:20: note: called from here
   return vaesmcq_u8(vaeseq_u8(state, uint8x16_t{})) ^ round_key;
          ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At global scope:
cc1plus: warning: unrecognized command line option '-Wno-pass-failed'
Target //example:hello_world failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 8.358s, Critical Path: 2.18s
INFO: 14 processes: 3 internal, 11 linux-sandbox.
FAILED: Build did NOT complete successfully

How can I redefine BUILD or WORKSPACE to make building successful? What is the difference between Bazel and CMake?
Thanks.

This should be fixed by 2e94e5b6e152df9fa9c2fe8c1b96e1393973d32c.


One weird trick to reduce /sse traffic by >90%

This removes job conf and counters data from the SSE job streams, and updates dependencies to make async server requests rather than use the in-memory jobs data. There will likely add some rendering latency to job/ endpoints but i feel is overall a big win for performance.
It's currently deployed to edge, feel free to test thoroughly (since there are no automated tests 😿 ), and flag any errors (even just console ones).
This also ports over a few changes from the multicluster branch such as the (gentle) introduction of prop-types, an upgrade to the node engine (which is only used to build the app, but was two major versions behind), and a few eslint fixes.
r? @stripe/data-platform

Re-assigning 😅 r? @stripe/data-platform

r? @abull-stripe


Side By Side not toggling

I updated to the new OSVR software as of 8/18/2016. I like how it is simple now but I have encountered a bug. I cannot seem to toggle side by side, it is stuck in that mode. Anything I try does not work,

You can toggle SBS mode with OSVR Control or the OSVR CPI which comes with this installer.


top bar and search bar fixes

I still don't know what's wrong with the search bar so made only workaround


Not able to see the sub-total in the pivot table.

When I create a data frame with the response and prediction columns:
data = {'id':[1,2,3,4,5,6,7,8,9],
        'response':[0,1,1,0,1,0,1,0,1],
       'prediction': [0,0,1,1,1,0,1,1,0]}

# Create DataFrame
df = pd.DataFrame(data)

df['response'] = df['response'].astype(int)
df['prediction'] = df['prediction'].astype(int)

Creating a store:
customer_store = session.read_pandas(
    df,
    store_name="customer_store",
)
customer_store.head()

Then I define a measure called true positive
m["true positive"] = tt.agg.sum(
    tt.filter(
        tt.where(l["response"] == 1, 1, 0), l["prediction"] == 1
    ),
    scope=tt.scope.origin(l["id"]),
)

Trying to visualize it in a pivot table I could not see the total for the breakup of rows and columns:

I am trying to use m["true positive"] in a formula further and need to see if the value correctly calculated or not.

Hi Raghav, you can use:
m["true positive"] = tt.agg.sum(
    tt.where((l["response"] == 1) & (l["prediction"] == 1), 1, 0),
    scope=tt.scope.origin(l["id"], l["response"], l["prediction"])
)

to get the totals right.

Thanks for your message, I used the code as suggested above.
But I am still not able to see the total in the pivot table.

Also, my end goal is to be able to use this value (3) in defining another measure later:
# m["precision"] = m["true positive"] / (m["true positive"] + m["false positive"])

This will be addressed in the next release.

This will be addressed in the next release.


Attempted fix at using non-public key in SearchWithComputedKeyFamily

How to repro:

Make a fresh user
Create PGP key using gpg --gen-key.
Select key using keybase pgp select --only-import
keybase pgp sign -c -m "hello" will fail with error "No secret key available".

I traced the problem to SearchWithComputedKeyFamily code. It iterates through SKBKeyrinfFile.Blocks, and sees if Block.GetPubKey() is currently active in ComputedKeyFamily. But my understanding is that if we use pgp select --only-import, the key will not end up in CKF.
Therefore, active := ckf.GetKeyRole(kid) fails:
func (ckf ComputedKeyFamily) getCkiIfActiveAtTime(kid keybase1.KID, t time.Time) (ret *ComputedKeyInfo, err error) {
	unixTime := t.Unix()
	if ki := ckf.cki.Infos[kid]; ki == nil {
		err = NoKeyError{fmt.Sprintf("The key '%s' wasn't found", kid)} //  <--- here

But I also looked at git history and there haven't been any changes lately around this code path. Could it mean that it has been broken for a long time? Or is there more context that I'm missing?
pinging @maxtaco and @patrickxb , thanks!

I think the original intent of only-import is if you had pgp selected a public key from machine A, and then from machine B, wanted to select it into your local keybase keychain.  So I think the current behavior is correct.

thanks!


Bp update

What type of PR is this?
(bug/feature/cleanup/documentation/test/refactor)
boilerplate
What this PR does / why we need it?
What?
make boilerplate-update
make e2e-harness-generate
Why?
For better e2e-saas pipeline artifact persisting
Which Jira/Github issue(s) this PR fixes?
Fixes #
Special notes for your reviewer:
Pre-checks (if applicable):

[ ] Tested latest changes against a cluster
[ ] Ran make generate command locally to validate code changes
[ ] Included documentation changes with PR

/label tide/merge-method-squash
/lgtm


Explanation of the InputTransform

❓ Questions and Help
Is there an explanation of the InputTransform and how to use it anywhere?
I see that there are some basic examples under the documentation of some of the tasks. However, what I am missing is:

An explanation of what the *_on_device() functions refer to in contrast to the standard functions
How the various functions are combined? Many available functions overlap such as per_sample_transform(), input_per_sample_transform() and train_input_per_sample_transform(). Is simply the more specific function used or will the per_sample_transform()  always be applied first before applying the more specific functions?

Hey @bartonp2,
Thanks for asking about the InputTransform. We just refactored Flash and the documentation will be updated in January.
Find the example here

https://github.com/PyTorchLightning/lightning-flash/blob/master/flash_examples/flash_components/custom_data_loading.py

https://github.com/PyTorchLightning/lightning-flash/blob/master/flash_examples/flash_components/custom_data_loading.py

By default, the data in Flash are dictionarry. By using input_*, this would apply your function on the input key. And *_on_device is applied when the data are already on the gpus, tpu, etc...


spl: Feature gate modules and only enable token, mint, and associated token by default

closes #908

I took the liberty of feature gating all modules and enabling only token, atoken, and mint by default

I wonder why travis isn't running. :thinking:

I expect travis to fail since the feature flag isn't added to tests. We'll need a subsequent PR.


lake: flag to silence lake_lock warning

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Checked that your issue isn't already filed.
Reduced the issue to a self-contained, reproducible test case.

Description
I want to call lake exe ... from parallel, to run many jobs in parallel. This results in many
warning: waiting for prior `lake build` invocation to finish... (remove './build/lake.lock' if stuck)

as the tasks wait for each other (no actual building is taking place).
I'd like to be able to disable just the printing of this message, and it seems lake --quiet does not.

Could these be silenced by --quiet, or alternatively provide another mechanism?

Versions
You can get this information from copy and pasting the output of lean --version,
please include the OS and what version of the OS you're running.
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.

no actual building is taking place

Ideally we shouldn't even lock the build directory then. But also, you should probably call the binary in build/ directly in such a use case as otherwise you pay for lakefile elaboration in every single invocation.

@semorrison, Sebastian is correct, if you are sure you are not building lake exe is not advisable as it introduces significant overhead (configuration elaboration, dependency hashing, and locking) for no reason.

I will close shortly. @tydeu, do you think there's anything to track separately here about not acquiring a lock until later, to avoid locking in cases where no build files are actually being modified?

@semorrison I think the feature request of this issue is fine and implementable (--quiet hiding the warning), so I would leave it open. Our point was that your use case should hopefully not care one way or the other.
As to your question, given the way the Lake build system works, there is not a clean way to determine if something is to be built by a run, so I think the lock is a fine grain as it can be with the current setup.

@tydeu, this is obsolete now, right?

@semorrison I believe so, yes. I don't think we will be returning to the lock file anytime soon and if we do, it will probably undergo an overhaul, so it is unlikely that this issue will apply in the same way.


LazyLinePainter - Implement multiple pathObj(s), containing sequential and non-sequential paths, with delays on individual paths

The question for LazyLinePainter (LLP) is 3-fold - each of which ties in with the other and I believe a clear answer will help all those looking to animate complex SVGs.

#1 How to get LLP to sequentially execute multiple pathObj(s), back-to-back?
#2 How ~within each pathObj~ to get LLP to sequentially execute a path, then simultaneously execute multiple paths, followed by another sequential path?
#3 Lastly, how to apply "delay" to individual paths contained inside of a pathObj

#The SVG logo in question that I've created can be seen at codepen.
When I drop the logo into LLP - it animates it just fine- in the initial sequential order. Yet my problem is that I need certain groups of element paths to animate together and I need others to animate sequentially.
I've tried placing all of the pathObj(s) paths within one pathObj - but to no avail. I've also tried using the 'onComplete' on a path and on the pathObj - neither of which seemed to work. Short of breaking out my SVG into dozens of independent DIVs and then ** manually calculating the delay on each and every DIV ** - I don't know how to make this work...
Essentially - it is unclear to me the best methodology to use to animate some paths together, other others sequentially, string together multiple pathObj(s), and apply delays to individual paths within a pathObj.

On either var pathObj1 completion or f path completion  - I'd like to trigger var pathObj2 to begin animating the paths therein.
"var pathObj2" completion triggers "var pathObj3" , etc. etc.
Like below:
var pathObj1 = {
    "LogoGroup1": {
        "strokepath": [
          {
                "path": "a path",
                        'duration': 300,
                     'strokeWidth': 1,
                **'drawSequential': true**
          },
          {
                "path": "b path",
                        'duration': 300,
                     'strokeWidth': 1,
                **'drawSequential': false**
          },
          {
                "path": "c path",
                        'duration': 300,
                     'strokeWidth': 18,
                **'drawSequential': false**
          },
          {
                "path": "d path",
                        'duration': 300,
                     'strokeWidth': 18,
                **'drawSequential': false**
          },
          {
                "path": "e path",
                        'duration': 300,
                     'strokeWidth': 1,
                **'drawSequential': false**
          },
          {
                "path": "f path",
                        'duration': 300,
                     'strokeWidth': 1,
                **'drawSequential': true**
                   ** 'onComplete': *pathObj2* **
          }
          ],
        "dimensions": {
            "width": 1024,
            "height": 779
        }
    }
};

var pathObj2 = {
   "LogoGroup2": {
      "strokepath": [
          {
                "path": "a path",
                        'duration': 300,
                     'strokeWidth': 4,
                **'drawSequential': true**
          },
          {
                "path": "b path",
                        'duration': 300,
                     'strokeWidth': 1,
                **'drawSequential': true**
          }
          ],
        "dimensions": {
            "width": 1024,
            "height": 779
        }
    }
};

var pathObj3 = {
  "LogoGroup3": {
     "strokepath": [
          {
                "path": "a path",
                        'duration': 300,
                     'strokeWidth': 1,
                **'drawSequential': false**
                         **'delay': 25ms**
          },
          {
                "path": "b path",
                        'duration': 300,
                     'strokeWidth': 1,
                **'drawSequential': false**
                         **'delay': 50ms**
          },
          {
                "path": "c path",
                        'duration': 300,
                     'strokeWidth': 1,
                **'drawSequential': false**
                         **'delay': 75ms**
          },
          {
                "path": "d path",
                        'duration': 300,
                     'strokeWidth': 1,
                **'drawSequential': false**
                         **'delay': 100ms**
          },
          {
                "path": "e path",
                        'duration': 300,
                     'strokeWidth': 1,
                **'drawSequential': false**
                         **'delay': 125ms**
          },
          {
                "path": "f path",
                        'duration': 300,
                     'strokeWidth': 1,
                **'drawSequential': false**
                         **'delay': 150ms**
          }
          ],
        "dimensions": {
            "width": 1024,
            "height": 779
        }
    }
};

$(document).ready(function(){
     $('#Logo_Group1').lazylinepainter(
     {
            'svgData': pathObjLG1,
         'onComplete': pathObjLG2

     }).lazylinepainter('paint');

     $('#Logo_Group2').lazylinepainter(
     {
            'svgData': pathObjLG2,
         'onComplete': pathObjLG3

     }).lazylinepainter('paint');

     $('#Logo_Group3').lazylinepainter(
     {
            'svgData': pathObjLG3,
         'onComplete': pathObjLG4

     }).lazylinepainter('paint');
});

Any Help is much appreciated. :)

Through trial and error and several hours of troubleshooting I solved this on my own. It should serve as an excellent example of a very complex animation for LLP which contains around 50 svgData sets, with each set containing between 1 & 7 , some drawn sequentially, others drawn simultaneously.... I'm linking to it in hopes that my example may help someone else you wants to use this plugin for complex animations.
Actual client site - http://diverseconstruction.com
Codepen so you can dig in to the code - http://codepen.io/ibb/pen/b9f9aa77c49228add7119782692cd4da?editors=011


Allow creating tables without primary keys

Thank you for this wonderful program! Looking forward to the day I trust using it at work :)
I am not sure if requiring primary keys is intentional, but relaxing this requirement seems to work.

Hi! It actually is intentional although the reason why is not documented (which it should be). I designed it like this because Reshape requires a primary key to make changes to a table. The automatic batched backfill it performs uses the primary key to keep track of which rows to update.
I appreciate you taking the time to create a PR but I think I want to keep it required to avoid any surprises for users when they try to change the table later. Thanks! :)

And thank you for the kind words! Let me know if you find any issues with Reshape, I'm eager to get it ready for production usage!

Don't worry about it, it's not documented yet! :)


[Feature] Use DTO instead of entity and add validator to validate request params.

Search before asking

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

Description
Like org.apache.streampark.console.core.controller.ApplicationController#cancel from controller method , developer can not know what params pass from front end and param validation is missing(cann`t understand which param should not be null).

But we change Application to ApplicationCancelDTO  and add validation. It will be very clear for develpoer and can block bad request with invalidate params.

Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

@wolfboys Pls cc. Link to https://github.com/apache/incubator-streampark/issues/2565 .

@wolfboys Pls cc. Link to #2565 .

Great, I think it is very necessary to add dto


Scanner failing to download dependencies with Analyzer Ort Results file?

Hi I was trying to run Scanner using the Ort Results file generated from Analyzer. I'm using the Mime types git repo from the Getting Started Docs and I'm running ORT on IntelliJ
Here are the arguments I'm using:
--info scan -i /path/to/mime/analyzer-result.yml -o /path/to/scanner/output/scanner
After a while the Scanner just hangs. It seems like it would stay that way forever. It seems like there's a problem downloading some dependencies?
Here's the last few lines of the log:

11:02:12.870 [main] INFO  kotlinx.coroutines.CoroutineScope - Using stored scan result(s) for NPM::mime-db:1.33.0 (120/209).

11:02:12.928 [ScanCode-1] INFO  com.here.ort.downloader.Downloader - Detected VCS type 'Git' from type name 'Git'.
11:02:12.931 [ScanCode-1] INFO  com.here.ort.utils.ProcessCapture - Running 'git --version' in ...
11:02:12.932 [ScanCode-1] INFO  com.here.ort.downloader.VersionControlSystem - Using Git version 2.17.1.
11:02:12.933 [ScanCode-1] INFO  com.here.ort.utils.ProcessCapture - Running 'git init' in...
11:02:12.941 [ScanCode-1] INFO  com.here.ort.utils.ProcessCapture - Running 'git remote add origin<EMAIL_ADDRESS>in ...
11:02:12.943 [ScanCode-1] INFO  com.here.ort.utils.ProcessCapture - Running 'git --version' in ...
11:02:12.948 [ScanCode-1] INFO  com.here.ort.utils.ProcessCapture - Running 'git status -sb --porcelain=v2' in...
11:02:12.951 [ScanCode-1] INFO  com.here.ort.utils.ProcessCapture - Running 'git remote show -n' in ...
11:02:12.953 [ScanCode-1] INFO  com.here.ort.utils.ProcessCapture - Running 'git -c credential.helper= -c core.askpass=echo ls-remote --refs origin refs/heads/*' in ...

After I force terminate the process, I get these additional log lines:

11:16:01.440 [ScanCode-1] INFO  com.here.ort.downloader.VersionControlSystem - Meta-data has invalid Git revision 'c386cd9dbb1d8d7581718c54d4ba944cc9298d6f': IOException: Running 'git -c credential.helper= -c core.askpass=echo ls-remote --refs origin refs/heads/*' in ...  failed with exit code 130:
11:16:01.448 [ScanCode-1] INFO  com.here.ort.utils.ProcessCapture - Running 'git status -sb --porcelain=v2' in '...
Process finished with exit code 130 (interrupted by signal 2: SIGINT)

If anyone could give some insight as to what could be causing this it would be much appreciated.
Thanks.

The fact that I see the Git CLI being called (git ls-remote) tells me you're using a version that's several weeks old. Would you mind trying with the latest version from master?

I tried it again with the latest version and I don't have the problem anymore. Thanks for the help!


Resolve Inquiry TODO

The TODO can be resolved because it is guaranteed that LUN 0 always exists (rascsi does not permit gaps between LUNs).

Closed because it was created against the wrong branch.


Create Selenium Code generator

For people who want to write tests in Java as much as possible.

meh


Add images to README

It feels like the readme will get much better if there would be some images/examples.
As someone who just found this I wanna quckly see first if I want this thing to change my readme

Hi @0dminnimda.
Sorry, I didn't get you. You mean the final result of how the readme be like, that image

If I understand correctly this repo helps to add a "Contributirs" section to the readme
I want to see how it'll look

Yah. Basically its a Github Action. And all you need do is add a config file to your repo and that's the instruction in readme.
Let me know what got you confused. I'll work on that definitely. If your new to Github actions would recommend to go through below references.
Ref:
https://github.com/features/actions
https://docs.github.com/en/actions

I'm not confudes by actions.
I can't find depiction of the end result actions will have on the hypothetical readme
You want to sell with images, you know ;)

For exmaple you can immediately see how all-contributors will look with their contributers in thir readme
You don't have to use your contributors and don't have to add it in markdown. But there needs to be an example

Ahhh. Ok got it. Will update the readme

Hey @0dminnimda , I have updated readme with an image on final result.
Thank you for your feedback, much appreciated. Feel free to raise an issue if you come across any trouble

Yeah, that's better 👍


Don't Merge! Regression PR perf testing with metadata validation

Docs Build status updates of commit 7abf954:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

developer/TestingPullRequest.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


updateInlineDecorations when model content changes

updateInlineDecorations when model content changes
Fixes #43199: Debugger inline values jumps to second line when hit enter

@isidorn want to take a look at this smol PR ?

@nojvek thanks a lot for your PR!
I tried it out and it nicely fixes the issue. However what I do not like about this approach is that if the user is typing you can potentially update all the decorations in the editor for each keystroke - which can be expensive.
So I suggest to do this using the debounce pattern - only once the user has stopped typing to update the decoarionts. IMHO this can be achieved easily with a scheduler using a 200ms timeout.

Actual updating of the inline Decorations is already done on a scheduler right?

@nojvek no, they are only removed with a scheduler. Not refreshed, if I understand the code correclty.

You are right.
Fixed it to use a scheduler now.

@nojvek thanks for the PR, merging it in, will polish it just a bit on top.


Improve article 2109.07151

Link:
https://ar5iv.org/html/2109.07151
Problem details
A clear and concise description of what the bug is.

Malformed math modes do not present well
Latex diagram preform badly
No spacing between words

Desktop (please complete the following information)

OS:  Windows
Browser: chrome

Cross-referencing with issue latexml#1762 which causes the majority of the problems here.


Unable to import carbon-components in a standalone angular component

##Unable to Import carbon components in angular 16
Detailed description

Describe in detail the issue you're having.
I am using angular 16 for my current project, also i was using the latest standalone feature of angular. When I am trying to import TableModule inside my Angular Standalone component I get the error Component imports must be standalone components, directives, pipes, or must be NgModules.

And when i try to import this inside an NgModule it gives me below error
'TableModule' does not appear to be an NgModule class.(-996002)
table.module.d.ts(29, 3): This likely means that the library (carbon-components-angular) which declares TableModule is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

Is this a feature request (new component, new icon), a bug, or a general issue?
I am not sure whethere its a bug or not

Is this issue related to a specific component?
No

What did you expect to happen? What happened instead? What would you like to see changed?
Could you please let me know how can I import carbon-components in a standalone component ?

What browser are you working in?
Chrome

What version of the Carbon Design System are you using?
"carbon-components": "^10.58.3",
"carbon-components-angular": "^4.73.3",

Additional information

Screenshots or code

@Akshat55 @zvonimirfras @cal-smith @magedhennawy
Can anyone of you please look into this and help us with the issue ASAP ?


sending meta data for bucket options

Hi,
Thanks for the contribution. It seems original package's author has become active again.
Can you please create PR to https://github.comkolorahl/waffle_gcs?


Ch2 TFP bug fix: use function argument rather than global variable

Fixes a typo in the joint log probability function that causes a global variable to be referenced rather than the intended function argument.

Nice catch, lgtm!


Bad substitution error on yaml template expansion

Have you tried trouble shooting?
yes
Agent Version and Platform
2.134.2, CentOS 7
VSTS Type and Version
VisualStudio.com
What's not working?
I have a yaml definition
trigger: none

phases:
  - phase: Test
    queue:
      name: ResSimTesting
      demands:
        - Agent.OS -equals Linux

    steps:
    - template: ../bugs/bad-substitution-template.vsts-ci.yaml
      parameters:
        param: some

referencing this template
parameters:
  param: default

steps:
- task: Bash@3
  displayName: bash expansion
  inputs:
    targetType: 'inline'
    script: |
      echo ${{ parameters.param }}

erroring with bad substitution of the variable
2018-06-27T07:37:36.2539801Z ##[debug]Evaluating condition for step: 'bash expansion'
2018-06-27T07:37:36.2560862Z ##[debug]Evaluating: succeeded()
2018-06-27T07:37:36.2580270Z ##[debug]Evaluating succeeded:
2018-06-27T07:37:36.2603629Z ##[debug]=> True
2018-06-27T07:37:36.2622652Z ##[debug]Result: True
2018-06-27T07:37:36.2636868Z ##[section]Starting: bash expansion
2018-06-27T07:37:36.2841313Z ==============================================================================
2018-06-27T07:37:36.2851100Z Task         : Bash
2018-06-27T07:37:36.2860544Z Description  : Run a Bash script on macOS, Linux, or Windows
2018-06-27T07:37:36.2869997Z Version      : 3.136.0
2018-06-27T07:37:36.2879457Z Author       : Microsoft Corporation
2018-06-27T07:37:36.2888936Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkID=613738)
2018-06-27T07:37:36.2898625Z ==============================================================================
2018-06-27T07:37:36.5117712Z ##[debug]agent.workFolder=/datadrive/vsts/work
2018-06-27T07:37:36.5168284Z ##[debug]loading inputs and endpoints
2018-06-27T07:37:36.5183651Z ##[debug]loading INPUT_TARGETTYPE
2018-06-27T07:37:36.5198215Z ##[debug]loading INPUT_FILEPATH
2018-06-27T07:37:36.5213384Z ##[debug]loading INPUT_SCRIPT
2018-06-27T07:37:36.5228169Z ##[debug]loading INPUT_WORKINGDIRECTORY
2018-06-27T07:37:36.5243367Z ##[debug]loading INPUT_FAILONSTDERR
2018-06-27T07:37:36.5257878Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2018-06-27T07:37:36.5274726Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2018-06-27T07:37:36.5289755Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2018-06-27T07:37:36.5305238Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2018-06-27T07:37:36.5320108Z ##[debug]loaded 9
2018-06-27T07:37:36.5335927Z ##[debug]check path : /datadrive/vsts/work/_tasks/Bash_6c731c3c-3c68-459a-a5c9-bde6e6595b5b/3.136.0/task.json
2018-06-27T07:37:36.5351237Z ##[debug]set resource file to: /datadrive/vsts/work/_tasks/Bash_6c731c3c-3c68-459a-a5c9-bde6e6595b5b/3.136.0/task.json
2018-06-27T07:37:36.5366800Z ##[debug]system.culture=en-US
2018-06-27T07:37:36.5381024Z ##[debug]failOnStderr=false
2018-06-27T07:37:36.5396315Z ##[debug]workingDirectory=/datadrive/vsts/work/9/s
2018-06-27T07:37:36.5410647Z ##[debug]check path : /datadrive/vsts/work/9/s
2018-06-27T07:37:36.5425896Z ##[debug]targetType=inline
2018-06-27T07:37:36.5440517Z ##[debug]script=echo ${{ parameters.param }}
2018-06-27T07:37:36.5450494Z Generating script.
2018-06-27T07:37:36.5465758Z ##[debug]which 'bash'
2018-06-27T07:37:36.5480177Z ##[debug]found: '/usr/bin/bash'
2018-06-27T07:37:36.5495347Z ##[debug]which 'bash'
2018-06-27T07:37:36.5509896Z ##[debug]found: '/usr/bin/bash'
2018-06-27T07:37:36.5519629Z Script contents:
2018-06-27T07:37:36.5529287Z echo ${{ parameters.param }}
2018-06-27T07:37:36.5543828Z ##[debug]Agent.Version=2.134.2
2018-06-27T07:37:36.5558306Z ##[debug]agent.tempDirectory=/datadrive/vsts/work/_temp
2018-06-27T07:37:36.5573374Z ##[debug]check path : /datadrive/vsts/work/_temp
2018-06-27T07:37:36.5588119Z ##[debug]which '/usr/bin/bash'
2018-06-27T07:37:36.5603981Z ##[debug]found: '/usr/bin/bash'
2018-06-27T07:37:36.5618262Z ##[debug]which '/usr/bin/bash'
2018-06-27T07:37:36.5633065Z ##[debug]found: '/usr/bin/bash'
2018-06-27T07:37:36.5648370Z ##[debug]/usr/bin/bash arg: --noprofile
2018-06-27T07:37:36.5663547Z ##[debug]/usr/bin/bash arg: --norc
2018-06-27T07:37:36.5678099Z ##[debug]/usr/bin/bash arg: /datadrive/vsts/work/_temp/fe6001d3-f712-443b-a7e2-c3de090b1129.sh
2018-06-27T07:37:36.5693021Z ##[debug]exec tool: /usr/bin/bash
2018-06-27T07:37:36.5707569Z ##[debug]arguments:
2018-06-27T07:37:36.5722388Z ##[debug]   --noprofile
2018-06-27T07:37:36.5737138Z ##[debug]   --norc
2018-06-27T07:37:36.5752031Z ##[debug]   /datadrive/vsts/work/_temp/fe6001d3-f712-443b-a7e2-c3de090b1129.sh
2018-06-27T07:37:36.5762285Z [command]/usr/bin/bash --noprofile --norc /datadrive/vsts/work/_temp/fe6001d3-f712-443b-a7e2-c3de090b1129.sh
2018-06-27T07:37:36.5772519Z /datadrive/vsts/work/_temp/fe6001d3-f712-443b-a7e2-c3de090b1129.sh: line 1: ${{ parameters.param }}: bad substitution
2018-06-27T07:37:36.5787451Z ##[debug]rc:1
2018-06-27T07:37:36.5802193Z ##[debug]success:true
2018-06-27T07:37:36.5816731Z ##[debug]task result: Failed
2018-06-27T07:37:36.5885411Z ##[error]Bash exited with code '1'.
2018-06-27T07:37:36.5908420Z ##[debug]Processed: ##vso[task.issue type=error;]Bash exited with code '1'.
2018-06-27T07:37:36.5939889Z ##[debug]Processed: ##vso[task.complete result=Failed;]Bash exited with code '1'.
2018-06-27T07:37:36.5963622Z ##[section]Finishing: bash expansion

Did I miss anything?

@ericsciple looks like template parameters is not get expanded?

try this:
parameters:
  param: default

steps:
- task: Bash@3
  displayName: bash expansion
  inputs:
    targetType: 'inline'
    script: |
      ${{ format('echo {0}', parameters.param) }}

or this:
parameters:
  param: default

steps:
- task: Bash@3
  displayName: bash expansion
  inputs:
    targetType: 'inline'
    script: |
      echo $param
  environment:
    param: ${{ parameters.param }}

the first example may not work yet, depending on which scale unit your account is located in.
currently the template expressions must be the whole value.

#2 did the trick, it just needs to say env instead of environment
Thanks - as always any updates on this in the sprint blog are much appreciated

@ericsciple ok, am i being thick again or this doesnt work? how is this supposed to work?
parameters:
  appFolder: ''
  appName: ''
...
  - task: DotNetCoreCLI@2
    displayName: dotnet publish
    inputs:
      command: publish
      projects: src/${{ parameters.appFolder }}/${{ parameters.appName }}/${{ parameters.appName }}.csproj
      arguments: "-c release -o output"

@4c74356b41
projects: ${{ parameters.oneparameter }}

what is that supposed to mean? @TingluoHuang

the right side of projects: needs to be one parameter instead of a combination of multiple parameter.

ok, this makes no sense, how am I supposed to reuse parameters when i cant combine them? @TingluoHuang

am i supposed to do this in every case when i need to build a string?

@ericsciple for idea.

@4c74356b41 currently you will need to use the format function everywhere you need to string concat. We want to enable using template expressions within strings, without requiring the format function, but it's feature work and it just hasn't been the next priority yet. I do think it would be a nice improvement.
The format function is new. I think it has rolled out to every scale unit now.
The docs are behind. I have been working through restructuring the docs based on common friction customers are having. Template docs are next on my list.

ok, it appears the format function did the trick + it didnt mangle the $(varName) thing and that worked. at least we got that going.
@ericsciple I understand this is a preview feature, but man, when you try something thats supposed to work and it doesn't. Thats reaaaally frustrating (especially when you put 20 hours into that). Maybe I'm not good enough with VSTS.
I really suggest you mention this use exactly one parameter of format() function thing somewhere in the docs. :)

Did not intend to link to a commit, but to follow up for anyone else who are working with YAML and VSTS, here is the proper way of combining parameters in YAML with variables in VSTS:
archiveFile: ${{ format('$(Build.ArtifactStagingDirectory)/$(App.BuildNumber)-{0}-{1}-{2}.zip', parameters.configuration, parameters.platform, parameters.arch) }}

So basically just leave the VSTS variables as a result of the string, and run the format method and supply the parameters with YAML variables/parameters that you have available.


How to build pex file with requirements.txt ?

Hello Team,
I am building my project using pex but getting memory error due to the large size of requirements.txt file.
Increased the memory but still getting below error -
No main module found. This is likely due to the zip requiring ZIP64 extensions due to size or the number of file entries or both. You can work around this limitation in Python's zipimport module by re-building the PEX with --layout packed or --layout loose.
Tried --layout=packed and --layout=loose but still unable to run the pex build file.
Searched for the solution but unable to get any proper solution for this issue.
Please guide me to resolve it.
Thanks

One thing to note @eci-aashish is that an issue filed without a concrete example is always a bad footing to start from. If you can provide full examples that allow re-producing the issue, that is best.

I am building my project using pex but getting memory error due to the large size of requirements.txt file.

It's not a memory error. Its an error because the zip requires Zip64 extensions and the Python zipimporter does not support 64 bit zips (that's what the error message tries to convey).

Tried --layout=packed and --layout=loose but still unable to run the pex build file.

There are many distributions that do not work properly with complicated sys.path setups; so you should try --venv which will cause the PEX to turn into a venv at runtime with a ~single sys.path site-packages entry that those distributions expect.
There are other distributions that do not tolerate the tricks Pex uses when laying out a venv to save space on your machine (it uses symlinks by default); so you want to use --venv-site-packages-copies.
All together, that means --layout packed --venv --venv-site-packages-copies.

@eci-aashish I've labelled this as a question. If my suggestion works for you, please let me know and I'll close the question as answered.

@eci-aashish I gave you the options you were likely missing in your pex command line (--layout packed --venv --venv-site-packages-copies). I'm going to assume the silence means your question is answered and close. Speak up if not.


dsPlot sec axis label auto switch

prob: after 10 sec, hard to read large exponential scientific notation axis vals
soln: new auto selecting flag for time conversion to seconds when >= 10 sec sim

remaining bug with raster plots. fixed now.


Add Linux/arm64 support

Allow playwright-java to use existing support in https://github.com/microsoft/playwright for Linux on arm64, available since version 1.17.
Since playwright itself only supports Linux/arm64 on Ubuntu today, so must playwright-java until support for other distros is added.
All tests currently pass on this distribution and architecture.
References: #836

Since playwright itself only supports Linux/arm64 on Ubuntu today, so must playwright-java until support for other distros is added.

We actually run on macOS arm too (m1), would be nice to add it too (we could do it in a separate PR).


Display different fields on BSDT Rows based on Service selection

Critical Changes
Changes

Fields display will change when the Service selected has a Service Delivery field set that is not the default.

Issues Closed
New Metadata
Deleted Metadata
Definition of Done
Refer to Asteroids DoD document to see any additional details for the items below
Any net new LWC work has Sa11y tests & 50% or above lines JEST test coverage
CRUD/FLS is enforced in Apex
Permission sets are updated to account for CRUD|FLS|Tab|Classes
Field sets are updated to account for new fields
UX approval or UX not necessary

[x] Link the pull request and work item by PR comment and Chatter post respectively, e.g. GUS: W-0000000: Work Name (https://github.com/SalesforceFoundation/PMM/pull/303)
[ ] All acceptance criteria have been met

[x] Developer
[ ] Code Reviewer
[ ] QA

[x] PR contains draft release notes
[ ] QE story level testing completed

W-9007479


Interactive Documentation

It would be more helpful to  have interactive documentation. See the Try this API section here.
https://cloud.google.com/vision/

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

ID: f12a77c5-fc42-c179-5af7-6c7b2197de28
Version Independent ID: 2db8d484-530e-d507-2842-c196a5e55c9a
Content: What is the Computer Vision API?
Content Source: articles/cognitive-services/Computer-vision/Home.md
Service: cognitive-services
GitHub Login: @PatrickFarley
Microsoft Alias: pafarley

@TejaKommineni Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.
@PatrickFarley Hi Patrick, please take a look of this feedback. Thanks a lot!


Kazari design - save gist prompt

When the user clicks on "save as gist", a popup dialog should appear to let him select the following data:

Description of the gist
Filename for the included gist
Checkbox to select if the gist is intended to be public or private.

Kazari has been removed from the project, we can close this.


asdftools info --help not very informative

$ asdftool info --help
usage: asdftool info [-h] [--max-rows MAX_ROWS] [--max-cols MAX_COLS] [--show-values] [--no-show-values] filename

Print a rendering of an ASDF tree.

positional arguments:
  filename             ASDF file to render

options:
  -h, --help           show this help message and exit
  --max-rows MAX_ROWS  maximum number of lines
  --max-cols MAX_COLS  maximum length of line
  --show-values
  --no-show-values

I have no idea what any of the options really mean. I don't see any option to only list the tree one level down.
p.s. Why can't --show-values and --no-show-values be combined into a single flag? They sound mutually exclusive.

It looks like those options correspond to options for the asdf._convenience.info function which contains slightly more information:
https://github.com/asdf-format/asdf/blob/a9e3ad714453c7cd3e3671c860db8b8c3e19f89a/asdf/_convenience.py#L24-L40
Suggestions and/or PRs to improve this are appreciated. I'm not familiar with nor do I use asdftool and it's not high on my list of priorities. If it's use is required for something you're doing please let me know and I can reassess.

I agree that the help on this tool should be improved. As for the last line of your comment, did you mean "can" instead of "can't"?

If it's use is required for something you're doing

I just wanted a quick glance at the file structure like fitsinfo you get to use for FITS files. But I also don't need to see all the way down the tree. I just wanted the extension names (data, err, etc).

did you mean "can" instead of "can't"?

Now that I see the docstring, I think one of them should not exist at all.

show-all-big-data

Not really, what if my data is actually small subarray or dummy test data that is very small?


Several questions

I saw in the closed issues that it is possible to find the seed without going into the end (in any case from what I understood, message in question: https://github.com/KaptainWutax/SeedCracker/issues/30#issuecomment-622552687_), I tried but nothing happened when I executed the command except give structure seeds. How to do ?

Will the mod be up to date when 1.16 is released?

Once you find structure seeds you need the hashed seed to complete the search.

Yes, when 1.16 is released.


heap_caps_check_integrity doesn’t find overflows (IDFGH-11050)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v4.4.5-400-gc57d30e1df
Operating System used.
Linux
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
Custom Board
Power Supply used.
USB
What is the expected behavior?
I expected the family of heap_caps_check_integrity functions to detect heap corruption, such as buffer overflows, when CONFIG_HEAP_POISONING_LIGHT=y is set.
What is the actual behavior?
Heap buffer overflows are not detected by any heap_caps_check_integrity function and only a free() will trigger a check that aborts the program.
Steps to reproduce.
My project contains the following code to deliberately cause a buffer overflow on the heap:
    uint32_t *ptr = static_cast<uint32_t *>(heap_caps_malloc(1 * sizeof(uint32_t), MALLOC_CAP_DEFAULT));
    printfln("array at %p", static_cast<void *>(ptr));

    printfln("canaries before corruption: 0x%08x 0x%08x", ptr[-2], ptr[1]);

    ptr[-2] = 0xdeaddead;
    ptr[ 0] = 0xff1234ff;
    ptr[ 1] = 0xdeaddead;

    printfln("canaries after corruption:  0x%08x 0x%08x", ptr[-2], ptr[1]);

    bool valid = heap_caps_check_integrity_all(true);
    printfln("heap_caps_check_integrity_all returned valid=%i", valid);

    heap_caps_free(ptr);

This is the output when run:
array at 0x3f80dca0
canaries before corruption: 0xabba1234 0xbaad5678
canaries after corruption:  0xdeaddead 0xdeaddead
heap_caps_check_integrity_all returned valid=1
CORRUPT HEAP: Bad head at 0x3f80dc98. Expected 0xabba1234 got 0xdeaddead

assert failed: multi_heap_free multi_heap_poisoning.c:259 (head != NULL)

Allocate memory for one uint32_t.
Deliberately over- and underflow the buffer.
heap_caps_check_integrity_all claims that the heap is valid.
heap_caps_free() detects the corruption.

Printing the memory before and after the buffer shows that the canaries are present and free() detects the corruption, which means that the heap is properly poisoned and the detection works, but heap_caps_check_integrity_all() does not.
Debug Logs.
No response
More Information.
multi_heap_poisoning.c contains multi_heap_internal_check_block_poisoning, which has code to check the poisoning of in-use blocks. In multi_heap.c, this function is used in the tlsf_check_hook. However, in heap_tslf.c, this hook is only called while checking the free lists and never for any in-use blocks. Therefore, corruption in in-use blocks is not detected.
The tlsf_check_hook can be added to the integrity_walker to check in-use blocks, similar to how it is called in tlsf_check. The check will fail, however, because the address of the block to check is incorrectly calculated in multi_heap_internal_check_block_poisoning. sizeof(poison_head_t) is added to the start address even though the start address is already positioned after the poison head. This was probably not found because the code never runs. If the start address is directly passed to tlsf_check_hook without the offset, the heap validation works as expected and both the buffer under- and overflow from the test code are detected.
My project is incompatible with IDF 5.x, so I cannot check if the issue is still present there, but looking at the relevant files on master shows that tlsf_check_hook is also called only during the free list verification and the calculation of the block address also contains the probably incorrect offset, so I expect both issues to be present there as well.
Here is a proof-of-concept patch that includes both changes mentioned above.

Thanks for the thorough investigation!
I agree, heap_caps_check_integrity_all not finding certain overflows that free can detect does indeed seem counter-intuitive.  We will take a look at it!

Please note that the code from the proof-of-concept patch is incompatible with CONFIG_HEAP_TASK_TRACKING=y. Adding the removed sizeof(poison_head_t) doesn’t fix it, so I guess that there’s some other kind of offset that needs to be accounted for when heap task tracking is enabled.

@MattiasTF thanks for reporting this problem!
I updated the TLSF component to call thlsf_check_hook from tlsf_check_pool (via the integrity_walker) rather than from tlsf_check. Now the hook should be called on every block and not only on the free ones.
I will need to document the changes and add some testing. I will let yo know when the changes are merged internally.
Also note that it is currently not planed to patch the ROM implementation of the TLSF to incorporate this changes so the fixed version will only be available if CONFIG_HEAP_TLSF_USE_ROM_IMPL=n on the target that support the TLSF in ROM.


403 Error when placing cash order

When I try to place an order from the backend with the cash payment method I get the following error:
HTTP Status code 403 received, data message=Not+allowed&errorType=security&status=403&errorCode=010

Hi oblomovx ,
By default this payment method is not activated on your account.
Could you please contact<EMAIL_ADDRESS>and ask to add Cash payment method. Don't forget to ask for what merchantAccount you want this and if you want this for test or live.
Regards,
Rik
Adyen


Upgrade to Vert.x 4.1

Fixes #799
Fixes #697
and (indirectly)
Fixes #673

I'm surprised: I thought the new pool model was going to require significant changes to our connection handling?

I thought the new pool model was going to require significant changes to our connection handling?

Or was that only to the Quarkus extension?

We made those changes here: https://github.com/hibernate/hibernate-reactive/commit/c60bb8d02d2bfcb57330bc873036a1c208a29833
My understanding is that they are compatible with 4.0 but the real benefits come with 4.1.
Anyway, I could have upgraded before releasing yesterday... but I forgot

Oh so you mean we're already using 4.1 in Quarkus?

@Sanne ^

@DavideD you can also reenable EmptyCompositeCollectionKeyTest.
(But not OrderedEmbeddableCollectionTest which is a different bug in the driver.)

you can also reenable EmptyCompositeCollectionKeyTest.

Done

Oh so you mean we're already using 4.1 in Quarkus?

yes, it's using 4.1.0.CR1 since yesterday

Alright, then let's go!


🐛 CocoaPods could not find compatible versions for pod "MultiplatformBleAdapter" [3.0.0]

Prerequisites

[X] I checked the documentation and FAQ without finding a solution
[X] I checked to make sure that this issue has not already been filed

Expected Behavior
Installing the project and running cd ios && pod install should install the necessary dependencies.
Current Behavior
The installation is erroring out with the message in the issue title.
Library version
3.0.0
Device
iPhone 6
Environment info
info Fetching system and libraries information...
System:
    OS: macOS 13.4.1
    CPU: (6) x64 Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz
    Memory: 563.21 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.8.0 - /usr/local/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 10.1.0 - /usr/local/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.12.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
    Android SDK: Not Found
  IDEs:
    Android Studio: 2022.3 AI-223.8836.35.2231.10671973
    Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.14 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: Not Found
    react-native: Not Found
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce
From the root of the react native project directory.

yarn add react-native-ble-plx
cd ios && pod install

Formatted code sample or link to a repository
n/a

Relevant log output
/path/to/project/folder % yarn pods
yarn run v1.22.19
$ cd ios && pod install
Auto-linking React Native modules for target `[REDACTED]`: RNBootSplash, RNCAsyncStorage, RNCMaskedView, RNDefaultPreference, RNFS, RNGestureHandler, RNLocalize, RNReanimated, RNSVG, RNScreens, RealmJS, react-native-ble-plx, react-native-charts-wrapper, react-native-flipper, react-native-get-random-values, react-native-safe-area-context, react-native-slider, and react-native-webview
Framework build type is static library
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
[Codegen] Found FBReactNativeSpec
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Fetching podspec for `hermes-engine` from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`
[!] CocoaPods could not find compatible versions for pod "MultiplatformBleAdapter":
  In Podfile:
    MultiplatformBleAdapter (~> 0.2.0)

    react-native-ble-plx (from `../node_modules/react-native-ble-plx`) was resolved to 3.0.0, which depends on
      MultiplatformBleAdapter (= 0.2.0)

None of your spec sources contain a spec satisfying the dependencies: `MultiplatformBleAdapter (~> 0.2.0), MultiplatformBleAdapter (= 0.2.0)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.
error Command failed with exit code 31.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

### Additional information

_No response_

After fiddling around for a while, I noticed the small note in the error message to run
pod repo update

which resolved the issue for me.

I had resolved the problem personally prior to opening this issue, but decided to share the experience in the hopes that it helps someone else!


Minecraft server process failed {"exitCode": -1}

Describe the problem
Runing on the:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04 LTS"
NAME="Ubuntu"
VERSION="20.04 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

Container definition
version: '3'

services:
  mc-server:
    image: itzg/minecraft-server
    user: minecraft
    container_name: '${DOCKER_PREFIX}_mc_server'
    ports:
      - 25565:25565
      - 25575:25575
    tty: true
    stdin_open: true
    restart: unless-stopped
    environment:
      EULA: 'TRUE'
      TYPE: 'PAPER'
      VERSION: '1.19.2'
      UID: 1000
      GID: 998
      ONLINE_MODE: 'FALSE'
      MOTD: '${MC_SERVER_NAME}'
      MEMORY: '${MC_RAM_MEMORY}'
      MAX_PLAYERS: '${MC_MAX_PLAYERS}'
    volumes:
      - ./src/minecraft-server/plugins:/data/plugins
      - ./src/minecraft-server/mods:/data/mods
      - ./src/minecraft-server/config:/data/config

id`s local user is 1000:998

Container logs
[18:40:13 INFO]: Running delayed init tasks
[18:40:13 INFO]: Done (30.105s)! For help, type "help"
[18:40:13 INFO]: Timings Reset
2022-08-11T18:40:23.192Z	WARN	mc-server-runner	Minecraft server process failed	{"exitCode": -1}
2022-08-11T18:40:23.196Z	INFO	mc-server-runner	Done

That's the output after the container startup is finished. So it's the Minecraft server software itself failing.
One thing to investigate is add DEBUG_MEMORY: "true" to the environment and provide the full container logs, mainly the [init] lines.

@itzg
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 5 1000 1000 4096 Aug 12 00:01 /data'
[init] Resolved version given 1.19.2 into 1.19.2 and major version 1.19
[init] Resolving type given PAPER
[init] Removing old PaperMC versions ...
[init] Downloading PaperMC 1.19.2 (build 125) ...
[init] Creating server.properties in /data/server.properties
[init] Disabling whitelist functionality
[init] Setting white-list to 'false' in /data/server.properties
[init] WARNING: whitelist enabled but not enforced. Set ENFORCE_WHITELIST=TRUE or update 'enforce-whitelist' in server.properties to enforce the whitelist.
[init] Setting enable-rcon to 'true' in /data/server.properties
[init] Setting rcon.password to 'minecraft' in /data/server.properties
[init] Setting rcon.port to '25575' in /data/server.properties
[init] Setting max-players to '5' in /data/server.properties
[init] Setting online-mode to 'false' in /data/server.properties
[init] Setting motd to 'Pokess' in /data/server.properties
[init] Checking for JSON files.
[init] Memory usage and availability (in MB)
Linux 2edf47cc0001 5.4.0-39-generic #43-Ubuntu SMP Fri Jun 19 10:28:31 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
              total        used        free      shared  buff/cache   available
Mem:           1971         699         766           3         506        1111
Swap:             0           0           0
[init] Setting initial memory to 1G and max to 1G
[init] Starting the Minecraft server...
Downloading mojang_1.19.2.jar
Applying patches
Starting org.bukkit.craftbukkit.Main
System Info: Java 17 (OpenJDK 64-Bit Server VM 17.0.4+8) Host: Linux 5.4.0-39-generic (amd64)
Loading libraries, please wait...
2022-08-12 00:01:46,596 ServerMain WARN Advanced terminal features are not available in this environment
[00:01:51 INFO]: Building unoptimized datafixer
[00:01:53 INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[00:01:53 INFO]: Found new data pack file/bukkit, loading it automatically
[00:01:56 INFO]: Loaded 7 recipes
[00:01:58 INFO]: Starting minecraft server version 1.19.2
[00:01:58 INFO]: Loading properties
[00:01:58 INFO]: This server is running Paper version git-Paper-125 (MC: 1.19.2) (Implementing API version 1.19.2-R0.1-SNAPSHOT) (Git: 3f0415b)
[00:01:58 INFO]: Server Ping Player Sample Count: 12
[00:01:58 INFO]: Using 4 threads for Netty based IO
[00:01:58 INFO]: Default game type: SURVIVAL
[00:01:58 INFO]: Generating keypair
[00:01:59 INFO]: Starting Minecraft server on *:25565
[00:01:59 INFO]: Using epoll channel type
[00:01:59 INFO]: Paper: Using libdeflate (Linux x86_64) compression from Velocity.
[00:01:59 INFO]: Paper: Using OpenSSL 1.1.x (Linux x86_64) cipher from Velocity.
[00:02:00 INFO]: [LuckPerms] Loading LuckPerms v5.4.41
[00:02:00 INFO]: [Vault] Loading Vault v1.7.3-b131
[00:02:00 INFO]: [LuckPerms] Enabling LuckPerms v5.4.41
[00:02:01 INFO]:         __
[00:02:01 INFO]:   |    |__)   LuckPerms v5.4.41
[00:02:01 INFO]:   |___ |      Running on Bukkit - Paper
[00:02:01 INFO]:
[00:02:01 INFO]: [LuckPerms] Loading configuration...
[00:02:01 INFO]: [LuckPerms] Loading storage provider... [H2]
[00:02:02 INFO]: [LuckPerms] Loading internal permission managers...
[00:02:02 INFO]: [LuckPerms] Performing initial data load...
[00:02:02 INFO]: [LuckPerms] Successfully enabled. (took 2342ms)
[00:02:02 INFO]: [Vault] Enabling Vault v1.7.3-b131
[00:02:03 INFO]: [Vault] [Permission] SuperPermissions loaded as backup permission system.
[00:02:03 INFO]: [Vault] Enabled Version 1.7.3-b131
[00:02:03 INFO]: [LuckPerms] Registered Vault permission & chat hook.
[00:02:03 WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[00:02:03 WARN]: The server will make no attempt to authenticate usernames. Beware.
[00:02:03 WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[00:02:03 WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[00:02:03 INFO]: Preparing level "world"
[00:02:03 WARN]: Failed to parse level-type default, defaulting to minecraft:normal
[00:02:31 INFO]: Preparing start region for dimension minecraft:overworld
[00:02:32 INFO]: Preparing spawn area: 0%
[00:02:32 INFO]: Preparing spawn area: 0%
[00:02:32 INFO]: Preparing spawn area: 0%
[00:02:32 INFO]: Time elapsed: 1144 ms
[00:02:32 INFO]: Preparing start region for dimension minecraft:the_nether
[00:02:33 INFO]: Time elapsed: 781 ms
[00:02:33 INFO]: Preparing start region for dimension minecraft:the_end
[00:02:34 INFO]: Time elapsed: 1113 ms
[00:02:34 INFO]: Starting remote control listener
[00:02:34 INFO]: Thread RCON Listener started
[00:02:34 INFO]: RCON running on <IP_ADDRESS>:25575
[00:02:34 INFO]: Running delayed init tasks
[00:02:34 INFO]: Done (36.476s)! For help, type "help"
[00:02:34 INFO]: Timings Reset
[00:02:34 INFO]: [Vault] Checking for Updates ...
[00:02:34 INFO]: [Vault] No new version available
[00:03:19 WARN]: Can't keep up! Is the server overloaded? Running 5052ms or 101 ticks behind

Aha, probably your right :) I think, i have not enough free ram memory, am i right ?)

@itzg Yes it is, thanks. Problem in my low memory value.


[kernel] Add new netstats checks

Adds a new part to the kernel plugin that performs
checks on /proc/net/netstat and /proc/net/snmp.
Partially-Resolves: #133

Nice one!
I tested on my system:
kernel:
  version: 5.11.0-44-generic
  boot: ro quiet splash
  cpu:
    smt: enabled
    cpufreq-scaling-governor: unknown
  memory-checks: no issues found
  potential-issues:
    KernelWarnings:
      - TCP retransmission rate 61.64 exceeds 1%. (origin=kernel.net_stats)
      - Failed reverse path filter test (drops=1). (origin=kernel.net_stats)

It could use a unit test but beside that LGTM.

I have review this with jay and we decided to land as is and tweak later if needs be.


Delete klusterlet namespace after klusterlet cr is removed

This is a workaround for cluster detach. See https://github.com/open-cluster-management/backlog/issues/4565 for more details.
Note: This change CANNOT be merged until delete permission is added for clusterrole klusterlet in rcm-controller.

/retest

/retest

/retest

/retest

/retest

/retest

/retest

Close this PR for the same change has been merged in another PR: https://github.com/open-cluster-management/registration-operator/pull/68


mobile: Move some InternalEngine implementation from .h to .cc

Risk Level: low
Testing: n/a
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

/assign @abeyad


Bad practice of using global variables in views :skull_and_crossbones:

https://github.com/Dayver3/blog/blob/74d31977693388c9827764144fb0eca3440b9c62/src/application/views/refactor_comment.php#L2

done


[stable/postgresql] Bump image revision to include fix on permissions

Signed-off-by: juan131<EMAIL_ADDRESS>Is this a new chart
No
What this PR does / why we need it:
When we disabled the initContainer by default, the following actions were not running by default anymore:
mkdir -p /bitnami/postgresql/data
chmod 700 /bitnami/postgresql/data
find /bitnami/postgresql/data -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" | \
    xargs chown -R 1001:1001

This PR increases the version of the image since a fix was included in this revision to address this.
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/ok-to-test
/lgtm


How to integrate this with a Nitro server?

Nice project!
I tried this:

Start a Nuxt 3 project
Build it: yarn build. This generates server code at .output/server/index.mjs.
Manually add these two lines to .output/server/index.mjs:import { initNetworkLogging } from 'network-activity-viewer';
initNetworkLogging();

Start the server: yarn preview

My app runs, and the UI at http://localhost:4500/ is available, but it does not find any requests.

@rudolfbyker Thanks for the issue. I am not familiar much with Nuxt and Nitro, but from the little i know isn't nuxt for frontend development and nitro a framework for building servers? Do you wish to view the network calls to the nitro server?
This Network Activity Viewer is built to see the network requests made by a server. Does your nitro server make any api calls to other servers? If so what is the  library you use to make the requests (Axios, request etc)?

I am not familiar much with Nuxt and Nitro, but from the little i know isn't nuxt for frontend development and nitro a framework for building servers?

Almost right, but not quite. Nuxt is for building a full-stack web app. It uses Vue for the front end, and Nitro as the server.

Do you wish to view the network calls to the nitro server or made by the nitro server?

I wish to see the calls made by the nitro server.

Does your nitro server make any api calls to other servers? If so what is the library you use to make the requests (Axios, request etc)?

Yes, I use the native fetch method in Node. I'm using Node version 18.14 .
I'll try to make a minimal repro for you.

Thanks for the clarifications @rudolfbyker . I will look into this issue. It would be really useful if you could provide a minimal repro. I can resolve the issue much faster then. Thanks

Here you go. I hope it helps: https://github.com/rudolfbyker/network-activity-viewer-nuxt-example

@rudolfbyker I cloned your repo, Ran
yarn install
yarn build
yarn preview

Opened http://localhost:3000 in browser
Opened http://localhost:4500 in browser
Able to see the /activity api call in logs.

Are you expecting any other behavior?

Also Note that you have to refresh the UI of network activity viewer for the requests list to update.

@rudolfbyker did my above comment resolve your issue?

Unfortunately not. I made a screen capture: https://youtu.be/Vyndv1aHLso

@rudolfbyker released a new version 1.1.0. This issue should be resolved with this. Sorry for the delayed resolution.

Closing as this is fixed now. Please reopen if u are still facing the issue.


Fix docs build and refresh CI

Though I think we could consider just not building this package on RTD at all.

Since we build Ocean docs on RtD and we pull inspector docs into Ocean, I think this is a good preemptive test. Otherwise, we would catch errors only during Ocean docs build, and to fix inspector docs errors would have to update here (in submodule) first. :shrug:


Fix Unpacking Errors in best_tool Property

This PR addresses a bug in the best_tool property that caused unpacking errors when valid_weighted_accuracy or weighted_accuracy was empty. The changes ensure robust handling of edge cases and improve the overall stability of the tool selection mechanism.
Changes Introduced
•	Validation for valid_weighted_accuracy: Checks if it is empty and falls back to weighted_accuracy gracefully.
•	Fallback for All Tools: If no valid tools are available, the system considers all tools in weighted_accuracy.
•	Descriptive Errors: Raises informative errors if both valid_weighted_accuracy and weighted_accuracy are empty, indicating improper initialization or updates.
•	Improved Readability: Refactored logic for clarity and adherence to Python best practices.
Why This Change is Needed
Previously, the code assumed non-empty dictionaries for unpacking, causing runtime errors (ValueError: not enough values to unpack). This fix prevents such errors and ensures the system operates reliably, even in edge cases where tools are quarantined or uninitialized.
Testing
•	Added scenarios to test:
•	All tools available.
•	Some tools quarantined.
•	All tools quarantined.
•	No tools available.
•	Confirmed that the best_tool property selects the correct tool or raises appropriate errors.
Impact
This fix improves the robustness of the tool selection logic, making the system more resilient to unexpected states. No breaking changes are introduced.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 46.31%. Comparing base (ce791ac) to head (842d822).
Report is 238 commits behind head on main.

:exclamation:  There is a different number of reports uploaded between BASE (ce791ac) and HEAD (842d822). Click for more details.
HEAD has 1 upload less than BASE

Flag
BASE (ce791ac)
HEAD (842d822)

unittests
2
1

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #375      +/-   ##
==========================================
- Coverage   52.52%   46.31%   -6.22%
==========================================
  Files          11       11
  Lines         455      529      +74
==========================================
+ Hits          239      245       +6
- Misses        216      284      +68

Flag
Coverage Δ

unittests
46.31% <ø> (-6.22%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.