New Drumsep MDX23C model by jarredou/aufr33

https://docs.google.com/document/d/17fjNvJzj8ZGSer7c7OFe_CNfUKbAxEh_OBv94ZdRG5c/edit#heading=h.2u19k7ty9b00
Works with UVR. Colab attached.
Better SDR than the original Drumsep. Expanded dataset and better model architecture.
Still, I'd recommend using only on (e.g. separated) drums.

https://docs.google.com/document/d/17fjNvJzj8ZGSer7c7OFe_CNfUKbAxEh_OBv94ZdRG5c/edit#heading=h.2u19k7ty9b00
Works with UVR. Colab attached. Better SDR than the original Drumsep. Expanded dataset and better model architecture.
Still, I'd recommend using only on (e.g. separated) drums.

How do you get the new model to run in UVR? It always give me a constructor error.

It should work on the latest stable UVR 5.6 or Beta Roformer.
Open the document outline and there are links somewhere near the top of the
table of content there.
Also, try out without GPU Conversion too.
If still the same, paste the full error log.
sob., 13 lip 2024, 20:14 użytkownik ozzy-zig @.***>
napisał:

https://docs.google.com/document/d/17fjNvJzj8ZGSer7c7OFe_CNfUKbAxEh_OBv94ZdRG5c/edit#heading=h.2u19k7ty9b00
Works with UVR. Colab attached. Better SDR than the original Drumsep.
Expanded dataset and better model architecture.
Still, I'd recommend using only on (e.g. separated) drums.
How do you get the new model to run in UVR? It always give me a
constructor error.
—
Reply to this email directly, view it on GitHub
https://github.com/inagoy/drumsep/issues/5#issuecomment-2227036839, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIJ3EHCY5E25ZEHL3VQBHBLZMFVCFAVCNFSM6AAAAABKLI5MV2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGAZTMOBTHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Tried without GPU Conversion; no luck there. Also made sure I had the two proper files for the new model.
Given that the original drumsep was filed under demucs, I did the same for this model.
If this error is something silly and easily resolved, I do apologize.
Last Error Received:
Process: Demucs
If this error persists, please contact the developers with the error details.
Raw Error Details:
ConstructorError: "could not determine a constructor for the tag 'tag:yaml.org,2002:python/tuple'
in "C:\Users\USER\AppData\Local\Programs\Ultimate Vocal Remover\models\Demucs_Models\v3_v4_repo\aufr33-jarredou_DrumSep_model_mdx23c_ep_141_sdr_10.8059.yaml", line 54, column 16"
Traceback Error: "
File "UVR.py", line 6638, in process_start
File "separate.py", line 834, in seperate
File "demucs\pretrained.py", line 81, in get_model
File "demucs\repo.py", line 148, in get_model
File "demucs\repo.py", line 127, in get_model
File "yaml_init_.py", line 125, in safe_load
File "yaml_init_.py", line 81, in load
File "yaml\constructor.py", line 51, in get_single_data
File "yaml\constructor.py", line 60, in construct_document
File "yaml\constructor.py", line 413, in construct_yaml_map
File "yaml\constructor.py", line 218, in construct_mapping
File "yaml\constructor.py", line 143, in construct_mapping
File "yaml\constructor.py", line 100, in construct_object
File "yaml\constructor.py", line 427, in construct_undefined
"
Error Time Stamp [2024-07-15 06:52:08]
Full Application Settings:
vr_model: Choose Model
aggression_setting: 5
window_size: 512
mdx_segment_size: 256
batch_size: Default
crop_size: 256
is_tta: False
is_output_image: False
is_post_process: False
is_high_end_process: False
post_process_threshold: 0.2
vr_voc_inst_secondary_model: No Model Selected
vr_other_secondary_model: No Model Selected
vr_bass_secondary_model: No Model Selected
vr_drums_secondary_model: No Model Selected
vr_is_secondary_model_activate: False
vr_voc_inst_secondary_model_scale: 0.9
vr_other_secondary_model_scale: 0.7
vr_bass_secondary_model_scale: 0.5
vr_drums_secondary_model_scale: 0.5
demucs_model: aufr33-jarredou_DrumSep_model_mdx23c_ep_141_sdr_10.8059
segment: Default
overlap: 0.25
overlap_mdx: Default
overlap_mdx23: 8
shifts: 2
chunks_demucs: Auto
margin_demucs: 44100
is_chunk_demucs: False
is_chunk_mdxnet: False
is_primary_stem_only_Demucs: False
is_secondary_stem_only_Demucs: False
is_split_mode: True
is_demucs_combine_stems: True
is_mdx23_combine_stems: True
demucs_voc_inst_secondary_model: No Model Selected
demucs_other_secondary_model: No Model Selected
demucs_bass_secondary_model: No Model Selected
demucs_drums_secondary_model: No Model Selected
demucs_is_secondary_model_activate: False
demucs_voc_inst_secondary_model_scale: 0.9
demucs_other_secondary_model_scale: 0.7
demucs_bass_secondary_model_scale: 0.5
demucs_drums_secondary_model_scale: 0.5
demucs_pre_proc_model: No Model Selected
is_demucs_pre_proc_model_activate: False
is_demucs_pre_proc_model_inst_mix: False
mdx_net_model: Choose Model
chunks: Auto
margin: 44100
compensate: Auto
denoise_option: None
is_match_frequency_pitch: True
phase_option: Automatic
phase_shifts: None
is_save_align: False
is_match_silence: True
is_spec_match: False
is_mdx_c_seg_def: False
is_invert_spec: False
is_deverb_vocals: False
deverb_vocal_opt: Main Vocals Only
voc_split_save_opt: Lead Only
is_mixer_mode: False
mdx_batch_size: Default
mdx_voc_inst_secondary_model: No Model Selected
mdx_other_secondary_model: No Model Selected
mdx_bass_secondary_model: No Model Selected
mdx_drums_secondary_model: No Model Selected
mdx_is_secondary_model_activate: False
mdx_voc_inst_secondary_model_scale: 0.9
mdx_other_secondary_model_scale: 0.7
mdx_bass_secondary_model_scale: 0.5
mdx_drums_secondary_model_scale: 0.5
is_save_all_outputs_ensemble: True
is_append_ensemble_name: False
chosen_audio_tool: Manual Ensemble
choose_algorithm: Min Spec
time_stretch_rate: 2.0
pitch_rate: 2.0
is_time_correction: True
is_gpu_conversion: False
is_primary_stem_only: False
is_secondary_stem_only: False
is_testing_audio: False
is_auto_update_model_params: True
is_add_model_name: False
is_accept_any_input: False
is_task_complete: False
is_normalization: False
is_use_opencl: False
is_wav_ensemble: False
is_create_model_folder: False
mp3_bit_set: 320k
semitone_shift: 0
save_format: WAV
wav_type_set: PCM_16
device_set: Default
help_hints_var: True
set_vocal_splitter: No Model Selected
is_set_vocal_splitter: False
is_save_inst_set_vocal_splitter: False
model_sample_mode: False
model_sample_mode_duration: 30
demucs_stems: All Stems
mdx_stems: All Stems

That's MDX23C model, and it should be placed in the following directory:
Ultimate Vocal Remover\models\MDX_Net_Models
pon., 15 lip 2024 o 14:06 ozzy-zig @.***> napisał(a):

Tried without GPU Conversion; no luck there. Also made sure I had the two
proper files for the new model.
Given that the original drumsep was filed under demucs, I did the same for
this model.
If this error is something silly and easily resolved, I do apologize.
Last Error Received:
Process: Demucs
If this error persists, please contact the developers with the error
details.
Raw Error Details:
ConstructorError: "could not determine a constructor for the tag 'tag:
yaml.org,2002:python/tuple'
in "C:\Users\USER\AppData\Local\Programs\Ultimate Vocal
Remover\models\Demucs_Models\v3_v4_repo\aufr33-jarredou_DrumSep_model_mdx23c_ep_141_sdr_10.8059.yaml",
line 54, column 16"
Traceback Error: "
File "UVR.py", line 6638, in process_start
File "separate.py", line 834, in seperate
File "demucs\pretrained.py", line 81, in get_model
File "demucs\repo.py", line 148, in get_model
File "demucs\repo.py", line 127, in get_model
File "yaml_init.py", line 125, in safe_load
File "yamlinit_.py", line 81, in load
File "yaml\constructor.py", line 51, in get_single_data
File "yaml\constructor.py", line 60, in construct_document
File "yaml\constructor.py", line 413, in construct_yaml_map
File "yaml\constructor.py", line 218, in construct_mapping
File "yaml\constructor.py", line 143, in construct_mapping
File "yaml\constructor.py", line 100, in construct_object
File "yaml\constructor.py", line 427, in construct_undefined
"
Error Time Stamp [2024-07-15 06:52:08]
Full Application Settings:
vr_model: Choose Model
aggression_setting: 5
window_size: 512
mdx_segment_size: 256
batch_size: Default
crop_size: 256
is_tta: False
is_output_image: False
is_post_process: False
is_high_end_process: False
post_process_threshold: 0.2
vr_voc_inst_secondary_model: No Model Selected
vr_other_secondary_model: No Model Selected
vr_bass_secondary_model: No Model Selected
vr_drums_secondary_model: No Model Selected
vr_is_secondary_model_activate: False
vr_voc_inst_secondary_model_scale: 0.9
vr_other_secondary_model_scale: 0.7
vr_bass_secondary_model_scale: 0.5
vr_drums_secondary_model_scale: 0.5
demucs_model: aufr33-jarredou_DrumSep_model_mdx23c_ep_141_sdr_10.8059
segment: Default
overlap: 0.25
overlap_mdx: Default
overlap_mdx23: 8
shifts: 2
chunks_demucs: Auto
margin_demucs: 44100
is_chunk_demucs: False
is_chunk_mdxnet: False
is_primary_stem_only_Demucs: False
is_secondary_stem_only_Demucs: False
is_split_mode: True
is_demucs_combine_stems: True
is_mdx23_combine_stems: True
demucs_voc_inst_secondary_model: No Model Selected
demucs_other_secondary_model: No Model Selected
demucs_bass_secondary_model: No Model Selected
demucs_drums_secondary_model: No Model Selected
demucs_is_secondary_model_activate: False
demucs_voc_inst_secondary_model_scale: 0.9
demucs_other_secondary_model_scale: 0.7
demucs_bass_secondary_model_scale: 0.5
demucs_drums_secondary_model_scale: 0.5
demucs_pre_proc_model: No Model Selected
is_demucs_pre_proc_model_activate: False
is_demucs_pre_proc_model_inst_mix: False
mdx_net_model: Choose Model
chunks: Auto
margin: 44100
compensate: Auto
denoise_option: None
is_match_frequency_pitch: True
phase_option: Automatic
phase_shifts: None
is_save_align: False
is_match_silence: True
is_spec_match: False
is_mdx_c_seg_def: False
is_invert_spec: False
is_deverb_vocals: False
deverb_vocal_opt: Main Vocals Only
voc_split_save_opt: Lead Only
is_mixer_mode: False
mdx_batch_size: Default
mdx_voc_inst_secondary_model: No Model Selected
mdx_other_secondary_model: No Model Selected
mdx_bass_secondary_model: No Model Selected
mdx_drums_secondary_model: No Model Selected
mdx_is_secondary_model_activate: False
mdx_voc_inst_secondary_model_scale: 0.9
mdx_other_secondary_model_scale: 0.7
mdx_bass_secondary_model_scale: 0.5
mdx_drums_secondary_model_scale: 0.5
is_save_all_outputs_ensemble: True
is_append_ensemble_name: False
chosen_audio_tool: Manual Ensemble
choose_algorithm: Min Spec
time_stretch_rate: 2.0
pitch_rate: 2.0
is_time_correction: True
is_gpu_conversion: False
is_primary_stem_only: False
is_secondary_stem_only: False
is_testing_audio: False
is_auto_update_model_params: True
is_add_model_name: False
is_accept_any_input: False
is_task_complete: False
is_normalization: False
is_use_opencl: False
is_wav_ensemble: False
is_create_model_folder: False
mp3_bit_set: 320k
semitone_shift: 0
save_format: WAV
wav_type_set: PCM_16
device_set: Default
help_hints_var: True
set_vocal_splitter: No Model Selected
is_set_vocal_splitter: False
is_save_inst_set_vocal_splitter: False
model_sample_mode: False
model_sample_mode_duration: 30
demucs_stems: All Stems
mdx_stems: All Stems
—
Reply to this email directly, view it on GitHub
https://github.com/inagoy/drumsep/issues/5#issuecomment-2228345826, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIJ3EHCILZR4PVGGWHNJEOTZMO3MRAVCNFSM6AAAAABKLI5MV2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRYGM2DKOBSGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

https://docs.google.com/document/d/17fjNvJzj8ZGSer7c7OFe_CNfUKbAxEh_OBv94ZdRG5c/edit#heading=h.2u19k7ty9b00
Works with UVR. Colab attached. Better SDR than the original Drumsep. Expanded dataset and better model architecture.
Still, I'd recommend using only on (e.g. separated) drums.

Great job,  @deton24  ! Glad to see a new model that performs so well!


kn/asymmetric sync

Support asymmetric objects
@RealmModel(ObjectType.asymmetricObject)
class _Asymmetric {
  @PrimaryKey()
  @MapTo('_id')
  late ObjectId id;

  late List<_Embedded> embeddedObjects;
}
// ...
realm.write(() {
  realm.ingest(Asymmetric(oid));
});

Fixes: #917

Note that this PR is dependent on dart 3.1.0 which currently breaks linux due to: https://github.com/dart-lang/sdk/issues/53267. Fix is planned to be cherry-picked: https://github.com/dart-lang/sdk/issues/53503.

left some small comments. I think its good. Should we have a final discussion on realm.ingest vs realm.add before we merge?

Yes, I cannot make up my mind myself. I'm okay with both, but it cannot be as elegant as in realm-dotnet since we cannot overload add. Let us discuss Monday.

left some small comments. I think its good. Should we have a final discussion on realm.ingest vs realm.add before we merge?

Yes, I cannot make up my mind myself. I'm okay with both, but it cannot be as elegant as in realm-dotnet since we cannot overload add. Let us discuss Monday.

I have created a commit that illustrates how it could be implemented, if we go with add

left some small comments. I think its good. Should we have a final discussion on realm.ingest vs realm.add before we merge?

Yes, I cannot make up my mind myself. I'm okay with both, but it cannot be as elegant as in realm-dotnet since we cannot overload add. Let us discuss Monday.

For now we will go with ingest. I have parked the refactoring commit that overload add on the kn/asymmetric-add-instead-of-ingest branch


e3s add arrow and tts

add arrow and tts for better visibility

I've added tts replacer rather than making specific tts
 ttsText = ttsText.replace('[↖-↙]', '');


[bal-select] Default Value not displayed

The default selected value is not shown
Detailed description

on load, the default selected value for the 'bal-select' is missing
therefore the closed dropdown is displayed as empty

I think that is fixed

@joachimprinzbach Did you check this on a real mobile device ?
https://baloise-reb.dev.aperto.systems/baloise-qa/de/qa/Sprints/Sprint-11/Blog-Magazine-Teaser.html
We still face the problem - and wehave included the latest DS.

@rainerblumenthal no did not - as we thaught it was already fixed. Will reopen it, thanks for the hint.

It still does not work on a real mobile device.

Max sagt:
Habe es nochmal getestet… ist ein fehler in den bal-tabs und nur onload, wenn du resized oder das gerät drehst und wieder zurück in den mobile viewport gehst passt es. Ist aber definitiv ein DS Issue.
https://baloise-reb.dev.aperto.systems/baloise-qa/de/qa/Sprints/Sprint-11/tab-component.html

@rainerblumenthal this is a different bug could you create a new GitHub issue for that and please write in English so that everybody underdstands it


Deprecation warning

The following deprecation warning is shown in build logs when using this plugin:
8:32:30 PM:  ⚠  warning (DeprecationWarning)  OutgoingMessage.prototype._headers is deprecated
8:32:30 PM: [DEP0066]
8:32:30 PM:     at new module.exports (/opt/build/repo/.netlify/plugins/node_modules/union/lib/response-stream.js:50:60)
8:32:30 PM:     at new module.exports (/opt/build/repo/.netlify/plugins/node_modules/union/lib/routing-stream.js:30:17)
8:32:30 PM:     at Server.requestHandler (/opt/build/repo/.netlify/plugins/node_modules/union/lib/core.js:27:25)
8:32:30 PM:     at Server.emit (events.js:310:20)
8:32:30 PM:     at parserOnIncoming (_http_server.js:786:12)
8:32:30 PM:     at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)

Do you know what the problem might be?

Dependant of https://github.com/http-party/http-server/issues/537


error: failed to solve: no match for platform in manifest when using multi-stage builds

I've got a node.js frontend that I serve with a go daemon that handles a REST API. I discovered this project because I need to have this daemon work on OSX and goxx does a fantastic job of compiling my CGO app for all the supported platforms. The issue is trying to incorporate the node.js build into goxx.
Here are the relevant bits from my Dockerfile:
ARG GOXX_BASE
ARG GOBUILDTYPE
FROM node:latest as node-build

WORKDIR /base
COPY pixelweb/companion/package.json .
COPY pixelweb/companion/yarn.lock .
RUN --mount=type=bind,source=. \
  cd pixelweb/companion && yarn install
RUN --mount=type=bind,source=. \
  cd pixelweb/companion && yarn build

When trying to build, I now get the following error:
 => CANCELED [linux/amd64 internal] load metadata for docker.io/crazymax/goxx:latest                                                                                0.1s
 => ERROR [windows/amd64 internal] load metadata for docker.io/library/node:latest                                                                                0.1s
 => CANCELED [linux/amd64 internal] load metadata for docker.io/crazymax/osxcross:11.3                                                                                0.1s
 => CANCELED [windows/386 internal] load metadata for docker.io/library/node:latest                                                                                0.1s
------
 > [windows/amd64 internal] load metadata for docker.io/library/node:latest:
------
Dockerfile:4
--------------------
   2 |     ARG GOXX_BASE
   3 |     ARG GOBUILDTYPE
   4 | >>> FROM node:latest as node-build
   5 |
   6 |     WORKDIR /base
--------------------
error: failed to solve: no match for platform in manifest sha256:ad3314b09371eb7f085c689ab2a3b00e41362cbc20e98bfaa27a9eaf78abd2a8: not found

I'm assuming this is because goxx is trying to select a node container matching the target platform? This issue is preventing the project from moving fully to goxx. I currently have to run yarn install && yarn build in another container and then build the CGO app using the already built node.js app.

Is this project dead?

=> ERROR [windows/amd64 internal] load metadata for docker.io/library/node:latest

node:latest does not support windows/amd64 platform yes. You have to enforce the build platform using the $BUILDPLATFORM arg from global scope as shown in https://github.com/crazy-max/goxx#usage.
But I don't see anything related to building a Go project. Also node:latest image does not have any Go runtime afaik.

Thanks for the fix. Current main works now. Awesome!


Navigation bar affected by cache

Hey!
I run into a problem while developing my app and I realize that it's also present in the demo.
The navigation bar doesn't work properly and the only thing that makes it work well in my app is to disable the cache on the Rails side: meta name="turbo-cache-control" content="no-cache"
Are you experiencing the same problem?
https://github.com/hotwired/turbo-ios/assets/17139786/497a5020-081f-4c94-bdea-a94ceb79f10a

I can reproduce the same issue but I don't think that disabling the cache is a viable solution. I'm more inclined to make the default navigation bar (in Turbo Navigator) always opaque. That way the web content never "slides under" it - exactly what happens on the first visit in your video.
let appearance = UINavigationBarAppearance()
appearance.configureWithOpaqueBackground()
UINavigationBar.appearance().standardAppearance = appearance
UINavigationBar.appearance().scrollEdgeAppearance = appearance
UINavigationBar.appearance().compactAppearance = appearance

@jayohms, we can definitely add this to the demo. But how do you feel about making it the default with Turbo Navigator? I'm inclined to do so - I've done it on 100% of the client apps I work on. But curious if I am missing something that perhaps HEY or Basecamp does.

Helloo, if this is cache related, is there another way to handle this issue ?
The same happens with largeTitles it will sometime not retract itself correctly, even when using the opaque background trick (which I would like to avoid if possible)


tests refactoring

Coverage increased (+0.6%) to 83.516% when pulling 672a749171ac06882316f3994123fd012ef5b1df on edr_handler_test into 5f5611a15a88964068a2280df30aac65c5013178 on add_bridge.

Coverage increased (+0.5%) to 83.394% when pulling 75cab0dde6a587460b0728b2bcaeb599227d8ce4 on edr_handler_test into 5f5611a15a88964068a2280df30aac65c5013178 on add_bridge.

Coverage increased (+0.4%) to 83.272% when pulling 949887923bf3dfdd9db9a58cf4490cce25eedcb5 on edr_handler_test into 5f5611a15a88964068a2280df30aac65c5013178 on add_bridge.

Coverage increased (+0.4%) to 83.272% when pulling 3e5d9fbcd6fc47676c4ec36c35e506830c6ab6b2 on edr_handler_test into 5f5611a15a88964068a2280df30aac65c5013178 on add_bridge.

Coverage increased (+1.1%) to 84.005% when pulling 5b86bda4f7f596644be2fc60b3c341145359e8ae on edr_handler_test into 5f5611a15a88964068a2280df30aac65c5013178 on add_bridge.

Coverage increased (+0.5%) to 84.005% when pulling 5a5701b5b0d5249fbb614f6b971871a0293b8e89 on edr_handler_test into de18cd6a9839cb5612902f695939e08b100f60ae on add_bridge.


Inappropriate generated docs for orderedImportsRule.ts

Bug Report
Missing space line in orderedImportsRule.ts between lines 42-43. That's why docs are incorrectly generated.
Screenshot

@egel did you mean to make this PR against palantir:master? https://github.com/egel/tslint/pull/1
@nchen63 note the difference in markdown syntax. Github flavored markdown is more forgiving; it lets you get away without that empty line preceding lists, but most markdown parsers are sensitive to it.

@adidahiya Yeah, I tried to make it against palantir:master because it was so simple. Actually for this I should clone palantir:master (not fork) then create branch, push code to the branch and then create request request, right?

it's simpler than that. if you just open up https://github.com/palantir/tslint, Github should prompt you with a yellow alert that lets you make a PR against master. https://github.com/egel/tslint/pull/1 is currently not against palantir:master; it's against the master branch on your fork.

@adidahiya Unfortunately for me, I don't any kind of option (yellow alert) right now. There is another way? :)

Here's the URL that will create the right PR: https://github.com/palantir/tslint/compare/master...egel:egel-patch-1?expand=1

I've done it. @adidahiya Thank you for the guide and advice.

Awesome, this was merged! 🎉


Missing kube->kms s2s policy

That specific s2s policy does not seem to be created by the module code itself.
On a fresh account:
again.","type":"Authentication"}
2023/11/30 15:45:51 Terraform apply |
2023/11/30 15:45:51 Terraform apply |   with module.roks_landing_zone.module.landing_zone.ibm_container_vpc_cluster.cluster["wxai-management-cluster"],
2023/11/30 15:45:51 Terraform apply |   on ../../cluster.tf line 34, in resource "ibm_container_vpc_cluster" "cluster":
2023/11/30 15:45:51 Terraform apply |   34: resource "ibm_container_vpc_cluster" "cluster" {
2023/11/30 15:45:51 Terraform apply |
2023/11/30 15:45:51 Terraform apply |
2023/11/30 15:45:51 Terraform apply | Error: Request failed with status code: 401, ServerErrorResponse: {"incidentID":"dc3c5793-4641-44a6-a2d8-699335dbf0f9","code":"E09c0","description":"Not authorized to access the Key Management Service. Create an IBM Cloud IAM authorization policy to give the source Kubernetes Service delegate access to the target Key Management Service, and try again.","type":"Authentication"}
2023/11/30 15:45:51 Terraform apply |
2023/11/30 15:45:51 Terraform apply |   with module.roks_landing_zone.module.landing_zone.ibm_container_vpc_cluster.cluster["wxai-workload-cluster"],
2023/11/30 15:45:51 Terraform apply |   on ../../cluster.tf line 34, in resource "ibm_container_vpc_cluster" "cluster":
2023/11/30 15:45:51 Terraform apply |   34: resource "ibm_container_vpc_cluster" "cluster" {
2023/11/30 15:45:51 Terraform apply |
2023/11/30 15:45:51 [1m[31mTerraform APPLY

@vburckhardt @Ak-sky This policy is supposed to be auto created when you provision a new cluster. It creates the following global auth policy:

So hence that is why we don't create it in our code.

PR merged, closing this.
Updated the comment in code here on why there is a need to create an s2s kube -> kms auth policy explicitly.


cvxopt type errors with cvxpy > 0.4.2

For almost the past year I have been using cvxpy-0.3.7 with Python 3.4 integrating the GLPK_MI solver with cvxpy via cvxopt. Today I updated Python to 3.5 and cvxpy to the current 0.4.5 using conda. I've gotten some interesting errors which seem to be related to the dropped cvxopt dependency from v0.4.2 -> 0.4.3.
When solving:
cvxpy-0.4.5 stack trace:
/Users/cmale/Downloads/PythonLibs/anaconda/envs/py35/lib/python3.5/site-packages/cvxpy/problems/problem.py in solve(self, *args, **kwargs)
    199             return func(self, *args, **kwargs)`
    200         else:
--> 201             return self._solve(*args, **kwargs)
    202
    203     @classmethod

/Users/cmale/Downloads/PythonLibs/anaconda/envs/py35/lib/python3.5/site-packages/cvxpy/problems/problem.py in _solve(self, solver, ignore_dcp, warm_start, verbose, parallel, **kwargs)
    325         else:
    326             results_dict = {s.STATUS: sym_data.presolve_status}
--> 327         self._update_problem_state(results_dict, sym_data, solver)
    328         return self.value
    329

/Users/cmale/Downloads/PythonLibs/anaconda/envs/py35/lib/python3.5/site-packages/cvxpy/problems/problem.py in _update_problem_state(self, results_dict, sym_data, solver)
    418         if results_dict[s.STATUS] in s.SOLUTION_PRESENT:
    419             self._save_values(results_dict[s.PRIMAL], self.variables(),
--> 420                               sym_data.var_offsets)
    421             # Not all solvers provide dual variables.
    422             if s.EQ_DUAL in results_dict:

/Users/cmale/Downloads/PythonLibs/anaconda/envs/py35/lib/python3.5/site-packages/cvxpy/problems/problem.py in _save_values(self, result_vec, objects, offset_map)
    525         if len(result_vec) > 0:
    526             # Cast to desired matrix type.
--> 527             result_vec = intf.DEFAULT_INTF.const_to_matrix(result_vec)
    528         for obj in objects:
    529             rows, cols = obj.size

/Users/cmale/Downloads/PythonLibs/anaconda/envs/py35/lib/python3.5/site-packages/cvxpy/interface/base_matrix_interface.py in new_converter(self, value, convert_scalars)
     45     def scalar_const(converter):
     46         def new_converter(self, value, convert_scalars=False):
---> 47             if not convert_scalars and cvxpy.interface.matrix_utilities.is_scalar(value):
     48                 return cvxpy.interface.matrix_utilities.scalar_value(value)
     49             else:

/Users/cmale/Downloads/PythonLibs/anaconda/envs/py35/lib/python3.5/site-packages/cvxpy/interface/matrix_utilities.py in is_scalar(constant)
    148
    149 def is_scalar(constant):
--> 150     return size(constant) == (1, 1)
    151
    152

/Users/cmale/Downloads/PythonLibs/anaconda/envs/py35/lib/python3.5/site-packages/cvxpy/interface/matrix_utilities.py in size(constant)
    136         return INTERFACES[sp.csc_matrix].size(constant)
    137     else:
--> 138         raise TypeError("%s is not a valid type for a Constant value." % type(constant))
    139
    140 # Is the constant a column vector?

TypeError: <class 'cvxopt.base.matrix'> is not a valid type for a Constant value.

I went back and set cvxpy to different versions until the error cleared and it is in fact between 0.4.2 and 0.4.3. Interestingly I got a different error setting to 0.4.3:
cvxpy-0.4.3 stack trace:
cvxpy/problems/solvers/glpk_mi_intf.py in solve(self, objective, constraints, cached_data, warm_start, verbose, solver_opts)
     97                                           data[s.B],
     98                                           set(data[s.INT_IDX]),
---> 99                                           set(data[s.BOOL_IDX]))
    100             results_dict = {}
    101             results_dict["status"] = results_tup[0]

TypeError: G must be a 'd' matrix

Ignoring the error from v0.4.3 it seems for 0.4.5 compatibility a transform of the returned results from the GLPK_MI interface is required. Any cvxopt structure needs to be converted.

I think I fixed this issue on the master branch, but I can't install GLPK to verify it. How did you install GLPK? My old instructions aren't working.

I install the latest glpk v4.60 and configured GLPK with the GNU MP bignum library but this is optional.
Uninstall cvxpy and cvxopt
Install cxopt with GLPK:
CVXOPT_BUILD_GLPK=1 CVXOPT_GLPK_LIB_DIR=/usr/local/lib CVXOPT_GLPK_INC_DIR=/usr/local/include pip install cvxopt
Install cvxpy. I've done this trying both with pip and conda

That doesn't work for me. I just get ImportError: libglpk.so.40: cannot open shared object file: No such file or directory. It seems like CVXOPT_GLPK_LIB_DIR isn't having the right effect. libglpk.so.40 is in /usr/local/lib.

When installing GLPK try running ldconfig:
./configure
make
make check
sudo make install
sudo ldconfig

Fix tested and confirmed.

This issue was closed but I still have same error, TypeError: <type 'cvxopt.base.matrix'> is not a valid type for a Constant value, when I multiply a matrix and a vector. The types of the matrix and the vector are <type 'cvxopt.base.matrix'> and <class 'cvxpy.atoms.affine.reshape.reshape'>, respectively. I also tried to convert the matrix to numpy's array and matrix but it didn't work.
I confirm my code is working with cvxpy<=0.4.2.
Here is the stack trace I got:
  File "/root/.pyenv/versions/2.7.13/lib/python2.7/site-packages/cvxpy/expressions/expression.py", line 44, in cast_op
    other = self.cast_to_const(other)
  File "/root/.pyenv/versions/2.7.13/lib/python2.7/site-packages/cvxpy/expressions/expression.py", line 246, in cast_to_const
    return expr if isinstance(expr, Expression) else cvxtypes.constant()(expr)
  File "/root/.pyenv/versions/2.7.13/lib/python2.7/site-packages/cvxpy/expressions/constants/constant.py", line 42, in __init__
    self._value = intf.DEFAULT_INTF.const_to_matrix(value)
  File "/root/.pyenv/versions/2.7.13/lib/python2.7/site-packages/cvxpy/interface/base_matrix_interface.py", line 48, innew_converter
    if not convert_scalars and cvxpy.interface.matrix_utilities.is_scalar(value):
  File "/root/.pyenv/versions/2.7.13/lib/python2.7/site-packages/cvxpy/interface/matrix_utilities.py", line 150, in is_scalar
    return size(constant) == (1, 1)
  File "/root/.pyenv/versions/2.7.13/lib/python2.7/site-packages/cvxpy/interface/matrix_utilities.py", line 138, in size
    raise TypeError("%s is not a valid type for a Constant value." % type(constant))
TypeError: <type 'cvxopt.base.matrix'> is not a valid type for a Constant value.

You cannot use CVXOPT matrices as constants. You can only use numpy ndarrays/matrices. Could you send me the code snippet where you get this error after converting the cvxopt matrix to a numpy ndarray?

I'm sorry. I find I forgot to cast one matrix to np.array, and my problem is now solved.
Thank you.


Port number should I specify for the  field

What port number should I specify for the <port> field in this command?

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

ID: fe84fb4b-3420-bc1e-6a1d-b64ecc56fc5e
Version Independent ID: f089767e-4613-d595-a0ee-0dab012724a1
Content: Install Windows Admin Center
Content Source: WindowsServerDocs/manage/windows-admin-center/deploy/install.md
Product: windows-server-threshold
GitHub Login: @nwashburn-ms
Microsoft Alias: niwashbu

I think it depends on which ports you have used and if you are comfortable using non-default ports. For myself, since I solely dedicate a VM to serve as a gateway, I used port 443 so I can easily access it via https://

Confirming - this value is arbitrary, it's up to you. You can use any port you wish, except port 80.
Port 443 is the default when you use the GUI installer, and makes it so that you don't have specify the port in the browser's address bar like @loozhengyuan mentioned above.


react-native 0.59 Some language wrapped texts are cut off on Android

React Native version:

  React Native Environment Info:
    System:
      OS: macOS 10.14.5
      CPU: (8) x64 Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz
      Memory: 550.93 MB / 16.00 GB
      Shell: 5.5.1 - /usr/local/bin/zsh
    Binaries:
      Node: 10.10.0 - /usr/local/bin/node
      Yarn: 1.9.4 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
      Android SDK:
        API Levels: 23, 25, 26, 27, 28
        Build Tools: 23.0.1, 27.0.3, 28.0.1, 28.0.3
        System Images: android-23 | Intel x86 Atom_64, android-23 | Google APIs Intel x86 Atom_64, android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom
    IDEs:
      Android Studio: 3.4 AI-183.6<IP_ADDRESS>22156
      Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.3 => 16.8.3
      react-native: 0.59.8 => 0.59.8

Steps To Reproduce

Add text component with wrapped text (Japanese or Chinese, not Enlgish).

This problem may be related to https://github.com/facebook/react-native/issues/24837. But happen not only RTL language.
After changing to target sdk 27, this problem is not happen.(https://github.com/facebook/react-native/issues/24837#issuecomment-492061717)

Snack, code example, or link to a repository:

https://snack.expo.io/@soh335/curious-beef-jerky
https://github.com/soh335/RNWrappedTextBug

see Duplicate of #25275

@linjson thank you ! I confirmed to fix this problem after applying your patch.
--- node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextShadowNode.java 2019-06-19 14:17:35.000000000 +0900
+++ node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextShadowNode.java.patched 2019-06-19 14:17:30.000000000 +0900
@@ -110,6 +110,9 @@ public class ReactTextShadowNode extends
               if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
                 builder.setJustificationMode(mJustificationMode);
               }
+              if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
+                  builder.setUseLineSpacingFromFallbacks(true);
+              }
               layout = builder.build();
             }

@@ -134,14 +137,18 @@ public class ReactTextShadowNode extends
                   new StaticLayout(
                       text, textPaint, (int) width, alignment, 1.f, 0.f, mIncludeFontPadding);
             } else {
-              layout =
+              StaticLayout.Builder builder =
                   StaticLayout.Builder.obtain(text, 0, text.length(), textPaint, (int) width)
                       .setAlignment(alignment)
                       .setLineSpacing(0.f, 1.f)
                       .setIncludePad(mIncludeFontPadding)
                       .setBreakStrategy(mTextBreakStrategy)
-                      .setHyphenationFrequency(Layout.HYPHENATION_FREQUENCY_NORMAL)
-                      .build();
+                      .setHyphenationFrequency(Layout.HYPHENATION_FREQUENCY_NORMAL);
+
+              if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
+                  builder.setUseLineSpacingFromFallbacks(true);
+              }
+              layout = builder.build();
             }
           }

confirm to fixed at 0.60.0


fix: CHANGELOG.md 공백 제거 및 convertQwertyToAlphabet 오타 수정

Overview

CHANGELOG.md 파일의 불필요한 공백을 제거 및 convertQwertyToAlphabet.ts 파일의 오타를 수정했습니다.

PR Checklist

[x] I read and included theses actions below

I have read the Contributing Guide
I have written documents and tests, if needed.

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

Project coverage is 99.66%. Comparing base (f3e9024) to head (44c5421).

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #249   +/-   ##
=======================================
  Coverage   99.66%   99.66%
=======================================
  Files          36       36
  Lines         601      601
  Branches      145      145
=======================================
  Hits          599      599
  Misses          2        2

되돌리고 오타만 수정했습니닷!


Spanish Translation of README.md

FIXES #3208 Spanish Translation needed

@prateekpandey14 Please review my PR

This changes not required, please pick the issue having Hacktoberfest label on it  and make a valid contribution. thanks


structlog should be optional

Same as in https://github.com/niteoweb/pyramid_heroku, usage of structlog should be optional so that people that do not use structlog can use pyramid_mixpanel.

Done in https://github.com/niteoweb/pyramid_mixpanel/commit/a56d61da3a2c10939124d0e1232747a858b84e80


Fixed Invalid Credentials Bug

Existing implementation completed task if xld_client.deployment_exists2(deployment_package) returned false.
This function will return false if Invalid credentials are passed to the xld_client. Checking the existence of the Environment (and throwing if it does not exist) ensures that the credentials are valid.

I've improved this in v3.2.3. I took another approach by using the throw_on_fail option.


[RFC]: Add @stdlib/array/base/first

Description
This RFC proposes adding support for returning the first element of an array-like object, with support for the accessor protocol.
first( [ 1, 2, 3 ] );
// returns 1

z = new Complex128Array( [ 1, 2, 3, 4 ] );
first( z );
// returns <Complex128>

Package: @stdlib/array/base/first
alias: first
Related Issues
None.
Questions
No.
Other
See @stdlib/array/base/last for an example of a similar package which supports the accessor protocol.
Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

Basically, I need to create a new feature file which return the first element from the array-like object. Right ?


Unable to load shared library 'libdl' or one of its dependencies

Hello, I tried the following code:
        private static string url = "https://www.learningcontainer.com/wp-content/uploads/2020/02/Kalimba.mp3";
        static void Main()
        {
            BufdioLib.InitializePortAudio();
            BufdioLib.InitializeFFmpeg();
            using IAudioPlayer player = new AudioPlayer();
            player.LoadAsync(url);
            player.Play();
            //player.Pause();
            //player.Stop();
            //player.Seek(TimeSpan.FromSeconds(2));
        }

But your package turns out to have a bug, it crashes when it cannot find the libdl library
/home/kirill/RiderProjects/TestEvents/bin/Debug/net6.0/TestEvents
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'libdl' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibdl: cannot open shared object file: No such file or directory
   at Bufdio.Interop.Libdl.dlopen(String fileName, Int32 flags)
   at Bufdio.Utilities.LibraryLoader..ctor(String libraryName)
   at Bufdio.BufdioLib.InitializePortAudio(String portAudioPath)
   at Program.ProgramNew.Main() in /home/kirill/RiderProjects/TestEvents/Program.cs:line 14

My distribution is ArchLinux and I decided to check if I have ffmpeg and portaudio installed, as it turns out I have
➜  ~ sudo pacman -Qs ffmpeg
[sudo] пароль для kirill:
local/ffmpeg 2:5.0-7
    Complete solution to record, convert and stream audio and video
local/ffmpeg4.4 4.4.1-5
    Complete solution to record, convert and stream audio and video
local/gst-libav 1.20.2-2
    Multimedia graph framework - libav plugin
➜  ~ sudo pacman -Qs portaudio
local/portaudio 1:19.7.0-1
    A free, cross-platform, open source, audio I/O library.
➜  ~

Then I went to Google and searched where libdl comes from, as it turns out it belongs to the package glibc, but I have this package installed
➜  ~ sudo pacman -Qs ffmpeg
[sudo] пароль для kirill:
local/ffmpeg 2:5.0-7
    Complete solution to record, convert and stream audio and video
local/ffmpeg4.4 4.4.1-5
    Complete solution to record, convert and stream audio and video
local/gst-libav 1.20.2-2
    Multimedia graph framework - libav plugin
➜  ~ sudo pacman -Qs portaudio
local/portaudio 1:19.7.0-1
    A free, cross-platform, open source, audio I/O library.
➜  ~ sudo pacman -Qs glibc
local/glibc 2.35-6
    GNU C Library
local/lib32-glibc 2.35-6
    GNU C Library (32-bit)
➜  ~

A search of the /usr/lib folder showed me that there are libraries in the system, but they have different names
➜  ~ find /usr/lib/libdl*
/usr/lib/libdl.a
/usr/lib/libdl.so.2

Of course, you could make a reference to /usr/lib/libdl.so.2 named /usr/lib/libdl.so, but this is not the solution to the problem, what should I do (or you?)

I decided to try to make a symbolic link to the file sudo ln -s /usr/lib/libdl.so.2 /usr/lib/libdl.so
However (as expected) PortAudio didn't like it :(
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_a52.c:1001:(_snd_pcm_a52_open) a52 is only for playback
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Unhandled exception. Bufdio.Exceptions.BufdioException: No loaded audio for playback.
   at Bufdio.Utilities.Ensure.That[TException](Boolean condition, String message)
   at Bufdio.Players.AudioPlayer.Play()
   at Program.ProgramNew.Main() in /home/kirill/RiderProjects/TestEvents/Program.cs:line 18

Process finished with exit code 137.

Hi @KirMozor
Unfortunately I don't own arch, could you please rename this line to libdl.so.2 and check if it works?
https://github.com/luthfiampas/Bufdio/blob/46a4c67bb5a15a15bfbe834d7c99ad0702cc10e5/src/Bufdio/Interop/Libdl.cs#L8
Also I'm not sure why PortAudio uses jack as the default output device when the jack server doesn't even start.

...
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
...

@KirMozor
Could you please try this branch fix/linux-native-methods? This will use libdl.so.2 in Linux.
Tested in Fedora and Debian.

Hello, I will try to rename the line in the source code that you said
About the arch.
There's a great thing called Distrobox, it lets you put any distribution through a docker container
About jack, I use Pipewire and maybe it started using jack instead of pulseaudio (the system has a package pipewire-jack, pipewire-pulse)

@KirMozor Could you please try this branch out (fix/linux-native-methods)? This will use libdl.so.2 in Linux. Tested in Fedora and Debian.

Result:

My libdl.so.2
libdl.so.2.zip

WHAT????
Your example on Avalonia works...

Yeah, but the url doesn't play :(
How to fix it?

Log:
/home/kirill/Tools/Bufdio/examples/BufdioAvalonia/bin/Debug/net6.0/BufdioAvalonia
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_a52.c:1001:(_snd_pcm_a52_open) a52 is only for playback
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

Sorry, I think this issue is related to ffmpeg, you can check if it works by playing local audio file first.
For example, we can't load this file (https://www.learningcontainer.com/wp-content/uploads/2020/02/Kalimba.mp3) because the transfer encoding is being chunked that makes duration of the audio file remains unknown until we get complete response.
Will take a deeper look, maybe tomorrow.

Sorry, I think this issue is related to ffmpeg, you can check if it works by playing local audio file first.
For example, we can't load this file (https://www.learningcontainer.com/wp-content/uploads/2020/02/Kalimba.mp3) because the transfer encoding is being chunked that makes duration of the audio file remains unknown until we get complete response.

I checked if the track by url and the local file through ffmpeg, and it plays
https://user-images.githubusercontent.com/68265324/173661425-cb1942f6-d094-4ed2-a7e6-6200ffb476d2.mp4

How to progress?

I had the same problem on the latest Fedora Linux Workstation.
I have a local fork where I use the NativeLibrary class from the .NET Core 3.1 (and later) standard library instead:
using System;
using System.Runtime.InteropServices;

namespace Bufdio.Utilities
 {
  internal sealed class LibraryLoader : IDisposable
  {
      private readonly IntPtr _handle;
      private bool _disposed;

      public LibraryLoader(string libraryName)
      {
          Ensure.NotNull(libraryName, nameof(libraryName));

          if (!NativeLibrary.TryLoad(libraryName, out _handle)) {
              throw new NotSupportedException("Platform is not supported.");

          }

          Ensure.That<Exception>(_handle != IntPtr.Zero, $"Could not load native libary: {libraryName}.");
      }

      public TDelegate LoadFunc<TDelegate>(string name)
      {
          IntPtr ptr = NativeLibrary.GetExport(_handle, name);
          Ensure.That<Exception>(ptr != IntPtr.Zero, $"Could not load function name: {name}.");

          return Marshal.GetDelegateForFunctionPointer<TDelegate>(ptr);
      }

      public void Dispose()
      {
          if (_disposed)
          {
              return;
          }
          NativeLibrary.Free(_handle);
          _disposed = true;
      }
  }
}

Source:
https://github.com/dotnet/corert/blob/master/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/NativeLibrary.cs
It fixes the issue. Maybe this class could be backported if targeting netstandard2.1 is still required ?

I could not find this fork on your GitHub page.
Can you provide me with the source code? I'd like to try and test a fix.

https://github.com/OpenRakis/Spice86/blob/fix/pcm/src/Bufdio/Utilities/LibraryLoader.cs

Sorry about the delay, here is the fix:
But it depends on .NET >= 6, not .NET Standard.
https://github.com/OpenRakis/Spice86/blob/f86f730c9b9728bd1dea5a30a1056a58fde46f5d/src/Bufdio.Spice86/Utilities/LibraryLoader.cs#L14


Small enhancements to services_dhcp_edit.php

added ndp call to get MAC addr if remote client is connected via IPv6
automatically hide Copy MAC button if arp/ndp returns null
switch to exec() instead of backticks for calls to arp

Pushed another change, adding the Copy DUID convenience button to System > Advanced > Networking.
Inspiration from @marjohn56 's patch https://github.com/pfsense/pfsense/commit/59a31862f9bdbcc000734d8914e52f4e88872e97 but I prefer this simpler method since it's already used elsewhere in pfSense.

Ah, wasn't aware of that but now I see it. I will study util.inc to learn what functions are available. Will submit a new patch shortly.

Sent updated PR https://github.com/pfsense/pfsense/pull/3489


Filled order delay only works if both sides of multi-level order book filled

Describe the bug
Filled order delay only works if all non-hanging levels of order book are filled for avellaneda market making strategy. I would expect the delay to occur after every fill of a non-hanging order. If this is not possible, please make this an optional parameter at least.
Steps To Reproduce
I've attached my config file. All I did was import and run the strat
...
Release version
1.8
Attachments
conf_avellaneda_market_making_eth1.zip
Attached is my config file

can you provide a log file?
the code seems ok:

on development 1.9.0
using config similar to user's config
bot didn't wait for filled order delay
log and config files:
issue5779.zip
logs_issue5779.log

Hi @hlian188 good day to you.
Please be advised that the current behavior that you have observed is the expected behavior for filled_order_delay parameter. It would not worked for multiple order filled events atm but instead you can create a thread on our Hummingbot forum so our community can have a look with your idea and create an feature request ticket
Closing ticket for now, Thank you


Update sitlogo.svg

Issue the logo for future SAP Inside Track 2020, Pune event. thanks!

I will not merge this as this logo is intended as a template. So change it locally and use it.

Hi Team,
Could you please help me with using the logo, I made the changes in the
template but not aware, how to download the same.
Please guide, thanks!
Regards,
Ujjwal Singh
7007098925
On Tue, Jun 9, 2020, 11:30 AM Gregor Wolf<EMAIL_ADDRESS>wrote:

I will not merge this as this logo is intended as a template. So change it
locally and use it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sapmentors/SITreg/pull/54#issuecomment-641048505, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AP4ODQSPP3NBEK4XBOB5V5DRVXFWBANCNFSM4NYWHEHQ
.

Go to https://github.com/sapmentors/SITreg/pull/54/commits/8ddaf1b445905eb9841eabc1badd4134c13c2fdf?short_path=aa11915#diff-aa1191501eb737644e4ccec43c9adbde and do a right click on the image.


build: switch to pnpm

I see a lot of projects doing the change, and I see why not.  I experience it to be a lot faster locally too.

Yeah. 😅  I felt this was a validation for a change. https://github.com/renovatebot/renovate/pull/23664


Hosted data provider for api-auth template

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 29.277%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
1328

Relevant Lines:
4536

💛  - Coveralls


Convert uses of operator clientset to controller Client

...except for network.Discover which is awaiting changes in submariner-operator.

There’s a namespace missing somewhere but I haven’t figured out where from reviewing the change.

There’s a namespace missing somewhere but I haven’t figured out where from reviewing the change.

yeah 👀


Adjust response chunk size

[x] I was not able to find an open or closed issue matching what I'm seeing.
[x] This is not a question. (Questions should be asked on chat (Signup here) or our forums.)

Apparently, despite stating in Swoole documentation that Swoole\Http\Response::write accepts up to 2M (2097152 bytes) of data, a WARNING	swServer_tcp_send (ERROR 1202): More than the output buffer size[2097152], please use the sendfile. warning will be raised when trying to write anything more than 2097142 bytes (note the difference between 2097152 and 2097142).
This happens regardless of response status code, headers, cookies and previously sent body fragments.
This isn't directly an issue with zend-expressive-swoole library, but this problem isn't neither handled by the library, or documented.
Code to reproduce the issue
<?php

use Zend\Diactoros\Response\TextResponse;
use Zend\Expressive\Swoole\SwooleEmitter;

require dirname(__DIR__) . '/vendor/autoload.php';

$server = new \Swoole\Http\Server('<IP_ADDRESS>', 8080);
$server->on('request', function ($request, $response) {
    $emitter = new SwooleEmitter($response);
    $emitter->emit(new TextResponse(str_repeat('a', 2 * 1024 * 1024)));
});
$server->start();

Expected results
curl http://localhost:8080/ returns a bunch of a's
Actual results
WARNING	swServer_tcp_send (ERROR 1202): More than the output buffer size[2097152], please use the sendfile.
Plus empty HTTP response.

$server->set([
    'buffer_output_size' => 32 * 1024 *1024, // bytes
])

If I understand it correctly you can set all server options like these in the configuration with:
'swoole-http-server' => [
    'options' => [
       'buffer_output_size' => 32 * 1024 *1024
    ]
]

Thank you @huangzhhui and @xtreamwayz , that works!
Just a note, setting buffer_output_size to anything below\Zend\Expressive\Swoole\SwooleEmitter::CHUNK_SIZE + 10 is still not enough to prevent swoole from throwing those warnings. I'm guessing this has to do with some additional bytes being written to the output buffer by Swoole\Http\Server here: https://github.com/swoole/swoole-src/blob/cc7a013b8761383befed70a3e999310a0306ea4e/swoole_http_server.cc#L1534
Given this workaround fixes an unexpected behavior which isn't directly related with this library, should any action be taken here?


Add missing definition for Enumerable#to_set

No signature.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build result here:
→ https://go/builds/bui_HOWXGhXax7BxPk


Question:IPV6

would it be possible to run the bind DNS server on a local machine say a raspberry pi.
Set certain dns entrys to point to a nginx reverse proxy (could be ran on a raspberry pi)
Set other DNS to points to a SNIproxy running on a VPS that only has IPV6 so the stuff that requires a full blown USA IP is proxies via the VPS that only has IPV6?
http://www.vps.me/ offer a free VPS with 10GB bandwith which would be ideal to have so that only stuff that can not be faked use the VPS.

the VPS is on a open-vz running an old kernel.
i might test with digital ocean.

Well, this is essentially what Dnsmasq does, check out this project.
-- ab1


chore(stats): replace all ::float by ::TEXT

I suggest to run tests locally before pushing to CI for easier development :)

I will close this PR. I will close this PR. since the float converts in rust side is different with pg side.
---- charts::counters::average_block_time::tests::update_average_block_time stdout ----
thread 'charts::counters::average_block_time::tests::update_average_block_time' panicked at stats/src/tests/simple_test.rs:368:5:
assertion failed: `(left == right)`

Diff < left / right > :
<802200.0833333334
>802200.083333333333

Diff < left / right > :
<802200.0833333334
>802200.083333333333

you could modify tests to account for the precision errors (basically paste new values if they are very close)


Wonder if you can help - give me some information.

First off - thanks for this great module.
I have a question: I have this module running at the bottom Center of my MagicMirror and the pictures are displayed the correct size. The moment I add another module (MMM-SolarEdge) anywhere on the screen - the pictures of MMM-ImageSlideshow gets reduces to barely visible. The moment I comment MMM-SolarEdge out, the pictures are normal size again.
Can you help, please?
Thanks

I have discovered that this module (sorry - there is not way to open an issue with this module's owner) has an img statement in it directory which looks like:
img {
width: 50px;
height: 50px;
display: inline;
}
This "img" affect the images to be displayed by MMM-ImageSlideshow.
And the size is the culprit. When I make this height/width bigger, the SolarEdge image is all over the place.
How to I set this so that it does not impact imageSlideShow images?
Thanks

Hi, I was browing looking for improvements to the original.
I did some work on in a Fork  of the module I created. It supports image scaling, which seemed to be missing from the original. I run two of the slide show modules, along with a google slide show image viewer.
You might find (or have found) the for I created addresses some of your issues.
https://github.com/OneOfTheInfiniteMonkeys/MMM-ImageSlideshow
Cheers


Update example commands in readme

@adamdecaf please, check updates.

Codecov Report

Merging #557 into master will increase coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #557      +/-   ##
==========================================
+ Coverage   54.02%   54.15%   +0.13%
==========================================
  Files         102      102
  Lines        3815     3815
==========================================
+ Hits         2061     2066       +5
+ Misses       1384     1382       -2
+ Partials      370      367       -3

Impacted Files
Coverage Δ

pkg/upload/sftp.go
69.10% <0.00%> (+2.61%)
:arrow_up:

Continue to review full report at Codecov.

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


[Comment if interested] Grib Indexes

Makes searching much faster

This is also a "nice to have" for us

Grib indexes IE dictionary<Key, value>?

We would love to have this feature! At the moment we are using the GribApi to convert files, map them on postal codes afterwards and save them to a database. If we could use indexes we maybe will not have to use the database anymore to access the data fast enough. In fact it would be awesome if we could just read them from flat files, because the grib2 format itself is really nice.

This issue was moved to GribApiDotNet/GribApi.NET#15


Inquiry on Release Timeline for Bug Fix #2554

Hello,
I noticed that the bug fix in #2554 was recently merged. I understand that the preferred channel for such inquiries is the "Something else? Message us on Discord :)" section, but I’ve been unable to join the Discord group.
This bug is significantly impacting my work, and I would greatly appreciate it if you could provide an estimated timeline for when the fix will be included in a new release on the Visual Studio Code Marketplace.
Thank you for your time and for all the hard work you do on this project!
Best regards!

Hi @bsnmldb , apologies for the delay here. Just merged that bugfix and will have a new pre-release out by end of day. The main release will be available by end of day Friday (Oct 25).

Thank you for response and update! Your hard work on this project is greatly appreciated!


feat(epic): 0.12.0 Plugin System and Internal Refactor

Summary of all changes in 0.12.0:

Adds comprehensive "Plugins" API, see the docs for more info on what all these can help accomplish
deletes previous types file before writing next (#252)

This helps VSCode pick up its changed version when types are updated

Adds shouldExitAfterGenerateArtifacts to makeSchema config

Makes it possible to exit after the types are generated, useful if you do not check a schema artifact into source control, but wish to generate before the code runs.

Plugins:

Add nullabilityGuardPlugin, to help provide fallback values when null is returned in a non-null field position. See the docs for more info.
Add fieldAuthorizePlugin. See the docs for more info

This is the same behavior as the (currently undocumented) behavior of having authorize on the field, but implemented more flexibly as a plugin. This will be automatically added if no plugins are specified, otherwise it will need to be imported & added to makeSchema alongside other plugins.

Breaking:

Bumps the default minimum peer-dependency version of graphql-js to 14.5.0

Nexus uses the new extensions property on types to store metadata provided to Nexus types, in order to make them usable by plugins.

Moves field level authorization to a Nexus plugin. This will automatically be enabled in the same way as the current behavior, so as to prevent breaking changes.
Removes nexusWrappedType

This was an internal implementation detail which should not affect end users

Removes t.modifyType API

This may not have ever worked, it was only intended to modify fields on an objectType which were originally implemented by an interface. Please open an issue if this is a breaking change for you, so we can understand the use-case and design a better API.

Additional

Improves code coverage, adds base threshold to new PRs
Warn on missing outputs in makeSchema config

Relates to #98

I noticed that nexus-prisma 0.5.0 is out as a nexus plugin. Does that mean this plugin system is ready to use now for, say, auth usage,  too?

Hey @beeplin, only the typedef aspect is pluggable right now. And it is very early. But yes available in the latest beta. The available part does not have middleware yet, so does not help with auth.

Getting back into work on this now.

I want to use the plugin system in conjunction with prisma 1 and nexus-prisma (the old one), since Prisma 2 and friends are currently not an option. nexus-prisma 0.3.8 does use nexusWrappedType however (see https://github.com/prisma-labs/nexus-prisma/issues/520).
Is there some easy way to migrate nexusWrappedType to a public API?


Plugin Dependencies

have you tested it? It doesn't work

I have tested it and it works for  both free and paid plugins

I have tested it and it works for both free and paid plugins though further testing is needed for paid plugins

Now it's working fine.
Just one thing left:
It should show the name of plugin which is installing in loader and also before installing the dependencies it's nice to show the user that it's going to install these plugins too.

I have tested it and it works for both free and paid plugins though further testing is needed for paid plugins

Now it's working fine. Just one thing left: It should show the name of plugin which is installing in loader and also before installing the dependencies it's nice to show the user that it's going to install these plugins too.

Sorry for the late response, was facing some issues irl.
I am deliberately either to show an alert for the dependencies that are going to be installed or a confirmation.
Something like
alert(
    "Installer Notice",
    "Acode is going to install the following dependencies
"
      + plugin.dependencies.join("
"),
    () => {
        // Resolve dependencies
    },
);

Or
const shouldInstall = await confirm(
    "Installer Notice",
    "Acode is going to install the following dependencies
"
      + plugin.dependencies.join("
"),
);

if (shouldInstall) {
    // Resolve dependencies
}

Use confirmation

Use confirmation

Ok 👍


Aave-v3 DSA position merge

Updated function transferATokens to merge two DSA Aave positions into single DSA (DSA_A and DSA_B has Aave position, and we need to merge DSA_A into DSA_B).

[ ] Testing
[ ] Deployment
[ ] Enable
[ ] Update SDK

Tests [ Polygon ]

Tests [ Arbitrum ]

Tests [ Avalanche ]

Deployed connector for Polygon
Name AAVE-V3-IMPORT-A
Addr 0x3827426F69eCf2BAB6F4227dD2C3eC3A2bb6fEC7
tx

Script Results:
Migrate DSA_A to DSA_B
DSA_A (before migration)

DSA_B (before migration)

DSA_A (after migration)

DSA_B (after migration)

Migrate DSA_B to DSA_A
DSA_A (after migration)

DSA_B (after migration)


Example of using cover tree?

Thanks for making this awesome library available!
I'm relatively new to haskell and slowly working through your code. Do you have an example you can share on how to use the Cover Tree for nearest neighbor? I wasn't able to find it in the Benchmark folder. No worries if it's not documented--any example code would be of help.
Cheers!

Here's a command line interface for doing nearest neighbor queries with the
cover tree:
https://github.com/mikeizbicki/HLearn/blob/master/executables/hlearn-allknn/Main.hs
On Fri, Dec 30, 2016 at 10:50 AM, tbenst<EMAIL_ADDRESS>wrote:

Thanks for making this awesome library available!
I'm relatively new to haskell and slowly working through your code. Do you
have an example you can share on how to use the Cover Tree for nearest
neighbor? I wasn't able to find it in the Benchmark folder. No worries if
it's not documented--any example code would be of help.
Cheers!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mikeizbicki/HLearn/issues/86, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABAP1siYElLizFDSQ_dStNqHPQ7v_wyBks5rNVKAgaJpZM4LYVcz
.


Update flyway-core to 7.14.1

Updates org.flywaydb:flyway-core from 7.8.2 to 7.14.1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.flywaydb", artifactId = "flyway-core" } ]

labels: library-update, semver-minor

Superseded by #176.


Add Consumable Dependency?

The lambda-selenium-java example provides a good starting point for creating a new project that can deploy and run UI tests in AWS Lambda. Should this be expanded to include a consumable maven dependency that helps existing projects begin using AWS Lambda?
This dependency might include reporting, deployment, and test execution methods to help facilitate migrating an existing project to use AWS Lambda for UI testing.

To add to this, the node example is also a great starting point for a new testing project, but can we offer a node module that allows existing projects to take advantage of AWS Lambda.


[solution] why so many separators in the spec ?

Hi,
I agree it is more the spec than the tool but today I need to use many different separators in a project.yml file.
We have ::, :, & and @
[Cvendor::] Cclass [&Cbundle] :Cgroup [:Csub] [&Cvariant] [@[>=]Cversion]
Is it really useful to have so many different separators ?
Is it to be able to deal with optional parts?
Wouldn't it be simpler to say that the separator is always here but only the content can be omitted ?
So, from the more complete:
<EMAIL_ADDRESS>To the less complete:
<EMAIL_ADDRESS>It may look a bit "not so nice" but we do not have to scratch our head to know which separator to choose.

Yes, nothing really serious here.
If this format helps for the parsing, I am fine with it.

Could we eliminate separators entirely from the specification?
Since we are already using a structured data format (YAML), each part of a compound field can be given a dedicated field and documented in the schema.
This would have multiple advantages:

The available data is more discoverable as there would be an obvious field representing it.
Some aspects of the description could be moved into the schema e.g. a segment could flagged as required or optional in the schema.
Regular expression can be simplified or eliminated.
It simplifies in-memory models so that the data needs only to be parsed once (in structured data compound fields require that the data is parsed twice, once to read into memory model and then again whenever the field is read to extract the semantic content).
Automatic validation tools based on the schema are more likely to detect issues.

+1 for @madchutney comment here. Please keep each field for a single purpose, with a single piece of data in each.

Could we eliminate separators entirely from the specification?
While I understand that this makes data handling in the tools easier, I don't view this a real problem.

We had the request to allow user editable project files and decided to express a component in one line. Today this is working fine, even when I accept some complexity in case of variants and bundles.
I suggest to close this issue.

Please do not close this just because the current prototype solution seems to work. The solution proposed here is poor and this is probably the one and only opportunity that we have to improve it.


Can't download VSCode from Russia

VSCode Version: Doesn't have any version yet
OS Version: Windows 10 /Fall Creators Update/

Steps to Reproduce:

Try to download VSCode https://az764295.vo.msecnd.net/stable/3aeede733d9a3098f7b4bdc1f66b63b0f48c1ef9/VSCodeSetup-x64-1.22.2.exe
Browser return empty page all day (proposes search via Bing)

IMHO:
Two weeks ago RKN (Roskomnadzor) started war with Telegram and blocked millions IP's, probably that is reason why I can't download VSCode.
Is anybody help me to download VSCode (x64 for win) from another server or send me via email. Thanks!

Baidu will save you trouble

Ok. Found the installer on the Softpedia.
Closed.


[PSM Interop] Enable custom LB in golang >= 1.56.x

Enables custom LB in golang >= 1.56.x (including master).
NOTE: this is a testing branch, the feature doesn't seem to work yet.

cc @zasweq

I merged the final PR for this and Weighted Round Robin: https://github.com/grpc/grpc-go/pull/6272. This should be good to merge so we can start to test:

This is ready to go once https://github.com/grpc/grpc-go/pull/6287 is merged.

Test runs:

[ ] grpc/go/master/branch/xds_k8s_lb
[ ] grpc/core/v1.55.x/branch/linux/grpc_xds_k8s_lb

Just realized custom_lb wasn't enabled in grpc/go/master/branch/xds_k8s_lb. My fault. Adding it: https://github.com/grpc/grpc-go/pull/6290

Re-running grpc/go/master/branch/xds_k8s_lb.

Test passed for the latest go master (https://github.com/grpc/grpc-go/commit/92e65c890c9abdc571d88d7dd885ff6c4ae9dd7b):
[       OK ] CustomLbTest.test_custom_lb_config

And, just in case, Outlier Detection passed too:
[       OK ] OutlierDetectionTest.test_outlier_detection


[CL]: Join-time tracker sumtree

Pulled from #3886
What is the purpose of the change

Note to reviewer: the majority of the file diff is updating wiring for sumtree usage (switching Int to Dec)

This PR implements a join-time tracker sumtree that dynamically updates as positions are changed in a given pool. This allows us to get the amount of liquidity that joined a pool before, at, or after a given join time, allowing us to incentivize uptime.
Once we finalize our process for reward calculation post-#3894 & decide on whether we want to support multiple uptime tiers per incentive token, we can add a second sum to our sumtree to track accumulated rewards.
Brief Changelog

Change sumtree to accumulate sdk.Dec instead of sdk.Int
Populate a sumtree tracking position join times for each pool every time a position is updated
Thoroughly fuzz test new sumtree logic

Testing and Verifying
All of the new logic is heavily tested in position_test.go (both by expanding existing tests & adding new robust fuzz tests)
Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? (no)
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? (no)
How is the feature or change documented? (not documented)

Thanks for the comments all – I just realized that this sumtree logic needs another layer to track tick range for joins for it to be useful for incentives, so converting this to a draft while I flesh out what needs to be done on that front


pinmux: stm32: port remaining pinctrl DT serial definitions for STM32 based boards

Is your enhancement proposal related to a problem? Please describe.
The new pinmux configuration method introduced in #25996 means all of the STM32 based boards need to be updated to the new method.
For this we need to remove the USART/LPUART/UART definitions from pinmux.c file and add the corresponding pinctrl nodes to the boards' device tree.
Describe the solution you'd like
An ideal solution would be a script that executes the change automatically. Else we'll have to do it by and.
Difficult parts are to identify the correct pinctrl dtsi to use and then extracting the pin configuration from current pinmux.c.
Describe alternatives you've considered
For now, I have made a script that identifies every stm32 based boards and if it has defined pinmux for lpuart/uart/usart DT nodes. In which case, we'll need to update them manually.
Here is the script:
#!/bin/bash

pinmuxes=`find boards/arm/ -name "pinmux.c"`

#use Perl regex here to match with grep
#match for specific STM32 pinmux header, only used
#with ST based boards
match_stm32_pinmux="pinmux/stm32/pinmux_stm32.h"
match_peripheral_mux="(lp)*u(s)*art\d+"

for pinmux in $pinmuxes; do

	is_stm32_pinmux=`cat $pinmux | grep -cP $match_stm32_pinmux`
	if [ $is_stm32_pinmux -eq 0 ]
	then
		continue
	fi

	periph_mux_count=`cat $pinmux | grep -cP $match_peripheral_mux`
	periph_matches=`cat $pinmux | grep -oP $match_peripheral_mux`
	if [ $periph_mux_count -ne 0 ]
	then
		board=`dirname $pinmux`
		echo $board : $periph_matches
	fi
done

To this date, here are the boards that still need to upgrade to the new paradigm:
* boards/arm/nucleo_f302r8 : usart1 usart2 usart3
* boards/arm/nucleo_l552ze_q : lpuart1
* boards/arm/stm32f746g_disco : usart1 usart6
* boards/arm/stm32f723e_disco : usart2 usart6
* boards/arm/nucleo_f756zg : usart2 usart3 usart6
* boards/arm/nucleo_f334r8 : usart1 usart2 usart3
* boards/arm/black_f407zg_pro : usart1 usart2
* boards/arm/nucleo_f091rc : usart1 usart2
* boards/arm/dragino_lsn50 : usart1 usart2
* boards/arm/olimexino_stm32 : usart1 usart2 usart3
* boards/arm/stm32vl_disco : usart1 usart2 usart3
* boards/arm/96b_stm32_sensor_mez : usart1 usart2 usart3 uart4
* boards/arm/nucleo_f401re : usart1 usart2
* boards/arm/google_kukui : usart1
* boards/arm/nucleo_l4r5zi : usart1 lpuart1 usart2 usart3
* boards/arm/nucleo_f767zi : usart2 usart3 usart6
* boards/arm/nucleo_f413zh : usart3 usart6
* boards/arm/nucleo_g431rb : usart1 lpuart1
* boards/arm/nucleo_l073rz : usart1 usart2
* boards/arm/stm32f411e_disco : usart2
* boards/arm/stm32l476g_disco : usart2
* boards/arm/waveshare_open103z : usart1 usart2
* boards/arm/olimex_stm32_h407 : usart2 usart3 usart6
* boards/arm/nucleo_f207zg : usart3 usart6
* boards/arm/stm32f072_eval : usart2
* boards/arm/stm32l496g_disco : usart1 usart2 lpuart1
* boards/arm/black_f407ve : usart1 usart2
* boards/arm/96b_neonkey : usart1
* boards/arm/nucleo_l053r8 : usart1 usart2
* boards/arm/96b_aerocore2 : usart1 usart2 usart3 uart7 uart8
* boards/arm/nucleo_f070rb : usart1 usart2
* boards/arm/nucleo_h745zi_q : usart3 uart8
* boards/arm/stm32_min_dev : usart1 usart2 usart3
* boards/arm/stm32f030_demo : usart1
* boards/arm/stm32f429i_disc1 : usart1 usart2
* boards/arm/olimex_stm32_p405 : usart2
* boards/arm/stm32f412g_disco : usart2
* boards/arm/stm32f072b_disco : usart1
* boards/arm/olimex_stm32_h103 : usart1 usart2 usart3
* boards/arm/nucleo_g474re : usart1 lpuart1
* boards/arm/96b_wistrio : usart1 usart2
* boards/arm/stm3210c_eval : usart2
* boards/arm/stm32h747i_disco : usart1 uart8
* boards/arm/nucleo_l452re : usart1 usart2
* boards/arm/nucleo_l476rg : usart1 usart2 usart3
* boards/arm/blackpill_f411ce : usart1
* boards/arm/disco_l475_iot1 : uart4
* boards/arm/nucleo_f746zg : usart2 usart3 usart6
* boards/arm/nucleo_g071rb : usart2
* boards/arm/nucleo_f103rb : usart1 usart3
* boards/arm/stm32f4_disco : usart1 usart2
* boards/arm/96b_argonkey : usart1
* boards/arm/b_l4s5i_iot01a : usart1 uart4
* boards/arm/sensortile_box : usart1 usart2
* boards/arm/stm32f3_disco : usart1 usart2
* boards/arm/stm32f769i_disco : usart1 usart6
* boards/arm/stm32f469i_disco : usart3 usart6
* boards/arm/b_l072z_lrwan1 : usart1 usart2
* boards/arm/stm32f0_disco : usart1 usart2
* boards/arm/stm32l1_disco : usart1 usart2 usart3
* boards/arm/mikroe_mini_m4_for_stm32 : usart2
* boards/arm/stm32mp157c_dk2 : usart3 uart7
* boards/arm/steval_fcu001v1 : usart1
* boards/arm/nucleo_f030r8 : usart1 usart2
* boards/arm/stm32373c_eval : usart2
* boards/arm/adafruit_feather_stm32f405 : usart3
* boards/arm/nucleo_f429zi : usart3 usart6
* boards/arm/96b_avenger96 : uart4 uart7
* boards/arm/olimex_stm32_e407 : usart1 usart3 usart6
* boards/arm/stm32g0316_disco : usart1 usart1
* boards/arm/nucleo_f412zg : usart3 usart6
* boards/arm/nucleo_wb55rg : usart1 lpuart1
* boards/arm/nucleo_f446re : usart1 usart2
* boards/arm/nucleo_l496zg : usart2 lpuart1
* boards/arm/nucleo_f303re : usart2
* boards/arm/96b_carbon : usart1 usart2 usart6
* boards/arm/nucleo_l152re : usart2
* boards/arm/nucleo_l432kc : usart1 usart2
*boards/arm/nucleo_f411re : usart1 usart2

'*' PR providing new configuration is ready for these boards
#28851 should bring support for nucleo_l432kc
#28954 ports all of the remaining boards
#28940 brings support for nucleo_h745zi_q

@erwango @gmarull Looks like we have some job to do to port all of these boards. I can help you of course for review and porting.

@lochej Thanks for you help and interest. And besides serial and PWM, I'd like all the existing peripheral drivers (not only serial) to be converted so pinmux.c files could be removed before V2.5.0 code freeze (next January).
Before starting this task myself, I was letting some time to see if there was some activity on on community to help. But for now, aside from you 2, this is calm....

@lochej Thanks for you help and interest. And besides serial and PWM, I'd like all the existing peripheral drivers (not only serial) to be converted so pinmux.c files could be removed before V2.5.0 code freeze (next January).

Agreed, that would be great ! USART and PWM are almost done.
That leaves, I2C, SPI, ADC, DAC, CAN, USB, SDIO and ETH to be done.

Before starting this task myself, I was letting some time to see if there was some activity on on community to help. But for now, aside from you 2, this is calm....

True, seeing the amount of work remaining, some help would help a lot.

I think #28858 will help on introducing a substantial amount of pinctrl includes, a work that only needs to be done once per board. It is the most tedious part IMO. We can probably can come up with a script to semi-automate the rest, even though I have found some small problems when porting PWM (missing or wrong entries), so manual inspection will be required.

@erwango @lochej From my side until the end of the week I will bring my board nucleo_h745zi_q to pinctrl approach and remove pinmux.c. I will also intensively test each my PR on this way. Currently only u(s)art part is moved to pinctrl. In the next PR the whole board will be moved to it.
P.S. ST just provides too much dev boards 🥇 ;)

@erwango @lochej From my side until the end of the week I will bring my board nucleo_h745zi_q to pinctrl approach and remove pinmux.c. I will also intensively test each my PR on this way. Currently only u(s)art part is moved to pinctrl. In the next PR the whole board will be moved to it.
P.S. ST just provides too much dev boards 🥇 ;)

Great to hear ! I've ported the rest of the ST based boards to the pinctrl DT definitions. For now, only PWM and SERIAL are ready for pinctrl DT.
But once I2C/SPI and stuff get ported (the driver code is the base so that dt-binding are found) then we'll be able to port all other boards to it.
Though I don't know if we should wait until all drivers have been ported to DT and then do a full upgrade of each board to the new DT method or else we do like I did, one peripheral at a time. (that's time consuming 😂, having done it for serial already)
The first way takes time but is more gradual and could have enough time to test each module, but the second might be faster but risky in case of a bugs.

Great to hear ! I've ported the rest of the ST based boards to the pinctrl DT definitions. For now, only PWM and SERIAL are ready for pinctrl DT.
But once I2C/SPI and stuff get ported (the driver code is the base so that dt-binding are found) then we'll be able to port all other boards to it.
Though I don't know if we should wait until all drivers have been ported to DT and then do a full upgrade of each board to the new DT method or else we do like I did, one peripheral at a time. (that's time consuming 😂, having done it for serial already)
The first way takes time but is more gradual and could have enough time to test each module, but the second might be faster but risky in case of a bugs.

I was wondering if we can convert the dts's over and use the defines in pinmux.c until the drivers are changed to support DTS.

I was wondering if we can convert the dts's over and use the defines in pinmux.c until the drivers are changed to support DTS.

That might actually be possible, but we need to provide the dts-bindings for each peripheral right ?

That might actually be possible, but we need to provide the dts-bindings for each peripheral right ?

The binding on the peripheral side is just:
    pinctrl-0:
      type: phandles
      required: false
...

Would be good to add proper description.

Looks like the rough list of devices is:

UART/LPUART/USART
PWM
I2C
ETH
SPI
CAN
ADC
USB/OTG
DAC
I2S
SDMMC

if we can convert the dts's over and use the defines in pinmux.c u

I'm not quite in favor of this approach. Converting is one thing, but testing and reviewing is also required.
Having small PRs is indeed more tracking effort but easier to review.


Add golangci github actions

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

Project coverage is 99.99%. Comparing base (577e8c4) to head (c495ee8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1478   +/-   ##
=======================================
  Coverage   99.99%   99.99%
=======================================
  Files         322      322
  Lines       23406    23406
=======================================
  Hits        23404    23404
  Misses          1        1
  Partials        1        1

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

Hi @alex-semenyuk, thanks for opening this.
Golangci already runs as a part of the existing make build job here: https://github.com/hyperledger/firefly/blob/577e8c47680c6230209a74829921a9c427766af8/Makefile#L15-L16
Is there something that this is not catching that you are trying to fix?

@nguyer Thanks for pointing, then it's suspicious that it doesn't detect all  https://github.com/hyperledger/firefly/actions/runs/8213258671/job/22464445082


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v3.9 to before v4.9.292",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7f9664525f9cb507de9198a395a111371413f230",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b4f217d6fcc00c3fdc0921a7691f30be7490b073"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "7f9664525f9cb507de9198a395a111371413f230",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "b4f217d6fcc00c3fdc0921a7691f30be7490b073",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "net: qlogic: qlcnic: Fix a NULL pointer dereference in qlcnic_83xx_add_rings()\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.9.292 by commit b4f217d6fcc00c3fdc0921a7691f30be7490b073, it was introduced in version v3.9 by commit 7f9664525f9cb507de9198a395a111371413f230. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002377


cache file checksum for apks

Avoid calculating the checksum for apks on every reboot. make eon boot faster

How much does it save of the boot time?
Adding this code also adds complexity, especially if we have to debug any installation issues in the future. The boot time savings need to be quite significant to be worth the complexity.

yes you r right. I just finished the test.it's only save 0.1 second :smile:
before:
[0.5840582809996704, 0.5710070309996809, 0.5750553640000362, 0.5740222910003467, 0.5575822389996574]
after:
[0.45924635399978797, 0.4641881249999642, 0.4534554169999865, 0.5125296870000966, 0.4449574999998731]


How to handle my own exceptions?

Describe the problem
I want to be able to handle erros raised inside my python functions which are exposed with eel.expose. However, it seems that all the exceptions are handled somewhere inside the library.
Code snippet(s)
import eel

# This gets called from JS
@eel.expose
def will_raise():
    ...
    raise Exception()

try:
    eel.start("index.html")
except:
    # This is never called
    ...

Console output:
Traceback (most recent call last):
  File "src/gevent/greenlet.py", line 766, in gevent._greenlet.Greenlet.run
  File "/Users/ss/.pyenv/versions/3.6.5/lib/python3.6/site-packages/eel/__init__.py", line 257, in _process_message
    return_val = _exposed_functions[message['name']](*message['args'])
  File "/Users/ss/Desktop/DekaImageObfuscator/main.py", line 56, in wrapper_decorator
    value = func(*args, **kwargs)
  File "/Users/ss/Desktop/DekaImageObfuscator/main.py", line 290, in progress_screen_did_load
    obfuscated_image = obfuscator.obfuscate(chosen_image_path)
  File "/Users/ss/Desktop/DekaImageObfuscator/image_obfuscation.py", line 95, in obfuscate
    image = PilImage.open(image_or_path)
  File "/Users/ss/.pyenv/versions/3.6.5/lib/python3.6/site-packages/PIL/Image.py", line 2862, in open
    "cannot identify image file %r" % (filename if filename else fp)
PIL.UnidentifiedImageError: cannot identify image file '/Users/ss/Desktop/fake image.png'
2020-03-27T14:31:34Z <Greenlet at 0x10a427048: _process_message({'call': 1.7448135464592813, 'name': 'progress_scr, <geventwebsocket.websocket.WebSocket object at 0x1)> failed with UnidentifiedImageError

Desktop:

OS: Mac OS
Browser: Chrome
Version: 80.0.3987.149 (Official Build) (64-bit)

There's not really any way to do this in the current version, you have to catch it yourself inside the exposed function.
In future it would be good to come up with a better solution for Exceptions. It's not an easy problem to solve, due to the threading you would have to pass the exception across threads and re-raise it. It's doubly complicated because the logical call stack actually starts in JS.

One laborous way (which i usually do) would be what @ChrisKnott suggests
@eel.expose
def func1():
    retval = {'result': True, errmsg: 'Success', 'errcode': 200, 'data': {}}
    try:
       # Do something awesome here
       # Set Return Val
       retval['result'] = True
       retval['code'] = 200  # Set this according to http standards or use your own custom defined codes
       retva['data'] = {'someParam': return_data}
    except Exception as e:
       retval['result'] = False
       retval['errcode'] = somecode
       retval['errmsg'] = str(e)
    finally:
	return retval

def start_app():
    # Start the server
    try:
        BASEDIR = os.path.dirname(os.path.abspath(__file__))
        web_dir = BASEDIR
        start_html_page = 'index.html'
        eel.init(web_dir)
        logging.info("App Started")

        eel.start(start_html_page, port=0)
    except Exception as e:
        # TODO: Bring out a tkinter popup saying, server could not be laucnhed
        err_msg = 'Could not launch a local server'
        logging.error('{}\n{}'.format(err_msg, e.args))
        logging.info('Closing App')

if __name__ == '__main__':
    start_app()

Obviously you can generalise a lot here. Write a handle exception function and decorate all your exposed functions with that.
P.S. I don't think decorators work in eel.

Thank you very much! I'll look into the provided example.

[Running] python -u "e:\New folder\jarvis\main.py"
listening....
recognizing
user said:play JavaScript tutorial in YouTube
play javascript tutorial in youtube
Traceback (most recent call last):
File "C:\Users\MANI\AppData\Roaming\Python\Python312\site-packages\eel_init_.py", line 318, in _process_message
return_val = _exposed_functionsmessage['name']
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "e:\New folder\jarvis\engine\command.py", line 55, in allCommands
PlayYoutube(query)
File "e:\New folder\jarvis\engine\features.py", line 32, in PlayYoutube
speak("Playing "+search_term+" on YouTube")
^~
TypeError: can only concatenate str (not "NoneType") to str


Improve messages

Pull Request Test Coverage Report for Build 221

2 of 3 (66.67%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 74.188%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

linters/linter.py
0
1
0.0%

Totals

Change from base Build 219:
0.0%

Covered Lines:
4817

Relevant Lines:
6493

💛  - Coveralls


sre_constants.error: bad escape \p at position 2

Hello,
With python3.6, newspaper fails in the following manner:
 File "/home/vagrant/code/ProjectX/app/services/tasks/details.py", line 2, in <module>
    from newspaper import Article, ArticleException
  File "/home/vagrant/.pyenv/versions/ProjectX/lib/python3.6/site-packages/newspaper/__init__.py", line 10, in <module>
    from .article import Article, ArticleException
  File "/home/vagrant/.pyenv/versions/ProjectX/lib/python3.6/site-packages/newspaper/article.py", line 13, in <module>
    from . import network
  File "/home/vagrant/.pyenv/versions/ProjectX/lib/python3.6/site-packages/newspaper/network.py", line 14, in <module>
    from .configuration import Configuration
  File "/home/vagrant/.pyenv/versions/ProjectX/lib/python3.6/site-packages/newspaper/configuration.py", line 15, in <module>
    from .parsers import Parser
  File "/home/vagrant/.pyenv/versions/ProjectX/lib/python3.6/site-packages/newspaper/parsers.py", line 19, in <module>
    from . import text
  File "/home/vagrant/.pyenv/versions/ProjectX/lib/python3.6/site-packages/newspaper/text.py", line 59, in <module>
    class StopWords(object):
  File "/home/vagrant/.pyenv/versions/ProjectX/lib/python3.6/site-packages/newspaper/text.py", line 62, in StopWords
    "[^\\p{Ll}\\p{Lu}\\p{Lt}\\p{Lo}\\p{Nd}\\p{Pc}\\s]")
  File "/home/vagrant/.pyenv/versions/3.6.2/lib/python3.6/re.py", line 233, in compile
    return _compile(pattern, flags)
  File "/home/vagrant/.pyenv/versions/3.6.2/lib/python3.6/re.py", line 301, in _compile
    p = sre_compile.compile(pattern, flags)
  File "/home/vagrant/.pyenv/versions/3.6.2/lib/python3.6/sre_compile.py", line 562, in compile
    p = sre_parse.parse(p, flags)
  File "/home/vagrant/.pyenv/versions/3.6.2/lib/python3.6/sre_parse.py", line 855, in parse
    p = _parse_sub(source, pattern, flags & SRE_FLAG_VERBOSE, 0)
  File "/home/vagrant/.pyenv/versions/3.6.2/lib/python3.6/sre_parse.py", line 416, in _parse_sub
    not nested and not items))
  File "/home/vagrant/.pyenv/versions/3.6.2/lib/python3.6/sre_parse.py", line 527, in _parse
    code1 = _class_escape(source, this)
  File "/home/vagrant/.pyenv/versions/3.6.2/lib/python3.6/sre_parse.py", line 336, in _class_escape
    raise source.error('bad escape %s' % escape, len(escape))
sre_constants.error: bad escape \p at position 2

Please advise.
Thank you

Just tried to install the latest version. Seems to be working

HI
I am facing the same problem with below error
when i am loading the model from my local path
spacy.load(os.path.join(custom_model,modeltype,prefix))
not nested and not items))
File "/product/icml/venv/lib/python3.6/sre_parse.py", line 527, in _parse
code1 = _class_escape(source, this)
File "/product/icml/venv/lib/python3.6/sre_parse.py", line 336, in _class_escape
raise source.error('bad escape %s' % escape, len(escape))
sre_constants.error: bad escape \p at position 275
using python version:-3.6.7
@rakanalh : can u pls guide me what has to be install latest vesrion
Thanks for the response

HI @rakanalh ,
I am facing the same problem with below error
when i am loading the model from my local path
spacy.load(os.path.join(custom_model,modeltype,prefix))
and path is correct with correct format
File "/product/icml/venv/lib/python3.6/sre_parse.py", line 527, in _parse
code1 = _class_escape(source, this)
File "/product/icml/venv/lib/python3.6/sre_parse.py", line 336, in _class_escape
raise source.error('bad escape %s' % escape, len(escape))
sre_constants.error: bad escape \p at position 275
using python version:-3.6.7
@rakanalh : can u pls guide me what has to be install latest vesrion
Thanks for the response


Add Benching

[x] Research high quality bench marking code that we can use
[x] Bench old vtcomposite code vs new vtcomposite code

We've set this up! Now we're tracking which use cases to bench over at #13


Re-structure file and directory hierarchy in tutorials

Since the discussion in https://github.com/NBISweden/NBIS-support-framework/issues/18 I thought we might think about changing some of the way we use file structure in the course at the moment. Given the final consensus (https://github.com/NBISweden/NBIS-support-framework/issues/18#issuecomment-1750455818) we can see how this differs in some cases from how we do it at the moment. Of course, that structure is just a baseline coming from the context of an NBIS support project, but I think the general discussion touched on a lot of good points regarding directory hierarchy and structure. I did add an example of this project structure along the others we show in the lecture already.
For example the Container tutorial we are currently using code/, data/, intermediate and results/. Given the previous discussion this could be changed to remove intermediate/ as well as the raw_external/raw_internal division.
I haven't gone through the rest of the course yet, because I wanted to have a discussion about the proposed change first. Thoughts, @johnne ?

This sounds like a good idea. I had a look at the example you added to the lecture, do you suggest we keep both the first and second examples in the lecture? I guess the first should point to the support framework since it matches the main branch after the update?


Update README.md

Fixes Issue #37
Adjusted lines 155 and 156 so they do not throw errors when attempting to run on MacOS install.

Fix typo error in README.md
Contributor: @jamescochran


Fix pinning of Microsoft.AspNetCore.Server.Testing

Microsoft.AspNetCore.Server.Testing got mis-pinned in the master pinning. The released package was rolled back to 0.1.0 but ended up getting pinned at 1.0.0. This will mess with our ability to rebuild master, so we should remedy this.
NOTE: This is a PR to master, so it is changing our 1.0.0 release code. The change is not relevant to dev because the package has been renamed.
/cc @pranavkm @Eilon

:shipit:
Could you also update the 1.0.0 tag in this repo?

After merging, I'll do that. I do want @Eilon to see and approve this before I merge just to be sure it gets seen. There's no functional code change here, it's just a change to make sure we can build things properly in this branch moving forwards.

Travis failure is because of the OpenSSL issue. We need to do a batch-update of our master travis.yml files to fix this, so I'm going to suggest holding off on that.

:shipit:

1.0.0 tag updated.


wsl.exe always returns 0 exit code

Bug description

Regardless of the exit code of the command that runs inside WSL, the wsl.exe binary always returns an exit code of 0
To Reproduce
Steps to reproduce the behavior:
Run
wsl.exe -d NixOS false
echo $LASTEXITCODE

Expected behavior

$LASTEXITCODE should be 1
Logs
PS C:\Users\nzbr> wsl -d NixOS false

PS C:\Users\nzbr> echo $LASTEXITCODE
0
PS C:\Users\nzbr> wsl -d Ubuntu false
PS C:\Users\nzbr> echo $LASTEXITCODE
1
PS C:\Users\nzbr>

I verified that it works with Ubuntu, so this is most likely a problem with syschdemd. I haven't tested with the new native systemd feature yet, but I expect that to work

Apparently, we need to switch back to systemd-run instead of machinectl in order to get this to work
https://github.com/systemd/systemd/issues/4215


Usage of area_shape_entered

Godot version:
3.2 beta
Issue description:
I wanted to use area_shape_entered from Area2D, but had hard time figuring out how to use area_shape and self_shape to get their respective nodes. After some trying and Discording turns out that you need to do shape_owner_get_owner(shape_find_owner(self_shape)). It should be mentioned somewhere in Area2D's documentation (and Area too).

Can I work on that ?

@KoBeWi
The methods shape_find_owner and shape_owner_get_owner are part of the CollisionObject2D class, which Area2D inherits. Similarly, Area inherits CollisionObject. Maybe Area and Area2D docs should state that they inherit said methods. Would that be an appropriate fix?

No, there should be an usage example in the docs. Simply mentioning the methods is not enough.
Just include my code snipped, saying this is how you can get the shape.