docs: add enhanced api how-to doc

Pull Request Checklist

[ ] Did you add new tests and confirm existing tests pass? (yarn test)
[ ] Did you update relevant docs? (docs are found in the site folder, see guidleines below)
[ ] Do your commits follow the Conventional Commits standard?
[ ] Does your PR title also follow the Conventional Commits standard?
[ ] If you have a breaking change, is it [correctly reflected in your commit message](https://www.conventionalcommits.org/en/v1.0.0/#examples? (e.g. feat!: breaking change)
[ ] Did you run lint (yarn lint:check) and fix any issues? (yarn lint:fix)
[ ] Is the base branch you're merging into development and not main?

PR-Codex overview
Detailed summary

Added types for GetTokenBalancesResponse and OwnedNftsResponse in site/snippets/enhanced-apis-example/viem-client/types-api.ts
Updated link in site/introduction.md from /smart-accounts/sponsoring-gas to /guides/sponsoring-gas
Added code in site/snippets/enhanced-apis-example/alchemy-sdk/example.ts to get token balances and NFTs owned by a smart account
Updated links in site/.vitepress/config.ts to various guides and tutorials
Added code in site/snippets/enhanced-apis-example/viem-client/example.ts and site/snippets/enhanced-apis-example/viem-client/actions.ts to interact with the Alchemy Enhanced API
Added code in site/snippets/enhanced-apis-example/viem-client/factory.ts to create an Alchemy Enhanced API client
Added enums and types in site/snippets/enhanced-apis-example/viem-client/types-enums.ts and site/snippets/enhanced-apis-example/viem-client/types-client.ts
Added code in site/snippets/enhanced-apis-example/viem-client/transport.ts for custom transport and NFT transport
Updated content in site/guides/send-user-operation.md to correct link
Updated content in site/smart-accounts/batching-transactions.md and site/smart-accounts/transferring-ownership.md to correct titles

The following files were skipped due to too many changes: site/smart-accounts/transferring-ownership.md, site/smart-accounts/sponsoring-gas.md, site/snippets/enhanced-apis-example/viem-client/types-helpers.ts, site/smart-accounts/overview.md, site/why-account-kit.md, site/guides/enhanced-apis.md

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Current dependencies on/for this PR:

development

PR #218   👈

This stack of pull requests is managed by Graphite.


added logfiltering feature

hi,
i added the ability to filter logs before they get shipped.
please review and hopefully merge :-)

Dupe #321

my code supports excluding :P

ported to tailmanager

Looks good, I'll try make some time to run it locally this week.
When you get chance can you add some tests around the feature too, please.

Ping @pnebert any chance of adding those tests into the PR?

im on it, but first i have to figure out how i run tests

@JamieCressey would be maybe a good idea if you could add instructions on running tests to the readme/docs :)

would be great :-)

Tests are fairly straight-forward. I've taken the opportunity to add some contributing guidelines which include details on the tests:
https://github.com/josegonzalez/python-beaver/blob/master/CONTRIBUTING.rst


Bug: raise EOFError after running for 94000 steps

INFO - Newton iteration did not converge after 5 iterations, P_inf =4.2246 e-04 (tpC_system.py:610)
INFO - Step =1, time =0.1000 (ipc_system.py:491)
INFO - Newton iteration did not converge after 5 iterations, p_inf =2.9361-04 (ipc_system.py:610)
INFO - Step =2, time =0.2000 (ipc_system.py:491)
INFO - Newton iteration did not converge after 5 iterations, P_inf = 4.8946e-04 (ipc_system.py:610)
INFO - Step =3, time =0.3000 (ipc_system.py:491)
Traceback (most recent call last):
File "/home/george/桌面/KCL/ManiSkill-ViTac2024/scripts/universal_training_script.py", line 168, in
model.learn(
File "/home/george/miniconda3/envs/mani_vitac/lib/python3.10/site-packages/stable_baselines3/td3/td3.py", line 222, in learn
return super().learn(
File "/home/george/miniconda3/envs/mani_vitac/lib/python3.10/site-packages/stable_baselines3/common/off_policy_algorithm.py", line 312, in learn
rollout = self.collect_rollouts (
File "/home/george/miniconda3/envs/mani_vitac/lib/python3.10/site-packages/stable_baselines3/common/off_policy_algorithm.py", line 544, in collect_rollouts
new_obs, rewards, dones, infos = env.step(actions)
File "/home/george/miniconda3/envs/mani_vitac/lib/python3.10/site-packages/stable_baselines3/common/vec_env/base_vec_env.py", line 197, in step
return self.step_wait()
File "/home/george/miniconda3/envs/mani_vitac/lib/python3.10/site-packages/stable_baselines3/common/vec_env/subproc_vec_env.py", line 132, in step_wait
results = [remote.recv() for remote in self.remotes]
File "/home/george/miniconda3/envs/mani_vitac/lib/python3.10/site-packages/stable_baselines3/common/vec_env/subproc_vec_env.py", line 132, in
results = [remote.recv() for remote in self.remotes]
File "/home/george/miniconda3/envs/mani_vitac/lib/python3.10/multiprocessing/connection.py", line 255, in recv
buf = self._recv_bytes()
File "/home/george/miniconda3/envs/mani_vitac/lib/python3.10/multiprocessing/connection.py", line 419, in _recv_bytes
buf = self._recv(4)
File "/home/george/miniconda3/envs/mani_vitac/lib/python3.10/multiprocessing/connection.py", line 388, in _recv
raise EOFError
EOFError
After training for 94,000 steps, errors always occur. I believe this might be due to remote.recv() outputting logging information: INFO, and too much output of INFO leads to an EOFError.

You could comment out the ipc_logger https://github.com/Rabbit-Hu/sapienipc-exp/blob/a6539b4eead53ef6ac537a86664a386efd3b7869/src/sapienipc/ipc_utils/logging_utils.py#L44

Thank you very much for your help, but it seems that even after disabling INFO output, the code still raises an EOFError after about 90,000 steps. Therefore, my previous assumption was incorrect, and there must be another bug here.
'''shell
Traceback (most recent call last):
File "/home/george/桌面/KCL/ManiSkill-ViTac2024/scripts/universal_training_script.py", line 168, in
model.learn(
File "/home/george/miniconda3/envs/mani_vitac/lib/python3.10/site-packages/stable_baselines3/td3/td3.py", line 222, in learn
return super().learn(
File "/home/george/miniconda3/envs/mani_vitac/lib/python3.10/site-packages/stable_baselines3/common/off_policy_algorithm.py", line 312, in learn
rollout = self.collect_rollouts (
File "/home/george/miniconda3/envs/mani_vitac/lib/python3.10/site-packages/stable_baselines3/common/off_policy_algorithm.py", line 544, in collect_rollouts
new_obs, rewards, dones, infos = env.step(actions)
File "/home/george/miniconda3/envs/mani_vitac/lib/python3.10/site-packages/stable_baselines3/common/vec_env/base_vec_env.py", line 197, in step
return self.step_wait()
File "/home/george/miniconda3/envs/mani_vitac/lib/python3.10/site-packages/stable_baselines3/common/vec_env/subproc_vec_env.py", line 132, in step_wait
results = [remote.recv() for remote in self.remotes]
File "/home/george/miniconda3/envs/mani_vitac/lib/python3.10/site-packages/stable_baselines3/common/vec_env/subproc_vec_env.py", line 132, in
results = [remote.recv() for remote in self.remotes]
File "/home/george/miniconda3/envs/mani_vitac/lib/python3.10/multiprocessing/connection.py", line 255, in recv
buf = self._recv_bytes()
File "/home/george/miniconda3/envs/mani_vitac/lib/python3.10/multiprocessing/connection.py", line 419, in _recv_bytes
buf = self._recv(4)
File "/home/george/miniconda3/envs/mani_vitac/lib/python3.10/multiprocessing/connection.py", line 388, in _recv
raise EOFError
EOFError
'''


Compile error when building with Cargo

error: failed to run custom build command for `erlang_nif-sys v0.6.4`

Caused by:
  process didn't exit successfully: `/Users/julia.boeira/Documents/bercode/native/io/target/debug/build/erlang_nif-sys-1d4db100cb37e287/build-script-build` (exit code: 101)
  --- stdout
  Unsupported Erlang version.

  Is the erlang_nif-sys version up to date in the Cargo.toml?
  Does 'cargo update' fix it?
  If not please report at https://github.com/goertzenator/erlang_nif-sys.

  --- stderr
  thread 'main' panicked at 'gen_api.erl encountered an error.', /Users/julia.boeira/.cargo/registry/src/github.com-1ecc6299db9ec823/erlang_nif-sys-0.6.4/build.rs:28:22
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed

@hansihe Is this repo obsoleted by https://github.com/rusterlium/rustler/tree/master/rustler_sys ?  If so we should put a note on the top of this repo to keep people from getting stuck here.

I got stuck from Rustler ~0.21, I did not use intentionally


[Native File Dialogs] Refocus last focused window on close.

Fixes https://github.com/godotengine/godot/issues/80905

Thanks!


[Feature Request] PolyMorph support

Feature Request
What's the feature you think Backpack should have?
I don't know if this is possible, but I couldn't find it's documentation anywhere, nor it's code implementation. But it seems that it's not possible to add a polymorphic one-to-one crud field?
I have 3 models:

Business
User
Payment

Payments have a fromable column, which is a polymorph between Business and User. In other words, a payment can be either from a user or a business.
Do we have a crud field that would work on my fromable field?
Any suggestions of a workaround to get it working?

Hi @lambasoft!
In a situation like this I would create two fields user and business, and make one of them mandatory on create/update.
For the column on the list, I would do an accessor;
Model:
public function getFromableAttribute()
{
    return $this->user->name ?? $this->business->name;
}

Controller:
CRUD::addColumn([
    'name' => 'fromable',
    'label' => __('Fromable'),
]);

Does this solves your problem?
Regards,

@promatik
Thank you for answer, I think it placed me on the right track.
What about the create operation, is this the right field to add for From Business:
    $this->crud->addField([    // Select2Multiple = n-n relationship (with pivot table)
        'label'     => "From Business",
        'type'      => 'select2_multiple',
        'name'      => 'fromable', // the method that defines the relationship in your Model

        // optional
        'entity'    => 'fromable', // the method that defines the relationship in your Model
        'model'     => "App\Models\Business", // foreign key model
        'attribute' => 'name', // foreign key attribute that is shown to user
        'morph'     => true, // on create&update, do you need to add/delete pivot table entries?
    ]);

In my Business model I have
public function payments_from(){
    return $this->morphMany(Payment::class, 'fromable');
}

public function payments_to(){
    return $this->morphMany(Payment::class, 'toable');
}

Thank you for your help, really appreciated

To anyone having such problem in the future, I solved it by creating a custom field type called "select2_polymorph" that combines a dynamic number of morphs into 1 select, so in my case I have a select that combines all available Users and Businesses into 1 select (I didn't want to create 2 selects for each) and overwriting the store function.
My Store function:
public function store()
    {

        $morphableClass = $this->crud->getModel()->getMorphClass();
        $morphableClass = new $morphableClass();
        foreach ($this->crud->getRequest()->request as $input => $value) {
            if (method_exists($morphableClass, $input) && is_callable(array($morphableClass, $input))) {
                $callable = $morphableClass->{$input}();
                if ($callable instanceof MorphTo && Str::contains($value, ["[", "]"])) {
                    $morphClass = Str::before($value, "[");
                    $morphClassKey = Str::between($value, "[", "]");
                    if (class_exists($morphClass) && is_numeric($morphClassKey)) {
                        $this->crud->removeField($input);
                        $this->crud->getRequest()->request->remove($input);

                        $this->crud->getRequest()->request->add([
                            $callable->getMorphType() => $morphClass,
                            $callable->getForeignKeyName() => $morphClassKey
                        ]);
                        $this->crud->addField(['type' => 'hidden', 'name' => $callable->getMorphType(), 'value' => $morphClass]);
                        $this->crud->addField(['type' => 'hidden', 'name' => $callable->getForeignKeyName(), 'value' => $morphClassKey, 'entity' => False]);
                    }

                }
            }
        }

        $response = $this->traitStore();
        // do something after save
        return $response;
    }

Usage of the custom field:
    $this->crud->addField([   // Custom Field
        'name' => 'fromable',
        'label' => 'From',
        'type' => 'select2_polymorph',
        'hint' => 'HINT GOES HERE',
        'model' => \App\Models\Payment::class, // The main model
        'morphs' => [
            \App\Models\Business::class,
            \App\Models\User::class
        ], // The Models I'd like to combine in the select2
        'attribute' => 'OptionValue', // A mutator I created to append the model name in front of the value so user knows from which model the option is
    ]);

My custom field:

@php
    $current_value = old($field['name']) ?? $field['value'] ?? $field['default'] ?? '';
    $entity_model = $crud->model;

    //if it's part of a relationship here we have the full related model, we want the key.
    if (is_object($current_value) && is_subclass_of(get_class($current_value), 'Illuminate\Database\Eloquent\Model') ) {
        $current_value = $current_value->getClassKey();
    }

    if (!isset($field['options'])) {
        $options = collect();
        foreach ($field['morphs'] as $morph) {
            $options = $options->merge($morph::all());
        }
    } else {
        $options = call_user_func($field['options'], $field['model']::query());
    }

    if(isset($field['morphs'])){
        $morphs = collect($field['morphs'])->filter(function($class){
            return is_subclass_of($class, 'Illuminate\Database\Eloquent\Model');
        });
        $morph_tables = collect($morphs)->map(function($item, $key){
            return $item::getTableName();
        })->toArray();
    }

@endphp

@include('crud::fields.inc.wrapper_start')

{!! $field['label'] !!}
@include('crud::fields.inc.translatable_icon')

<select
    name="{{ $field['name'] }}"
    style="width: 100%"
    data-init-function="bpFieldInitSelect2Element"
    @include('crud::fields.inc.attributes', ['default_class' =>  'form-control select2_field'])
>

    @if ($entity_model::isColumnNullable($field['name']))
        <option value="">-</option>
    @endif

    @if (count($options))
        @foreach ($options as $option)
            @if($current_value == $option->getClassKey())
                <option value="{{ $option->getClassKey() }}" selected>{{ $option->{$field['attribute']} }}</option>
            @else
                <option value="{{ $option->getClassKey() }}">{{ $option->{$field['attribute']} }}</option>
            @endif
        @endforeach
    @endif
</select>

{{-- HINT --}}
@if (isset($field['hint']))

{!! $field['hint'] !!}

@endif
@include('crud::fields.inc.wrapper_end')

{{-- ########################################## --}}
{{-- Extra CSS and JS for this particular field --}}
{{-- If a field type is shown multiple times on a form, the CSS and JS will only be loaded once --}}
@if ($crud->fieldTypeNotLoaded($field))
    @php
        $crud->markFieldTypeAsLoaded($field);
    @endphp

    {{-- FIELD CSS - will be loaded in the after_styles section --}}
    @push('crud_fields_styles')

        <link href="{{ asset('packages/select2/dist/css/select2.min.css') }}" rel="stylesheet" type="text/css" />
        <link href="{{ asset('packages/select2-bootstrap-theme/dist/select2-bootstrap.min.css') }}" rel="stylesheet" type="text/css" />
    @endpush

    {{-- FIELD JS - will be loaded in the after_scripts section --}}
    @push('crud_fields_scripts')

        @if (app()->getLocale() !== 'en')

        @endif

    @endpush

@endif
{{-- End of Extra CSS and JS --}}
{{-- ########################################## --}}

@tabacitu @pxpm If you guys find this may be useful, I can create a PR for the custom field.

@pxpm you told me you've already made some progress on a PolyMorph field, can you take a look at @lambasoft code and check if it helps?

@pxpm would PR #3410 fix this use case too?

Hey guys,
Catching up on old issues and found this. @lambasoft - in Backpack v5 we have a built-in solution for polyorphic relationships... the relationship field. Take a look at this breakdown of what field should I use for X type of relationship, it'll explain what you can do for all types of polymorphic relationships.
Cheers!


(DO NOT MERGE)(FM-3578) Update xDscResources from PowerShell Repo

Import all the current xDscResources from the PowerShell Github Repo and
update all xDscResource types
Depends on #76

Closed in favor of #77.


Add BinaryRocAucEvaluator

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

Project coverage is 100.00%. Comparing base (b5033b4) to head (9deddbd).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #238   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           86        87    +1
  Lines         2114      2136   +22
  Branches       192       193    +1
=========================================
+ Hits          2114      2136   +22

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


Chapter 7 cam.ipynb casper.jpg/casper2.jpg missing

Dear @falloutdurham,
would you mind to comment where to find casper.jpg. I copied your casper.jpg from the notebook to my drive and used that pic, but I had to adjust one line to make it work:
tensor = preprocess(image)

to
tensor = preprocess(image.convert('RGB'))

Maybe you can add the image to the directory and check whether the rgb conversion is necessary for the added one.

https://github.com/falloutdurham/beginners-pytorch-deep-learning/commit/339e5327d7ddd7a819b0dad91f386df154320f05
Should be there now!


LspInstallInfo error message

Problem description
The command generates the following error:
This is an unexpected error, please file an issue at https://github.com/williamboman/nvim-lsp-ins
taller with the following information:
loop or previous error loading module 'nvim-lsp-installer.servers.rust_analyzer'
stack traceback:
        [C]: in function 'error'
        ...im-lsp-installer/lua/nvim-lsp-installer/servers/init.lua:229: in function 'fn'
        ...undle/nvim-lsp-installer/lua/nvim-lsp-installer/data.lua:44: in function 'get_availabl
e_servers'
        ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:1019: in function 'status_win
'
        ...vim/bundle/nvim-lsp-installer/lua/nvim-lsp-installer.lua:20: in function 'open'
        [string ":lua"]:1: in main chunk

This happens when I call the function outside of a project root directory.
Neovim version (>= 0.6)
NVIM v0.6.1
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by<EMAIL_ADDRESS>Operating system/version
MacOS 12.1
I've recently downloaded the latest plugin version of both nvim-lsp-installer and nvim-lspconfig

[X] Yes

Affected language servers
NA
Actual behavior
It reports the above error.
Expected behavior
It should display the available servers.
Healthcheck output
The report is the same regardless of where I start nvim.

nvim-lsp-installer: require("nvim-lsp-installer.health").check()
========================================================================
## nvim-lsp-installer report
  - OK: neovim version >= 0.6.0
  - WARNING: **Go**: not available
  - WARNING: **Composer**: not available
  - WARNING: **PHP**: not available
  - WARNING: **julia**: not available
  - OK: **bash**: `GNU bash, version 3.2.57(1)-release (arm64-apple-darwin21)`
  - OK: **tar**: `bsdtar 3.5.1 - libarchive 3.5.1 zlib/1.2.11 liblzma/5.0.5 bz2lib/1.0.8 `
  - OK: **gzip**: `Apple gzip 352.40.6`
  - OK: **curl**: `curl 7.77.0 (x86_64-apple-darwin21.0) libcurl/7.77.0 (SecureTransport) LibreSSL/2.8.3 zlib/1.2.11 nghttp2/1.42.0`
  - OK: **wget**: `GNU Wget 1.21.3 built on darwin21.3.0.`
  - WARNING: **java**: not available
  - WARNING: **javac**: not available
  - OK: **node**: `v17.2.0`
  - OK: **Ruby**: `ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]`
  - OK: **sh**: `Ok`
  - OK: **python3_host_prog**: `Python 3.9.9`
  - OK: **python3**: `Python 3.9.9`
  - OK: **RubyGem**: `<IP_ADDRESS>`
  - OK: **npm**: `8.1.4`
  - OK: **pip3**: `pip 21.2.4 from /Users/edmund/.pyenv/versions/3.9.9/lib/python3.9/site-packages/pip (python 3.9)`

### Screenshots

_No response_

Hello! I'm not sure I'm following what you mean by "This happens when I call the function outside of a project root directory.". Have you been able to figure out the steps to reproduce this?

To reproduce the error, fire-up nvim from a directory that is not part of a project.  Then run the command :LspInstallInfo.   Likely more generally, this can happen anytime the working directory is not part of a project (i.e., the working directly itself, nor a parent directly with the required "marker").

Hmm ok. Could you try using the branch pcall-os-execute of nvim-lsp-installer? Does it still error?

I'll give it a go this evening.

Was the main branch also updated?

There's continuous flow of commits in the main branch, but nothing that specifically targets this no. To be honest I'm not too surprised because the "fix" in pcall-os-execute was pretty desperate. Should we close this then?

Yes, I'll close it.  Thank you @williamboman.


Docs are missing possible values for LTO

Problem

Docs are missing the possible values for lto.
I just got to know via #rust irc about
[profile.release]
lto = "fat"

This value isn't listed or documented in the cargo docs.
Steps

Go to https://doc.rust-lang.org/cargo/reference/config.html#configuration-keys it's not documented

Possible Solution(s)

Document all possible values.
Notes
I was told that lto is enabled by default for release builds, going by the docs that isn't true, is it ?
At least for me it made a difference of ~3 MiB to set lto = "fat"

The LTO settings and defaults are documented at https://doc.rust-lang.org/cargo/reference/manifest.html#the-profile-sections
true is the same as "fat LTO".  Debug/release default to LTO off (false).

One thing that's not clear is if enabling lto affects codegen-units.
There's a note in the code, but that condition seems to set codegen-units regardless.

I'd also like to have some more clarification about "fat" etc being the same. And a note that you can trim down the size even more by using this.

There's also a rustc issue https://github.com/rust-lang/rust/issues/48518 about the codegen units/lto interaction.


Release 27/04/2020

Close #60
Close #51
Close #41
Close #40
Close #37

:tada: This PR is included in version 1.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[Bug] insert_and_evict got wrong outputs

There are some bugs in the test case, and the eviction is not triggered.
After fix the condition, the test case will fail:
https://github.com/Lifann/HierarchicalKV/commit/300eb1fe3cc195117e55ee2d12b81a58444659cf

https://github.com/NVIDIA-Merlin/HierarchicalKV/pull/112


traccar what are the parameters in T1

Hi tananaev,
.I just want to ask some help,i want to captured  all the data that was sent by the device to our webserver what METHOD should I use is it POST,GET,REQUEST ?and what are those parameters?
Thank you in advance.

Closing as stale. If there are still some questions, feel free to reopen.


Cannot Build for UWP - System.Threading - Unity 2018.1.0b13

Those are the errors i'm getting when building for UWP/PC using :

Windows SDK 10.0.17134
.NET Scripting Backend
.NET 4.x as a Scripting Runtime Version / Api Compatibility Level

Most of the errors are related to non-existing Enums/Methods/Properties in System.Threading when building.

The UWP build is completing locally without error in 2018.4.14f1 as of #548.  If you are still running in to issues like these please open a new issue and I'll be happy to look in to it.

Thanks a lot for the fix.
Keep rockin'


Ethereal Jaunt Spell for Wizard & Jaunt ECS

About the PR

Added an Ethereal Jaunt Spell for Wizard and a Jaunt ECS to go with it.
Jaunt, on the backend, is just polymorph. The user gets put into an invisible ghost like body for very few seconds so they can make an escape. They can even go through walls and walk on space! Just be careful since it has a long cooldown and a very short duration, even with upgrades!
Polymorph was also given support to play a sound when morphing and reverting.
Why / Balance

It's a classic Wizard spell from SS13. Like all Wizard spells it's powerful, and allows the wizard to make a hasty escape as needed. Giving it more movement tech other than just teleporting or turning into a rod. You could consider this a non-lethal version of a rod.
Technical details

Only code changed was in Polymorph.
Polymorph configs now have SoundSpecifiers for polymorphing and reverting.
If not null, we play on polymorph and/or play on revert.
Media

https://github.com/user-attachments/assets/780403ec-2f76-4d9a-a46f-5ef71f533516
Requirements

[x] I have read and am following the Pull Request and Changelog Guidelines.
[x] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Jaunt Component and Jaunt System added to Content.Shared
Polymorph Prototype = added PolymorphSound and ExitPolymorphSound fields.
Polymorph System = Adds a check if Polymorph Sound is null for Polymorph method. Adds same check for Exit Polymorph Sound to Revert method. Uses Audio Play PVS.
Changelog

:cl:

add: Added Ethereal Jaunt! A Wizard Spell that turns you invisible and into a ghost-like creature for escaping!

Very cool spell. Maybe give the player a ghostly sprite that is invisible to non-ghosts, so you have better visual feedback of your current location and ghosts can observe where you are going?

Very cool spell. Maybe give the player a ghostly sprite that is invisible to non-ghosts, so you have better visual feedback of your current location and ghosts can observe where you are going?

Ideally an effect would play when polymorphing as well. Might be doing that next in another PR. But I could see the benefit of just turning them into a blue ghost or something.

doesn't need a CL i think

doesn't need a CL i think

It does, all of it is adding up to Wizard. Even though it's not player facing now, it will be eventually.

doesn't need a CL i think

It does, all of it is adding up to Wizard. Even though it's not player facing now, it will be eventually.

so it's essentially a CL for development progress?

doesn't need a CL i think

It does, all of it is adding up to Wizard. Even though it's not player facing now, it will be eventually.

so it's essentially a CL for development progress?

Sorta. Admins are still free to spawn the Grimoire. It's not like it's just a pure code change, which players wouldn't need to know about.

Is there support for placing it in the action bar?

Is there support for placing it in the action bar?

What do you mean?

oh wait I looked at the video closer lol. I thought it was a book.
Mainly i'm thinking about nightmares. while we don't really have support for darkness and light level mechanics afaik, jaunts are a big step forward to getting nightmares in the game

Yep. That may either require the action system rework. Which would include an optional requirements whitelist/blacklist for an action to require some sort of entity to use - like blood or darkness. Or it might be doable in the jaunt system itself in the future.

Very cool spell. Maybe give the player a ghostly sprite that is invisible to non-ghosts, so you have better visual feedback of your current location and ghosts can observe where you are going?

https://github.com/user-attachments/assets/791ee860-fc5e-4a2b-9a31-51477ed57ef6

The UI completely disappearing feels a bit weird, but I'm assuming that'd be a hard fix. Overall, I like it!

The UI completely disappearing feels a bit weird, but I'm assuming that'd be a hard fix. Overall, I like it!

Mostly done on purpose at this point. It's polymorphing into a body that doesn't have an inventory system, etc (inventory transfers so we just don't lose everything). So items and actions can't be used in jaunt. Ideally at some point it would be nice to have like a "disable hud" component or something which would just disable all action and hud interaction.

Did some minor cleanup with the missing summary tags. Code looks good and in-game test went well. If you get art director approval for the sprites this is good to merge!

For the popup, I think it's a good idea but that's also the idea behind the sound effect. So I wanna see how people find that, and if too many think it might be unintended then we'll add one.


A wider range of LRGs

We have CFHTLS LRGs, with i and redshift, but these do not span the full range of OM10 lens galaxies. Better idea (TT): make catalog of SLAC, SL2S and CANDELS LRGs and lens galaxies, and tabulate:
RA  DEC  redshift  vdisp  u   g    r   i    z   Reff    survey
We'll need to check that the objects from the different surveys are consistent with being drawn form the same population but this should be fine...

Shelving this while we work on synthetic colors


Link "Guide to start" doesn't work

Hello! The link "Guide to start" on the main page https://robonomics.app/#/ doesn't work. It leads to 404 page

Fix https://github.com/airalab/robonomics.app/commit/fbec8641d59495b297d5312759982b4f6a8b652c


Use consistent capitalization in the description. Resolves #44

@eliasah No reason.

@eliasah I decided to merge it to. If there are some errors left we can handles these on case by case basis.

Sure no problem !


[Discussion]Spleeter only supports win64 bit system and cannot be used on Win32 bit system?

Spleeter only supports win64 bit system and cannot be used on Win32 bit system?

Hi @githublyff
Tensorflow is not supported in win32 machines https://github.com/tensorflow/tensorflow/issues/20362#issuecomment-401096205 so spleeter won't work either

Thank you very much!

@mmoussallam
Thank you very much!


[MM-31411][MM-32164] - Add profile picture to Direct Channels link

Summary
This PR adds a profile picture to the sidebar DM links as per design https://www.figma.com/file/RdJqKp46cfH8gzNVehIShd/MM-31441-User-Avatars-in-Channel-Sidebar?node-id=236%3A5219
for Post GA.
Ticket Link
https://mattermost.atlassian.net/browse/MM-31441
https://mattermost.atlassian.net/browse/MM-32164

@matthewbirtch point 1 is easy to do, but for point 2 we can fix the padding instead of shrinking the icons? Since the design wanted them bigger? But I can do both. LMK!

@matthewbirtch point 1 is easy to do, but for point 2 we can fix the padding instead of shrinking the icons? Since the design wanted them bigger? But I can do both. LMK!

@nevyangelova i am 4/5 same-size icons with adjusted padding looks way better! 👍🏻

@matthewbirtch point 1 is easy to do, but for point 2 we can fix the padding instead of shrinking the icons? Since the design wanted them bigger? But I can do both. LMK!

Yes, fixing the padding so it aligns better makes sense. However, please note that we have another ticket for increasing the size of the public/private channel icons to better balance with the new avatars. https://mattermost.atlassian.net/browse/MM-32164

Oh It might make sense to implement togerther!

Oh It might make sense to implement togerther!

I was wondering that, but I believe it's in the 'common components' epic right now

@matthewbirtch updated with the new ticket please take a look

@matthewbirtch I adjusted the icons but also take a look at DM avatars and group messages because I am not sure how much these should be. I did a calculation based on the width of the space and padding around the globe icon to make it the same for the other icons too.

/update-branch

@matthewbirtch the test server is finally updated :D

Thanks @nevyangelova indentation looks better now. I just noticed that group message icons and labels aren't quite aligned though.

I also noticed in mobile webview, the labels are not aligned and the avatars are 24x24 instead of 20x20?:

Sorry, I didn't catch this in previous reviews.

@matthewbirtch apologies, accidentally miscalculated this padding

@nevyangelova what about mobile view?

I also noticed in mobile webview, the labels are not aligned and the avatars are 24x24 instead of 20x20?:

@matthewbirtch  I had some issues with webapp the past few days but now I was able to resolve it. Pushed a fix

24x24 instead of 20x20

Sorry to be nitpicky on this, but is there a reason the the avatar size changes to 24x24 in the mobile webview?

24x24 instead of 20x20

Sorry to be nitpicky on this. The text is now aligned, but is there a reason the avatar size changes to 24x24 in the mobile webview?

As far as I saw the designs specify the icons to be 24x24 in mobile view. Is this not correct?

24x24 instead of 20x20

Sorry to be nitpicky on this. The text is now aligned, but is there a reason the avatar size changes to 24x24 in the mobile webview?

As far as I saw the designs specify the icons to be 24x24 in mobile view. Is this not correct?

Oh, sorry. The Mobile design provided in that file was for the mobile app. Not for the mobile webview

@matthewbirtch ok I understand now. I am not sure if it was labelled when I first made the PR but its stated clear now that this is the mobile app view, my mistake. Sorry for the confusion

@matthewbirtch ok I understand now. I am not sure if it was labelled when I first made the PR but its stated clear now that this is the mobile app view, my mistake. Sorry for the confusion

I think that was my fault. I changed the label in Figma to be clearer now.

@matthewbirtch any additional comments on this?

/update-branch

@nevyangelova Has mention badge size been reduced per MM-32164? I'm not seeing any difference on the PR server. Let me know. Thanks.

One more thing, channel icons (and maybe draft one too?) are back out of line

@jgilliam17 kind reminder to review

One more thing, channel icons (and maybe draft one too?) are back out of line

@jgilliam17 is right. Just took a closer look at the latest and the icons are out of alignment again. @nevyangelova can you make sure things are aligned?

Also, it looks like the labels for group messages might be off by 1px

Thanks @nevyangelova Just took a look and I am not seeing the change on the PR server.  Can you please check?

/update-branch

@jgilliam17 should work now :)


[bug]: component at https://ui.shadcn.com/r/colors/Gray.json was not found.

Describe the bug
The component at https://ui.shadcn.com/r/colors/Gray.json was not found.
It may not exist at the registry. Please make sure it is a valid component.
Affected component/components
Drawer
How to reproduce

Go to Docs on Shadcn
Click on Drawer
follow the installation steps

Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Terminal

Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues

"gray" | "neutral" | "slate" | "stone" | "zinc"
You've used a value which is not one of the above, change "Gray" to "gray" in your components.json file


[feature] #4350: Expose event set bitfields in schema

Description
Add a new kind of schema metadata - BitmapMeta - and use it to expose *EventSet bitfields in schema
Linked issue

Closes #4350

Checklist

[ ] make ci pass

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

37 of 52 (71.15%)  changed or added relevant lines in 3 files are covered.
5005 unchanged lines in 91 files lost coverage.
Overall coverage increased (+0.8%) to 57.629%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

schema/src/lib.rs
0
2
0.0%

schema/src/serialize.rs
2
15
13.33%

Files with Coverage Reduction
New Missed Lines
%

primitives/src/conststr.rs
1
91.14%

ffi/derive/src/convert.rs
1
84.45%

primitives/src/lib.rs
1
0.0%

core/src/sumeragi/network_topology.rs
1
98.78%

crypto/src/signature/bls/mod.rs
2
0.0%

config/src/snapshot.rs
3
78.57%

data_model/derive/src/has_origin.rs
3
95.16%

config/src/kura.rs
3
80.0%

primitives/src/addr.rs
3
64.04%

config/src/logger.rs
5
72.73%

Totals

Change from base Build<PHONE_NUMBER>:
0.8%

Covered Lines:
23103

Relevant Lines:
40089

💛  - Coveralls


browser_mod.popup and querystring actions

Wondering if this is currently possible (maybe undocumented) or it calls for an enhancement?
Simply trying to add a tap action on a button to call a script that loads a brwoser_mod.popup but allowing to load a specific camera/clip/whatever using querystring action. Currently querystring requires a lovelace path and since the popup loads dynamically from anywhere. There is no fixed url path so how can this scenario be put be put together using the frigate-card-action?
currently querystring requires something like this to get trigger:
  action: navigate
  navigation_path: /dashboard-name/cameras/frigate?frigate-card-action:main_nvr_popup_1:clip:clip_id

but I don't see a way to pass the frigate-card-action arguments into the script with a tap action with something like this:
type: template
entity: binary_sensor.front_door_motion
content: All Clips
icon: mdi:record
tap_action:
  action: call-service
  service: script.nvr_all_cameras
  data:
    camera_id: front_door
    card_id: main_nvr_popup_1

the script.nvr_all_cameras looks like this but there is no way to pass the arguments (camera_id, card_id) from the tap action into the frigate-card.
alias: Network Video Recorder NVR  Popup
sequence:
  - service: browser_mod.popup
    data:
      dismissable: true
      browser_id: "{{ browser_id }}"
      autoclose: false
      content:
        type: vertical-stack
        cards:
          - type: custom:frigate-card
            card_id: main_nvr_popup_1
            cameras:
              - camera_entity: camera.birdseye
                title: Birdseye
                dependencies:
                  all_cameras: true
              - camera_entity: camera.front_door
                title: Driveway
                live_provider: go2rtc
              - camera_entity: camera.back_1
                title: Front Intercom
                live_provider: go2rtc
              - camera_entity: camera.back_2
                title: Service Entrance
                live_provider: go2rtc
              - camera_entity: camera.side_1
                title: Driveway Nort to Front
                live_provider: go2rtc
            view:
              scan:
                enabled: true
            menu:
              style: outside
              buttons:
                frigate:
                  enabled: false
                timeline:
                  enabled: true
                screenshot:
                  enabled: false
                mute:
                  enabled: true
                expand:
                  enabled: false
                recordings:
                  enabled: true
                substreams:
                  enabled: false
                image:
                  enabled: false
                play:
                  enabled: false
                microphone:
                  enabled: true
            timeline:
              style: ribbon
              controls:
                thumbnails:
                  mode: below
              show_recordings: true
              media: clips
            live:
              controls:
                thumbnails:
                  mode: below
                next_previous:
                  style: chevrons
                title: {}
                builtin: true
              layout:
                fit: fill
              lazy_load: true
              draggable: false
            media_viewer:
              controls:
                next_previous:
                  style: none
                thumbnails:
                  mode: below
                title: {}
                timeline:
                  mode: below
                  style: ribbon
                  media: clips
              draggable: false
              transition_effect: none
              layout:
                position:
                  x: 0
                  "y": 0
                fit: cover
              snapshot_click_plays_clip: false
            media_gallery:
              controls:
                thumbnails:
                  show_details: true
                filter:
                  mode: left
            performance:
              features:
                animated_progress_indicator: true
              style:
                border_radius: true
                box_shadow: true
            dimensions:
              min_height: "2500"
      title: 11850 NVR
mode: parallel
max: 10
icon: mdi:cctv

is this possible? any ideas ?

Simply trying to add a tap action on a button to call a script that loads a brwoser_mod.popup but allowing to load a specific camera/clip/whatever using querystring action.

Could you describe what you're trying to achieve in a little more detail? Sounds like you want a button on the card you can press, and when you press it you want a popup to open a particular named clip. Is that right?

Please provide additional details if you'd like your feature to be considered. Thank you!


[Doc Improvement][Add-outage-row-in-support-and-feedback ][2291077]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/feedback.md
92
6
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit fd18efd:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/feedback.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/feedback.md
92
6
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 2d038ab:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/feedback.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 4fdc1da:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/feedback.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/feedback.md
92
6
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 33f9c16:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/feedback.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


adds API docs

just wanted to help out and make this lib more friendly 👍

~! Thank you so much ~!. My english is not good, so this is very helpful for me.

Hi, i have merged this pr, and I changed some description of create(config).
I implemented a lightweight localForage-style storage API for web using localStorage, so the config.storage should also use the localForage-style API like what AsyncStorage does, and it can not be set to localStorage which is not using the localForage-style API.

Ah okay. It wasn't clear that you were referring to that and not just misspelling localStorage, so it would be great if you clarified that in the README

const hydrate = create({
    storage: localForage,   // or AsyncStorage in react-native.
                            // default: localStorage <- this is confusing because the example uses localForage and you said that localStorage isn't a viable option
    jsonify: false  // if you use AsyncStorage, here shoud be true
                    // default: true
})

and also in the create description you should remove the localStorage option if that's not usable

I add the support for localStorage, and i think it may be better for users.
if (typeof localStorage !== 'undefined' && localStorage === storage) storage = Storage


file_get_contents(/app/public/build/rev-manifest.json): failed to open stream: No such file or directory (View: /app/resources/views/layout.blade.php)

Hi. I am trying to upload this starter to heroku, and I get this error:
file_get_contents(/app/public/build/rev-manifest.json): failed to open stream: No such file or directory (View: /app/resources/views/layout.blade.php)
The program works well offline on Homestead, but when I push the changes to Heroku this error appears. You can check it out at https://dry-lake-8666.herokuapp.com/.
This is the gulpfile.js
var elixir = require('laravel-elixir');
/*
|--------------------------------------------------------------------------

Elixir Asset Management

Elixir provides a clean, fluent API for defining some basic Gulp tasks

for your Laravel application. By default, we are compiling the Less

file for our application, as well as publishing vendor resources.

*/

elixir(function (mix) {
mix
.less(
'app.less'
)
.styles([
'style.css'
])
.scripts([
'libs//*.js',
'app.js',
'appRoutes.js',
'controllers//.js',
'services/**/.js',
'directives/**/*.js'
])
.version([
'public/css/all.css',
'public/js/all.js'
])
.copy(
'public/js/all.js.map', 'public/build/js/all.js.map'
)
.copy(
'public/css/all.css.map', 'public/build/css/all.css.map'
);
});
And this are the contents of rev-manifest.json:
{
"css/all.css": "css/all-dd351c50bd.css",
"js/all.js": "js/all-ee8c46d8d5.js"
}
Do you know how can I fix it?

Ok.. I know what was going on. I was not pushing the public/build directory where the json file was. I commented it from the .gitignore and now it works.

Now I have another issue. My CSS files are not working on the heroku version but they do work within Homestead. Seems like the styles come from less files and there are no less files on Heroku. Do you have any idea please?

Hey!
I have added a Heroku deployment manual to README.md. If you happen to have any problems with the manual, please report back.


The trained models and thresholds to use for inference purposes are  not availble from the link

it's seems to be 404 when acess to the link

me 2

me too/(ㄒoㄒ)/~~


use circle-o for rendering unchecked booleans

I think fa-circle-o is visually better and clearer than fa-minus-circle for unselected booleans.
Before

After

Any thoughts or objections?

I agree this is an improvement. I was always puzzled by the use of a "do not enter" sign for "false". By "puzzled" I mean that the first time I saw it I took it for an indication of an error or a lack of access.
While your proposal is an improvement, I don't think it goes far enough. The 'reverse video' check mark doesn't look very nice either. Why not go with the icons which are intended for this purpose: "checked-square" and "square".
While we are at it, let's change the Bootstrap glyphicons too so they will look similar. We could use "checked" and "unchecked".


feat: run golang tests when build tags are set

name: General Contribution
about: A general code or documentation PR
Golang tests with build tags at the top of the file will only run if the go test command is invoked with the corresponding tag (go test -tags=...). This is commonly used to avoid running integration tests on every test run.
This means that +go/test-single does not work when trying to run a test in such a file.
This PR does some dirty-regex hacking to add the correct flag to the go-test-single args. I'm currently using it at work 🙂 .

Any progress on this PR?

The LSP lag when using gopls drove me to neovim. I'm not an emacs user anymore 😢, but I'll always remember Doom fondly.
To anyone who comes across this PR, setting GOTAGS in your environment will work as well.


Make Simple Habit Tracker with Graphs

For turning habit tracking into data art!
Track daily habits and visualize progress with simple graphs, showing streaks and consistency over time.

I am working on it . Please assign this to me @sumanth-0 .


Setup remote Turbo Repo Cache

Describe the feature
https://turborepo.org/docs/ci/github-actions
Additional Context
No response

closed by #1060


ZB08 cannot stop tracking

2023-05-26 07:30
Cannot stop tracking of the telescope. I have tried to switch this a number of times and the mount does not react.
BTW. After slewing the telescope to selected AZ and ALT the tracking should be implicitly OFF.

Temporary solution - go to rdesktop on TCU and use ASA autoslew to stop tracking.

not encountered (reported) any time more. Assumed as curiosity.


Add loading skeletons instead of the spinner 🥳🥳

Adding loading skeleton cards instead of the spinner when characters are loading !!!

here is a link to the component you need to use
here it is click here

Done !!!


Add NeedBraces check to checkstyle configuration

It seems to have caught 2 instances by "someone"!

Merged, thanks for adding this!


request: increase to recurring $15USD/month to fund buttondown for LWKD

Description: LWKD needs to increase its buttondown subscription
Requesting SIG: ContribEx
SIG approval: Not requested because this is an increment
Cost: 150

Frequency: Annually
Scale function: Will increase to $400 if we exceed 5000 subscribers (unlikely)

SIG approval list archive URL: Not requested because this is an increment
Owners for renewal: @jberkus/CNCF projects staff
Cancellation criteria: Developing an alternative and/or stopping LWKD
Alternatives considered: N/A, this is an increment

LWKD has exceeded the subscriber threshold for our current Buttondown tier, approved in #35.  We can't publish to email newsletter until we increase the tier.  The next tier is $12.50/month, which is an increase of $3.50/month.  We are unlikely to ever get to the tier beyond that.

LGTM with my steering hat on :-)
Thanks for working on this.

lgtm 👍

LGTM from my side as well.

Lgtm +1

+1

Great, opening a ticket with CNCF.

+1

/remove-lifecycle stale
I believe this was handled?
/assign @mrbobbytables


React.Router ReactDOM.hydrate with ClientOnly #1140

PR for issue #1140
The override of RenderJavaScript in ReactRouterComponent could be removed since they are the same. But leaving it as an option.
Hope it's ok :)

Looks great at a glance, expect to merge this soon.


pkg/unittest: Investigate subclasses of SimpleConfiguration -> move to implement Configuration instead?

Per
https://codereview.chromium.org/22883008
https://code.google.com/p/dart/source/detail?r=26215

This issue has been moved to dart-lang/test#221.


For MariaDB, add Require SSL checkbox in user Properties | DBA Privileges page

MariaDB > 10
DBeaver 24.0.4
The following command turns on SSL requirement for a specific user
alter user jsmith require ssl

This grant/requirement does not appear anywhere on the user properties page. It could appear as a "Require SSL" checkbox
alter user jsmith require none

removes the requirement

Thank you for the idea.


[PIP 132] Include message header size when check maxMessageSize for non-batch message on the client side.

Motivation
Currently, Pulsar client (Java) only checks payload size for max message size validation.
Client throws TimeoutException if we produce a message with too many properties, see [1].
But the root cause is that is trigged TooLongFrameException in broker server.
In this PIP, I propose to include message header size when check maxMessageSize of non-batch messages, this brings the following benefits.

Clients can throw InvalidMessageException immediately if properties takes too much storage space.
This will make the behaviour consistent with topic level max message size check in broker.
Strictly limit the entry size less than maxMessageSize, avoid sending message to bookkeeper failed.

Goal
Include message header size when check maxMessageSize for non-batch message on the client side.
Implementation
// Add a size check in org.apache.pulsar.client.impl.ProducerImpl#processOpSendMsg
if (op.msg != null // for non-batch messages only
    && op.getMessageHeaderAndPayloadSize() > ClientCnx.getMaxMessageSize()) {
    // finish send op with InvalidMessageException
    releaseSemaphoreForSendOp(op);
    op.sendComplete(new PulsarClientException(new InvalidMessageException, op.sequenceId));
}

// org.apache.pulsar.client.impl.ProducerImpl.OpSendMsg#getMessageHeaderAndPayloadSize

public int getMessageHeaderAndPayloadSize() {
    ByteBuf cmdHeader = cmd.getFirst();
    cmdHeader.markReaderIndex();
    int totalSize = cmdHeader.readInt();
    int cmdSize = cmdHeader.readInt();
    int msgHeadersAndPayloadSize = totalSize - cmdSize - 4;
    cmdHeader.resetReaderIndex();
    return msgHeadersAndPayloadSize;
}

Reject Alternatives
Add a new property like "maxPropertiesSize" or "maxHeaderSize" in broker.conf and pass it to client like maxMessageSize.
But the implementation is much more complex, and don't have the benefit 2 and 3 mentioned in Motivation.
Compatibility Issue
As a matter of fact, this PIP narrows down the sendable range. Previously, when maxMessageSize is 1KB, it's ok to send message with 1KB properties and 1KB payload. But with this PIP, the sending will fail with InvalidMessageException.
One conservative way is to add a boolean config "includeHeaderInSizeCheck" to enable this feature. But I think it's OK to enable this directly as it's more reasonable, and I don't see good migration plan if we add a config for this.
The compatibility issue is worth discussing. And any suggestions are appreciated.
[1] https://github.com/apache/pulsar/issues/13560

Hi,  @Jason918
I think we can deprecate maxMessageSize  to maxPayloadSize, and add  maxHeaderSize  to limit header size.
after then, we can use maxPayloadSize + maxHeaderSize to get maxMessageSize at internal.
What do you think about it?


[SPARK-41294][SQL] Assign a name to the error class _LEGACY_ERROR_TEMP_1203 / 1168

What changes were proposed in this pull request?
In the PR, I propose to assign the name NOT_ENOUGH_DATA_COLUMNS to the error class _LEGACY_ERROR_TEMP_1203 and _LEGACY_ERROR_TEMP_1168.
Why are the changes needed?
Proper names of error classes should improve user experience with Spark SQL.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA.

Can one of the admins verify this patch?

cc @MaxGekk


fix(root): fix image in card causing overlay on mobile

Summary of the changes
PX changed to '%' and a max width/height added to image. To test the changes;

Navigate to card component
Change to mobile view in inspect
Shrink screen to see image shrink and maintain aspect ratio

Please note that in the guidance section the overlay will still pop out, this is due to the buttons causing the same issue. Navigate to the code examples and see 'top-image' and 'mid-image' variants to view the fix properly.
Related issue
#294
Checklist

[ ] I have manually accessibility tested any changes, if relevant.
[ ] I have raised this pull request against the develop branch

 There is now some behaviour with the image where it does not fill the available space, leaving a large gap between the bottom of the image and the heading. I wonder if there's an example we can use to instead showing the image fitting the entire space?

It's potentially being made more difficult/less similar to what the consumer will do by using a SVG? I know this PR is just changing what is already there though

The viewBox property was pushing down the other content, this is now fixed and I've removed the preserveAspectRatio as it was redundant in this case.

Commit message changed


FLEX-4393 ~ Removes user creation from Flyway migration scripts.

Before running this version of the Flyway migration scripts, first delete the current migration record:
DELETE FROM schema_version WHERE version = '2016.019';

If necessary, use this to create the user:
https://github.com/OSGP/Config/pull/88/files

All is well.


Further Column recognition issues

Description
I am using a construct whereby I put my constants into a with clause, so in a complex query, I can change the constants values.
The with clause(s) look like this.
with
vars as (
select
date '2023-12-01' as upg_start,
date '2023-12-02' as upg_end,
DATEADD (day ,
1,
upg_start) as back_date),
get_stuff as
(
select
tc.tkt_iss_dt issue_date
from
tkt_cpn tc
where
1 = 1
and tc.tkt_iss_dt between (
select
upg_start
from
vars) and (
select
back_date
from
vars)

)
select distinct issue_date from get_stuff;
As you can see from the pasted screenshot, DBeaver is unhappy with the use of upg_start in the DATEADD predicate, and it doesn't recognize issue_date in the final select.
The query runs fine, though.
DBeaver Version
Community Version <IP_ADDRESS>408181605
Operating System
Windows 10
Database and driver
Redshift com.amazon.redshift.jdbc42.Driver
Steps to reproduce
Develop a similar query
Additional context
No response

Thank you for bug report.


Associate a Camtrap DP resource with an existing GBIF dataset

For DwC resources this can be done by adding a GBIF UUID to Alternative Identifiers. Currently, it's not possible for Camtrap DP resources.
Discussed with @peterdesmet @ManonGros

We bind an IPT resource with a GBIF dataset by GBIF UUID. So, we can do something similar for Camtrap resources:

Related Identifier should be a dataset page at the GBIF portal and Related Identifier type should be URL. Relation type can be anything I think.
@peterdesmet If you're fine with that I can release it next week

Tested and works in the IPT: got a notification on registering that it will be linked to an existing resource. Haven't been able to fully test how harvesting is affected on UAT.

Here are the steps for anyone else who wants to replace a Darwin Core Archive resource A with a Camtrap DP resource B version:

Create resource A (a DwC-A version of a camera trap dataset) at shortname resource-a
Publish resource A
Register resource A => Dataset page Page A on GBIF
Create resource B (a Camtrap DP version of the same dataset) at shortname resource-b (the shortname will thus not be retained, unless you delete resource A first)
Add relatedIdentifier to resource B as described above pointing to Page A
Delete resource A. When asked, choose IPT only (orphan). It won't disappear from the list of resources because of bug #2248
Publish resource B
Register resource B
Wait and verify Page A now shows information for resource B
Optional: remove relatedIdentifier from resource B, as it is no longer needed.

This is fixed on the IPT side.
More crawler work is needed https://github.com/gbif/crawler/issues/68


Refactoring: Replace - 1 - 1 => - 2, Finaly remove block (ofs not used)

Hello =) !

lol ^^
No shame to have beautiful code =) !

Sorry for close/open ^^'

the variable ofs  was never used in it's scope, it's better removing it

the variable ofs was never used in it's scope, it's better removing it

Ah yeah, that's true, the whole block can be removed.

Hide behind - 1 - 1 ^^

the variable ofs was never used in it's scope, it's better removing it

Ah yeah, that's true, the whole block can be removed.

Done =)

Could you squash the commit together ?

Could you squash the commit together ?

I never do it. I try :) !

I think I do my first squash =) !

Ah, sorry, but now you you should likely amend your commit and change the message to something more meaningful. Like "Remove unused ofs variable".
How to amend a commit is also described in the same part of the docs. :)

I do this, message of commit is "Replace - 1 - 1 => - 2, Finaly remove block (ofs not used)". That's not good ?

I do this, message of commit is "Replace - 1 - 1 => - 2, Finaly remove block (ofs not used)". That's not good ?

Well not really, the final commit change is about removing the block of code, you don't even need to talk about the -1 -1  => -2 replacement

Fail...

I do it ! Commit message is "Remove unused ofs variable", like you want =)

Thanks!

With pleasure 😊

Cherry-picked for 3.2.2.


Score display and some bug fixes

Add score display (animated progressview or "Build failed"):

bugfix: feedback is now correctly displayed as manual or automatic feedback in Artemis and re-assessment view

bugfix: navigation bar / navigation bar background is now properly working in re-assessment (fix in submissionviewloader)
small design change: increased size of save and submit button

Looks good to me 👍🏻 just a minor comment: it looks a bit weird (to me) that the settings button is prior to the overall score. Maybe adding it behind the score looks nicer idk. What do you think? :)

Yes, thought so as well. However I think that the settings button should be removed and "hidden" somewhere else as Jan Philip already mentioned.

Added an extra view for the progress view
Updated the formatting to make it look a bit better

Cool!


unexpected placeholder with use of %t

sprintf("%t", isHappy(i)) results in unexpected placeholder

Well, that's so sad. What version are you using?

"sprintf-js": "^1.0.3"

On Fri, Mar 17, 2017 at 11:07 AM, Alexandru Mărășteanu <
<EMAIL_ADDRESS>wrote:

Well, that's so sad. What version are you using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/alexei/sprintf.js/issues/125#issuecomment-287380107,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYmkkLZHI1kaVBkMae1KqFonkMXNfvfaks5rmqG_gaJpZM4Mgs7u
.

Ah, sorry! Indeed, that feature's on master only

Published a new version. Should work from now on


Upgrade to v2.0.0 of Visible Assertions

Removes usage of Jansi - fixes #395
This newer version of Visible Assertions does not use Jansi, and instead includes basic ANSI output formatting. It does, however, still require a native lib to access the TTY status of stdout - I'm using jnr-posix for this, which seems to be reliable and cross-platform.
I do want to do further checks before merging, though. Specifically, further checks:

[x] On a Windows machine
[ ] With a Gradle build

Until I've done these checks I think we need to be cautious and not merge.

I tested on a Windows machine, Maven build last week under the Windows Subsystem for Linux (bash).
Didn't manage to get to testing under a gradle build in time.
Additionally, I realised that we may see differing behaviours under different terminal environments on Windows; cmd, Powershell, cygwin, mingw etc.
I'd rather not expend too much more time on testing this though, as it's a fix for a fairly big issue. I am tempted to release as is 'expected to work', conscious of the fact that we can control behaviour via system properties to turn off coloured output.

@rnorth sounds good! Shall we mention the upgrade in CHANGELOG.md?


Converted step parameters display in stepDisplay UI from 3 hardcoded items to a dynamic list

Fix for issue #24. Converted the hardcoded 3 step params list to a dynamic list depending on the length of the step param list.
Due to the newNode function argument style, I had to push all the params into an array and use fn.apply on newNode to allow for dynamic args.

Have merged this, but could I ask you some questions about the code, which I now don't fully understand.
Couldn't this have been done by just looping over the number of arguments in the step type? Also, what does Object.keys(step).length - 4 do? What's the meaning of the -4?

Good question, I should have used step.getParamNames() instead. Did not realized it existed till I took a look again.
I saw the latest commit and I'm good with that. Works well for what I need.


ci: ci-e2e uses new cilium-cli

Please ensure your pull request adheres to the following guidelines:

[ ] For first time contributors, read Submitting a pull request
[ ] All code is covered by unit and/or runtime tests where feasible.
[ ] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[ ] All commits are signed off. See the section Developer’s Certificate of Origin
[ ] Provide a title or release-note blurb suitable for the release notes.
[ ] Are you a user of Cilium? Please add yourself to the Users doc
[ ] Thanks for contributing!

Fixes: #issue-number
<!-- Enter the release note text here if needed or remove this section! -->

/ci-e2e

/ci-ipsec-e2e

/test

/test

/test

2 failing checks are ci-e2e-upgrade and mergeability.


17.7 节点无法同步

This issue tracker is only for technical issues related to sbtc-core.
Describe the issue
Can you reliably reproduce the issue?
If so, please list the steps to reproduce below:

Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead
Screenshots.
If the issue is related to the GUI, screenshots can be added to this issue via drag & drop.
What version of sbtc-core are you using?
List the version number/commit ID, and if it is an official binary, self compiled or a distribution package such as PPA.
Machine specs:

OS: ubutu 16.04
CPU: 4c
RAM: 8G
Disk size: 1T
Disk Type (HD/SDD): SSD

Any extra information that might be useful in the debugging process.
This is normally the contents of a debug.log or config.log file. Raw text or a link to a pastebin type site are preferred.

@zhangsj
我是旧版直接更新到最新版，结果也无法同步。尝试了一些办法后可以同步了，供参考：

如果升级之前高度在 531806 以下，需要处理分叉：sbtc-cli reconsiderblock<PHONE_NUMBER>00000121b88d0db1e924f4c9d249d07fb90c8178f451b62e0ed15f

在 sbtc.conf 配置文件里增加一些节点：connect=<IP_ADDRESS>:8334
connect=<IP_ADDRESS>:8334
connect=<IP_ADDRESS>:8334
connect=<IP_ADDRESS>:8334


puppet-rabbitmq

Good chance I did not see it. Is there really no rabbitmq module yet?
https://github.com/mschae/puppet-rabbitmq
As you can see I forked @crowdtap's repo (by @michaeldauria) who did all the heavy lifting. And I tried my best to copy the behavior of https://github.com/boxen/puppet-mysql and https://github.com/boxen/puppet-postgresql.
No tests yet as I am completely clueless how to write them for boxen.
Question: Is there any way to test a module without having to tag the repo every time I make a change? Pretty sure there has to be...

@mschae please note that this is ready for review or close the issue—thanks!

Closing this since it appears to have been abandoned. @mschae feel free to resubmit when ready for a review.


Upgrade to scalatest 3.1.0

Should supersede https://github.com/spotify/ratatool/pull/201

Depends on a version of Scio containing https://github.com/spotify/scio/pull/2465, see also https://github.com/scalatest/scalatest/issues/1734 for a similar issue

done in #205


Update Registered Address - Country field

This PR does two things:

Replaces our hardcoded <select> with a govukSelect component.
Bumps govuk-country-and-territory-autocomplete

We previously avoided bumping from 0.5.0 because our functional tests failed: #1355
However, we can fix this by using an updated test: alphagov/digitalmarketplace-functional-tests#622
This does not address the potential issues with the underlying autocomplete: alphagov/accessible-autocomplete#472

However, we can fix this by using an updated test: alphagov/digitalmarketplace-functional-tests#622

Ah, I forgot we had a step specifically for the autocomplete, good spot!
https://github.com/alphagov/digitalmarketplace-functional-tests/blob/master/features/admin/company_details_edit.feature#L66
https://github.com/alphagov/digitalmarketplace-functional-tests/blob/0e8beed2264e854b631efd1e55a4e85e47d13732/features/step_definitions/common_steps.rb#L236

I'm getting a JavaScript error on the supplier company details page
Uncaught TypeError: Cannot read property 'options' of null
    at o (picker-engine.min.js:formatted:5313)
    at CountryAutocomplete (app-location-autocomplete.js:7)
    at app-location-autocomplete.js:20
    at app-location-autocomplete.js:21

I'm getting a JavaScript error on the supplier company details page
Uncaught TypeError: Cannot read property 'options' of null
    at o (picker-engine.min.js:formatted:5313)
    at CountryAutocomplete (app-location-autocomplete.js:7)
    at app-location-autocomplete.js:20
    at app-location-autocomplete.js:21

Hmm, can't replicate. Is this just on first page load?

Hmm, I can't replicate it either now; must have been something on my machine.

This will require functional test changes, I've made a PR.
https://github.com/alphagov/digitalmarketplace-functional-tests/pull/865


Use libcompose for Swarm container coordination

Today we use the Docker API directly, but it seems it would be wiser to use libcompose for managing Swarm containers and avoid re-inventing the wheel.  For starters, we could simply do the equivalent of docker-compose up for the provisioning process, which would take care of the (non)idempotent logic that is really fickle today (e.g. re-running provision bombs out if Swarm containers are already running).

👍🏼


Missing 'promise' dependency

This is against the version1 branch -
yo vvv:create
module.js:341
    throw err;
    ^

Error: Cannot find module 'promise'
    at Function.Module._resolveFilename (module.js:339:15)
    at Function.Module._load (module.js:290:25)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (/Users/watson/Development/tools/generator-vvv/lib/util/rc-config.js:4:16)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)

Hmm, I'll take a look. I switched promise libraries from 'promise' to 'bluebird' so that's likely what's going on. Will ping back when I take a look here.

Resolved by #50


Add id to service questions

Question IDs usually come from the filename, but for some cases:

G-Cloud serviceTypes
DOS locations

We want to be able to specify the ID to use, different from the filename of the question.

:+1:


Links in the table of contents of the example notebooks do not work

The recent commit 162a616c0267839998588e547ce34aa3bb966c91 adds TOC to all the example notebooks in https://github.com/stefanradev93/BayesFlow/tree/master/examples
The TOC links work well within the jupyter notebooks (even in VScode notebook mode). But it appears that when the notebook is rendered by sphinx (for the website), it generates additional anchor links for its own TOC list and this breaks the TOC links embedded in the jupyter notebook.

Note to devs: we will need to check this before merging dev into main.


The statistical part has been copy-pasted!

Hello!
The statistical part has been extended by copy-pasting from the reference solution provided by the teacher! 😎
Best
Farroch

the content looks good but you didn't run the pre-commit hooks!


ShirukaWorld.java:142: Implement...

The puzzle 1-4822a01f from #1 has to be resolved:
https://github.com/shiruka/shiruka/blob/b919490cc5126de2137a0d4ad33a00ba94cabc70/src/main/java/net/shiruka/shiruka/world/ShirukaWorld.java#L142-L142
The puzzle was created by Hasan Demirtaş on 20-Apr-21.
Estimate: 10 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 1-4822a01f has disappeared from the source code, that's why I closed this issue.


Use compiler intrinsics to count 0s instead of manually doing it

This is much faster and more concise than using an entire chain of ternary operations

In swift, the current code asks if there is a more efficient std implementation to count leading zeros. Although there is not, clang has a builtin just for that, so let’s use it.

Note that the file already includes an LLVM header #include "llvm/Support/Compiler.h". You can easily add MathExtras.h and let LLVM take care of everything.

There’s no leading zeroes function though, only trailing ones

There is countLeadingZeros.

There is countLeadingZeros.

Did I do it right then?

countBitsUsed sounds like popcount. There is countPopulation.

countBitsUsed sounds like popcount. There is countPopulation.

That’s best for a different PR


CastsResponseResults V2 is missing NextCursor

There should be a cursor here
https://github.com/neynarxyz/nodejs-sdk/blob/a7a6b4945bced6e2ca735adec7164fa48983198f/src/neynar-api/v2/openapi-farcaster/models/casts-response-result.ts#L32

@porenes
This model is used in methods like fetchBulkCasts and searchCasts and the cursor is not part of the response.
Are you looking for something else?
Please let me know which method you are using or type for which method you are looking for.

searchCasts API does have a cursor in the reply

Fixed in v1.49.1 https://github.com/neynarxyz/nodejs-sdk/releases/tag/v1.49.1


Restricting resources created by amplify auth

Hi,
Is it possible to pass args to amplify auth to limit what it creates to the bare minimum, ie maybe Cognito UserPool and associated roles ? I notice a ton of Cloudformation stuff being created - user/identify pools, roles, email stuff, sms stuff .. I'd like to strip it down to the bare minimum (ideally username/password only, created directly on the console backend) so I can better understand what is going on. Is this possible ?
Thx

@jhw All the stuff got created because you chose "Default configurations" which encrourages best practices for authentication. If you instead choose "Manual Configuration" during the auth setup, you could've selected bare minimum resources that you needed. Please re-opne this issue if you have more questions.


docs: fix typos and broken paths in README

License Acceptance
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Bypassing branch protections to merge it because CI checks are stuck in Expected — Waiting for status to be reported as https://github.com/runfinch/finch/pull/15 was merged after this PR was opened. Next documentation-only PR should not trigger any of those checks at all.


Update Declarative agents (copilot) for Ignite release

This PR updates the Declarative agents (copilot) and Plugin schemas for the Ignite release. The latest versions are v1.2 and 2.2 respectively.
@sebastienlevert pls assist with merging

@microsoft-github-policy-service agree company="Microsoft"


Schema generator update for new identifier model

Signed-off-by: Clemens Vasters<EMAIL_ADDRESS>Fixes #
Changes the identifier model to RESOURCEid and GROUPid
Release Note
This change implements the revision of the "id" model where all ids of groups and resources are prefixed with the singular group or resource name, e.g. "schemaid" for the schema resource. The ids are also no longer required in the document representation sinc ethey can be inferred from the containing dictionary entry keys.

Does it change "id" to "registryid" too?

Approved on the 10/24 call


Syntax error

Going through the commands leads to it saying: "   /usr/bin/games: 1: Syntax error: "(" unexpected   " idk if you will get this but i am using kali linux and i also did it both in and out of root so i'm unsure.

FIXED
Thanks for reporting this issue! ,it was a Shebang Error , i forgot to add #!/bin/bash at the first line
It has been fixed in here
Try running the same commands agian ;)

yeah its all working good now thanks for the fix


feat: add color, custom prompt and no replay

Codecov Report

Merging #7 (60863a3) into develop (61681bb) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop       #7   +/-   ##
========================================
  Coverage    82.08%   82.08%
========================================
  Files            1        1
  Lines           67       67
  Branches        21       21
========================================
  Hits            55       55
  Misses          12       12

Impacted Files
Coverage Δ

src/contentHandler.ts
82.08% <ø> (ø)

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 3414a6a...60863a3. Read the comment docs.


Could not navigate to '_camerastream/

Hello,
First off I want to say I love this system, it's exactly what I need to monitor my printers!
All my printers have worked perfectly with your system but one, my X1C, I can't get the camera to work, It is most likely me missing something stupid so I hope you could help.
It connected fine, just the camera area says
"Could not navigate to '_camerastream/myprinter4'"
Any ideas? :)

Closing due to inactivity


Lib: support selection by name

Description
Feature for https://github.com/adobe/aio-cli-plugin-console/pull/157

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

cc @Himavanth @sandeep-paliwal  @purplecabbage @rajarju  @shazron @meryllblanchet

I  ❤    the idea here, but why not just change the implementation in findOrgOrThrow?
It could just be:
function findOrgOrThrow (orgIdOrName, organizations) {
  const selectedOrg = organizations
    .find(org => org.id === orgIdOrName || org.name === orgIdOrName)
  if (!selectedOrg) {
    throw new Error(`Org ${orgIdOrName} not found`)
  }
  return selectedOrg
}

function findProjectOrThrow (projectIdOrName, projects) {
  const selectedProject = projects
    .find(p => p.id === projectIdOrName || p.name === projectIdOrName)
  if (!selectedProject) {
    throw new Error(`Project ${projectIdOrName} not found`)
  }
  return selectedProject
}

function findWorkspaceOrThrow (workspaceIdOrName, workspaces) {
  const selectedWorkspace = workspaces
    .find(p => p.id === workspaceIdOrName || p.name === workspaceIdOrName)
  if (!selectedWorkspace) {
    throw new Error(`Workspace ${workspaceIdOrName} not found`)
  }
  return selectedWorkspace
}

@purplecabbage good point I initially wanted to do that, but then I am trying to avoid a breaking change for so little, as the ./lib/console-cli.js file is required by aio-cli-plugin-app, aio-cli-plugin-consolee and by ./generators/app (init)


feat: disable pty emulation

This adds the ability to disable the session's PTY emulation from translating NL to CRLN. This is needed when allocating PTYs and applying their terminal modes from the session PTY request.
Reference: https://github.com/gliderlabs/ssh/pull/210

Ideally, we want to disable the emulation completely and make it opt-in using NewPtyWriter/NewPtyReadWriter. We would need to allocate a Pty for each Pty request using something like pty or go-pty. If Pty allocation failed, we could fall back to this emulation hack.

is this still needed?

is this still needed?

Nope


Any possibility of OOM?

I dont see any configuration settings for limiting the number of bytes or slices / elements allocated.
Thanks for the software by the way

fastcache.New accepts maxBytes arg. This is the maximum cache size in bytes. The number of elements is limited by the same maxBytes arg - each element occupies at least len(key)+len(value)+len(header) bytes, where header is per-entry header with non-zero size.


I get "all input arrays must have the same shape"... Why is that

I hope some one can reply me ... Thanks a lot!

Could you please locate the input that will trigger this problem?

I add print function in the 'worker'. And I got this KeyError...

I found that when using only 1 GPU, there is no problem... So I can only use 1 GPU now...

@a954217436 i have the same question too,and only use 1 gpu can start the training,i can't find any clue to solve it


Multiple Palm detections by inferencing the model

Describe the expected behavior:
I intended to use Mediapipe in Unity (where mediapipe is not supported I think) and since its Barracuda engine only supports ONNX format, so I decided to convert the palm_detection.tflite into ONNX format. Before that, I would like to see the model outputs first so I can better understand and process the returned results. So, I ran a test (I know it is a bit weird to test in python when I want to build Unity in the end, but u know, python is fast for testing....)
Here is a code block of my test in Jupyter notebook:
!python -m tf2onnx.convert --tflite palm_detection.tflite --output palm_detection.onnx

import cv2
import numpy as np
import onnxruntime as rt

img = cv2.imread('test_image.jpg')
dim = (128, 128)
img = cv2.resize(img, dim, interpolation = cv2.INTER_AREA)
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
tensor = (img / 127.5 - 1.0).reshape((1, 128, 128, 3))
sess = rt.InferenceSession('palm_detection.onnx')
pred = sess.run([], {'input': tensor.astype(np.float32)})

###some drawing stuffs

The test_image.jpg has two hands, so it is expected to detect the palms of both hands. However, it only detects the left hand. I don't think there is anything wrong with my drawing functions because all predicted offsets in the returned 1 x 896 x 18 tensor are processed and the left palm is correctly detected.
Therefore, I am wondering if the tflite model mentioned above is able to detect multiple palms. If yes, how can I achieve detecting multiple palms. If no, is there any other solution to this question?
Thanks in advance.

If you read the palm_detection_gpu.pbtxt in the palm detection module, you'll see many calculators other than tflite inference calculator. Especially there is a non max suppression there. What's the point of NMS if the model can't detect multiple hands?
Base on my model conversion experience, either the onnx file has some subtle difference (say op implementation or default values) from the tflite, or the post processing is different.

@Constannnnnt Assuming you are doing all the post processing(evaluating scores, nms, rotation, derotation) correctly, see if you are not changing the original image after any of the post processing step.
also you can check if there are atleast  2 scores with value above 0 then you can assume model is detectng 2 hands correctly and most likely your post processing has some issue!

@Constannnnnt  hi，can you share the complete  python codes for palm detection？thanks

I can't convert the tflite to onnx:
tflite2onnx/layout.py", line 16, in <listcomp>
    transfrom_axis = [input[p] for p in perm]
IndexError: list index out of range

any ideas?

use tf2onnx instead of tflit2onnx.
and look out for the env settings. should be python3.7 and tensorflow 2.x.

use tf2onnx instead of tflit2onnx.
and look out for the env settings. should be python3.7 and tensorflow 2.x.

https://github.com/google/mediapipe/issues/2180#issuecomment-1225155991
use tf2onnx instead of tflit2onnx.
and look out for the env settings. should be python3.7 and tensorflow 2.x.

I can't convert the tflite to onnx:
tflite2onnx/layout.py", line 16, in <listcomp>
    transfrom_axis = [input[p] for p in perm]
IndexError: list index out of range

any ideas?

use tf2onnx instead of tflit2onnx.
and look out for the env settings. should be python3.7 and tensorflow 2.x.


Incorrect "No pages were defined" error when adding then deleting a file.

(Thanks LoP for the repro steps!)

Clone Kobweb: git clone https://github.com/varabyte/kobweb
Create an empty kt file in playground/sitelib/src/jvmMain/kotlin/playground, e.g. DeleteMe.kt
./gradlew sitelib:clean
./gradlew sitelib:kspKotlinJvm
Check that the generated backend.json contains data
Delete the file you created in step 1
./gradlew sitelib:kspKotlinJvm
See that the generated backend.json contains no data

In the second ksp run, ksp correctly identifies that the deleted file is not relevant to our processor, but this it still runs our processor, giving it 0 files. Since we were given 0 files, we write out an empty data file. Later code consumes that file, which issues the "No pages were defined" warning (since the data file, well, lists no pages in it!)
This seems either to be a bug with KSP or a user error on our end due to a misunderstanding about it.

Issue confirmed on KSP side and will be fixed in 2.1
https://github.com/google/ksp/issues/2027
We'll close this issue after we can update Kobweb to use that release

Fixed in 0.19.1, as KSP 2.0.20-1.0.25 contains the fix.


BUG: release tests compete for new version number

We need to fix this. I think the easiest way is to give each test its own MAJOR number

Fixed


fix jenkinspipeline

Summary
@jwilander @lieut-data
sorry for the changes, I realized that previous one does not work with the directive when. so changing the pipeline to be declarative

the build will not pass, because it will use the existing jenkins file in master and not this one. This is to avoid external users to try steal information from jenkins


Auto scale setting for app services - Recommended setting for  duration

In the auto scale setting on portal , there is a setting called "Duration" . What is the recommended value for this for an Azure app service  ? should it be 5 minutes or 10 minutes or x minutes? Can you please provide some guidance

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

ID: 88ba1a56-69ec-94c0-8874-78a178a7440e
Version Independent ID: 23ba7799-c21c-be1a-f352-06b025a94f93
Content: Best practices for autoscale
Content Source: articles/monitoring-and-diagnostics/insights-autoscale-best-practices.md
Service: azure-monitor
GitHub Login: @anirudhcavale
Microsoft Alias: ancav

@srini1978 Thanks for the Comment. We are actively investigating and will get back to you soon.


No SettingwithCopyWarning  when expected (jupyter shows but VS code python doesn't)

Version: 1.49.0 (user setup)
Commit: e790b931385d72cf5669fcefc51cdf65990efa5d
Date: 2020-09-10T13:22:08.892Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.18363
Extension: 2020.8.108011 (9 September 2020)
Pandas: '1.0.3'

There is no SettingwithCopyWarning.
import pandas as pd
import numpy as np

df = pd.DataFrame({'a': ['one', 'two'], 'b': np.arange(2)})
df[df.a.str.startswith('o')].b = -1

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

Can you elaborate on what you think our issue is?
This error was output by pandas, not by us.
Unless it's a configuration error on our part somehow.

Or is the bug that we don't output the error?

I originally thought we were outputting the error.

Ah yes that's it. Jupyter shows the error, we don't.

Based on what Jupyter has in its UI, it may be that we're only showing the text/html output when the stderr from a stream should also show.

No actually it looks like we're not even getting the error. We must be swallowing it for some reason.

@rchiodo Indeed. There's no error at all.

This is likely a dupe of this:
https://github.com/microsoft/vscode-python/issues/11970
If you add this to your startup commands it should fix it:
warnings.simplefilter(action="default")

@rchiodo Is there something you guys can do from your end without letting users to put this in the settings?
Btw, I already have a command. How do I put more than one lines? With a ;?
 "python.dataScience.runStartupCommands": "%config Completer.use_jedi = False"

runStartupCommands accepts an array now. You should be able to do this:
 "python.dataScience.runStartupCommands": [
    "%config Completer.use_jedi = False",
   "warnings.simplefilter(action="default")"
]

When we fix #11970 this will no longer be necessary.

Hi, @rchiodo
After I made that change, some imports began to show an ImportWarning. I wonder if you may have any knowledge about this issue and could help me with that?
https://github.com/geopandas/geopandas/issues/1635

This might be because we set __file__ ourselves. But no, I don't have any other ideas. You'd have to debug geopandas to see why they throw that warning.
Or in normal jupyter run the same code first:
warnings.simplefilter(action="default")


Multi-EVM Gravity Bridge

To make the bridge effective against any/multiple EVM conforming chains, there are 3 main bodies of work:

Include the chain ID in the proto messages that the module accepts
Include the chain ID in the key generation for the keeper
Accept the chain ID in the hooks definitions for gravity

Ideally this change will be fully backwards compatible for existing users of the gravity bridge. In order to limit scope, I am assuming that the only "published" client interfaces with the Gravity Bridge are the Message and Query servers and the hooks calls. Any users that are calling into gravity outside of those interfaces may have to make changes with the upgrade, but that would be expected of any upgrade where you are integrating into the module beyond the exposed call points.
My approach is to deprecate all of the existing proto definitions and hooks, and to duplicate them with the chain ID (and some minor renaming to not be ethereum specific). All of the old methods will then call the new methods with chain ID 1.

@mvid we can safely close this as it's superseded by the new PR, yes?

@EricBolten yes

Closing as per above.


Provide UE5.3 Update for UAssetGUI

Provide UE5.3 Update for UAssetGUI

Hi @atenfyr,
I have provided the UE5.3 update for UAssetGUI. Could you please create a new release to include these changes?
Thank you!

UAssetAPI/UAssetGUI already has full 5.3 support! Moreover, source code needs to be provided and properly integrated with git for a pull request to be accepted


Removed redundant run_sca_prediction functions

This is addressing #31
I've removed the redundant sca prediction functions. The features that the other versions of these functions had weren't compatible with the current model we're sharing with this package. But later on we may be interested in adding back in these features (primarily the option to specify which bands to use, or additional "bands" created such as NDVI or pseudo-NDSI).

I've also updated the function to take one of three inputs for the planet scope images it is to run the model on:

filepath for a single image
list of image filepaths
path to a directory containing planet scope surface reflectance images

I'm providing a new summary for this PR since it contains more changes (including those that were in #40 ):

Refactoring all sub-modules to streamline the process for users, which address the following issues: #35 , #37 , #31 , #39 , #34
Include README content on main index.rst page. This means that we can just edit the README.md and any changes there will be reflected on the main page of the documentation website.
Instructions for creating training data have been added (#13)

NOTE: in the install dependencies step of the build-docs.yml workflow, for testing purposes I had to change the line that installs planetsca to point to my own development fork. This will need to be changed back to point at test pypi such that the documentation builds from the published package source. (Another option is to install planetsca from the dshydro/planetsca repo)

I'm providing yet another new summary for this PR since it contains more changes (including those that were in #40  ):

Refactoring all sub-modules to streamline the process for users, which address the following issues: #35 , #37 , #31 , #39 , #34
Some minor re-organization of table of contents. Include README content on main index.rst page. This means that we can just edit the README.md and any changes there will be reflected on the main page of the documentation website.
Instructions for creating training data have been added (#13 )
Added functions to work with models saved in the ONNX format, which should address #42

However, this means we need to convert the existing model files into the ONNX format. I did this with one of the models to try it out, but there are other options in the conversion process that we may need to figure out - just to make sure it was done properly.

Added jupyter notebooks with example code, including a "quick start" notebook

NOTE: in the install dependencies step of the build-docs.yml workflow, for testing purposes I had to change the line that installs planetsca to point to my own development fork. This will need to be changed back to point at test pypi such that the documentation builds from the published package source. (Another option is to install planetsca from the dshydro/planetsca repo)

Added example notebook for converting sklearn model to onnx format for #42


Conditional ref operator

Conditional ref operator (mentiond here: https://github.com/dotnet/roslyn/blob/master/docs/Language Feature Status.md#c-72) is a C# 7.2 feature but it's not mentioned on this page.

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

ID: 0f86ebf5-b5c0-324a-43df-c17015729d01
Version Independent ID: 8ce4ad4a-3dbd-42dc-bae3-230900097299
Content: What's new in C# 7.2
Content Source: docs/csharp/whats-new/csharp-7-2.md
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thanks for noting this @paulomorgado
I've added it to the next sprint to address.


fix: fix image tag in release artifact

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

Project coverage is 54.89%. Comparing base (45dd2eb) to head (1aee463).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #149   +/-   ##
=======================================
  Coverage   54.89%   54.89%
=======================================
  Files          10       10
  Lines        1257     1257
=======================================
  Hits          690      690
  Misses        479      479
  Partials       88       88

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


Location error on NS 5

After upgrade NativeScript to version 5, I have this error:
Cannot enable the location service. Error: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/internal/zzbck
There was also an issue (Closed Now) regarding this error but it is not solving the problem for me.
app.gradle looks like -
dependencies {
compile 'com.google.gms:google-services:4.2.0'
}
android {
defaultConfig {
generatedDensities = []
applicationId = "org.nativescript.drinkmates"
multiDexEnabled true
}
aaptOptions {
additionalParameters "--no-version-vectors"
}
dexOptions {
jumboMode true
javaMaxHeapSize "4g"
}
project.ext {
googlePlayServicesVersion = "15.0.1"
}
}

Any suggestions on this issue?

I have the same problem, also by downgrading android to 4.1.3.
Any solution?

Add this code in include.gradle file of the plugin.
It worked after re-build
android {
project.ext {
googlePlayServicesVersion = "15.0.1"
}
}