MI platform-support for Linux Ubuntu\CentOS

Hello,
I have below 3 queries. Please add your inputs.

Is MI platform supported for Linux Ubuntu\CentOS ?

The Roadmap has this listed.
Vagrant (Linux + VirtualBox) http://microservices-infrastructure.readthedocs.org/en/latest/roadmap.html
The Git page doesnot have Linux support listed in "Platform Support" section.
https://github.com/CiscoCloud/microservices-infrastructure

When I executed provision.sh standalone on CentOS VM, It asked for admin password for nginx,
2. Is this password prompt the reason "vagrant up" is timeout as it might be waiting for admin-password for nginx,?

I am getting below error on CentOS VM, and error continues after increasing timeout also.
3. Is there any known workaround for this error?
[@default microservices-infrastructure]$ sudo vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'CiscoCloud/microservices-infrastructure'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'CiscoCloud/microservices-infrastructure' is up to date...
==> default: Setting the name of the VM: microservices-infrastructure_default_1441528211044_51091
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: <IP_ADDRESS>:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.
If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.

Mi runs on Linux/CentOS. It doesn't run on Ubuntu (which is a different Linux distro than CentOS) because of differences in the ecosystem, like for example the yum package manager, which is used by MI.

The nginx password prompt is run as part of the security-setup script, which generates various secrets, public/private keys and certificates for MI. You can run that on beforehand (./security-setup) and it will generate a file security.yml for you. I haven't used the Vagrant stuff yet, but I believe it will then use the existing security.yml and not create a new one.

Thanks!
I am getting below error over centos-se linux.
Please suggest what is missing?
[@default microservices-infrastructure]$ cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
#Vagrantfile
Prefer VirtualBox before VMware Fusion
config.vm.provider "virtualbox"
config.vm.provider "vmware_fusion"

[@default microservices-infrastructure]$ ls
ansible.cfg    docker_launch.sh  LICENSE              packer     README.md         security-setup     ssl                   vagrant
CHANGELOG.rst  docs              mantl-logo-1.png     playbooks  requirements.txt  security.yml       terraform             Vagrantfile
Dockerfile     examples          mantl-rename-faq.md  plugins    roles             security.yml.orig  terraform.sample.yml  vagrant.yml

[@default microservices-infrastructure]$ sudo vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'CiscoCloud/microservices-infrastructure'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'CiscoCloud/microservices-infrastructure' is up to date...
==> default: Setting the name of the VM: microservices-infrastructure_default_1441528211044_51091
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: <IP_ADDRESS>:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.
If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.

[cisco@default microservices-infrastructure]$ cat Vagrantfile
-- mode: ruby --
vi: set ft=ruby :
require 'yaml'
def load_security
fname = File.join(File.dirname(FILE), "security.yml")
if !File.exist? fname
$stderr.puts "security.yml not found - please run ./security-setup and try again."
exit 1
end
YAML.load_file(fname)
end
VAGRANT_PRIVATE_IP = "<IP_ADDRESS>"
Vagrant.configure(2) do |config|
Prefer VirtualBox before VMware Fusion
config.vm.provider "virtualbox"
config.vm.provider "vmware_fusion"
config.vm.box = "CiscoCloud/microservices-infrastructure"
config.vm.synced_folder ".", "/vagrant", type: "rsync"
config.vm.network "private_network", :ip => VAGRANT_PRIVATE_IP
config.vm.provision "shell" do |s|
s.path = "vagrant/provision.sh"
s.args = VAGRANT_PRIVATE_IP
end
config.vm.provider :virtualbox do |vb|
vb.customize ['modifyvm', :id, '--cpus', 1]
vb.customize ['modifyvm', :id, '--memory', 1536]
end
end

The Vagrant build should pick up the security.yml file. I haven't see that timeout before. Can you verify the version of Vagrant and VirtualBox you are running? You need Vagrant 1.7.3+ and probably virtualbox 4.3+.

I have below versions.
I understand I need Vagrant updated 1.7.3. Do I need to update virtualbox also to 5.0?
Vagrant 1.7.2
Virtualbox 4.3.30

Vagrant 1.7.4
Virtualbox 4.3.30
Same timeout error.

Vagrant 1.7.4
Virtualbox 5.0
All latest versions. Same timeout error.
Could someone suggest the fix?

What is your host OS? Windows? OS X? I'm not sure whether that could impact the result of the build (though it's not supposed to)

OS is CentOS-7 with SE enabled.

Any thoughts to fix the vagrant issue on CentOS-7 with SE enabled ?
Vagrant 1.7.4
Virtualbox 5.0
All latest versions. Same timeout error.
Could someone suggest the fix?

I have tried with lower Virtualbox version as well.
Any thoughts to fix the vagrant issue on CentOS-7?
Vagrant 1.7.2
Virtualbox 4.3

Are you running vagrant 1.7.2? You definitely need Vagrant 1.7.3+

I tried with 1.7.4 vagrant , same error!  Any more thoughts for the fix?
============================================================
Vagrant 1.7.4
Virtualbox 4.3
MI 0.3.2
CentOS7
============================================================
[@CentOS7 ~]$ vboxmanage --version
4.3.30r101610
[@CentOS7 ~]$ vagrant --version
Vagrant 1.7.4
[@CentOS7 ~]$ systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled)
Active: inactive (dead)
[@CentOS7 ~]$ sestatus
SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   permissive
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Max kernel policy version:      28
============================================================
[cisco@CentOS7 microservices-infrastructure]$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'CiscoCloud/microservices-infrastructure'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'CiscoCloud/microservices-infrastructure' is up to date...
==> default: Setting the name of the VM: microservices-infrastructure_default_1442676583790_85866
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: <IP_ADDRESS>:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.
If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.
=================================================================

With Vagrant ip --debug ... I see following logs ... "Command not in installer"
Is it something to do with vagrant or virtualbox issue ?
Vagrant 1.7.4
Virtualbox 4.3
MI 0.3.2
CentOS7
====================================================================
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
DEBUG virtualbox_4_3:   - [1, "ssh", 2222, 22]
DEBUG ssh: Checking key permissions: /home/cisco/.vagrant.d/insecure_private_key
INFO ssh: Attempting SSH connection...
INFO ssh: Attempting to connect to SSH...
INFO ssh:   - Host: <IP_ADDRESS>
INFO ssh:   - Port: 2222
INFO ssh:   - Username: vagrant
INFO ssh:   - Password? false
INFO ssh:   - Key Path: ["/home/cisco/.vagrant.d/insecure_private_key"]
INFO subprocess: Starting process: ["/usr/bin/VBoxManage", "showvminfo", "dadac1d1-01b0-4f88-abe5-5668d0706755", "--machinereadable"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: name="microservices-infrastructure_default_1442677009730_22726"
groups="/"

Any inputs??

[Solved]
Added Hardware Virtualization on vSphere VM.
It would be good to add advisory to MI outpur when failure happens, since 32-bit vbox doesn't give failure and User assumes failure is only with MI vbox.
Vagrant Failing with 64 bit vbox:
The vagrant instantiation using vbox 64-bit on GCP-Pod has been failing (e.g. hashicorp/precise64 or CiscoCloud/microservices-infrastructure).
Vagrant Passing with 32 bit vbox:
The vagrant instantiation using vbox 32-bit on GCP-Pod has been passing (e.g hashicorp/precise32).
The issue might puzzle since 32-bit vbox works while 64-bit vbox fails with vagrant and this kills many cycles by the time 32-bit Vs 64-bit difference is detected!
======================================================================
Enable Hardware Virtualization over vSphere VM, on which vagrant is creating the instance.
The instruction are shared below.

From vSphere Client.
a.	Power off VM
b.	Right click on the VM, and click the Upgrade Virtual Hardware

Next, login to WebSphere client
a.	click on the VM, check the Settings option.
b.	To verify if it changed in to VM version 10, and click edit.

From WebSphere client
a.	Check the option and click CPU, check the option Hardware virtualization, click OK. you are done.

I guess the Vagrant stuff should have more documentation in general...?

@deepagargit I am wondering if the vSphere api will allow us to do that automatically.  Does your vm ovf have these settings already?  This might be a vm ovf setting where you can upgrade then save the ovf for later use.


[Japanese/Python] WorkshopPipeline fails to execute

Describe the bug
WorkshopPipelineStack (CodePipeline) execution fails.
Expected Behavior
WorkshopPipelineStack runs successfully.
Current Behavior
The following error occurred during the CodeBuild.
[Container] 2022/11/16 07:56:02 Running command cdk synth
Traceback (most recent call last):
  File "/codebuild/output/src486291841/src/app.py", line 6, in <module>
    from cdk_workshop.pipeline_stack import WorkshopPipelineStack
  File "/codebuild/output/src486291841/src/cdk_workshop/pipeline_stack.py", line 8, in <module>
    from pipeline_stage import WorkshopPipelineStage
ModuleNotFoundError: No module named 'pipeline_stage'

Subprocess exited with error 1

Reproduction Steps
This occurs when the Japanese version of the procedure is performed.
It does not occur in the English version.
Possible Solution
Modify the following to match the English version.
  from constructs import Construct
  from aws_cdk import (
      Stack,
      aws_codecommit as codecommit,
      pipelines as pipelines,
  )
- from pipeline_stage import WorkshopPipelineStage
+ from cdk_workshop.pipeline_stage import WorkshopPipelineStage

  class WorkshopPipelineStack(Stack):

Additional Information/Context
No response
CDK CLI Version
2.50.0 (build 4c11af6)
Section
Advanced Topics / CDK Pipelines / Add Application to Pipeline (Japanese)
Browser
Chrome
Language
Python

Thanks for reporting this, and for the PR 🙂


Hide PIN in lovelace UI

Proposed change
PINs will now be hidden in the lovelace UI:

The cleartext PIN can still be seen in History and Developer Tools > States. I think the idea behind the request is that the lovelace dashboard can be made visible to users but Developer Tools are only available to admins (History is available to users so they still have a way to see it for now)
Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (which adds functionality)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests

Additional information

This PR fixes or closes issue: fixes #
This PR is related to issue:

Codecov Report

Merging #17 (f94a08c) into main (d61182e) will decrease coverage by 0.52%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
- Coverage   69.49%   68.96%   -0.53%
==========================================
  Files           5        5
  Lines         295      290       -5
==========================================
- Hits          205      200       -5
  Misses         90       90

Impacted Files
Coverage Δ

custom_components/keymaster/sensor.py
100.00% <0.00%> (ø)


File in tutorial doesn't exist

The dinput.dll doesn't exist. Also the tutorial is extremely hard to understand, I have no clue how to install it.

But it does exist

The README in the repository has very precise instructions, with a link to the Releases page


[mass] Add support for units of mass.

Adds support for four units of mass.

Coverage remained the same at 100.0% when pulling ee56faaaca730967196011109060499f3475cfc4 on mvolk/mass into cbb2073781e5f48f9c6e19ca48a9b1bf8c4c1b43 on master.


Error: Fail to retrieve files ci_environment.yml: Not Found

Hi Brett!
I have a private org and have 2 repos in there, variableGroups and scheduleTask, and I am not able to get the variable group, in variableGroups repo I only have that single File, no typos I am 100% sure
since both repos are in same org I assume there is no need for token (PAT?)
error message
Run lindluni/actions-variable-groups@main

Processing group ci_environment.yml@master
Retrieving files for group ci_environment.yml
Error: Fail to retrieve files ci_environment.yml: Not Found

this is the step I have in the workflow
      - uses: lindluni/actions-variable-groups@main
        with:
          org: myOrg #is private :(
          repo: variableGroups
          groups: ci_environment.yml@master

Hi @dreagor
Unfortunately, unless the repo is public, you do need to provide a token. You can use either a Personal Access Token, or you can create a GitHub App with content: read scope, install it in your org, and add your repos to the app. Then you can use an Action like the following to generate an App token at runtime to pass on to the actions-variable-groups Action: https://github.com/marketplace/actions/action-github-app-token
The benefit of using an App is that the tokens are short-lived, and they are owned by the org, not by a single user.

Thanks a lot!


OSD-18260: Force-drain and terminate infra nodes after appropriate timeout for infra resize command

OSD-18260 - Force drain infra nodes; terminate after a timeout during infra resize
This will kick off a drain of infrastructure nodes ahead of machine pool deletion, and will terminate the nodes in AWS after a timeout has been reached.
Force-termination does not work for GCP currently because we do not have a programmatic generator of backplane credentials for the GCP Project console, but a placeholder exists for the future.
REF: https://issues.redhat.com/browse/OSD-18260
Signed-off-by: Chris Collins<EMAIL_ADDRESS>

@mjshen @AlexVulaj - I've addressed your comments here, and this is ready for a once-over again, if you have time.
Thanks!


using claim as the cluster name label

Signed-off-by: Wei Liu<EMAIL_ADDRESS>

refer to https://github.com/stolostron/backlog/issues/19229

/assign @ldpliu

/cherry-pick release-2.4

/lgtm


"too many compact unwind infos in" in ld in --profile

[ +935 ms] [ +935 ms] executing: /usr/bin/arch -arm64e xcrun clang -arch x86_64 -dynamiclib -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -install_name @rpath/App.framework/App -o /Users/dacoharkes/ffi-samples/blaugold/embedded_db_benchmark/packages/app/.dart_tool/flutter_build/4c76e9216ac1e299fa7213e5fe313652/x86_64/App.framework/App /Users/dacoharkes/ffi-samples/blaugold/embedded_db_benchmark/packages/app/.dart_tool/flutter_build/4c76e9216ac1e299fa7213e5fe313652/x86_64/snapshot_assembly.o
[  +73 ms] [  +72 ms] ld: warning: could not create compact unwind for void.operator_ltoptimized_outoperator_gt_0: register saved more than once (might be shrink wrap)
[        ]            ld: warning: could not create compact unwind for _CastListBase.addAll_131: register saved more than once (might be shrink wrap)
[ +168 ms] [ +168 ms] executing: /usr/bin/arch -arm64e xcrun clang -arch arm64 -dynamiclib -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -install_name @rpath/App.framework/App -o /Users/dacoharkes/ffi-samples/blaugold/embedded_db_benchmark/packages/app/.dart_tool/flutter_build/4c76e9216ac1e299fa7213e5fe313652/arm64/App.framework/App /Users/dacoharkes/ffi-samples/blaugold/embedded_db_benchmark/packages/app/.dart_tool/flutter_build/4c76e9216ac1e299fa7213e5fe313652/arm64/snapshot_assembly.o
[+1041 ms] [+1037 ms] ld: too many compact unwind infos in function PathProviderPlatform._token_13093 file '/Users/dacoharkes/ffi-samples/blaugold/embedded_db_benchmark/packages/app/.dart_tool/flutter_build/4c76e9216ac1e299fa7213e5fe313652/arm64/snapshot_assembly.o'
[        ]            clang: error: linker command failed with exit code 1 (use -v to see invocation)

full log M1
[+1833 ms] [+1833 ms] executing: xcrun clang -arch x86_64 -dynamiclib -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -install_name @rpath/App.framework/App -o /Users/dacoharkes/ffi-samples/blaugold/embedded_db_benchmark/packages/app/.dart_tool/flutter_build/d247a7a17d7f2ed8e17e7b859868c1f3/x86_64/App.framework/App /Users/dacoharkes/ffi-samples/blaugold/embedded_db_benchmark/packages/app/.dart_tool/flutter_build/d247a7a17d7f2ed8e17e7b859868c1f3/x86_64/snapshot_assembly.o
[ +110 ms] [ +110 ms] ld: warning: could not create compact unwind for void.operator_ltoptimized_outoperator_gt_0: register saved more than once (might be shrink wrap)
[        ]            ld: warning: could not create compact unwind for _CastListBase.addAll_131: register saved more than once (might be shrink wrap)
[ +214 ms] [ +215 ms] executing: xcrun clang -arch arm64 -dynamiclib -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -install_name @rpath/App.framework/App -o /Users/dacoharkes/ffi-samples/blaugold/embedded_db_benchmark/packages/app/.dart_tool/flutter_build/d247a7a17d7f2ed8e17e7b859868c1f3/arm64/App.framework/App /Users/dacoharkes/ffi-samples/blaugold/embedded_db_benchmark/packages/app/.dart_tool/flutter_build/d247a7a17d7f2ed8e17e7b859868c1f3/arm64/snapshot_assembly.o
[+1052 ms] [+1051 ms] ld: too many compact unwind infos in function PathProviderPlatform._token_13093 file '/Users/dacoharkes/ffi-samples/blaugold/embedded_db_benchmark/packages/app/.dart_tool/flutter_build/d247a7a17d7f2ed8e17e7b859868c1f3/arm64/snapshot_assembly.o'
[        ]            clang: error: linker command failed with exit code 1 (use -v to see invocation)

full log x64 Macbook
Versions (M1 macbook):
$ flutter doctor -v
[✓] Flutter (Channel master, 2.13.0-0.0.pre.644, on macOS 12.3.1 21E258 darwin-arm, locale en)
    • Flutter version 2.13.0-0.0.pre.644 at /Users/dacoharkes/Desktop/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 07c7d2e454 (13 hours ago), 2022-04-20 14:09:09 -0400
    • Engine revision 70f8c5f3e6
    • Dart version 2.18.0 (build 2.18.0-37.0.dev)
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/dacoharkes/Library/Android/sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] VS Code (version 1.66.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.38.1

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.3.1 21E258 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 100.0.4896.127

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

$ /usr/bin/arch -arm64e xcrun clang --version
Apple clang version 13.0.0 (clang-13<IP_ADDRESS>)
Target: arm64-apple-darwin21.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Reproduction:
git clone https://github.com/blaugold/embedded_db_benchmark --depth 1 -b gc-crash-repro
cd embedded_db_benchmark/packages/app
flutter pub get
flutter clean
flutter run -d macos --profile

From:

https://github.com/dart-lang/sdk/issues/48843#issuecomment-1103969809

No issue with --debug, because it is running Dart in JIT mode instead of AOT.
No issue with --release, but it is building in AOT. Possibly we generate slightly different machine code:
[ +669 ms] [ +669 ms] executing: /usr/bin/arch -arm64e xcrun clang -arch x86_64 -dynamiclib -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -install_name @rpath/App.framework/App -o /Users/dacoharkes/ffi-samples/blaugold/embedded_db_benchmark/packages/app/.dart_tool/flutter_build/e01b5e97337000862b82087b49ac5998/x86_64/App.framework/App /Users/dacoharkes/ffi-samples/blaugold/embedded_db_benchmark/packages/app/.dart_tool/flutter_build/e01b5e97337000862b82087b49ac5998/x86_64/snapshot_assembly.o
[  +63 ms] [  +63 ms] ld: warning: could not create compact unwind for void.operator_ltoptimized_outoperator_gt_0: register saved more than once (might be shrink wrap)
[        ]            ld: warning: could not create compact unwind for _CastListBase.retainWhere_131: register saved more than once (might be shrink wrap)
[ +188 ms] [ +189 ms] executing: /usr/bin/arch -arm64e xcrun clang -arch arm64 -dynamiclib -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -install_name @rpath/App.framework/App -o /Users/dacoharkes/ffi-samples/blaugold/embedded_db_benchmark/packages/app/.dart_tool/flutter_build/e01b5e97337000862b82087b49ac5998/arm64/App.framework/App /Users/dacoharkes/ffi-samples/blaugold/embedded_db_benchmark/packages/app/.dart_tool/flutter_build/e01b5e97337000862b82087b49ac5998/arm64/snapshot_assembly.o
[  +79 ms] [  +79 ms] compile_macos_framework: Complete

It might be related to my recent change:
https://github.com/dart-lang/sdk/commit/eff9944c4f953b299a7af1bf3471ce27070276f9
I can take a look.

Thanks for the report. Using replicable steps provided, running it --profile mode shows below log as reported:
ld: warning: could not create compact unwind for void.operator_ltoptimized_outoperator_gt_0: register saved more than once (might be shrink wrap)
[        ]            ld: warning: could not create compact unwind for _CastListBase.addAll_131: register saved more than once (might be shrink wrap)

 master flutter doctor -v

[✓] Flutter (Channel master, 2.13.0-0.0.pre.653, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 2.13.0-0.0.pre.653 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 3fefb2d5eb (15 minutes ago), 2022-04-20 22:34:07 -0700
    • Engine revision 4274987f68
    • Dart version 2.18.0 (build 2.18.0-37.0.dev)
    • DevTools version 2.12.2

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Fix up for review upstream https://dart-review.googlesource.com/c/sdk/+/241962

Started getting the same error in release profile built with obfuscation (builds fine without):
                        [+1073 ms] ld: too many compact unwind infos in function mua.dAb_15486 file [...]/snapshot_assembly.o'

Just updated to the latest master which has picked 2.18.0-43.0.dev and iOS/macOS builds with obfuscation complete successfully.
Thanks!

Thanks for the fix @mraleph !


Missing 'YJango.jpg'

HI,
You did not include 'YJango.jpg' in you repo.
---> 26 img=mpimg.imread('YJango.jpg')
27 tensors = np.array([img,img,img])
28 # show image
[Errno 2] No such file or directory: 'YJango.jpg'
Charles

I've included it now.
'YJango.jpg'  is my profile picture, you can use any pic you like

Thanks.  You do good work.
From: YJango<EMAIL_ADDRESS>Sent: Saturday, April 14, 2018 2:02 PM
To: YJango/TFRecord-Dataset-Estimator-API<EMAIL_ADDRESS>Cc: Charles Brauer<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [YJango/TFRecord-Dataset-Estimator-API] Missing 'YJango.jpg' (#1)
I've included it now.
'YJango.jpg' is my profile picture, you can use any pic you like
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/YJango/TFRecord-Dataset-Estimator-API/issues/1#issuecomment-381360326 , or mute the thread https://github.com/notifications/unsubscribe-auth/ABQZcmXfy-JKFMo9MfOVZGlIUpvPWqyBks5tomPHgaJpZM4TVKzr .


Fix wither dissapearing when health is too low

I hope this fixes the issue
I didn't test this
(Maven can't build because of a dependency issue)

You should be able to build now, test it when you can.

@twizmwazin i'll be away from home 3 days, if someone else can test this it would be nice

@twizmwazin Can you restart the build? If not, @Pablete1234 can just git commit -m "Fix wither disappearing when health is too low" --amend, making sure there are no new additions.

@dentmaged I did what you said, but there is still some dependency that doesn't work
@twizmwazin tell me when cardinal should build again, and i'll re-amend it

@Pablete1234 oh okay!
@twizmwazin Why don't we try to downgrade the command framework and see if that fixes the problem?

@dentmaged The issue isn't the version of the framework, the issue is the maven repo was down. All seems to be resolved.

@twizmwazin re-ammended the commit, still has issues

Tested with @twizmwazin and works

merged


Alarmclock

Describe the bug
Alarm clock does not count down correctly

When setting the alarm clock on a 'Bosch oven' the number.bosch_oven and the sensor.bosch_oven shows the correct number of seconds. However, the sensor does not count down according to the oven alarm clock which I suppose it should do. Additionally, when the oven alarm clock has counted down, it takes about 2 minutes before the number.bosch_oven and sensor.bosch_oven are set to 0 socnds.
Version of the custom_component
1.0.0

Configuration
None

Debug log
Attached

Paste the exception info here or attach the full log file

home-assistant_home_connect_alt_2023-12-06T16-22-09.171Z.log

The integration is updated based on events received from the Home Connect API, the frequency and timeliness of these updates are controlled by the API.
duplicate of #239


support external modules

both mutators and filters can now be externally defined
split up the manager into multiple files
clean up code

@ehacke please review


Update version to 4.5.2

Deprecated in favour of brewcask and Boxen's in built support for
homebrew/brewcask.


Failde building wheel for mmpycocotools

When I run  pip install mmpycocotools,  it has the following  error

The version of mmcv-full and mmdet is 1.2.2 and 2.4.0 ,respectively.
Could you give me some suggestions ?

hi @xwhkkk did u solve?

hi @xwhkkk
installing cython==0.29.33 works for me

hi @xwhkkk installing cython==0.29.33 works for me

Hi, sorry for the late reply.
I followed your suggestion installing Cython == 0.29.33, and it finally made it! Thank you very much!

@zimenglan-sysu-512
you save my life.. Thanks a lot

@zimenglan-sysu-512 Thanks very much!!, I have been stuck on this issue for two days. The official maintainer of mmdet gives the advice to use the latest version of the mmdet. But there are many projects which are built from the old version of mmdet. Thank you a lot again.

hi @xwhkkk installing cython==0.29.33 works for me
that works for me ,thanks a lot

hi @xwhkkk installing cython==0.29.33 works for me

Hi, sorry for the late reply. I followed your suggestion installing Cython == 0.29.33, and it finally made it! Thank you very much!

Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

hi @xwhkkk
installing cython==0.29.33 works for me

it also helps me to build the wheel for mmpycocotools.
Thanks!!!

hi @xwhkkk installing cython==0.29.33 works for me

Thank you very much!! I have found that the version of pip is also important. The 24.2 version of pip that I am using cannot successfully install cython==0.29.33, so I need to downgrade the version to 24.0.


Error handling

Currently we panic on errors, which doesn't get reflected in the web interface at all.

fixed in d92b1c7 and 87cea53


iOS: Server not responding after getting to background and back. No error event triggered

Description
Server not responding after getting to background and back
No error event triggered
Steps to reproduce
I have basic server configuration (simple http server). It works perfect while on foreground. If go background, it will stop responding after several seconds. It will not go back nor emit error or close event.
Options:
{
  port: 3032,
  host: '<IP_ADDRESS>',
  reuseAddress: true,
}

Current behavior
As described above.
Expected behavior
I assume that error should be triggered as a clou to restart listening.
Screenshots
If applicable, add screenshots to help explain your problem.
Relevant information

OS
13.3

react-native
0.62.2

react-native-tcp-socket
4.2.0

@kelcon, sorry you have that issue. Sadly, iOS closes all TCP connections after a short period of time after the app has been sent to the background.
However, you can use a background service React Native library to keep your app running in the background with all sockets open. I created react-native-background-actions, but there are a lot of similar libraries.

Thank you. I will check it. I have discovered other approach in the mean time - to listen for an app state change and respawn server after "active" state event.


#1563 NUXT - Make color #d32e79 a scss variable

Thank you for your contribution to the KodaDot NFT gallery.
👇  _ Do a quick check before the merge.
PR type

[ ] Bugfix
[ ] Feature
[x] Refactoring

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main-nuxt and I've no conflicts
[x] I've tried respect high code quality standards
[x] I've didn't break any original functionality
[ ] I've posted screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[ ] I've tested PR on mobile and everything works
[ ] I found edge cases

What's new?

[x] PR closes #1563
[x] Went ahead with primary-light, since its a variation of our primary color

Had issue bounty label ?

[x] Fill up your KSM address:
Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[ ] My fix has changed something on UI, a screenshot for others, is best to understand changes.

Perfect, I’ve sent the payout https://kusama.subscan.io/extrinsic/0x90a446bc3f095476407a3954d7e47adb80121a2e4fb69cca7410791500646e0f
Let’s grab another issue and get rewarded!
https://github.com/kodadot/nft-gallery/issues/


Wrong S3 policy documentation

Which Cloudflare product does this pertain to?
Fundamentals
Existing documentation URL(s)
https://support.cloudflare.com/hc/en-us/articles/360037983412-Configuring-an-Amazon-Web-Services-static-site-to-use-Cloudflare
Section that requires update
Configure bucket policies to allow Cloudflare IP addresses
What needs to change?
In https://github.com/cloudflare/cloudflare-docs/issues/5175 the Effect has been changed from Deny to Allow, but still the condition says 'NotIpAddresses' which literally blocks IP addresses of CloudFlare
How should it change?
The condition should be:
"Condition": {
  "IpAddress": {
    "aws:SourceIp": [

Additional information
No response

Thanks for the catch, @Woitekku.
As far as your second concern, the article mentions multiple times to use the domain URL without the https:// part. I believe that's addressing the concern?


[Fix] Improve regex to replace parent level path

Goal
Sometimes when passing publicPath the source is not prefixed with / or ./, it can also happen to be prefixed with ../. This PR improves the regex to also work on those cases.
Changeset

source-map-uploader-plugin.js

@bengourley @djskinner if you could review and get the PR published it would be absolutely great!
(happy to improve a few other things in the plugins after that)

@rodrigofeijao in what scenario would that occur? This fix looks good but I'd like to add a test fixture to cover it before we merge


Add bgaillard/readonly.nvim

Repo URL:
https://github.com/bgaillard/readonly.nvim
Checklist:

[x] The plugin is specifically built for Neovim, or if it's a colorscheme, it supports treesitter syntax.
[x] The lines end with a .. This is to conform to awesome-list linting and requirements.
[x] The title of the pull request is Add/Update/Remove `username/repo`  (notice the backticks around `username/repo`) when adding a new plugin.
[x] The description doesn't mention that it's a Neovim plugin, it's obvious from the rest of the document. No mentions of the word plugin unless it's related to something else.
[x] The description doesn't contain emojis.
[x] Neovim is spelled as Neovim (not nvim, NeoVim or neovim), Vim is spelled as Vim (capitalized), Lua is spelled as Lua (capitalized), Tree-sitter is spelled as Tree-sitter.
[x] Acronyms should be fully capitalized, for example LSP, TS, YAML, etc.

Thanks for the PR!

Thanks for your reactivity for the merge 👍


Switch to x/crypto/pkcs12 instead of Azure repo

Can you vendor with godep?

yup, one sec

done

Doesn't seem right. Did you use godep tool to vendor the pkg or just edited the json file? Source files are missing.

I used the tool, but forgot to git add the godeps workspace

:+1: Just confirmed that this PR fixes the Terraform master build, which was broken when https://github.com/Azure/go-pkcs12/pull/26 landed.

LGTM. Feel free to merge after import path fix.


Extend integration tests for cross storage relations with "web service data models"

So far our integration tests check the default CRUD functions for data models stored in relational databases and administered through the node Sequelize framework.
However, there is another type of supported data model, called "web service data model", that represents data available only through requests to external servers. For the sake of this integration test, assume that these data models only allow read operations. For details on how to define WebService models please see our documentation and / or ask @vsuaste.
The model that should be added shall be called
aminoAcidSequence and shall have the following two attributes accession: String (which serves also as the model's ID, and sequence: String.
Create a JSON specification of the above aminoAcidSequence model and extend the model transcriptCounts to have a relation to a single instance of aminoAcidSequence. In other words an instance of TranscriptCount "belongs-to" an instance of "aminoAcidSequence".
To setup the integration test suite accordingly add a new Docker container to the docker-compose-test.yml.
The new container shall be created from it's own Dockerfile and shall be named ncbiSimulatedServer. This image shall only host and run a simple Express server that responds to the following route aminoAcidSequence/<accession>. Add a static in memory database to the Express server that holds three example instances of aminoAcidSequence.
[
  { accession: "P69905",
  sequence: "MVLSPADKTNVKAAWGKVGAHAGEYGAEALERMFLSFPTTKTYFPHFDLSHGSAQVKGHGKKVADALTNAVAHVDDMPNALSALSDLHAHKLRVDPVNFKLLSHCLLVTLAAHLPAEFTPAVHASLDKFLASVSTVLTSKYR" },
  { accession: "P10644",
  sequence: "MESGSTAASEEARSLRECELYVQKHNIQALLKDSIVQLCTARPERPMAFLREYFERLEKEEAKQIQNLQKAGTRTDSREDEISPPPPNPVVKGRRRRGAISAEVYTEEDAASYVRKVIPKDYKTMAALAKAIEKNVLFSHLDDNERSDIFDAMFSVSFIAGETVIQQGDEGDNFYVIDQGETDVYVNNEWATSVGEGGSFGELALIYGTPRAATVKAKTNVKLWGIDRDSYRRILMGSTLRKRKMYEEFLSKVSILESLDKWERLTVADALEPVQFEDGQKIVVQGEPGDEFFIILEGSAAVLQRRSENEEFVEVGRLGPSDYFGEIALLMNRPRAATVVARGPLKCVKLDRPRFERVLGPCSDILKRNIQQYNSFVSLSV" },
  { accession: "P63165",
  sequence: "MSDQEAKPSTEDLGDKKEGEYIKLKVIGQDSSEIHFKVKMTTHLKKLKESYCQRQGVPMNSLRFLFEGQRIADNHTPKELGMEEEDVIEVYQEQTGGHSTV" }
]

Implement ncbiSimulatedServer so, that it sends the correct JSON encoded object from the above in memory database when the respective accession is provided in the request. E.g. aminoAcidSequence/P69905 should return the first instance of the in-memory database JSON encoded. Consider that the above can also be done in a more direct static manner by providing directly the three routes and without using the in-memory database.
Unfortunately our code generator only generates code stubs in the case of WebService models. These stubs need to be completed by the programmer. Please, write some tiny script that edits the generated code (e.g. with sed or through a node script) and adds a simple Http Request call to ncbiSimulatedServer in the readOneAminoAcid resolver, that queries the above ncbiSimulatedServer and so obtains the respective instance of aminoAcidSequence`. All other code stubs should be left unchanged.
Now write the following integration tests for the new web service model aminoAcidSequence:

readOneAminoAcidSequence should return the expected object. Check for at least two of the above accessions.
all other standard CRUD functions should return a "Not implemented" Error and a respective status code.
For a list of all generated resolvers, please see our resolver summary or the more in detail basic CRUD model description.

When the above integration tests are done, please also test the relationship between an instance of TranscriptCount and it's associated AminoAcidSequence. Create a few relationships and test whether you can access them through TranscriptCount's resolvers. Regard the following GraphQL query as an example:
readOneTranscriptCount(id: 1) {
   gene
   count
   aminoAcidSequence {
      accession
      sequence
   }
}

Note that the above query has not been checked for correctness.
Expected work time: 8h

Problem with associations from the  local model transcript_count to the remote model aminoacidsequence.
Each time for association the "targetStorageType" is "Webservice"

If I put "type" : sql_belongsTo in the transcript_count.json, than models/transcript_count.js object will contain:

aminoacidsequence_accession: {
            type: Sequelize.INTEGER
        }

An automatic integer is incorrect, however that is not a foreignKey and that is correct.

If I put "type" : cross_hasOne in the transcript_count.json, than models/transcript_count.js object contains nothing about aminoacidsequence_accession.

The correct relationship-type is cross_hasOne. The problem here, is that we decided to use the accession of type String also as an identifier of expected type integer.
To enable our test and not introduce more complications simply use the following definition for the web-service data-model aminoAcidSequence:
id: Integer
accession: String
sequence: String

Thus we adjust the above post to use the following in memory database:
{
  accession: "P63165",
  id: 1,
  sequence: "MSDQEAKPSTEDLGDKKEGEYIKLKVIGQDSSEIHFKVKMTTHLKKLKESYCQRQGVPMNSLRFLFEGQRIADNHTPKELGMEEEDVIEVYQEQTGGHSTV"
}

Note, that now the above id is of type Integer.
How to introduce the "foreign-key" aminoAcidAccessionId into our local data-model transcriptCount?
Basically, our code generators are agnostic of the relations between different data models and expect the user of the code generators to know what he is doing and thus what attributes need to be defined. Furthermore the code generators work atomically on each data model definition, and do not take into account the definitions found for other data models. Hence, in the definition of the local (SQL) stored data model transcriptCount the id of the external (web-service) data model aminoAcidSequence needs to be included:
// transcriptCount.json
// ...
attributes: {
  // ...
  aminoAcidSequenceId: Int,
  associations:
  // ToDo @vsuaste
}

Note, that this is a feature not a bug.


package.json: add 'main' for browserify and webpack

As @Pomax said, this module can't be used in browserify (or webpack). Adding a main property to package.json that points to ./lib fixes that.

@city41 Can you also bump version to 0.3.4? I wil create new tag there

@city41 What does those "main" do? Does it affects only non-npm package systems?

This would affect npm, it will cause color-difference to load from ./lib by default.
Actually a decent workaround for webpack/browserify is to do var colorDifference = require('color-difference/lib'); maybe just add that in the README and forget this PR?

I like libs/packages that just work out of the box. If this will work out-of-the-box both on npm and non-npm worlds — then let it be.
Will it?

ok in that case, yes, this change makes it work in all environments out of the box, including npm/node.

updated at npm

Thanks Alexander

:+1:


Fix buildImage and testing workflows

After building 4 docker images for the 4 python versions, we want to run the testing workflow on the corresponding 4 docker images.

changed ${{ github.actor }} to ${{ github.repository }} in buildImage.yml`
updated docker image tag in testing.yml to match the one in buildImage.yml
tried using ${{ env.REGISTRY }} in the docker image tag in testing.yml, but I kept on getting an error, which makes me think that env variables can't be used in the containers section of the workflow.
removed the Extract metadata step from buildImage.yml, and the workflow still functions without it. (This also gets rid of one of the inconsistencies with using env.REGISTRY and env.IMAGE_NAME)
removed env.IMAGE_NAME because it only has one reference in buildImage.yml now.

The testing workflow still runs into the "missing GLIBC_2.29" error for python 3.8, which I don't know how to fix. This error also sometimes cancels the workflows for the other versions and prevents them from finishing.

It looked like #16 was successful.  I recommend withdrawing this PR by closing it (as a matter of culture, we expect the original author to withdraw their own pull requests rather than having that done to them) and submitting a new one with only the changes to the testing workflow.


update crest to 3.0.2

...

@pprcht, can you help with the brew formula for crest-3.0.2? If you're interested, please have a look at https://github.com/grimme-lab/homebrew-qc/blob/main/Formula/crest.rb and the proposed changes to the file in this PR.

Apparently, test-drive is not found by cmake even though it's among the crest dependencies in the formula and the installation does not produce any errors.

Sorry, I have no experience with brew whatsoever. No idea who set up this recipe.
CMake seems to block the download of test-drive according to the message, if there is another way to let brew itself download the repo and put it to the right place before starting the cmake call that's probably necessary. We do this in the conda recipe as well.


"Split into parts" hangs

I tried to "split into parts" an object which had had had problems with the internal components getting "blown out" under a previous version of the "Split" command. The slicer tab is showing the bed and all selections grayed-out and a graphic with 9 little boxes which appear and disappear over the center of the object.  I assume that means it's calculating. Unfortunately, it's been in that state for about 35 or 40 minutes now. Other tabs in OctoPrint still seem functional.
The STL was 2.3MB (a big file for me, but not as huge as what some people deal with).  The previous command which blew out the internal parts only took a couple of seconds on this.
Not sure what's going on, or even the best way to abort this... I'd rather not trash my installation if it's avoidable. Should I just do a shutdown?
Let me know if you'd like the STL file.

Quite my web browser and restarted. Never did anything to the Pi. The part is is no longer on the bed, and things seem to be functioning normally.
Further info: this was running on a "vanilla" installation of Raspian to which OctoPrint was added, not on an installation which came from OctoPi.

Thank you @John-Mc for reporting this bug. It apparently impacts all users. Am working on a fix and it'll go out soon with 1.2.1.

Version 1.21 fixed the hang, but it's still blowing out the internal parts. The STL is not one I designed, so I can't tell you much about it, but I don't think it's got any loose parts inside.

I have yet to figure out a good way to solve issue #67.
On the other hand, I found that Cura has similar behavior in split model into parts. If you get a chance to try your STL with Cura, let me know if it does the same.

My version of Cura is customized by Lulzbot. I can't find any "split" command.
 I have been using Cura 15.04 and found "split into parts"
handy when I had an STL file that contained several unconnected parts.
Somehow newer version of Cura removed this feature.
It happens to me quite a few times when I downloaded an STL from
thingiverse that has several parts, and I wanted to print just some parts,
or want different parts in different orientation.  How often (or ever) did
you run into similar situation?
On Thu, Apr 6, 2017 at 6:52 PM, John-Mc<EMAIL_ADDRESS>wrote:

My version of Cura is customized by Lulzbot. I can't find any "split"
command.
Downloade Cura 2.4, but can't find a split command in that
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/kennethjiang/OctoPrint-Slicer/issues/80#issuecomment-292396755,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAvmClkj9mkFnmE_wQozcvZfGh-p0qYxks5rtZbygaJpZM4M16Qb
.

The Lulzbot version is based on either 15.03 or 15.04, but I can't find "split" in there either. We don;t run into it much at the school, because the kids tend to design 1 thing at a time. When we were running Cura on the Windows PC (Lulzbot version) I don't think we had access to it - or if we did, we didn't know that we did.
It would definitely be useful if we did more downloading from Thingiverse or similar sites. We also did have one instance where one of the kids designed a wheel, made 3 more copies in TinkerCad, and exported the whole thing. Unbeknownst to him, he had tilted the first wheel, so all four wheels were tilted. When it started printing, the first layer was only printing abut 1/3 of the wheel (no supports, and only part of each wheel was touching the bed). If we had a split command, we could have split into four wheels, and laid each one flat.
So I can see that this would definitely be rather useful for some people. Just with our own typical work flow it doesn't happen much.
If the automatic split is causing fits, maybe a way to manually select an area and say "split this off" would be a stopgap while the automatic sequence is running?
In fact, there may be instances where that would be preferable? I have a ball-inside-a-cube STL that I printed for the kids just as a curiosity and an example of something that you can make with 3D printing, but not with some other means. The ball prints inside the cube, but is completely unattached. "Split" separates the ball and the cube, which is not what I would want to happen if something like this were in an STL with other objects.

I could not find "split into parts" on the Mac OS version of Lulzbot's customized Cura, (based off of 15.02.01). I've downloaded and checked both versions 15.04.6 and 2.4 for Mac OS (regular Ultimaker versions, not customized for Lulzbot printer) - I can't find a "Split" command there either. I thought perhaps it was that Cura would not display the command if there was nothing to split (I had loaded a very simple STL), so I made an STL that was two separate pieces and loaded it. I'm still not seeing "Split" as an option anywhere, so I don't have much to compare it to.
The plug-in's split command did work perfectly on an STL I imported .consisting of two simple objects with no internal parts.

Can you upload the model with 2 simple parts? I will take a look at why "split" doesn't work on it.
Attached is the screenshot of my Cura version of 15.04.6 (Mac) with "split object into parts" command. Interestingly it also blows out internal parts for the couple of models I just tested.

Kenneth - I believe you misread my earlier post.  I'm assuming you don;t actually need that model, given that it worked just fine.
Thanks for the screen shot of Cura Mac. Somehow I had missed that the split command was called up by control-clicking on the object (which I assume is Right-clicking in Windows). I was looking for it in the menus or buttons.
Now that I know where the command is, splitting with Cura 15.04.6 on the Mac has the same effect on an STL as your plugin's split command does (works well on simpler parts with no complicated internal pieces, but blows out the internals of the more complex assemblies). And it looks as though they've pulled that command from Cura 2.4

Sorry. I did misread your comments. I wonder why cura pulled this command
from newer version. It seems that there are quite a few users in the same
position as me to need to use 'split' once in a while. When version 1.2.0
broke this function they ran into problems.
On Sun, Apr 9, 2017, 8:14 AM John-Mc<EMAIL_ADDRESS>wrote:

Kenneth - I believe you misread my earlier post.  I'm assuming
you don;t actually need that model, given that it worked just fine.
Thanks for the screen shot of Cura Mac. Somehow I had missed that the
split command was called up by control-clicking on the object (which I
assume is Right-clicking in Windows). I was looking for it in the menus or
buttons.
Now that I know where the command is, splitting with Cura 15.04.6 on the
Mac has the same effect on an STL as your plugin's split command does
(works well on simpler parts with no complicated internal pieces, but blows
out the internals of the more complex assemblies). And it looks as though
they've pulled that command from Cura 2.4
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/kennethjiang/OctoPrint-Slicer/issues/80#issuecomment-292791939,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAvmCiG09FVwyqYs8vwUXp_DwOjTCVLyks5ruPW_gaJpZM4M16Qb
.


FR: Add Alternative Checkboxes toggle in Style Settings

This request comes as part of the initiative I've started for Obsidian October 2024. Additional information and progress on this project can be found here: https://github.com/damiankorcz/Alternative-Checkboxes-Reference-Set
The current goal is to make it easier for users to implement their own CSS Snippets with Alternative Checkboxes, regardless of the theme they use. At the moment, any theme that doesn't present an option to disable their Alternative Checkboxes implementation, requires the snippet to overwrite the existing theme's code. This can become complicated and hard to maintain as currently 44 themes implement Alternative Checkboxes. Ideally, if all themes have the option to disable their implementation, the snippets can be simpler, and work universally across all themes.
If this is something you are interested in implementing, it would require the following code to be added to your theme:
body.enable-alternative-checkboxes {

/* Encapsulate all code relevant to Altenative Checkboxes here */

}

Add a toggle in the Style Settings code:
-
    id: enable-alternative-checkboxes
    title: Enable Alternative Checkboxes
    description: Disable this if you are using your own implementation via a CSS Snippet.
    default: true
    type: class-toggle
-

Since your theme already implements the feature, the code above enables it by default, in order to not change the existing functionality for users.
When the theme implementation is disabled, all additional checkboxes should be styled the same as the default - [x] checked checkbox; removing any changes to color, icons, fonts, backgrounds, etc.
If you need any help implementing this, let me know! I can also look into making a Pull Request if you would prefer.

Thanks for the suggestion, this is a great idea! I can definitely see how providing an option to disable the Alternative Checkboxes implementation in themes will make it easier for users to customize their setups. I’d be happy to implement this once I have some time.


Sports News Tracker - Chrome Extension Added

🛠 Fixes Issue
Fixes #318
Review requested from @ridsuteri
👨💻 Changes proposed

Chrome Extension Added for News Tracking - Sports

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Request you to add Level 2 and GSSoC Label for this !

Hey Hariketsheth,
This extension is for sports news or crypto news?

Hey Hariketsheth, This extension is for sports news or crypto news?

Sport News, This would show the Matches for the day / If any team won / All the news related to Sports

@hariketsheth since the news extension also provides these sports-related news hence I am closing this one :(


feat: add pallet scheduler

Description
Added pallet-scheduler - module for scheduling dispatches
Related Issue
#158

Did you test it?

Did you test it?

yes, I scheduled a dispatchable call to occur at specific block ( tested with balances::set extrinsic). The call was scheduled, then dispatched at chosen block and completed successfully.


Self-distillation instructions

Hello! I was wondering if you could provide further instructions regarding how to properly set-up self-distillation during training.
I have downloaded the data you've released over on RODA, and my understanding is that the uniclust30/ directory is supposed to be used for self-distillation purposes. I guess I should move the pdb files therein in a separate directory which would become the distillation_data_dir (while the original alignments directory could do as the distillation_alignment_dir). Is this correct, or can I just leave them in the same directory (with the same directory structure)?
I also see that train_openfold.py also requires a distillation_chain_data_cache_path json file, which I guess should be generated using scripts/generate_chain_data_cache.py. I guess I should point it at the aforementioned distillation_data_dir, but what about the required cluster_file? What should I be using in this case?
As usual, thank you very much for this effort :)

Yes, this is all pretty much right. The uniclust30 directory is indeed our distillation set. See the upcoming OF preprint or the AlphaFold supplement (whose procedure is approximately the same as what we did) for more details on how that was generated.
Yes, you should move the .pdb files into a separate distillation_data_dir. The alignment files should be kept in directories named after the corresponding chain. All file format subdirectories should be flattened to make the OF dataloader happy; unless you're using the alignment_index data format, it expects directories corresponding to each chain containing only .a3m and .hhr files. More clearly, it expects:
distillation_alignment_dir/
---chain_name_1/
------uniclust30.a3m
------pdb70.hhr
---chain_name_2/
...

The AlphaFold paper is a little light on details on how the stochastic training-time filters apply to the self-distillation set. One reasonable interpretation is that the cluster_file-related filters don't apply to it. We read it that way, and so I generated the distillation_chain_data_cache_path with cluster_file set to None.

FYI generate_chain_data_cache.py raises two errors when applying it to a directory with .pdb files. I'll open a pull request with a fix.


Don't force use of AsyncStorage for React Native

Summary
In the React Native library, allow passing in a custom AsyncStorage library that is compatible with the AsyncStorage API.

Motivations
In order to use this package in React Native we currently have to install react-native-async-storage. We don't currently use that library and would prefer to use react-native-mmkv-storage instead, which supports the same API interface as AsyncStorage. The reason for doing so is to achieve better performance.
You can even see an example of how this would be done here: https://github.com/Flagsmith/flagsmith-js-client/blob/main/lib/react-native-flagsmith/src/flagsmith-core.ts#L31

Thanks @liuyang1520 for the guidance! I was confused by this in the README:

In addition, this package relies on @react-native-async-storage/async-storage, which must also be installed

Hi @liuyang1520,
I'm currently facing the same issue as well. Even after setting up our own custom storage provider, we're still running into the error: Error: [@RNC/AsyncStorage]: NativeModule: AsyncStorage is null
Eager to know if there's a way we can fully remove the dependency on @react-native-async-storage/async-storage from the Amplitude package or if there's a recommended workaround for this issue.
Some guidance would be greatly appreciated, thanks!


debugger, 'Executed Code'  stack frame, pop up menu items

Of course it doesn't really make sense to have the Executed Code frame selected and try the popup menu item browse frame method, or other other menu items either.  But if you do...

[x] Browse frame method gets an error dialog UndefinedObject DNu asString
[x] if there's a breakpoint in the method called by the executed code, the first time you try browse framemehod, it then puts up an error dialog

GemStone Error #6005
a Breakpoint occurred (error 6005), Method breakpoint encountered.
GsProcess(oop=53651201, status=debug, priority=15,
Cabbage >> trySomething: @5 line 7
Executed Code  @3 line 1
GsNMethod class >> _gsReturnToC @1 line 1
)

[x] browse senders/implementors get walkback, UndefinedObject DNU asSymbol.

In 3.0.20, I can't even use the pop up menu when on the Execute Code frame.  This particular case is when there's a breakpoint in the method.
In the Executed code frame, try to pop up a menu items and see:
First error:
Error while processing error: UndefinedObject does not understand #asString
second error;
GemStone Error #6005
a Breakpoint occurred (error 6005), Method breakpoint encountered.
GsProcess(oop=54420225, status=debug, priority=15,
Cabbage >> trySomething: @5 line 7
Executed Code  @3 line 1
GsNMethod class >> _gsReturnToC @1 line 1
)

I just disabled the three menu options when there is no method selector in the frame. I'm not even sure what we'd navigate to.
Fixed in 3.0.21

Added debugger test testStackMenuEnablement

Doesn't seem fixed in 3.0.21; at least, per my second comment, the popup is broken such that I can't verify individual menu items are present or working.
execute String foo
Open debugger
select Executed Code frame
Try pop-up menu in code pane
see error dialog and then another

@LisaAlmarode I believe this is working. When I tried the reproduction case, the menu worked fine.
fyi - When I turned off the new debugger and tried the reproduction case, I got error messages such as the one you're seeing.
Could you recheck this?

Actually, cancel @LisaAlmarode. It appears the bug is actually in the runtime only. I'll investigate tomorrow.

There is a path in the runtime only that finds the method service selector nil, then tries to send asString in the name method. Now we return an empty string in that case which seems reasonable. Fixed in 3.0.25.


3.0.0 dev

As we prepare to transition from version 2.x to 3.x of our library, I want to extend a sincere thank you for your continued support.
I'm currently working hard on the upgrade process, and there's quite a bit to tackle.
If you have any questions or concerns along the way, please don't hesitate to reach out. Your feedback is invaluable as we work to make version 3.x the best it can be.
I started with known bugs and simplification, then I'll move on to adding new features.
fixed bugs and additions:

[x] fixed the bug where a dot remained from the selection area would appear when resizing.
[x] fixed the bug where files lose their selected status when the view changes.
[x] fixed the bug where selecting does not work immediately after drop event fails
[x] fixed the bug where items did not have unique keys. It causes unwanted dom changes.
[x] Modal width has been reduced.
[x] added 16/9 aspect ratio to video previews
[x] added compact mode to the settings for list view
[x] added transparency for dragged items to make elements visible.
[x] added show/hide thumbnails option to settings
[x] added remember path on refresh (persist) option to settings
[x] fixed modal focus on mobile devices by delaying input element focus to ensure visibility above keyboard
[x] added dropdown for too many folders in breadcrumb

Will be added soon:

[ ] refactor upload code
[ ] add side-tree / folder selector
[ ] search settings - limit on search results / deep search option
[ ] paging for files or load more button for too many files.

an attempt to make breadcrumb menu as dynamic. it checks the breadcrumb width and fills dropdown.
Im not sure of this yet, created side branch :  https://github.com/n1crack/vuefinder/commit/f4e0a5dbaaed3b0cf5befe7cc2fb1d6894f3c985


multiple profiles

i run pi-hole both on my VPS behind a VPN and on my home pi normally.
would be nice if i could have multiple profiles setup in the app to allow me to view either one at anytime

This is interesting and it's absolutely a good idea.

Working on branch https://github.com/friimaind/pi-hole-droid/tree/issue11


[Feature] Unload data via table function

This PR gives users a new way to unload data to remote storage, especially when data partitioning is required.
# Unpartitioned Data
INSERT INTO
FILES(
    "path" = "s3://my_bucket/path/parquet_file/",
    "format" = "parquet",
    "compression" = "zstd"
)
SELECT * FROM SOURCE;

# Partitioned Data
INSERT INTO
FILES(
    "path" = "s3://my_bucket/path/parquet_file/",
    "format" = "parquet",
    "compression" = "zstd",
    "partition_by" = "dt"
)
SELECT * FROM SOURCE;

# Single DataFile
INSERT INTO
FILES(
    "path" = "s3://my_bucket/path/parquet_file/",
    "format" = "parquet",
    "compression" = "zstd"
    "single" = "true"
)
SELECT * FROM SOURCE;

What type of PR is this:

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[x] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[BE Incremental Coverage Report]
:disappointed: fail : 0 / 222 (00.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/exec/pipeline/sink/table_function_table_sink_operator.cpp
0
110
00.00%
[24, 25, 26, 27, 28, 29, 34, 37, 39, 43, 44, 47, 49, 50, 51, 53, 54, 57, 58, 59, 62, 63, 64, 65, 68, 71, 72, 73, 74, 78, 81, 82, 83, 85, 86, 87, 90, 91, 92, 93, 97, 100, 101, 102, 103, 107, 108, 110, 113, 114, 117, 118, 121, 122, 125, 126, 127, 128, 129, 130, 131, 133, 137, 138, 139, 140, 142, 144, 146, 147, 148, 149, 150, 153, 156, 157, 158, 159, 160, 161, 162, 163, 165, 168, 172, 176, 183, 185, 186, 188, 189, 191, 192, 194, 195, 196, 197, 198, 200, 202, 205, 208, 209, 210, 211, 212, 215, 216, 217, 218]

:large_blue_circle:
src/runtime/table_function_table_sink.cpp
0
23
00.00%
[24, 25, 27, 29, 30, 31, 32, 33, 36, 37, 38, 39, 40, 41, 42, 45, 46, 47, 50, 51, 54, 55, 56]

:large_blue_circle:
src/runtime/table_function_table_sink.h
0
1
00.00%
[40]

:large_blue_circle:
src/exec/data_sink.cpp
0
5
00.00%
[164, 165, 166, 168, 169]

:large_blue_circle:
src/formats/parquet/file_writer.cpp
0
16
00.00%
[437, 438, 439, 440, 474, 476, 477, 480, 481, 482, 483, 490, 491, 499, 500, 503]

:large_blue_circle:
src/exec/pipeline/fragment_executor.cpp
0
36
00.00%
[974, 975, 976, 978, 979, 980, 981, 982, 983, 985, 986, 987, 990, 991, 992, 993, 994, 995, 998, 999, 1002, 1003, 1006, 1007, 1009, 1010, 1012, 1013, 1015, 1016, 1019, 1020, 1021, 1022, 1025, 1028]

:large_blue_circle:
src/exec/parquet_writer.h
0
4
00.00%
[64, 65, 66, 70]

:large_blue_circle:
src/exec/parquet_writer.cpp
0
10
00.00%
[32, 81, 90, 123, 127, 128, 129, 137, 138, 139]

:large_blue_circle:
src/exec/pipeline/sink/table_function_table_sink_operator.h
0
10
00.00%
[32, 40, 43, 50, 52, 58, 77, 78, 79, 110]

:large_blue_circle:
src/formats/parquet/file_writer.h
0
7
00.00%
[202, 203, 204, 205, 209, 210, 211]

The modification about syntax is ok.

 So it's better to drop first and then create catalog. you could refers to the alter resource.

Update: Use URL encoding for data types that may contain non-ASCII characters

The purpose of exporting the file is that SR can query it. For datetime type partition columns, you can try to create a hive external table with your output path, and then use the partition predicate to query SR hive table to check if it is correct.

The purpose is to unload data. And we can use select * from FILES(...) to load again.

@mergify backport branch-3.2

@mergify backport branch-3.2

@Mergify backport branch-3.2

@Mergifyio refresh

@Mergifyio backport branch-3.2

@mergify backport branch-3.2


Implement moveentity:teleport event

Ideally we would have the dimension also included in the key.

So teleporting will be tracked separately of distance now?

@Mohron Correct


error during build

I'm using this command 'npx @preset/cli apply laravel:vite' to install laravel vite over a fresh laravel project
Having this error every time i run 'npm run dev'.
I'm not sure what i'm doing wrong please help !
error during build:
Error: [vite:laravel:config] Could not read configuration: Unexpected token W in JSON at position 1
at readConfig (C:\wamp64\www\etudeTn\node_modules\vite-plugin-laravel\dist\index.js:3558:11)
at Object.config (C:\wamp64\www\etudeTn\node_modules\vite-plugin-laravel\dist\index.js:3421:22)
at resolveConfig (C:\wamp64\www\etudeTn\node_modules\vite\dist\node\chunks\dep-9c153816.js:70914:33)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async doBuild (C:\wamp64\www\etudeTn\node_modules\vite\dist\node\chunks\dep-9c153816.js:38971:20)
at async build (C:\wamp64\www\etudeTn\node_modules\vite\dist\node\chunks\dep-9c153816.js:38959:16)
at async CAC. (C:\wamp64\www\etudeTn\node_modules\vite\dist\node\cli.js:738:9)

Can you tell me the result of php artisan vite:config? Also are you using a specific environment where PHP isn't directly available?


Support for rack-mini-profiler

Feature request
Currently only views and partials are broken out in the speed badge report that gets created by rack-mini-profiler. I assume this requires some tie-in on instrumentation. My apologies if this is already supported, I just couldn't find any examples or documentation for it, and maybe this is just a documentation issue (or maybe this is some configuration that makes sense to live on rack-mini-profiler)!
Motivation
rack-mini-profiler seems to be the ubiquitous first stop for analyzing performance in rails/rack apps. Since ViewComponent (essentially) replaces partials in many instances, it seems natural to expect the rendering timings to show up there as well. Thank you for your consideration!
Update/Example
After diving deeper into the instrumentation documentation for ViewComponent, and looking at the source code for Rack::MiniProfilerRails (which is essentially the official railtie), something like this seems to work:
# somewhere in the boot path for a rails app, like development.rb

Rack::MiniProfilerRails.subscribe('render.view_component') do |_name, start, finish, _id, payload|
  Rack::MiniProfilerRails.render_notification_handler(
    Rack::MiniProfilerRails.shorten_identifier(payload[:identifier]),
    finish,
    start
  )
end

If this seems correct, maybe a small addition to the instrumentation docs could be helpful? I'm happy to put together a PR.

Related: #1490

@htcarr3 sure, please write a PR!

@htcarr3 sure, please write a PR!

I will put together a pr soon, thank you!

@joelhawksley, there is certainly no rush on this, but I do have a pr up whenever you find some time to review

@htcarr3 thanks for the PR! Just merged it ❤


Added Sun - Moon Icon

Please Review it .
Thanks a lot for helping me out with this task . :+1: :+1:

Also, on the deployed app when I click on the sun or moon, the icon doesn't gets changed but on second click it does. Here is the deployed app link: https://deploy-preview-6--nostalgic-liskov-e76c32.netlify.app/
@chinmaym07 If possible, please do open a PR to add yourself as a contributor to the readme 😊

Happy with this change. Going to merge it and do some small tweaks. Thanks, @chinmaym07 💯
@chinmaym07 If you have any more ideas please feel free to open an issue. Thanks again for your contributions. Really appreciate the time you spent here. 🎉


client-sk client-pk confusion

https://github.com/jedisct1/dnscrypt-proxy/blob/master/DNSCRYPT-V2-PROTOCOL.txt#L180
Shouldn't it say the client's public key.?

Good catch, thanks!
This is indeed the public key.


Can't connect to SRT server

Hi,
I'm trying ti use OSS as SRT server for multiple IN and multiple OUT. But when i've tried to connect to the SRS SRT Server with VMix or OBS, the streamer fail to connect... Maybe i do something wrong ?

SRS版本(Version): 4.0.115

SRS的配置如下(Config):

listen              1935;
max_connections     1000;
srs_log_tank        file;
srs_log_file        ./objs/srs.log;
daemon              on;
http_api {
enabled         on;
listen          1985;
}
http_server {
enabled         on;
listen          8080;
dir             ./objs/nginx/html;
}
srt_server {
enabled on;
listen 10080;
maxbw<PHONE_NUMBER>;
connect_timeout 4000;
peerlatency 300;
recvlatency 300;
default_app live;
}
vhost __defaultVhost__ {
hls {
enabled         on;
}
http_remux {
enabled     on;
mount       [vhost]/[app]/[stream].flv;
}
}
Docker :
docker run --rm -p 1935:1935 -p 1985:1985 -p 8080:8080 -v ".C:\my_path\conf\srs.conf":/usr/local/srs/conf/srs.conf  ossrs/srs:v4.0.115
On OBS the streaming target is :
srt://localhost:10080?streamid=live/livestream?m=push
On VMix i tried with stream ID empty and filled (1234)
Best regard

Dup to https://github.com/ossrs/srs/issues/1147
别瞎尝试，按Issue的命令来，别自己乱改。

Thank you winlinvip,
What about SRT caller to play SRT video ? I didn't found anything...
Best Regards


fix new clippy warnings

Description
fixes unnecessary cast.
This was not caught before since it's a new improvement in 1.66 clippy: https://github.com/rust-lang/rust-clippy/blob/master/CHANGELOG.md#rust-166
closes: #XXXX

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

[ ] Targeted PR against correct branch (main)
[ ] Linked to GitHub issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[ ] Wrote unit tests
[ ] Updated relevant documentation in the code
[ ] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[ ] Re-reviewed Files changed in the GitHub PR explorer

can we just target this commit to #150 instead?

I wanted to keep it separate. I'm not sure how long the review process for #150 would take :)

If you strongly object to having it separate I don't mind that much.


Fix Dev Seed test to clean up its Application and db connections

Description
Per this help doc stop the Application and free up threads that are made.
Release notes:
NA
Checklist

[x] Added the correct label: < feature | bug | dependencies | infrastructure | ignore-for-release >
[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

Issue(s)
Fixes #<issue_number>; Fixes #<issue_number>; Fixes #<issue_number>...

Codecov Report

Merging #3127 (f2d72ee) into main (3760891) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main    #3127   +/-   ##
=========================================
  Coverage     77.86%   77.86%
  Complexity     2169     2169
=========================================
  Files           275      275
  Lines          8666     8666
  Branches        588      588
=========================================
  Hits           6748     6748
  Misses         1698     1698
  Partials        220      220

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


Response from PostJson

Hi,
I'm able to PostJson to an endpoint just fine using the following:
Set Response = Client.PostJson(Url, Body, Options)
However I don't seem to be able to get the response back from the server using Response.Data? I get an error saying "Run-tim error '449': Argument not optional

``

``

Check your Response.Content for valid info?
Public Sub PostExample()

    Dim client As New WebClient
    client.BaseUrl = "https://jsonplaceholder.typicode.com"

    Dim req As New WebRequest
    req.Resource = "posts"
    req.ContentType = "application/json"
    req.Accept = "application/json"
    req.Body = "{}"

    Dim resp As New WebResponse
    Set resp = client.Execute(req)

    'Debug.Print resp.content  'raw response
    'Debug.Print ConvertToJson(resp.Data) ' JSON data converted back to a string for printing

    '// /posts returns an array
    Dim posts As Collection
    Set posts = resp.Data

    Debug.Print "There are " & posts.Count & " posts"

End Sub

There are 100 posts

Fixed my previous comment as it was: a) a GET, b) didn't use PostJson() method.

Hi zgrose,
Thank you very much. I can see the raw response with Debug.Print Response.Content
So then how would one access parts of the response if it looks like this nested json?
{
    "EMPLOYEE_INFO": {
        "EMPLOYEE": {
            "EMPLOYEE_ID": "0000011111",
            "FIRST_NAME": "EXAMPLE FIRST NAME",
            "LAST_NAME": "EXAMPLE LAST NAME",
            "LEADER_SAMACCOUNT": "leader1",
            "SUPERINTENDENT_SAMACCOUNT": "leader2",
            "MANAGER_SAMACCOUNT": "leader3",
            "GM_SAMACCOUNT": "leader4",
            "COO_SAMACCOUNT": "leader5"
        },
        "DEPARTMENTS": [
            {
                "POSITION_ID": 12759,
                "POS_NAME": "POS1",
                "POS_DEPARTMENT_CODE": "D1C",
                "POS_DEPARTMENT": "D1"
            },
            {
                "POSITION_ID": 24516,
                "POS_NAME": "POS2",
                "POS_DEPARTMENT_CODE": "D2C",
                "POS_DEPARTMENT": "D2"
            }
        ]
    }
}

Say if I wanted to get the employee id under employee? Or the 1st position name under the departments array?

Thanks zgrose I did find them and I figured out how to process the response. Thanks, I'll close this issue off.


0.56.1 broke fzf-history-widget completion in zsh 5.9 when share_history is enabled

Checklist

[X] I have read through the manual page (man fzf)
[X] I have searched through the existing issues
[X] For bug reports, I have checked if the bug is reproducible in the latest version of fzf

Output of fzf --version
0.56.2 (brew)
OS

[ ] Linux
[X] macOS
[ ] Windows
[ ] Etc.

Shell

[ ] bash
[X] zsh
[ ] fish

Problem / Steps to reproduce
This seems related to #4061:
I am using default source <(fzf --zsh) from macOS Homebrew with zsh 5.9 (x86_64-apple-darwin23.0) with setopt share_history enabled, but as of fzf version 0.56.1 the history completion with ^R bound to fzf-history-widget is broken (last working version was 0.56.0). Previous behaviour in zsh was that foo^r^m would return fzf’s default matching result for foo (e.g. found-history) but now it returns my original input string foo. In the simplest case of ^r^m the widget simply returns nothing (previously, it would have returned the fzf’s default selected item). Intermittently it does return a result, but rarely. Despite having share_history enabled, I do not have a second shell using the history file; this issue is reproducible with a single shell on its own. (And unlike https://github.com/junegunn/fzf/issues/4088 I’m not using FZF_COMPLETION_TRIGGER.) If I downgrade to 0.56.0 or disable share_history the previous expected behaviour is restored.

0.56.2 (brew)

but as of fzf version 0.56.1 the history completion

Just to confirm, you also tested 0.56.2 and the issue remains?
Please share your options.
unsetopt KSH_OPTION_PRINT
print -r -- $(setopt)

Could you give me some guidance on the individual steps I need to take to see the issue?
A minimal zsh version with a couple of steps ...
command env -i HOME=$HOME TERM=$TERM USER=$USER PATH=$PATH zsh -f -o sharehistory
source <(fzf --zsh)
# press 'Control-R'
# ?

I am experiencing this issue too.

Latest iTerm, MacOS, fzf.
Using Zsh.

% fzf --version
0.56.2 (brew)

% unsetopt KSH_OPTION_PRINT
% print -r -- $(setopt)
combiningchars extendedhistory histignorealldups histreduceblanks interactive login promptsubst sharehistory shinstdin

in .zshrc
# history
HISTFILE=~/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
setopt EXTENDED_HISTORY          # write the history file in the ":start:elapsed;command" format.
setopt HIST_REDUCE_BLANKS        # remove superfluous blanks before recording entry.
setopt SHARE_HISTORY             # share history between all sessions.
setopt HIST_IGNORE_ALL_DUPS      # delete old recorded entry if new entry is a duplicate.

source <(fzf --zsh)

press 'Control-R' - history appears and searches great
After selecting the desired history command, fzf closes and nothing is written to the prompt

After commenting out the setopt SHARE_HISTORY option, fzf works again.

@ryanwi, does the issue disappear if you do the following:

Press ⏎ Enter before opening the fzf-history.
Open the fzf-history-widget with your assigned key (default ⌃ Control + R).
Make your selection. Was the desired item successfully retrieved?

In the meantime, this workaround will remove the fc -RI call, which likely
causes the mischief, but you'll still encounter the original issue[^1] it was
intended to solve if you enter a non-empty command.
source <(fzf --zsh | sed 's/fc -RI/true/')

[^1]: ctrl+r no longer pulling from shared history until a command is run succesfully ¬∑ Issue #4061 ¬∑ junegunn/fzf ¬∑ GitHub

Thanks very much @LangLangBart and @ryanwi. For me: pressing ⏎ Enter doesn’t help, but removing fc -RI does! Without fc -RI the history and indexes shown in fzf are correct (matching the shell session), but with fc -RI the history list and indexes shown in fzf are wildly wrong when HISTFILE is non-empty.

Thanks for the confirmation, could you test an earlier version of the
keybinding[^1], before the fc -RI call was moved inside the command
substitution $(…)?
https://github.com/junegunn/fzf/blob/d938fdc496ccecfe5d747500927b675d31e1835a/shell/key-bindings.zsh#L116-L118
source <(curl -fsSL https://raw.githubusercontent.com/junegunn/fzf/d938fdc/shell/key-bindings.zsh)

[^1]: fix(zsh): history loading with shared option by LangLangBart · Pull Request #4071 · junegunn/fzf · GitHub

Yes, d938fdc “works” (selected item appears on the zsh line) but has the problematic side-effect of heavily mutating the shell history every time fzf is used: changes the order and numbers of items in the history, and up-arrow takes me to the wrong (out of order) history lines.

Thanks again for testing. I might propose reverting fc -RI and reopening #4061.
We could move sharehistory into the if… block so that fc -… with awk
handles the history. However, this isn't a good solution, as some users would be
confused about why they need to disable sharehistory to see multiline fzf
history, right?
https://github.com/junegunn/fzf/blob/215ab48222ac5fa8855c1e5bbf56742276b57324/shell/key-bindings.zsh#L113-L130

Hmm yeah, revert and re-open seems fair, given that it minimises the unresolved corner case and retains the overall functionality until a cleaner solution is found.


Test.bat added

#10
@Typeaway14
i have edited the test.bat

Looks good to me!! Merging :D

!bounty 20


Update curl and curl-sys

Pick up a few security related fixes in libcurl

r? @brson
(rust_highfive has picked a reviewer for you, use r? to override)

@bors: r+

:pushpin: Commit dd69aee has been approved by alexcrichton

:hourglass: Testing commit dd69aee with merge 77e36ed...

:broken_heart: Test failed - cargo-win-gnu-64

@bors: retry
On Mon, Oct 31, 2016 at 11:59 AM, bors<EMAIL_ADDRESS>wrote:

💔 Test failed - cargo-win-gnu-64
https://buildbot.rust-lang.org/builders/cargo-win-gnu-64/builds/770
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-lang/cargo/pull/3241#issuecomment-257387577, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD95F4HwZamy5KsgzXdvB42I03fkejEks5q5jqSgaJpZM4KlWFs
.

:zap: Previous build results for cargo-cross-linux, cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-msvc-32, cargo-win-msvc-64 are reusable. Rebuilding only cargo-win-gnu-64...

:sunny: Test successful - cargo-cross-linux, cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64
Approved by: alexcrichton
Pushing 77e36ed12565f580851fd18211f319140d6db92a to master...


PFUP-12 -  Github Workflow - Does not apply for all types of files

Write Here a description of the bug or change to be implemented.
Change the config to tackle all issues, not just vue files.
Write Here the possible solution/s to be done for this to be closed/resolved. (Can be in paragraph form or tabulated form)

Reconfig the github labeler.yml script
Additional context
N/A

Previous Issue #7


Possible to start goss server on nominated port? ie Port other than 8080?

There's typically a web server listening on port 8080 that I wish to test with goss.
Possible to specify the desired listening port for goss serve so it does not clash?

--listen-addr :8081

Thanks!


$transaction spread operator

Bug description
The $transaction function type definitions do not support spread operator. Typescript complains that it is not able to map the Alert type onto the Comment type.
How to reproduce
const [comment, ...unsentMessages] = await prisma.$transaction([
  prisma.comment.create({
    data: {},
  }),
  ...alerts.map((alert) =>
    prisma.unsentMessage.create({
      data: {
        content: alert.content,
      },
    })
  ),
]);

await Promise.all(
  unsentMessages.map(async (unsentMessage) => {
    await sendMessage(unsentMessage);
    await prisma.unsentMessage.delete({
      where: { id: unsentMessage.id },
    });
  })
);

Expected behavior
The $transaction function should allow passing in spread operator for transactional inserts on a variable length of unrelated items.
Environment & setup

Node.js version: 14.10.0
Typescript version: 3.9.7
Prisma version<EMAIL_ADDRESS>

@TheAschr Sorry for the delay.
I am unable to reproduce this:

Can you please try this again in the latest version? If you can still reproduce, please share a minimal reproduction inside of a git repository.

No you got it wrong @pantharshit00, I got this problem too the other day.
The problem is when you use a spread iterator in the transaction not outside like with a map.
My solution was to manually force the type of transaction, so something like:
prisma.$transaction<MyType | MyOtherType>([
   ...myList.map(_ => {} as CreateMyTypeInput),
   ...myOtherList.map(_ => {} as CreateMyOtherTypeInput)
])

Thanks @Sytten! Closing as this is working as expected.

@matthewmueller I will take another look here just in case

Thanks @Sytten for clarification, I can reproduce with this simple example.
  const [user, ...otherUsers] = await prisma.$transaction([
    prisma.user.create({
      data: {
        email: "testsss",
      },
    }),
    ...[
      prisma.profile.create({
        data: {
          user: {
            connect: {
              id: 1,
            },
          },
        },
      }),
      prisma.profile.create({
        data: {
          user: {
            connect: {
              id: 2,
            },
          },
        },
      }),
    ],
  ]);

main.ts:6:59 - error TS2769: No overload matches this call.
  The last overload gave the following error.
    Argument of type '(Prisma__ProfileClient<Profile> | Prisma__UserClient<User>)[]' is not assignable to parameter of type 'Iterable<Profile | PromiseLike<Profile>>'.
      The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types.
        Type 'IteratorResult<Prisma__ProfileClient<Profile> | Prisma__UserClient<User>, any>' is not assignable to type 'IteratorResult<Profile | PromiseLike<Profile>, any>'.
          Type 'IteratorYieldResult<Prisma__ProfileClient<Profile> | Prisma__UserClient<User>>' is not assignable to type 'IteratorResult<Profile | PromiseLike<Profile>, any>'.
            Type 'IteratorYieldResult<Prisma__ProfileClient<Profile> | Prisma__UserClient<User>>' is not assignable to type 'IteratorYieldResult<Profile | PromiseLike<Profile>>'.
              Type 'Prisma__ProfileClient<Profile> | Prisma__UserClient<User>' is not assignable to type 'Profile | PromiseLike<Profile>'.
                Type 'Prisma__UserClient<User>' is not assignable to type 'Profile | PromiseLike<Profile>'.
                  Type 'Prisma__UserClient<User>' is not assignable to type 'PromiseLike<Profile>'.
                    Types of property 'then' are incompatible.
                      Type '<TResult1 = User, TResult2 = never>(onfulfilled?: ((value: User) => TResult1 | Promise<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | Promise<...>) | null | undefined) => Promise<...>' is not assignable to type '<TResult1 = Profile, TResult2 = never>(onfulfilled?: ((value: Profile) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<...>) | null | undefined) => PromiseLike<...>'.
                        Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible.
                          Types of parameters 'value' and 'value' are incompatible.
                            Type 'User' is missing the following properties from type 'Profile': bio, userId

  6   const [user, ...otherUsers] = await prisma.$transaction([
                                                              ~
  7     prisma.user.create({
    ~~~~~~~~~~~~~~~~~~~~~~~~
...
 31     ],
    ~~~~~~
 32   ]);
    ~~~

  node_modules/typescript/lib/lib.es2015.iterable.d.ts:226:5
    226     all<TAll>(values: Iterable<TAll | PromiseLike<TAll>>): Promise<TAll[]>;
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The last overload is declared here.

Found 1 error.

Schema used:

model Post {
  id        Int      @default(autoincrement()) @id
  createdAt DateTime @default(now())
  title     String
  content   String?
  published Boolean  @default(false)
  author    User     @relation(fields: [authorId], references: [id])
  authorId  Int
}

model Profile {
  id     Int     @default(autoincrement()) @id
  bio    String?
  user   User    @relation(fields: [userId], references: [id])
  userId Int     @unique
}

model User {
  id      Int      @default(autoincrement()) @id
  email   String   @unique
  name    String?
  posts   Post[]
  profile Profile?
}

To clarify expected behavior:
We shouldn't need to do the workaround described by @Sytten.

This is not really a bug in the transaction types themselves. This points to a deeper problem in TypeScript. If you have two functions that return Promises of different types and try to combine them like this with the spread operator, the built-in Promise.all types break.
Corresponding TypeScript issue: https://github.com/microsoft/TypeScript/issues/40330#issuecomment-718783099

Unfortunately there's nothing we can do here for the time being. Closing.

@matthewmueller Since it is considered for TS 4.1.1 I would keep this issue open.


Pulling Out Envelope Functionality

Pulling out the enveloping functionality from ZooKeeperStorage

@BenWhitehead I agree. This is a step in that direction. I wanted to get this PR in so that we agree on where that functionality should live.

Let's do it in this PR rather than a different one down the road.

This PR should have been made against master rather than distributed publish. The new PR is PR #504. Closing this.


Feature/stream jetty

Please refer to the submission record for details.

Coverage increased (+0.02%) to 23.061% when pulling df97dc34285b312b28e187245a08d794f3eeae65 on feature/stream-jetty into f601293b2200924a86dfe7b354c39e73225ccd16 on master.

Coverage increased (+0.02%) to 23.061% when pulling df97dc34285b312b28e187245a08d794f3eeae65 on feature/stream-jetty into f601293b2200924a86dfe7b354c39e73225ccd16 on master.


fix(axelarnet): replace native asset with bond denom for dust amount

…m from staking module
Description
Todos

[ ] Unit tests
[x] Manual tests
[ ] Documentation
[ ] Connect epics/issues
[ ] Tag type of change
[ ] Upgrade handler

Steps to Test
Expected Behaviour
Other Notes

@jcs47 could you fix the pr description?


Update main.py

For lines 32 and 34, Edited to address deprecation warning to replace tensor.data[0] with tensor.item()
For line 45, edited to add a very small epsilon value to ensure divisor is not 0 or NaN.
This eliminates true_divide issue.

Thanks, your pull request really helped me with the division issue for correlation!


return nil when use 'find_by_xxx'

Hello
I tried use SuperModel to connect Redis with AR , but I found it always return "nil" when use 'find_by_xxx' like below,  any idea or it's my fault to use in such way ?
require "redis"
require 'supermodel'
class Hello < SuperModel::Base
include SuperModel::Redis::Model
attributes:yyy
end
h=Hello.new
h.yyy='test'
h.save
p Hello.find_by_yyy('test') #=>nil
p Hello.all  #=><Hello:0x2e4b680 @new_record=false, @attributes={"yyy"=>"test", "id"=>1}, @changed_attributes={"yyy"=>nil}>

You need to add indexes.

It works when mark the attribute as index to use find_by_xxx. :)
Thanks a lot.