CID-1338387: Deletion of method endPointSelector.selectHypervisorHost

Following the discussions and analysis presented on PR #1056 create by @DaanHoogland
This PR is intended to push those changes that were discussed there regarding the of endPointSelector.selectHypervisorHost method.

LGTM: less is more, an integrations test run on it is of course the minimum. @remibergsma can you queue it?

I have being wanting to ask you guys about those integration tests. Isn´t it possible for us to run those tests automatically every time a PR is created or when it receives new commits?

@rafaelweingartner there has been lots of discussion on the list about testing. The TravisCI setup is supposed to do part of it, and we can also trigger the tests as jenkins Jobs.There are problems with the TravisCI setup, it might be a good item to have your group tackle.

I was thinking about that. Starting in January we will have some extra time, then we might have a look at that.

LGTM based on these tests:
nosetests --with-marvin --marvin-config=${marvinCfg} -s -a tags=advanced,required_hardware=true \
component/test_vpc_redundant.py \
component/test_routers_iptables_default_policy.py \
component/test_routers_network_ops.py \
component/test_vpc_router_nics.py \
smoke/test_loadbalance.py \
smoke/test_internal_lb.py \
smoke/test_ssvm.py \
smoke/test_network.py

Result:
Create a redundant VPC with two networks with two VMs in each network ... === TestName: test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL | Status : SUCCESS ===
ok
Create a redundant VPC with two networks with two VMs in each network and check default routes ... === TestName: test_02_redundant_VPC_default_routes | Status : SUCCESS ===
ok
Create a redundant VPC with two networks with two VMs in each network ... === TestName: test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers | Status : SUCCESS ===
ok
Test iptables default INPUT/FORWARD policy on RouterVM ... === TestName: test_02_routervm_iptables_policies | Status : SUCCESS ===
ok
Test iptables default INPUT/FORWARD policies on VPC router ... === TestName: test_01_single_VPC_iptables_policies | Status : SUCCESS ===
ok
Test redundant router internals ... === TestName: test_01_isolate_network_FW_PF_default_routes_egress_true | Status : SUCCESS ===
ok
Test redundant router internals ... === TestName: test_02_isolate_network_FW_PF_default_routes_egress_false | Status : SUCCESS ===
ok
Test redundant router internals ... === TestName: test_01_RVR_Network_FW_PF_SSH_default_routes_egress_true | Status : SUCCESS ===
ok
Test redundant router internals ... === TestName: test_02_RVR_Network_FW_PF_SSH_default_routes_egress_false | Status : SUCCESS ===
ok
Create a VPC with two networks with one VM in each network and test nics after destroy ... === TestName: test_01_VPC_nics_after_destroy | Status : SUCCESS ===
ok
Create a VPC with two networks with one VM in each network and test default routes ... === TestName: test_02_VPC_default_routes | Status : SUCCESS ===
ok
Check the password file in the Router VM ... === TestName: test_isolate_network_password_server | Status : SUCCESS ===
ok
Check that the /etc/dhcphosts.txt doesn't contain duplicate IPs ... === TestName: test_router_dhcphosts | Status : SUCCESS ===
ok
Test to create Load balancing rule with source NAT ... === TestName: test_01_create_lb_rule_src_nat | Status : SUCCESS ===
ok
Test to create Load balancing rule with non source NAT ... === TestName: test_02_create_lb_rule_non_nat | Status : SUCCESS ===
ok
Test for assign & removing load balancing rule ... === TestName: test_assign_and_removal_lb | Status : SUCCESS ===
ok
Test to verify access to loadbalancer haproxy admin stats page ... === TestName: test02_internallb_haproxy_stats_on_all_interfaces | Status : SUCCESS ===
ok
Test create, assign, remove of an Internal LB with roundrobin http traffic to 3 vm's ... === TestName: test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 | Status : SUCCESS ===
ok
Test SSVM Internals ... === TestName: test_03_ssvm_internals | Status : SUCCESS ===
ok
Test CPVM Internals ... === TestName: test_04_cpvm_internals | Status : SUCCESS ===
ok
Test stop SSVM ... === TestName: test_05_stop_ssvm | Status : SUCCESS ===
ok
Test stop CPVM ... === TestName: test_06_stop_cpvm | Status : SUCCESS ===
ok
Test reboot SSVM ... === TestName: test_07_reboot_ssvm | Status : SUCCESS ===
ok
Test reboot CPVM ... === TestName: test_08_reboot_cpvm | Status : SUCCESS ===
ok
Test destroy SSVM ... === TestName: test_09_destroy_ssvm | Status : SUCCESS ===
ok
Test destroy CPVM ... === TestName: test_10_destroy_cpvm | Status : SUCCESS ===
ok
Test Remote Access VPN in VPC ... === TestName: test_vpc_remote_access_vpn | Status : SUCCESS ===
ok
Test VPN in VPC ... === TestName: test_vpc_site2site_vpn | Status : SUCCESS ===
ok
Test for port forwarding on source NAT ... === TestName: test_01_port_fwd_on_src_nat | Status : SUCCESS ===
ok
Test for port forwarding on non source NAT ... === TestName: test_02_port_fwd_on_non_src_nat | Status : SUCCESS ===
ok
Test for reboot router ... === TestName: test_reboot_router | Status : SUCCESS ===
ok
Test for Router rules for network rules on acquired public IP ... === TestName: test_network_rules_acquired_public_ip_1_static_nat_rule | Status : SUCCESS ===
ok
Test for Router rules for network rules on acquired public IP ... === TestName: test_network_rules_acquired_public_ip_2_nat_rule | Status : SUCCESS ===
ok
Test for Router rules for network rules on acquired public IP ... === TestName: test_network_rules_acquired_public_ip_3_Load_Balancer_Rule | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 34 tests in 18242.963s

OK

And:
nosetests --with-marvin --marvin-config=${marvinCfg} -s -a tags=advanced,required_hardware=false \
smoke/test_routers.py \
smoke/test_network_acl.py \
smoke/test_privategw_acl.py \
smoke/test_reset_vm_on_reboot.py \
smoke/test_vm_life_cycle.py \
smoke/test_vpc_vpn.py \
smoke/test_service_offerings.py \
component/test_vpc_offerings.py \
component/test_vpc_routers.py

Result:
Test router internal advanced zone ... === TestName: test_02_router_internal_adv | Status : SUCCESS ===
ok
Test restart network ... === TestName: test_03_restart_network_cleanup | Status : SUCCESS ===
ok
Test router basic setup ... === TestName: test_05_router_basic | Status : SUCCESS ===
ok
Test router advanced setup ... === TestName: test_06_router_advanced | Status : SUCCESS ===
ok
Test stop router ... === TestName: test_07_stop_router | Status : SUCCESS ===
ok
Test start router ... === TestName: test_08_start_router | Status : SUCCESS ===
ok
Test reboot router ... === TestName: test_09_reboot_router | Status : SUCCESS ===
ok
test_privategw_acl (integration.smoke.test_privategw_acl.TestPrivateGwACL) ... === TestName: test_privategw_acl | Status : SUCCESS ===
ok
Test reset virtual machine on reboot ... === TestName: test_01_reset_vm_on_reboot | Status : SUCCESS ===
ok
Test advanced zone virtual router ... === TestName: test_advZoneVirtualRouter | Status : SUCCESS ===
ok
Test Deploy Virtual Machine ... === TestName: test_deploy_vm | Status : SUCCESS ===
ok
Test Multiple Deploy Virtual Machine ... === TestName: test_deploy_vm_multiple | Status : SUCCESS ===
ok
Test Stop Virtual Machine ... === TestName: test_01_stop_vm | Status : SUCCESS ===
ok
Test Start Virtual Machine ... === TestName: test_02_start_vm | Status : SUCCESS ===
ok
Test Reboot Virtual Machine ... === TestName: test_03_reboot_vm | Status : SUCCESS ===
ok
Test destroy Virtual Machine ... === TestName: test_06_destroy_vm | Status : SUCCESS ===
ok
Test recover Virtual Machine ... === TestName: test_07_restore_vm | Status : SUCCESS ===
ok
Test migrate VM ... === TestName: test_08_migrate_vm | Status : SUCCESS ===
ok
Test destroy(expunge) Virtual Machine ... === TestName: test_09_expunge_vm | Status : SUCCESS ===
ok
Test to create service offering ... === TestName: test_01_create_service_offering | Status : SUCCESS ===
ok
Test to update existing service offering ... === TestName: test_02_edit_service_offering | Status : SUCCESS ===
ok
Test to delete service offering ... === TestName: test_03_delete_service_offering | Status : SUCCESS ===
ok
Test for delete account ... === TestName: test_delete_account | Status : SUCCESS ===
ok
Test for Associate/Disassociate public IP address for admin account ... === TestName: test_public_ip_admin_account | Status : SUCCESS ===
ok
Test for Associate/Disassociate public IP address for user account ... === TestName: test_public_ip_user_account | Status : SUCCESS ===
ok
Test for release public IP address ... === TestName: test_releaseIP | Status : SUCCESS ===
ok
Test create VPC offering ... === TestName: test_01_create_vpc_offering | Status : SUCCESS ===
ok
Test VPC offering without load balancing service ... === TestName: test_03_vpc_off_without_lb | Status : SUCCESS ===
ok
Test VPC offering without static NAT service ... === TestName: test_04_vpc_off_without_static_nat | Status : SUCCESS ===
ok
Test VPC offering without port forwarding service ... === TestName: test_05_vpc_off_without_pf | Status : SUCCESS ===
ok
Test VPC offering with invalid services ... === TestName: test_06_vpc_off_invalid_services | Status : SUCCESS ===
ok
Test update VPC offering ... === TestName: test_07_update_vpc_off | Status : SUCCESS ===
ok
Test list VPC offering ... === TestName: test_08_list_vpc_off | Status : SUCCESS ===
test_09_create_redundant_vpc_offering (integration.component.test_vpc_offerings.TestVPCOffering) ... === TestName: test_09_create_redundant_vpc_offering | Status : SUCCESS ===
ok
Test start/stop of router after addition of one guest network ... === TestName: test_01_start_stop_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test reboot of router after addition of one guest network ... === TestName: test_02_reboot_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test to change service offering of router after addition of one guest network ... === TestName: test_04_chg_srv_off_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test destroy of router after addition of one guest network ... === TestName: test_05_destroy_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test to stop and start router after creation of VPC ... === TestName: test_01_stop_start_router_after_creating_vpc | Status : SUCCESS ===
ok
Test to reboot the router after creating a VPC ... === TestName: test_02_reboot_router_after_creating_vpc | Status : SUCCESS ===
ok
Tests to change service offering of the Router after ... === TestName: test_04_change_service_offerring_vpc | Status : SUCCESS ===
ok
Test to destroy the router after creating a VPC ... === TestName: test_05_destroy_router_after_creating_vpc | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 42 tests in 8828.081s

OK

I didn't test the actual feature. This just shows it didn't break anything else.

LGTM, @rafaelweingartner can you please rebase against latest master so we can merge this

@bhaisaab rebased

@rafaelweingartner thanks; @remibergsma should we let this be merged considering your integration test result, or you want to re-run them?

@DaanHoogland what do you think about this one ?
Tests were executed, reviews done.
I think we forgot it, should we go ahead and merge it?

@rafaelweingartner , There is a question addressed to @remibergsma awaiting answer. Other then that, yes.

That is right, sorry I did not pay much attention.
I will be waiting his answer

@swill, @DaanHoogland
What about this one?
I have just rebased it.

@rafaelweingartner please rebase against master and update on status of your PR?
Looks like this can be merged once CI tested by @swill
tag:easypr

I can prioritize CI on this one as it is ready otherwise.  It is worth doing a test run since a lot has happened since this was rebased.  Thx...

CI RESULTS
Tests Run: 85
  Skipped: 0
   Failed: 2
   Errors: 0
 Duration: 4h 37m 42s

Summary of the problem(s):
FAIL: Check the password file in the Router VM
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/git/cs1/cloudstack/test/integration/smoke/test_password_server.py", line 348, in test_isolate_network_password_server
    self.test_password_file_not_empty(self.vm_1, router)
  File "/data/git/cs1/cloudstack/test/integration/smoke/test_password_server.py", line 229, in test_password_file_not_empty
    "Password file is empty or doesn't exist!")
AssertionError: Password file is empty or doesn't exist!
----------------------------------------------------------------------
Additional details in: /tmp/MarvinLogs/test_network_UOPAVK/results.txt

FAIL: Test redundant router internals
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/git/cs1/cloudstack/test/integration/smoke/test_routers_network_ops.py", line 483, in test_02_RVR_Network_FW_PF_SSH_default_routes_egress_false
    "Attempt to retrieve google.com index page should be successful once rule is added!"
AssertionError: Attempt to retrieve google.com index page should be successful once rule is added!
----------------------------------------------------------------------
Additional details in: /tmp/MarvinLogs/test_network_UOPAVK/results.txt

Associated Uploads
/tmp/MarvinLogs/DeployDataCenter__May_10_2016_05_41_43_JOKZE2:

dc_entries.obj
failed_plus_exceptions.txt
runinfo.txt

/tmp/MarvinLogs/test_network_UOPAVK:

failed_plus_exceptions.txt
results.txt
runinfo.txt

/tmp/MarvinLogs/test_vpc_routers_PSKY63:

failed_plus_exceptions.txt
results.txt
runinfo.txt

Uploads will be available until 2016-07-10 02:00:00 +0200 CEST
Comment created by upr comment.

This one is good to go.  The connectivity issue is related to my environment.  I reran the password test and it passed the second time, so that is not a problem either.  I will add this to the merge queue...

@rafaelweingartner @DaanHoogland Removing method has reintroduced bug https://issues.apache.org/jira/browse/CLOUDSTACK-9025. Main purpose of getCommandHostDelegation method is served through this method endPointSelector.selectHypervisorHost. For example by default CopyCommand involving only image stores goes to SSVM but for some hypervisors there is some optimisation done and can be directly handled by hypervisor agent. With this method we can change that default behaviour. And the removed method was giving us that different endpoint.

Hi @anshul1886,
I have reviewed this method in depth with @DaanHoogland and it was not doing what you described.
The whole discussion is found here: https://github.com/apache/cloudstack/pull/1056
The work flow you describe makes sense and I understand why one would implement it. However, that is not what the removed method was doing. There were no guarantees on which "hosts" would be taken to execute methods; that was quite odd.
I would suggest adding the workflow you described as a new feature if we do not have something similar yet.

@rafaelweingartner I have already gone through that discussion. I agree with you that in some scenarios that method may not work. But in most of the scenarios that method would work as most of the times user have only one kind of hypervisor in a zone. As you have observed that method is selecting one host with hypervisor_type not null i.e. we are ignoring system VMs. My intention to comment here was to point out scenario if we are not sure of reason for introduction of method then we cannot simply delete it as that may break something which has happened.

I do not know what was(is?) broken. Can you explain some things for me?
You say:

For example by default CopyCommand involving only image stores goes to SSVM but for some hypervisors there is some optimisation done and can be directly handled by hypervisor agent. With this method we can change that default behaviour. And the removed method was giving us that different endpoint.

And you also said that this was reported in https://issues.apache.org/jira/browse/CLOUDSTACK-9025.
Is the PR responsible to close the #CloudStack-9025 ticket the #1030/#1176 that is linked to that ticket?
Reading that ticket:

As default, CloudStack create linked clone snapshot for VM instance . When we take a snapshot for the VM, and create a template based on such snapshot, CloudStack only download incremental VHD as template file, as a result, the VM instance fail to deploy as it is incomplete.

For me, the ticket you mention does not seem to be related to the optimization you are talking about. If I only consider the ticket information, nothing should be working right (by that ticket VMs should not start without that fix)? You said that this PR removed the code introduced to solve the aforementioned ticket. The interesting part is that we did not remove the code introduced in #1030/#1176, the code is still there. We are only not using a method that was and is (at least for me) not making much sense. The removed method is not introduced in #1030/#1176.
We only removed the method
EndPoint ep = endPointSelector.selectHypervisorHost(new ZoneScope(host.getDataCenterId()));`
BTW: I use, and I know quite some production systems that use multiple hypervisors types per zone, so CloudStack has to decide if it adversities that multiple are supported, but not per zone, then this has to be clear.


feat: Adding a method to handle POST requests

-
-

Issue
https://github.com/ripe-tech/ripe-util-vue/issues/47

@joamag @gcandal

@joaofsl check this fix https://github.com/hivesolutions/headless_api_js/commit/210f92cc599fca06c2a98ed0ac125dfa5cf0367f


Minor: Documentation for Injector

Just wanted to point out that the array( array( 'id' => 'BeanId', ... code here isn't properly formatted. Pretty easy fix.
http://api.silverstripe.org/3.3/class-Injector.html

Fixed with https://github.com/silverstripe/silverstripe-framework/issues/5300


[SPARK-19453][PYTHON][SQL][DOC] Correct and extend DataFrame.replace docstring

What changes were proposed in this pull request?

Provides correct description of the semantics of a dict argument passed as to_replace.
Describes type requirements for collection arguments.
Describes behavior with to_replace: List[T] and value: T

How was this patch tested?
Manual testing, documentation build.

cc @rxin, @holdenk

Test build #72317 has started for PR 16792 at commit 132b165.

lgtm

Test build #72317 has finished for PR 16792 at commit 132b165.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72317/
Test PASSed.

Merged build finished. Test PASSed.

Thanks @rxin.
This is related to  #16793 / SPARK-19454

That sounds reasonable then :)

Test build #72391 has started for PR 16792 at commit 9f73508.

Test build #72391 has finished for PR 16792 at commit 9f73508.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72391/
Test PASSed.

Test build #72439 has started for PR 16792 at commit 78f04dc.

Test build #72439 has finished for PR 16792 at commit 78f04dc.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72439/
Test FAILed.

Test build #72441 has started for PR 16792 at commit 2bd4417.

Test build #72441 has finished for PR 16792 at commit 2bd4417.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72441/
Test PASSed.

thanks for putting in the time to come up with a clear warning about how the types are handled.

Can you update this to the latest master? (The merge tool has some warnings).

Test build #72829 has started for PR 16792 at commit d405e91.

Done.

Test build #72829 has finished for PR 16792 at commit d405e91.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72829/
Test PASSed.

Thanks for putting in the time to get this really well documented :) Merged to master.

Thanks @holdenk


There are broken links for source code

Broken links here http://googlecloudplatform.github.io/gcloud-python/#/docs/master/gcloud/storage/client/client
when clicking to see source code

Thanks for reporting!
This is a duplicate of #2046, and will be fixed by #2052.

Actually I'll leave this open and have the PR close it when it's merged. My bad!

Should be fixed with the next docs generation per #2052.


As a doctor, I want to filter patients by more than 1 category so that I can have a list that is more thoroughly sorted out.

find tag by subsequent tags as well instead of only the first tag of the person
ensure sort works
-more keywords

find [PREFIX] KEYWORD [PREFIX] KEYWORD
find n/ Alex p/87654321


Props that are generated when you start dragging new connection are missing for  v3.0.0 beta and react flow v11

Describe the Bug
On previous version of ReactFlow v10 whenever you start dragging new connection (Edge) to connect towards a new node the props that were coming and that were needed for were sourceX sourceY and targetX targetY everything was working as it should be, while as after updating to ReactFlow v11 and SmartEdge v3.0 when you start to create a connection the line is disappearing and you can't see it until you connect it, and the props that are specified are missing you got an error as well because of that.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Update to ReactFlow v11
Select and Edge and start dragging new connection
The connection is not visible
Until you connect it to the new node and props are missing
Expected behavior
Expected behavior
The connection should be visible from the begging of the dragging and props shouldn't be missing
Actual behavior
The connection is disappearing and the props are missing
Screenshots or Videos
React flow v10 SmartEdge v2.0.0

https://user-images.githubusercontent.com/52380770/199692811-140fe4b3-1109-406f-88e1-b3ecb8e4cc76.mp4
React flow v11 SmartEdge v3.0.0 beta
React_flow_v11

https://user-images.githubusercontent.com/52380770/199694503-78e81fd4-8896-41fa-a1fb-9dfb67bd1eef.mp4
Platform
OS: [Windows 10-11]
Browser [chrome, firefox]
Version [latest]
Additional context
No response

Hey @DraksBG
is this about the smart edge package or React Flow?

@moklick this is regarding the update to React Flow v11 and how the props are changing when you start dragging a new connection, this don't happen if you at won react flow v10 and the new beta of SmartEdge.

@moklick I found a way to fix the issue but it was a bit hacky the props that are missing are now passed either as 0 0 0 0 value or as the fromX and fromY which are corresponding to sourceY and sourceX this is fixing the issue and you can now see the draw of the connection but when you get two nodes close to each other the connection is defaulting to 0 0 0 0 which are passed down as default value because (sourceX, sourceY, targetX and targetY) are missing as explained in this issue here

I am solving the issue as it follows

that's because (sourceX, sourceY, targetX and targetY) are coming as undefined when you start dragging the connection tho I am gonna repeat my self in the older version those parameters where coming on drag as usual and what is StepEdge expecting now I am passing them as additional data because they are missing and the newProps are actually all the props coming from react flow.

hm thats's weird. I think that we just renamed those props. I'll have a look.

@moklick thank you, can you please check the first two screen shots at the begging of the issue, just for better understanding between the difference from v10 and v11.

could you create a codesandbox for this? Is this an issue with a custom connection line implementation?

Pease re-open if the issue still persists.


inherit_buttons on parent is ignored when subclassing multiple times

This is an issue that existed in discord-ext-menus as well.
The issue applies to reaction menus (MenuPages) as well as button menus (ButtonMenuPages)
Example:
class ButtonNonInheriting(menus.ButtonMenuPages, inherit_buttons=False):

    @nextcord.ui.button(emoji='\N{WHITE LEFT POINTING BACKHAND INDEX}')
    async def my_first(self, button, interaction):
        await self.go_to_previous_page()

    @nextcord.ui.button(emoji='\N{WHITE RIGHT POINTING BACKHAND INDEX}')
    async def my_next(self, button, interaction):
        await self.go_to_next_page()

    @nextcord.ui.button(emoji='\N{OCTAGONAL SIGN}')
    async def my_stop(self, button, interaction):
        await self.stop()

class ButtonInheritNonInheriting(ButtonNonInheriting, inherit_buttons=True):

    @nextcord.ui.button(emoji='\N{WHITE HEAVY CHECK MARK}')
    async def my_check(self, button, interaction):
        await self.message.edit(content="Check!")

The expected behavior would be that since ButtonNonInheriting does not inherit the pagination buttons, ButtonInheritNonInheriting should also not and it should show just the 4 buttons appearing in the two classes.
Instead, all buttons from the parent class of ButtonNonInheriting, reappear when using the ButtonInheritNonInheriting class.

I think the only approach to this would be to have users disable inherit_buttons on ButtonInheritNonInheriting because it should still inherit ButtonNonInheriting buttons even while disabled.

Good observation.
That does work for Button menus, but for reaction menus it works differently.
class NonInheriting(menus.MenuPages, inherit_buttons=False):
    @menus.button("\N{WHITE LEFT POINTING BACKHAND INDEX}")
    async def my_first(self, payload):
        await self.go_to_previous_page()

    @menus.button("\N{WHITE RIGHT POINTING BACKHAND INDEX}")
    async def my_next(self, payload):
        await self.go_to_next_page()

    @menus.button("\N{OCTAGONAL SIGN}")
    async def my_stop(self, payload):
        await self.stop()

class InheritNonInheriting(NonInheriting, inherit_buttons=False):
    @menus.button("\N{WHITE HEAVY CHECK MARK}")
    async def my_check(self, payload):
        await self.message.edit(content="Check!")

In this example, only the check mark reaction appears.

Interesting indeed

Thats a good point, but I dont think there really is a way to fix that. I can look into it further but yeah...

@DenverCoder1 what if we changed the inherit_buttons to be a thing in a init function instead?
Like if we did
def __init__(self):
    super().__init__(inherit_buttons=True)

Maybe that would make fixing this lie 10x easier


ImportError when packaging a standalone application with PyInstaller

When attempting to package my application using PyInstaller, I encounter an error related to the "lark" library. When trying to initiate the SelfQueryRetriever from langchain, I encounter the following problem:

Traceback (most recent call last):
File "test.py", line 39, in
File "langchain\retrievers\self_query\base.py", line 144, in from_llm
File "langchain\chains\query_constructor\base.py", line 154, in load_query_constructor_chain
File "langchain\chains\query_constructor\base.py", line 115, in _get_prompt
File "langchain\chains\query_constructor\base.py", line 72, in from_components
File "langchain\chains\query_constructor\parser.py", line 150, in get_parser
ImportError: Cannot import lark, please install it with 'pip install lark'.

I have already ensured that the "lark" library is installed using the appropriate command: pip install lark.
I have also tried to add a hook-lark.py file to the PyInstaller as suggested here #548.
With the following code the problem can be reproduced:
from langchain.embeddings import OpenAIEmbeddings
from langchain.text_splitter import RecursiveCharacterTextSplitter
from langchain.vectorstores import Chroma
from langchain.retrievers import SelfQueryRetriever
from langchain.llms import OpenAI
from langchain.chains.query_constructor.base import AttributeInfo

embeddings = OpenAIEmbeddings()

persist_directory = "data"
text= ["test"]

chunk_size = 1000
chunk_overlap = 10
r_splitter = RecursiveCharacterTextSplitter(chunk_size=chunk_size, chunk_overlap=chunk_overlap,
                                            separators=["\n\n", "(?<=\. )", "\n"])
docs = r_splitter.create_documents(text)

for doc in docs:
    doc.metadata = {"document": "test"}

db = Chroma.from_documents(documents=docs, embedding=embeddings, persist_directory=persist_directory)

db.persist()

metadata_field_info = [
                AttributeInfo(
                    name="document",
                    description="The name of the document the chunk is from.",
                    type="string",
                ),
            ]

document_content_description = "Test document"

llm = OpenAI(temperature=0)
retriever = SelfQueryRetriever.from_llm(
    llm,
    db,
    document_content_description,
    metadata_field_info,
    verbose=True
)

The spec-file to create the standalone application looks like this:
# -*- mode: python ; coding: utf-8 -*-

block_cipher = None

a = Analysis(
    ['test.py'],
    pathex=[],
    binaries=[],
    datas=[],
    hiddenimports=['tiktoken_ext', 'tiktoken_ext.openai_public', 'onnxruntime', 'chromadb', 'chromadb.telemetry.posthog', 'chromadb.api.local', 'chromadb.db.duckdb'],
    hookspath=['.'],
    hooksconfig={},
    runtime_hooks=[],
    excludes=[],
    win_no_prefer_redirects=False,
    win_private_assemblies=False,
    cipher=block_cipher,
    noarchive=False,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)

a.datas += Tree('path\to\langchain', prefix='langchain')

exe = EXE(
    pyz,
    a.scripts,
    a.binaries,
    a.zipfiles,
    a.datas,
    [],
    name='test',
    debug=False,
    bootloader_ignore_signals=False,
    strip=False,
    upx=True,
    upx_exclude=[],
    runtime_tmpdir=None,
    console=True,
    disable_windowed_traceback=False,
    argv_emulation=False,
    target_arch=None,
    codesign_identity=None,
    entitlements_file=None,
)

Can you help? Thanks in advance!

Can you check it this also happen with Lark 1.1.5 ?

Seems to me like it's a langchain issue, not a lark issue. Did you open an issue there?

@erezsh thanks for the hint. I fixed it in the langchain issue.


Performance: reduce amount of recursive and API calls for real lines of code

This checks now if there is the necessity to traverse further down the tree before doing so. It also stores the result of cursor.currentNode instead of calling this tree-sitter API function multiple times.
When applied on top of the performance improvements of #148, this reduces the time to parse the CodeCharta codebase from 1,4 seconds to 0,72 seconds (720 milliseconds), approximately minus 50%
Resolves #153

@BridgeAR  yes, a node with children can have a comment child node. But at the begin of the function walkTree(), we ensures that comment nodes are skipped with if (!isComment(currentNode)).
The point for this PR is: when we find a node that covers only one line, then we ignore its children because they are on the sameline too. This reduces computing time. But if the node have multiple lines ( currentNode.endPosition.row > currentNode.startPosition.row), then we have to take a closer look at the children because it may contains comments lines :)

Looking at this again: I am not certain if this actually works. If a node has children, it could also contain a comment?

Yes, but we do not have to care, as we already know that there is also actual code in the same line (the current node).


VS Code won't open v1.29.1

I tried opening my VS Code v1.29.1 but it won't open. I already tried typing code --verbosa on my CMD but it won't show any result also.

/needsMoreInfo

Closing as we need more information to investigate this


When Users attempt to donate using Solana Devnet, after inputting decimal figures, like 0.001, the value automatically turns back to 0

Given User is connected to a Wallet and Signed in.
And Users attempts to doantae using Solana Devnet network
When Users input decimal figures e.g 0.0001
Then the value automatically changes back to 0
When User attempts to proceed with the donation process
https://github.com/user-attachments/assets/d122e929-978d-46ab-9563-c0a450222a16

@MohammadPCh - can you check this out or delegate it to another FE dev?

@lovelgeorge99 can you take it? Thanks

ok will work on this

@lovelgeorge99 can you take it? Thanks


Increase stability in K8 copyTo, copyFrom, and execContainer by reducing backpressure

update the implementation of K8s copyTo, copyFrom, and execContainer methods to handle backpressure issues in NodeJS

:tada: This issue has been resolved in version 0.31.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 0.31.1 :tada:
The release is available on:

npm package (@release-0.31.x dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


How could I monitor one thousand or even more tags?

   Now,our solution is like this:

   Step 1,read the value of the tags;
   Step 2,compare the values with the last values that is read.
   Step 3,if the values equal the last values,it means that the values have not change;otherwise,it have changed.
   But  it takes about 5 seconds to read 1000 tags,if we need monior 10 thousand tags,it will be obout 1 minites.It is too long for us.Do you have a better way?

You should read block of bytes and extract single tags from them.
You can use ReadMultipleVars, but there are limits. I have to update the documentation on that regard. Here is sample code:
https://github.com/killnine/s7netplus/blob/master/S7.Net.UnitTest/S7NetTests.cs#L385

 Maybe,your solution will word,but I don't thing it will solve the problem completely.I will try and test it this week,
  I am thinking that we define an event,when the value of a tag has changed,it will trigger the event.By doing this,we don't have to chech every tag each time.But I don't know how to write the trigger of the event.Do you think that my solution is possible?

The solution from @mesta1 will work.
If you wont to fire an event on value change, you should implement this trigger in PLC by yourself. So you implement some protocol on top of s7 standard protocol. For example you could monitor your 1000 values in PLC and set some small control area if some value changes. Your application polls just small control area and reads monitored values only if they change.
Note also, PLC needs time to process every read or write request. And this time depends on PLC type, communication processor or netlink adapter you use.

I have just tested your solution. There are some problems:
A block may contains other DataType,such as string or bool, if I use ReadBytes,the result that is
read will always be byte(it will change into the number on ASCII). Other DataTypes have the similar problems .
So, it turns out that using ReadBytes dosen't work.
Then, I try to use ReadMultipleVars,there are some other problems:
If the DataTypes of my 1000 tags contains several types, supose we don't known which DataType that each tag is and where the tag is.
Step 1, I have to cherk all my tags and divide them into different types , in the meantime,because of the limit of ReadMultipleVars(less than 20 dataItems, and less that 200 Bytes ),I have to sum up the quantity of each DataType.
Step 2, divide them to some dataItems that each dataItems contains no more than 20 tags ,meanwhile, each dataItems can't reach to 200 bytes,so I check each dataItems.
Step 3, extract values from each dataItems and send values every tags.
This way seems so complicated and I have not tested how long it takes.

This is a low level library, it is not an opc server.

I almost solved this problem,but when the DataType is bool or string, some problems come out.
How to use ReadMultipleVars to read several tags whose DataType is bool or string ?I know that I should use DataItem, but when it is bool,I found that you have not write this type in DataItem, when it is string it always  throw new Exception when the program goes to "if (bReceive[21] != 0xff) ".Can you teach me how to use ReadMultipleVars to read boll and string?

I have just solved the bool problems. There is only one question: How to use  ReadMultipleVars to Read a couple of tags whose DataType are string?

The limit of ReadMultipleVars(less than 20 dataItems, and less than 200 Bytes ),you said it is because of the limit of protocol.Is there some way to read more dataItems once?In the other word, could the package bigger and the package return is right?

No, you have to do multiple requests and to do them manually. Also the 200 bytes is an old limitation due to the https://github.com/killnine/s7netplus/issues/21
In the new plc you can get more than 200 bytes, but still you need to manually split bigger reads.

Since I can not think out any other better solution,I will show my current solution to monitor 1000 or even more tags:
Step1,Add two member in dataItem "ID" , "Address" ,to return the value return belongs to whic tag.
public class DataItem
{
    /// <summary>
    /// Primary Key of the DataItem
    /// </summary>
    public string ID { get; set; }

    /// <summary>
    /// The address of the tag that you are about to read
    /// </summary>
    public string Address { get; set; }

    /// <summary>
    /// Memory area to read
    /// </summary>
    public DataType DataType { get; set; }
    /// <summary>
    /// Type of data to be read (default is bytes)
    /// </summary>
    public VarType VarType { get; set; }

    /// <summary>
    /// Address of memory area to read (example: for DB1 this value is 1, for T45 this value is 45)
    /// </summary>
    public int DB { get; set; }

    /// <summary>
    /// Address of the first byte to read
    /// </summary>
    public int StartByteAdr { get; set; }

    /// <summary>
    /// Number of variables to read
    /// </summary>
    public int Count { get; set; }

    /// <summary>
    /// Contains the value of the memory area after the read has been executed
    /// </summary>
    public object Value { get; set; }

    /// <summary>
    /// Create an instance of DataItem
    /// </summary>
    //public DataItem()
    //{
    //    VarType = this.DataType;
    //    Count = 1;
    //}
    public DataItem(string id,DataType datatype,int db,string address,int startByteAdr,VarType vartype,int count)
    {
        this.ID = id;
        this.VarType =vartype;
        this.Count = count;
        this.DB = db;
        this.StartByteAdr = startByteAdr;
        this.DataType = datatype;
        this.Address = address;

    }
}

Step 2: Let each tag to a dataItem and let every 19 dataItems to a list.
step 3:use ReadMultipleVars()
for (int i = 0; i < list_count; i++)
{
plc.ReadMultipleVars(List[i]);
}
step 4: using the value that is read by ReadMultipleVars() compare to the former value. If the value of one tag have changed, the program update the value of the tag,otherwise not.
If there are not string among 1000 tags,it takes about 300ms to read 1000 tag regardless of what varType each tag is.
If there is some string tags, I have to spit them first.For string tags ,I use Read(). For other varType, use ReadMultipleVars().How  long this case takes mainly depends on how many the string tags are.

Your solution is not optimized. If you have a lot of items in the same DB, you want to group them and make a single read in a single dataitem.

@mesta1 Fist of all, I define an Array whose each element is a list. As you said, I  have to group some tags into a list, but I don't have to make a single read in a single datatem.For I have already grouped each tag  to  an exact list, so I have many list to read.Then I use ReadMultipleVars like this:
for (int i = 0; i < list_count; i++)
{
plc.ReadMultipleVars(List[i]);
}
so  I don't have to make a single read in a single datatem

If I remember correctly, the ReadMultipleVars can contain up to 20 dataitem. So at most if you are reading a single tag per data item, you read 20 bytes per request, which is not optimal.
DataItems are good in some cases, but the best is to read entire DBs and then extract the values that you need.

With S7-1500 the PDU size is 960 bytes. There's some bytes lost for the headers, but I believe you can read something like ~940 bytes in a single read that way (with proper PDU size negotation, which should work as of recently). When all the bytes have been received it's possible to extract data at the proper indices of the return array. I'm not sure about the timing of this, but I do know that reading 19 Int16 variables (as separate DataItems) takes 3.1ms with an S7-1500 (actually even less, because the benchmark used had to built the DataItems in that time as well). @lvzhifeng2013: can you let us know if this solves your problem?


apt update before apt remove

Otherwise an outdated package source seems to break the removal process and cause CI builds to fail. Which is infurating.

Merging this to unbreak CI.


Add ability to get latest infected addon ID's through a GitHub stored file

I hard-coded the theoretical URL that would house the file on GitHub if the PR was merged so do ensure that if this gets merged you test accordingly and make sure to update the URL variable if necessary

I plan on incorporating the 2nd part of #2 soon as well as optimizing the way the .GMA files are being read (I do have a solution for that which will be in the next PR) so it will use much less memory and take less time

I have resolved them now, so do pull the latest changes and send any additional comments/concerns my way

Approved! 😄

Thank you! I did do testing before making this PR and pushing these additional changes as well
I'll focus now on the stuff I mentioned above in the 2nd comment


Some modules don't seem to have a version; don't barf

Pedantic solution (don't yield -Inf if the list ends up empty).

You will need an explicit flat in there with the glr. May as well do it now since it should not hurt on nom.

Option two is definitely "copy the code from the next line" :)

Should I do that and rebase?

... wait, .max yields a scalar, surely?

I surely hope so :)
I'm ready to accept it, but it's even better if it works for both nom and glr, so if you feel like getting two birds with one stone that'd be awesome :) Rebase or not, whatever you like best :)

Is this still an issue/need?

It's still an issue if you go ahead and remove version from one of the entries in projects.json. So: potential issue.
When I tried it now I got warnings saying Use of uninitialized value of type Any in string context
Any of .^name, .perl, .gist, or .say can stringify undefined things, if needed.
I'll be happy to accept it if it doesn't do that :)

With panda being discontinued, I'm closing the outstanding PRs. Thanks you for your contributions.


Change GhostBSD version to be static like 23.10.1

GhostBSD will return with scheduled releases but with rolling packages software.
The version of  GhostBSD will become static again, and it should fix https://github.com/ghostbsd/issues/issues/10.
The release schedule will be every three months. If there are system security issues or weird issues, we will make .2 and .3.
The version will be hardcoded in ghostbsd-src and version ports will be deprecated and removed.

commit in base https://github.com/ghostbsd/ghostbsd-src/commit/755d90c220eee450192ae3f6573c12c8dd361fa9


work on text data publication/meta data/summaries

I'm not sure what exactly this is referring to, maybe Pascale can provide a little more clarity


Fix regexp for converting rails date format to momentjs

Addresses #982

Please do not open&close PR repeatedly. If you find problem with your PR, just push new commit to original branch(then your PR will be updated).
Additionally, can you write some specs for this fix?

Sorry for that. Yes I will write some specs.
Em dom, 1 de nov de 2015 08:06, Mitsuhiro Shibuya<EMAIL_ADDRESS>escreveu:

Please do not open&close PR repeatedly. If you find problem with your PR,
just push new commit to original branch(then your PR will be updated).
Additionally, can you write some specs for this fix?
—
Reply to this email directly or view it on GitHub
https://github.com/sferik/rails_admin/pull/2451#issuecomment-152814202.

@mshibuya test added

Nice :heart:
One more thing left, please resolve rubocop check failure!

@mshibuya done :+1:

Thank you :heart_eyes:


ell: 0.54 -> 0.55, iwd: 2.0 -> 2.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ell/versions.
meta.description for ell is: "Embedded Linux Library"
meta.homepage for ell is: "https://git.kernel.org/pub/scm/libs/ell/ell.git"
meta.changelog for ell is: "https://git.kernel.org/pub/scm/libs/ell/ell.git/tree/ChangeLog?h=0.55"
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.55 with grep in /nix/store/hz5kw5nn7a2aqa9gbc4yqd0vnivprpsn-ell-0.55
found 0.55 in filename of file in /nix/store/hz5kw5nn7a2aqa9gbc4yqd0vnivprpsn-ell-0.55

Rebuild report (if merged into master) (click to expand)

3992 total rebuild path(s)

3992 package rebuild(s)

First fifty rebuilds by attrpath
ChowKick
CuboCore.coreaction
CuboCore.corearchiver
CuboCore.corefm
CuboCore.coregarage
CuboCore.corehunt
CuboCore.coreimage
CuboCore.coreinfo
CuboCore.corekeyboard
CuboCore.corepad
CuboCore.corepaint
CuboCore.corepdf
CuboCore.corepins
CuboCore.corerenamer
CuboCore.coreshot
CuboCore.corestats
CuboCore.corestuff
CuboCore.coreterminal
CuboCore.coretime
CuboCore.coretoppings
CuboCore.coreuniverse
CuboCore.libcprime
DisnixWebService
EmptyEpsilon
HentaiAtHome
MIDIVisualizer
PageEdit
R
SDL2
SDL2_gfx
SDL2_image
SDL2_mixer
SDL2_net
SDL2_sound
SDL2_ttf
SDL2_ttf_2_0_15
SDL_audiolib
SDL_compat
SDL_gpu
Sylk
_1oom
_20kly
_7kaa
_90secondportraits
aaxtomp3
abbaye-des-morts
abcl
acoustidFingerprinter
adapta-gtk-theme
adl

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/hz5kw5nn7a2aqa9gbc4yqd0vnivprpsn-ell-0.55 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ell https://github.com/r-ryantm/nixpkgs/archive/b21655f6617e1c6eea3fa6b38ab1ec5934f9fb70.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/hz5kw5nn7a2aqa9gbc4yqd0vnivprpsn-ell-0.55
ls -la /nix/store/hz5kw5nn7a2aqa9gbc4yqd0vnivprpsn-ell-0.55/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @Mic92 @dtzWill @maxeaubrey for testing.

@ofborg build ell ofono iwd bluez


Cocoa pods badges say "Invalid"

Hi, not sure if this is the right repository for this.
All my cocoa pods badges say "invalid" today.
https://img.shields.io/cocoapods/v/Auk.svg?style=flat

This is absolutely the right repository for this. It looks like this may have been a temporary issue on CocoaPod's side? The badge works now. I'll keep this in mind if this happens again.

How do you provide colours
Given the following example:
https://img.shields.io/cocoapods/l/SwiftDataTables.svg?style=flat
Trying to make it green like so:
https://img.shields.io/cocoapods/l/SwiftDataTables-green.svg?style=flat or
https://img.shields.io/cocoapods/l/SwiftDataTables.svg?style=flat&color=green
both render the badge to read POD|Invalid
Any ideas?

The CocoaPods appears to be resolved.
Hi @pavankataria, could you open a new issue with your question?


Change knox to aws-sdk in order to support v4 aws signatures

See https://github.com/hughsk/s3-sync/issues/29
There are some minor potential breaking changes since now aws-sdk style parameters are expected instead of knox style parameters.
So for example headers will now expect CacheControl instead of the HTTP Cache-Control knox works with.

Any chance of this making it into the main codebase? The library is simply broken in frankfurt without it.

@hughsk,
This is really an important feature. Could you please merge this and bump version on npm?
Thanks

You can use my fork at https://github.com/andreialecu/s3-sync-aws which has this.
It's also on npm as s3-sync-aws


BUG: Firebird 3.x execute script SET TERM not working

Hi, I am trying to execute a long script that has several statements and sometimes in the script a
SET TERM ^ ;
is required in order to create a stored procedure or a trigger.
The problem is that the script parser seems to recognize the new terminator and try to execute the statement, but it also include the terminator char in the statement and Firebird sql engine reports an error since the termination character is not supposed to be part of the statement
I don't know hot to solve this problem.
Thanks in advance.

It is a bug in new delimiter value extraction.
Thanks for report


Update UI in master to match/better 0.3

In v0.3, we have 3 task panels
=> Do it soon (incomplete task with time, sorted by task time)
=> Do it anytime (incomplete floating task)
=> Done (completed, sort by completion time?)
Each task must have a unique index and in some neat/meaningful order
Not the good way to do it: modify-ui-to-match-0.3 branch
=> Each panel e.g. AllTaskPanel has a reference to the same sortedTask unmodifiable list that they use to get the index. (UI does further filtering when it choose to setItem)  Each UI List will only update if their items changed (and it changes because of the line toDoList.resetData(toDoList) in model manager, without this line, the index does not update correctly).
Alternatives: add listeners, multiple lists etc
Save the task creation/completed time as last updated time. branch: add-last-updated-time
=> some failing test cases
=> comparable compareTo defined in Task.java
Currently, when tasks are marked/unmarked/updated, they will be replaced by a clone so that the changes in the UI will be visible (not using Java FX property)

@rachx Why closing this?


NuttX graduated the Incubator; update repository links

Summary
NuttX has graduated the Incubator and the repositories will be renamed to remove the incubator- prefix.
This PR updates all links, documentation, etc., to the new names.
Note: Please DO NOT MERGE until Infra has renamed the repositories.
See the Infra Jira ticket: https://issues.apache.org/jira/browse/INFRA-23935
Impact
Affects GitHub workflows.
Testing
N/A

Isn't it better to leave the PR as a draft until they renamed the repos ? Just to avoid any headaches by an accidental merge :)

Isn't it better to leave the PR as a draft until they renamed the repos ? Just to avoid any headaches by an accidental merge :)

Good idea. I'll do that now.

@hartmannathan I think now it can me merged

@hartmannathan I think now it can me merged

@acassis Yay! I will mark it ready for review.
Please check carefully: this patch affects the GitHub workflows!!
Hopefully the tests will pass now that the repos were actually renamed.
See also:
https://github.com/apache/incubator-nuttx-apps/pull/1437
https://github.com/apache/incubator-nuttx-website/pull/80

@btashton The checks are failing even though the repositories have been renamed. Do you know what else needs to be updated to make the checks pass again?

@xiaoxiang781216 The checks appear to be broken and I am not sure what is missing. Does this usually happen when modifying the workflow scripts?

There are a couple details that we may need to fix. I'm not sure the container reference will magically work without pushing a new one (possibly it will). The checks are failing here because they could not clone from the new location which is strange, I will trigger them again.

Looks like we just need to sort the build image out. I'll do that this morning.

@hartmannathan I will need to do some more work to get this done.  We can either leave the container alone in this PR for now (just reference the images) which will let this pass, or we can wait for me to make the changes required to associate a new container with this repository.

@hartmannathan I will need to do some more work to get this done. We can either leave the container alone in this PR for now (just reference the images) which will let this pass, or we can wait for me to make the changes required to associate a new container with this repository.

@btashton I appreciate the help. I don't know where to find the container, let alone where to begin! I think it's better to wait for the required changes. This way, we will know that everything will work properly and we won't leave loose ends.

@hartmannathan I think we should be good now (no changes to this PR required) long as the test pass. I have restarted CI for both this PR and the on in nuttx-apps.  They are now able to pull the new image.  This build container is not associated with the repo right now (just Apache and me), but we can fix that in a follow on PR if it does not get fixed by the push action when the CI runs on trunk with this change.

@btashton Thanks for all your help on this!


WINDOWS - CAVE AWIPS fail to launch

I have that error.
CAVE console output say:
"21:32:45.762 [Start Level: Equinox Container: 20d70885-fa2f-001a-1558-db5ce5f0bdfb] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Finished creating instance of bean 'NcCore'
21:32:45.763 [Start Level: Equinox Container: 20d70885-fa2f-001a-1558-db5ce5f0bdfb] DEBUG com.raytheon.uf.viz.spring.dm.OSGIXmlApplicationContext - Unable to locate LifecycleProcessor with name 'lifecycleProcessor': using default [org.springframework.context.support.DefaultLifecycleProcessor@17f2f0fd]
21:32:45.763 [Start Level: Equinox Container: 20d70885-fa2f-001a-1558-db5ce5f0bdfb] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'lifecycleProcessor'
21:32:45.763 [Start Level: Equinox Container: 20d70885-fa2f-001a-1558-db5ce5f0bdfb] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemProperties]
21:32:45.763 [Start Level: Equinox Container: 20d70885-fa2f-001a-1558-db5ce5f0bdfb] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemEnvironment]
21:32:45.763 [Start Level: Equinox Container: 20d70885-fa2f-001a-1558-db5ce5f0bdfb] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Could not find key 'spring.liveBeansView.mbeanDomain' in any property source. Returning [null]
Spring initialization took: 3469 ms
No component specified, defaulting to 'thinclient'"

 I have that error.
CAVE console output say:
"21:32:45.762 [Start Level: Equinox Container: 20d70885-fa2f-001a-1558-db5ce5f0bdfb] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Finished creating instance of bean 'NcCore'
21:32:45.763 [Start Level: Equinox Container: 20d70885-fa2f-001a-1558-db5ce5f0bdfb] DEBUG com.raytheon.uf.viz.spring.dm.OSGIXmlApplicationContext - Unable to locate LifecycleProcessor with name 'lifecycleProcessor': using default [org.springframework.context.support.DefaultLifecycleProcessor@17f2f0fd]
21:32:45.763 [Start Level: Equinox Container: 20d70885-fa2f-001a-1558-db5ce5f0bdfb] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'lifecycleProcessor'
21:32:45.763 [Start Level: Equinox Container: 20d70885-fa2f-001a-1558-db5ce5f0bdfb] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemProperties]
21:32:45.763 [Start Level: Equinox Container: 20d70885-fa2f-001a-1558-db5ce5f0bdfb] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemEnvironment]
21:32:45.763 [Start Level: Equinox Container: 20d70885-fa2f-001a-1558-db5ce5f0bdfb] DEBUG org.springframework.core.env.PropertySourcesPropertyResolver - Could not find key 'spring.liveBeansView.mbeanDomain' in any property source. Returning [null]
Spring initialization took: 3469 ms
No component specified, defaulting to 'thinclient'"

I have the same problem

What language are you using (English, Spanish, etc) on your machine, and what OS (Mac, Windows, etc) are you running?
Thanks.

I have the exact same problem. Did you guys find any solution in the end?

@HarveyRichard2007 Couple of questions:

What OS are you running?
What language is your machine in (English, Spanish, etc)?

Hello,
I'm using Windows 10 and my machine's language is in French.
R
Le lun. 22 août 2022, à 19 h 06, srcarter3 @.***> a
écrit :

@HarveyRichard2007 https://github.com/HarveyRichard2007 Couple of
questions:

What OS are you running?
What language is your machine in (English, Spanish, etc)?

—
Reply to this email directly, view it on GitHub
https://github.com/Unidata/awips2/issues/285#issuecomment-1222795008,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2U44ESB2K6YK65VU726JP3V2PFR7ANCNFSM4KC5ARTQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@HarveyRichard2007 That is the issue.  It seems when CAVE is run on a system other than English, it can experience unresolvable errors.
The solutions are either to:

switch your system to English, when using CAVE
use our Virtual Machine option.  This option allows your actual machine to stay in whichever language you use, while you can run CAVE in an environment in English.  The VM option has one notable drawback at the moment -- it cannot render RGB satellite products.

Let us know if either of these options work for you?

Hello again,
Thanks for the kind reply. I switched to English and the app opened
correctly (a bit disappointed that an app's functioning depends on
localization!), however now when I call up say a model product from the
Product Browser, I see the progress messages at the bottom right of the
window, which eventually stop, then nothing comes up on the screen. I only
see the original CONUS outline against a black background and nothing else.
Please tell me if you need more info in order to solve this.
Richard
Le mar. 23 août 2022, à 14 h 54, srcarter3 @.***> a
écrit :

@HarveyRichard2007 https://github.com/HarveyRichard2007 That is the
issue. It seems when CAVE is run on a system other than English, it can
experience unresolvable errors.
The solutions are either to:

switch your system to English, when using CAVE
use our Virtual Machine option
http://unidata.github.io/awips2/install/install-cave/#method-1-linux-virtual-machine.
This option allows your actual machine to stay in whichever language you
use, while you can run CAVE in an environment in English. The VM option has
one notable drawback at the moment -- it cannot render RGB satellite
products.

Let us know if either of these options work for you?
—
Reply to this email directly, view it on GitHub
https://github.com/Unidata/awips2/issues/285#issuecomment-1224190399,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2U44ETY5R6S56RUORMKUEDV2TQZ5ANCNFSM4KC5ARTQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @HarveyRichard2007,
Can we have you try and remove caveData and then restarting Cave?
Also, I assume you're connecting to our edex (edex-cloud.unidata.ucar.edu)?  Is that correct?
After attempting to load a dataset again, could you take a screenshot of how CAVE looks?
Also could you go to the CAVE menu > Open Alertview > and then either take a screenshot or copy and paste if there are any errors in there?

Ok, will do momentarily!
Le mer. 24 août 2022, à 19 h 07, srcarter3 @.***> a
écrit :

Hi @HarveyRichard2007 https://github.com/HarveyRichard2007,
Can we have you try and remove caveData
http://unidata.github.io/awips2/appendix/common-problems/#windows and
then restarting Cave?
Also, I assume you're connecting to our edex (edex-cloud.unidata.ucar.edu)?
Is that correct?
After attempting to load a dataset again, could you take a screenshot of
how CAVE looks?
Also could you go to the CAVE menu > Open Alertview > and then either take
a screenshot or copy and paste if there are any errors in there?
—
Reply to this email directly, view it on GitHub
https://github.com/Unidata/awips2/issues/285#issuecomment-1226128737,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2U44EWLY4XR6UPKRKZJ2ZTV2ZXGRANCNFSM4KC5ARTQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hello again,

I do indeed use http://edex-cloud.unidata.ucar.edu
I've deleted the caveData folder then restarted CAVE.
When I try load the NEXRAD Display, it works fine. I have a CONUS
mosaic reflectivity image displayed and I can animate it.
When I try to load either satellite or model data (HRRR), I don't see
anything, no feedback that something is wrong (which would REALLY help!),
nothing.
I've attached a screenshot of the app after loading the above
mentioned data.
No errors in AlertView whatsoever.
I've attached a log file, clumsily copied and pasted from the rapidly
scrolling text output in the black "DOS" window, just after I sent a
command to load the surface relative humidity from HRRR -- there should be
a better way to see logs.
At the bottom of the file, you will see messages such as

"19:21:08.032 [main] WARN CaveLogger - Error loading bundle :
bundles/grid/SfcRH.xml"
"org.eclipse.core.commands.ExecutionException: Unable to load
bundle"
"Caused by: com.raytheon.uf.viz.core.exception.VizException: Cannot
find bundle file: bundles/grid/SfcRH.xml"

So it looks like the problem is at your end (maybe)?
Thanks,
Richard
Le mer. 24 août 2022, à 19 h 07, srcarter3 @.***> a
écrit :

Hi @HarveyRichard2007 https://github.com/HarveyRichard2007,
Can we have you try and remove caveData
http://unidata.github.io/awips2/appendix/common-problems/#windows and
then restarting Cave?
Also, I assume you're connecting to our edex (edex-cloud.unidata.ucar.edu)?
Is that correct?
After attempting to load a dataset again, could you take a screenshot of
how CAVE looks?
Also could you go to the CAVE menu > Open Alertview > and then either take
a screenshot or copy and paste if there are any errors in there?
—
Reply to this email directly, view it on GitHub
https://github.com/Unidata/awips2/issues/285#issuecomment-1226128737,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2U44EWLY4XR6UPKRKZJ2ZTV2ZXGRANCNFSM4KC5ARTQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @HarveyRichard2007 ,
I don't think your screenshot came through, but that might not be super helpful from the sounds of it.
Do you think you could install the vm option and try loading the model data through that method?
I want to see if that makes any difference, and that will give us some more insight to what might be the problem.
We confirmed we are able to load both satellite and HRRR data on Windows, here, so we're fairly confident it isn't an general EDEX issue at this point, but running from the VM will give us some more information.
Thanks!


[Dataset] "Owners are invalid" when editing a dataset

We often get an error message when editing a table : "Owners are invalid"
This is due the owner of the datasource being set (automatically) to "unknown unknown"
We need to manually remove the owner and save the datasource afterwards
How to reproduce the bug
WARNING : I am not sure how to exactly reproduce the bug, but it often occurs
Expected results
I should be the owner of the chart
Actual results
The owner of the chart is "Unknown unknown"
Screenshots

Environment
(please complete the following information):

browser type and version: Google Chrome Version 103.0.5060.53 (Official Build) (x86_64)
superset version: 1.5
python version: 3.9
node.js version: /
any feature flags active: /

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[X] I have reproduced the issue with at least the latest released version of superset.
[X] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
/

I recall this being fixed quite some time ago, but is pretty stale if not. If people are still encountering this in current versions (3.x) please open a new Issue or a PR to address the problem, or we can re-open this issue.


APEXMALHAR-2139

Emit only the keys for which values changed or were added in a given window.

@devtagare please review

@chinmaykolhatkar can you take a look at this PR?

@tweise Sure.. Will do.
@aayushia Can you please explain what is the purpose of this change? I see there is a "cumulative" property of this operator which can assign downstream operator to identify the change.

@aayushia I am still not able to understand the reason for this PR. You said that you want to emit only the changed keys in each window. I think same can be achieved using the existing operator itself. If you set the "cumulative" to false which is the property of the operator, then the map will be cleared at every endWindow, making the "map" object a fresh one. In next endWindow, it'll have content only that were received in the that window.
If you see the diff of the code, in endWindow, both if and else condition is adding the content of the map to the tuple object. So basically, you're adding everything of map to tuple and emitting to tuple.
Please correct if my understand is wrong here. But from the looks of it and based on your requirement, I see this change in PR is not required and your requirement can be achieved using existing operator.

@chinmaykolhatkar I agree with what you said, the default test case checks with the "cumulative" property as false. However, irrespective, of it being true or false, it emits the entire map it got as input for that particular window. What I am tying to achieve, is emit only the keys which got modified or newly added in that window as compared to the previous windows (and not emit every key it received in that window). I have changed the code now, if you could kindly review it.

@aayushia Thanks for the explanation. I'll review the PR.

The checks passed for me locally. THe travis check has failed though. @aayushia After you squash commits and rebase with master please verify whether travis build also passes.

@chinmaykolhatkar Made the change you mentioned. Squashed and rebased with master, as well. Can you please review and merge?

@aayushia Your branch is not rebased with master, its very old.
Please do "git fetch" on remote base repository and then only call "git rebase /master" on ur branch.
And then push the changes to ur remote repository.
This is important to avoid any unnecessary merge commits.


Upgrading from 0.4.4 to 0.5.0

Are there any release notes on the changes made from verzion 0.4.4 to 0.5.0? I am upgrading an old codebase that I inherited from another developer and I am encountering some errors that suggest that some of the underlying behavior of linregress has changed in some way as of version 0.5.0. In particular, there was a line that looks like this after upgrading:
Some((model.parameters()[0], model.parameters()[1..].to_vec(), model.se().to_vec()))

This compiles, however now we get a number of unit test failures as a result of this. Would appreciate any insight into what the 0.5.0 changes included and what I can eo to upgrade the code properly.

I'm assuming it's this code from the substrate crate.
This appears to be a regression I introduced here.
The code in substrate forces the intercept value to 0, which results in a standard error of exactly 0, which then leads to a division by zero when calculating the t-value for the intercept.
Previously the resulting Nan was simply propagated into the p-value, but now gets rejected by the new students_t_cdf and fitting the model fails with an error.
fit_low_level_regression_model expects that 1 is passed as the intercept value and not 0, so arguably the way it is used in substrate is wrong.
However it's definitely a bug that the model suddenly fails to fit when it previously would.
I have fixed this bug by preventing the division by zero, which results in a p-value of 1.0 for the intercept in this specific case.
This fix is included in the new version 0.5.1 and upgrading to that instead of 0.5 should fix the test failures.
Please let me know if this does indeed fix the problem or if there is something I have missed.

thanks so much, that worked!


Add example applications

This PR adds a number of example applications that demonstrate usage of the sycl-blas. This addition is mainly motivated by wanting a smaller target for debugging and tweaking, rather than the (rather involved) test suite.

Good work, thanks for the example


cardano-ping: extended supported versions

Description

Extended cardano-ping supported versions
network-mux: removed unnecessary brackets

Checklist

Branch

[x] Commit sequence broadly makes sense
[x] Commits have useful messages
[ ] New tests are added if needed and existing tests are updated
[ ] If this branch changes Consensus and has any consequences for downstream repositories or end users, said changes must be documented in interface-CHANGELOG.md
[ ] If this branch changes Network and has any consequences for downstream repositories or end users, said changes must be documented in interface-CHANGELOG.md
[ ] If serialization changes, user-facing consequences (e.g. replay from genesis) are confirmed to be intentional.

Pull Request

[x] Self-reviewed the diff
[x] Useful pull request description at least containing the following information:

What does this PR change?
Why these changes were needed?
How does this affect downstream repositories and/or end-users?
Which ticket does this PR close (if any)? If it does, is it linked?

[x] Reviewer requested

bors merge


Expose individual children as editable.

Godot version:

Issue description:
Currently, in order to modify values of children, you must mark the scene as editable children which exposes all the children of the scene. It would be much better to be able to select which particular children of the scene I want to mark editable (alongside the old option). For example I want to be able to expose only the Data node of my Player without having to expose the other nodes. This cludders my workspace too much.
I believe this would be a great mechanism to make the interface of scenes more modular.

Thank you.

which exposes all the children of the scene

I think the editable children is just a visual representation of what you can edit. If you don't edit something, it won't really be changed or "exposed". You can see this because of the little circle icon appears next to the value in the inspector (if it's modified). I recommend to just fold your FSM node

Would be a very nice option, I would add that it would probably be even better if certain children would be exposed in the editable tree list.  This way you, when dropping in a new scene, it could have the child nodes using scripts with export var be immediately accessible for modifications.
It would make certainly make component nodes/sub-scenes a lot more friendlier to use.

which exposes all the children of the scene

I think the editable children is just a visual representation of what you can edit. If you don't edit something, it won't really be changed or "exposed". You can see this because of the little circle icon appears next to the value in the inspector (only if it's modified). I recommend to just collapse your FSM node for now. The collapsed state will be saved upon re-opening the scene

I know you can collapse a node, and this would only be a quality of life feature. But it seems this would not take too much work to implement and would make the experience a lot more enjoyable.

I know you can collapse a node, and this would only be a quality of life feature. But it seems this would not take too much work to implement and would make the experience a lot more enjoyable.

Yeah I hear you.
When you said

It would be much better to be able to select which particular children of the scene I want to mark editable

Maybe you meant visible, not editable? Because they all still editable, and I was thinking you were suggesting to only have certain nodes not editable, which confused me.
So basically, an "Edit Children Visibility" menu underneath the "Editable Children", which will show a popup that will let you select which nodes you want to be visible.

Duplicate #21311

@avencherus I believe an automatic system would not resolve the problem. Also, in my experience, one of the nodes that I marked as editable more often was the collision shape which almost never has a script on it.

@avencherus But suppose I want to expose some data to designers, I think it is wrong to force all of this data to be in one Node (i.e the root node of the scene). I would want more control over exposing the information without for that matter exposing the whole object's inner working with the current option Editable children.

Closing as duplicate of #21311.

@akien-mga maybe is more beneficial to keep this one, as it has more discussion on it. You can close #21311 instead

Good point.

@QbieShay Wouldn't want anything automatic either.  I believe we're on the same page, after reading https://github.com/godotengine/godot/issues/21311.  I'd find it more useful to have an option the toolbar, much like the lock and prevent child node selection option.  Something like "always expose as editable".
This is more of what i would imagine for it.

You'd elect which nodes you want automatically exposed, and when these scenes are instanced, you can quickly modify export vars of child nodes.

Yes. And I wouldnt make the exposing recursive: if you instance a scene that has subscene with some exposed nodes, you should mark them as exposed again if you want them to be editable when the current scene is instanced somewhere else.
This way you have the finest control over what is exposed and what not and at which levels.

Nice idea, glad you brought it up, because I was fixated on a different use case.  Now that you mention it, I can imagine a deep tree could lead back to a problem with clutter without the option to discontinue or forward what would get exposed as editable in the scene's parent.
In the case I was originally conceiving of, a non-recursive option might be tricky though.  If you have maybe a hundred enemies placed in a scene that is a sub-section of a level.  In this case you would only be using the sub-scene for organizational reasons, and would still want to see everything exactly as it appears in the "level section" scenes.
Node -> Enemy -> Section -> Level
I imagine you wouldn't want to enlist every enemy individually/manually to carry on exposing certain nodes up to the next scene from section to level.
It isn't a terribly likely setup for enemies, maybe more like environmental objects with some small scripts attached to them.
If I'm understanding it well enough, it seems there may be a double edge here.  X)
Cases where you would want it to be enabled recursively and other times you don't, so perhaps two buttons or modes?
One that is "Expose node as editable to all inheriting scenes.",  and mouthful number two, "Expose node as editable only to a parent scene."  The second one you could keep reapplying as needed, like you described.

Would be nothing more than a QoL change but I'm strongly in favor of it. It gets pretty annoying having to right click -> "editable children" every single time I instantiate a scene. Just voicing my support for the feature.

I'd really enjoy this feature. As @avencherus said, a toolbar button and an icon next to the child node (very much like the script icon or the not selectable icon ones) should do the trick.
This is my proposal, I'll call this feature node or instanced scene export from now on:
@QbieShay is right, the exporting should be non-recursive, only exported nodes (and not their children) are displayed, and instanced scenes with exported nodes will not display them by default inside other instanced scenes.
But, by default, exported nodes in exported instanced scenes are automatically displayed, unless the export flag is overridden, just like any property override in instanced scenes.
The exported nodes visualization works only displaying exported nodes, even if they are children of non-exported nodes, so, if only the grandchild C of the scene root A is marked as exported, it will be the only one displayed if the scene is instanced somewhere else, leaving the parent B behind as if it did not exist in the structure. If also the parent B is marked as exported, then the real local structure would be displayed.
The Editable Children option would always be available to view the complete scene structure if needed.
I think this could be a very powerful feature implemented this way.

I'd also welcome the ability to define which nodes one wants to be editable for a given scene instance.
Some of my scenes have lots of generally configured nodes, with only a few needed to be configured for each particular instance.

Just happened upon this issue, trying to find if there was any way I could set a scene to have editable children by default; the suggestion here of being able to choose which children would be nice to reduce clutter as well.
Other than the comment previous to mine, there hasn't been any discussion in close to a year, what are the core dev's thoughts on this?

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


[installer] update .NET Core dependency to 3.1.15

Provide a description of the new feature / enhancement
https://dotnet.microsoft.com/download/dotnet/3.1

Resolved with the release of v0.41.


Creator earnings aren't enforced with the ExampleToken script

I'm using the DeployAndConfigureExampleToken.s.sol to deploy my contract on the sepolia testnet. The script has the following lines, which I think are supposed to enforce royalty.
uint16 feeBps = 500; // 5%
        token.updatePublicDrop(
            seadrop,
            PublicDrop(
                mintPrice,
                uint48(block.timestamp), // start time
                uint48(block.timestamp) + 1000, // end time
                maxTotalMintableByWallet,
                feeBps,
                true
            )
        );

But in the drop settings, I seed that earnings are optional for this collection. I want to make the earnings enforced at 5% according to the script. How can I make that happen?

Creator Earnings will be optional for all new collections.
https://x.com/opensea/status/1692224333551186379?s=20

Here it says the earnings can be enforced or optional.


imlib2 sugestion

I think it would be great to integrate imlib2 for the images, with the image inside the terminal itself, as it does ranger

A while ago, I actually took a stab at this using w3mimgdisplay, which is what ranger was using at the time.
https://github.com/michael-lazar/rtv/issues/214
https://github.com/michael-lazar/rtv/compare/image_preview2#diff-9c3ca0874cc613de8742fc4310b26c5f
I got a basic concept working but it was really finicky with screen refreshes and hard to make stable enough to where it could be merged in the master branch. I ended up abandoning it to work on more pressing issues.
I haven't heard of imlib2 before, is that something different? I can't find any examples of using it to draw pictures to a terminal.

This would be really cool.  I love how well it works with projects like ranger.


Rename targetExtension to be a js file

Typically the output of tslint contains Qunit tests that are purely JS content. Rename tslint.ts to lint-test.js so that folks using the plugin don't need to merge *.ts files in their broccoli output.
Resolves #13
cc: @rwjblue

Will release tonight.

<EMAIL_ADDRESS>is released!


NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement.

Hi,
with latest Rails 6 i got this message:
NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2018-12-01.
Gem::Specification#has_rdoc= called from /home/wellington/.rbenv/versions/2.6.0-preview2/lib/ruby/gems/2.6.0/bundler/gems/bond-19b0a9af11c5/.gemspec:15.

Just reporting to maybe help...
Thanks..

Maybe something like this?
https://github.com/mariuz/axlsx/commit/aef420427a1a1898a562888b57579e0d4642c2af
Thanks...

Hi, maybe like: https://github.com/hanklords/shared-mime-info/issues/2
Thanks!


Research CLS on these pages:

Scores are still 100, but would like to know why these are not closer to 0.

Products Landing
Gammagard SD
Flexbumin

Not having a CLS of zero appears to be primarily caused by the menu.

non issue, old site


Update live-stream.md

Needed for deprecation announcement this month (date TBD)

Learn Build status updates of commit bd42449:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/azure-monitor/app/live-stream.md
:white_check_mark:Succeeded

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

Learn Build status updates of commit c481060:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/azure-monitor/app/live-stream.md
:white_check_mark:Succeeded

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

Learn Build status updates of commit 40aeadc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/azure-monitor/app/live-stream.md
:white_check_mark:Succeeded

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

#sign-off

#sign-off


Display a few rows of data in the tables

Would be nice if the tables view showed a few rows of data from the table:

Maybe the table data can be previewed as follows:

I am trying to implement this but there is no API endpoint for reading the table data in UC yet (although we are reading the delta table in UC CLI). I am trying to find a workaround - but I'm not sure how it will work without an endpoint.
If anyone else wants to work on this or has a better idea - please go ahead - I don't want to block this - this is just to feed my curiosity (and to learn React).


README in English

please make the README available in english so the whole world can understand the lib :wink:

2.0 过时了,升级,要么没有借鉴意义


[Scenario] How to migrate from PCL to .NET Standard

This scenario will address how to move assets from PCLs to libraries that depend on .NET Standard 2.x.  This scenario will be important to help customers that have invested in .NET PCLs to leverage the greater breadth available on .NET Standard.

Closing for now. We'll address this as part of the .NET 5 planning


Fix late initialization field

Issue #, if available:
When a distributed/parallelized pytorch workload is run, AlgorithmSpecification.MetricDefinitions does not late initialize which makes the controller re queue for a long time.
Description of changes:
Edited generator.yaml to remove late_initialize and to ignore comparisons(ACK trainingjob does not support update operations so this wont effect the user).
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/ok-to-test

/LGTM


Unable to shutdown bot

Steps to reproduce

Start bot up
Stop the bot with KeyboardInterrupt

Expected Result
Bot shuts down
Actual Result
Bot stays online
Traceback
  oooo         o8o  oooo                            o8o       光 v2.0.0 [HEAD]
  `888         `"'  `888                            `"'       © 2020 Nekokatt, licensed under MIT
   888 .oo.   oooo   888  oooo   .oooo.   oooo d8b oooo       CPython 3.8.2
   888P"Y88b  `888   888 .8P'   `P  )88b  `888""8P `888       running on:    5.4.0-45-generic Linux x86_64
   888   888   888   888888.     .oP"888   888      888       Installed at:  /home/davfsa/coding/test-bots/hikari
   888   888   888   888 `88b.  d8(  888   888      888       Documentation: https://nekokatt.github.io/hikari
  o888o o888o o888o o888o o888o `Y888""8o d888b    o888o      Support:       https://discord.gg/Jx4cNGG

I 2020-09-02 08:59:28,130 hikari: this application is stateless, cache-based operations will not be available
I 2020-09-02 08:59:28,693 hikari: single-sharded configuration -- you have started 0/1000 sessions prior to connecting (resets at 02/09/20 08:59:28 CEST)
I 2020-09-02 08:59:28,997 hikari.gateway.0: received HELLO, heartbeat interval is 41.25s
I 2020-09-02 08:59:29,201 hikari.gateway.0: shard is ready [session:53d3a6ac33cbf7fb2095bb1c43546588, user_id:649186216436039680, tag:Hikari Testing#6464]
^CI 2020-09-02 09:07:42,225 hikari: received signal to shut down client
I 2020-09-02 09:07:42,226 hikari.gateway.0: received request to shut down shard
I 2020-09-02 09:07:42,228 hikari.gateway.0: gateway client closed, will not attempt to restart
I 2020-09-02 09:07:42,441 hikari.gateway.0: received HELLO, heartbeat interval is 41.25s
W 2020-09-02 09:07:42,551 hikari.gateway.0: invalid session, so will attempt to reconnect with new session in a few seconds
I 2020-09-02 09:07:46,388 hikari.gateway.0: received HELLO, heartbeat interval is 41.25s
I 2020-09-02 09:07:46,677 hikari.gateway.0: shard is ready [session:1b4578f4850c678c90c88dbec76e6817, user_id:649186216436039680, tag:Hikari Testing#6464]
# Me trying to shut it down again
^CI 2020-09-02 09:07:47,754 hikari: received signal to shut down client
^CI 2020-09-02 09:07:49,105 hikari: received signal to shut down client
^CI 2020-09-02 09:07:49,552 hikari: received signal to shut down client
^CI 2020-09-02 09:07:49,754 hikari: received signal to shut down client
^CI 2020-09-02 09:07:58,969 hikari: received signal to shut down client
^CI 2020-09-02 09:07:59,137 hikari: received signal to shut down client
^CI 2020-09-02 09:07:59,312 hikari: received signal to shut down client
^CI 2020-09-02 09:07:59,475 hikari: received signal to shut down client
^CI 2020-09-02 09:07:59,625 hikari: received signal to shut down client
^CI 2020-09-02 09:07:59,799 hikari: received signal to shut down client
^CI 2020-09-02 09:07:59,985 hikari: received signal to shut down client
^CI 2020-09-02 09:08:00,151 hikari: received signal to shut down client

Version info
hikari v2.0.0 HEAD
located at /home/davfsa/coding/hikari/hikari
CPython 3.8.2 GCC 9.3.0
Linux carbono 5.4.0-45-generic #49-Ubuntu SMP Wed Aug 26 13:38:52 UTC 2020 x86_64 x86_64
Further info
I have not been able to reproduce this again, but the other times I tried this, i did get an invalid session in the first 5s of connecting. Im guessing this was an edge case. Maybe we should suppress all other closures when we receive the signal to shutdown the bot?
Checklist

[x] I have made sure to remove ANY sensitive information (bot token, passwords,
credentials, personal details, etc).
[x] I have searched the issue tracker and have made sure it's not a duplicate.
If it is a follow up of another issue, I have specified it.

Invalid session is caused by you starting the bot more than once in 5 seconds.

Will edit comment

This has mostly been fixed as of 2.0.0.dev75


Run tests in CI

CI doesn't appear to be configured correctly. Our open source code should always be correctly configured and built in a CI environment for others to use.

resolved in #5


Add docs + example

Merged latest changes from main (was needed to make the docs up to date)
Added tool documentation
Added tool reference in Microsoft platform docs
Added readme for the package
Added example usage (simple + agent)
Fixed CJS build (added workaround to make the code compatible with both ESM/CJS)

@anthonychu could you merge the latest upstream main branch into your branch, so I can rebase this PR and make it more bearable to read? GH is suffering from all the changes 😅

Done! Let me know if I messed something up. #3

I fixed the langchain/core dependency, build and tests are green now


Compare average canopy, aggregated to CTU

Compares data from tag comparison-point with most recent release 738ce021dd0418e549fa59dd684a54cb08351763

Most important function changes
Previous version
process_gee <- function(x, .group = NULL){
  x %>%
  mutate(sq_miles = stringr::str_remove_all(sq_miles, c("\\{groups=\\[|\\}\\]\\}")))  %>%

  separate(sq_miles, sep = "\\},", into = c("treeless", "trees")) %>%
  mutate(treeless = stringr::str_remove_all(treeless, "\\{classification=0, sum=|\\]\\}"),
         trees = stringr::str_remove_all(trees, "\\{classification=1, sum=|\\}\\]\\}"),
         treeless = if_else(ALAND == 0, 0, as.numeric(treeless)),
         trees = if_else(ALAND == 0, 0, as.numeric(trees)),
         canopy_percent = trees / (trees + treeless) * calib_coeff, #using the calibration coefficient is important for twin cities
         canopy_percent = if_else(is.na(canopy_percent), 0, canopy_percent)) %>%
    filter(ALAND != 0) %>% #new 2020 block groups sometimes are only water
    group_by(!!enquo(.group)) %>%
    mutate(avgcanopy = mean(canopy_percent)) %>%
    select(-ALAND, -trees, -treeless)
}

New version
process_gee <- function(x, .group = NULL){
  x %>%
    filter(ALAND != 0) %>% # new 2020 block groups sometimes are only water
    mutate(sq_miles = stringr::str_remove_all(sq_miles, c("\\{groups=\\[|\\}\\]\\}")))  %>%
    separate(sq_miles, sep = "\\},", into = c("treeless", "trees")) %>%
    rowwise() %>%
    mutate(treeless = stringr::str_remove_all(treeless, "\\{classification=0, sum=|\\]\\}"),
           treeless = ifelse(ALAND == 0, 0, as.numeric(treeless)),
           trees = stringr::str_remove_all(trees, "\\{classification=1, sum=|\\}\\]\\}"),
           trees = ifelse(ALAND == 0, 0, as.numeric(trees)),
           canopy_percent = (trees / (trees + treeless)) * calib_coeff,
           # using the calibration coefficient is important for twin cities
           canopy_percent = ifelse(is.na(canopy_percent), 0, canopy_percent)) %>%
    group_by(!!enquo(.group)) %>%
    mutate(avgcanopy = mean(canopy_percent, na.rm = TRUE)) %>%
    select(-ALAND, -trees, -treeless)
}


3.18.0 crashes on some devices

Before the 3.17.3 version, the function has been running normally. After the 3.18.0 was online, some devices received feedback flashback. The code has not been changed. The check found that the problem is caused by the 3.18.0 version.

Goals

Expected Results

Actual Results

Steps to Reproduce

Code Sample
Cart *cart = [Cart objectForPrimaryKey:@(shopId)];
if (!cart) {
RLMRealm *realm = [RLMRealm defaultRealm];
[realm beginWriteTransaction];
cart = [[Cart alloc] init];
cart.shop_id = shopId;
[realm addObject:cart];
[realm commitWriteTransaction];
}
return cart;
It Crashes at  [realm addObject:cart]; since version 3.18.0

Version of Realm and Tooling

Realm framework version: ?
3.18.0
Realm Object Server version: ?
Xcode version: ?
10.3
iOS/OSX version: ?
Dependency manager + version: ?

Hello,
I think we have the same issue on our side. Some devices have this crash after updating our app.
We updated Realm from 3.14.0 to 3.18.0

Realm framework version: 3.18.0
Xcode version: 11.0
iOS/OSX version:

Dependency manager + version: Cocoapod 1.8.1
Hopefully these information can help fix the issue.

Hi,
I got this issue too! Anyone has an idea about why this crash happens after the upgrade?

Hello,
Same problem here :( please send help. We have thousand of user who cannot launch our app anymore

Hello,
Any update for issues ? We are encountered the same issue.

This is probably the same thing as https://github.com/realm/realm-cocoa/issues/6268, as there's only one other assertion in that function. We will hopefully have a release out fixing that early next week.


VSCode Extremely slow after about a minute

Issue Type: Performance Issue
I have disabled all extensions, and when I reload VSCode, it is fine for about a minute, but then any action takes about a second to register (render).  That includes clicking around in a document, switching tabs, opening top menus, highlighting text, and scrolling (whether mouse or manual).  I am editing html and javascript and only have 5 tabs open.
VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:27:14.102Z)
OS version: Windows_NT x64 6.1.7601

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz (4 x 2494)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: unavailable_offsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
7.95GB (0.46GB free)

Process Argv

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    1	    78	 23060	code main
    1	    63	  4480	   gpu-process
    1	    61	  4576	   window (Issue Reporter)
    0	    74	 10484	   shared-process
    0	   164	 18104	   window (SOProcess.html - CA - Visual Studio Code [Administrator])
    0	    62	  4492	     extensionHost
    0	    79	 23080	       "C:\Program Files\Microsoft VS Code\Code.exe" "c:\Program Files\Microsoft VS Code\resources\app\extensions\html-language-features\server\dist\htmlServerMain" --node-ipc --clientProcessId=4492
    0	    34	 13224	     searchService
    0	     5	 16824	     winpty-process
    0	     3	 13004	       "C:\Program Files\Git\bin\bash.exe"
    0	    11	 20744	         "C:\Program Files\Git\bin\..\usr\bin\bash.exe"
    0	    10	 21432	     watcherService
    1	    71	 23128	   window (Process Explorer)

Workspace Info
|  Window (SOProcess.html - CA - Visual Studio Code [Administrator])
|    Folder (CA): 370 files
|      File types: png(116) js(108) txt(51) sql(42) xml(34) json(5) html(5)
|                  properties(3) css(3) gif(1)
|      Conf files:;

Extensions: none

I should add that this only started happening today, and I have been using VSCode like this for months.

you're said Memory (System) = 7.95GB (0.46GB free)
only 0.46gb free? chromium needs a lot of memory!
// sometimes i'm have same issue

I never have this issue with other Chromium apps (Google Chrome for
instance).  And I've been maxing out my memory for weeks without issue.
Next time it happens, though (for some reason it has stopped today even
though I have the same programs open), I will close high-memory programs to
see if the issue is alleviated.
On Tue, Apr 30, 2019 at 2:00 PM Андрей Б. (Andrew B.) <
<EMAIL_ADDRESS>wrote:

you're said Memory (System) = 7.95GB (0.46GB free)
only 0.46gb free? chromium needs a lot of memory!
// sometimes i'm have same issue
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/73051#issuecomment-488073639,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABBCGNPOHVRA7VVAUFJCSUTPTCJNXANCNFSM4HJG4QIA
.

7.95GB (0.46GB free)

It looks like this is probably the issue, VS Code itself isn't using that much as per your process info posted above but when it tries to do thing's it's probably maxing out memory.


Create an option to run without Service discovery

Add option to use env vars instead of service discovery

Removed consul. The dep is on env vars for now.


Return AAAA records for Services

Please also support IPv6.
"Currently only supports A-type queries, all other queries result in NODATA responses."

I was in the need for IPv6 support within my setup and found k8s_gateway as a perfect solution. Externaldns does not support ipv6 neither and was a bit to much for a single node cluster.
In #93 I've proposed the needed changes to support AAAA records. Lets discuss if this changes are fitting into the project and which road to take for it to be merged.