Dock version works only <= dromni/nerfstudio:0.1.16

Hey
I have reported at Discord, maybe someone else has similar issues.
dromni/nerfstudio:0.1.16 of Docker works for me, and the version since this won't work(>=0.1.17, already checked ONE-by-ONE).
I am NOT sure whether I have missed some official statements about breaking changes or something else.
Pls help!
Pull: docker pull dromni/nerfstudio:0.2.1
After run docker run --gpus all -v /home/ubuntu/work/nerfswork:/workspace/  -p 7008:7008 --rm  -it --shm-size=20gb dromni/nerfstudio:0.2.1
Get error:
❌ Completion script generation failed: ['ns-train', '--tyro-print-completion', 'bash']        install.py:110
           /home/user/.local/lib/python3.10/site-packages/torch/cuda/__init__.py:88: UserWarning: CUDA    install.py:114
           initialization: Unexpected error from cudaGetDeviceCount(). Did you run some cuda functions
           before calling NumCudaDevices() that might have already set an error? Error 804: forward
           compatibility was attempted on non supported HW (Triggered internally at
           ../c10/cuda/CUDAFunctions.cpp:109.)
             return torch._C._cuda_getDeviceCount() > 0
           Traceback (most recent call last):
             File "/home/user/.local/bin/ns-train", line 5, in <module>
               from scripts.train import entrypoint
             File "/home/user/nerfstudio/scripts/train.py", line 49, in <module>
               from nerfstudio.configs.method_configs import AnnotatedBaseConfigUnion
             File "/home/user/nerfstudio/nerfstudio/configs/method_configs.py", line 51, in <module>
               from nerfstudio.field_components.temporal_distortions import TemporalDistortionKind
             File "/home/user/nerfstudio/nerfstudio/field_components/__init__.py", line 17, in <module>
               from .encodings import Encoding, ScalingAndOffset
             File "/home/user/nerfstudio/nerfstudio/field_components/encodings.py", line 35, in <module>
               import tinycudann as tcnn
             File "/home/user/.local/lib/python3.10/site-packages/tinycudann/__init__.py", line 9, in
           <module>
               from tinycudann.modules import free_temporary_memory, NetworkWithInputEncoding, Network,
           Encoding
             File "/home/user/.local/lib/python3.10/site-packages/tinycudann/modules.py", line 18, in
           <module>
               raise EnvironmentError("Unknown compute capability. Ensure PyTorch with CUDA support is
           installed.")
           OSError: Unknown compute capability. Ensure PyTorch with CUDA support is installed.

My Nvidia
Fri Apr 21 10:56:00 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.65.01    Driver Version: 515.65.01    CUDA Version: 11.7     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA TITAN RTX    Off  | 00000000:08:00.0 Off |                  N/A |
| 41%   27C    P8     1W / 280W |   7244MiB / 24576MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   1  NVIDIA TITAN RTX    Off  | 00000000:09:00.0 Off |                  N/A |
| 40%   24C    P8     1W / 280W |      3MiB / 24576MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   2  NVIDIA TITAN RTX    Off  | 00000000:42:00.0 Off |                  N/A |
| 40%   26C    P8     5W / 280W |      3MiB / 24576MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   3  NVIDIA TITAN RTX    Off  | 00000000:43:00.0 Off |                  N/A |
| 41%   25C    P8     9W / 280W |      3MiB / 24576MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
+-----------------------------------------------------------------------------+

Can anyone help?


Delete file from FS on deletion from collection via MongoDB-manager?

Hello,
I want to switch from CollectionFS to this very nice and well maintained package.
One thing I am missing a little bit is that in CollectionFS files get removed from the filesystem if the documents where removed directly from the collections via a DB-manager (eg. Robomongo).
Is this anyhow possible with Meteor-Files?
Thanks

Hello @natschoman ,
Unfortunately, not.
If you're using GridFS storage, it would work, but you should remove it from both FilesCollcrion and GridFS manually.
For all other cases .remove() method should be called.


Remove Int from type_check

I noticed that we need not restrict only int to check values.
We can check any types of variables including str and float with this patch.
for example:
expect(Variable('AAA', x) + 'BBB' == 'AAABBB')

works.

Thank you!


Drag and drop items on loot table entry

have this enabled also when the table is not having better table active.
allow drag and dropping on name into table entry

released in v0.9.0


[LAB-972] implement job queue

From SyncLinear.com | LAB-972

This is the Bacalhau branch https://github.com/bacalhau-project/bacalhau/tree/ABS-156-job-defer for queue

I wrote a script that kicks off many sleep jobs (see below), this script causes a bunch of time out errors as expected on the Bacalhau main local stack. Using the above branch all the jobs complete and the execution logs show that the retry works.
#!/bin/bash

for i in {1..100}
do
   ./bacalhau docker run --memory 1Gb --cpu 1.0 --id-only ubuntu sleep 5 &
done
wait

The Bacalhau team is currently working on having the higher level State reflect the Pending versus Running status.

job.Spec.SchedulingTimeout is a number in seconds to keep retying in Bacalhau's new branch. Testing it with Docker Compose before release will require a test version container similar to https://github.com/bacalhau-project/bacalhau/pkgs/container/bacalhau

 export BACALHAU_VERSION=ABS-156-job-defer before docker compose up --force-recreate --build -d


Adding cleaned up dosomething_reportback module POT file.

Fixes #5221
What's this PR do?
This PR adds the extracted POT file for the dosomething_reportback module that has been edited to only add strings immediately needed for translation.
Where should the reviewer start?
Just review the strings to make sure all seems well.
Any background context you want to provide?
Strings relating to the CMS admin interface have been pulled out for the time being since we do not require them to be translated.
What are the relevant tickets?
#5147
#5221

@angaither

:+1:


Multiline imports must respect indentation settings

Comes from #41

Respect the editors settings for indentation
Refactor importing logic, do not touch existing imports

@buehler I know this Issue has been closed over a year ago, but it does not seem to work (anymore?).
I am using tabs for indentation (size = 4) and when I use the organize imports-command, it converts the intendation in multiline-imports to spaces.
Am I just missing some settings?

@Springrbua actually... I think it only uses spaces.
I need to review that.
Could you make an issue with a feature request to actually use tabs when configured as such?

@buehler thanks, I've created #361 :)


clang-17 build test_print_tensor fails

Switching to using clang-17 to compile tt-metal repository has made some changes.
test_print_tensor.py fails for testPrint on E150 Grayskull tests when building with -O0
Install clang-17
compile on tt-metal branch mchiou/4252-enable-c++20-install-clang-17
run ttnn tests
https://github.com/tenstorrent-metal/tt-metal/actions/runs/8474740104/job/23221781875

Bumping to P1 as -O0 is an important debugging feature for us

Build with C++20 is passing.  Checking to see if this is still an issue.

@vtangTT and @arakhmati fixed this issue.  Thank you both!


[many ports 3] Include <chrono> for system_clock and high_resolution_clock

Due to there are new changes merged by https://github.com/microsoft/STL/pull/5105, so ports zlmediakit wampcc realsense2 openvino and omplapp need to include <chrono> by patching to fix the following errors:
error C2039: 'high_resolution_clock': is not a member of 'std::chrono'
error C2039: 'high_resolution_clock': is not a member of 'std::chrono'

StephanTLavavej has already submitted a PR: https://github.com/IntelRealSense/librealsense/pull/13537 to realsense2's upstream.
The other ports have submitted relevant PRs upstream. The list is as follows:
https://github.com/ZLMediaKit/ZLToolKit/pull/258
https://github.com/darrenjs/wampcc/pull/85
https://github.com/openvinotoolkit/openvino/pull/27782
https://github.com/ompl/ompl/pull/1201

[x] Changes comply with the maintainer guide.
[ ] ~SHA512s are updated for each updated download.~
[ ] ~The "supports" clause reflects platforms that may be fixed by this new version.~
[ ] ~Any fixed CI baseline entries are removed from that file.~
[ ] ~Any patches that are no longer applied are deleted from the port's directory.~
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Thanks!


Add support for Azure Application Insights

Pricing page: https://azure.microsoft.com/en-us/pricing/details/monitor/  (also available in the Azure pricing calculator)
Terraform resources is azurerm_application_insights.

azurerm_application_insights should have:

A usage param monthly_data_ingested_gb with unit GB displayed as Data ingested
-Data retention (<days> days) with unit GB where days is determined by the azurerm_application_insights.retention_in_days.  The cost is calculated by multiplying monthly_data_ingested_gb by the number of retention days over 90.  This should only be displayed if the cost is > 0.

azurerm_application_insights_web_test should have:

Multi-step web test with unit test where quantity is 1 if kind == multistep and enabled=true

@alikhajeh1, I want to work on it!

Thanks @ekifel!

The cost is calculated by multiplying monthly_data_ingested_gb by the number of retention days over 90.
The charge for data retention is GB-month, so I think this should actually be monthly_data_ingested_gb * number_of_months_over_3_months (where a month == 30 days).

So if ingested == 1000, and retention == 120, then ((120-90) / 30) == 1 so the cost would be 1000 * 1 * $0.12 per GB per month == $120.
If retention == 550, then (550-90) / 30 == 15.3 so cost would be 1000 * 15.3 * $0.12 per GB per month == $1836

Released in v0.9.2 today.


Remove double space in error message IDX10214

To be consistent with error message IDX10205, as described in issue #426.

Hi @bgever, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

@bgever did you mean to fix this in KDev?
That is our release for 5.x (support for asp.net)


what packages number exactly is ？

why the packages numbers are not the same ？

I tried 【pacman -Q >>test.txt】,the number is [1975]

The package number is the total number of packages from all installed package managers. You've got more than one package manager installed.

yeah?
i do installed more than one package manager, but the manager "screenfetch" gives the right number!
the question is not how many package manager i got, the question is,
neofetch gave a wrong number!
i guess, maybe the "Enter" of the end line was counted?

Neofetch counted all package managers you installed. screenfetch only detect it per-OS (this means if you have Arch, only pacman would be detected even if you have Nix package manager)

but should any package manager could output all the packages installed ?
did you mean, the command:
pacman -Q | wc -l
gives the number, which did'nt contain other package manager ?
in your example,
pacman could not detect nix ?

pacman -Q | wc -l displays the packages that are only installed by pacman. That means the number 1975 is correct in pacman. However, because neofetch also detected another package manager in your PATH, neofetch calls the package manager in question too to count the packages, and it will be added to your existing package count. (in this case, 1975 + 1 = 1976).
The are some differences between screenfetch and neofetch's method of detecting packages. It isn't as simple as pacman -Q | wc -l displaying numbers from another package manager.
In screenfetch, they only detect packages based on their distro, and it's hardcoded by detecting the distro name, so if you happen to install Nix/Guix/RPM/emerge (from Gentoo Prefix), screenfetch won't detect it.
Neofetch, however, takes a different approach. Instead of hard-coding them per distro name, we decided to count the packages from the package managers installed to accommodate use cases like I mentioned earlier.
For example, if you have 1349 packages installed in pacman, and you have 9 packages installed in Nix package manager which happens to reside in your Arch install, and for some reason you installed rpm which has 2 packages for testing builds, screenfetch will only detect 1349, but neofetch will detect 1349 + 9 + 2 = 1360 instead.
However, if you are adamant that this is not correct and is a bug from neofetch, feel free to send a log here.

sorry for my ignorance，
and thank you for the explanation，
i thought any package manager should have the ability to get the numbers of package installed together...


Changing editor font on its own (without touching the interface font).

Describe your request
Currently, doom only allows for changing the font for the entire application (editor + interface). It would be great if the two could be separated. I generally need a large font when programming, currently I achieve this effect by zooming in using ctrl +, however this causes visual artifacts in the interface (eg. the company drow-down goes out of screen boundary).
Briefly explain its use-case
A variable that allows setting editor font on its own, separate from doom-font which should be restricted to the interface font-size alone.

(add-hook! 'prog-mode-hook (text-scale-set 2))
(add-hook! 'prog-mode-hook #'doom-big-font-mode) and set doom-big-font to whatever you like
Use face-remap-add-relative to customize the default face however you like.

Since this capability already exists, I will close this.


[TODO]: Train Part-of-speech corpus with transformers

Today, PyThaiNLP use perceptron tagger. It still give the best score from Blackboard treebank Test set (https://pythainlp.github.io/Model-Cards/Part of speech/#blackboard-perceptron) but most people want to use with transformers.
I think It is good if Part-of-speech tagging use transformers model.
List Model:

huggingface.co/airesearch/wangchanberta-base-att-spm-uncased

Docs: https://huggingface.co/learn/nlp-course/chapter7/2?fw=tf
List corpus:

Blackboard treebank https://bitbucket.org/kaamanita/blackboard-treebank/src/master/
Parallel Universal Dependencies (PUD) treebanks https://github.com/UniversalDependencies/UD_Thai-PUD

@wannaphong do you currently working on this? i can help you train the POS tagging model using transformer here, and then I will ask for your review after it is finished to see what we can improved further. What do you think?

@wannaphong do you currently working on this?, if not, i can help you train the POS tagging model using transformer with listed component here, and then I will ask for your review after it is finished to see what we can improved further. What do you think?

@MpolaarbearM is doing train model for Blackboard Treebank. You can do Orchid Corpus or UD Thai PUD.
https://nlpforthai.com/tasks/part-of-speech/

@wannaphong do you currently working on this?, if not, i can help you train the POS tagging model using transformer with listed component here, and then I will ask for your review after it is finished to see what we can improved further. What do you think?

@MpolaarbearM is doing train model for Blackboard Treebank. You can do Orchid Corpus or UD Thai PUD.
Blackboard Treebank model by bert: https://huggingface.co/lunarlist/pos_thai
List https://nlpforthai.com/tasks/part-of-speech/

thanks!, i will go for UD Thai PUD corpus. I will inform you when the model is finished.

@wannaphong  i've already done training transformers on Thai Part-of-Speech corpus. As for discussion, the model were trained on UD Thai PUD corpus on Universal POS (UPOS) tag. All models are ported to Huggingface Hub already where list of my trained models are as follows:

WangchanBERTa : one existing language model for thai language as you stated in the model list within this issue that you want the corpus to be trained on, the training results already reported in https://huggingface.co/Pavarissy/wangchanberta-ud-thai-pud-upos

DeBERTaV3 :   As of March 2023, DeBERTaV3 bring an impressive performance in the benchmark on NLU task compared to another models. I put this into your considerations since the performance of its multilingual version (mDeBERTaV3) which is Thai-supported achieved a better score on UD Thai PUD corpus as well. You can check its training results in https://huggingface.co/Pavarissy/mdeberta-v3-ud-thai-pud-upos

ps. both models are trained on a specified corpus, any improvement of them can be discussed from now on. Since it is public  model on huggingface hub, if you want to integrate into PyThaiNLP, i can help you with it.
what do you think ?

@pavaris-pm Hi! I can integrate your model into the new pos tagging function since I currently working on mine and nearly finished it.

@pavaris-pm Hi! I can integrate your model into the new pos tagging function since I currently working on mine and nearly finished it.

Great to hear that! However, I have trained 2 pos tagging models. What model will be integrated in ? Do we need any consideration from @wannaphong ?

We can wait for approval. But the methods of integration are the same, so I'll do both of them for now.

Thanks for your help, after approval, please inform me when it is integrated 👍🏻


How to add headers?

runtimeConfig: {
public: {
'graphql-client': {
clients:{
default:{
host:"http://localhost:8080/v1/graphql",
headers:{
"content-type":"application/json",
"x-hasura-admin-secret":"####"
}
}
}
},
},
}
Could not obtain introspection result, received: {"errors":[{"extensions":{"code":"access-denied","path":"$"},"message":"x-hasura-admin-secret/x-hasura-access-key required, but not found"}]}
Error: Could not obtain introspection result, received: {"errors":[{"extensions":{"code":"access-denied","path":"$"},"message":"x-hasura-admin-secret/x-hasura-access-key required, but not found"}]}

@b805rohit Your configuration looks alright, So I assume the issue here might be with your hasura API. I'd suggest ensuring that introspection is enabled


Allow User Profiles to be read-only

Admin can specify (DD_)USER_PROFILE_EDITABLE = False (default True)
This brings option, not to allow normal user to change their profile information.
Some modification for dev entrypoint of uwsgi, because I'm using trick to observe dojo/setting/settings.py  and I'm touching it when reload is needed.

Considering the upcoming release and 3 approvals I am merging this one.

@dsever Do you have an idea how the tests can work when the local file system from integration tests and uwsgi are not mounted? I think it is very bad to have the precondition that the filesystem from you host ist mounted, writable and shared between both containers.
Can we maybe move the tests with configuration changes to the unit tests?

I don't see any other way, I did research, and found out that I can only use this approach to reconfigure application on the fly and test it.
This is part of integration tests so that's why I wanted to have it there.
You have an issue when not using docker compose to do integration tests?

I am using the integration tests to test my defectdojo instance with production configuration from "outside".
Can't we run these security tests in the unit tests only? We can check there if we have security problems. We don't test this settings also in the ui, but for me it is worth it, when the setup is less complex.
Lets look in the future: We are getting more and more tests, that test different configurations. Would it make sense so create a configuration file (template-env) and that using it also for the integration tests? The we could run two test in parallel, one with configuration A and one with configuration B? This does only make sense for features with two states.

Makes sense to me, the problem I see here is actually all integration test are testing admin PoV, but not from user perspective with different configurations. But it is about moderators to decide.

The settings file way of working is a big pain as the settings can't be changed at run-time. Now it's only 2 scenario's we want to test, but that could easily explode to n!  or 2^n or N^n scenario's. But if we switch to database based settings, users will lose the way to override settings via local_settings.py for example.
In this particular case we could run the test in its own testcase and launch the django containerwith the desired values for DD_USER_PROFILE_EDITABLE. But that can only work now that we have 1 GitHub Action job per testcase (which is currently blocking our GH actions when it is running as it start 20 or so jobs and we can only have 20 running in parallel).


build custom image

current state:

current ubuntu images for bbone are currently here
the custom path is something like ./ubuntu-armhf-focal-minimal/2022-09-26/am335x-ubuntu-20.04.4-console-armhf-2022-09-26-4gb.img.xz
these get build by image-builder
current focal-v5.10 config for the builder is here

new approach:

build your own, add latest ubuntu 22.04 (jammy) with python 3.10, if possible include shepherd
the rcn-ee apt repo already has jammy-support
a manually updated ubuntu on bbone works fine

script fails on ubuntu 20.04 with:
Traceback (most recent call last):
  File "/usr/lib/cnf-update-db", line 3, in <module>
    import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
Reading package lists... Done
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
E: Sub-process returned an error code

also, prereq is m4 (via apt)

there seems to come no update to ubuntu 22.04. but at least it was updated to 20.04.05 recently

alternate method, try buildroot, semi-official beagle or alternatively here.
Reqs for buildroot

try in debian 11.6

WSL1 might be the problem on W10, so check current status
>> wsl --list --verbose
  NAME            STATE           VERSION
* Ubuntu-22.04    Stopped         1
  Debian          Stopped         1
  Ubuntu          Stopped         1

Update internals
wsl --update
wsl --set-default-version 2

change nothing at first, maybe only for new distros? So force one distro to V2
>>wsl --set-version Debian 2
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
Conversion in progress, this may take a few minutes.
The operation completed successfully.
>> wsl --list --verbose
  NAME            STATE           VERSION
* Ubuntu-22.04    Stopped         1
  Debian          Stopped         2
  Ubuntu          Stopped         1

works instantly!
@ubuntu :~$ uname -a
Linux Host 4.4.0-19041-Microsoft #2311-Microsoft Tue Nov 08 17:09:00 PST 2022 x86_64 x86_64 x86_64 GNU/Linux
@debian :~$ uname -a
Linux Hoellenmaschine2020 <IP_ADDRESS>-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 GNU/Linux


Rattling sound from Linux to Android

Describe the bug
Rattling sound when relaying audio from Linux to Android. The audio plays alright, but with clear rattling sound in the background.
To Reproduce
Installed Android APKs and the ran the Linux binary of the same version from Git.
Expected behavior
Clear sound.
Server:

OS: Linux Fedora (Silverblue) 6.6.8-200.fc39.x86_64
Version: v0.015 and v0.014
Pipewire version: 1.00

 $ pipewire --version
 pipewire
Compiled with libpipewire 1.0.0
Linked with libpipewire 1.0.0

Android:

Device: Samsung Tab S3 and Samsung Tab S6
OS:  Android 9 and Android 11
Version: v0.015 and v0.014

Additional information
Nothing strange from the terminal output (shown below):
[2024-01-10 02:03:43.523] [info] pipewire header_version: 0.3.48, library_version: 1.0.0
[2024-01-10 02:03:43.526] [info] endpoint_id: 45
[2024-01-10 02:03:43.526] [info] tcp listen success on <IP_ADDRESS>:65530
[2024-01-10 02:03:43.526] [info] udp listen success on <IP_ADDRESS>:65530
[2024-01-10 02:03:43.526] [info] server started
[2024-01-10 02:03:43.526] [info] select audio endpoint: ALC285 Analog
[2024-01-10 02:03:43.552] [info] block_align: 8
[2024-01-10 02:03:43.552] [info] AudioFormat:
format_tag: 3
channels: 2
sample_rate: 48000
bits_per_sample: 32

[2024-01-10 02:04:02.283] [info] accept <IP_ADDRESS>:42828

I saw the same thing from other issues but on Windows, maybe you could apply the same fix for Linux as well?

It may be caused by PipeWire itself. Run pw-play -v test.wav to see the delay.
Rocky Linux 9 works well, the delay is 2048 and I can hear a clear sound.
now=2472351168973 rate=1/48000 ticks=43008 delay=2048 queued=0
now=2473075616347 rate=1/48000 ticks=77824 delay=2048 queued=0
now=2474183420970 rate=1/48000 ticks=131072 delay=2048 queued=0
now=2475351964615 rate=1/48000 ticks=186368 delay=2048 queued=0
now=2476069723593 rate=1/48000 ticks=221184 delay=2048 queued=0
now=2477168449525 rate=1/48000 ticks=274432 delay=2048 queued=0
now=2478279790842 rate=1/48000 ticks=327680 delay=2048 queued=0
now=2479399421351 rate=1/48000 ticks=380928 delay=2048 queued=0

I also test on Fedora 39, which delay is 10240 and I can hear noisy sound.
stream time: now:1912175561068 rate:1/48000 ticks:61440 delay:10240 queued:1882 buffered:32 buffers:1 avail:1
stream time: now:1913004872486 rate:1/48000 ticks:94208 delay:10240 queued:1881 buffered:32 buffers:1 avail:1
stream time: now:1913896419255 rate:1/48000 ticks:120832 delay:10240 queued:1882 buffered:32 buffers:1 avail:1
stream time: now:1914859452183 rate:1/48000 ticks:149504 delay:10240 queued:1881 buffered:32 buffers:1 avail:1
stream time: now:1915894128718 rate:1/48000 ticks:180224 delay:10240 queued:1881 buffered:32 buffers:1 avail:1

Maybe changing some config of PipeWire can fix it. But I'm not familiar with it.

I can confirm that with pw-play, I had rattling sound as well. But after following the instructions from https://linuxmusicians.com/viewtopic.php?t=25768, I was able to get clear sound with pw-play. Unfortunately, the remote audio still is noisy even though pw-play is working well.

I can confirm that with pw-play, I had rattling sound as well. But after following the instructions from https://linuxmusicians.com/viewtopic.php?t=25768, I was able to get clear sound with pw-play. Unfortunately, the remote audio still is noisy even though pw-play is working well.

This post introduce the new config way using pw-metadata -n settings instead of editing the .conf file directly. But the Rokcy Linux 9 and Fedora 39 both have same runtime settings.
[abc@localhost ~]$ pw-metadata -n settings
Found "settings" metadata 30
update: id:0 key:'log.level' value:'2' type:''
update: id:0 key:'clock.rate' value:'48000' type:''
update: id:0 key:'clock.allowed-rates' value:'[ 48000 ]' type:''
update: id:0 key:'clock.quantum' value:'1024' type:''
update: id:0 key:'clock.min-quantum' value:'1024' type:''
update: id:0 key:'clock.max-quantum' value:'2048' type:''
update: id:0 key:'clock.force-quantum' value:'0' type:''
update: id:0 key:'clock.force-rate' value:'0' type:''

The Rocky 9 and Fedora 39 are both installed in my VirtualBox. I install VBox Guest Additions for Fedora 39 and the sound become clear while the PipeWire settings is untouched.

I'll close this issue. If you still have problem, you can reopen it.

Here is a little tip for other Linux users: there is a flatpak app that relays audio from Linux device without rattling sound but perhaps higher latency: https://flathub.org/apps/de.haeckerfelix.AudioSharing


Fix example extending compojure Renderable with correct IDeferred interface

In the compojure example of delayed-handler, manifold.deferred.Deferred doesn't exist. Changed to IDeferred.

Thanks, I've pushed the changes to aleph.io.


Add support for documenting EventTarget events

Search Terms

EventTarget, Event, events, dispatch, dispatches
Problem

Many APIs have classes that inherit EventTarget, but there is no easy way to document the events that it dispatches. I would like a way to document what the events are and what argument they take.
There are several problems with the current @event keyword. Many classes override addEventListener through a separate EventMap class so the event names may not be declared inside the class. It also provides no information about the event being dispatched.
Suggested Solution

Since the event keyword is already taken, my suggestion would be a @dispatches keyword for a class that extends EventTarget. It takes the event name, the event object dispatched (which, if it exists, should be a link), and a description. A possible example:
export class StatsEvent extends CustomEvent {
  constructor(os: string, time: Date, running) {
    super("stats", {
      detail: { os, time, running }
    });
  }
}

/**
 * The main application.

 * @dispatches "initialized" Event The object has been constructed.
 * @dispatches "stats" StatsEvent Periodic information about the state of the program.
 */
export class App extends EventTarget {
  constructor() {
    super();
    this.dispatchEvent(new Event("initialized"));
    this.dispatchEvent(new StatsEvent(process.os, new Date, false));
  }
}

Something I always look at when considering additional tags is how it displays in VSCode/other editors. Here's what the @dispatches methods looks like:

Here's another option, using markdown headers and an explicit @link tag:
/**
 * The main application.
 *
 * ### Events
 * - "initialized" {@link Event} The object has been constructed.
 * - "stats" {@link StatsEvent} Periodic information about the state of the program.
 */

With the syntax which is understood by TypeScript (and therefore VSCode), both your editor and TypeDoc will show (roughly) the same thing today, which is a large pull...
I think without some large improvement on how these events could be rendered using the custom tag, I'm leaning towards not implementing this.

I've thought about this a few different times in the past couple weeks, and haven't come up with a compelling reason to add special syntax for this that won't be understood by other tooling, going to mark this as wontfix


Fixed issues #57 and #58.

I have no time now to make test exactly for this future, but I think that these changes still better be merged as current tests are passing.


Why the domain layer is tigthly coupled to a framework dependency (RxJava) ?

Hi, here I am again, this time with a different concern.
Citing Uncle Bob's explanation of Use Cases:

We also do not expect this layer (USE CASES) to be affected by changes to externalities such as the database, the UI, or any of the common frameworks. This layer is isolated from such concerns.

Your use cases depend on RxJava framework. I have to provide a Subscriber implementation in order to obtain List or a single User. I expect that a UseCase hides the implementation logic from the outside. To me, a UseCase is Given an id, Return a User.
Your case is Given an id and a Subscriber implementation return a User. What if at some point I don't want to use RxJava anymore? My UseCase shouldn't change! I have an id and I want a User back, but it still requires something depending on an external framework, meaning that I have to reimplement my UseCase even though nothing has changed, except for the framework it uses to accomplish the job.
Thank you @android10

This is an edge case, of course if you do not wanna depend on any framework you have to write your own version of RxJava. The reason why I used RxJava is explained in this other article:
http://fernandocejas.com/2015/07/18/architecting-android-the-evolution/
Basically I'm using a reactive approach and unfortunately there is not any other way, since on Android we are still tight to Java 7. On the other hand, Java itself is also a framework 😄 .
Just curious, how would you address this then?

@android10 How Java 8 would help here?

Java 8 has its own stream api, though I don't think it becomes available on Android anytime soon

What about https://github.com/google/agera?

@farmazon3000 this is out of scope of this discussion actually. You might be able to use either one or the other or even both.

Couple of days ago, I aso came up with this concern. It is good to see somebody else is also having this question, it seems I am not alone. @andrewjohnson90
RXJave is a tool here to do asynchronous processing in the back ground and feed UI with the results.  From Uncle Bob's point of view, a good architecture should be able to change whatever tools it uses, so long as the tools obey certain contract. So, in principle, we should be able to replace it with some other implementations. But in the current state, the UseCase class depends not on abstraction but on RXjava.
Although I currently have no idea how this could be improved, the issue feels complicated to solve...

I'm trying to implement this pattern in my apps. I also have this concern.
It seems either we stick with RxJava at UseCase level or use RxJava to wrap the UseCase execution.
Before trying this pattern i have something like this in the Presenter, which wrap the use case in RxJava:
private fun getUserListObservable(): Observable<List<User>>? {
        return Observable.create<List<User>> {
            subscriber ->
                val userDataSource = UserDataNetworkSource(connectionManager)
                val userRepository = UserRepositoryImpl(userDataSource)
                val interactor = GetUserListInteractor(userRepository)
                val result = interactor.execute(/*some args*/)

                subscriber.onNext(result)
        }
    }

Hi, in my opinion, and after taking another look into the architecture structure, I don't think the domain layer is really coupled to RxJava. You can override the UseCase implementation anytime, and it shouldn't affect to your business logic or either the architecture itself.
The only thing is, whenever you change rx to another framework, you must change references too everywhere, and that makes it coupled yes, but the architecture does not require specifically you have to implement RxJava, that is what I mean. It is not mandatory to use RxJava. Like @android10 said, in some way, you can change your background executions with your own framework, or what you desire, but that will force you to change it as well in all the architecture structure.
Anyway, Agera is a set of reactive utilities, it is new, in terms of it doesn't have much questions in Stackoverflow for now, and it was a library developed for a specific project in google by their own developers, as they say.
Amend me if I'm wrong please.

Can we introduce a delivery interface in the UseCase as another layer to deliver the result to other layer?
If the user want to use Rx then just create something like RxDelivery or if the user want callback style then create callback CallbackDelivery.
Do we have pattern like this available, what is the pattern name?
My imaginary classes.
interface Delivery<T> {
      void deliver(T result)
}

class RxDelivery implements Delivery<List<User>> {
         void deliver(List<User> results) {
                 subject.onNext(results)
         }
}

class CallbackDelivery implements Delivery<List<User>> {
         void deliver(List<User> results) {
                 callback.onSuccess(results)
         }
}

class GetGithubUsersUseCase(Delivery resultDelivery) {
     void execute() {
             resultDelivery.deliver(getGithubUsers());
     }
}

In my opinion, we are doing a lot of over engineering here and by introducing another level of abstraction the code will become unreadable.
The main reason why I stick to RxJava is because it simplifies the way I'm retrieving and showing data and makes asynchronous calls way easier.
Also, to clear this up, I tried to be proactive. Theoretical models sound good on paper, like Clean Architecture approach, but when it comes to reality, things get more complicated, like in this case. That is why I consider we need to be strict but at the same time flexible enough and establish our boundaries to go for other alternatives too.
On Android a pure Clean Architecture model using functional or reactive programming would not work, unless you write all the RxJava code yourself or you create wrappers all over the place, which, again bring up a lot of complexity.
My two cents.

For the record, the first version of this repo did not include any dependency to any framework. You can find it here: https://github.com/android10/Android-CleanArchitecture/releases
In both articles I give more information why in the end I made all these decisions:
http://fernandocejas.com/2014/09/03/architecting-android-the-clean-way/
http://fernandocejas.com/2015/07/18/architecting-android-the-evolution/
Also I found it very hard to scale specially when you have big teams and many contributors.
I hope that helps.

Hi, I've done some experiments with RxJava2 and the base http://reactivestreams.org/ standard interfaces (which the new RxJava2 is based in collaboration with other new reactive composition frameworks). The experiment was intended to check if the domain dependency could be reduced to just dependency on ReactiveStreams. Unfortunately the ReactiveStreams foundation classes are just 4 very core interfaces which do not include any notion of composition, schedulers, operators. We can't compose different UseCases inside domain, we can't use Rx operators. So I concluded it's not worth to reduce the RxJava dependency at this time. Maybe if the ReactiveStreams standard grows up in future. My 2 cents.


Command line arguments override doesn't work

It seems that nomen doesn't work for me. I have the following file:
import nomen
import yaml
config = """
x: 10
flag: true
"""

if __name__ == "__main__":
    dictionary = yaml.load(config)
    cfg = nomen.Config(dictionary)
    print(cfg)

When I start it from command line and pass an argument --x 101, it does not override default x's value:
(py3.6) user@maccie:temp/nomen-test $ python test_nomen.py --x 101
test_nomen.py:9: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  dictionary = yaml.load(config)
flag: true
x: 10

(py3.6) user@maccie:temp/nomen-test $ python --version
Python 3.6.1 :: Continuum Analytics, Inc.

I use MacOS. Tried Anaconda and Homebrew python with the same results.
Unfortunately, I cannot debug it, because debugger crashes after entering config.py — probably due to infinite recursion in __getattr__.

Thanks @ischurov — that's my fault.
You need to include cfg.parse_args().
I decided to separate that from initializing the object, so that ipdb and jupyter notebooks would have an easier time. Let me know if you have thoughts on this.
This works on my end on python 3.6/MacOS/Anaconda:
import nomen
import yaml
config = """
x: 10
flag: true
"""

if __name__ == "__main__":
    dictionary = yaml.load(config)
    cfg = nomen.Config(dictionary)
    cfg.parse_args()
    print(cfg)

Thanks, works like a charm now!

Cool feel free to ping me if you have any issues or ideas on how to simplify / improve this :)


internal/provider: address a test TODO for private endpoint services

NOTE: Only merge this end of the week.

Previously, we asserted that the private endpoint services returned by the
server span all regions of the host (for a serverless cluster), and not just
the regions of the serverless cluster. This was a bug in CockroachCloud itself,
and has already been addressed there. This commit updates that assertion to
the number of regions on the serverless cluster, addressing a TODO.

TFTR!


Provide a rectangle getArea implementation for horizontal bars

Resolves #4480
It should be noted that since #5857 getArea() is not used anywhere in the code.
~/D/o/chartjs ❯❯❯ grep getArea -rni src/*
src/elements/element.arc.js:68:	getArea: function() {
src/elements/element.point.js:55:	getArea: function() {
src/elements/element.rectangle.js:207:	getArea: function() {
~/D/o/chartjs ❯❯❯

I considered removing the method from the different elements but that would be a breaking change. I don't think anyone is using it, but we can't guarantee it.

That's the kind of methods we would have preferred private.

Looks like you'll need to rebase this against master after https://github.com/chartjs/Chart.js/pull/6039 is merged to get Travis to pass

Disclaimer: this has little or nothing to do with this PR
For V3 we should think of removing orientation from rectangle and adding a bar element that brings orientation, start and end properties.
I would also brainstorm more around the properties, we should be able to extract at least configurable and those that should be transitioned. We should also try not to have to check for hasOwnProperty in interpolate (so would have to make sure those transitioning properties always exist = move the check out of the loop).


[BUG] nil pointer dereference in subaccountServiceInstanceValueFrom

Is there an existing issue for this?

[X] I have searched the existing issues

What version of the Terraform provider are you using?
1.7.0
What version of the Terraform CLI are you using?
OpenTofu 1.7.2
What type of issue are you facing
bug report
Describe the bug
Our OpenTofu automation suddenly fails with the errors below. It seems OpenTofu is still reading BTP resources at this point.
Planning failed. OpenTofu encountered an error while generating this plan.

╷
│ Error: Request cancelled
│
│ The plugin6.(*GRPCProvider).ValidateDataResourceConfig request was
│ cancelled.
╵
╷
│ Error: Plugin did not respond
│
│ The plugin encountered an error, and failed to respond to the
│ plugin6.(*GRPCProvider).ReadResource call. The plugin logs may contain more
│ details.
╵
╷
│ Error: Request cancelled
│
│ The plugin6.(*GRPCProvider).ValidateDataResourceConfig request was
│ cancelled.
╵

Stack trace from the terraform-provider-btp_v1.7.0 plugin:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xbfe73d]

goroutine 423 [running]:
github.com/SAP/terraform-provider-btp/internal/provider.subaccountServiceInstanceValueFrom({_, _}, {{0xc00037c0c0, 0x24}, 0x1, 0x0, {0xc0008941f8, 0x14}, {0xc00037c120, 0x24}, ...})
	github.com/SAP/terraform-provider-btp/internal/provider/type_subaccount_service_instance.go:46 +0x15d
github.com/SAP/terraform-provider-btp/internal/provider.(*subaccountServiceInstanceResource).Read(0xc0006ac1c0, {0xf55d08, 0xc000b16f90}, {{{{0xf5b1d0, 0xc000b23350}, {0xcc5de0, 0xc000b22f90}}, {0xf5e938, 0xc0002986e0}}, 0xc0006ac1d0, ...}, ...)
	github.com/SAP/terraform-provider-btp/internal/provider/resource_subaccount_service_instance.go:177 +0x4e8
github.com/hashicorp/terraform-plugin-framework/internal/fwserver.(*Server).ReadResource(0xc00021c1e0, {0xf55d08, 0xc000b16f90}, 0xc000b16ff0, 0xc0008df630)
	github.com/hashicorp/terraform-plugin-framework@v1.12.0/internal/fwserver/server_readresource.go:117 +0x84e
github.com/hashicorp/terraform-plugin-framework/internal/proto6server.(*Server).ReadResource(0xc00021c1e0, {0xf55d08?, 0xc000b16ea0?}, 0xc000adcac0)
	github.com/hashicorp/terraform-plugin-framework@v1.12.0/internal/proto6server/server_readresource.go:55 +0x38e
github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ReadResource(0xc00022aa00, {0xf55d08?, 0xc000b16720?}, 0xc000ace4d0)
	github.com/hashicorp/terraform-plugin-go@v0.24.0/tfprotov6/tf6server/server.go:784 +0x2f3
github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ReadResource_Handler({0xdbfba0, 0xc00022aa00}, {0xf55d08, 0xc000b16720}, 0xc000af4380, 0x0)
	github.com/hashicorp/terraform-plugin-go@v0.24.0/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:509 +0x1a6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001cae00, {0xf55d08, 0xc000b16690}, {0xf5d0c0, 0xc00049c000}, 0xc000b18120, 0xc0003320f0, 0x14f95a8, 0x0)
	google.golang.org/grpc@v1.66.2/server.go:1394 +0xe2b
google.golang.org/grpc.(*Server).handleStream(0xc0001cae00, {0xf5d0c0, 0xc00049c000}, 0xc000b18120)
	google.golang.org/grpc@v1.66.2/server.go:1805 +0xe8b
google.golang.org/grpc.(*Server).serveStreams.func2.1()
	google.golang.org/grpc@v1.66.2/server.go:1029 +0x7f
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 20
	google.golang.org/grpc@v1.66.2/server.go:1040 +0x125

Error: The terraform-provider-btp_v1.7.0 plugin crashed!

This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.

Expected Behavior
A better error message with more information - which resource is affected, what exactly went wrong and why, what can we do to fix it,... would be helpful.
Steps To Reproduce
No response
User's Role Collections

Global Account Administrator
Subaccount Administrator

Add screenshots to help explain your problem
No response
Additional context
No response

Hello @lechnerc77, we experience this issue on eu10 live (currently everytime), although nothing should have changed there. Our other regions are successful.
I will provide you more details in a PN.
I now enabled TF_LOG=DEBUG and -parallelism=1 for tofu plan.
It seems the last read resource is the custom_domain service (via CloudFoundry Terraform provider!). Then some warnings and errors are logged, and in the end the stacktrace involving your provider.
 module.cloudci.data.cloudfoundry_service.custom_domain: Read complete after 0s [id=85af1b68-6d2c-46ce-9929-514742c6f218]

[...]

      "tags": null,
      "type": "managed",
      "updated_at": "2023-02-23T18:01:24Z",
      "upgrade_available": false
    }
  ]
}: timestamp=2024-12-10T13:16:35.450Z
2024-12-10T13:16:35.454Z [WARN]  Provider "registry.opentofu.org/cloudfoundry-community/cloudfoundry" produced an invalid plan for module.cloudci.cloudfoundry_service_instance.custom_domain, but we are tolerating it because it is using the legacy plugin SDK.
    The following problems may be the cause of any confusing errors from downstream operations:
      - .labels: planned value cty.MapValEmpty(cty.String) for a non-computed attribute
      - .replace_on_params_change: planned value cty.False for a non-computed attribute
      - .replace_on_service_plan_change: planned value cty.False for a non-computed attribute
      - .tags: planned value cty.ListValEmpty(cty.String) for a non-computed attribute
2024-12-10T13:16:35.458Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-12-10T13:16:35.463Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.opentofu.org/cloudfoundry-community/cloudfoundry/0.53.1/linux_amd64/terraform-provider-cloudfoundry_v0.53.1 pid=6965
2024-12-10T13:16:35.486Z [DEBUG] provider: plugin exited
2024-12-10T13:16:35.488Z [INFO]  ReferenceTransformer: reference not found: "var.subaccount_id"
2024-12-10T13:16:35.488Z [DEBUG] ReferenceTransformer: "module.cloudci.module.role_collection_service_provider_devops.data.btp_subaccount_roles.all" references: []
2024-12-10T13:16:35.490Z [INFO]  ReferenceTransformer: reference not found: "var.subaccount_id"
2024-12-10T13:16:35.490Z [DEBUG] ReferenceTransformer: "module.cloudci.module.role_collection_service_provider_admin.data.btp_subaccount_roles.all" references: []
2024-12-10T13:16:35.490Z [DEBUG] skipping FixUpBlockAttrs
2024-12-10T13:16:35.491Z [ERROR] plugin6.(*GRPCProvider).ValidateDataResourceConfig: error="rpc error: code = Canceled desc = context canceled"
2024-12-10T13:16:35.491Z [ERROR] vertex "module.cloudci.module.role_collection_service_provider_devops.data.btp_subaccount_roles.all" error: Request cancelled
2024-12-10T13:16:35.491Z [ERROR] vertex "module.cloudci.module.role_collection_service_provider_devops.data.btp_subaccount_roles.all (expand)" error: Request cancelled
2024-12-10T13:16:35.491Z [DEBUG] skipping FixUpBlockAttrs
2024-12-10T13:16:35.491Z [ERROR] plugin6.(*GRPCProvider).ValidateDataResourceConfig: error="rpc error: code = Canceled desc = context canceled"
2024-12-10T13:16:35.491Z [ERROR] vertex "module.cloudci.module.role_collection_service_provider_admin.data.btp_subaccount_roles.all" error: Request cancelled
2024-12-10T13:16:35.491Z [ERROR] vertex "module.cloudci.module.role_collection_service_provider_admin.data.btp_subaccount_roles.all (expand)" error: Request cancelled
2024-12-10T13:16:35.501Z [INFO]  backend/local: plan operation completed
2024-12-10T13:16:35.503Z [INFO]  backend/local: writing plan output to: CICD-eu10.tfplan

Planning failed. OpenTofu encountered an error while generating this plan.

╷
│ Error: Plugin did not respond
│
│ The plugin encountered an error, and failed to respond to the
│ plugin6.(*GRPCProvider).ReadResource call. The plugin logs may contain more
│ details.
╵
╷
│ Error: Request cancelled
│
│ The plugin6.(*GRPCProvider).ValidateDataResourceConfig request was
│ cancelled.
╵
╷
│ Error: Request cancelled
│
│ The plugin6.(*GRPCProvider).ValidateDataResourceConfig request was
│ cancelled.
╵

Stack trace from the terraform-provider-btp_v1.7.0 plugin:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xbfe73d]

goroutine 425 [running]:
github.com/SAP/terraform-provider-btp/internal/provider.subaccountServiceInstanceValueFrom({_, _}, {{0xc000817110, 0x24}, 0x1, 0x0, {0xc0007dd7d0, 0x14}, {0xc000817140, 0x24}, ...})
	github.com/SAP/terraform-provider-btp/internal/provider/type_subaccount_service_instance.go:46 +0x15d
github.com/SAP/terraform-provider-btp/internal/provider.(*subaccountServiceInstanceResource).Read(0xc0004360a8, {0xf55d08, 0xc0006307e0}, {{{{0xf5b1d0, 0xc000642ba0}, {0xcc5de0, 0xc0006427e0}}, {0xf5e938, 0xc0007e5bd0}}, 0xc0004360b8, ...}, ...)
	github.com/SAP/terraform-provider-btp/internal/provider/resource_subaccount_service_instance.go:177 +0x4e8
github.com/hashicorp/terraform-plugin-framework/internal/fwserver.(*Server).ReadResource(0xc0001f41e0, {0xf55d08, 0xc0006307e0}, 0xc000630840, 0xc0005eb630)
	github.com/hashicorp/terraform-plugin-framework@v1.12.0/internal/fwserver/server_readresource.go:117 +0x84e
github.com/hashicorp/terraform-plugin-framework/internal/proto6server.(*Server).ReadResource(0xc0001f41e0, {0xf55d08?, 0xc0006306f0?}, 0xc000417dc0)
	github.com/hashicorp/terraform-plugin-framework@v1.12.0/internal/proto6server/server_readresource.go:55 +0x38e
github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ReadResource(0xc000206a00, {0xf55d08?, 0xc00077bef0?}, 0xc000626000)
	github.com/hashicorp/terraform-plugin-go@v0.24.0/tfprotov6/tf6server/server.go:784 +0x2f3
github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ReadResource_Handler({0xdbfba0, 0xc000206a00}, {0xf55d08, 0xc00077bef0}, 0xc000811e80, 0x0)
	github.com/hashicorp/terraform-plugin-go@v0.24.0/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:509 +0x1a6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000196e00, {0xf55d08, 0xc00077be60}, {0xf5d0c0, 0xc0003fe000}, 0xc000777200, 0xc000269ef0, 0x14f95a8, 0x0)
	google.golang.org/grpc@v1.66.2/server.go:1394 +0xe2b
google.golang.org/grpc.(*Server).handleStream(0xc000196e00, {0xf5d0c0, 0xc0003fe000}, 0xc000777200)
	google.golang.org/grpc@v1.66.2/server.go:1805 +0xe8b
google.golang.org/grpc.(*Server).serveStreams.func2.1()
	google.golang.org/grpc@v1.66.2/server.go:1029 +0x7f
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 39
	google.golang.org/grpc@v1.66.2/server.go:1040 +0x125

Error: The terraform-provider-btp_v1.7.0 plugin crashed!

This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.

2024-12-10T13:16:35.636Z [DEBUG] provider: plugin exited
2024-12-10T13:16:35.637Z [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-12-10T13:16:35.642Z [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.opentofu.org/sap/btp/1.7.0/linux_amd64/terraform-provider-btp_v1.7.0 pid=7219
2024-12-10T13:16:35.664Z [DEBUG] provider: plugin exited

Together with @lechnerc77 we analyzed the issue. And it turned out that for this service instance last_operation has not been returned by the API for whatever reason.
$ btp get services/instance --name btp-service-operator
context:
  crm_customer_id:
  env_type: sapcp
  global_account_id: f40c1345-xxxxxx
  instance_name: btp-service-operator
  license_type: SAPPROD
  origin: sapcp
  platform: sapcp
  region: cf-eu10
  subaccount_id: 9abd6d5c-xxxxxx
  subdomain: cicd-service
  zone_id: 9abd6d5c-xxxxxx
created_at: 2024-09-24T13:20:04.215917Z
id: eaadf577-xxxxxx
labels: subaccount_id = 9abd6d5c-xxxxxx
name: btp-service-operator
platform_id: service-manager
protected: <null>
ready: true
service_plan_id: dc91ce2b-xxxxxx
subaccount_id: 9abd6d5c-xxxxxx
updated_at: 2024-09-24T13:20:08.070306Z
usable: true

OK

A working service instance looks like this:
$ btp get services/instance --name btp-service-operator
context:
  crm_customer_id:
  env_type: sapcp
  global_account_id: f40c1345-xxxxxx
  instance_name: btp-service-operator
  license_type: SAPPROD
  origin: sapcp
  platform: sapcp
  region: cf-eu20
  subaccount_id: 7b8a7c8f-xxxxxx
  subdomain: cicd-service
  zone_id: 7b8a7c8f-xxxxxx
created_at: 2024-09-24T13:20:04.65314Z
id: 92c9a629-xxxxxx
labels: subaccount_id = 7b8a7c8f-xxxxxx
last_operation:
  correlation_id: c3cdc747-xxxxxx
  created_at: 2024-09-24T13:20:04.653144Z
  deletion_scheduled: 0001-01-01T00:00:00Z
  id: fa651453-xxxxxx
  platform_id: service-manager
  ready: true
  reschedule: false
  reschedule_timestamp: 0001-01-01T00:00:00Z
  resource_id: 92c9a629-xxxxxx
  resource_type: /v1/service_instances
  state: succeeded
  type: create
  updated_at: 2024-09-24T13:20:10.677441Z
name: btp-service-operator
platform_id: service-manager
protected: <null>
ready: true
service_plan_id: 79911c1d-xxxxxx
subaccount_id: 7b8a7c8f-xxxxxx
updated_at: 2024-09-24T13:20:10.669317Z
usable: true

OK

Via BTP UI I triggered an "Update" of the service instance. BTP CLI then also returned last_operation for this instance. And the OpenTofu automation worked again.
In your provider implementation you should decide if and how to handle such cases better. And also better logging would be helpful. From the logs we could not see at all which service instance exactly was affected.
Thanks a lot for the help, @lechnerc77

@alxsap Great that you could pin down the issue on the platform. According to the API specification of the correspojding BTP Core service the last_operation is part of the response (https://api.sap.com/api/APIServiceManager/path/getServiceInstanceById). This is also the case in our test recordings.
The provider is relying on the response and its consistency. I will open an internal Jira Ticket and reference you that the responsible team checks if there is an issue with the API.
I close this ticket as there is nothing to be fixed in the provider.

For SAP internal tracking: https://jira.tools.sap/browse/NGPBUG-412110


feat: added bash code blocks

Added bash code blocks

That's great! Create a merge request for the development branch instead to keep master clean, please.


Responsible trading page update

Description
Update responsible trading page with new icons and layout
Changes:

new icons
new layout

Type of change

[ ] Bug fix
[ ] New feature
[x] Refactor code
[ ] Update translation text
[ ] Breaking change
[ ] Dependency update
[ ] This change requires a documentation update
[ ] Release

@sash-binary conflicts


xSQLServer: Changes to the GitHub PR and Issue templates

Changes to the GitHub PR and Issue templates

Commented out descriptive help texts so they don't get submitted by mistake.
Minor style changes in the templates.

This Pull Request (PR) fixes the following issues:
n/a

[ ] Change details added to Unreleased section of CHANGELOG.md?
[ ] Added/updated documentation, comment-based help and descriptions in .schema.mof files where appropriate?
[ ] Examples appropriately updated?
[ ] New/changed code adheres to Style Guidelines?
[ ] Unit and (optional) Integration tests created/updated where possible?

This change is

Codecov Report

Merging #465 into dev will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff         @@
##            dev   #465   +/-   ##
===================================
  Coverage    73%    73%
===================================
  Files        32     32
  Lines      3429   3429
===================================
  Hits       2519   2519
  Misses      910    910

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 319ba1e...af460b4. Read the comment docs.

Let's try these, and if they does not work out we can always change again

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Resolve symlink path and unit test woes under (native) Windows

I think these changes should resolve the test woes.  They also ensure that normpath() gets called for the os.symlink() arguments.

Well, it got through all platform tests but has some linter upset!  I'll see if I can help that out.

The log from black isn't particularly informative:
would reformat /home/runner/work/tsrc/tsrc/tsrc/file_system.py
Oh no! 💥 💔 💥
1 file would be reformatted, 45 files would be left unchanged.
##[error]Process completed with exit code 1.
I get the same result (well, the unicode characters are far less pretty) running the command interactively.

Codecov Report

Merging #251 into dm/symlinks will not change coverage.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##           dm/symlinks     #251   +/-   ##
============================================
  Coverage        89.76%   89.76%
============================================
  Files               25       25
  Lines             1231     1231
  Branches           143      143
============================================
  Hits              1105     1105
  Misses              96       96
  Partials            30       30


merge 3.0 to main

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

:exclamation: No coverage uploaded for pull request base (main@6460394). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #259   +/-   ##
=======================================
  Coverage        ?   67.81%
=======================================
  Files           ?       82
  Lines           ?     9632
  Branches        ?        0
=======================================
  Hits            ?     6532
  Misses          ?     2451
  Partials        ?      649

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


Can't find v115 release

Can't find v115 release

@gz83 @spa5k Well, he is not really rushing. It was supposed to be out right now. But Midzer (the contributor who builds the MacOS releases since I don't have a Mac) is on vacation, and he doesn't have access to the build machine right now. On Sunday he will be back, so expect the releases Sunday or Monday.

Thank you @Alex313031 for the updates, I also wondering why we don't a new release, lol! and BTW, do we have tutorial for building the macOS build? Thank you again!

@csrutil @spa5k I think @midzer has died (not literally) lol. Until I can get ahold of him, I can't release M115 MacOS.
Sorry.

Lol you scared me 😂

I'm alive. We still have to fix current build issues. Message me on IRC, @Alex313031

haha, you guys buy me the whole day laugh! have a great day! @midzer @Alex313031

@midzer You should be able to build Thorium if you disable the HLS args gn flag like you had to do with your experimental Chromium builds.

@csrutil @spa5k Here ya'll go > https://github.com/Alex313031/Thorium-MacOS/releases/tag/M115.0.5790.172
@midzer Has risen from the dead!

One problem solved, two more ahead ;D

@midzer What's the two more?

Solving world peace and the unity of mankind.

Thank you guys, I just made a donation, hope you guys have a good day!

@csrutil Aw thank you sir.


Azure Cognitive Search Enforcement of encryption using Customer Managed Keys

When I call the SearchServices REST API to enable the enforcement of Customer Managed Key Encryption, the response I get back is "Enforcement: Unspecified". I am trying to Enable it. Because at the moment I can create indexes that are not encrypted with Customer managed keys. Please see attached screenshot. Please assist. Thanks

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

ID: 7f2897c3-3062-4c8e-b493-6504bd2354a8
Version Independent ID: ac4109b9-ae3d-c0f6-63a4-7a0fbd426005
Content: Encrypt data using customer-managed keys - Azure Cognitive Search
Content Source: articles/search/search-security-manage-encryption-keys.md
Service: cognitive-search
GitHub Login: @HeidiSteen
Microsoft Alias: heidist

Thanks for the feedback! We are currently investigating and will update you shortly.

Thanks Ryan. I did assign the policy. As far as I understand, the policy is there to check if all your search services, within the scope of the policy, complies and to reject requests if it does not comply. My search service is not complying to the CMK encryption policy, because enforcement is "Unspecified". Even after I have tried to enforce encryption using CMKs on my search service by using the Search Service REST API.

I will create a support request, maybe they can assist further.

Seems like the PATCH api call does not allow you to Enable CMK encryption. So I think that article needs to be updated.

You have to get the definition of your search service:
https://management.azure.com/subscriptions/[Subscription ID]/resourceGroups/[Resource Group Name]/providers/Microsoft.Search/searchServices/[Search Service Name]?api-version=2021-04-01-preview

Then you have to add this JSON to the properties of that search service definition you got back:
"encryptionWithCmk": {
"enforcement": "Enabled",
"encryptionComplianceStatus": "Compliant"
}

Then you can PUT that updated service definition to:
https://management.azure.com/subscriptions/[Subscription ID]/resourceGroups/[Resource Group Name]/providers/Microsoft.Search/searchServices/[Search Service Name]?api-version=2021-04-01-preview


$compile issue

I am getting a sporadic error where I get a compile error for the directive.
Error: [$compile:tpload] http://errors.angularjs.org/1.3.13/$compile/tpload?p0=ngTagsInput%2Ftags-input.html
at Error (native)
at http://localhost:63470/webapp/bundle.js:1375:417
at http://localhost:63470/webapp/bundle.js:1505:257
at http://localhost:63470/webapp/bundle.js:1481:20
at l.$eval (http://localhost:63470/webapp/bundle.js:1494:305)
at l.$digest (http://localhost:63470/webapp/bundle.js:1491:398)
at l.$apply (http://localhost:63470/webapp/bundle.js:1495:58)
at l (http://localhost:63470/webapp/bundle.js:1450:171)
at P (http://localhost:63470/webapp/bundle.js:1454:301)
at XMLHttpRequest.w.onload (http://localhost:63470/webapp/bundle.js:1455:315)
That is the error I am getting. Is this a known bug? Do you have a fix?

Failed to load template: ngTagsInput/tags-input.html

That template file is loaded by ngTagsInput into the templateCache service. It seems that you are compiling some markup before loading the ng-tags-input.js file.
In addition to that, I see you're using Angular 1.3, and ngTagsInput isn't officially compatible with that version yet. That doesn't necessarily mean it won't work with that particular version, just that I can't guarantee it will.

Would you recommend I revert back to an older version of angular? A version
of 1.2?
On 17 March 2015 at 20:48, Michael Benford<EMAIL_ADDRESS>wrote:

Failed to load template: ngTagsInput/tags-input.html
That template file is loaded by ngTagsInput into the templateCache
service. It seems that you are compiling some markup before loading the
ng-tags-input.js file.
In addition to that, I see you're using Angular 1.3, and ngTagsInput isn't
officially compatible with that version yet. That doesn't necessarily mean
it won't work with that particular version, just that I can't guarantee it
will.
—
Reply to this email directly or view it on GitHub
https://github.com/mbenford/ngTagsInput/issues/401#issuecomment-82522768
.

--
Ross Rawlins
Tel:<PHONE_NUMBER>
Cell:<PHONE_NUMBER>
Skype: ross.rawlins
Email<EMAIL_ADDRESS>http://www.duovili.co.za
https://plus.google.com/113781084234234096576/posts
https://www.facebook.com/Duovili
http://www.linkedin.com/company/duovili/ https://twitter.com/Duovili
This e-mail message and all attachments contain the CONFIDENTIAL AND
PROPRIETARY information of DUOVILI DEVELOPMENTS. and may contain LEGALLY
PRIVILEGED information. If you are not the intended recipient, you are
hereby notified that any disclosure, distribution, or use of this e-mail,
its attachments or any information contained therein is unauthorised and
prohibited. If you have received this in error, please contact the sender
immediately and delete this e-mail and any attachments.

Would you recommend I revert back to an older version of angular?

Not at all. That would probably cause more harm than good to you. Besides, there are some people using ngTagsInput along with Angular 1.3 and none of them has reported this particular problem.
As I said above, the tags-input.html file isn't being added to template cache. I see you're using a bundle file; perhaps during the its generation something is being included out of order.

Any update on this?

I had to force a refresh. Only quick way to solve this. you can close the
ticket.
On 25 March 2015 at 05:26, Michael Benford<EMAIL_ADDRESS>wrote:

Any update on this?
—
Reply to this email directly or view it on GitHub
https://github.com/mbenford/ngTagsInput/issues/401#issuecomment-85811935
.

--
Ross Rawlins
Tel:<PHONE_NUMBER>
Cell:<PHONE_NUMBER>
Skype: ross.rawlins
Email<EMAIL_ADDRESS>http://www.duovili.co.za
https://plus.google.com/113781084234234096576/posts
https://www.facebook.com/Duovili
http://www.linkedin.com/company/duovili/ https://twitter.com/Duovili
This e-mail message and all attachments contain the CONFIDENTIAL AND
PROPRIETARY information of DUOVILI DEVELOPMENTS. and may contain LEGALLY
PRIVILEGED information. If you are not the intended recipient, you are
hereby notified that any disclosure, distribution, or use of this e-mail,
its attachments or any information contained therein is unauthorised and
prohibited. If you have received this in error, please contact the sender
immediately and delete this e-mail and any attachments.


fs2 Exercises

It'll be nice to have some fs2 exercises. We could get some exercises from the official guide:

http://fs2.io/guide.html

Amazing! Would you be interested in providing a PR?

Yes, we are planning to do it, just we need to find some time.

Great :)


Bad code in google_api_handler

Catching an error to calculate max_x and max_y in get_full_panos doesn't seem like the best solution.

As now we only use zoom_level 0 this problem resolved itself and is removed.


When user tries to open the chart in new tab user always redirect to bubble chart page

SEVERITY:  Major
MODULE:

Bubble Chart
Bubble Map
Mountain Chart

PLATFORM:

Windows 7 / Chrome 49.0
*Windows 7 / Firefox 44.0

STEPS TO REPRODUCE:

Navigate to the URL: http://tools-stage.gapminderdev.org
Scroll down the page
Right click on chart icon
Open the chart in new tab
Observe the URL

ACTUAL RESULTS:
The user redirects to bubble chart page
EXPECTED RESULTS:
The user should redirect to the page of the related chart

fixed on tools page by @vvpanchenko


Include a reference table of supported metrics

I believe all reporters should include a table with the name of the Telemetry.Metric and what is their equivalent on the report terminology. Something like this:

Telemetry Metric
XYZ Metric

counter
...

last_value
...

sum
...

summary
...

histogram
...

If a metric is not supported, that's a good place to document it too.
WDYT?

@josevalim yeah, I do have that in the module docs in https://hexdocs.pm/telemetry_metrics_prometheus_core/TelemetryMetricsPrometheus.Core.html#module-telemetry-metrics-to-prometheus-equivalents. It should probably be added to the overview doc.
Were you thinking to add it to the README, as well?

@bryannaegele ah, so that's fine. Apologies for missing it!


get_artifact should raise an exception in the event of errors

In https://github.com/simvue-io/client/tree/fix_artifacts

Implemented in https://github.com/simvue-io/client/pull/72


Add new fetch method: Playwright Chromium (Selenium/WebDriver alterna…

requirements.txt install step is going to fail on armv6/v7 devices if you pip install changdetectionio
requirements.txt install step is going to fail on armv6/v7 devices when building containers using docker buildx for all architectures

Co-authored-by: Wee Sritippho<EMAIL_ADDRESS>

Original patch playwright.txt

@weeix over here :)

If we move Playwright to requirements-optional.txt, in the main Dockerfile, we could append  || <other command> to ignore the error:
RUN pip install --target=/dependencies -r /requirements.txt
RUN pip install --target=/dependencies -r /requirements-optional.txt \
    || echo "WARN: Some dependencies failed to install. The application can still run, but some features would be disabled"

Then in the content_fetcher.py file, we would only define the html_playwright class if ModuleNotFoundError isn't raised.
from abc import ABC, abstractmethod
import chardet
import os
import requests
import time
import urllib3.exceptions
try:
    from playwright.sync_api import sync_playwright
except ModuleNotFoundError:
    sync_playwright = None

# ...

if sync_playwright is not None:
    class html_playwright(Fetcher):
        # ...

P.S. The import might have to be moved out of the class though. I can't think of a way to accomplish this while keeping the import inside the class yet.
As for the pip install changedetectionio, I think we could declare Playwright as an optional dependency and tell users to run pip install changedetectionio[playwright] if they wish to use Playwright. But I haven't packaged a Python project before, so I'm not sure about this.

try:
    from playwright.sync_api import sync_playwright
except ModuleNotFoundError:
    sync_playwright = None

just move this to inside the class html_playwright(Fetcher): and it will be OK, as it wont stop the other ones from running if there is a problem

just move this to inside the class html_playwright(Fetcher): and it will be OK, as it wont stop the other ones from running if there is a problem

But we can't undefine a class inside the class itself:
>>> class SampleClass():
...     try:
...         from playwright.sync_api import sync_playwright
...     except ModuleNotFoundError:
...         del SampleClass
...
Traceback (most recent call last):
  File "<stdin>", line 3, in SampleClass
ModuleNotFoundError: No module named 'playwright'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 5, in SampleClass
NameError: name 'SampleClass' is not defined

Maybe we don't need to undefine it after all. Simply add another attribute fetcher_enabled and filter it out using p = filter(lambda x: x.fetcher_enabled, p) in the available_fetchers().
class html_playwright(Fetcher):
    try:
        from playwright.sync_api import sync_playwright
        fetcher_enabled = True
    except ModuleNotFoundError:
        fetcher_enabled = False

page.goto(url=watch['url'], wait_until='networkidle')
time.sleep(2)

still doesnt quite render the right side list/thumbnails.. unsure what it could be

@weeix merged in! basically works!


New mode that does not have any effect

The mode just receives commands from the server without taking any action when it receives the command.
The new commands are simply printed to the log and read by TTS

Added new mode No Action


Add len to Schedule in Pulse along with related tests.

Summary
Issue: #4171
This commit adds a __len__ function to the Schedule class in Pulse, allowing users to obtain the number of instructions present in that Schedule object with len().
Enabling the use of len() on a Schedule object also allows for checking if a schedule is empty. It acts as a replacement for bool() in the following situation - if not Schedule(): print('Empty'), which will now print 'Empty'.
Tests related to the above were written in test/python/pulse/test_schedule.py by asserting that an empty schedule is False and len() equal to zero. Asserting the equality of len() and number of instructions appended to a schedule at each step were also tested.
Details and comments
Although __len__ being based on self.instructions is a bit inefficient, I was assured that it will be mitigated in a new refactor.

Thank you for your contribution @neonipun! just one small change I suggest.

Done! I committed your suggested change. Let me know if I missed or messed up a step for this PR to be merged!


"[js] Invalid character." for private class fields

VSCode Version: 1.19.0-insider
OS Version: Windows 7 x64

Steps to Reproduce:

Open or create a JS file
Paste in the example code from https://github.com/tc39/proposal-class-fields#private-fields

class Counter extends HTMLElement {
  #x = 0;

  clicked() {
    this.#x++;
    window.requestAnimationFrame(this.render.bind(this));
  }

  constructor() {
    super();
    this.onclick = this.clicked.bind(this);
  }

  connectedCallback() { this.render(); }

  render() {
    this.textContent = this.#x.toString();
  }
}
window.customElements.define('num-counter', Counter);

Observe # characters are marked as invalid

Reproduces without extensions: Yes

This isn't integrated into the JavaScript standard ECMA Script yet:

Private class fields are now at Stage 2 in the JavaScript standard process. It's not finalized yet, but the JavaScript standards committee expects the feature to be developed and eventually included in the standard (although it may still change). Source

Paste in the example code from https://github.com/tc39/proposal-class-fields#private-fields

Your linked page is only a proposal, not a standard.

@maxibanki They are at stage-3, which means they are ready for implementation by user-agents.  I'm not experiencing any errors with other stage-3 proposals in VSCode right now.

Tracked upstream by https://github.com/Microsoft/TypeScript/issues/9950


Inventory

Inventory

Inventory now exists, can left click or right click to use, examine, drop, etc.
Enemies have a 50% chance to drop bones (adjustable), trees drop logs
Item types (currently have Bones and Logs) can be added by adding their class in /ui/itemTypes.js and adding them as a drop in a level
Items are saved in cookies

Other

Changed prettier settings to increase width by a bit, felt a bit cramped
Moved autoclicker text to the middle left so it's not in the way of the inventory and made it gold
Moved item loading to the load.js scene rather than dynamically in the shop
Added subfolders like weapons under assets/items (that's why theres a bunch of changed files)

Todo

Make prayer and make burying bones actually increase prayer XP
Make items draggable to move around
Cleanup shop item class vs classes in itemTypes
Move more customization into the individual scenes and re-combine level and enemy-level, and maybe recombine resource/enemy classes to a generic "Target" class.
Make right click menu close more consistently (happens when you move your mouse over the options text when exiting the box, this causes it to not register as a pointerout event)

More todos
6) Implement the rest of the weapon classes and add them into the item-manifest object

Implemented all the changes we talked about. It will take a lot of manual data entry to create all the individual item classes for each weapon combination so I'm going to do those on a rolling basis as we add them into the game.


Implement new Websocket service

Spec: https://docs.google.com/document/d/112iUKhqqsC1-Z62myUS72RNIz1n7zybLJiJfsEQhdMw/edit?usp=sharing
Moving to a new repository

[x] Move WebSocket code to a new repository.

[x] Move the client code

[x] Move the server code

Listener and service

[x] Implement the new service type design

[x] Add a new listener for WebSocket

[x] Create websocket listener using the http:Listener (Need to discuss)

[x] Server side should include a new service for handling upgrade requests

[x] Remove caller from the remote functions. (Not finalized)

[x] Query param, path param support for WebSocket upgrade service.

[x] Custom headers

[x] Change Listener method to return errors

[x] Add Auth support

[x] Migrate BBEs

Post Alpha

[x] Compiler plugin validation for service

[x] Chunk Messages - https://github.com/ballerina-platform/ballerina-standard-library/issues/828

[x] Revisit errors - https://github.com/ballerina-platform/ballerina-standard-library/issues/923

Sync client (Primary)

[x] Finalize the new client design -
[x] Initial implementation
[x] Add BBEs and documentation

Post SL GA

[ ] ~Failover implementation~
[x] Retry implementation
[x] Cookie support
[x] Add Auth support
[x] Compiler plugin validation

Async client (Secondary)

Spec: https://docs.google.com/document/d/112iUKhqqsC1-Z62myUS72RNIz1n7zybLJiJfsEQhdMw/edit?usp=sharing
Need to align websocket async client according to the new design mentioned in the spec.
[x] Take the callback service in client init.
[x] Rename pushText and pushBinary to writeTextMessage and writeBinaryMessage
[x] Rename onBinary and onText to onBinaryMessage and onTextMessage
[x] Remove readyOnConnect API
[x] Change Client init method to return errors
[x] Update BBEs

Post SW GA

[ ] ~Failover implementation~
[x] Retry implementation
[x] Cookie support
[x] Add Auth support
[x] Compiler plugin validation

Closing the issue as the service implementation is done.


organize import sort order is incorrect

Type: Bug
after installing the nightly extension and selection the vscode Typescript version the import organized in incorrect order

find the SS for the incorrect import statement.

the issue does not appear when switched to workspace version of typescript

Extension version: 5.0.202301160
VS Code version: Code - Insiders 1.75.0-insider (1379f0375440df946adc62f7afb8375dd45d5adf, 2023-01-17T05:21:07.217Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 2112)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.82GB (3.23GB free)

Process Argv
--crash-reporter-id e5294b27-02c9-4438-b8f3-90acb1091b3b

Screen Reader
no

VM
0%

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30422396
pythontb:30258533
vsc_aacf:30263846
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805:30301674
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30404738
cppdebug:30492333
vscaat:30438846
vsclangdf:30492506
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30618038
pylantcb52:30590116
pyindex848:30611229
nodejswelcome1:30587009
pyind779:30611226
pythonsymbol12cf:30622697
fim-prod:30623723

(comment from @andrewbranch) That's the new default—ASCII order—which matches what eslint enforces. The default is actually to auto-detect if you are currently case-sensitive or case-insensitive and match that. But if there is no detectable sort, we did switch the default to case-sensitive.
This will be a configurable option in VS Code in the near future

I acknowledge this is entirely subjective but I do greatly prefer the original order where the camelCase imports came first.
@RyanCavanaugh Both sorts in the OP look to be case-sensitive - the difference seems to be whether the lowercase or uppercase imports come first.

It’s just a coincidence in the old order that the lowercase letters are alphabetically before the uppercase ones. It was not case-sensitive before.

how do i make it case insensitive?

This will be a configurable option in VS Code in the near future

:(
my team is habituated with the case insensitive organize, now every time I commit I get a review comment for the import not being in proper order :D
is there any ticket where created for this where it can be tracked?

I don't know, but in the meantime I think you can specify
{
  "typescript.unstable": {
    "organizeImportsIgnoreCase": true,
  }
}

Yep, I totally forgot that was a thing (that I made 😄) until Ron was using it recently. That should work

In which file do I have to set the typescript.unstable option?


[PE-D] Phone numbers with less than 9 digits are allowed

You may or may not consider this a bug, which is why I have indicated low severity
This is a feature inherited from AB3 which only requires 3 digits for phone number, but phone numbers in Singapore have exactly 8 digits
I suggest following the local phone number format for better accuracy

Labels: type.FeatureFlaw severity.Low
original: myc37/ped#3

This is intentional because we are not limiting to only Singaporean numbers and it is possible for certain numbers to only have 3 digits for emergency numbers.


"c." printing when no copy Id is in item

Thanks so much for such a helpful app, we're working on implementing it here at Linda Hall Library and we've run into one small snag. For our serials, we shelve by title. In the SpineOMatic client, we use location, call number, issue description, and copy and if there is nothing in the copy id field, it doesn't print the "c."
In the app, we've got it configured to do the same, but it is still printing the "c." when there is nothing there.

Any assistance would be appreciated.
Jane

Fixed for next release.


"schema definition" is not linked in jp/docs/grpc/

What is wrong with the website or needs to be cleaned?
"schema definition" should be linked to https://falco.org/jp/docs/grpc/version/ .

https://falco.org/jp/docs/grpc/

/assign

/assign


fix pylint errors

Checklist before submitting

[ ] Did you read the contributor guide?
[ ] Did you update any affected documentation?
[ ] Did you write any tests to validate this change?

Description
Fixes https://github.com/open-ce/open-ce-builder/issues/148
Review process to land

All tests and other checks must succeed.
At least one maintainer must review and approve.
If any  maintainer requests changes, they must be addressed.

Codecov Report
Base: 96.17% // Head: 96.12% // Decreases project coverage by -0.04% :warning:

Coverage data is based on head (2ace3e2) compared to base (264424d).
Patch coverage: 96.36% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #147      +/-   ##
==========================================
- Coverage   96.17%   96.12%   -0.04%
==========================================
  Files          23       23
  Lines        2114     2116       +2
==========================================
+ Hits         2033     2034       +1
- Misses         81       82       +1

Flag
Coverage Δ

unittests
96.12% <96.36%> (-0.04%)
:arrow_down:

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

Impacted Files
Coverage Δ

open_ce/utils.py
94.66% <90.91%> (-0.34%)
:arrow_down:

open_ce/build_env.py
95.92% <100.00%> (ø)

open_ce/build_image.py
93.67% <100.00%> (ø)

open_ce/build_tree.py
96.88% <100.00%> (ø)

open_ce/conda_env_file_generator.py
100.00% <100.00%> (ø)

open_ce/conda_utils.py
98.88% <100.00%> (ø)

open_ce/container_build.py
96.38% <100.00%> (ø)

open_ce/env_config.py
95.77% <100.00%> (ø)

open_ce/errors.py
100.00% <100.00%> (ø)

open_ce/get_licenses.py
97.38% <100.00%> (ø)

... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Codecov Report
Base: 96.17% // Head: 96.13% // Decreases project coverage by -0.04% :warning:

Coverage data is based on head (f923c19) compared to base (264424d).
Patch coverage: 97.26% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #147      +/-   ##
==========================================
- Coverage   96.17%   96.13%   -0.04%
==========================================
  Files          23       23
  Lines        2114     2120       +6
==========================================
+ Hits         2033     2038       +5
- Misses         81       82       +1

Flag
Coverage Δ

unittests
96.13% <97.26%> (-0.04%)
:arrow_down:

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

Impacted Files
Coverage Δ

open_ce/utils.py
94.66% <90.91%> (-0.34%)
:arrow_down:

open_ce/build_env.py
95.92% <100.00%> (ø)

open_ce/build_image.py
93.67% <100.00%> (ø)

open_ce/build_tree.py
96.88% <100.00%> (ø)

open_ce/conda_env_file_generator.py
100.00% <100.00%> (ø)

open_ce/conda_utils.py
98.92% <100.00%> (+0.05%)
:arrow_up:

open_ce/container_build.py
96.38% <100.00%> (ø)

open_ce/env_config.py
95.77% <100.00%> (ø)

open_ce/errors.py
100.00% <100.00%> (ø)

open_ce/get_licenses.py
97.38% <100.00%> (ø)

... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Codecov Report
Base: 96.17% // Head: 96.13% // Decreases project coverage by -0.04% :warning:

Coverage data is based on head (f923c19) compared to base (264424d).
Patch coverage: 97.26% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #147      +/-   ##
==========================================
- Coverage   96.17%   96.13%   -0.04%
==========================================
  Files          23       23
  Lines        2114     2120       +6
==========================================
+ Hits         2033     2038       +5
- Misses         81       82       +1

Flag
Coverage Δ

unittests
96.13% <97.26%> (-0.04%)
:arrow_down:

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

Impacted Files
Coverage Δ

open_ce/utils.py
94.66% <90.91%> (-0.34%)
:arrow_down:

open_ce/build_env.py
95.92% <100.00%> (ø)

open_ce/build_image.py
93.67% <100.00%> (ø)

open_ce/build_tree.py
96.88% <100.00%> (ø)

open_ce/conda_env_file_generator.py
100.00% <100.00%> (ø)

open_ce/conda_utils.py
98.92% <100.00%> (+0.05%)
:arrow_up:

open_ce/container_build.py
96.38% <100.00%> (ø)

open_ce/env_config.py
95.77% <100.00%> (ø)

open_ce/errors.py
100.00% <100.00%> (ø)

open_ce/get_licenses.py
97.38% <100.00%> (ø)

... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Codecov Report
Base: 96.17% // Head: 96.12% // Decreases project coverage by -0.04% :warning:

Coverage data is based on head (1eb9860) compared to base (264424d).
Patch coverage: 97.10% of modified lines in pull request are covered.

:exclamation: Current head 1eb9860 differs from pull request most recent head 34b35c2. Consider uploading reports for the commit 34b35c2 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #147      +/-   ##
==========================================
- Coverage   96.17%   96.12%   -0.04%
==========================================
  Files          23       23
  Lines        2114     2116       +2
==========================================
+ Hits         2033     2034       +1
- Misses         81       82       +1

Flag
Coverage Δ

unittests
96.12% <97.10%> (-0.04%)
:arrow_down:

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

Impacted Files
Coverage Δ

open_ce/utils.py
94.66% <90.91%> (-0.34%)
:arrow_down:

open_ce/build_env.py
95.92% <100.00%> (ø)

open_ce/build_image.py
93.67% <100.00%> (ø)

open_ce/build_tree.py
96.88% <100.00%> (ø)

open_ce/conda_env_file_generator.py
100.00% <100.00%> (ø)

open_ce/conda_utils.py
98.88% <100.00%> (ø)

open_ce/container_build.py
96.38% <100.00%> (ø)

open_ce/env_config.py
95.77% <100.00%> (ø)

open_ce/errors.py
100.00% <100.00%> (ø)

open_ce/get_licenses.py
97.38% <100.00%> (ø)

... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Codecov Report
Base: 96.17% // Head: 96.12% // Decreases project coverage by -0.04% :warning:

Coverage data is based on head (1eb9860) compared to base (264424d).
Patch coverage: 97.10% of modified lines in pull request are covered.

:exclamation: Current head 1eb9860 differs from pull request most recent head 34b35c2. Consider uploading reports for the commit 34b35c2 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #147      +/-   ##
==========================================
- Coverage   96.17%   96.12%   -0.04%
==========================================
  Files          23       23
  Lines        2114     2116       +2
==========================================
+ Hits         2033     2034       +1
- Misses         81       82       +1

Flag
Coverage Δ

unittests
96.12% <97.10%> (-0.04%)
:arrow_down:

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

Impacted Files
Coverage Δ

open_ce/utils.py
94.66% <90.91%> (-0.34%)
:arrow_down:

open_ce/build_env.py
95.92% <100.00%> (ø)

open_ce/build_image.py
93.67% <100.00%> (ø)

open_ce/build_tree.py
96.88% <100.00%> (ø)

open_ce/conda_env_file_generator.py
100.00% <100.00%> (ø)

open_ce/conda_utils.py
98.88% <100.00%> (ø)

open_ce/container_build.py
96.38% <100.00%> (ø)

open_ce/env_config.py
95.77% <100.00%> (ø)

open_ce/errors.py
100.00% <100.00%> (ø)

open_ce/get_licenses.py
97.38% <100.00%> (ø)

... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Codecov Report
Base: 96.17% // Head: 96.12% // Decreases project coverage by -0.04% :warning:

Coverage data is based on head (34b35c2) compared to base (264424d).
Patch coverage: 97.10% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #147      +/-   ##
==========================================
- Coverage   96.17%   96.12%   -0.04%
==========================================
  Files          23       23
  Lines        2114     2116       +2
==========================================
+ Hits         2033     2034       +1
- Misses         81       82       +1

Flag
Coverage Δ

unittests
96.12% <97.10%> (-0.04%)
:arrow_down:

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

Impacted Files
Coverage Δ

open_ce/utils.py
94.66% <90.91%> (-0.34%)
:arrow_down:

open_ce/build_env.py
95.92% <100.00%> (ø)

open_ce/build_image.py
93.67% <100.00%> (ø)

open_ce/build_tree.py
96.88% <100.00%> (ø)

open_ce/conda_env_file_generator.py
100.00% <100.00%> (ø)

open_ce/conda_utils.py
98.88% <100.00%> (ø)

open_ce/container_build.py
96.38% <100.00%> (ø)

open_ce/env_config.py
95.77% <100.00%> (ø)

open_ce/errors.py
100.00% <100.00%> (ø)

open_ce/get_licenses.py
97.38% <100.00%> (ø)

... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Codecov Report
Base: 96.17% // Head: 96.12% // Decreases project coverage by -0.04% :warning:

Coverage data is based on head (34b35c2) compared to base (264424d).
Patch coverage: 97.10% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #147      +/-   ##
==========================================
- Coverage   96.17%   96.12%   -0.04%
==========================================
  Files          23       23
  Lines        2114     2116       +2
==========================================
+ Hits         2033     2034       +1
- Misses         81       82       +1

Flag
Coverage Δ

unittests
96.12% <97.10%> (-0.04%)
:arrow_down:

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

Impacted Files
Coverage Δ

open_ce/utils.py
94.66% <90.91%> (-0.34%)
:arrow_down:

open_ce/build_env.py
95.92% <100.00%> (ø)

open_ce/build_image.py
93.67% <100.00%> (ø)

open_ce/build_tree.py
96.88% <100.00%> (ø)

open_ce/conda_env_file_generator.py
100.00% <100.00%> (ø)

open_ce/conda_utils.py
98.88% <100.00%> (ø)

open_ce/container_build.py
96.38% <100.00%> (ø)

open_ce/env_config.py
95.77% <100.00%> (ø)

open_ce/errors.py
100.00% <100.00%> (ø)

open_ce/get_licenses.py
97.38% <100.00%> (ø)

... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Broken w/ RN 59 (expo SDK 33)

Prerequisites:

<EMAIL_ADDRESS><EMAIL_ADDRESS>
Current behaviour:

When changing render function the following way (removing all animation logic):
render() {
      return (
        <AnimatedSvg height={this.props.height} width={this.props.width}>
          {this.props.children}
        </AnimatedSvg>
      );
}

It looks better:

Updating to<EMAIL_ADDRESS>didn't help. I assume, there are some incompatibilities w/ the latest RN API.

Hi,
I got the same problem after updating to expo 33 and
<EMAIL_ADDRESS><EMAIL_ADDRESS>and fixed it.

With no logic as you same behaviour:

But i fixed it by changing like this the code (removing th G arround the props):
Old one:
<ClipPath id="clip">
    <G rotation="50" origin="100, 50">
        {this.props.children}
    </G>
</ClipPath>

New one:
<ClipPath id="clip">
    {this.props.children}
</ClipPath>

Current view fixed:

Maybe need an update to this package.
Good day!

thanks @ncailleux
thats work perfect for me
its rotate problem

Solved in https://github.com/virusvn/react-native-svg-animated-linear-gradient/pull/19


Clarification Needed on IAM Identity Center Configuration Step in CDK Deployment (Step 2)

Hello,
I am working through the steps for configuring IAM Identity Center in a deployment that involves SAML integration with Amazon Cognito, following the CDK deployment. Specifically, I am referring to Step 2: Configure IAM Identity Center. I have some questions regarding why the application setup, metadata configuration, and attribute mappings (for subject and email) are needed in this context.
Steps Involved:
Adding a custom SAML 2.0 application in IAM Identity Center.
Manually configuring the Application Assertion Consumer Service (ACS) URL and SAML Audience.
Mapping the following attributes:
Subject: Maps to ${user:subject} with Persistent format.
Email: Maps to ${user:email} with Basic format.
Questions:
Purpose of Custom SAML Setup: Why is it necessary to configure a custom SAML 2.0 application in IAM Identity Center for the initial deployment, particularly when dealing with the Cognito user pool?

while opening the SAML 2.0 application, it is showing

Hi, yep, I can help explain. DataZone makes use of IAM Identity Center for its identity provider. The solutions guidance makes use of Cognito for auth for the API for registering assets (via API Gateway). We wanted to be able to federate the identities used for DataZone so that the API could use the same identities so we configured this integration.


Update README.md

@all-contributors please add @ for

@all-contributors please add @ for

@all-contributors please add @karenyov for code