bundler 1.7.7 changed source dependency API support check behavior

I have a Gemfile with a source hosted at S3. It does not support the dependency API and only makes available the files necessary to support index-based usage. All other requests return a 403.
Starting with bundler 1.7.7, my source no longer works. I get an error like this:
Authentication is required for https://my-s3-source.local
Please supply credentials for this source. You can do this by running:
 bundle config https://my-s3-source.local username:password

I believe it is caused by this rescue change.

Any update on this?

I haven't had a chance to look into this yet, sorry.

We're running into this as well, with sources pointing to internal geminabox servers.

This is a blocker to upgrading Heroku to 1.7.x any ideas what caused the regression?

@schneems the regression was caused by #3260, which fixed a problem using Gemfury as a private gem server. I can revert that change, but it will break things for other users. I would expect that to also block upgrading Heroku.
Fundamentally, the issue is that different gem servers have inconsistent behaviours with the meaning of a 403 status code. Some servers return it when the request is not authenticated, and re-sending the request with authentication fixes the problem, others return it to mean that they don't support the dependency API at all.
If anyone else would like to try a fix, that would be helpful... I haven't had much time for Bundler work recently.

A start might be to explicitly document bundler's expectations around sources, considering things like:

when the dependency API will be used
how dependency API support is checked
when falling back to a full index will happen

That would let gem repo providers know what to do to be compatible.
Also how about the ability to force behavior per-source? For example, if I know a source should only use the full index, perhaps I could specify that as an option to source.

Also how about the ability to force behavior per-source? For example, if I know a source should only use the full index, perhaps I could specify that as an option to source.

Yeah, I think that would be a good idea... even if everything were working correctly, it would save an extra request.

I have a proposed fix for this over at #3342. If anyone who has run into this problem can test that branch and report back, that would be very helpful. The more the better, because I've seen a variety of different behaviors from different servers.

Fixed in 1.7.12.


Trying to insert a new ERC20 token and getting error

Traceback (most recent call last):
File "manage.py", line 16, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.8/site-packages/django/core/management/init.py", line 419, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.8/site-packages/django/core/management/init.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.8/site-packages/django/core/management/base.py", line 354, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.8/site-packages/django/core/management/base.py", line 398, in execute
output = self.handle(*args, **options)
File "/app/cryptocoins/management/commands/add_token.py", line 162, in handle
is_price_external = binance_data_source.is_pair_exists(pair_to_usdt) or kucoin_data_source.is_pair_exists(
File "/app/cryptocoins/data_sources/crypto.py", line 37, in is_pair_exists
binance_client = BinanceClient()
File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 300, in init
self.ping()
File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 526, in ping
return self._get('ping', version=self.PRIVATE_API_VERSION)
File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 371, in _get
return self._request_api('get', path, signed, version, **kwargs)
File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 334, in _request_api
return self._request(method, uri, signed, **kwargs)
File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 315, in _request
return self._handle_response(self.response)
File "/usr/local/lib/python3.8/site-packages/binance/client.py", line 324, in _handle_response
raise BinanceAPIException(response, response.status_code, response.text)
binance.exceptions.BinanceAPIException: APIError(code=0): Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error.

It seems like the issue is occurring due to a restriction imposed by Binance. The traceback indicates that the API request made to Binance's service is being blocked because it's coming from a restricted location.

If token, you must check this code
for currency_id in coin_list:
            # if currency_id in [USDT, BTC, TON, DOGE,PEPE,SHIB,FLOKI,MEME,BABYDOGE]:
            if currency_id in [USDT, BTC, TON, DOGE,PEPE,MEME,CAKE]:
                continue

            currency = Currency.get(currency_id)
            if not Keeper.objects.filter(currency=currency).exists():
                k_password, keeper = keeper_create(currency)
                gas_password, gas_keeper = keeper_create(currency, True)
                to_write.append(f'{currency.code} Info')
                to_write.append(f'Keeper address: {keeper.user_wallet.address}, Password: {k_password}')
                to_write.append(f'GasKeeper address: {gas_keeper.user_wallet.address}, Password: {gas_password}')
                to_write.append('='*10)
            else:
                to_write.append(f'{currency.code} Info')
                to_write.append('Keeper and GasKeeper exists, see previous file')
                to_write.append('=' * 10)

What must we check in that code?

It seems like the issue is occurring due to a restriction imposed by Binance. The traceback indicates that the API request made to Binance's service is being blocked because it's coming from a restricted location.

This is correct. Binance is region locked in many parts of the world. I fixed this by adding additional data sources, and adjust the call logic to ensure data if not call other data source. it's a bit slower initially, but once running no issues.


Replace resource mapper with dynamicRESTMapper

The related issue: https://github.com/open-cluster-management/backlog/issues/8944
Signed-off-by: Yang Le<EMAIL_ADDRESS>

/assign @qiujian16

i am also thinking whether NewDynamicRESTMapper is a better way to resolve our problem

I tried dynamicRESTMapper and it's good in our user case. It caches groupResources and try to refresh when the query does not hit the cache. I've refactored the code to use dynamicRESTMapper.

/retest

/retest

/retest

/approve
/lgtm

/retest


[CT-3150] [Implementation] allow source freshness to be calculated in batch, when using warehouse metadata tables

Housekeeping

[X] I am a maintainer of dbt-core

Short description
From https://github.com/dbt-labs/dbt-core/issues/7012
For sources marked for freshness via metadata, dbt should issue a single query instead of one per source. It would massively speed up compiling of source freshness.
It may also be possible to batch queries together to get performance improvements:

source freshness checks using a loaded_at_field
unit tests
etc.

There's some precedent for this — that's the pattern dbt follows right now for docs generate. We know that can lead to significant time/memory consumption at scale, so we'd want this implementation to still respect node selection (--select): If I'm only checking the freshness for a handful of sources, filter down the information schema. Node selection is already supported with dbt source freshness, so we should maintain this behavior. https://docs.getdbt.com/reference/commands/source
Acceptance criteria

For sources marked for freshness via metadata, dbt should issue a single query instead of one per source.
We respect node selection (--select) for source freshness command (already supported today)

Impact to Other Teams
None
Will backports be required?
None
Context
No response

Maybe they have some that are being checked via metadata, and others that are being checked by the loaded_at_field

Opened a new issue in dbt-labs/docs.getdbt.com: https://github.com/dbt-labs/docs.getdbt.com/issues/5276


[c++] Nightly build failure on formattable of json type

The linux-64 nightly tiledbsoma-feedstock builds are currently passing with fmt9 but failing with fmt10. Here is the error message (I replaced the long path to the conda host env with ${HOST_ENV}):
[ 65%] Building CXX object src/CMakeFiles/TILEDB_SOMA_OBJECTS.dir/utils/arrow_adapter.cc.o
In file included from ${HOST_ENV}/include/spdlog/fmt/fmt.h:32,
                 from ${HOST_ENV}/include/spdlog/common.h:50,
                 from ${HOST_ENV}/include/spdlog/spdlog.h:12,
                 from /home/conda/feedstock_root/build_artifacts/tiledbsoma_1716169644869/work/libtiledbsoma/src/utils/../utils/logger.h:54,
                 from /home/conda/feedstock_root/build_artifacts/tiledbsoma_1716169644869/work/libtiledbsoma/src/utils/arrow_adapter.cc:35:
${HOST_ENV}/include/fmt/core.h: In instantiation of 'constexpr fmt::v10::detail::value<Context> fmt::v10::detail::make_arg(T&) [with bool PACKED = true; Context = fmt::v10::basic_format_context<fmt::v10::appender, char>; T = nlohmann::basic_json<>; typename std::enable_if<PACKED, int>::type <anonymous> = 0]':
${HOST_ENV}/include/fmt/core.h:1842:51:   required from 'constexpr fmt::v10::format_arg_store<Context, Args>::format_arg_store(T& ...) [with T = {nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> > >}; Context = fmt::v10::basic_format_context<fmt::v10::appender, char>; Args = {nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> > >}]'
${HOST_ENV}/include/fmt/core.h:1860:18:   required from 'constexpr fmt::v10::format_arg_store<Context, typename std::remove_cv<typename std::remove_reference<T>::type>::type ...> fmt::v10::make_format_args(T& ...) [with Context = basic_format_context<appender, char>; T = {nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> > >}]'
${HOST_ENV}/include/fmt/core.h:2835:44:   required from 'std::string fmt::v10::format(format_string<T ...>, T&& ...) [with T = {nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> > >&}; std::string = std::__cxx11::basic_string<char>; format_string<T ...> = basic_format_string<char, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char> > >&>]'
/home/conda/feedstock_root/build_artifacts/tiledbsoma_1716169644869/work/libtiledbsoma/src/utils/arrow_adapter.cc:342:24:   required from here
${HOST_ENV}/include/fmt/core.h:1600:63: error: 'fmt::v10::detail::type_is_unformattable_for<nlohmann::basic_json<>, char> _' has incomplete type
 1600 |     type_is_unformattable_for<T, typename Context::char_type> _;
      |                                                               ^
${HOST_ENV}/include/fmt/core.h:1604:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
 1604 |       formattable,
      |       ^~~~~~~~~~~
${HOST_ENV}/include/fmt/core.h:1604:7: note: 'formattable' evaluates to false
[ 69%] Building CXX object src/CMakeFiles/TILEDB_SOMA_OBJECTS.dir/utils/logger.cc.o
make[5]: *** [src/CMakeFiles/TILEDB_SOMA_OBJECTS.dir/build.make:272: src/CMakeFiles/TILEDB_SOMA_OBJECTS.dir/utils/arrow_adapter.cc.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [CMakeFiles/Makefile2:100: src/CMakeFiles/TILEDB_SOMA_OBJECTS.dir/all] Error 2
make[3]: *** [Makefile:136: all] Error 2
make[2]: *** [CMakeFiles/libtiledbsoma.dir/build.make:86: libtiledbsoma-prefix/src/libtiledbsoma-stamp/libtiledbsoma-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/libtiledbsoma.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

I think this new error was introduced in https://github.com/single-cell-data/TileDB-SOMA/pull/2541. I have two main reasons:

The error is about nlohmann::basic_json, and nlohmann/json.hpp was added in that PR
The last passing nightly libtiledbsoma build was on May 16th, and it used commit bcfa0604d89d9739547339102077529b16638b55. The first failing libtiledbsoma build was on May 17th, and it used commit 12566ddd82b23cb3ab978af70b1f2a40d3592084. Comparing these two commits, https://github.com/single-cell-data/TileDB-SOMA/compare/bcfa0604d89d9739547339102077529b16638b55...12566ddd82b23cb3ab978af70b1f2a40d3592084, there was only one PR that affected the C++ code

xref: https://github.com/TileDB-Inc/tiledbsoma-feedstock/issues/153#issuecomment-2120605388

Fixed by @johnkerl in https://github.com/single-cell-data/TileDB-SOMA/pull/2609 :tada:


merge from template-node-app

package.json

chore(deps): add ^7.22.4 remove ^7.22.3 (devDependencies.npm-pkgbuild)

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

npm package (@latest dist-tag)
GitHub release
v5.0.39

Your semantic-release bot :package::rocket:


Views and Tables use different Json key capitalization conventions

I am using the toJson/fromJson methods of data classes generated by Drift to essentially 'map' between data records which have the same schema.
In doing so, I am getting runtime errors, because it appears that dart entity classes generated for 'TableInfo' is using different json conventions to entity classes generated for 'ViewInfo'.
The View is even just a view on the same Table...
This is preventing me from doing this...
ServerHazard source = ServerHazard(); // imagine this is filled with data
HazardsViewData destination = HazardsViewData.fromJson(source.toJson());

Example snippet from a view:
factory HazardsViewData.fromJson(Map<String, dynamic> json,
      {ValueSerializer? serializer}) {
    serializer ??= driftRuntimeOptions.defaultSerializer;
    return HazardsViewData(
      clonedFromEntityId:
          serializer.fromJson<Guid?>(json['cloned_from_entity_id']),
      machineId: serializer.fromJson<Guid>(json['machine_id']),
      referenceCode: serializer.fromJson<String?>(json['reference_code']),

Example snippet from the same entity as a Table:
factory ServerHazard.fromJson(Map<String, dynamic> json,
      {ValueSerializer? serializer}) {
    serializer ??= driftRuntimeOptions.defaultSerializer;
    return ServerHazard(
      clonedFromEntityId:
          serializer.fromJson<Guid?>(json['clonedFromEntityId']),
      machineId: serializer.fromJson<Guid>(json['machineId']),
      referenceCode: serializer.fromJson<String?>(json['referenceCode']),

I've managed to move ahead - I've found the option use_column_name_as_json_key_when_defined_in_moor_file (set to false) to force all json keys to be cased the same as in dart (pascal), instead of from the tables (snake).
Here's my build file for anyone else with this issue:
targets:
  $default:
    builders:
      mapper_generator|templatedBuilder:
        enabled: false

      drift_dev:
        options:
          use_column_name_as_json_key_when_defined_in_moor_file: false

I'll leave the bug here, however, as I think the default behavior should be consistent so this doesnt bite people...

Yeah, maybe that should be the default in the next breaking version.

Hello,
Allow me to add a comment to this topic.
I try to set this option to true and false.
I also chose the PascalCase option for my variables.
But yet my toJson() always generates a value in snakeCase... Is there a way to correct this?
targets:
  $default:
    builders:
      drift_dev:
        options:
          case_from_dart_to_sql: PascalCase
          use_column_name_as_json_key_when_defined_in_moor_file: false

class Settings extends Table {
 IntColumn get id => integer()();
  BoolColumn get ctEnabled =>
      boolean().withDefault(const Constant(false)).named("CTEnabled")();
  TextColumn get userName => text().withLength(max: 32).nullable()();

  @override
  Set<Column> get primaryKey => {id};
  }

In generated file :
@override
  Map<String, dynamic> toJson({ValueSerializer? serializer}) {
    serializer ??= driftRuntimeOptions.defaultSerializer;
    return <String, dynamic>{
      'id': serializer.toJson<int>(id),
      'ctEnabled': serializer.toJson<bool>(ctEnabled),
      'userName': serializer.toJson<String?>(userName),
    };
  }


Connected directions not supported/working on double chests

I am currently running...

SpongeVanilla version: 1.12-7.0.0-BETA-300

Java version: 8u131

Operating System: Windows

Plugins/Mods:
Latch
IPLog

What is the expected result?
Chests should support connected direction data.
What is the current result?
They do not support connected directions.
This code:
@Listener(order = Order.EARLY)
public void onInteraction(InteractBlockEvent event, @First Player player) {
    player.sendMessage(Text.of("Id: " + event.getTargetBlock().getState().getType().getId()));
    player.sendMessage(Text.of("Supports connected directions: " + event.getTargetBlock().supports(Keys.CONNECTED_DIRECTIONS)));
    player.sendMessage(Text.of("All connected directions: "));
    event.getTargetBlock().get(Keys.CONNECTED_DIRECTIONS).orElse(new HashSet<>()).forEach(m -> player.sendMessage(Text.of(m.toString())));
}

causes the following to be printed out when right clicking a chest or door(these are not supposed to support it):

Edit: This is not expected to work on doors, but I cannot get it to work on chests from their block snapshot or tile entity.

For chests, only the tile entities support ConnectedDirectionData. Doors use PortionData instead.

@JBYoshi For the chest though, its BlockSnapshot says here that it does not support connected directions nor does it have any connected directions and a block snapshot is supposed to contain "any extra data that may be associated with it, including {@link TileEntity} related data."
I haven't tested this in a while and I may have made some mistake but I don't think so. I'll test it again and also try getting its tile entity from its location and using that.

Yeah @JBYoshi as I expected, the tile entity grabbed from the location still says it does not support Keys.CONNECTED_DIRECTIONS.

I use this in Latch to automatically lock the second part of a chest, and it used to work but it no longer does.
I have tried to find the issue within Latch as well as Sponge itself but the dataprocessor seems right. I must be missing something.

Apparently someone forgot to register the tile entity data processor.

Wait a minute... It is in the list to register... just not being tied with the other processor.

Never mind. I was looking at the data processor, not the value processor. The value processor doesn't have any code for tile entities. Looking into it now.

@JBYoshi Thanks for taking a look, I couldn't find the issue.


Add please colors to the outline panel.

Please, add a possibility to colorize names in the outline panel. And I think that it could be cool to add possibility for adding other colors for arguments and the returning type.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


"Automatically opens tabs" is always on.

Hello and thank you for developing this nice extention.
From the new update (probably from version 4.00 Aug 12th), it always opens tabs when a new window is created.
I am using the latest Brave (1.68.137 Chromium: 127.0.6533.100).

Apologies for that - I just noticed the issue myself this morning. Will rollback the change until I fix it.

I rolled back the version, so 4.0.1 doesn't have the auto-open feature.
I realized the issue and fixed it - should be coming out with 4.0.2.
Thank you so much for raising this issue and sorry for the issues.

4.0.2 re-adds the feature, but this time the setting is respected.


Adds feature flags for libraries that require C bindungs

Great library, thank for creating it!
This PR is to ensure the library can be compiled with the feature flags off when those headers (r3e/euro truck) are not in place.
By default the behavior is not changed.

Looks good, thanks!


Present Community Guidelines

I have accepted the opportunity to be a maintainer and I have approved your pull request.


Merge upstream changes & fix new Clippy warnings

Also update prost+tonic deps to get CI working again.


Remove System.Runtime.CompilerServices.Unsafe 4.5.2 version constraint

The package has a constraint on the System.Runtime.CompilerServices.Unsafe package version, which is too restrictive.
Install failed (..., package: Microsoft.IO.RecyclableMemoryStream v1.4.0) Unable to resolve dependencies. 'System.Runtime.CompilerServices.Unsafe 4.5.2' is not compatible with 'System.Text.Json 4.6.0 constraint: System.Runtime.CompilerServices.Unsafe (>= 4.6.0)'.

I'll look into it

Could you please double-check this? RMS does not have any dependencies on any other packages at all. You can see this at The NuGet page (or by opening the package in something NuGet Package Explorer), or by looking at which assemblies are referenced by the assembly itself. You can also see in the csproj file that no dependency packages are consumed.
What platform are you using, and which specific target is being consumed by your project?

Closing this as there has been no response, and it does not appear actionable.


fix: logger options only accepts a configuration object #479

Fix https://github.com/ducktors/turborepo-remote-cache/issues/479
Manually tested on my infrastructure

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Removed event triggers for matomo analytics

Removed event triggers for matomo analytics - Only using the goals

CI: No security warnings found


Use the current path when clearing crontab instead of release path

thanks

Ah...why was this change made? Using current_path instead of release_path makes it impossible to successfully deploy whenever for the first time because the Gemfile in current_path doesn't yet contain a reference to whenever. It causes first time deploys to fail with whenever is not part of the bundle. Add it to Gemfile. (Gem::LoadError)

I made this change because release_path prevented us from using this
task by itself e.g. not during a deploy.
Thanks,
Trae Robrock
http://about.me/trobrock
On Dec 22, 2011, at 4:29 PM, Justin Giancola
<EMAIL_ADDRESS>wrote:

Ah...why was this change made? Using current_path instead of release_path makes it impossible to successfully deploy whenever for the first time because the Gemfile in current_path doesn't yet contain a reference to whenever. It causes first time deploys to fail with whenever is not part of the bundle. Add it to Gemfile. (Gem::LoadError)

Reply to this email directly or view it on GitHub:
https://github.com/javan/whenever/pull/199#issuecomment-3255096

You're right @elucid, sorry about that! I'm going to revert this change. It sounds like we need a separate task for doing a standalone clear using current_path.

No need for a separate task--I took a look through the Capistrano source and found that there is actually a variable that is equal to release_path during deploys and equal to current_path otherwise: latest_release. This is what tasks like deploy:migrate use.
https://github.com/javan/whenever/pull/204

This is released in 0.7.2, thanks again.


Explicit Dbus command dependency need to be removed from test suites

Dbus command dependency need to be removed from test suites
Below are some test suite which which has dbus commands.

[ ] test_boot_policies.robot
[ ] test_boot_devices.robot

Internally will use dbus command still, right.


[Examples] Add a custom mesh to mesh generation example

This PR adds a custom mesh to the mesh generation example to show users how to define allocate, define, and upload a mesh from pure code.

@JeffM2501 Thank you very much for the quick example PR. I'm merging it, ready for the release, but I'm probably moving it a separate example later on.


Documentation Page Commands with Subcommands and Params Downloads instead of Opens

Describe the bug
When accessing Commands with subcommands and params in the documentation, it downloads a source file instead of displaying the page in the browser.
https://user-images.githubusercontent.com/74572905/216214079-b4382c56-1740-4e00-99ad-b0af426d7c4d.mov
To Reproduce
Click on the link above.

Same issue.


Should fix launching problems on certain Linux systems

#29. Also #32. Tested on Debian Stretch 9.4 amd64 with OpenJDK 8u171-b11-1~deb9u1.

@bulenkov will this be merged to fix the Linux specific issue?

@tulipszs Sorry, this is not ready. My commit effectively made the icon loading part stop working, as I just found out recently. Closing for now...

@tulipszs So I actually employed the workaround discussed in #29 (https://github.com/CL-Jeremy/Darcula/commit/716af7e1606802e324b0729106200af435d92896) but I don't believe that should be merged without further investigation (especially when my result on Mac after removing the Mac-specific return statement yielded normal values, maybe related to https://github.com/JetBrains/intellij-community/commit/d1f28d8ac3a4c8e25e124778405262ede0a63d3e#diff-5f3058bc4bcd918fddec7e63aef781ad?)


fix: remove duplicate Italian dictionary

Just wanting confirmation...my GitHub UI suggests this file is not being deleted, but just the contents.

Just wanting confirmation...my GitHub UI suggests this file is not being deleted, but just the contents.

Weird UI.  At a guess it's because the entire directory is now empty (and thus gone as far as git is concerned).


test theme

Overview

PR Checklist

[ ] Related to designs:
[ ] Related to JIRA ticket: [ABC-123]
[ ] I have run this code to verify it works
[ ] This PR includes unit tests for the code change
[ ] This PR includes testing instructions tests for the code change
[ ] The alpha package of this PR is passing end-to-end tests in all relevant Codecademy repositories

Testing Instructions

Don't make me tap the sign.
PR Links and Envs

Repository
PR Link
PR Env

Monolith
Monolith PR
Monolith Env

Portal
Portal Link
Portal Env

Another Repo
Another Link
Another Env

📬Published Alpha Packages:@codecademy/gamut@57.1.1-alpha.023bd4.0@codecademy/gamut-icons@9.30.2-alpha.023bd4.0@codecademy/gamut-illustrations@0.47.2-alpha.023bd4.0@codecademy/gamut-kit@0.6.441-alpha.023bd4.0@codecademy/gamut-patterns@0.9.15-alpha.023bd4.0@codecademy/gamut-styles@17.0.1-alpha.023bd4.0@codecademy/gamut-tests@5.1.2-alpha.023bd4.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://66e2032dfef47d83b5ff8e0a--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut@57.2.1-alpha.e3934a.0@codecademy/gamut-icons@9.30.2-alpha.e3934a.0@codecademy/gamut-illustrations@0.47.2-alpha.e3934a.0@codecademy/gamut-kit@0.6.442-alpha.e3934a.0@codecademy/gamut-patterns@0.9.15-alpha.e3934a.0@codecademy/gamut-styles@17.0.1-alpha.e3934a.0@codecademy/gamut-tests@5.1.2-alpha.e3934a.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut@57.2.1-alpha.75d406.0@codecademy/gamut-icons@9.30.2-alpha.75d406.0@codecademy/gamut-illustrations@0.47.2-alpha.75d406.0@codecademy/gamut-kit@0.6.442-alpha.75d406.0@codecademy/gamut-patterns@0.9.15-alpha.75d406.0@codecademy/gamut-styles@17.0.1-alpha.75d406.0@codecademy/gamut-tests@5.1.2-alpha.75d406.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://66e887cc490b560991f083c3--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://66ead528d1132014cf8e0394--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut@57.5.3-alpha.30153b.0@codecademy/gamut-icons@9.34.2-alpha.30153b.0@codecademy/gamut-illustrations@0.49.3-alpha.30153b.0@codecademy/gamut-kit@0.6.456-alpha.30153b.0@codecademy/gamut-patterns@0.9.18-alpha.30153b.0@codecademy/gamut-styles@17.1.3-alpha.30153b.0@codecademy/gamut-tests@5.1.5-alpha.30153b.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://67572531380fcc162606c688--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut@57.5.3-alpha.8efe7d.0@codecademy/gamut-icons@9.34.2-alpha.8efe7d.0@codecademy/gamut-illustrations@0.49.3-alpha.8efe7d.0@codecademy/gamut-kit@0.6.456-alpha.8efe7d.0@codecademy/gamut-patterns@0.9.18-alpha.8efe7d.0@codecademy/gamut-styles@17.1.3-alpha.8efe7d.0@codecademy/gamut-tests@5.1.5-alpha.8efe7d.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://67572a3b77edf2139b79d604--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://675fd45fd13a7ea857043a82--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut@57.6.1-alpha.8dba5c.0@codecademy/gamut-icons@9.35.1-alpha.8dba5c.0@codecademy/gamut-illustrations@0.50.1-alpha.8dba5c.0@codecademy/gamut-kit@0.6.457-alpha.8dba5c.0@codecademy/gamut-patterns@0.10.1-alpha.8dba5c.0@codecademy/gamut-styles@17.2.1-alpha.8dba5c.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut@57.6.1-alpha.97248f.0@codecademy/gamut-icons@9.35.1-alpha.97248f.0@codecademy/gamut-illustrations@0.50.1-alpha.97248f.0@codecademy/gamut-kit@0.6.457-alpha.97248f.0@codecademy/gamut-patterns@0.10.1-alpha.97248f.0@codecademy/gamut-styles@17.2.1-alpha.97248f.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://676085f655e2e456c3fa1a85--gamut-preview.netlify.appDeploy Logs

@dreamwasp do you think it's better to have this theme defined within gamut vs in the enterprise app itself?

🚀 Styleguide deploy preview ready!https://67619d98fabdbe7a3c89d985--gamut-preview.netlify.appDeploy Logs


Issue with Editing the Redirect Map Entries

AEM 6.5
AEM Service Pack 6.5.7
ACS AEM Commons Version: 4.6.0
Reproducible on Latest? yes
Expected Behavior :
Editing the specific entry in Redirect Map Manager should return a valid entry.
Actual Behavior :
We are facing issue while manual editing the redirect map entries in the console. Values are getting overwritten as ID value is same for some entries and it always pops up a wrong value when I edit a specific entry. Attached the screenshot for the same
Steps to Reproduce :

Edit any existing redirect map entry in /etc/acs-commons/redirect-maps
Under View Entries, lookup existing entry, ie, “reshape”
Click pencil icon to edit
Expected to see “reshape” instead I see “/enterprise”

Links

This issue is fixed in later versions of ACS.


Can't get angular-auto-validate working

Hello,
I'm new on github, I really like your module and I want to add it to my test project (My first angular project BTW).
And I have a problem here because I installed it, and it's not working. Tried to add some console logs inside your project but none of them is logging. I even created plunkr, but in plunkr everything works fine (http://plnkr.co/edit/4VmLrq6OSbyMTkjPU9sv?p=preview). If you could look at my github repo: https://github.com/Hooyek/ERP_frontend that would be nice.
Even when I put my input outside form-group, I don't receive any errors, so it's look like it's not even starting.
Maybe other modules are breaking it? Can you look at it?
(Look /#/dashboard/users on dev server and then edit to open modal with my form)

Try using the latest angular version.
You also haven't go the angular-auto-validate dependency anywhere in your bower file so it might not even be getting loaded by your webpage as it probably can't be found.
https://github.com/Hooyek/ERP_frontend/blob/master/bower.json#L4
On your form you will need the ng-submit directive and on each form control you will need the ng-model directive.
https://github.com/Hooyek/ERP_frontend/blob/master/app/views/pages/login.html#L9
https://github.com/Hooyek/ERP_frontend/blob/master/app/views/form.html#L17
If that is not is my guess is it is probably something to do with the lazy loading stuff you are doing.  I'm sorry but I haven't got the time to look fully into this problem.  I suggest you put a few break points in the library to ensure it is actually getting loaded.
Maybe here:
https://github.com/jonsamwell/angular-auto-validate/blob/master/dist/jcs-auto-validate.js#L1207
Best of luck

Working plunker here for your reference http://plnkr.co/edit/R4vGhrSYvKJREMV7Q4rC?p=preview


Populate eth1 deposit cache with remote follow distance timed based

Motivation

See https://github.com/ChainSafe/lodestar/issues/4109

Description
Make ETH1_FOLLOW_DISTANCE dynamic, bounded by spec value config.ETH1_FOLLOW_DISTANCE and ETH_MIN_FOLLOW_DISTANCE.
If the block fetcher detects that the timestamp of the downloaded block differs from the expected value, it will increase or reduce ETH1_FOLLOW_DISTANCE with educated guesses iteratively.

Before this PR

Last fetched block timestamp is out of the range we need to correctly vote
With this PR

Last fetched block is in the range (above counts), so we can correctly vote

The dynamic follow distance is ~640, which is a correct guess. Average block times in 44 sec, while the assumed time is 14.

2048 / 640 = 3.2
44 / 14 = 3.14

After running for ~24h some more metrics that showcase correct behavior of this PR when deployed:

Also nice to double check that the block time estimation is correct


Bug: the standard logviewer starts at the top with the oldest logs instead of at the bottem where the newest logs are

the standard logviewer starts at the top with the oldest logs instead of at the bottem where the newest logs are

The flutter_fox_logging package has been moved to it's own repo but this issue should be solved with this pull-request


Release Google.Cloud.Talent.V4 version 1.2.0

Changes in this release:

Commit 87bf8a2:

feat: Added a new KeywordMatchMode field to support more keyword matching options
feat: Added more DiversificationLevel configuration options

Commit ac367e2: feat: Regenerate all APIs to support self-signed JWTs
Commit 4dfd11f:

feat: Add new commute methods in Search APIs
feat: Add new histogram type 'publish_time_in_day'
feat: Support filtering by requisitionId is ListJobs API

Created release for Google.Cloud.Talent.V4-1.2.0


Add an example set-up module

Sending people to the test classes to look at examples isn't that user-friendly, and lots there is obfuscated for the purpose of brevity. Would be better to create a module with a full example set up for a request-response relationship, and for a messaging relationship.

Do you have something specific in mind @jbwheatley? I'll be happy to help on creating this example project.
It could be a simple http4s or Akka HTTP producer and a sttp client for instance 🤷

yeah, I was thinking basically recreate what we have in the tests, but in a more readable format with comments etc

have partially done this

small newbie question: how do i run the example via sbt ? clean; compile; example/test shows (like via intellij) "no tests found" . Also when I remove the lines       publish / skip := true,      Test / skip    := true from build.sbt
btw, i would like to PR a spray-json module and want to make sure module example  would also pass/work (also before trying in an own project)

hey @danlaunl. The example directory consists of two separate sbt projects, consumer and producer, which will be why example/test is saying no tests found

so how should i run those tests? i also tried cd 'ing in , and then sbt but that doens't compile.
or something like this ? https://stackoverflow.com/questions/6362286/how-do-i-get-sbt-0-10-0-to-compile-files-in-a-subdirectory

sorry you're completely right, the examples won't run. I've opened an issue #291

should be fixed in latest master


feat(list): Optional output as JSON and YAML

The choice of interface --output (json|yaml) is to match that of the
status command, except that -o is not available as it is already used
by --offset.
WIP #1534

@jascott1 is anyone able to take a look at this one?

needs sign off from another maintainer though since it's a size/L

Which version did this merge into?
[12:55:08] jwatte@xps15:~/observe$ helm version
Client: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}

[12:55:11] jwatte@xps15:~/observe$ helm list --format=text
Error: unknown flag: --format

v2.10.0.

Still nothing...
> helm list --format=json
Error: unknown flag: --format
> helm version
Client: &version.Version{SemVer:"v2.14.1", GitCommit:"5270352a09c7e8b6e8c9593002a73535276507c0", GitTreeState:"clean"}

Use helm list --output json.

i have helm client v2.12.1 how come it doesnt have --format param?

In helm 2, it’s helm list —output json. See above^

i am getting
Error: unknown flag: --output

i was looking for this for helm search comand. not ls.
i am getting Error: unknown flag: --output
anyway i solved it with curl call to the api - it returns json

what about template?
$ helm version
version.BuildInfo{Version:"v3.5.4", GitCommit:"1b5edb69df3d3a08df77c9902dc17af864ff05d1", GitTreeState:"clean", GoVersion:"go1.15.11"}
$ helm template --output json .
Error: unknown flag: --output
$ helm template --format json .
Error: unknown flag: --format
$


upgrade typings to work with react-native 0.71.0

the typings need updating so we can continue using this package with react-native 0.71.0.
when using with 0.71 you get the error:
JSX element class does not support attributes because it does not have a 'props' property.

#667


CNDB-10801: Add missing parts of CASSANDRA-19461

I rebased this branch

This PR was originally targeting CNDB-10810, but now it's for CNDB-10939.

It seems the rebase has left two unrelated commits on top of the branch.

It seems the rebase has left two unrelated commits on top of the branch.

The target branch should be main-5.0 now. I will see if I can change that.

Oh. I messed that up somehow, sorry.
I was wondering what happened to those two commits - I clearly did something wrong. I have since re-created the changes in those two commit and they are applied to main-5.0 in commit:
https://github.com/datastax/cassandra/commit/cd3d4c82e1084bfc8c701a093264e66ae5ac9862
I have tried to fix things and pushed to a new branch: datastax/datastax/CNDB-10801-main-5.0
If that looks okay to you, I think we can just change the PR branch and keep going. If you prefer to open a new PR or do it a different way, please go ahead.
Sorry, again for the mess.

Here is the comparison between main-5.0 and the CNDB-10801-main-5.0 branch:
https://github.com/datastax/cassandra/compare/main-5.0...datastax/CNDB-10801-main-5.0

Thanks, I've squashed those changes into the original branch, so we can keep this PR. We can remove that datastax/CNDB-10801-main-5.0 and keep using this one. Note that that branch is inside a datastax directory, it took me a while to realize :).

Note that that branch is inside a datastax directory, it took me a while to realize

Ugh, sorry. I probably copy/pasted the branch and it also had the datastax/ prefix...

Approved on clean CI, thanks


Speeding up tests

Description
Sleep statements should rarely be used, instead apis should allow for
blocking/non-blocking calling patterns.  Attempting to remove and clean
up these statements to speed up PR workflows.
Github Action workflows for this repo were 75+ minutes, with this change 40 minutes. 47% reduction in time.
Check List

[ ] ~New functionality includes testing~
[ ] ~New functionality has been documented~
[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1715 (97c1bae) into main (51e492c) will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main    #1715   +/-   ##
=========================================
  Coverage     62.86%   62.87%
- Complexity     3262     3264    +2
=========================================
  Files           253      253
  Lines         18089    18096    +7
  Branches       3243     3246    +3
=========================================
+ Hits          11372    11377    +5
- Misses         5063     5064    +1
- Partials       1654     1655    +1

Impacted Files
Coverage Δ

.../dlic/auth/ldap2/LDAPConnectionFactoryFactory.java
56.48% <0.00%> (-1.53%)
:arrow_down:

...search/security/configuration/DlsFlsValveImpl.java
59.25% <0.00%> (+1.08%)
: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 51e492c...97c1bae. Read the comment docs.

The sleep was introduced by the removal of TransportClient PR. The intent is to make sure all configurations are loaded into security index, which used to be done as following. Sleep might not be a good option and doesn't really ensure that. Is there a better/faster way to ensure the existense of the configurations?
            Assert.assertTrue(tc.get(new GetRequest(".opendistro_security", type, "config")).actionGet().isExists());
            Assert.assertTrue(tc.get(new GetRequest(".opendistro_security", type,"internalusers")).actionGet().isExists());
            Assert.assertTrue(tc.get(new GetRequest(".opendistro_security", type,"roles")).actionGet().isExists());
            Assert.assertTrue(tc.get(new GetRequest(".opendistro_security", type,"rolesmapping")).actionGet().isExists());
            Assert.assertTrue(tc.get(new GetRequest(".opendistro_security", type,"actiongroups")).actionGet().isExists());
            Assert.assertFalse(tc.get(new GetRequest(".opendistro_security", type,"rolesmapping_xcvdnghtu165759i99465")).actionGet().isExists());
            Assert.assertTrue(tc.get(new GetRequest(".opendistro_security", type,"config")).actionGet().isExists());
            if (indexRequests.stream().anyMatch(i -> CType.NODESDN.toLCString().equals(i.id()))) {
                Assert.assertTrue(tc.get(new GetRequest(".opendistro_security", type,"nodesdn")).actionGet().isExists());

First when I noticed and removed this sleep I had the same concern about stability.  In the test setup OpenSearch nodes are created on a couple of threads, these communicate via http.  From what I've seen when our tests cases are running, we are making calls via http which is out of process communication.
When moving across the process boundary layer to the network the jvm stops processing work on the test thread and can resume work on any other busy node threads.  This boundary layer means a busy cpu operation is very likely to complete on the nodes within that same process before the network connection of the test's inbound request is processed.
This is not reliable protection on a production system; however, this seems to be working well with our JVM selections and our different environments.  We might notice issues in the future - I imagine certain classes of tests might need additional checks, but we can deal with them as they present themselves.

Is there a better/faster way to ensure the existence of the configurations?

In OpenSearch there is a task api that can be used to track work that is in progress or complete.  If we needed additional assurance that the configuration was complete, I would advocate for a way to get the task id associated with this so we can use GET _tasks/<task_id>?wait_for_completion=true to ensure that work has finished making sure the system is stable.
Alternatively we could add into those nodes that would give us an in-process signaling channel such as Object.wait(...) with a plugin that is designed to make this information available.


[wip] scaffold msg server for chanUpgradeTry

Description

closes: #XXXX
Commit Message / Changelog Entry
type: commit message

see the guidelines for commit messages. (view raw markdown for examples)

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md).
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/).
[ ] Added relevant godoc comments.
[ ] Provide a commit message to be used for the changelog entry in the PR description for review.
[ ] Re-reviewed Files changed in the Github PR explorer.
[ ] Review Codecov Report in the comment section below once CI passes.

Codecov Report

Merging #3791 (a3a2ac5) into colin/3739-upgrade-try-handler (89a8ce8) will decrease coverage by 0.27%.
The diff coverage is 0.00%.

Additional details and impacted files

@@                        Coverage Diff                         @@
##           colin/3739-upgrade-try-handler    #3791      +/-   ##
==================================================================
- Coverage                           77.98%   77.72%   -0.27%
==================================================================
  Files                                 188      188
  Lines                               13412    13457      +45
==================================================================
  Hits                                10460    10460
- Misses                               2512     2557      +45
  Partials                              440      440

Impacted Files
Coverage Δ

modules/core/04-channel/keeper/upgrade.go
88.84% <0.00%> (-0.75%)
:arrow_down:

modules/core/keeper/msg_server.go
45.57% <0.00%> (-3.60%)
:arrow_down:


Implement PauseVM, ResumeVM, and CreateSnapshot

Hello, Firecracker 0.23.0 adds new API calls for managing snapshots of a microVM and changing the microVM state. The goal of this PR is to port the PauseVM, ResumeVM, and CreateSnapshot calls to the SDK.
Issue #, if available:
#239
Description of changes

Added relevant PauseVM, ResumeVM, and CreateSnapshot definitions to client/swagger.yaml.
Generated the updated API client.
Added wrappers for new API calls in firecracker.go.
Added new API calls to machine.go

We have not added tests to the PR yet. We are open to feedback on what tests we should add and any other comments in general. We would be glad to finalize and contribute this code.
Authored by @plamenmpetrov and @ustiugov
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thank you @plamenmpetrov for submitting this change. The changes look good with some minor nit comments. Also, these changes need integration tests. Once those are added, this can be merged.

Hello @xibz , I have added preliminary tests for pause, resume and create snapshot, which seem to pass in the build. I also updated the firecracker version used in tests to 0.23.0. However, TestNetworkMachineCNIWithConfFile times out. In my understanding, this should not be related to pause, resume, or create snapshot. Perhaps it is caused by another change in firecracker 0.23.0?


https://www.bilibili.tv/en/video/2049426983

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and am willing to share it if required

Region
Canada
Example URLs
https://www.bilibili.tv/en/video/2049426983
Provide a description that is worded well enough to be understood
^ as is
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[x] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
yt-dlp -vU https://www.bilibili.tv/en/video/2049426983

[debug] Command-line config: ['-vU', 'https://www.bilibili.tv/en/video/2049426983']
[debug] User config "/Users/williamzwang/.config/yt-dlp/config": ['--downloader', 'aria2c', '--downloader-args', '-s 16 -x 16 -j 4 -k 1M', '--download-archive', 'archive.txt', '--ignore-errors', '--ffmpeg-location', '/usr/local/bin/ffmpeg', '--add-metadata', '--embed-thumbnail', '--xattrs', '--embed-subs', '--console-title', '--merge-output-format', 'mkv', '--sponsorblock-remove', 'all']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (pip)
[debug] Python 3.10.11 (CPython x86_64 64bit) - macOS-13.3.1-x86_64-i386-64bit (OpenSSL 1.1.1t  7 Feb 2023)
[debug] exe versions: ffmpeg 6.0 (setts), ffprobe 6.0
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
WARNING: External Downloader arguments given without specifying name. The arguments will be given to aria2c
[debug] Loaded 1786 extractors
[debug] Loading archive file 'archive.txt'
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>yt-dlp is up to date<EMAIL_ADDRESS>[BiliIntl] Extracting URL: https://www.bilibili.tv/en/video/2049426983
[BiliIntl]<PHONE_NUMBER>: Downloading webpage
[BiliIntl]<PHONE_NUMBER>: Downloading video formats
[BiliIntl]<PHONE_NUMBER>: Downloading subtitles list
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[SponsorBlock] SponsorBlock is not supported for BiliIntl
[debug] Default format spec: bestvideo*+bestaudio/best
[info]<PHONE_NUMBER>: Downloading 1 format(s): 7+2
[info] There's no subtitles for the requested languages
Deleting existing file No Reservations (2007) - Bilibili [2049426983].jpg
[info] Downloading video thumbnail 0 ...
[info] Writing video thumbnail 0 to: No Reservations (2007) - Bilibili [2049426983].jpg
[debug] Invoking aria2c downloader on "https://upos-sz-mirrorcosbstar1.bilivideo.com/iupxcodeboss/1b/pz/n230217ad42k8w8mmk2yx1c448ljpz1b-1-141210110000.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1682408030&gen=playurlv2&os=cosbstar1bv&oi=401434242&trid=0a415bc5e0774021be136f675ea46c26i&mid=0&platform=pc&upsig=367e65bcc7ef925bbe2fd799d96a1fb4&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&bvc=vod&nettype=0&orderid=0,2&logo=00000000"
[download] Destination: No Reservations (2007) - Bilibili [2049426983].f7.mp4
[debug] aria2c command line: aria2c -c --console-log-level=warn --summary-interval=0 --download-result=hide --http-accept-gzip=true --file-allocation=none -x16 -j16 -s16 --min-split-size 1M --header 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' --header 'Accept-Language: en-us,en;q=0.5' --header 'Sec-Fetch-Mode: navigate' --check-certificate=true --remote-time=true --show-console-readout=true -s 16 -x 16 -j 4 -k 1M --out './No Reservations (2007) - Bilibili [2049426983].f7.mp4.part' --auto-file-renaming=false -- 'https://upos-sz-mirrorcosbstar1.bilivideo.com/iupxcodeboss/1b/pz/n230217ad42k8w8mmk2yx1c448ljpz1b-1-141210110000.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1682408030&gen=playurlv2&os=cosbstar1bv&oi=401434242&trid=0a415bc5e0774021be136f675ea46c26i&mid=0&platform=pc&upsig=367e65bcc7ef925bbe2fd799d96a1fb4&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&bvc=vod&nettype=0&orderid=0,2&logo=00000000'

04/25 01:33:53 [ERROR] CUID#7 - Download aborted. URI=https://upos-sz-mirrorcosbstar1.bilivideo.com/iupxcodeboss/1b/pz/n230217ad42k8w8mmk2yx1c448ljpz1b-1-141210110000.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1682408030&gen=playurlv2&os=cosbstar1bv&oi=401434242&trid=0a415bc5e0774021be136f675ea46c26i&mid=0&platform=pc&upsig=367e65bcc7ef925bbe2fd799d96a1fb4&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&bvc=vod&nettype=0&orderid=0,2&logo=00000000
Exception: [AbstractCommand.cc:351] errorCode=22 URI=https://upos-sz-mirrorcosbstar1.bilivideo.com/iupxcodeboss/1b/pz/n230217ad42k8w8mmk2yx1c448ljpz1b-1-141210110000.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1682408030&gen=playurlv2&os=cosbstar1bv&oi=401434242&trid=0a415bc5e0774021be136f675ea46c26i&mid=0&platform=pc&upsig=367e65bcc7ef925bbe2fd799d96a1fb4&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&bvc=vod&nettype=0&orderid=0,2&logo=00000000
  -> [HttpSkipResponseCommand.cc:240] errorCode=22 The response status is not successful. status=403

aria2 will resume download if the transfer is restarted.
If there are any errors, then see the log file. See '-l' option in help/man page for details.

ERROR: aria2c exited with code 22
  File "/usr/local/bin/yt-dlp", line 8, in <module>
    sys.exit(main())
  File "/usr/local/Cellar/yt-dlp/2023.3.4/libexec/lib/python3.10/site-packages/yt_dlp/__init__.py", line 967, in main
    _exit(*variadic(_real_main(argv)))
  File "/usr/local/Cellar/yt-dlp/2023.3.4/libexec/lib/python3.10/site-packages/yt_dlp/__init__.py", line 957, in _real_main
    return ydl.download(all_urls)
  File "/usr/local/Cellar/yt-dlp/2023.3.4/libexec/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 3369, in download
    self.__download_wrapper(self.extract_info)(
  File "/usr/local/Cellar/yt-dlp/2023.3.4/libexec/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 3344, in wrapper
    res = func(*args, **kwargs)
  File "/usr/local/Cellar/yt-dlp/2023.3.4/libexec/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1507, in extract_info
    return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
  File "/usr/local/Cellar/yt-dlp/2023.3.4/libexec/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1518, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/Cellar/yt-dlp/2023.3.4/libexec/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1615, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/Cellar/yt-dlp/2023.3.4/libexec/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1674, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/usr/local/Cellar/yt-dlp/2023.3.4/libexec/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 2779, in process_video_result
    self.process_info(new_info)
  File "/usr/local/Cellar/yt-dlp/2023.3.4/libexec/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 3229, in process_info
    partial_success, real_download = self.dl(fname, new_info)
  File "/usr/local/Cellar/yt-dlp/2023.3.4/libexec/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 2970, in dl
    return fd.download(name, new_info, subtitle)
  File "/usr/local/Cellar/yt-dlp/2023.3.4/libexec/lib/python3.10/site-packages/yt_dlp/downloader/common.py", line 444, in download
    ret = self.real_download(filename, info_dict)
  File "/usr/local/Cellar/yt-dlp/2023.3.4/libexec/lib/python3.10/site-packages/yt_dlp/downloader/external.py", line 76, in real_download
    self.report_error('%s exited with code %d' % (
  File "/usr/local/Cellar/yt-dlp/2023.3.4/libexec/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1015, in report_error
    self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', *args, **kwargs)
  File "/usr/local/Cellar/yt-dlp/2023.3.4/libexec/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 944, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

[debug] Invoking aria2c downloader on "https://upos-bstar1-mirrorakam.akamaized.net/iupxcodeboss/1b/pz/n230217ad42k8w8mmk2yx1c448ljpz1b-1-1c1301000023.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1682408030&gen=playurlv2&os=akam&oi=401434242&trid=0a415bc5e0774021be136f675ea46c26i&mid=0&platform=pc&upsig=72fabf0b7bb230c3e78699da59164cd2&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&hdnts=exp=1682408030~hmac=fd1ce64ce07deb0cff606e52734a46ee81df53667820419788076b18751c38b6&bvc=vod&nettype=0&orderid=0,2&logo=00000000"
[download] No Reservations (2007) - Bilibili [2049426983].f2.mp4 has already been downloaded
[download] 100% of   63.93MiB

Can't recreate from germany

Can't recreate from germany

Do you mean you can download successfully?

Exactly. Without any problems.

@thomaschr are you using Aria2c?

I just copied your command line. Possible that I‘m not using it. How can I use it?

I just copied your command line. Possible that I‘m not using it. How can I use it?

Don't worry about it, I can test it since it works by default for me as well

I can't reproduce this. @WoodpeckerBaby can you please test:

whether you can still reproduce this
if you can, whether you can reproduce this with --ignore-config
if you can't, please test whether you can reproduce this after updating aria2c
please find another URL that you can reproduce this on, because I just noticed the example url is a pirated movie

From UK, -f worstvideo with the native downloader downloads 4MB and then closes any subsequent connection attempts.
...
[debug] Invoking http downloader on "https://upos-bstar1-mirrorakam.akamaized.net/iupxcodeboss/1b/pz/n230217ad42k8w8mmk2yx1c448ljpz1b-1-1f1210110000.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1683818036&gen=playurlv2&os=akam&oi=785385054&trid=13627205c25b4a77b96d3a114ace2c05i&mid=0&platform=pc&upsig=cf3f1a1571827168a7f772f0d345010e&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&hdnts=exp=1683818036~hmac=283af68a1859325caa619f80c20215008b9b050398c1475d5d8a625ba17a4ef5&bvc=vod&nettype=0&orderid=0,1&logo=00000000"
[download] Resuming download at byte 4194304
[download] Got error: Remote end closed connection without response. Retrying (1/10)...
...

aria2c says:
Exception: [HttpConnection.cc:156] errorCode=1 Got EOF from the server.

So this can fail in several ways.


Plans details table

Resolves https://github.com/konveyor/virt-ui/issues/57

@gildub I noticed your status on slack mentioned needing to add stuff to this page, is this PR ready for review or should it be a draft?

@mturley, I've updated it. Thanks

@vconzola, please review.

As discussed today during Scrum, all actions but the enable edit/remove options from Dropdown (Kebab) for the PlansTable.
I suggest to do that last one into a separate PR otherwise I'll come back to it first thing tomorrow.

@vconzola, please check it out.

yeah, I think that can be considered out of scope since it's on the main plans page and not the plan details page. We can open an issue for that.


knee upper bracket reinforcement

reinforced in 3d print

shoot i used the wrong support seperation on this print....

updated to have extra clearance to remove supports more easily. will print a 2nd tomorrow b4 merge


Solis 3P6K 4G not working

Hi there,
I have a Solis 3P6K 4G with a WiFi stick connected to my network.
The serial number is 404980XXXX and the firmware MW_08_512_0501_1.82
When i add the device with the following config:

I'm unfortunately met with the following log entry:
Querying [4999 - 4999] failed with exception [IllegalDataAddressError: The data address received in the request is not an allowable address for the server. ]
All entities are unknown and the connection state is disconnected.
I'm not sure how to continue from here and any help is appreciated.

@agirilovich i see you committed the yaml for this device, would you have any pointers for me?

Yeah. Suddenly reading of 4999 register got breakable.
I didn't investigate it deeply. But here is hotfix remove 4999 register request available.
Obviously, you are using old version of component. Just update it.


initiator group wasn't created correctly

Environment

Kubernetes Distribution: OpenShift
Storage: Nimble connected with Fiber channell (version: <IP_ADDRESS>0-796142-opt)
HPE CIS Driver: Managed by Operator (version: hpe-csi-operator.v1.3.0)

Summary
I detected that WWPN in Initiator Group was wrong with WWPN of Worker Node which was scheduling a Pod.
(I also found Initiator Group Name was defferent from Worker Node Name.)
Procedure

PVC are deployed successfully.(PV and Volume on Nimble are created automatically)

$ oc get pv,pvc
NAME                                                        CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM                  STORAGECLASS         REASON   AGE
persistentvolume/pvc-1c0fa0d1-39fa-4351-890c-6cf2c6cddb3c   1Gi        RWO            Delete           Bound    storage-test/rwo-pvc   hpe-standard-block            5m56s

NAME                            STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS         AGE
persistentvolumeclaim/rwo-pvc   Bound    pvc-1c0fa0d1-39fa-4351-890c-6cf2c6cddb3c   1Gi        RWO            hpe-standard-block   5m57s

Nimble OS $ vol --list
----------------+---------+------+-------+---------+---------+-------+---------
Name             Size      Online Offline Usage     Reserve % Limit % Path
                 (MiB)            Reason  (MiB)
----------------+---------+------+-------+---------+---------+-------+---------
pvc-1c0fa0d1-39fa-4351-890c-6cf2c6cddb3c      1024 Yes    N/A             0         0     100 default:/

And then deployed Deployment with PVC and replicas=1, but Pod kept ContainerCreating status.I could see the below messages in kubernetes events.

$ oc get events
LAST SEEN   TYPE      REASON                   OBJECT                          MESSAGE
71s         Normal    Scheduled                pod/app-rwo-59b5d69d88-sfjxq    Successfully assigned storage-test/app-rwo-59b5d69d88-sfjxq to openshift-worker-0
70s         Normal    SuccessfulAttachVolume   pod/app-rwo-59b5d69d88-sfjxq    AttachVolume.Attach succeeded for volume "pvc-1c0fa0d1-39fa-4351-890c-6cf2c6cddb3c"
32s         Warning   FailedMount              pod/app-rwo-59b5d69d88-sfjxq    MountVolume.MountDevice failed for volume "pvc-1c0fa0d1-39fa-4351-890c-6cf2c6cddb3c" : rpc error: code = Internal desc = Failed to stage volume 06063ae4eb3ef8ece4000000000000000000000009, err: rpc error: code = Internal desc = Error creating device for volume 06063ae4eb3ef8ece4000000000000000000000009, err: device not found with serial 2fe012418a542a736c9ce9000f08c238 or target
<omit>

The Pod worked on openshift-worker-0.

$ oc get pods -o wide
NAME                       READY   STATUS              RESTARTS   AGE     IP       NODE                 NOMINATED NODE   READINESS GATES
app-rwo-59b5d69d88-sfjxq   0/1     ContainerCreating   0          9m25s   <none>   openshift-worker-0   <none>           <none>

openshift-worker-0's WWPN were 0x10008e5407d00024 and 0x10008e5407d00026.

[root@openshift-worker-0 ~]# cat /sys/class/fc_host/host*/port_name
0x10008e5407d00024
0x10008e5407d00026

Initiator Group of Nimble was created automatically.The configuration is below.The WWPN in Initiator Group wasn't openshift-worker-0's (and also the name).

Nimble OS $ initiatorgrp --list
------------------------------+------------------------------+------------------
Initiator Group Name           Number of Initiators           Number of Subnets
------------------------------+------------------------------+------------------
container-node-openshift-worker-2-fc 2

Nimble OS $ initiatorgrp --info container-node-openshift-worker-1-fc
Name: container-node-openshift-worker-2-fc
Description: Created by com.nimblestorage.hi.nos.group.InitiatorGroupService
Host Type: auto
Access Protocol: fc
Application identifier: 0a58a9fe-0001-6f70-656e-73686966742dfc
Created: Jan  7 2021 17:54:49
Last configuration change: Jan  7 2021 17:54:50
Number of TDZ Ports: 4
        Interface Name: fc1c.1  Array: AF-222768
        Interface Name: fc1a.1  Array: AF-222768
        Interface Name: fc1d.1  Array: AF-222768
        Interface Name: fc1b.1  Array: AF-222768
Number of Initiators: 2
        Initiator: bay11_p1 (10:00:8e:54:07:d0:00:28)
        Initiator: bay11_p2 (10:00:8e:54:07:d0:00:2a)
Number of Volumes: 1
        Volume Name: pvc-1c0fa0d1-39fa-4351-890c-6cf2c6cddb3c
                LUN: 0

Logs

container logs of hpe-csi-driver and nimble-csp.

$ oc get pods -n hpe-csi-driver -o wide
NAME                                      READY   STATUS    RESTARTS   AGE   IP            NODE                 NOMINATED NODE   READINESS GATES
hpe-csi-controller-597578dd9b-srs2h       7/7     Running   0          23m   <IP_ADDRESS>    openshift-worker-2   <none>           <none>
hpe-csi-driver-operator-dc56c6d9f-cmv5s   1/1     Running   0          23m   <IP_ADDRESS>   openshift-worker-0   <none>           <none>
hpe-csi-node-697gb                        2/2     Running   0          23m   <IP_ADDRESS>    openshift-worker-1   <none>           <none>
hpe-csi-node-tk9m4                        2/2     Running   0          23m   <IP_ADDRESS>    openshift-worker-2   <none>           <none>
hpe-csi-node-wcq9t                        2/2     Running   0          23m   <IP_ADDRESS>    openshift-worker-0   <none>           <none>
nimble-csp-84845b579b-9lt5j               1/1     Running   0          23m   <IP_ADDRESS>    openshift-worker-2   <none>           <none>
primera3par-csp-6d87785fcb-bsmfd          1/1     Running   0          23m   <IP_ADDRESS>   openshift-worker-0   <none>           <none>

hpe-csi-controller-597578dd9b-srs2h_hpe-csi-driver.log
hpe-csi-node-wcq9t_hpe-csi-driver.log
nimble-csp-84845b579b-9lt5j .log
hpe-csi-controller-597578dd9b-srs2h_csi-attacher.log
hpe-csi-controller-597578dd9b-srs2h_csi-provisioner.log
Configurations

HPECSIDriver and StorageClass manifest

storageclass.yaml.txt
HPECSIDriver.yaml.txt

PVC and Deployment manifest

pvc.yaml.txt
deployment.yaml.txt

Can you check this @raunakkumar?

Can you check this @raunakkumar?

Hi @yakiyoshi
Can you also share the output of
kubectl get hpenodeinfo  openshift-worker-2 -o json
Looks like node names seems to be interchanged on the host and the initiatorgroup, is this an issue here?
container-node-openshift-worker-1-fc
Name: container-node-openshift-worker-2-fc

Hi @yakiyoshi
Can you also share the output of
kubectl get hpenodeinfo  openshift-worker-2 -o json
Looks like node names seems to be interchanged on the host and the initiatorgroup, is this an issue here?
container-node-openshift-worker-1-fc
Name: container-node-openshift-worker-2-fc

I'v already destroy the environment, so I couldn't get the information you shared.
Could you tell me about how to change hpenodeinfo? (I'd like to know that for a feature work)
Acutally, I tried to create new cluster and deploy hpe csi driver.
But hpe csi driver operatoer was updated to v1.4.0 at new cluster and pulling some image was failed.(#237)

I'v already destroy the environment, so I couldn't get the information you shared.
Could you tell me about how to change hpenodeinfo? (I'd like to know that for a feature work)
Acutally, I tried to create new cluster and deploy hpe csi driver.
But hpe csi driver operatoer was updated to v1.4.0 at new cluster and pulling some image was failed.(#237)


Update age--1.1.0--1.1.1.sql

Includes enhanced comments, version control information, placeholders for error handling mechanisms, and test cases to validate the functionality of the functions.

@AneeqaCodes I appreciate your desire to clean files up :) However, these files: age--x.x.x--y.y.y.sql are special files and need to be left as is. Closing PR

@AneeqaCodes The function of the age--x.x.x--y.y.y.sql files is for upgrading from version x.x.x to version y.y.y and the responsibility of the content is on the developer who creates PRs that impact* this file and PMCs who perform version releases. It is best to just leave these files as is.

impact = developers who add, delete, or modify openCypher functions


Implement slackUserIdFromEmail and slackUserIdsFromCommitters pipelin…

…e steps

Is it worth briefly documenting this in the readme?

@timja Sure, I'll put together usage examples.

@timja it might be too late now that a release has gone out, but it would've been better for the slackUserIdsFromCommitters step to return a Map<String,String> to map the user's email address to the user's slack Id. Thoughts?


Automated cherry pick of #3009: ansibleserver: 避免数据库故障引起内部状态不一致

Cherry pick of #3009 on release/2.10.0.
#3009: ansibleserver: 避免数据库故障引起内部状态不一致

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@fb7ede5). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             release/2.10.0   #3013   +/-   ##
================================================
  Coverage                  ?   7.46%
================================================
  Files                     ?     414
  Lines                     ?   66064
  Branches                  ?       0
================================================
  Hits                      ?    4933
  Misses                    ?   60709
  Partials                  ?     422

Flag
Coverage Δ

#aFlag
7.46% <ø> (?)

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 fb7ede5...c931a03. Read the comment docs.

/lgtm

/approve


Inconsistent endTime when ending Spans. EndTime may be > than startTime with Typescript

What happened?
Steps to Reproduce

Set up a WebVitalsInstrumentation class that extends from InstrumentationBase
Using a custom constructor, call the super function and assign a started time this._started = new Date()
Initialize the class with an init method, that gets WebVitals traces (CLS, FID, FCP, ...)
Inside the initialization of these Traces, we will use traces that comes from IntrumentationBase and start creating Spans with startSpan
Send the required parameters to it
Finally, end the span with span.end() function without any endTime send as argument (this should in theory, set the endTime as later than this._started

Expected Result
We see the Spans with StartTime <= EndTime
Actual Result
The EndTime value is inconsistent. In some cases is behaving as expected, and in some others we see the date being up to 12 hours before the _started date.
Additional Details
Screenshot of the Ingested Traces

OpenTelemetry Setup Code
instrumentation.js
import * as otelApi from '@opentelemetry/api'
import {
  InstrumentationBase,
  InstrumentationConfig
} from "@opentelemetry/instrumentation"

import * as WebVitals from 'web-vitals'

const VERSION = "0.1.0"

export class WebVitalsInstrumentation extends InstrumentationBase {
  private _isRecording = false
  private readonly _started: Date
  private _isInitialized = false

  constructor(config: InstrumentationConfig = {}) {
    super("@company/instrumentation-web-vitals", VERSION, config)
    this._started = new Date()
  }

  protected init(): void {
    if (this._isInitialized) {
      return
    }

    this._isInitialized = true
    console.log("WebVitalsInstrumentation.initialized")
    WebVitals.getCLS(m => this._record("web-vitals-cls", m)) // |  Good   <100ms  |  Okay   <250ms   |  Bad   >250ms   |
    WebVitals.getFID(m => this._record("web-vitals-fid", m)) // |  Good   <100ms  |  Okay   <300ms   |  Bad   >300ms   |
    WebVitals.getLCP(m => this._record("web-vitals-lcp", m)) // |  Good   <2.5s   |  Okay   <4.0s    |  Bad   >4.0s    |
    WebVitals.getFCP(m => this._record("web-vitals-fcp", m))
    WebVitals.getTTFB(m => this._record("web-vitals-ttfb", m))
  }

  private _record(name: string, metric: WebVitals.Metric): void {
    if (!this._isRecording) {
      return
    }

    console.log("WebVitalsInstrumentation._record", name, metric)
    const span = this.tracer.startSpan(name, {
      startTime: this._started,
      attributes: { value: metric.value },
      kind: otelApi.SpanKind.INTERNAL
    })
    span.end()
  }

  public enable(): void {
    this._isRecording = true
    this.init()
    console.log("WebVitalsInstrumentation.enabled")
  }

  public disable(): void {
    this._isRecording = false
    console.log("WebVitalsInstrumentation.disabled")
  }
}

loader.js
// OpenTelemetry
import * as otelCore from "@opentelemetry/core"
import * as otelApi from "@opentelemetry/api"

// Otel Setup (Trace Provider, Processor, Exporter, ...)
import { WebTracerProvider } from '@opentelemetry/sdk-trace-web'
import { BatchSpanProcessor } from '@opentelemetry/sdk-trace-base'
import { CollectorTraceExporter } from '@opentelemetry/exporter-collector'
import { registerInstrumentations } from '@opentelemetry/instrumentation'
import { ZoneContextManager } from "@opentelemetry/context-zone"

// Plugins
import { Resource } from '@opentelemetry/resources'
import { SemanticResourceAttributes } from '@opentelemetry/semantic-conventions'
import { DocumentLoadInstrumentation } from '@opentelemetry/instrumentation-document-load'
import { WebVitalsInstrumentation } from './instrumentation/web-vitals-instrumentation'
import { B3Propagator, B3InjectEncoding } from "@opentelemetry/propagator-b3";

export function initOpenTelemetry() {
  // setup Propagator
  const propagator = new otelCore.CompositePropagator({
    propagators: [
      new B3Propagator(),
      new B3Propagator({ injectEncoding: B3InjectEncoding.MULTI_HEADER }),
      // new otelCore.HttpBaggagePropagator()
    ]
  })

  otelApi.propagation.setGlobalPropagator(propagator)

  // setup Collector
  const collectorOptions = {
    url: "https://our-collector.com/",
    headers: {
      "content-type": "application/json"
    }
  }

  // setup Span Resource
  const resource = new Resource({
    [SemanticResourceAttributes.SERVICE_NAME]: "mock_name",
    [SemanticResourceAttributes.SERVICE_NAMESPACE]: "mock_namespace",
    [SemanticResourceAttributes.SERVICE_INSTANCE_ID]: "web",
    [SemanticResourceAttributes.SERVICE_VERSION]: process.env.VERSION || "0.0.0"  })

  // init provider and exporter
  const provider = new WebTracerProvider({ resource })
  const exporter = new CollectorTraceExporter( collectorOptions )

  // Add Span Processor to provider
  provider.addSpanProcessor(new BatchSpanProcessor(exporter, {
    // The maximum queue size. After the size is reached spans are dropped.
    maxQueueSize: 100,
    // The maximum batch size of every export. It must be smaller or equal to maxQueueSize.
    maxExportBatchSize: 50,
    // The interval between two consecutive exports
    scheduledDelayMillis: 500,
    // How long the export can run before it is cancelled
    exportTimeoutMillis: 30000,
  }))

  // Instrumentation
  registerInstrumentations({
    instrumentations: [
      new DocumentLoadInstrumentation(),
      new WebVitalsInstrumentation(),
    ],
    tracerProvider: provider,
  })

  provider.register({
    contextManager: new ZoneContextManager().enable() as otelApi.ContextManager,
    propagator
  })

  // Baggage Init
  const baggage =
    otelApi.propagation.getBaggage(otelApi.context.active()) ||
    otelApi.propagation.createBaggage()

  baggage.setEntry("sessionId", { value: "session-id-value" })
  otelApi.propagation.setBaggage(otelApi.context.active(), baggage)
}

package.json
No response
Relevant log output
No response

I think this is a duplicate of #3279 can you confirm and move conversation there if you can?

Indeed, after reading the other conversation, looks like were are addressing the same type of errors with Traces and Spans. I'll keep an eye on the other bug 👍


Create styles.css

Description

Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[x] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

Changes

Please which part of the project your changes affect ?

[x] Frontend (Templates, CSS, JS)
[ ] Backend (Dancer2, api-docs, Dockerfile)

@Samtoosoon please join the slack channel so that we can discuss this in more details.
https://theweeklychal-ud4770.slack.com

Apparently @Samtoosoon is inactive, so closing this pull request. Please ping me if you want to discuss the proposed changes.


https split packet

Hi I am using the AT command firmware, to connect to AWS IOT.
When using HTTPS to read the shadow registry i seem to have a split packet.
I receive the https header in full
+IPD,1,190:HTTP/1.1 200 OK
content-type: application/json
content-length: 3698
..etc
From this i see that my payload should have 3698 characters
But i get the following
+IPD,1,2920: ... and receive 2920 bytes.
but i do not receive the final 778 characters.
I am not missing any data in the first 2920 bytes... and it is exactly replicated every time i do this test.
Is there a way to receive the final part of the packet? (is the data buffered somewhere)(do i need to send AT command to continue receiving data)
Can i make buffers long?
Any advice would be appreciated
Thanks William

Which module and chip do you use?  Can you provide us the url you test？


Extremely randomized trees

The variety of mdels plays an important role in model ensemble. I tried some parameters such as "colsample_bytree, colsample_bynode" to make model more stable and different, but trees still grow by some criterion, resulting in the similar models. However, I tried the combination "extratree+lgb", and randomized tree could be used as the certain feature embeding tool  that improves model variety. So I suggest adding extremely randomized tree as base learner.

Closed in favor of being in #2302. We decided to keep all feature requests in one place.
Welcome to contribute this feature! Please re-open this issue (or post a comment if you are not a topic starter) if you are actively working on implementing this feature.

Opening as we have active PR for this feature: #2671.

Closed via #2671.


[FLINK-5608] [webfrontend] Cancel button stays visible in narrow windows

Most importantly, the Cancel button has been changed to float
right, and will only wrap downward if pushed out by the job name
Also combined the job name and job id into a single horizontal
element, reducing the overall horizontal space taken by the main
navbar components in the job view, making the main navbar components
less likely to wrap downward and be overlapped by the secondary navbar.
Compiled code has been rebuilt

Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration.
If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the How To Contribute guide.
In addition to going through the list, please provide a meaningful description of your changes.

[x] General

The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[ ] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[ ] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

Thanks for the PR. I also sometimes had the bad experience while testing that the cancel button was not visible. This change definitely solves it. I tested it and it works as expected. I made some screenshots and would love some feedback from other contributors before changing this.
Wide
Current:

This PR:

Narrow
Current:

This PR:

How come the state of tasks is no longer shown?

The screenshots look good! My only concern is @zentol 's comment.

Good point. @rehevkor5 is it possible to only hide the color boxes when the browser window is very narrow?

Thanks @uce that's helpful! Didn't think of putting screenshots in the PR.
@zentol The global job state counts didn't seem like the most important thing to show when the browser is narrow, given that this view is about a particular job. So, I added these CSS classes to it ".hidden-xs .hidden-sm .hidden-md" the behavior of which is described on http://getbootstrap.com/css/#responsive-utilities I am not sure what width @uce used for the "wide" screenshots, but it probably was less than 1200px, otherwise it would show up. I can remove the ".hidden-md" class if you want it to show up in the 992px to 1200px range, too... however it does make it more likely for the other more job-specific elements (start/end, duration) to wrap & get lost. Perhaps it would be a good idea to reorder the elements? Put start/end & duration first, and overall job stats last so that it's the first one to wrap? Let me know if you have a preference.

@zentol I updated the commit: the overall job status count is now displayed in medium-width (but not small or below), and I move the job status count to the right of job start/end & duration.
Also, I applied the float-right fix to the "Stop" button, which I didn't notice before.
You can see that the fix isn't perfect when the job name is long, but it's still better than what it was. Screenshots from Chrome 55.0.2883.95, controlling window width in the dev tool.
1200px:

1128px (you can see the top navbar wrapping down & peeking out from behind the secondary navbar:

1020px (back to normal because left navbar is collapsed):

992px (wrapping again):

991px:

I think this looks nice...
+1

Thanks for addressing my comments. Looks very good now. I'm going ahead and merging this.


MNT: Re-rendered with conda-build 3.19.2, conda-smithy 3.7.6, and conda-forge-pinning 2<IP_ADDRESS>.41.32

Re-enabling standalone build (redoing #95 from scratch)

Checklist

[X] Used a personal fork of the feedstock to propose changes
[X] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[X] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge/core  a recent conda-forge change causes ghc configure to treat the target system as  x86_64-conda-linux instead of  x86_64-unknown-linux .  What would be the right way to fix this?
2020-08-04T18:45:35.6303232Z checking version of ghc... 8.4.2
2020-08-04T18:45:35.9908111Z checking build system type... x86_64-conda-linux-gnu
2020-08-04T18:45:36.0107167Z checking host system type... x86_64-conda-linux-gnu
2020-08-04T18:45:36.0112921Z checking target system type... x86_64-conda-linux-gnu
2020-08-04T18:45:36.0404175Z GHC build  : x86_64-conda-linux
2020-08-04T18:45:36.0405068Z GHC host   : x86_64-conda-linux
2020-08-04T18:45:36.0410650Z GHC target : x86_64-conda-linux
2020-08-04T18:45:36.0411253Z LLVM target: x86_64-conda-linux
2020-08-04T18:45:36.0411665Z This GHC ($SRC_DIR/ghc_bootstrap_pfx/bin/ghc) does not generate code for the build platform
2020-08-04T18:45:36.0412254Z    GHC target platform    : x86_64-unknown-linux
2020-08-04T18:45:36.0413814Z    Desired build platform : x86_64-conda-linux

@isuruf thanks a lot for helping with this.  there's also a second ./configure call in build_nodepFalse.sh that may also need to be changed?


Allow for tests to be shifted into the actual reporting period.

Default behavior is to use the date in the bundle.

We should work up some tests for calculation on shifting dates, and probably some Cucumber tests for the UI.

This ticket address the feature requested in https://jira.mitre.org/browse/CYPRESS-45.
This feature allows for a user (vendor or ATL) to choose whether or not to shift test records in to actual reporting period.  This feature reuses the shift_dates functionality in HDS to shift the patient records.  The amount of time for the shift is determined by the bundle (and specified in the bundle configurtion in cypress.yml).  The amount of time is specified in years (e.g., the 2016.0.0 bundle has records from the 2015 calendar year, and the acutal reporting period is for 2017.  therefore the dates need to be shifted forward 2 years).
All references for effective_date and measure_period_start should reference the product, and not the bundle.  If shift_dates is not specified, the products measure_period_start will return the bundles measure_period_start.  The effective_date can be determined relative to the measure_period_start.
In addition to shifting records, all measure dependent validations needs to use the shifts as well

Cat 3 Calculator
Measure Period Validator

Submitter:

[x] This pull request describes why these changes were made.
[x] Internal ticket for this PR: https://jira.mitre.org/browse/CYPRESS-45
[x] Internal ticket links to this PR
[x] Code diff has been done and been reviewed
[x] Tests are included and test edge cases
[x] Tests have been run locally and pass

Reviewer 1:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

Reviewer 2:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

I need to update the reference in Clinical Randomizer to reference the products effective dates.


Work fine with LeafletJS 1.7.1

Hi, I create a map with this plugin and work fine mappa-milano-2020/template04

Thats true. I used LeafletJS 1.3.1, so I was getting errors trying to attach MovingMarker.js. Now works fine on 1.7.1.
Thanks for information. Here is my demo
And… nice demo C:

I'm sorry my demo didn't work. Now I've fixed it. Your demo is beautiful too!


Fix v2 new_droplet

Fixes two issues with v2's new_droplet:

Adds support for the missing user_data attribute (unsupported on v1)

Fixes ssh_keys attribute to POST as an array
The API returns "You specified invalid ssh key ids for Droplet creation." otherwise.

Thx @bismark
Added user_data + convert ssh_keys to proper array.


python manage.py collecttemplates fails with error IndexError: list index out of range

When Using:

Python 3.5
Django 1.9.1
Mezzanine 4.1

This management command fails:
python manage.py collecttemplates

Error message:
/usr/local/lib/python3.5/site-packages/django/core/management/base.py:265: RemovedInDjango110Warning: OptionParser usage for Django management commands is deprecated, use ArgumentParser instead
  RemovedInDjango110Warning)

Traceback (most recent call last):
  File "manage.py", line 14, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.5/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.5/site-packages/django/core/management/__init__.py", line 345, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.5/site-packages/django/core/management/base.py", line 348, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.5/site-packages/django/core/management/base.py", line 399, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python3.5/site-packages/mezzanine/core/management/commands/collecttemplates.py", line 42, in handle
    to_dir = settings.TEMPLATE_DIRS[0]
IndexError: list index out of range

Thanks for the report.

Just confirming this is issue also occurs with:
Python 2.7.6
Django 1.9.1
Mezzanine 4.1

i have same error too..
help me...

Go to mezzanine/core/management/commands/collecttemplates.py
Edit line 42, make it say
to_dir = settings.TEMPLATES[0]["DIRS"][0]

it still give an error

@satriani04 looks like you have problem with mixing tab/space in file

I got the same error as @softinio At first I followed @rozenmd advice which worked but I decided to just downgrade for now until official fix is available.
pip install Mezzanine==4.0.1

Simply workaround without installed Mezzanine patching
Just temporary add line TEMPLATE_DIRS = [TEMPLATES[0]['DIRS'][0]] to settings.py file execute collect_templates command and remove added line after it.
Profit!

ok it fixed now. thanks all..

Thank you albenik

"Just temporary add line TEMPLATE_DIRS = [TEMPLATES[0]['DIRS'][0]] to settings.py file execute collect_templates command and remove added line after it."
Remove which line? Sorry, I don't understand.

the line you have just added.
regards

This still is not fixed. I'm on the latest and the posted fix above doesn't work either

It is fixed in the master branch, not 4.1.0. The fix will be part of the
next Mezzanine release.

Here is pic how to configure it

Here's my output


Updated Version of Plugin

Changes include:

Single widget for handling configs and training
Specify device and object_size as widget params to be entered by the user (instead of being available as attributes of TrainConfig in the past)

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Add WatchYourLan

Add icon for https://github.com/aceberg/WatchYourLAN

Just realized the icon is already there
https://github.com/walkxcode/dashboard-icons/blob/main/png/watchyourlan.png


feat(database): db engine connection attempts during startup

What kind of change does this PR introduce?
This PR adds support for multiple connection attempts in the Sequelize adapter in case connection fails.

[ ] Bugfix
[x] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other (please describe)

Does this PR introduce a breaking change?

[ ] Yes
[x] No

The PR fulfills these requirements:

[x] It's submitted to the main branch
[ ] When resolving a specific issue, it's referenced in the PR's description  (e.g. fix #xxx, where "xxx" is the issue number)

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature

Other information:

Actually, let's also make the timeout duration consistent between Mongoose and Sequelize and display a connection attempt message in Mongoose.

This needs to be rebased against Mongoose updates from main.


[FR] Choose Context Storage

Many thanks for this contribution. This is really a missing link between all the timer and schedule nodes and the dashboard.
I'm using different context storage options in my projects. Default is typically a non-persistent storage (e.g. for runtime data) and for certain tasks, I'm also using persistent storage (e.g. for settings).
Would you consider to add a setting to choose the storage so that it is possible to point it to a persistent storage? Many thanks for considering in advance.

Thank you for your feedback. I was able to start developing the requested change today and I am planning to release an update soon.
Could you provide your context storage configuration from your settings.js file as an additional test case?

Many thanks for your ultra fast response. Appreciated!
As requested:
	"contextStorage": {
		"default": {
			"module": "memory"
		},
		"file": {
			"module": "localfilesystem",
			"config": {
				"dir": "/media/usb0/context/",
				"flushInterval": 30
			}
		}
	},

1.15.0 should be available via the palette manager soon.
I would be very grateful if you could do a few tests!

Works as expected. Many thanks for your great support! 👍


suggestion: "switch rx mode" should be a binary toggle

This is only my opinion: the "switch rx mode" shortcut would be more convenient if it only switches between "Main Only" and whatever mode you have saved. If you have selected "Main Only" in settings then it can switch through all the modes.

Actually, I initially thought "but there are multiple Rx modes". However, the ability, with a single button,  to toggle between "Main Only" and "Dual Rx" would be very useful.

Take a look at the MAINL ONLY action, which I've just added to v2.8.
Enjoy.
Armel F4HWN.


CSS Documentation

Acceptance Documentation

Requires naming conventions
Semantics and Structure of the CSS Files
Where to store and how to implement CSS Files in Program

I'll look through this once I'm back at accomodations

👍Thank you for your Hardwork,
I've adjusted various sections please have a quick peer review and message me as soon as possible so we can close this.


Replace nunit.engine.api with testcentric.engine.api

This has been a long-term goal for a while but was never documented in an issue.
Originally, I thought we could do this gradually, but experience has shown that the various interfaces  in the api are too inter-dependent for that to work easily. Consequently, the intent of this issue is to try to immediately do away with direct use of the nunit api and replace it with our own. Further changes will be needed after this is done, but that will be a matter for other issues to address.
We may still reference the NUnit Api behind the scenes in order to interoperate with NUnit. In a few cases, our own interface may need to inherit from the correspoinding NUnit interface.

:tada: This issue has been resolved in version 2.0.0-beta3 :tada:
The release is available on:

GitHub Release
NuGet Package


styling and code cleanup

📝Changed routes:

/
/work

(view full size)
(view full size)

Commit 5da4a16c3a82cdb8d42d96f48bdb00dba4fa2275 (https://axelekwallse-git-dev.axelekwall.now.sh).


Quest Tracking Bug: Missing Progress Text in UI

When trying to track quests without any questing addons installed, the quest tracking feature does not function properly. Unlike the standard UI, where a quick reference for your five tracked quests appears on the screen, there is no text displayed. Could the standard functionality of displaying progress text in the right corner be reinstated?

Typically, pfQuest + pfQuest turtle is used. I removed the default to make it look cleaner.