Including all files when not using require or register

Expected Behavior
When running a lesser-known testing framework (called Alsatian) with nyc and ts-node, there should be an option to cover all files, despite the absence of a require definition in the config.
Observed Behavior
Coverage seems correct, in terms of individual files, but the results don't include files not directly imported by the tests. My understanding of "all": true that I've gleaned from issues and docs scattered about is that it won't actually include all files without a require. If I try to require ts-node/register with nyc (again, despite it seeming to work, coverage-wise, without that), then all desired files are included, but coverage becomes nonsense, highlighting random byte ranges.
Bonus Points! Code (or Repository) that Reproduces Issue
package.json and runner.ts
  "scripts": {
    "precover": "rimraf ./coverage/*",
    "cover": "nyc npm run unittest",
    "unittest": "ts-node --project tsconfig-xunit.json src/spec-lib/runner.ts"
  },
  "nyc": {
    "include": [
      "src/lib/**"
    ],
    "extension": [
      ".ts"
    ],
    "exclude": [
      "typings",
      "**/*.d.ts",
      "**/*.test.ts",
      "**/*.spec.ts"
    ],
    "reporter": [
      "json",
      "html"
    ],
    "all": true
  }

Forensic Information
Operating System: the operating system you observed the issue on.
Windows 10, Powershell
Environment Information: information about your project's environment, see instructions below:

run the following script:

sh -c 'node --version; npm --version; npm ls' > output.txt

share a gist with the contents of output.txt.
gist of output.txt

I've added a project that demonstrates the bug.
https://github.com/cdibbs/tsnode-alsatian-scrambled-coverage-issue
It's also possible this is a ts-node bug, but I am not familiar enough with the inner workings of nyc or ts-node to know for sure.

@cdibbs sorry for the late reply. I'm not sure what you meant by:

there should be an option to cover all files, despite the absence of a require definition in the config.

I was going to suggest trying the newly published https://www.npmjs.com/package/@istanbuljs/nyc-config-typescript but I don't know how you'd get coverage without using a require hook.


BaseURL for web engine

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.
A lot of web applications are developed in multiple environments. Could be great to configure a baseURL in the config.json property defining the  basic path and build relative on that the path to the different page from the page objects.
Describe the solution you'd like
Add a new property in the configuration named BaseURL
    {
      "Tag": "WebDriver",
      "Capabilities": [
        {
          "Name": "WebDriver",
          "Path": "C:\\workspace\\Drivers",
          "Driver": "Firefox",
          "BaseURL": "Mybaseurl"
          "CommandTimeOutInMinutes": 5,
          "Arguments": [
            "--start-maximized"
          ]
        }
      ]
    }

Read this new property from the engine.
Share it, with the pages in order to build the page url based on this base
Additional context
No response

PR created:
https://github.com/ERNI-Academy/net6-automation-testware/pull/83


Adding an entry for the field 'readTimeFramesFromSecond'

Following a question from support, updated is the functionality and expected behavior of this field when true or false.

@Tzoref12 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Error Prisma db pull

Bug description
I'm trying to bring the table schema I have in the database to Prisma but it's always returning the same error, I saw that it might be related to UW_ZeroDefault but I still couldn't resolve it.
Oops, an unexpected error occurred!
Reason: [schema-engine\sql-schema-describer\src\mssql.rs:348:30] called Result::unwrap() on an Err value: "Couldn't parse default value: \r\n/* Defaults */\r\n \r\nCREATE DEFAULT DEF0 AS 0\r\n"
How to reproduce

Expected behavior
No response
Prisma information

generator client {
  provider = "prisma-client-js"
}
//mssql UW_ZeroDefault PROCURAR
datasource db {
  provider = "sqlserver"
  url      = env("DATABASE_URL")
}

// Add your code using Prisma Client

Environment & setup

OS: <--[ Windows]-->
Database: <--[SQL Server]-->
Node.js version: <--[v20.10.0]-->

Prisma Version
5.7.1

Hi @Santis636.
Could you share SQL dump of our DB schema?
Thank you.

Hi @SevInf , unfortunately I can't provide this information, but it's a SQL database that has a wide range of connections between tables

@Santis636 That, unfortunately, does not help us with reproducing the problem. Could you maybe try to reduce the schema to smallest size where it still reproduces and is safe for you to share? Alternatively, if you are not ok with sharing schema publicly but can do it privately, you can send it to<EMAIL_ADDRESS>

Well, @SevInf I've been doing tests with recently created databases and they all worked, but this database that I have to add to Prisma is old and very massive, because it contains an entire company application and Prisma would be used to manage the database for communication. with the API we have, but is there any other way to see possible errors that could be causing this, such as UW_ZeroDefault and how it can be resolved? And regarding this error with UW_ZeroDefault, I didn't find much about it, maybe that could still be the case?

Note I found one issue mentioning UW_ZeroDefault
https://github.com/prisma/prisma/issues/18680
@Santis636 No idea if this helps, but a random search mentioned this to remove it:
https://dba.stackexchange.com/questions/6450/an-alternative-for-sp-unbinddefault

@janpio I believe this will not help me, because it is a very massive database, which contains many tables and relationships, in case of updating and removing this could cause a problem


add doorio

Selfmade Door Intercom for ioBroker

RE-CHECK!

Automated adapter checker
ioBroker.doorio

[ ] :heavy_exclamation_mark: [E201] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: npm owner add bluefox iobroker.doorio
[ ] :eyes: [W400] Cannot find "doorio" in latest repository

ioBroker.shellaction

:thumbsup: No errors found

[ ] :eyes: [W400] Cannot find "shellaction" in latest repository

Add comment "RE-CHECK!" to start check anew

I added Bluefox to NPM and Github some time ago because the command didn't work. The adapter check still brings the error.

I deleted Bluefox from NPM again and added it with "npm owner add bluefox iobroker.doorio" without any errors, but the checker brings the error anyway.Bluefox is shown on NPM as an Collaborators.

RE-CHECK!

Automated adapter checker
ioBroker.shellaction

[ ] :heavy_exclamation_mark: [E201] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: npm owner add bluefox iobroker.shellaction
[ ] :eyes: [W400] Cannot find "shellaction" in latest repository

ioBroker.doorio

:thumbsup: No errors found

[ ] :eyes: [W400] Cannot find "doorio" in latest repository

Add comment "RE-CHECK!" to start check anew

Ok, seems to be a false positive regarding Npm

RE-CHECK!

Automated adapter checker
ioBroker.doorio

:thumbsup: No errors found

[ ] :eyes: [W400] Cannot find "doorio" in latest repository

ioBroker.shellaction

:thumbsup: No errors found

[ ] :eyes: [W400] Cannot find "shellaction" in latest repository

Add comment "RE-CHECK!" to start check anew

Ich habe alle Änderungen erledigt, bis auf die Nutzung der Timeouts. Ich weiß jetzt auch nicht, wie ich das anders lösen könnte. Der Adapter funktioniert hier bei mir schon über 1,5 Jahre ohne Probleme.

I also added clearing the timeouts, I hope in the right place.

doorio is ok ...
But now also shellaction is in this PR ...

also here please do not subscribe to objects if not needed
please do not use setObjectAsync because in older js-controller this can kill custom settings on the object. Please use extendObjectAsync or setObjectNotExistsAsync (https://github.com/Bettman66/ioBroker.shellaction/blob/master/main.js#L135) or is there a reason to use it there?
without catch here? https://github.com/Bettman66/ioBroker.shellaction/blob/master/main.js#L269
is it possible to cancel currently running commands? If yes this would be an idea for "Unload" ... else it could happen that the adapter can be "unloaded" whichthe command is runnignand this will lead to setState calls on non existing database, and will most likely crash the compact mode instance

PS: shellaction also misses the integration testin on travis. Only package testing is executed

Please only take over the doorio adapter, I will reprogram the shellaction adapter.

Ok, I removed shellaction from the PR


Create example/documentation on how to persist serialized partitions.

Even though serialized partitions are implemented as a std::string, from the result of calling protobuf::MessageLite::SerializeToString, they likely do not behave as anticipated when attempting to write them to a file or stream.

Can you say more about this, because I don't follow where or why there may be a problem?

Suppose you are a user, that is unfamiliar with how the code is implemented.  You need to use partitioned queries, you hear that to do that you use ReadPartition, then serialize the partition with
StatusOr<std::string> SerializeReadPartition(ReadPartition const& read_partition);

and the somehow "send" that string to a remote machine.
I ask myself [1]: "What is the format of that string?"  "Is it a NUL terminated ASCII or UTF-8 string"?  "If not, why is it not a std::vector<std::uint8_t>"?
Then I see that there is a helpful example showing how to use this, except that the one bit that is hard to figure out (how to persist the string so I can give it to another process) is not covered by the example. I think I am slightly annoyed at this point.
[1] And that is when I am being careful, and not being my usual self that thinks "std::string, must be ASCII or something, let me just save it using operator<<".

"What is the format of that string?" "Is it a NUL terminated ASCII or UTF-8 string"?

We can/should document that it's an opaque blob of bytes. Would that help?

"If not, why is it not a std::vectorstd::uint8_t"?

If you think that would help, I'd be happy to change the return type to a std::vector<std::uint8_t>

"What is the format of that string?" "Is it a NUL terminated ASCII or UTF-8 string"?

We can/should document that it's an opaque blob of bytes. Would that help?

Yes. I think we should say something like: "Note that the std::string object should be treated as a blob of bytes, it may contain embedded NULs and other non-printable characters."
That at least makes it clear how this is to be treated.  I think we should also add an example, something like:
void SerializeAndExportPartitionExample(ReadPartition const& read_partition, std::ostream& os) {
  auto serialized = spanner::SerializeReadPartition(read_partition);
  if (!serialized) throw std::runtime_error(serialized.status().message());

  // Because the serialized value is a blob of bytes we have to first save its size:
  os << serialized.size() << "\n";
  // and then save the values:
  os.write(serialized.data(), serialized.size());
}

and then write the analogous function for reading the data back.

"If not, why is it not a std::vector<std::uint8_t>"?

If you think that would help, I'd be happy to change the return type to a std::vector<std::uint8_t>

That would be fine with me too, modulo it would need copying when using the protobuf serialization/deserialization functions.


#282 Remove All Heartbeat Logging Messages from Services

Signed-off-by: yanghua<EMAIL_ADDRESS>cc @tsconn23

@yanghua If internal/pkg/heartbeat is no longer used remove it please.
Also you can check with  git grep -i heartbeat that there isn't  any heartbeat mention in the code or configuration files

@jduranf and @feclare OK, will also remove the internal/pkg/heartbeat, hold on please

@tsconn23 , @feclare and @jduranf waiting for reviewing~

cc @jduranf


changing how columns are being added

It used to be that when columns were being added, they were being pushed into an array that was already on the scope.  This causes angular to bind on every single push.  Instead, I changed it so that there's only one write to the scope, making it bind only once.

Hi @mboudreau, just a hint, you change tabs so it hard to see actual changes, now it looks like you refactored everything, I doubt the owner will merge these changes even if its valid.

With this version, columns are not created again on model change. So you can't do any filtering or ordering on the data passed into the directive.


[csrng/dv] Test disabling and re-enabling

Contributes to resolving #16430 by extending the csrng_cmds test such that it disables and re-enables CSRNG as well as the agents (for entropy_src and EDN). The number of disable-and-re-enable iterations as well as the number of cycles between the disablement or enablement of CSRNG and the agents is randomized.
The extended csrng_cmds test passes 50/50 reseeds, conditional to HW fixes that are being developed in PR #16462.
TODO

[x] Depends on #16500; rebase once that has been merged.
[x] The entropy_src agent does not yet get disabled and re-enabled. Fix this (it currently causes failing assertions).

Running a mini regression (-i all -r 10), I just found that this breaks csrng_alert_test. Apparently, the first commit (b0feb2ee0142fdd703719eae14d3c11d03741222) is the problem. I'll debug, unless someone directly knows what the problem could be?

Running a mini regression (-i all -r 10), I just found that this breaks csrng_alert_test with UVM_ERROR (cip_base_vseq.sv:539) [csrng_alert_vseq] Check failed * == cfg.m_alert_agent_cfg[alert_name].vif.get_alert() (* [*] vs * [*]) Alert recov_alert fired unexpectedly!
Apparently, the first commit (b0feb2e) is the problem. I'll debug, unless someone directly knows what the problem could be?
Update: This change in csrng_base_vseq::send_cmd_req causes the problem:
@@ -88,7 +88,7 @@ class csrng_base_vseq extends cip_base_vseq #(
       join_none
       if (await_response) begin
         // Wait for ack
-        cfg.m_edn_agent_cfg[app].vif.wait_cmd_ack();
+        cfg.m_edn_agent_cfg[app].vif.wait_cmd_ack_or_rst_n();
       end
     end
     else begin

so I propose the following patch to fix that:
--- a/hw/ip/csrng/dv/env/seq_lib/csrng_alert_vseq.sv
+++ b/hw/ip/csrng/dv/env/seq_lib/csrng_alert_vseq.sv
@@ -88,7 +88,7 @@ class csrng_alert_vseq extends csrng_base_vseq;
         get_rand_mubi4_val(.t_weight(0), .f_weight(0), .other_weight(1)) : MuBi4True;
     cs_item.glen  = 'h0;
     `uvm_info(`gfn, $sformatf("%s", cs_item.convert2string()), UVM_DEBUG)
-    send_cmd_req(cfg.which_app_err_alert, cs_item);
+    send_cmd_req(cfg.which_app_err_alert, cs_item, .edn_rst_as_ack(0));

     // Reseed Command.
     cs_item.acmd  = csrng_pkg::RES;
@@ -97,7 +97,7 @@ class csrng_alert_vseq extends csrng_base_vseq;
         get_rand_mubi4_val(.t_weight(0), .f_weight(0), .other_weight(1)) : MuBi4True;
     cs_item.glen  = 'h1;
     `uvm_info(`gfn, $sformatf("%s", cs_item.convert2string()), UVM_DEBUG)
-    send_cmd_req(cfg.which_app_err_alert, cs_item);
+    send_cmd_req(cfg.which_app_err_alert, cs_item, .edn_rst_as_ack(0));

     if (!flag0_flip_ins_cmd) begin
       // The previous command interpreting flag0 detected an invalid MuBi encoding. We need
@@ -109,7 +109,7 @@ class csrng_alert_vseq extends csrng_base_vseq;
       cs_item.flags = MuBi4True;
       cs_item.glen  = 'h1;
       `uvm_info(`gfn, $sformatf("%s", cs_item.convert2string()), UVM_DEBUG)
-      send_cmd_req(cfg.which_app_err_alert, cs_item);
+      send_cmd_req(cfg.which_app_err_alert, cs_item, .edn_rst_as_ack(0));
     end

     `uvm_info(`gfn, $sformatf("Waiting for alert ack to complete"), UVM_MEDIUM)
@@ -139,7 +139,7 @@ class csrng_alert_vseq extends csrng_base_vseq;
     cs_item.flags = MuBi4True;
     cs_item.glen  = 'h0;
     `uvm_info(`gfn, $sformatf("%s", cs_item.convert2string()), UVM_DEBUG)
-    send_cmd_req(SW_APP, cs_item);
+    send_cmd_req(SW_APP, cs_item, .edn_rst_as_ack(0));

     // Write CSRNG Cmd_Req Register - Generate Command.
     cs_item.acmd  = csrng_pkg::GEN;
@@ -147,7 +147,7 @@ class csrng_alert_vseq extends csrng_base_vseq;
     cs_item.flags = MuBi4True;
     cs_item.glen  = 'h1;
     `uvm_info(`gfn, $sformatf("%s", cs_item.convert2string()), UVM_DEBUG)
-    send_cmd_req(SW_APP, cs_item);
+    send_cmd_req(SW_APP, cs_item, .edn_rst_as_ack(0));

     // Write CSRNG Cmd_Req - Instantiate Command.
     cs_item.acmd  = csrng_pkg::INS;
@@ -155,7 +155,7 @@ class csrng_alert_vseq extends csrng_base_vseq;
     cs_item.flags = MuBi4True;
     cs_item.glen  = 'h0;
     `uvm_info(`gfn, $sformatf("%s", cs_item.convert2string()), UVM_DEBUG)
-    send_cmd_req(SW_APP, cs_item);
+    send_cmd_req(SW_APP, cs_item, .edn_rst_as_ack(0));

     // Write CSRNG Cmd_Req Register - Generate Command.
     cs_item.acmd  = csrng_pkg::GEN;
@@ -163,7 +163,7 @@ class csrng_alert_vseq extends csrng_base_vseq;
     cs_item.flags = MuBi4True;
     cs_item.glen  = 'h1;
     `uvm_info(`gfn, $sformatf("%s", cs_item.convert2string()), UVM_DEBUG)
-    send_cmd_req(SW_APP, cs_item);
+    send_cmd_req(SW_APP, cs_item, .edn_rst_as_ack(0));

     `uvm_info(`gfn, $sformatf("Waiting for alert ack to complete"), UVM_MEDIUM)
     cfg.m_alert_agent_cfg["recov_alert"].vif.wait_ack_complete();
diff --git a/hw/ip/csrng/dv/env/seq_lib/csrng_base_vseq.sv b/hw/ip/csrng/dv/env/seq_lib/csrng_base_vseq.sv
index c6db698a4..55c321090 100644
--- a/hw/ip/csrng/dv/env/seq_lib/csrng_base_vseq.sv
+++ b/hw/ip/csrng/dv/env/seq_lib/csrng_base_vseq.sv
@@ -66,7 +66,7 @@ class csrng_base_vseq extends cip_base_vseq #(
     check_interrupts(.interrupts((1 << CmdReqDone)), .check_set(1'b1));
   endtask

-  task send_cmd_req(uint app, csrng_item cs_item, bit await_response=1'b1);
+  task send_cmd_req(uint app, csrng_item cs_item, bit await_response=1'b1, bit edn_rst_as_ack=1'b1);
     bit [csrng_pkg::CSRNG_CMD_WIDTH-1:0]   cmd;
     // Gen cmd_req
     if ((cs_item.acmd != INS) && (cs_item.acmd != RES)) begin
@@ -88,7 +88,8 @@ class csrng_base_vseq extends cip_base_vseq #(
       join_none
       if (await_response) begin
         // Wait for ack
-        cfg.m_edn_agent_cfg[app].vif.wait_cmd_ack_or_rst_n();
+        if (edn_rst_as_ack) cfg.m_edn_agent_cfg[app].vif.wait_cmd_ack_or_rst_n();
+        else cfg.m_edn_agent_cfg[app].vif.wait_cmd_ack();
       end
     end
     else begin

WDYT, in particular @marnovandermaas?

I think that should work. Is there a reason for edn_rst_as_ack to be 1 by default?

I think that should work. Is there a reason for edn_rst_as_ack to be 1 by default?

Yes, when the EDN interface gets reset, that means EDN is disabled. In this case, the request of the EDN agent has terminated, and there is no point waiting for an ack by CSRNG, which may or may not come as CSRNG gets disabled soon after.

Thanks for taking a look already @mwbranstad, you're input is very much appreciated. If @senelson7 could also have a look that would be great. If that's not possible now (e.g. if people are already out of office for the Thanksgiving holiday), we are also happy to incorporate any feedback at a later point, e.g., as a follow-up PR.
Our plan is to merge this PR later today to close V2 and V2S for CSRNG asap. I hope that's okay for everyone.


Provision StorageClasses to CAPG clusters

Story
-As a cluster admin, I want to have storage classes configured for CAPG clusters in order to run applications which require storage (e.g. Prometheus).
Background
Some default applications deployed by default to management clusters require storage. One such application is Prometheus which is required by our monitoring and alterting. By default, there are no storage classes on a brand new CAPG cluster.

we should use the CSI app and deploy it together
https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver

StorageClasses are deployed as part of the gcp-compute-persistent-disk-csi-driver-app, that it's a default app, so that it's deployed on every gcp cluster.


@import UIKit;

While compilation in UITextView+Placeholder.h I have a error "Use @import when modules are disabed". Unfortunately I cannot add use_frameworks! to my pod file.
Please replace @import UIKit; with #import <UIKit/UIKit.h> in header file

How did you setup UITextView-Placeholder?

So do i.Please replace @import UIKit; with #import <UIKit/UIKit.h> in header file,it is start work

#62 fixes this. Please feel free to reopen it if you still have a problem!


Some "What is Nostr" banner in footer/sidebar?

So help visitors learn about Nostr etc.

Oh yeah, I think NPubPro needs one of these more than most Nostr sites.
Nostr.band does too. A unified page they could both link to would be awesome.


add get yaml

https://github.com/apolloconfig/agollo/issues/306

Summary by CodeRabbit

New Features

Enhanced data handling capabilities by introducing functionality to convert properties to YAML format and vice versa.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 52 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-2.2%) to 72.306%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

storage/repository.go
0
52
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-2.2%

Covered Lines:
1295

Relevant Lines:
1791

💛  - Coveralls

Can anyone review this pr?

@weihubeats would you please help to add some unit tests for this new feature?

add unit tests completed

Upon reviewing feature request #306, it appears that the original intention was to support these namespaces in YAML format rather than transforming properties into YAML format, e.g.

For reference, a similar feature has been implemented in the Java SDK as demonstrated below:
Config config = ConfigService.getConfig("application.yml");
String someKey = "someKeyFromYmlNamespace";
String someDefaultValue = "someDefaultValueForTheKey";
String value = config.getProperty(someKey, someDefaultValue);

这个还没合并吗？急需要用T_T


Split Array Largest Sum

Description
This is a leetcode problem
DSA Problem
Given an integer array nums and an integer k, split nums into k non-empty subarrays such that the largest sum of any subarray is minimized.
Return the minimized largest sum of the split.
A subarray is a contiguous part of the array.
Approach: Solved using binary search

I have also made a PR #53 for this


Develop 2.1.0

New Features Memo

MainCamera setFov()
Auto detection of fontturn
Refactored a lot
Snapshot Tests for all geometries
SVG support
Customizable mesh
Drawing with colored vertices

Bug Fix

text() crashes when undefined font name is passed
boldline()
pixel format error for snapshot tests
3d model


Init methods on the different Client's are not called

While trying to get the metadata for the SAML2Client, I noticed that the init() method on the SAML2Client is never called.
The init() method of Clients.java is being called correctly. I would expect that in Clients.internalInit() the init() methods of all clients need to be called as well.

Not exactly. The init method of the Clients does not call the init(context) of the clients.
The init(context) method of the clients are called implicitely when calling redirect, getCredentials or getUserProfile.
To get the SAML metadata, you need to explictely call the init(context) method of the SAML2Client.


revise the CSS for the RO-Crate preview

The general browser does not support the current CSS for the preview.

The current CSS is not standard; it includes the Sass style. So It should be "standardized".


Dependabot doesn't properly manage multiple versions of a npm dependency in a repo

While parsing the dependencies for any JS based repos using npm or yarn, dependabot-core only maintains a single version for any dependency (from the logic in this code segment: https://github.com/dependabot/dependabot-core/blob/d6930a0ef22d67a12ba0b219fbf04a1ad5544135/common/lib/dependabot/file_parsers/base/dependency_set.rb#L59) even though the repo might have multiple versions of the dependency. Therefore, this allows only updating a particular version of a dependency in a repo. Although this does'nt impact much in case of regular dependency updates, it poses a challenge while updating security vulnerabilities associated with any dependency via dependabot as it is possible that if multiple versions exist for a dependency, the vulnerable version might not be recognised by dependabot and hence won't be updated. Couple of questions which i had on this are -

Could you explain the logic in the combined_dependency function in this code segment: https://github.com/dependabot/dependabot-core/blob/d6930a0ef22d67a12ba0b219fbf04a1ad5544135/common/lib/dependabot/file_parsers/base/dependency_set.rb#L59. Is it based on some theory of how npm and yarn package managers work or is it just a custom implementation of dependabot?
What is the reason behind parsing and updating just a single version of any dependency? Is it the complexity of implementation for multiple version or some other known fact or point that i might be missing?

@jurre Let me know your thoughts on these!

I clarified the title. This causes https://github.com/dependabot/dependabot-core/issues/5741 which can create confusion as seen in https://github.com/dependabot/dependabot-core/issues/4222.

I am facing the same issue, after adding both bootstrap 4 & 5 in our project, Dependabot is no longer warning about Bootstrap 4 cve.
{
    "dependencies": {
        "bootstrap": "^5.3.3",
        "bootstrap4"<EMAIL_ADDRESS>    }
}


ADR - Agent Framework

Motivation and Context

This ADR captures agent concepts as the project solidifies.  Will be updated as needed to remain in sync.
While the code exists as ground-truth, capturing the following additional vectors can aid with translation to Python and Java:

Conceptual overview
Objectives / requirements
Analysis
Intent

Description

This merges the initial Agent ADR with the current direction with the goal of capturing project essence for translation into  Python and Java
Contribution Checklist

[x] The code builds clean without any errors or warnings
[x] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[x] All unit tests pass, and I have added new tests where possible
[x] I didn't break anyone :smile:

Love seeing this :)
That the ADR is again at full - thanks @crickman  and team 💯
Questions:
I am somehow missing the AutoGen Summarizer which I believe clarifies it very much in a "AutoGen Chat" is this obtained by ResultParser instead? It would be great to have a mapping of concepts and technologies like a chart...
Also mentioned on other PR but we need more in Agents for them to be usable business wise:

Two Agent Chat (or a simple variation of the groupChat)
Sequential Chat
Nested Chat (which can be recursive)
A layer of reliability supporting this - similar to Polly... but I'd like this to be in kind of a business workflow, so maybe a managed worklfow system..

Otherwise, a way to extend and support this would be great... as far as I understand the strategy is to support the basic constructs but enable the others to be extended on top so maybe we see this features in Autogen for .NET...
Thoughts?
Again, thanks  @crickman & team!

@joslat - Great points, indeed.
I recently did some analysis along these vectors as part of https://github.com/microsoft/semantic-kernel/issues/6783.  I see you've discovered this issue and commented, thank you.
I hesitate to get into the immediate discussion / decision-making around the concepts you've addressed...other than to say, I'm hopeful we'll have consensus at some point to address these.

@joslat - (visibility) I have recently created an issue for summarizer:
https://github.com/microsoft/semantic-kernel/issues/6828
This issue is based on the current design; although, it might be adapted given some of the broader issues being considered (https://github.com/microsoft/semantic-kernel/issues/6783).

🍌

nice, only thing i am missing is the summarizer (maybe it's me, pretty late here...) but now looks pretty much complete and much more extensible 💯


HBASE-25097 Wrong RIT page number in Master UI

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 22s
Docker mode activated.

_ Other Tests _

+1 :green_heart:
asflicense
0m 14s
The patch does not generate ASF License warnings.

2m 55s

Subsystem
Report/Notes

Docker
Client=19.03.13 Server=19.03.13 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2458/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2458

Optional Tests
dupname asflicense

uname
Linux eec56e9c4c54 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 687e53b7e4

Max. process+thread count
47 (vs. ulimit of 30000)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2458/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


zerotierone: 1.2.8 -> 1.2.10

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/zerotierone/versions.
These checks were done:

built on NixOS
Warning: no invocation of /nix/store/vd1y0dqqxk8dm0g7daw4anxfip7l97cm-zerotierone-1.2.10/bin/zerotier-idtool had a zero exit code or showed the expected version
/nix/store/vd1y0dqqxk8dm0g7daw4anxfip7l97cm-zerotierone-1.2.10/bin/zerotier-cli passed the binary check.
/nix/store/vd1y0dqqxk8dm0g7daw4anxfip7l97cm-zerotierone-1.2.10/bin/zerotier-one passed the binary check.
2 of 3 passed binary check by having a zero exit code.
2 of 3 passed binary check by having the new version present in output.
directory tree listing: https://gist.github.com/87164b4a118f54881debe8986fa9d125
du listing: https://gist.github.com/d1842159ba2f6272856b4451d5860bf7

meta.description for zerotierone is: '"Create flat virtual Ethernet networks of almost unlimited size"'.
cc @sjmackenzie @zimbatm @obadz for testing.
Experimental: this build is cached with Cachix. To use the cache follow these experimental instructions:
One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout e7d3dee45b0068844c3dec351bfa5e30d9bae69b && nix-shell --pure -I nixpkgs=. -p zerotierone

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: zerotierone
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: zerotierone
Partial log (click to expand)
strip is /nix/store/4mf2xm9p32lzrim927yk92xhx35yaz62-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/vd1y0dqqxk8dm0g7daw4anxfip7l97cm-zerotierone-1.2.10/bin
patching script interpreter paths in /nix/store/vd1y0dqqxk8dm0g7daw4anxfip7l97cm-zerotierone-1.2.10
checking for references to /build in /nix/store/vd1y0dqqxk8dm0g7daw4anxfip7l97cm-zerotierone-1.2.10...
shrinking RPATHs of ELF executables and libraries in /nix/store/jcazlayrq1n9sjdgr8zp1x8ga73z1sgb-zerotierone-1.2.10-man
gzipping man pages under /nix/store/jcazlayrq1n9sjdgr8zp1x8ga73z1sgb-zerotierone-1.2.10-man/share/man/
strip is /nix/store/4mf2xm9p32lzrim927yk92xhx35yaz62-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/jcazlayrq1n9sjdgr8zp1x8ga73z1sgb-zerotierone-1.2.10-man
checking for references to /build in /nix/store/jcazlayrq1n9sjdgr8zp1x8ga73z1sgb-zerotierone-1.2.10-man...
/nix/store/vd1y0dqqxk8dm0g7daw4anxfip7l97cm-zerotierone-1.2.10

Success on aarch64-linux (full log)
Attempted: zerotierone
Partial log (click to expand)
strip is /nix/store/min150lkigznaayzpwvf8d4jdl1dqvx6-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/b2rzrhhvs9sxibky846ypx25c39dqkhm-zerotierone-1.2.10/bin
patching script interpreter paths in /nix/store/b2rzrhhvs9sxibky846ypx25c39dqkhm-zerotierone-1.2.10
checking for references to /build in /nix/store/b2rzrhhvs9sxibky846ypx25c39dqkhm-zerotierone-1.2.10...
shrinking RPATHs of ELF executables and libraries in /nix/store/q4dwrqra24nqmqkvxnmg392b667iisiw-zerotierone-1.2.10-man
gzipping man pages under /nix/store/q4dwrqra24nqmqkvxnmg392b667iisiw-zerotierone-1.2.10-man/share/man/
strip is /nix/store/min150lkigznaayzpwvf8d4jdl1dqvx6-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/q4dwrqra24nqmqkvxnmg392b667iisiw-zerotierone-1.2.10-man
checking for references to /build in /nix/store/q4dwrqra24nqmqkvxnmg392b667iisiw-zerotierone-1.2.10-man...
/nix/store/b2rzrhhvs9sxibky846ypx25c39dqkhm-zerotierone-1.2.10


feat(zone.js): support IE9+

Minor fixes here and there to have all meaningful tests passing in IE9.
Also adds IE9, IE10 and IE11 to the list of browsers tested in SauceLabs.

LGTM with a few comments


Expose Java API in docs

The docs only expose the CLI at the moment.
It would be cool to also show the Java interface via a tabbed code block.
Here's how to make tabbed code blocks with mkdocs.

I have had a quick play with the configuration that you suggested and can do this

Is there are preferred format for the java, or a style we can follow?
Also, some of the overall naming will need to change to align to the content being updated with this option

@alcole - let's use the Java style that's consistent with the codebase.
Perhaps we can start this initiative by adding the Java snippets to the quickstart?


Added testAppending to NSAttributedStringTests

testAppending() tests NSAttributedString() += NSAttributedString()

          2 Messages

  :book:
  Executed 121 tests, with 0 failures (0 unexpected) in 0.992 (1.138) seconds

  :book:
  Executed 115 tests, with 0 failures (0 unexpected) in 0.820 (1.010) seconds

  Generated by :no_entry_sign: danger

Current coverage is 32.51% (diff: 100%)

Merging #283 into master will increase coverage by 0.19%

@@             master       #283   diff @@
==========================================
  Files            46         46
  Lines          2033       2033
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            657        661     +4
+ Misses         1376       1372     -4
  Partials          0          0

Powered by Codecov. Last update 8ada79a...def0257

Also, as an addition you might want to add a case where strings with different attributes are added together


How to get obj asynchronously in "has_xxx_permission" synchronous method

I can only get objects through asynchronous methods, but this method is a synchronous method. I have no idea how to use this function.
I tried writing the code like this but it doesn't get the result correctly.
async def get_add_permission(self, user_id: UUID | int | None = None) -> bool:
    sessionmaker = self.get_sessionmaker()
    async with sessionmaker() as session:
        user: models.BaseUser = (
            await session.scalars(async_select(models.BaseUser).where(models.BaseUser.id == user_id))).first()
    return user.is_superuser

def has_add_permission(self, user_id: UUID | int | None = None) -> bool:
    loop = asyncio.get_running_loop()
    future = asyncio.run_coroutine_threadsafe(self.get_add_permission(user_id), loop)
    result = future.result()
    return result

Can someone tell me how to solve this problem, thanks!

"has_xxx_permission" is a method of "BaseModelAdmin" class

Try to use async_to_sync function
Ofc you need to install pip install asgiref
from asgiref.sync import async_to_sync

@async_to_sync
async def get_add_permission(...):

Or
from asgiref.sync import async_to_sync

res = async_to_sync(get_add_permission(...))

thank for your solution, but i no longer user this, i'll close the issue.


Unknown error after submitting the ban appeal.

Hey so I have followed all setup steps listed however when I click the submit button on the ban appeal i get this error message:
{"errorType":"Error","errorMessage":"Failed to submit message","trace":["Error: Failed to submit message","    at Runtime.handler (/var/task/func/submit-appeal.js:8530:13)","    at processTicksAndRejections (internal/process/task_queues.js:95:5)"]}
Any ideas, everything else works fine however the appeal never gets sent due to that error

I would check your bot token and permissions first make sure those are correct then trigger a redeploy to ensure they are set in your environment. Netlify will not redeploy you site when you change those environment variables

The bot has the Administrator permission so I don't think its the bots permissions, I have just replaced the discord token and redeployed it. Should the bot come online at this point or no? currently with the application deployed the bot is not online!

The bot will never be "online"  but that's expected behavior

I have redeployed the bot after updating the prefix and tried again but I am still getting that same issue

I may be missing something but that trace points to a file (submit-appeal.js) that doesn't exist

Yep, I was wondering where that file was, I haven't modified the source code in any way, I just clicked the button that was on the README.md and put in the variables it asked for.

It's submission-created.js, it gets renamed at build time:
https://github.com/sylveon/discord-ban-appeals/blob/e041d25dafae99e4c5f71bca615f5c6c9b65f893/build.js#L38
This is because Netlify Forms wants that exact name and I don't believe I can use that name when Netlify Forms is disabled.

Make sure the channel and server ID is correct, and that the bot joined the server

I would suggest deleting the Netlify site and re-deploying it after TRIPPLE checking your env variables. I just did a deployment of my own and got it working first try. the only thing I added was the SKIP_BAN_CHECK environment variable so I could test it without banning myself.

It's submission-created.js, it gets renamed at build time:
https://github.com/sylveon/discord-ban-appeals/blob/e041d25dafae99e4c5f71bca615f5c6c9b65f893/build.js#L38
This is because Netlify Forms wants that exact name and I don't believe I can use that name when Netlify Forms is disabled.

ah, neat @sylveon! good to know

Yep, recreating the Netlify site and redeploying it worked, thanks very much for your help!


Adjust find and replace button sizes

Adjust find and replace button sizes to align nicely

Probably add padding to <|> buttons
Your Environment

Data Curator version: 0.14.0
Operating System and version:  macOS High Sierra 10.13.4

Potentially yes would be better, but not a major concern for me.
@Stephen-Gates did you create an issue to include some warning text about the undo functionality not working in find and replace?

Good point. I’ll generalise the issue title so we can cover it here

[ ] include some warning text about the undo functionality not working in find and replace?
[ ] fix button alignment
[ ] adjust panel title

@Stephen-Gates
What's the expectation with Undo -> when replace is fixed, I would expect that because we're deferring to handsontable, there will be some undo functionality here.
But the replaceAll, for performance reasons, we actually clobber the entire array set (rather than using handsontable set for each cell, which would be far slower), so there would be no undo here.
I can provide the warning when the user hits replace/all with warning and prompt to proceed with OK/Cancel button?

Perhaps like you have with other property data entry errors, when a user adds a value in the replace text, some red text is displayed warning that "Replacing values cannot be undone"

OK will have a look and see what I can do


ci(NODE-4589): add benchmark testing task to CI

Description
What is changing?
This PR configures CI to run our driver performance benchmarks.  It adjusts the output of the script to be in a format that can be sent to Evergreen.
It also does some misc code cleanup.

Some functions have been refactored to use async/await (but not benchmarking functions)
Some functions have been given doc comments w/ jsdoc types.  These were added while I was developing to help me trace the code, and they seemed worth leaving.

Is there new documentation needed for these changes?
No.

Nice refactor to async functions, cleans up the code nicely. Perf numbers showing up for others looking:


Caution Regarding Validated Login

Because this code is read-only, I recommend removing the passcode requirement and use -1 for the passcode.  Use of a valid passcode for read-only connections can cause a server to block the connected station's packets (this is part of the q algorithm loop prevention on the server) and prevent multiple connections from the user (from different devices for instance).  Using -1 for the passcode loses no functionality for read-only connections and simplifies interface requirements for users.
Hope this helps.
Pete AE5PL

Is there any one using this code? Cannot get it to work..
No APRS coming in, could it be the server ? I'm in Europe so should it be possible to select a local server?
Ben

Sure, here it is :
[{"id":"f7a1a7a5a8b13c9f","type":"aprs rx","z":"955ce123e2f7e94b","name":"PA3BWE-5","aprs_config":"34bf1f1c16cc25dd","x":140,"y":460,"wires":[["e418100abf68602b"]]},{"id":"e418100abf68602b","type":"switch","z":"955ce123e2f7e94b","name":"Discard Server Messages","property":"payload.raw","propertyType":"msg","rules":[{"t":"cont","v":"javAPRSSrvr","vt":"str"},{"t":"nempty"}],"checkall":"false","repair":false,"outputs":2,"x":350,"y":460,"wires":[[],["865ddfc2fceef12a"]]},{"id":"865ddfc2fceef12a","type":"change","z":"955ce123e2f7e94b","name":"Change Lat/Lon Payload","rules":[{"t":"set","p":"payload.lat","pt":"msg","to":"payload.data.latitude","tot":"msg"},{"t":"set","p":"payload.lon","pt":"msg","to":"payload.data.longitude","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":430,"y":540,"wires":[["f528d383aa086cd9"]]},{"id":"f528d383aa086cd9","type":"debug","z":"955ce123e2f7e94b","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload.lat","targetType":"msg","statusVal":"","statusType":"auto","x":760,"y":480,"wires":[]},{"id":"34bf1f1c16cc25dd","type":"aprs config","filter":"p/pa3bwe","name":""}]

Currently you have 2 connections to the server and your filter is filter b/pa3bwe* (any callsigns with pa3bwe as the first 6 characters).  Try b/PA3BWE* or p/PA3BWE as your filter.  This also means you must have a station transmitting that is being seen on APRS-IS (for instance PA3BWE or PA3BWE-5) for your client to see packets.

Correct, I disabled one connection and my filter is set to p/pa3bwe.
Also on aprs.fi I see messages coming in from pa3bwe-5 (through app on my phone) but I can not get the lon/lat in nodered
In debug window msg.payload.lat remains undefined !

Please re-read my response.  Use upper case for the callsign.

Yes callsign is uppercase!

Pass can be code or -1 for read-only, tried both (with proper pass) but no luck

Callsign in your FILTER must be upper case!

This has nothing to do with your client callsign/passcode.  It has to do with your filter.

great working now, uppercase in filter did the trick !

One more question:
Which other data variables are  parsed ( like payload.data.latitude ) ?
Where can I find them?


[bug] create new windows set_transparent is missing

Describe the bug
Hi Guys, I have the next code, I don't found a way to set the window transparent in child windows.
So if code is there, but not in documentation, how I could create a new window with transparent option = true? and avoid this white ugly background...
pub fn CreateWindow(handle: AppHandle) {
	let app = tauri::WindowBuilder::new(
		&handle,
		"systemTray",
		tauri::WindowUrl::App("systemTray.html".into())
	).build().unwrap();
	app.set_decorations(false);
}

Reproduction
No response
Expected behavior
No response
Platform and versions
macOS ventura 13.3.1
tauri = { version = "1.3", features = ["api-all", "macos-private-api", "system-tray"] }

Stack trace
No response
Additional context
No response

afaik transparency can only be enabled on the WindowBuilder (before the window is created), not on the Window, so you're looking for this: https://docs.rs/tauri/latest/tauri/window/struct.WindowBuilder.html#method.transparent
Inserted into your code:
pub fn CreateWindow(handle: AppHandle) {
	let app = tauri::WindowBuilder::new(
		&handle,
		"systemTray",
		tauri::WindowUrl::App("systemTray.html".into())
	)
          .transparent(true)
          .build().unwrap();
	app.set_decorations(false);
}

Note that on macOS you'll have to enable macOSPrivateApi in tauri.conf.json for this to work.


Teach diagnostic about non-Sendable global lets to respect @preconcurrency

The diagnostic for non-Sendable globa/static let properties was checking for a Sendable conformance without considering @preconcurrency. Emit this diagnostic via a @preconcurrency-sensitive path.
Fixes rdar://121889248.

@swift-ci please smoke test


Cachet serving up autoload.php in plain-text after install

Cachet serving up autoload.php after install.
make('Illuminate\Contracts\Http\Kernel');
$request = Illuminate\Http\Request::capture();
$response = $kernel->handle($request);

$response->send();
$kernel->terminate($request, $response);

Looks like you don't have php enabled on your server?

Yep. Running Debian. Working fine now. Thanks :) Turns out i needed to
apt-get install libapache2-mod-php5
On Fri, Jul 10, 2015 at 1:44 AM, Graham Campbell<EMAIL_ADDRESS>wrote:

Looks like you don't have php enabled on your server?
—
Reply to this email directly or view it on GitHub
https://github.com/cachethq/Cachet/issues/793#issuecomment-120302836.

So you didn't have php on your server then, or rather only had php's cli interface.

Correct
On Fri, Jul 10, 2015 at 10:02 AM, Graham Campbell<EMAIL_ADDRESS>wrote:

So you didn't have php on your server then, or rather only had php's cli
interface.
—
Reply to this email directly or view it on GitHub
https://github.com/cachethq/Cachet/issues/793#issuecomment-120460725.


'Segmentation fault (core dumped)'

Hi mate, when I was using tool_transfer_control.py, I got the segmentation fault error, all the models were downloaded from official link.
Do you have any idea to solve it?

Could you provide your full scripts?


Pack setup to shell script (unix)

https://github.com/Visual-Regression-Tracker/Visual-Regression-Tracker/issues/120

This PR has stalled for a few months. Are there any objections if I step in to finish it off?

@dcrowe  You can proceed with it. thanks.


[Paginating ClusterManager Read APIs]  Blocking non-paginated calls

Is your feature request related to a problem? Please describe
To prevent unfiltered or non-paginated Admin API queries from stressing out large clusters (clusters having large number of indices or shards), a mechanism to invalidate/fail those requests is required. Each API can define it's own dynamic cluster setting with a value denoting the limit it can support, say _cat/indices can define a setting named cat.indices.limit = 1000 denoting it can only serve requests which query less than 1k indices at a time.
This would help to prevent performance degradations in the cluster by the read (_cat) APIs which are merely used for monitoring the cluster and also encourage users to move to paginated counterparts of such APIs (https://github.com/opensearch-project/OpenSearch/issues/15014).
Describe the solution you'd like
The approach should be able to incorporate all the _cat APIs and provide abstraction such that, the concrete RestActions can simply define the actual validations specific to them and offload rest of the work.
On an initial thought, all (most) of the _cat APIs would require hold of clusterState to validate and resolve the RestRequest, to identify the number of shards, indices etc. that are being queried. A pre-validation can thus make use of local cluster state to validate the request.
A new RestCatLimitSettings class can be introduced, that will can be used by each of the API to define it's own cluster setting at a common place.

public class RestCatLimitSettings {

    public static final Setting<Integer> CAT_INDICES_LIMIT_SETTING = Setting.intSetting(
        "cat.indices.limit",
        -1,
        Setting.Property.NodeScope,
        Setting.Property.Dynamic
    );

    public static final Setting<Integer> CAT_SHARDS_LIMIT_SETTING = Setting.intSetting(
        "cat.shards.limit",
        -1,
        Setting.Property.NodeScope,
        Setting.Property.Dynamic
    );

    public static final Setting<Integer> CAT_SEGMENTS_LIMIT_SETTING = Setting.intSetting(
        "cat.segments.limit",
        -1,
        Setting.Property.NodeScope,
        Setting.Property.Dynamic
    );

    private static final List<Setting<Integer>> restCatLimitSettingsList = unmodifiableList(
        Arrays.asList(CAT_INDICES_LIMIT_SETTING, CAT_SHARDS_LIMIT_SETTING, CAT_SEGMENTS_LIMIT_SETTING));

    private Map<String, Integer> restCatLimitsMap;

    public RestCatLimitSettings(ClusterSettings clusterSettings, Settings settings) {
        restCatLimitsMap = new HashMap<>();
        restCatLimitSettingsList.forEach(setting -> restCatLimitsMap.put(setting.getKey(), setting.get(settings)));

        // define consumer to update the restCatLimitsMap if any of the settings change
    }

    public Map<String, Integer> getRestCatLimitsMap() {
        return restCatLimitsMap;
    }
}

Introducing requiresPreValidation and PreValidationPredicate in AbstractCatAction which the onboarding APIs can override and provide their own implementations.

public abstract class AbstractCatAction extends BaseRestHandler {

   // To check if the RestAction is onboarded to fail fast mechanism
    protected Boolean requiresPreValidation(RestRequest request) {
        return false;
    }

   // To be overriden by the onbaording actions if they require specific validations
   // else, by default every call would be blocked
    protected Predicate<ClusterStateResponse> preValidateRestRequest(RestRequest request) {
        return ClusterStateResponse -> false;
    }

    @Override
    public RestChannelConsumer prepareRequest(final RestRequest request, final NodeClient client) throws IOException {

        if (request.getLargeClusterValidationRequired()) {
            if (requiresPreValidation()) {
                final ClusterStateRequest clusterStateRequest = new ClusterStateRequest();
                clusterStateRequest.local(true);
                return restChannel -> client.admin().cluster().state(clusterStateRequest, new RestActionListener<ClusterStateResponse>(restChannel) {
                    @Override
                    public void processResponse(final ClusterStateResponse clusterStateResponse) throws Exception {
                        if (preValidateRestRequest(request).test(clusterStateResponse)) {
                            throw new Exception();
                        }
                        RestChannelConsumer action = doCatRequest(request, client);
                        action.accept(restChannel);
                    }
                });
            }
        }
        return doCatRequest(request, client);

    }

Related component
Cluster Manager
Describe alternatives you've considered
No response
Additional context
No response

Raised PR to resolve this issue. @rajiv-kv can you assign this to me.

Follow up task - Evaluate if we need to configure a lower and upper bound value for response limit settings.

Follow up task - Evaluate if we can introduce stable integ tests for https://github.com/opensearch-project/OpenSearch/pull/15986


add indonesia address

I have made things!

Checklist

[ V ] I have read contributing guidelines
[ V ] I'm sure that I did not unrelated changes in this pull request
[ V ] I have created at least one test case for the changes I have made

Related issues

@Radiva I can't accept this PR. There is only one provider. Please, read contributing guidelines and data/template.md

@Radiva I can't accept this PR. There is only one provider. Please, read contributing guidelines and data/template.md

oh, ok
so, if I want to contribute to add a new locale, it must complete all the templates?

@Radiva Of course.


Create a workbook for microsoftdefenderforidentity

Required items, please complete
Change(s):

Workbooks/defenderforidentity.json
Workbooks/WorkbooksMetadata.json
Workbooks/Images/Preview/microsoftdefenderforidentity-black.png
Workbooks/Images/Preview/microsoftdefenderforidentity-white.png

Reason for Change(s):

New Workbook Addition with the below tabs
Overview
Logon Events
Query Events
Directory Events
Alerts

Testing Completed:

Tested with data

Checked that the validations are passing and have addressed any issues that are present:

Yes

@Azure/sentinel-repo-books-reviewers - Request your review.

v-atulyadav

@v-atulyadav - Could you please help with further approvals for merge.


Create borg-kindberg.txt

@J-kit Pull request merged. Please notice that free educational license for JetBrains tools is for high and higher schools students, i.e. those who are over 13 of age. Thank you!


html mustache output not working?

Vue.js version
Lastest - https://cdn.jsdelivr.net/vue/latest/vue.js
Reproduction Link
http://codepen.io/caiokawasaki/pen/dXaPyj
Steps to reproduce
Fill the input field in the top right
What is Expected?
Highlight the text using the filter I've created
What is actually happening?
The filter is returning html as expected, but when outputing with {{{}}} I'm geting an error
Stackoverflow : http://stackoverflow.com/questions/38925579/how-to-output-html-from-filter-inside-mustache

Are you talking about product.name | highlight? If so, {{{ }}} shorthand has been deprecated, use v-html instead. I'd use computed property by the way.

But, how to apply a filter into a v-html? I tried and things don't work as expected...

I'd use a computed property, for example:
computed: {
  highlightedName: function () { /* return your htmlized name here */ }
}

By the way, please use our forum or Gitter for questions like this.


Cabuzau - Logo is missing

ENVIROMENT: production
URL: https://scrapers.peviitor.ro/
Browser: Chrome
Device: laptop
OS: Windows 10
STEPS TO REPRODUCE:

Open URL in browser
Type the name of the company in the search bar

EXPECTED RESULT:
We can see the logo.
ACTUAL RESULT:
The logo is missing.

cabuzau s-a schimbat în compania de apa Buzău.

It work!


Corrected premise to premises

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@LanaChin PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


react-router-redux@4: Component not rendered after replace/push dispatch

I'm getting the issue described at issue title.
<Router
    render={reduxAsyncConnect}
    history={history}
  >
  <Route path="/" component={MainLayout}>
      <IndexRoute component={App} />

      <Route path="login"  component={LoginPage} />
  </Route>
  </Router>

Trying to localize the issue I found out that this code works just fine after store initialization:
store.dispatch(replace('/login'))

But this doesn't:
setTimeout(() => {
     store.dispatch(replace('/login'))
})

It redirects but shows no LoginPage component and gives no error. When I open /login directly it renders just fine.

It's probably something in your reduxAsyncConnect render method. Without knowing what's in there, I'm not sure what the exact issue is.

@timdorr that was my first suggestion. The bug appears even when I remove the render prop. Do you have any other Ideas of what I would try to find a reason?

@finom solution for RR4 is using not reduxAsyncConnect it just don't work with RR4 use react-jobs

@mr47 I use RR3.

@finom but issue title is about RR4?

@finom yeah you right, its stupid versioning

@mr47 no it's about react-router-redux@4 and react-router@3


PPU License Question

Question 14
"Can I have a dataflow run in a Premium per user workspace, be imported into a Power BI dataset in another workspace, and users who consume that content not need a Premium per user license?
As long as the Power BI report author has a Premium Per User license, this is possible during the preview period for PPU."
What does this answer actually mean? Will it NOT be possible after PPU is GA? Please clarify.

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

ID: 4810006b-6245-ccd5-0d2d-9b1089eb06ab
Version Independent ID: fe970573-f765-75dc-048e-40ef64cf4285
Content: Power BI Premium Per User FAQ (preview) - Power BI
Content Source: powerbi-docs/admin/service-premium-per-user-faq.md
Service: powerbi
Sub-service: powerbi-premium
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment, @mhammons. This issue has been assigned to the doc author for review.

Hi @mhammons ,
Thank you for your question.  I checked with the Engineer responsible for this feature and he responded that #14 is not supported.  If you have additional questions, try asking the Power BI community (community.powerbi.com).
All the best,
The DOCS team


fix(span): dont render control characters

Fixes #1226 yet another time as Span and therefore Line and Text render differently than #1226 expected.
No there are no tests for this included as there should be a single way of rendering stuff and not multiple ones, so the existing tests should point at the single way of rendering. If #1259 gets fixed the tests from #1226 would also test this.

As previously mentioned, Span and Line's implementation intentionally differs from the methods on Buffer as the methods on buffer were both incorrect in a few ways (e.g. not fully styling the entire area of a line), while being so widely used that changing this behavior would be seen as a breaking change in a way that would cause problems for just about every application built on Ratatui.

Thanks @EdJoPaTo


Add boolean flag to Diff to indicate if changes were detected during the diff

Btw, I think it makes sense to explicitly say in the doc that has_changes is only valid to read after serialization of the diff.


MSFT: 7334254

I wanted to use recycler temp allocator because we can have shorter lifetime for different objects in
moduleRecord than the scriptContext. At it turned out we need to keep various helper structures alive
longer due to debugger reparsing of source code, and the module will be kept alive by the JavascriptLibrary
anyhow. Recycler tempallocator is not designed to be used for this long period. Change it to use the
general arena allocator.

@boingoing can you take a look?

LGTM


Missing files in release

I just installed the latest release and immediately wanted to try out your example with the PrivateKeyStore, but that class does not exist there. I've had to pull in "dev-master" directly, but I guess it would be better to be able to use the latest release instead :)

Yes, this should be fixed now with the latest release.


AEM Environment Indicator rendered two times when there is an iframe (experience fragments)

Required Information

[X] AEM Version, including Service Packs, Cumulative Fix Packs, etc: AEM <IP_ADDRESS>
[X] ACS AEM Commons Version: 5.0.14
[X] Reproducible on Latest? yes, tested also in 5.0.2

Expected Behavior
The AEM Environment indicador should be rendered only one time.

Actual Behavior
The AEM Environment indicator is shown twice when there is an iframe, for instance in the Experience Fragments editor:

Steps to Reproduce

Navigate to a Experience Fragment, for instance: http://localhost:4502/editor.html/content/experience-fragments/core-components-examples/library/simple-experience-fragment/master.html
Click in an existing variation
A new AEM Environment Indicator is rendered inside the iframe.

Links
The related code is here: https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/bundle/src/main/java/com/adobe/acs/commons/wcm/impl/AemEnvironmentIndicatorFilter.java#L229

I will try to fix, and if I can't I would let you know.

PR: https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/2807

Fixed via https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/2807

released in 5.3.0


FancyZones failing to reposition Visual Studio's recreated tool windows correctly

Microsoft PowerToys version
0.57.2
Running as admin

[ ] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
There is pretty in-depth discussion here. Hope you don't mind me linking rather than re-stating.
✔ Expected Behavior
Even if VS recreates tool windows, FancyZones should recognize those windows as being "the same" (unless VS is doing something funky?) and therefore be able to position them in their last known zone when the “Move newly created windows to their last known zone” setting is enabled.
❌ Actual Behavior
Recreated tool windows are moved to the center of my screen every time I debug or apply window layout in VS.
Caveat: the behavior was intermittent to some extent, though I could never figure out why.
Other Software
VS 2022 (preview or stable did not matter)

FancyZones currently saves in the history one zone per app, so it's expected that new windows will be opened in that one zone.
We can save more zones in the app history in the future (ref: https://github.com/microsoft/PowerToys/issues/16659). However, in this case, it won't guarantee that they'll be kept in the same zone as before. They can be rearranged if they are created by VS in a different order.
I'm afraid we can't do much in this case, since we can't rely on window name or class to differ windows of the same app and save that info for future usage.


Absolute media paths defined by collection

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

Currently, using the media_folder option in a collection seems to make all image widgets upload their files relative to path of the items in that collection. This means it's not possible to specify an absolute path for all media files in a collection to share, or for media in multiple collections to share an absolute folder other than the master media_folder folder.
Describe the solution you'd like

I think this should be possible. The most intuitive way I see would be for all paths starting with a slash to be absolute, and all lacking it to be relative. I.e.
media_folder: /assets/posts

would upload files to an assets/posts folder relative to the site_url, while
media_folder: assets/posts

would upload files to an assets/posts folder relative to the individual collection file.
Describe alternatives you've considered

The other solutions I can think of are all less elegant, all involving some other option, like media_folder_absolute: true. But I know the proposed solution would be breaking for some.
Additional context

For me, this is important because I optimize images differently depending on their file path. But in general, I think it would help with organization for sites where assets don't need to be stored relative to the content referencing them.

Hi @dawaltconley, that is actually supported (just by prefixing the folder with a slash). Can you share your config.yml and CMS version?

Well...it is working for me now. Apologies, I must have messed something up. 😳  Great feature!!


onAddTag called even when onBeforeAddTag returns false

Returning false from onBeforeAddTag only prevents the tag from being added to the tags array; the onAddTag callback is still called, so any wrapping component will expect that the tag has been added (though it hasn't).
https://github.com/tutorialhorizon/react-tagged-input/blob/e155c0f34738a5f4a733cc48704a6fc80a0ddf50/src/TaggedInput.jsx#L281-L283
This is inconsistent with onRemoveTag and onBeforeRemoveTag, where returning false from onBeforeRemoveTag prevents the tag from being removed and the onRemoveTag callback from being called.

Good catch. I am inclined to making the onBeforeAddTag behave the same way as onBeforeRemove tag. Will update it soon.


hmr not work when used in vuex

https://github.com/MorisHarA/app
i just config by vuex official document

https://github.com/MorisHarA/app/blob/master/src/store/index.js#L28
I think you have to provide all module paths, inthat array here...

Hi there!
I close this issue because of inactivity. If you want to follow up on this issue, please open a new one, and provide the necessary information (a working reproduction etc.) in that issue.


feat: Migrating TFOD to TensorFlow 2.0

@javoweb can we try using onepanel/dl:0.17.0 image for this and see if it works? The pip installation the support the feature flag we discussed.

@javoweb can we try using onepanel/dl:0.17.0 image for this and see if it works? The pip installation the support the feature flag we discussed.


VulkanExampleBase::setupDepthStencil() VK_IMAGE_USAGE_TRANSFER_SRC_BIT

Why is VK_IMAGE_USAGE_TRANSFER_SRC_BIT included in image.usage in setupDepthStencil()?
https://github.com/SaschaWillems/Vulkan/blob/0eb306ec9e1e90e0071a957dfd495391b0c7eae8/base/vulkanexamplebase.cpp#L1994

This is a left-over. There were samples in the early days that would read from the depth buffer.


Update asn1c-usage.tex

The encode function call will crash if it's not initialized. Update the document to make it more clear.

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

Coverage remained the same at 71.035% when pulling ca65a48c8602ccc9190153a18c02c8f6fbc172c6 on fei4xu:patch-1 into 88ed3b5cf012918bc1084b606b0624c45e0d2191 on vlm:master.

Thank you!


fix UnhandledPromiseRejectionWarning

tested with: docker pull lucascybersec/spkt8

Tried changing the Deployment file
 yaml       component: spekt8     spec:       containers:         - name: spekt8           image: lucascybersec/spekt8           ports:             - containerPort: 3000
Still getting the same error

Also to note i was facing an issue with fabric, so changed the file to look like below.
From

apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
to
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding


Strange null ref in COM call

After #5587 was fixed, I'm able to get much further with my project. Most everything works, but there's still some issues calling into SharpDX (or so it seems). I get a crash with this stack:
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at Veldrid.D3D11.D3D11Swapchain..ctor(Device, SwapchainDescription&) + 0x342
   at Veldrid.D3D11.D3D11GraphicsDevice..ctor(GraphicsDeviceOptions, Nullable`1) + 0x1e3
   at Veldrid.GraphicsDevice.CreateD3D11(GraphicsDeviceOptions, IntPtr, UInt32, UInt32) + 0xfb
   at Veldrid.StartupUtilities.VeldridStartup.CreateDefaultD3D11GraphicsDevice(GraphicsDeviceOptions, Sdl2Window) + 0x6e
   at Veldrid.StartupUtilities.VeldridStartup.CreateGraphicsDevice(Sdl2Window, GraphicsDeviceOptions, GraphicsBackend) + 0x86
   at SampleBase.VeldridStartupWindow.Run() + 0x9c
   at Instancing.Program.Main(String[]) + 0x6d
   at Instancing.Desktop!<BaseAddress>+0x4ad77a
   at Instancing.Desktop!<BaseAddress>+0x4ad807

I believe that it's hitting a null ref on this line. dxgiDevice is null when it shouldn't be, and isn't when using CoreCLR. That query function shouldn't return null (it should throw instead), as far as I know.
The problem can be reprod by checking out the corert-crash branch of https://github.com/mellinoe/veldrid-samples/tree/corert-crash.
dotnet publish -r win-x64 src\Instancing\Desktop\Instancing.Desktop.csproj

I tried to repro this, but I'm getting:
C:\Temp\veldrid-samples-corert-crash\src\AssetProcessor\AssetProcessor.csproj : error : The project was restored using Microsoft.NETCore.App version 2.1.1, but with current settings, version 2.1.0 would be used instead.  To resolve this issue, make sure the same settings are used for restore and for subsequent operations such as build or publish.  Typically this issue can occur if the RuntimeIdentifier property is set during build or publish but not during restore.

All I did was downloading your branch as a ZIP from GitHub and running the command you provided.

Looks like you're missing the 2.1.0 runtime, or your SDK is targeting a different version or something? I haven't kept up with the SDK well enough to understand what that error means.

No, the case of missing runtime is:
C:\Program Files\dotnet\sdk\2.1.201\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.TargetFrameworkInference.targets(135,5): error : The current .NET SDK does not support targeting .NET Core 2.1.  Either target .NET Core 2.0 or lower, or use a version of the .NET SDK that supports .NET Core 2.1. [C:\Temp\veldrid-samples-corert-crash\src\AssetProcessor\AssetProcessor.csproj]

I got that first, so I uninstalled all the .NET Core SDKs I had and installed the latest one from the web.

This is https://github.com/dotnet/cli/issues/9544. It can be worked around it by adding <TargetLatestRuntimePatch>true</TargetLatestRuntimePatch> to src\AssetProcessor\AssetProcessor.csproj or by downgrading to 2.1.300 SDK.
I can get further with this workaround, but it is failing:
 Processing C:\veldrid-samples\assets\models\rock01.dae

  Unhandled Exception: System.IO.FileNotFoundException: Could not find or load the native library: Assimp64.dll
     at NativeLibraryLoader.LibraryLoader.LoadNativeLibrary(String name, PathResolver pathResolver)

...

C:\veldrid-samples\Directory.Build.targets(13,5): error MSB3073: The command "dotnet C:\veldrid-samples\bin/Debug/AssetProcessor/netcoreapp2.1/AssetProcessor.dll C:\veldrid-samples\bin\obj\Instancing\/ProcessedAssets C:\veldrid-samples\assets\textures\texturearray_rocks_bc3_unorm.ktx C:\veldrid-samples\assets\textures\lavaplanet_bc3_unorm.ktx C:\veldrid-samples\assets\textures\texturearray_rocks_etc2_unorm.ktx C:\veldrid-samples\assets\textures\lavaplanet_etc2_unorm.ktx C:\veldrid-samples\assets\models\rock01.dae C:\veldrid-samples\assets\models\sphere.obj" exited with code -532462766. [C:\veldrid-samples\src\Instancing\Application\Instancing.csproj]

@jkotas Hm, sorry about that -- I haven't seen that issue before. Instead of working around that, I've pushed a commit that changes another one of the projects to use CoreRT. It's simpler but still exhibits the same crash.
dotnet publish -r win-x64 src\GettingStarted\GettingStarted.csproj

I opened a pull request with a fix.
Once that's merged, you'll hit a MissingMethodException because SharpDX reflection-activates things and we didn't bother compiling the constructors because things looked unused.
I used following RD.XML to fix it:
<Directives>
    <Application>
        <Assembly Name="SharpDX.D3DCompiler" Dynamic="Required All" />
        <Assembly Name="SharpDX.Direct3D11" Dynamic="Required All" />
        <Assembly Name="SharpDX" Dynamic="Required All" />
        <Assembly Name="SharpDX.DXGI" Dynamic="Required All" />
        <Assembly Name="Veldrid" Dynamic="Required All" />
        <Assembly Name="Veldrid.MetalBindings" Dynamic="Required All" />
        <Assembly Name="Veldrid.OpenGLBindings" Dynamic="Required All" />
        <Assembly Name="Veldrid.SDL2" Dynamic="Required All" />
        <Assembly Name="Veldrid.StartupUtilities" Dynamic="Required All" />
        <Assembly Name="vk" Dynamic="Required All" />
    </Application>
</Directives>

It's possible not all of this is needed (having this all means compilation throughput and size of the output binary is worse), but I prefer not fixing these one-by-one. You should be able to tweak it as needed.


fix(cleanup): removed some leftover unused internal method

Followup to https://github.com/paypal/downshift/pull/265#issuecomment-363553862
Checklist:

[ ] Documentation - n/a
[ ] Tests - pass
[x] Ready to be merged

[ ] Added myself to contributors table

Codecov Report

Merging #327 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #327   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           4      4
  Lines         324    324
  Branches       80     80
=====================================
  Hits          324    324

Impacted Files
Coverage Δ

src/downshift.js
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks!


hook is triggered with empty object on operator startup

Expected behavior (what you expected to happen):
The hooks should not run until a resource is Added
Actual behavior (what actually happened):
The hooks runs when the operator starts and prints the metadata.name as null
Steps to reproduce:

Create the hooks and deploy via custom docker image like in the readme
Check the logs

Environment:

Shell-operator version:
Kubernetes version:
Installation type (kubectl apply, helm chart, etc.):

Anything else we should know?:
Additional information for debugging (if necessary):
Hook script
#!/usr/bin/env bash
if [[ $1 == "--config" ]]; then
cat <<EOF
configVersion: v1
kubernetes:

apiVersion: "svc.wolf.eu/v1alpha1"
kind: Application
executeHookOnEvent: ["Added"]
EOF
exit 0
fi

echo "reading: $BINDING_CONTEXT_PATH"
appName="$(jq -r .[0].object.metadata.name "$BINDING_CONTEXT_PATH")"
echo "App '${appName}' added"
image="(jq -r .[0].object.spec.image)"
kubectl create deployment "$appName" --image="$image"

Logs
{"level":"info","msg":"queue task EnableKubernetesBindings:::create-app.sh:EnableKubernetesBindings for hook create-app.sh","operator.component":"initMainQueue","time":"2022-07-30T12:01:58Z"}
{"level":"info","msg":"queue task EnableKubernetesBindings:::delete-app.sh:EnableKubernetesBindings for hook delete-app.sh","operator.component":"initMainQueue","time":"2022-07-30T12:01:58Z"}
{"binding":"","hook":"create-app.sh","level":"info","msg":"Enable kubernetes binding for hook","queue":"main","task":"EnableKubernetesBindings","time":"2022-07-30T12:01:58Z"}
{"level":"info","msg":"Create metric histogram shell_operator_kubernetes_client_rate_limiter_latency_seconds","operator.component":"metricsStorage","time":"2022-07-30T12:01:58Z"}
{"binding":"","hook":"create-app.sh","level":"info","msg":"Kubernetes bindings for hook are enabled successfully, 1 tasks generated","queue":"main","task":"EnableKubernetesBindings","time":"2022-07-30T12:01:58Z"}
{"binding":"kubernetes","event":"kubernetes","hook":"create-app.sh","level":"info","msg":"Execute hook","queue":"main","task":"HookRun","time":"2022-07-30T12:01:58Z"}
{"binding":"kubernetes","event":"kubernetes","hook":"create-app.sh","level":"info","msg":"reading: /tmp/shell-operator/hook-create-app-sh-binding-context-dac22494-025e-4a91-83da-87235ab76c89.json","output":"stdout","queue":"main","task":"HookRun","time":"2022-07-30T12:01:58Z"}
{"binding":"kubernetes","event":"kubernetes","hook":"create-app.sh","level":"info","msg":"App 'null' added","output":"stdout","queue":"main","task":"HookRun","time":"2022-07-30T12:01:58Z"}
{"binding":"kubernetes","event":"kubernetes","hook":"create-app.sh","level":"info","msg":"error: failed to create deployment: Deployment.apps "null" is invalid: spec.template.spec.containers[0].name: Invalid value: "(jq -r -[0]-object-spec-image)-gqgfk": a lowercase RFC 1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name',  or '123-abc', regex used for validation is 'a-z0-9?')","output":"stderr","queue":"main","task":"HookRun","time":"2022-07-30T12:01:58Z"}
{"binding":"kubernetes","event":"kubernetes","hook":"create-app.sh","level":"error","msg":"Hook failed. Will retry after delay. Failed count is 1. Error: create-app.sh FAILED: exit status 1","queue":"main","task":"HookRun","time":"2022-07-30T12:01:58Z"}

@bluebrown hello! It seems that you need to add executeHookOnSynchronization: false to your hook config.
See the example here https://github.com/flant/shell-operator/blob/8c048181e149b4bd8268eac83261f44adff7be69/pkg/shell-operator/testdata/startup_tasks/hooks/hook01_startup_20_kube.sh#L10

Hi, thanks. I decided to loop through the items instead. So I can leave sync on, and also deal with potential multiple objects.
readarray -t items < <(jq -r -c '.[]' "$BINDING_CONTEXT_PATH")

for item in "${items[@]}"; do
    echo "App '${appName}' added"
    appName="$(jq -r .object.metadata.name <<<"$item")"
    image="$(jq -r .object.spec.image <<<"$item")"
    kubectl create deployment "$appName" --image="$image"
done

I noticed that the log messages a bit inconsistent. In the Added hook its called deployment.apps/null and in the Deleted hooks it's called "deployment.apps \"null\", in the msg field.

{"binding":"kubernetes","event":"kubernetes","hook":"create-app.sh","level":"info","msg":"App '' added","output":"stdout","queue":"main","task":"HookRun","time":"2022-07-30T15:49:18Z"}
{"binding":"kubernetes","event":"kubernetes","hook":"create-app.sh","level":"info","msg":"deployment.apps/null created","output":"stdout","queue":"main","task":"HookRun","time":"2022-07-30T15:49:18Z"}

{"binding":"kubernetes","event":"kubernetes","hook":"delete-app.sh","level":"info","msg":"App '' added","output":"stdout","queue":"main","task":"HookRun","time":"2022-07-30T15:49:18Z"}
{"binding":"kubernetes","event":"kubernetes","hook":"delete-app.sh","level":"info","msg":"deployment.apps \"null\" deleted","output":"stdout","queue":"main","task":"HookRun","time":"2022-07-30T15:49:19Z"}

Its a really cool project btw. Thanks for that :)

I also noticed that the structure of the event differs. If it's a sync event it has objects otherwise it has a single object.  I think it would be better if it was always the same structure to make handling easier.


Fix User-Agent set with headers

on command line the option -H "User-Agent: CustomUserAgent"
is ignored and default user agent is always used
First check if its defined then fallback to default
ref https://github.com/rakyll/hey/pull/87
fix https://github.com/rakyll/hey/issues/157
Other tools like curl and w3m allow this let me know if its clean go

ref https://github.com/rakyll/hey/commit/898582754e00405372f0686641441168f4e2f489


not able to download video from youtube

[x] I'm reporting a broken site support issue
[ ] I've verified that I'm running youtube-dl version 2020.07.28
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[ ] I've read bugs section in FAQ

Verbose log
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=aGFjClQj2iM', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.03.24
[debug] Python version 3.8.2 (CPython) - Linux-5.4.0-42-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] aGFjClQj2iM: Downloading webpage
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 797, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 2364, in _real_extract
    self._sort_formats(formats)
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 1327, in _sort_formats
    raise ExtractorError('No video formats found')
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description
unable to download the video

upgrading to latest version fixed the issue


Better semantic for event handlers

Technically the same, but I feel a bit cleaner.
What do you think @peduarte?

Yeah the same but more organised!

Yeah should be even better later as I've started an es6 branch.


Why t2i and i2t are not simultaneously trained in a unified model checkpoint?

#5 The core contribution of this paper to provide a unified tokenizer, with different downstream tasks verified separately. This unified model is currently in our high priority for exploration.


MAINTAINERS.md: Added Nico and Alex as remote/storage owners.

Would love to propose @npazosmendez and @alexgreenbank to help us own remote storage (especially write).
Nico & Alex are not yet Prometheus maintainer, but I think that’s fine.

Actually, both are already members (because they are v3 release coordinators).

Maybe remove @tomwilkie from the list of remote storage maintainers, now that we are on it? I think it is unlikely that he will respond to any PRs in this area.

Sure, will ask Tom first & do in separate PR (:


export SdkClientAccessor

fix: https://github.com/Azure/typespec-azure/issues/969

All changed packages have been documented.

:white_check_mark: @azure-tools/typespec-client-generator-core

Show changes
@azure-tools/typespec-client-generator-core - fix ✏

export SdkClientAccessor

You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/990/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/990/


Enable benchmarking infrastructure to evaluate ID annotator

[ ] add submission queue
[ ] update controller
[ ] add leaderboard table

Depends on https://github.com/nlpsandbox/nlpsandbox/issues/41

Tentatively assigning to @thomasyu888


Add Help menu to macOS create template

Add an empty help menu to the default macOS template to get the help menu item search (cmd+? shortcut) by default.
https://user-images.githubusercontent.com/682784/131193561-b1637f52-6a65-42d5-ad1c-864690c6660d.mov
Fixes https://github.com/flutter/flutter/issues/89077
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] All existing and new tests are passing.

It looks like this pull request may not have tests.

The bot does not recognize dev/integration_tests/flutter_gallery/macos/RunnerTests/RunnerTests.m as a test, but it's run every commit as part of native_ui_tests_macos.


Fix typos in actions doc

Some clean up in actions.md.
Description

Related issue and scope

[ ] I opened an issue to propose and discuss this change (#????)

My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[ ] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[x] Documentation

Types of changes

[ ] Bug fix (generally a non-breaking change which closes an issue).
[ ] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[x] I signed an Apache CLA.
[x] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

Codecov Report

Merging #3766 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #3766   +/-   ##
======================================
  Coverage    75.4%   75.4%
======================================
  Files         132     132
  Lines        6172    6172
  Branches      393     393
======================================
  Hits         4654    4654
  Misses       1518    1518

Continue to review full report at Codecov.

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


[bridge 47/n] updates to limiter & get_token_transfer_action_status

Description
This PR contains two major things:

updates to limiter - previously limiter's limiting direction is incorrect. The goal is to limit on the receiving end (where money flows out of the bridge) but we did in the opposite way. This PR fixes it
add a public function get_token_transfer_action_status so we can use devInspect to get a transfer's current on chain status.

Test Plan

unit tests in move.
off chain integration of get_token_transfer_action_status is in the next PR for readability.

If your changes are not user-facing and do not break anything, you can skip the following section. Otherwise, please briefly describe what has changed under the Release Notes section.
Type of Change (Check all that apply)

[ ] protocol change
[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

test failures will be fixed in the upcoming PR


🦟 StreamWrapper can get wrong account on self-hosted servers

Description
Mentioned by Rob on this post:

I just found a bug in the specklepy StreamWrapper, see this line:
specklepy/wrapper.py at main · specklesystems/specklepy · GitHub 1
The issue is in the check: if self.host in a.serverInfo.url. Namely, we have our own company Speckle server (rhdhv.speckle.xyz), but I was currently testing with the public server (speckle.xyz). Then of course when performing this check, it will evaluate to True for "speckle.xyz" in "rhdhv.speckle.xyz", meaning that the wrong account (of rhdhv.speckle.xyz) can possibly be assigned to a StreamWrapper with a stream_url of speckle.xyz. This of course gives issues when actually calling the API, returning a GraphQLException.

Related Line
https://github.com/specklesystems/specklepy/blob/d0eb364b3ef45c30182be32448ce5138987b1984/specklepy/api/wrapper.py#L113
Workaround

I now fixed it like below. Would be nice to have a generic fix for it, as I can see this issue happening for more users that will start to use their own server at some point.

Screenshots

fixed in #215


Uncaught TypeError: Converting circular structure to JSON

[Enter steps to reproduce below:]

...
...

Atom Version: 0.192.0
System: Mac OS X 10.10.3
Thrown From: preview package, v0.13.7
Stack Trace
Uncaught TypeError: Converting circular structure to JSON
At /Users/stevenbuelow/.atom/packages/preview/node_modules/analytics-node/node_modules/superagent/lib/node/index.js:801

TypeError: Converting circular structure to JSON
  at stringify (native)
  at Request.end (/Users/stevenbuelow/.atom/packages/preview/node_modules/analytics-node/node_modules/superagent/lib/node/index.js:801:29)
  at attemptRetry (/Users/stevenbuelow/.atom/packages/preview/node_modules/analytics-node/node_modules/superagent-retry/lib/index.js:38:21)
  at Request.end (/Users/stevenbuelow/.atom/packages/preview/node_modules/analytics-node/node_modules/superagent-retry/lib/index.js:48:12)
  at Analytics.flush (/Users/stevenbuelow/.atom/packages/preview/node_modules/analytics-node/lib/index.js:159:6)

Commands
  3x -3:08.5 preview:toggle (atom-text-editor.editor)
     -1:51.8 preview:toggle-options (atom-pane.pane)
     -1:02.5 preview:toggle (ul.list-inline.tab-bar.inset-panel)
  4x -0:47.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:31.2 core:save (atom-pane.pane)
  3x -0:17.4 core:backspace (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ],
    "disabledPackages": [
      "atom-terminal-panel",
      "preview-plus"
    ]
  },
  "preview": {
    "_analyticsUserId": "11bef307-dca2-41fc-b3f7-fd92098a209c"
  }
}

Installed Packages
# User
atom-typescript, v2.15.13
autocomplete-plus, v2.11.0
emmet, v2.3.7
linter, v0.12.0
preview, v0.13.7
terminal-status, v1.6.5

# Dev
No dev packages

Could you please provide some steps to reproduce? What is the file you are previewing, etc?

I get this as well.
Only one file (notice no semicolons)
class Greeter<T> {
    greeting: T
    constructor(message: T) {
        this.greeting = message
    }
    greet() {
        return this.greeting
    }
}

var greeter = new Greeter<string>("Hello, world")
console.log(greeter.greet())


fix(Toggle) no focus onclick and box sizing update

What:
Toggle elements should not get focus after a click. And a box-sizing: border-box rule is added.

Why:
Requirements for no focus. Styling updated due to a bug.

How:
element.blur() is called after click. Once we merge PRs that have blur function I will extract it and move it to src/utils

Checklist:

[ ] Documentation N/A
[ ] Tests N/A
[x] Ready to be merged

Looks good


add support for ordinal numbers

It would be fantastic if this supported "first", "second", "third", "etc".... thanks

Patches welcome


Create Jenkins work agent image outdated

In section Create Jenkins work agent point 11. of this tutorial we have a preview image with the configuration requested in previous steps.
In the Launch method field of that image we have the option: Launch agent by connecting to the master. This option is no longer available in Jenkins, we have the options: Launch agent by connecting it to the controller; Launch agent via execution of command on controller; Launch agents via SSH
The image needs to be updated.

@fabio-castas What article does this Issue pertain to?

@fabio-castas  Thank you for your feedback. As our current Jenkins support is limited to security fixes, we're closing this Issue.


Changed field validation to use NonNull and nullable

Removed the mandatory and optional annotations and allowing users to use any NonNull or Nullable annotations they wish.

Relates to issue #26


Certification tests for Kafka binding

Describe the feature
Certify Kafka as GA in input/output binding
Release Note

RELEASE NOTE:

Fix #1006 should be a pre-req for this component to be GA-ed.

Changed scope to certification tests as claiming component to stable will now require a "grace period" of 1 release.

PR done, please help to review @artursouza


Hide API improvement

When players intercept packets they receive from the server they will still be able to know who is on the server with them because the server sends entity remove packet after sending them, need to fix this in all applicable versions

Could use Spigot hide by default


Bug : Safari 5.1.17 failed to load SVG image inside CSS - 1.0.3

Hello,
Test failed on Safari 5.1.17 for your version 1.0.3, each SVG image inside the CSS failed to load, resulting empty box.
Any idea ?

hey @vincent-guesnard, I'm sorry to say but unfortunately Safari 5.1.17 is out of the coverage range for share-button. I'm personally unsure why it happens, but my assumption is that Safari 5.1.17 does not support the base64 encoded svgs or possibly data:image/svg+xml within the background url property


Improve platformer demo

Codecov Report

Merging #256 (d44db88) into master (e307fcd) will increase coverage by 1.86%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##           master     #256      +/-   ##
==========================================
+ Coverage   94.07%   95.94%   +1.86%
==========================================
  Files         157      159       +2
  Lines        3783     3797      +14
==========================================
+ Hits         3559     3643      +84
+ Misses        224      154      -70

Impacted Files
Coverage Δ

impl/jamtemplate/common/cache_null.cpp
0.00% <0.00%> (ø)

impl/jamtemplate/common/game_base.hpp
100.00% <ø> (ø)

impl/jamtemplate/common/game_interface.hpp
100.00% <ø> (ø)

impl/jamtemplate/common/tilemap/tilemap_cache.cpp
100.00% <ø> (ø)

impl/jamtemplate/common/game_base.cpp
92.06% <66.66%> (-1.38%)
:arrow_down:

impl/jamtemplate/common/cache_interface.hpp
100.00% <100.00%> (ø)

impl/jamtemplate/common/tilemap/tileson_loader.cpp
98.60% <100.00%> (+0.08%)
:arrow_up:

impl/jamtemplate/sfml/game.cpp
100.00% <100.00%> (ø)

impl/jamtemplate/common/audio/sound_group.cpp
100.00% <0.00%> (+90.24%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


F0750 filter parameters

Coverage remained the same at 100.0% when pulling aabf02981775ed3f2c9010b25b943ffd43543845 on F0750_filterParameters into 4eee9aff4a9e2418586fe3509aad1355318c2eaf on master.


Extract proof-of-concept code and demo material into a separate repository

As the API-X codebase matures, it becomes more difficult to manage the proof-of-concept related material from the core code.  Not only can it be more difficult to manage, but it also doesn't make sense to keep mature code together with code that is intended to demonstrate nascent concepts.  Down the road, it may make sense to promote the API-X code from the "labs" repository, but leave the proofs-of-concept behind.
Ideally, the proof-of-concept (POC) related items can be separated into a distinct repository, for the reasons discussed above.  The POC repository should maintain its history from this repository.

The refactor-poc branch in my fork contains the proposed git history and file structure for a new repository dedicated to the proof of concepts.  The contents and history of this branch would be pushed to a new repository under fcrepo4-labs.
git filter-branch was used to select the history of the proof-of-concept related material, including the docker and proof-of-concept subdirectories, as well as various readme files and POMs.  POMs were subsequently edited to build the code as appropriate.

Note that multiple invocations of git filter-branch were used and later merged into the refactor-poc branch.  It may be possible to string together all of the various filters into a single invocation of git filter-branch and remove the merge commits.


Add support for updating app metadata

Introduces an endpoint for updating app metadata & factors out the Auth0 monad.

@ralphmorton please review

:+1: looks rad. Thanks for factoring out the constraints, much cleaner :)


feat: use generated client in service integrations controller

Replaces https://github.com/aiven/aiven-go-client with the generated client in serviceintegrations_controller

tests


Update CONTRIBUTING.md

fix typo

That spelling is correct for US English.
Given the range of contributors to Tomcat, there is a mix of UK and US English used in the Tomcat docs.


WhereBetween ignore DB::raw expressions

Laravel Version: 5.4.33

Description:
Results of
Order::whereBetween('created_at', [
    '2017-08-22 21:30:00',
    \DB::raw('date_add(created_at, interval 1 week)')
])->get();

Is
select * from `orders`
where `created_at` between '2017-08-22 21:30:00'
    and 'date_add(created_at, interval 1 week)'

yes this is intended behaviour. It is same with other functions such as where.

This has been fixed in 5.6.24 (#24435).


Build fails on Ubuntu18.04.4

Hi,
I have cloned ArduPy and the submodules and have a script to perform the build
#!/bin/bash

rm -rf ./Build
mkdir Build
cd Build

cmake .. -DARDUINO_CORE_PATH=$HOME/.arduino15/packages/Seeeduino/hardware/samd/$COREVER \
    -DTOOLCHAIN=$HOME/.arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin \
    -DBOARD=grove_ui_m4 -DARDUINO_VERIANT=grove_ui_wireless

make

It fails with (lots) of the following error
In file included from /home/andrewh/Source/ArduPy/boards/grove_ui_m4/mphalport.h:31:0,
                 from /home/andrewh/Source/ArduPy/ardupy_storage.c:36:
/home/andrewh/.arduino15/packages/Seeeduino/hardware/samd/1.7.0/cores/arduino/Arduino.h:49:17: fatal error: sam.h: No such file or directory
 #include "sam.h"

I'm going to start trying to fix it, but you may already have.  Any tips or pointers would be good too.
Regards,
Andrew

Sorry, the code on github is incomplete, we are still working on it internally and I plan to surprise you. @andrew-steamaco


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v2.6.19 to before v5.10.46",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=96cb8e3313c7a12e026c1ed510522ae6f6023875",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=deeeb65c6ee404f2d1fb80b38b2730645c0f4663"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "96cb8e3313c7a12e026c1ed510522ae6f6023875",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "deeeb65c6ee404f2d1fb80b38b2730645c0f4663",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "net: ipv4: fix memory leak in netlbl_cipsov4_add_std\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.46 by commit deeeb65c6ee404f2d1fb80b38b2730645c0f4663, it was introduced in version v2.6.19 by commit 96cb8e3313c7a12e026c1ed510522ae6f6023875. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1000977