fix(buildscript): Fix 'go build' command in buildscript

Signed-off-by: Niladri Halder<EMAIL_ADDRESS>Cherry-pick 95b71f7e392a39894618e0128c35ae4b4ddd9072

Codecov Report

Merging #73 (ef5cda9) into v2.11.x (7cef23c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           v2.11.x      #73   +/-   ##
========================================
  Coverage    34.93%   34.93%
========================================
  Files           27       27
  Lines         2141     2141
========================================
  Hits           748      748
  Misses        1355     1355
  Partials        38       38

Continue to review full report at Codecov.

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


[BUG] arithmetic_ops_test failed in spark 3.2.0

Describe the bug
related to dec128 change
[2021-11-19T19:07:47.978Z] E               pyspark.sql.utils.IllegalArgumentException: Part of the plan is not columnar class org.apache.spark.sql.execution.ProjectExec
[2021-11-19T19:07:47.978Z] E               Project [abs(a#5720, true) AS abs(a)#5722]
[2021-11-19T19:07:47.978Z] E               +- Scan ExistingRDD[a#5720]

failures list,
[2021-11-19T19:07:47.979Z] FAILED ../../src/main/python/arithmetic_ops_test.py::test_abs[Decimal(20,2)]
[2021-11-19T19:07:47.979Z] FAILED ../../src/main/python/arithmetic_ops_test.py::test_abs[Decimal(30,2)]
[2021-11-19T19:07:47.979Z] FAILED ../../src/main/python/arithmetic_ops_test.py::test_abs[Decimal(36,5)]
[2021-11-19T19:07:47.979Z] FAILED ../../src/main/python/arithmetic_ops_test.py::test_abs[Decimal(38,0)]
[2021-11-19T19:07:47.979Z] FAILED ../../src/main/python/arithmetic_ops_test.py::test_abs[Decimal(38,10)]
[2021-11-19T19:07:47.979Z] FAILED ../../src/main/python/arithmetic_ops_test.py::test_abs[Decimal(36,-5)]
[2021-11-19T19:07:47.979Z] FAILED ../../src/main/python/arithmetic_ops_test.py::test_abs[Decimal(38,-10)]
[2021-11-19T19:07:47.980Z] FAILED ../../src/main/python/arithmetic_ops_test.py::test_abs_ansi_no_overflow[Decimal(20,2)]
[2021-11-19T19:07:47.980Z] FAILED ../../src/main/python/arithmetic_ops_test.py::test_abs_ansi_no_overflow[Decimal(30,2)]
[2021-11-19T19:07:47.980Z] FAILED ../../src/main/python/arithmetic_ops_test.py::test_abs_ansi_no_overflow[Decimal(36,5)]
[2021-11-19T19:07:47.980Z] FAILED ../../src/main/python/arithmetic_ops_test.py::test_abs_ansi_no_overflow[Decimal(38,0)]
[2021-11-19T19:07:47.980Z] FAILED ../../src/main/python/arithmetic_ops_test.py::test_abs_ansi_no_overflow[Decimal(38,10)]
[2021-11-19T19:07:47.980Z] FAILED ../../src/main/python/arithmetic_ops_test.py::test_abs_ansi_no_overflow[Decimal(36,-5)]
[2021-11-19T19:07:47.980Z] FAILED ../../src/main/python/arithmetic_ops_test.py::test_abs_ansi_no_overflow[Decimal(38,-10)]

Above failures are caused by missing Decimal128 TypeSig for SparkShim 32X.


A better way to rename rolling files

Hi there,
I found when a rolling happened, all rolling log files will be renamed, for example:
ohlc.log         --> rename to ohlc.log.0.gz
ohlc.log.0.gz      --> rename to ohlc.log.1.gz
ohlc.log.1.gz      --> rename to ohlc.log.2.gz
ohlc.log.2.gz      --> deleted

If there are 100 or more rolling files, it will take some time to rename files, and will effort the main process.  Would you like to consider a better way to rename rolling files:
1、record the current rolling file number in a new file, such as 2；
2、when rolling happened, the ohlc.log rename to ohlc.log.2.gz,  only rename one file, don't need to rename all rolling files.
Thank you very much.

@CHCP
Thanks for the suggestion. Generally, this is how logging frameworks roll files and the performance impact of the roll is honestly something that I hadn't considered. Would you be interested in creating a benchmark PR to illustrate your point?
One other thing I should add is we did have a concern around the time to gzip a new log file and created a feature flag that will do the zipping and rotation in a worker thread. See our warning in the readme.

Sure if I am ready for the benchmark data.


Update classification_models.mdx

Changed audio with audio_sample which is the name of the variable used above

Just realized this was proposed in #102


Path problems under Win

File "D:\Anaconda\envs\CDO\lib\shutil.py", line 121, in copyfile
with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\zzz/.cache\torch\hub\checkpoints\y4mKOuRSNGQQlp6wm_a9bF-UEQwp6a10xFCLhm4bqjDu6aSNW9yhDRM7qyx0vK0WTh42gEaniUVm3h7pg0H-W0yJff5qQtoAX7Zze4vOsqjoIthp-FW3nlfMD0-gcJi8IiVrMWqVOw2N3MbCud6uQQrTaEAvAdNjtjMpym1JghN-F060rSQKmgtq5R-wJe185IyW4-_c5_ItbhYpCyLxdqdEQ'
Respected scholars, can you help me with this question? I am very interested in your creative work.

In the Registry Editor, you can change the default 256 character path length limitation (MAX_PATH).

In the Registry Editor, you can change the default 256 character path length limitation (MAX_PATH).

Thanks for the answer, I made some adjustments in the original code to load the .pth file. This issue has been fixed.


Proposal Section 1 Motivation and Purpose

closing issue https://github.com/UBC-MDS/Student_Living_Guide/pull/20


Investigate & resolve Honeycomb errors occurring for getTransactionsMetadataByIds

We're seeing repeated errors in Honeycomb with name app.transactions.getTransactionsMetadataByIds
Here's a sample trace
We want to investigate whether this is a bug. If so, we want to fix it. If not, we want to remove the error from our logging by either changing the level or removing the functions executions.

Error occurs in the settlementVia resolver of the graphql Transaction type. Flash does not store transaction metadata, so this resolver currently does not do anything but add noise to Honeycomb.
@Nodirbek75 Can you let me know how this field (settlementVia) is being used by the UI? If it's unused, can you remove it from the query? If it is used, can you let me know a sample value you're seeing and whether or not it's accurate?
If it's incorrect, we may be able to fix it by getting the correct value from Ibex

@brh28 it is being used in transaction list items to show the payment type. The value is not accurate, I'm getting "SettlementViaLn" only even I use intraLedger. And we are showing Receive and Send on the UI.

Update middleware to call Ibex and return either onchain or lightning

Reproduce locally by importing an account with an onchain trx:
{ WalletId: 1e2d16fc-c58a-4a60-b7e8-dd6901d80b20, TransactionId: 1a912bce-de60-481e-970d-1b7391f0303e, transactionTypeId: 3

https://github.com/lnflash/flash/pull/100


Preserve line break codes

Ensure that bump-pydantic command does not change the newline code.

What is happening?

On Linux, when bump-pydantic is run on source code with Windows-style newline code (CRLF), the newline code is rewritten to LF.
Changing newlines is not the expected behavior of this tool.

On Linux, when bump-pydantic is run on source code with Windows-style newline code (CRLF), the newline code is rewritten to LF.
Changing newlines is not the expected behavior of this tool.

The reproduction method is as follows
$ echo -n 'from pydantic import BaseModel\r\nclass User(BaseModel):\r\n  name: Optional[str]\r\n' > test.py
$ file test.py
test.py: Python script, ASCII text executable, with CRLF line terminators
$ rye run --pyproject ~/repos/bump-pydantic/pyproject.toml bump-pydantic .
[22:16:37] Start bump-pydantic.                                                                                main.py:67
           Found 1 file to process.                                                                                main.py:82
[22:16:38] Refactored 1 files.                                                                                main.py:150
           Run successfully!                                                                                main.py:160
$ file test.py
test.py: Python script, ASCII text executable

The output result of the file command is different between the first and second times.

Thanks!


Feature: DHCP server able to handle non-interface configured subnets

It would be very nice to be able to use a pair of OPNsense boxes for HA DHCP for setups where DHCP relay is being used and the OPNsense setup is functioning more like a DHCP server appliance than a full firewall, i.e. there is only one configured interface on the OPN side but we would require multiple networks served via the DHCP server.
I am not awaare of any open source or indeed low cost commercial products that provides a nice, simple GUI for DHCPD and HA configuration like we have in OPNsense, but obviously having to have the DHCP server with a presence in every subnet is not idea, nor often desirable for large networks.

👍

The "problem" with this feature: it requires to mock a subnet block before adding a range.

https://blog.tinle.org/2013/01/09/single-dhcp-server-for-multiple-subnets-vlans-one-single-interface/
https://happy-coder.com/2014/06/27/pfsense-custom-dhcpd-configuration/  *for pfSense

Another effort is here,
https://happy-coder.com/2014/06/27/pfsense-custom-dhcpd-configuration/
another here,
https://blog.tinle.org/2013/01/09/single-dhcp-server-for-multiple-subnets-vlans-one-single-interface/

https://forum.pfsense.org/index.php?topic=65736.15
pfsense/pfsense#816
pfsense/pfsense#3836

I've been looking into this (or #2238) today, since it also blocks the firewall to serve as a dhcp server in a vlan setup with L3 core switches doing DHCP relay (since you just can't enter or generate the no-brainer lines for the subnet definitions)
For what it's worth, the story goes back to at least the year 2006, when the first patches for pfSense had been submitted to support working behind dhcp relays agent. (and they got mostly ignored. They were followed by more patches, that of course met a similar fate)
This is RFCed functionality available in probably every enterprise switch on the planet... and in dhcpd, of course. Even W2K had it. And whatever it was that made the pfSense guys block this for over a decade, please, please there needs to be a way out of this...
Until then, tbh it would probably be enough to be allow to include a block in the config???
What do you think?

I think a simple approach could be to:
-have a master DHCP page to configure on what interfaces it listens.
-then instead of detecting interfaces we do now, and labeling them as interfaces we should be detecting subnets per listening interface, so subnet pages would replace interface pages.
The logic should write a subnet declaration at least for every subnet on the interfaces it listens on, and only when DHCP server is enabled in the GUI for such subnets and a range is specified should this configuration then be written to the config file.

Fair points, but I would ask anyone with the vision to do this to submit at least a POC as a base for discussion. Some topics drag on forever, mainly because people think they are easily solved while it actually takes considerable work and time active contributors do not have to fix use cases that are not in their immediate work scope.

TBH: This has already cost me all the time I could have spent this year to work on OPNsense (i.e. making a check_mk package. And it was for nothing.

Sure, I can relate.

How much money do I have to throw at this to make it happen? I literally do not understand why in 2018 such an ancient RFC'd function of DHCP is totally missing from all the *sense projects. I'm serious, give me a $ ballpark so we can get this over with

Here's what I did:

set up "static" ip on interface
use two desperate linux box running dhcp in failover mode, along with IP helper on Cisco switch and vlans.

Ideal solution would be:
Whether we have "dhcp" service on the *sense's interface or not, we need define a empty dhcp scope for that "listening" interface; then, define rest of subnets accordingly as normal.
The important part is the one with first "interface" subnet defined, even though not used. I am not a developer, but this solution was done by guys for pfsense and should be able to be done here as well for workaround. But, best is that Developer of *sense can make it happen within box so that we don't have to do these workaround.
root@dhcp2:~# cat /etc/dhcp/dhcpd.conf
authoritative;
ddns-update-style none;
option definitions common to all supported networks...
option domain-name "wolf.ca";
option domain-name-servers <IP_ADDRESS>,<IP_ADDRESS>;
#option domain-name-servers <IP_ADDRESS>;
option ntp-servers <IP_ADDRESS>,<IP_ADDRESS>;
option custom-opt6-0 code 156 = text;
option custom-opt7-0 code 156 = text;
option cisco-tftp-server code 150 = array of ip-address;
option cisco-tftp-server <IP_ADDRESS>, <IP_ADDRESS>;
default-lease-time 3600;
max-lease-time 7200;
log-facility local7;
####Secondary DHCP server######
failover peer "dhcp-failover" {
secondary; # declare this to be the secondary server
address <IP_ADDRESS>;
port 647;
peer address <IP_ADDRESS>;
peer port 647;
max-response-delay 30;
max-unacked-updates 10;
load balance max seconds 3;
}
################################################################################
This subnet is the one that the DHCP server is in, has to be here in order
the server to hand out addresses. It won't hand out IPs on that subnet since
there is nothing between the curly brackets.
subnet <IP_ADDRESS> netmask <IP_ADDRESS> { }
#VLAN - 501
subnet <IP_ADDRESS> netmask <IP_ADDRESS> {
option routers                  <IP_ADDRESS>;
option subnet-mask              <IP_ADDRESS>;
option domain-search            "wolf.ca";
option custom-opt6-0 "configServers=<IP_ADDRESS>,ftpservers=<IP_ADDRESS>,country=2,language=1,layer2tagging=1,vlanid=502";
pool {
failover peer "dhcp-failover";
range                           <IP_ADDRESS>     <IP_ADDRESS>;
}
}
#VLAN - 502
subnet <IP_ADDRESS> netmask <IP_ADDRESS> {
option routers                  <IP_ADDRESS>;
option subnet-mask              <IP_ADDRESS>;
option domain-search            "wolf.ca";
option custom-opt7-0 "configServers=<IP_ADDRESS>,ftpservers=<IP_ADDRESS>,country=2,language=1,layer2tagging=1,vlanid=502";
pool {
failover peer "dhcp-failover";
range                           <IP_ADDRESS>     <IP_ADDRESS>;
}
}
#VLAN - 503
subnet <IP_ADDRESS> netmask <IP_ADDRESS> {
option routers                  <IP_ADDRESS>;
option subnet-mask              <IP_ADDRESS>;
option domain-search            "wolf.ca";
option custom-opt7-0 "configServers=<IP_ADDRESS>,ftpservers=<IP_ADDRESS>,country=2,language=1,layer2tagging=1,vlanid=502";
pool {
failover peer "dhcp-failover";
range                           <IP_ADDRESS>     <IP_ADDRESS>;
}
}

On bottom of this post,
https://community.spiceworks.com/topic/1331562-isc-dhcp-server-for-multiple-vlans
This is the person who posed the solution for linux  JRC Dec 20, 2017 at 5:47 PM

Is this still not implemented?
I can`t believe that windows is doing something better than a purposely build networking device.

No, do you want to help implement?

On 5. Oct 2018, at 20:57, N3m3515<EMAIL_ADDRESS>wrote:
Is this still not implemented?
I can`t believe that windows is doing something better than a purposely build networking device.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

Since i can`t code very well i don't know how i could help.
But i am open to Beta testing this feature or help in other ways if possible.

I left pfSense hoping that OPNSense had it figured out. I didn't know this was that difficult to implement. I guess I am stuck with the Edgerouter for now. :(

It's not that difficult. Maybe 10 or 20 man hours to get it into a snapshot. I've offered to pay for it, no reply.  I didn't know that it was that difficult to implement this. I guess I will have to stick with my Edgerouter then.

@N3m3515 you can start with the guide by @mimugmail:
https://www.routerperformance.net/opnsense/plugin-development/create-a-new-plugin-from-scratch-by-example-pt-1-lldp/

I could offer my time, building a new dhcp service as plugin, lets call dhcp-relay with basic stuff borrowed from original one.
But for this we would need a different implementation than isc-dhcp AND an working conf example.
Then I'll build you one in two weeks for 0 $ :)

Here are just two (I have not used any of them but maybe this list helps you):

https://wiki.freeradius.org/features/DHCP (you do already maintain that plugin )
https://kea.isc.org/

Dnsmasq could do it too. But Michael proposed a nice plan: add a new DHCP plugin for this specific use case. No need to deal with the current complexity of core DHCP IPv4 and IPv6 implementations....

On 23. Nov 2018, at 17:51, Fabian Franz BSc<EMAIL_ADDRESS>wrote:
Here are just two (I have not used any of them but maybe this list helps you):
https://wiki.freeradius.org/features/DHCP (you do already maintain that plugin )
https://kea.isc.org/
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

FreeRadius .. nice! I'll have look :)

I'll start with a PoC tomorrow .. at first only one pool available just to check if and how it works in general:
If someone wants to join testing, everyone is very welcome. :)

Here's an idea about what we were talking about earlier.... since isc-dhcp is used in the static code we could add an MVC equivalent and use the rc system for the external network tasks... only thing that may be required is moving the old DHCPv4 / v6 out of the way for rc to not confuse them (e.g. PID).

ATM I'm testing FreeRADIUS .. I already sending replies but the notebook doesn't receive an IP. Sadly I'm not in the office and co-worker is gone to read the logs at the client :)
Received DHCP-Discover of Id 5d31573b from <IP_ADDRESS>:67 to <IP_ADDRESS>:67
        DHCP-Opcode = Client-Message
        DHCP-Hardware-Type = Ethernet
        DHCP-Hardware-Address-Length = 6
        DHCP-Hop-Count = 1
        DHCP-Transaction-Id =<PHONE_NUMBER>
        DHCP-Number-of-Seconds = 36
        DHCP-Flags = 0
        DHCP-Client-IP-Address = <IP_ADDRESS>
        DHCP-Your-IP-Address = <IP_ADDRESS>
        DHCP-Server-IP-Address = <IP_ADDRESS>
        DHCP-Gateway-IP-Address = <IP_ADDRESS>
        DHCP-Client-Hardware-Address = 54:04:a6:3f:78:49
        DHCP-Message-Type = DHCP-Discover
        DHCP-Requested-IP-Address = <IP_ADDRESS>
        DHCP-Hostname = "maxis-P53E"
        DHCP-Parameter-Request-List = DHCP-Subnet-Mask
        DHCP-Parameter-Request-List = DHCP-Broadcast-Address
        DHCP-Parameter-Request-List = DHCP-Time-Offset
        DHCP-Parameter-Request-List = DHCP-Router-Address
        DHCP-Parameter-Request-List = DHCP-Domain-Name
        DHCP-Parameter-Request-List = DHCP-Domain-Name-Server
        DHCP-Parameter-Request-List = DHCP-Domain-Search
        DHCP-Parameter-Request-List = DHCP-Hostname
        DHCP-Parameter-Request-List = DHCP-NETBIOS-Name-Servers
        DHCP-Parameter-Request-List = DHCP-NETBIOS
        DHCP-Parameter-Request-List = DHCP-Interface-MTU-Size
        DHCP-Parameter-Request-List = DHCP-Classless-Static-Route
        DHCP-Parameter-Request-List = DHCP-NTP-Servers
        DHCP-Parameter-Request-List = DHCP-Classless-Static-Route
        DHCP-Parameter-Request-List = DHCP-Site-specific-25
        DHCP-Parameter-Request-List = DHCP-Static-Routes
        DHCP-Parameter-Request-List = DHCP-Site-specific-28
        DHCP-Parameter-Request-List = DHCP-NTP-Servers
(27) Received code 1025 Id<PHONE_NUMBER> from <IP_ADDRESS>:67 to <IP_ADDRESS>:67 length 300
(27)   DHCP-Opcode = Client-Message
(27)   DHCP-Hardware-Type = Ethernet
(27)   DHCP-Hardware-Address-Length = 6
(27)   DHCP-Hop-Count = 1
(27)   DHCP-Transaction-Id =<PHONE_NUMBER>
(27)   DHCP-Number-of-Seconds = 36
(27)   DHCP-Flags = 0
(27)   DHCP-Client-IP-Address = <IP_ADDRESS>
(27)   DHCP-Your-IP-Address = <IP_ADDRESS>
(27)   DHCP-Server-IP-Address = <IP_ADDRESS>
(27)   DHCP-Gateway-IP-Address = <IP_ADDRESS>
(27)   DHCP-Client-Hardware-Address = 54:04:a6:3f:78:49
(27)   DHCP-Message-Type = DHCP-Discover
(27)   DHCP-Requested-IP-Address = <IP_ADDRESS>
(27)   DHCP-Hostname = "maxis-P53E"
(27)   DHCP-Parameter-Request-List = DHCP-Subnet-Mask
(27)   DHCP-Parameter-Request-List = DHCP-Broadcast-Address
(27)   DHCP-Parameter-Request-List = DHCP-Time-Offset
(27)   DHCP-Parameter-Request-List = DHCP-Router-Address
(27)   DHCP-Parameter-Request-List = DHCP-Domain-Name
(27)   DHCP-Parameter-Request-List = DHCP-Domain-Name-Server
(27)   DHCP-Parameter-Request-List = DHCP-Domain-Search
(27)   DHCP-Parameter-Request-List = DHCP-Hostname
(27)   DHCP-Parameter-Request-List = DHCP-NETBIOS-Name-Servers
(27)   DHCP-Parameter-Request-List = DHCP-NETBIOS
(27)   DHCP-Parameter-Request-List = DHCP-Interface-MTU-Size
(27)   DHCP-Parameter-Request-List = DHCP-Classless-Static-Route
(27)   DHCP-Parameter-Request-List = DHCP-NTP-Servers
(27)   DHCP-Parameter-Request-List = DHCP-Classless-Static-Route
(27)   DHCP-Parameter-Request-List = DHCP-Site-specific-25
(27)   DHCP-Parameter-Request-List = DHCP-Static-Routes
(27)   DHCP-Parameter-Request-List = DHCP-Site-specific-28
(27)   DHCP-Parameter-Request-List = DHCP-NTP-Servers
Trying sub-section dhcp DHCP-Discover {...}
(27)   dhcp DHCP-Discover {
(27)     update reply {
(27)       DHCP-Message-Type = DHCP-Offer
(27)     } # update reply = noop
(27)     update reply {
(27)       &DHCP-Domain-Name-Server = <IP_ADDRESS>
(27)       &DHCP-Domain-Name-Server = <IP_ADDRESS>
(27)       &DHCP-Subnet-Mask = <IP_ADDRESS>
(27)       &DHCP-Router-Address = <IP_ADDRESS>
(27)       &DHCP-IP-Address-Lease-Time = 86400
(27)       &DHCP-DHCP-Server-Identifier = <IP_ADDRESS>
(27)     } # update reply = noop
(27) mac2ip: Added DHCP-Your-IP-Address: '<IP_ADDRESS>' to reply_items
(27)     [mac2ip] = ok
(27)     [ok] = ok
(27)   } # dhcp DHCP-Discover = ok
(27) DHCP: Reply will be unicast to giaddr from original packet
(27) Sent code 1026 Id<PHONE_NUMBER> from <IP_ADDRESS>:67 to <IP_ADDRESS>:67 length 0
(27)   DHCP-Relay-IP-Address = <IP_ADDRESS>
(27)   DHCP-Message-Type = DHCP-Offer
(27)   DHCP-Domain-Name-Server = <IP_ADDRESS>
(27)   DHCP-Subnet-Mask = <IP_ADDRESS>
(27)   DHCP-Router-Address = <IP_ADDRESS>
(27)   DHCP-IP-Address-Lease-Time = 86400
(27)   DHCP-DHCP-Server-Identifier = <IP_ADDRESS>
(27)   DHCP-Your-IP-Address = <IP_ADDRESS>
(27)   DHCP-Opcode = Server-Message
(27)   DHCP-Hardware-Type = Ethernet
(27)   DHCP-Hardware-Address-Length = 6
(27)   DHCP-Hop-Count = 1
(27)   DHCP-Transaction-Id =<PHONE_NUMBER>
(27)   DHCP-Flags = 0
(27)   DHCP-Client-IP-Address = <IP_ADDRESS>
(27)   DHCP-Gateway-IP-Address = <IP_ADDRESS>
(27)   DHCP-Client-Hardware-Address = 54:04:a6:3f:78:49
        DHCP-Opcode = Server-Message
        DHCP-Hardware-Type = Ethernet
        DHCP-Hardware-Address-Length = 6
        DHCP-Hop-Count = 1
        DHCP-Transaction-Id =<PHONE_NUMBER>
        DHCP-Number-of-Seconds = 0
        DHCP-Flags = 0
        DHCP-Client-IP-Address = <IP_ADDRESS>
        DHCP-Your-IP-Address = <IP_ADDRESS>
        DHCP-Server-IP-Address = <IP_ADDRESS>
        DHCP-Gateway-IP-Address = <IP_ADDRESS>
        DHCP-Client-Hardware-Address = 54:04:a6:3f:78:49
        DHCP-Server-Host-Name = ""
        DHCP-Boot-Filename = ""
        DHCP-Subnet-Mask = <IP_ADDRESS>
        DHCP-Router-Address = <IP_ADDRESS>
        DHCP-Domain-Name-Server = <IP_ADDRESS>
        DHCP-IP-Address-Lease-Time = 86400
        DHCP-DHCP-Server-Identifier = <IP_ADDRESS>
Sending DHCP-Offer Id 5d31573b from <IP_ADDRESS>:67 to <IP_ADDRESS>:67
(27) Finished request


Typescript error when importing SimpleSchema

I just installed this package and when I try to import SimpleSchema I get the following Typescript error:

Meteor version: 2.14

Well, the simpl-schema NPM package is written completely in Typescript, so the definitions are already there, for some reason they just not being made available when installed as part of this Meteor package.

@bruceborrett ah I see now. The Simple Schema NPM package dropped Meteor support in their 3.x major release, which is why this package is a hard-fork of the latest Meteor compatible version 1.13.1 which at that time did not contain any typescript code.
This also why we just can't copy the type definitions from the NPM repo as they are not reflecting the code in this Meteor package.

I see, so then, in my opinion, this package should never have been forked, the latest simpl-schema is still perfectly compatible with Meteor (its framework agnostic now) and is being well maintained. It is in fact the Collection2 package which is no longer compatible with simpl-schema, and Collection2 acts as the glue between simpl-schema and Meteor. In my opinion Collection2 should rather be updated to work with the latest simpl-schema, perhaps it can even be extended to support other validation libraries such as Zod and Yup etc.

I want to close this ticket and rather look at updating the collection2 package to support  the latest simpl-schema, unless anyone can tell me why thats the wrong approach?


Garden Operator CI

Issue by kubernetes-jenkins
Wednesday Jul 19, 2017 at 18:44 GMT
Originally opened as https://git.removed/kubernetes-attic/garden-operator/issues/24

Stories

As contributor I depend on a continuous integration/delivery pipeline, so that I neither waste my time with repetitive tasks nor can I make (fatal) mistakes.

Motivation
Newly hired or joined colleagues or contributors from outside the group of colleagues who primarily work on a repo/subject/topic have a hard time contributing, especially when sitting in remote locations, but in order to sustainably grow, we need everybody to be happy and help our cause.
Acceptance Criteria

[ ] Continuous integration (acting on PRs/Merges) including the following steps (in chronological order, not the order of importance):

[ ] Optional (can be done in phase 4): Formal checks like referenced issue
[x] Optional (can be done in phase 3): Lint checks
[x] Mandatory (must be done in phase 1): Build
[x] Optional (can be done in phase 3): Unit tests
[ ] Optional (can be done in phase 3): Acceptance tests
[ ] Optional (can be done in phase 2): Deployment to staging
[ ] Optional (can be done in phase 2): Integration tests on staging
[ ] Mandatory (must be done in phase 1): Deployment to production
[ ] Mandatory (already done in phase 0): Integration tests on production

Details (not complete, to be extended by all of us as we go along)

[x] Deployment of Jenkins into new cluster

[x] Adapt Jenkins to new cluster: https://git.removed/kubernetes/jenkins-setup

New cluster: https://git.removed/kubernetes/cluster-infra-ci (https://api.ci.infra.k8s.sapcloud.io)

[x] Deployment of Helm chart with new values from https://git.removed/kubernetes/jenkins-setup
[x] Switch of Jenkins domain http://jenkins.k8s.sapcloud.io:30000/

[x] Create secrets with kubernetes-jenkins password in new cluster (ideally automate that with e.g. jenkins-setup repo/script or the Jenkins-tools job/script), mount it into the pod/container template and adapt JenkinsFile accordingly
[x] Deploy into Garden DEV cluster into separate NS (watching only this NS) and clone and run the garden-it against this NS
[x] Run Jenkins pipeline also on PRs
[ ] Update PR during pipeline execution on certain stages, e.g. Lint tests passed, Unit tests passed, Integration tests passed, etc.
[ ] Exact plan of actual pipeline and how a change shall be prepared, what happens to the pull request, where it is tested, how the build result is promoted and deployed to production
[ ] In-depth evaluation of similar tools like Concourse or Drone which are more promising than Jenkins + Kubernetes-Plugin

Definition of Done

[ ] Knowledge is distributed: Have you spread your knowledge in pair programming/code review?

:information_source: Migrated from Jira issue KUBE-149

Done internally by other subteam.


upgrade terraform to 0.12.3

https://github.com/hashicorp/terraform/blob/v0.12.3/CHANGELOG.md#0123-june-24-2019

Update Terraform
Update README.md

/codefresh run apk

/codefresh run apk

test

@ChrisMcKee we seem to have some trouble right now to run tests from forks. I'll import your changes i a separate PR. Also, I'm going to leave this PR open so we can use it as a test-case.

test

test

test

test


SpellBot v7 with Slash Commands

Complete re-write to support slash commands.

[x] /about
[x] /lfg (looking for game)

[x] friends: (create/join game with a list of mentioned players already joined)
[x] seats: (how many player seats available at this game)
[x] voice channel with invite
[x] honor block lists clicking "join game" button
[x] honor block lists when using /lfg
[x] honor block lists when mentioning friends in a /lfg command
[x] honor banned list when mentioning friends in a /lfg command
[x] add !ban and !unban DM commands that only I use
[x] ignore yourself if you mention yourself in /lfg as a friend
[x] join and leave buttons
[x] Remove join/leave buttons when the game starts
[x] support for public/private links
[x] DM users in the game when it starts
[x] Post mini-embed with link to game when you are put into an existing one
[x] Support for picking a game format (with assumed default number of seats)
[x] Leave a game and join a different game when clicking on Join button not planned for v7.0
[x] Post mini-CTA to a game you're in if you /lfg when you're already in a game not planned for v7.0
[x] tags: (tag support for custom games) not planned for v7.0
[x] note: free form notes attached to a game (upon creation) not planned for v7.0

[x] /plays (how many games have you played on this server)
[x] /block

[x] users can block and unblock other users

[x] /unblock
[x] Server configuration commands

[x] show/hide links
[x] enable/disable voice channel creation
[x] set server message of the day
[x] set default number of seats for new games for a given channel
[x] provide a way for admins to see what the current configuration is for their guild

[x] background processing

[x] delete old voice channels
[x] Expire games after some period of time with no activity not planned for v7.0

[x] Commands for event runners not planned for v7.0
[x] User verification support (may not be possible, might need message content intents -- will have to apply for these when Discord opens up applications in the future)
[x] Player awards based on number of games played

[x] give out awards based on number of plays
[x] allow admins to configure the awards on their server

[x] Watch and unwatch moderator commands

[x] context menu commands
[x] note response
[x] DM moderators when a watched user joins a game
[x] command for admins to see current list of watched users for a guild

[x] teams not planned for v7.0
[x] power level not planned for v7.0
[x] reporting & points

[x] enable/disable show points for a server
[x] allow users in a game to enter points (1 to 10) for a game
[x] allow users to fetch information about points they have
[x] show game format in score page
[x] fetch recent game history in a channel
[x] download fetched game histories as csv
[x] pagination support

[x] updated icon
[x] TODOs

[x] add a catchall for old message content commands telling the user to use slash commands instead
[x] refactor src/spellbot/web/server.py
[x] refactor safe_add_role() to use with suppress():
[x] refactor BaseInteraction so that it doesn't fail in tests
[x] refactor webserver code so it's all not just in a single __init__.py file
[x] in lfg_interaction.py, log error (send message in channel?) if we can't give a user a role
[x] in /awards embed, implement pagination
[x] use Factory Boy with Faker in test: https://www.mybluelinux.com/database-integration-tests-with-pytest-sqlalchemy-and-factory-boy-with-faker/
[x] build mocks for discord objects like ctx
[x] refactor all ensure_X_exists() service calls into one central place?
[x] move channel configuration list to a paginated embed via command: /channels
[x] Add test for /score that checks that it counts games only for the current guild

[x] metrics and instrumentation not planned for v7.0
[x] script to migrate old data from pre-v7.0 database tables into new v7 tables.
[ ] 100% test coverage (so far we're up to 93%)
[x] rewrite README.md
[x] rewrite index.html
[x] Create a privacy policy and set it here: https://discord.com/developers/applications/725510263251402832/information

[x] added: PRIVACY_POLICY.md
[x] add link to bot information once v7 is released

[x] Create a terms of service and set it here: https://discord.com/developers/applications/725510263251402832/information

[x] added: TERMS_OF_SERVICE.md
[x] add link to bot information once v7 is released

Resolves #581

Codecov Report

Merging #582 (1a70e65) into master (35649a7) will decrease coverage by 22.39%.
The diff coverage is 77.86%.

@@             Coverage Diff             @@
##           master     #582       +/-   ##
===========================================
- Coverage   94.58%   72.18%   -22.40%
===========================================
  Files          69        6       -63
  Lines        3547      169     -3378
  Branches      504       15      -489
===========================================
- Hits         3355      122     -3233
+ Misses        128       44       -84
+ Partials       64        3       -61

Impacted Files
Coverage Δ

src/spellbot/__init__.py
52.63% <ø> (-39.54%)
:arrow_down:

src/spellbot/tools.py
35.48% <35.48%> (ø)

src/spellbot/client.py
75.00% <75.00%> (ø)

src/spellbot/cogs/__init__.py
90.90% <90.90%> (ø)

src/spellbot/cogs/about.py
100.00% <100.00%> (ø)

src/spellbot/settings.py
100.00% <100.00%> (ø)

... and 2 more

Continue to review full report at Codecov.

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

I'm going to merge this to master now. Further test coverage will come later as quick follow-on PRs. SpellBot won't be deployed until such time as we have 100% coverage.


Indention for calls chain

Similar to #33. I prefer to use indented rule (above is a bad example for me)
# def workflow_action
#      @workflow_action ||= WorkflowAction.with_social_posts
# -      .joins(workflow_step: :workflow)
# -      .merge(workflow_scope)
# -      .find(params[:id])
# +                                       .joins(workflow_step: :workflow)
# +                                       .merge(workflow_scope)
# +                                       .find(params[:id])
#    end

the same for params (cop Layout/AlignArguments )
   def self.with_social_posts
     includes(:workflow_action_facebook_post, :workflow_action_linkedin_share,
-      :workflow_action_twitter_message)
+             :workflow_action_twitter_message)
   end


Change labels

Screenshots
I didn't include every possible changes because a lot of them used the same piece of code to generate the changes, so I did some spot check myself without creating all the screenshots, i.e. Header changes to "What to do now".  The same piece of code is used to generate contents for every action steps and pages, therefore, code changes only happened on 1 place, and it will work throughout, and I did spot check just in case anything went wrong.
"During this phase, you will" instead of "During this phase, you should", same scenario as above, I checked all other pages, they all looked good, just included 1 screenshot here:

"How to take action" to "What to do now", the scenario I described in the intro paragraph, I spotted check to make sure things look right:

"Compare loan packages" to "Compare loan offers" and "Decide and close" to "Get Ready to close":

From single quotes to double quotes  on "Hide "xxx" sections".  Same scenario as described, I spot checked to make sure everything looks good:

URL from Decide to Close was not changed though.
@stephanieosan

These look good!
Just to double-check, the only thing I don't see any screenshots of is the top and bottom nav—did the titles get updated to "Compare loan offers" and "Get ready to close" there as well? If so, let's merge!
Also, it would be great if someone else would update to the url from decide to close, since Serghei's on vacation.

Oops, here they are @stephanieosan:

@stephanieosan I can look into the URLs.  Probably need to be a separate branch and pull request though since I won't be able to push to his branch.
So I think everything is good here, and I will work from a different branch for the URLs.

Sounds good! Let's merge!


Allow space application supporter to access specific packages endpoints.

Issue
Allow space application supporter to access specific packages endpoints.
Context
We are introducing a new role and we want to make sure it has the right access.
Expected result
A space application support should be able access the following endpoints:
GET /v3/packages/:guid
GET /v3/packages
GET /v3/apps/:guid/packages
Acceptance
A space application supporter would see the same info as a space developer assigned to the same space for these and only these packages endpoints.
Documentation
When I browse to any of these endpoints on v3 docs I can see the Space Application Supporter role in the list of permitted roles with an indication that this role is not fully implemented and the permissions will be changing.

@will-gant and I are working on this one.


Introduce general infra chaos to ShardingSphere

Tasks:

[ ] Introduce some kinds of Pod chaos to a running ShardingSphere cluster, including zookeeper, and observe the cluster status. Submit a pr contains config yaml after the test please.
[ ] Introduce some kinds of Network chaos to a running ShardingSphere cluster, including Zookeeper, and observe the cluster status. Submit a pr contains config yaml after the test please.

I want to try this issue out , please assign it me ,thanks

Thanks @moomman !

https://github.com/apache/shardingsphere-on-cloud/issues/32#issuecomment-1471355157

This will be discussed in #290


TiKV crash loop during EBS recovery

Bug Report

What version of TiKV are you using?

What operating system and CPU are you using?

Steps to reproduce

What did you expect?
What did happened?

close it since https://github.com/tikv/tikv/pull/16869 already fixed this issue.


Bug: Error: EMFILE: too many open files, open  at lazyFs.open (internal/fs/streams.js:273:12)

Short summary about the issue/question:
NNI control server crashes while running experiment for several days. The only signs of crash are found in nnictl log stderr [exp_id]. Everything else just looks like process disappeared.
Brief what process you are following: Running a nnicreate on one machine to create remote experiment which involves 2 workers (2 different machines). After 6 days of running nni control daemon fails with:
(node:41922) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 10569)
events.js:167
      throw er; // Unhandled 'error' event
      ^

Error: EMFILE: too many open files, open '/root/nni/experiments/cJd6Fzn0/log/nnimanager.log'
Emitted 'error' event at:
    at lazyFs.open (internal/fs/streams.js:273:12)
    at FSReqWrap.oncomplete (fs.js:141:20)

How to reproduce it:

nni Environment:
nni version: 1.0
nni mode(local|pai|remote): remote
OS: Ubuntu 16.04.6 LTS
python version: 3.6.8
is conda or virtualenv used?: no
is running in docker?: yes
need to update document(yes/no): no
Anything else we need to know:
Relevant logs:
nnimanager.log
nni_stderr.log
dispatcher.log

It looks to me that the upper limit of number of files opened is reached. Is there other processes running that would open a lot of files (like file sync, or database...).

So far every remote experiments eventually errors out with this message. After resuming this experiment it had been working for 5 days until crash. Same error message.
events.js:167
      throw er; // Unhandled 'error' event
      ^

Error: EMFILE: too many open files, open '/root/nni/experiments/cJd6Fzn0/log/nnimanager.log'
Emitted 'error' event at:
    at lazyFs.open (internal/fs/streams.js:273:12)
    at FSReqWrap.oncomplete (fs.js:141:20)

also this warning in stderr is pretty annoying (takes MBs of logs):
(node:48255) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at AnonymousObserver.disposable.timer.subscribe [as _onNext] (/root/.pyenv/versions/3.6.8/nni/training_service/remote_machine/remoteMachineTrainingService.js:331:42)
    at process._tickCallback (internal/process/next_tick.js:68:7)

@ultmaster thanks for response! not really, server is almost idle. I don't even run training on the machine where nni manager is working. Also I noticed that with time web UI becomes super slow: initial AJAX request of trials might take like 10 seconds to load.

After 12 hours of run, node keeps 1.5m opened file handlers to log/nnimanager.log.

Hi, @apatsekin . Thanks for raising the issue, does this problem only occur on remote mode? will it happen on local mode?

Hi @SparkSnail . Thanks for reacting! The same experiment run in a local mode doesn't cause this growth of unclosed handlers. So it's something specific to remote mode.

bump... any ideas? I'm sure it's a matter of one-line closing file handler in some final block.
**138492** 5883 node
   264 5905 python3
    38 3300 sshd
    29 6363 zsh
    29 4860 zsh
    29 3753 zsh
    29 1 zsh
    17 6525 lsof
    12 6526 lsof
    11 5904 sh
     1 PID COMMAND

@SparkSnail seems a remote mode problem.

Hi @apatsekin , thanks for raising the problem, I've checked NNI's code, and perhaps this problem is caused by https://github.com/microsoft/nni/blob/master/src/nni_manager/training_service/remote_machine/sshClientUtility.ts#L152. I'm investigating and will give a hot fix ASAP.

https://github.com/microsoft/nni/pull/1749

https://github.com/microsoft/nni/pull/1755


Killing Floor 2 Stuck on Update step 3/4 - Wait For Server Start despite being started

Bug Report
System Information

Operating System (Including distribution name and version number)

Windows 10 | 61GB RAM
AMD Ryzen 9 6900HX with Radeon Graphics (8C\16T)

AMP version and build date (Always use the version number, 'latest' is not valid!)

AMP Release "Decadeus"
v<IP_ADDRESS>, built 06/12/2023 17:17

Which AMP release stream you're using (Mainline, Nightly or FastTrack)

Main

I confirm:

[x] that I have searched for an existing bug report for this issue.
[x] that I am using the latest available version of AMP.
[x] that my operating system is up-to-date.*

Symptoms

What are you trying to do?

Create a KF2 Server

What are you expecting to happen?

Create server, update, then close

What is actually happening? ('Nothing' is not an acceptable answer!)

Create Server, Update, Game server actually starts, then hangs and doesn't continue to step 4 of 4

Reproduction

Install Program
Set up ADS server, insert key, use stand alone mode
create a new KF2 server
Click update
steam console updates it, downloads, the files, etc
gets to setting up then starts the server
just sits on 3 of 4 and doesn't close the server

Right click the instance and View Logs. Share the latest here where you've tried to start it.

Thanks! Will look into this later today.

This will be fixed in the next AMP release.


perf(NetworkTransform): removing allocations from Command

byte[] payload will cause a new array to be created when parameters are read, using ArraySegment<byte> avoids this.

nice find


Invalid characters have been removed so that the package can be import properly in  MaterialRestorer.cs

Overview
Remoce invalid characters in MaterialRestorer.cs
based #168
Changes

Fixes: #168  .

com.microsoft.mrtk.graphicstools.unity/Runtime/Utilities/MaterialRestorer.cs
Verification
This fix eliminates the invalid character error.
There may be character codes and environments.
I have run it on two environments, Windows 11 desktop and Laptop, and have confirmed that it resolves the error in both environments.

additional
@Cameron-Micka
Sorry again for the delay in 133.
I've been a bit slammed, but I'm fine! Back to work!


version 0.0.7 not rendering svg

Hi again, I noticed that in the new version 0.0.7, componentDidUpdate method of SequenceDiagram has changed and drawSVG is not called anymore. I've noticed this change between 0.0.6 & 0.0.7:
 class SequenceDiagram extends Component {
+  componentDidUpdate() {
+    if (!this.div) return;
+
+    const { input, options } = this.props;
+    this.div.removeChild(this.div.children[0]);
+    const diagram = Diagram.parse(input);
+    diagram.drawSVG(this.div, options)
+  }
+
   componentDidMount() {
     const { input, options } = this.props;
     const diagram = Diagram.parse(input);

It doesn't appear in your Github repo. Is this intended ?
Thanks

Reinstalling the package may solve that problem. I removed that code in 0.0.7. compare 0.0.6.tgz and 0.0.7.tgz.
Thanks again.


[newton] RE-155 Add rpco apt source to lxc base cache

Prior to https://github.com/rcbops/rpc-openstack/commit/42023951029ec2c6112dbe304001c6c64eadbaae the rpco.list file was copied into the container cache
and worked fine because the deploy node and lxc host were the same.
With that patch, this no longer happens and the cache prep dies.
This issue is not being seen on the newton branch at the moment
as the containers artifacts were built prior to that patch merging.
In order for the lxc cache prep process to make use
of the extra rpco apt source we need to ensure that
the repo source file is copied into the cache prior
to doing any package actions. This patch ensures
that the repo config is there.
The OSA SHA is also updated to ensure that the
unbound variable bug is fixed when installing pip.
ref: https://review.openstack.org/489260
Issue: RE-155

Kibana tests failed for CIT/xenial-deploy-swift

recheck_cit_xenial_deploy_swift
recheck_cit_trusty_leapfrogupgrade_swift

leapfrogupgrade job failed in the kilo tempest testing:
{0} tempest.scenario.test_server_basic_ops.TestServerBasicOps.test_server_basic_ops [54.165613s] ... FAILED
{0} tearDownClass (tempest.scenario.test_server_basic_ops.TestServerBasicOps) [0.000000s] ... FAILED

recheck_cit_trusty_leapfrogupgrade_swift

recheck_cit_artifact

recheck_cit_xenial_deploy_swift -- tempest issue.

recheck_cit_artifact

recheck_cit_trusty_leapfrogupgrade_swift

The leapfrogupgrade failure is consistently in the kilo tempest tests. This patch does not relate, so merging it.


Invalid pass number (1) for Graphics.Blit (Material "SuperBlurPostEffect" with 1 passes)

Hi.
I am learning Unity right now and your package seemed like a good idea to get some blur going in a 2d game, to add some depth to the background.
I have added the script to the camera, as well as the materials, as outlined in the Readme.md.
However, upon running my project, it says:

Invalid pass number (1) for Graphics.Blit (Material "SuperBlurPostEffect" with 1 passes)
UnityEngine.Graphics:Blit(Texture, RenderTexture, Material, Int32)
SuperBlur.SuperBlurBase:Blur(RenderTexture, RenderTexture) (at Assets/SuperBlur/Core/SuperBlurBase.cs:69)
SuperBlur.SuperBlur:OnRenderImage(RenderTexture, RenderTexture) (at Assets/SuperBlur/SuperBlur.cs:24)

Invalid pass number (2) for Graphics.Blit (Material "SuperBlurPostEffect" with 1 passes)
UnityEngine.Graphics:Blit(Texture, RenderTexture, Material, Int32)
SuperBlur.SuperBlurBase:Blur(RenderTexture, RenderTexture) (at Assets/SuperBlur/Core/SuperBlurBase.cs:75)
SuperBlur.SuperBlur:OnRenderImage(RenderTexture, RenderTexture) (at Assets/SuperBlur/SuperBlur.cs:24)

OnRenderImage() possibly didn't write anything to the destination texture!

Worth noting is, that I have 2 cameras.
I have Maincamera for rendering the game and UI with "depth only" clear setting and CameraBackground for rendering the background only, which is on it's own layer. It is set to clear to solid color. I tried disabling the second camera and added the script to the first, same error occured, so I doubt that is the actual issue.
Unity Version is 5.6.3p2, Graphics: Sapphire Nitro+ RX480
I am not very savvy with Shaders, so I cannot offer you a patch, but if you can fix it, that would be awesome 👍

Figured it out: Unity applied an error shader to the material, for whatever reason. One needs to apply "Custom/SuperBlur" shader to both materials, then it works :).


Reenable epoch validation and add props to error for better telemetry

We can't get it in before server side is fixed and propagated enough through the rings (i.e. to prod), right?
Given holidays, I assume it will take quick some time, so likely we can submit it only after 0.32 is cut in January.

We can't get it in before server side is fixed and propagated enough through the rings (i.e. to prod), right?
Given holidays, I assume it will take quick some time, so likely we can submit it only after 0.32 is cut in January.

Server side response is not fixed and is in spdf. So we can enable it.


Release notes

@elfassy
The release for v2.3.0 adds the metadata column.
On the notes, it's required to run new migrations and use bin/rails maintenance_tasks:install:migrations to generate them.
In the codebases that had archived migrations, it will generate all the migrations, which leads to errors while running the migrations and may raise doubts on which ones are the old and the new.
Maybe it's worth to add a note saying that only the add_metadata_to_runs.maintenance_tasks migration is needed 🤔
I'd happily add the note, but I couldn't find an easy way.
Thanks for the gem ❤

Yeah we have a section for this in the README, but I'll update the release notes to include a word about the migration.


Control mouse_entered and mouse_exited signals do not fire if any mouse button is pressed

Godot version
3.5.1 stable
System information
Win 10, Nvidea 765
Issue description
The mouse_enterd and mouse_exited signals of a Control node do not fire if any mouse button is pressed over the Control Rect2 area and then moved in and out the Control Rect2 area.
This is only an issue for Godot 3.5.1, in Godot4 beta3 this does not occur. Signals fire normally in Godot4 beta3.
Steps to reproduce

Add a Control node and connect the mouse_entered and mouse_exited signals
Click with any of the mouse buttons in the Control Rect2 area and then
move the mouse in and out the Control Rect2 area while holding the button.
observe signals not firing

Minimal reproduction project
func _on_ColorRect_mouse_entered():
	print("mouse_entered")

func _on_ColorRect_mouse_exited():
	print("mouse_exited")

I think this is faster to replicate without downloading and installing a MRP.

What about previous versions. Does this occur in 3.4?

@Mickeon Same issue and behavior in Godot 3.4 as in Godot 3.5.1

Related to https://github.com/godotengine/godot/issues/20881 (possible duplicate?).

@Calinou Thanks!
Closing as likely a duplicate of https://github.com/godotengine/godot/issues/20881


Add --maxassignlength to control how much to automatically log when assigning variables

Similar to #2576 I have a use case that requires increasing the _MAX_ASSIGN_LENGTH variable in Utils/text.py when running robot tests.
The implementation and CLI flag --maxassignlength would mimic --maxerrorlines.
--maxassignlength documentation would show the default MAX_ASSIGN_LENGTH of 200 words and allow the value to be increased when running robot.
It would also be nice to set the default behavior of format_assign_message(cut_long=True) to cut_long=False. Perhaps as a --assignlogall flag?

Quick comments:

I'd prefer only increasing the value of _MAX_ASSIGN_LENGTH from 200 characters to something like 400. Trivial to implement and updating tests and docs shouldn't be a big task either. Could still make it to RF 3.2 if someone would create a pull request.

Adding --maxassignlength (or possibly --maxassignmessage or even --maxassignmessagelength) that works similarly as --maxerrorlines is possible but a lot bigger task than 1. If someone finds this important enough to create a pull request, I'd be happy to review it. I won't have time for that before RF 3.2, though.

I absolutely don't want to have more than one setting to control this behavior. That one option could have way to tell everything to be logged, for example, like --maxassignlength -1. I think --maxerrorlines had such a feature and this one should be consistent.

In general keywords should log information that is important themselves. Relaying on automatic logging when variables are created feels a bit strange for me, especially when no such logging occurs if there's no variable assignment.

Hi Robot support team.
we are also want to get full log in robot log file.
For example, robot script will run in linux server, and do an tcp socket to windows pc, then execute python script in windows remote PC for GUI automation, it's out of the linux/robot/windows command line control.
this python script will return all the execute log and response to robot, and robot can check/confirm all the steps/error/exception.
without robot, we can manual run this python script, but it's a part of robot script, we want to run all these script in robot test suite.
is there any option can be add to robot script content and enable the full log?  command line is not a good solution, it's a hard code solution and need manual add action when we run all scripts at the same time.
Thanks

+1 for this feature. I am using Robot Framework for a lot of network validation cases where the log.html becomes an artifact.
I have had to forke the repo internally and set trim_long=False in utils/text.py but not diverging would be more ideal.

--maxerrorlines (#2576) has turned out to be useful so let's add --maxassignlength in RF 4.1 as well. Probably could increase the default at the same time as well.

I want to get RF 4.1 released soon and don't consider this important enough to be included into it. I move this into RF 5.0 scope. Unless someone provided a pull request implementing the functionality, there's a risk this issue will be descoped from it as well.

There's a new PR #4261 implementing this which means we could still get this into RF 5.0.

This was implemented in PR #4261 by @miktuy and then enhanced slightly in the commit above. Thanks for contribution!


Menu bar is stationary

The menu bar is stationary and needs to be given
position: fixed;

However I need to figure out how to make it auto size with the window and also not collapse the bar and buttons into one area.

Fixed. And the bar looks better too


JStachio version

The latest version of htmx-spring-boot doesn't depend on thymeleaf, so I'd like to propose a maintained branch in this repo with at least one other template engine. My choice is JStachio because of the novelty of having a reflection-free compile time engine, and because that plays well in the new native image building world. There's a branch here that works: https://github.com/dsyer/spring-petclinic-htmx/tree/jstache. I could make it into a PR if there was a branch here.

Hi Dave, thanks to the 3.0.0 version of the htmx-spring-boot project, we can use indeed other libraries than thymeleaf: https://github.com/wimdeblauwe/htmx-spring-boot/releases
I didn't know JStachio. Mustache templates are compiled at build time. It sounds great. This reminds me the arrival of MapStruct into the mappers world. Thus I think its a good idea to provide a second template engine for this htmx repositoy. The most difficult thing will be to synchronize the 2 branches because they diverge so much.

Hello, that seems like a good idea to have a second branch.
I didn't knew about JStachio either, but I will join Antoine on the fact it may be difficult to keep them in sync, but we can try.
Mustache templates are very hard to read and follow to me, so I may not be able to help that much with it, but I can understand the advantage of having them compiled at build time.

OK great. If you create a branch I will send a PR. I can help maintain it - it shouldn't change much once we get it working.

I created the jstache branch.


consider supporting --context or --kube-context

Is your feature request related to a problem? Please describe.
there appears to be no way to pick a kubeconfig context, which forces user to separate specific contexts into individual kubeconfigs
Describe the solution you'd like
support --context or --kube-context cli option to select appropriate context from kubeconfig
Describe alternatives you've considered
one can generate a separate kubeconfig with the following
kubectl --context=${context_name} config view --minify --flatten

You should be able to choose your context using kubectl config use-conext - does that not work for you?

you're right, it works
imho, it would be awesome to support something like --kube-context (like helm does) to do it in one go

I also think that would be a valid feature request.


Feature/bmauer/fixes #1682

Implements feature request in issue #1682

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Trivial change (affects only documentation or cleanup)

Checklist:

[X] I have tested this change with a run of GEOSgcm (if non-trivial)
[X] I have added one of the required labels (0 diff, 0 diff trivial, 0 diff structural, non 0-diff)
[X] I have updated the CHANGELOG.md accordingly following the style of Keep a Changelog

@bena-nasa Can you add a CHANGELOG entry? If not, I can attempt it when I go for the merge.


[Bug]: OAuth2.0 - with dropbox - first time on saving and authorizing goes to a 404 page

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When I enter OAuth2.0 details and click on save and authorize first time it goes to a 404 page. On re-editing the DS from the active ds page & saving and re-authorizing, it works fine.
Steps To Reproduce

Go to OAuthDS in a git connected app and enter all details for OAuth with Dropbox
Now click on save and authorize. It goes to a 404 page.
On re-editing the DS from the active ds page & saving and re-authorizing, it works fine.
This is intermittently reproducible.

Public Sample App
No response
Environment
Release
Issue video log
No response
Version
Release

@btsgh is this only on release or does this happen on prod as well?

https://DdPa7mfUvV.vmaker.com/record/WQM4Eh9uvi4ESEiY

@btsgh It would seem that this might be a git related issue rather than an integrations pod issue,
can this be assigned to the respective pod? cc: @rohan-arthur

@Irongade - another update - we are able to see this 404 issue again in this week's regression. It is intermittently reproducible. Link to the app


Updates for en and ru translations

Characters

[ru] Fix: Male gender translation (from man to male)
[ru] Update: Regions translation

Weapon material types

[en] Add: Materials from Inazuma domains
[en] Fix: Location of Cecilia Garden for Boreal Wolf
[ru] Add: Translation

Talent material types

[en] Add: Materials from Inazuma domains
[en] Removed: Quote marks from names
[en] Fix: Names of blue rare materials
[ru] Add: Translation

Domains

[en/ru] Add: Domain of Blessing: Machine Nest

Elements

[en] Update: Archons names and themes
[ru] Add: Translation

I've decided to cherry-pick your commits instead of merging the PR.
Thanks!


Fix some timeout tests for Python 3.8

What do these changes do?
Some tests fails on Python 3.8 due to the side_effect being a lambda, that cannot be declared as async.
Also expectation for test_pool_idle_close do not match 3.8.2, so PBO_34638 was adjusted.
Are there changes in behavior for the user?
No, only for tests.
Related issue number
N/A

@aplanas -
Thanks so much for the submission! Maintenance of this library resumed this week.
These tests were actually resolved as a part of a separate effort #840 so this PR is no longer needed, but your contribution is still greatly valued!
If you'd like to get involved in the effort to resuscitate this library, I'd be happy to have you on board!


Task3 completed

Issue: #3

Your Task 3 output is incorrect. We require the list of files of each of the folders in the PATH environment variable.


Integration tests

Create integration tests for zendesk api and ui.

Test scenario 1:
The user is able to open the support modal from example app button.
Test case 1:

Start the example app
Find the button to open the modal and tap
Wait 2s to load the content
Check if the text "welcome to our help center..." is shown above the cards

https://github.com/tiki/app/issues/440

Waiting on fixing example app on android to do this


Add improved methods for using TextRender TT tests in components

For an example, see  https://github.com/quattor/aii/pull/113
Would be nice to have this release and pom changed, as it is mandatory for TT usage in components (esp the mock method)

test this please

failures seemed related to https://github.com/quattor/pan/issues/88. very odd, not seen on my laptop


Hdds 4191

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
What is the link to the Apache JIRA
(Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HDDS-XXXX. Fix a typo in YYY.)
Please replace this section with the link to the Apache JIRA)
How was this patch tested?
(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)

Codecov Report

Merging #6 into HDDS-2823 will decrease coverage by 0.10%.
The diff coverage is 73.48%.

@@               Coverage Diff               @@
##             HDDS-2823       #6      +/-   ##
===============================================
- Coverage        73.80%   73.70%   -0.11%
- Complexity       10472    10479       +7
===============================================
  Files             1002     1003       +1
  Lines            51756    51861     +105
  Branches          5008     5019      +11
===============================================
+ Hits             38200    38222      +22
- Misses           11153    11223      +70
- Partials          2403     2416      +13

Impacted Files
Coverage Δ
Complexity Δ

...ntainerLocationProtocolServerSideTranslatorPB.java
53.16% <14.28%> (-1.19%)
26.00 <2.00> (+1.00)
:arrow_down:

...oxy/SCMContainerLocationFailoverProxyProvider.java
75.67% <75.67%> (ø)
22.00 <22.00> (?)

...ntainerLocationProtocolClientSideTranslatorPB.java
54.70% <80.00%> (-0.39%)
28.00 <2.00> (ø)

...m/proxy/SCMBlockLocationFailoverProxyProvider.java
75.45% <100.00%> (ø)
22.00 <0.00> (ø)

.../hadoop/hdds/scm/cli/ContainerOperationClient.java
36.97% <100.00%> (-4.89%)
14.00 <1.00> (ø)

.../java/org/apache/hadoop/ozone/om/OzoneManager.java
68.14% <100.00%> (-0.15%)
207.00 <1.00> (ø)

...ache/hadoop/ozone/recon/ReconControllerModule.java
81.33% <100.00%> (+1.84%)
6.00 <0.00> (ø)

...va/org/apache/hadoop/hdds/utils/db/RDBMetrics.java
92.85% <0.00%> (-7.15%)
14.00% <0.00%> (-1.00%)

.../transport/server/ratis/ContainerStateMachine.java
71.07% <0.00%> (-5.39%)
62.00% <0.00%> (-4.00%)

...ozone/container/ozoneimpl/ContainerController.java
76.31% <0.00%> (-5.27%)
13.00% <0.00%> (-1.00%)

... and 23 more

Continue to review full report at Codecov.

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


Service Learning Courses Admin Review Interface

Admins should be able to go into a separate interface for reviewing course proposals that are in the pending table in the SL course management interface.  They'll go to this interface through the Service Learning Course Proposal Management interface.  (There currently isn't a link to this page in the sidebar so the route is: :8080/courseManagement/)

Here is the wireframe for this interface (the slides titled 4. Admin Review): https://balsamiq-wireframes.appspot.com/?state={"ids":["1etrefTLsvWQntesh5_TDdC66TRVzRpHf"],"action":"open","userId":"109665407847548855125","resourceKeys":{}}

 CELTS #232: Service Learning Courses Admin Review Interface


Crash: World mesh not loaded

Anything that loads a world crashes for me, because actualMesh.isLoaded() is false in the importWorldMesh call. The crash comes from if (!actualMesh->getCashedData()) through the getter of the ResourceHandle.

With #106, we at least get an error message about the mesh, but I still don't know what the problem is.

I've seen this happening before, but I haven't been able to figure out why, either...


Unable to locate Roblox instillation directory

Hi I keep getting this issue, any ideas on how to fix it?
Thank you

Roblox is in that location. The image attached is in the C drive.
Please advise, thank you

Ok, thats strange, cacn you please send me a screenshot of what you see inside the Versions folder.

Sorry for the super long wait, but in the latest release of Rolo 2.0 you can now customise your Roblox Installation Directory.

Roblox is in that location. The image attached is in the C drive.
Please advise, thank you

Hi,
I was just checking up. Was your issue resolved after the new update? If not I can reopen this issue and look into the bug.
Thanks


Fix test against fork CI job

Description of proposed changes
Fixes the test-against-fork CI job which consistently fails when we open PRs to update test/main (example).
First a quick primer on the general flow of the job:

Build everything
Spin up a node and sync it with the target chain (main/testnet). This synced database gets used by a few other jobs, so it's a separate step, and the node gets spun down after syncing.
Spin up a node that uses the synced database, which we'll use as the source for the state of our fork.
Run creditcoin-fork to pull the state from the node in (3) and put it in a new forked chainspec. Basically, this does:
a. Do a bunch of RPC requests to fetch the raw state from the source chain
b. Make a new chainspec based on the dev chain (the crucial part of this is the genesis state, which has Alice as sudo, funded dev accounts, etc.)
c. Insert all of the state from (a) into the chainspec's genesis state, excluding certain prefixes (for instance, we don't copy over the Sudo state or the current state of Staking)
d. Save the modified chainspec from (c)
Spin up a node on the forked chainspec
Run integration tests against the forked node

The issues were (note that each of these bullets corresponds with a commit in the PR, in order):

The node we spin up in (3) above wasn't actually using the synced database (the node was using the incorrect base path)
When we made the forked chainspec, we were copying the block we switched to PoS, which isn't valid anymore on our new chain. For instance, before this PR, the genesis state of the forked chain would have the block we switched to PoS as block 715,239 (even though we're starting with a new chain as PoS, so it should be 0!)
The configuration for the integration tests on the forked chain had CREDITCOIN_USES_FAST_RUNTIME set to true, but the forked chain doesn't use the fast runtime
A collect coins test was timing out, due to some (known but) weird behavior of the OCW, where if you try to request collect coins for a burn hash X and it fails, then try to request again for the same hash X, the OCW won't actually work on your request for ~60 blocks. To fix this, I just used separate burn hashes for the two tests.

Practical tips for PR review & merge:

[ ] All GitHub Actions report PASS
[ ] Newly added code/functions have unit tests

[ ] Coverage tools report all newly added lines as covered
[ ] The positive scenario is exercised
[ ] Negative scenarios are exercised, e.g. assert on all possible errors
[ ] Assert on events triggered if applicable
[ ] Assert on changes made to storage if applicable

[ ] Modified behavior/functions - try to make sure above test items are covered
[ ] Integration tests are added if applicable/needed

Codecov Report

Merging #1430 (01b40a1) into dev (f517168) will decrease coverage by 58.19%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##              dev    #1430       +/-   ##
===========================================
- Coverage   71.86%   13.68%   -58.19%
===========================================
  Files         111       31       -80
  Lines       12953     1001    -11952
  Branches      128      128
===========================================
- Hits         9309      137     -9172
+ Misses       3634      864     -2770
+ Partials       10        0       -10

see 87 files with indirect coverage changes
:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!


Elm-live permission denied.

I have this error message when I do elm-live src/Main.elm:
elm: /home/anton/projects/elm/score_keeper/elm-stuff/0.19.0/Main.elmi: removeLink: permission denied (Permission denied)
elm: thread blocked indefinitely in an MVar operation

Okay that was a permission problem, I did: sudo chmod -R 777 elm-stuff/


chore: Move to yaml_rust2 and serde_yml

Old deps are no longer maintained. Swapping them still compiles.
Fixes: #72

Awesome! Thanks :)


zsh: external-argcomplete-script does not work on register-python-argcomplete

Example:
test.sh:
complete_func() {
    echo "complete func called" > done.txt
}

eval "$(register-python-argcomplete -e complete_func arc_test)"

next in zsh shell do next steps:
source test.sh
arc_test <tab><tab>

Expected result:
file done.txt with "complete func called" message exists
Actual result:
no file
On bash - this code works.
Environment:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
pip show argcomplete
Name: argcomplete
Version: 3.1.2
Summary: Bash tab completion for argparse
Home-page: https://github.com/kislyuk/argcomplete
Author: Andrey Kislyuk
Author-email<EMAIL_ADDRESS>License: Apache Software License
Location: /home/dybala/.local/lib/python3.10/site-packages
Requires:
Required-by:
python --version
Python 3.10.12
zsh --version
zsh 5.8.1 (x86_64-ubuntu-linux-gnu)
bash --version
GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)

Thanks for reporting and opening a PR. Curious, what is the purpose of using argcomplete if the script supplying the completions is a shell script? Why not register that natively with the shell directly?
I appreciate that -e is not working as expected with zsh, but I'm trying to better understand how people use -e in general.

Hello.
My use cases:
1)
I have script.py and some aliases to useful commands:
alias scmd1='script.py cmd1'
alias scmd1='script.py cmd1'
...
alias scmdn='script.py cmdN'

As you know, bash does not complete aliased and zsh tries to complete them but with very strange result.
I do next script:
# $1 - alias name
# $2 - target commands
__gen_completion_func() {
    eval "
    __completion_$1()
    {
        local _alias=$1
        local aliaslen=\${#_alias}
        local realcmd=\"$2\"
        local realcmdlen=\${#realcmd}
        COMP_POINT=\$(expr \$COMP_POINT - \$aliaslen + \$realcmdlen)
        COMP_LINE=\"\${realcmd}\${COMP_LINE:\$aliaslen}\"

        script.py
    }"

    eval "$(register-python-argcomplete -e __completion_$1 $1)"
}

# and call it:
__gen_completion_func scmd1  "script.py cmd1"
__gen_completion_func scmd2  "script.py cmd2"
...

for zsh you also need
setopt completealias

I have some command:
scripty.py dir
which get name of component and return location of it.
to make cd onto location I use next shell function:
kcd() {
    dir=$(script.py dir $1) && cd $dir;
}

# and use previous function to generate completion:
__gen_completion_func kcd  "script.py dir"


pitch yaw

Pitch is the horizontal angle, and yaw is the vertical angle. Is this understanding correct?

@wzr0108 , yes. pitch is a rotation on x-axis and yaw is on y-axis.


Option to Edit episode number for extensions that provide multiple season under one title

Describe your suggested feature
A option to edit episode numbers for sources that have multiple season under one name and tend to have bad namings (such as - not  season 2 numbering from 13 or 24 insted of 1) .while tracking with season one for example works fine , tracking after that season starts from 12 or 24 and sometimes gets marked completed . A option to edit episode number would help us to renumber the episodes to track them properly.
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an official extension, I should be opening an issue in the extensions repository.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I will fill out all of the requested information in this form.

Duplicate of #42


Geolocation is available and enabled but coords is null

Hello.
The geolocation is available and enabled but the coords props are null. The props object:
coords: null
isGeolocationAvailable: true
isGeolocationEnabled: true

Any idea why this is happening? Thanks.

Hello, that is strange. Is this issue present in all the browsers? How do you use the component?

Hello @no23reason, thanks for the reply.
This was happening on Chrome for a limited time, I tried on Firefox and then on Chrome's private mode and the problem was solved.

I'm glad it works now :)

I have the exact same issue with this hoc. Can you provide any detail on how this was resolved?

It seems it was an error in a certain version of the browser.

I have the same issue using latest version of chrome

I have the same issue using latest version of chrome

This is because chrome blocks non-secure connections from retrieving geo-location.
Probably happens on localhost?
Try to set the domain here: chrome://flags/#unsafely-treat-insecure-origin-as-secure
then it should work as expected.

Nope, getting the same issue event after trying the resolution given by @pfischer1290
@no23reason please look into it

This issue still exists has anyone managed to fix it properly?


Merging or scattering static classes

For assemblies with many helper methods, this can lead to a very large class.
Could this add difficulty to analyzing the structure and purpose of the classes before merging?
Before:
static class A {
  public static void M (){}
}
static class B {
  public static void M (){}
}

After (using debug renaming):
static class _A_B {
  public static void _A_M (){}
  public static void _B_M (){}
}

Candidates for merging should meet the following principles:

static class.
same accessibility after possible internalization.
no generic type parameter in the class level.
no attributes applied to the class (except some which do not bring side effects, such as ExtensionAttribute, CompilerGeneratedAttribute etc. maybe this can be configurable via crproj files).
do not call each other when initializing static fields (to avoid unexpected initialization).

Variation of this pattern may be:

scattering the static class into multiple classes.
interlace scattered classes with others (into unrelated classes, including instance ones).
nesting scattered classes.

From the top of my hand I think the main challenge here is to ensure that this does not break the access by reflection.

Yes, reflection is the problem. My projects will break immediately after that.
However, if a user knows the above rules, it is pretty easy for him to exclude a static class from this kind of protection: add an attribute to it. For experienced users, they can exclude or include classes via metadata or crproj file.


Gemify!

Feature: Add gemspec etc. to build this as a rubygem.

Hey, I would love to work on this, can you assign it to me?

hey @dragonchaser how do you want #2 to work with the gem ? should the web frontend be integrated into the gem? I found this article http://florianhanke.com/blog/2011/02/02/running-sinatra-inside-a-gem.html looks like using Sinatra inside a gem is possible (never done it), but it might be better to coordinate this issue with #2 .

Interesting question, haven't thought about this yet. The first idea was being able to build the cli as a gem, this should suffice for now. For serving the sinatra frontend there is #3 .

@MittchoBaroco I'm working on #2. Yeah I think sinatra can be excluded and just gemify the CLI. I'll have something in a PR within the next few days so you can see how Sinatra is set up.

Awesomework!


Source code cut off

Hi,
thank you for adding the ability to browse source code, that's a very useful feature. I noticed that only part of the code is being displayed,  I had e.g. 101 lines in one and 201 lines in another case. Is this limit perhaps character count based?
Source code browsing would not be very useful for me if such a cut–off exists. Is this a bug or is there a strong reason behind it?
José

landscape!


fix error where click+drag panning occassionally becomes disabled

I don't know how to reproduce this yet, but it happens frequently. Some sequence of edits/actions can cause the click+drag panning to become disabled. It seems to be re-enabled by entering and exiting developer mode (press Ctrl+Shift+I to open developer mode, then again to close).
If I had guess, I would say it is faulty logic in lib/src/view/design.dart related to disabling and re-enabling the svg-pan-zoom library that controls the panning. It must be disabled sometimes, for example to let one click+drag to draw a selection box. But I think that sometimes it is disabled and then erroneously not re-enabled.
Workaround
Click the Ctrl or Shift key once. This seems to reset the whole mechanism and put the app back in the state where panning by click+drag is allowed.

There's also sometimes a problem (which I also cannot reproduce), where the opposite happens: you hold Shift or Ctrl, and click+drag, and instead of drawing a selection box, it pans the view.

One way to reproduce this is to do Shift+Ctrl+Tab to shift to another browser tab. Another is

Press Shift down on the main view. (and keep holding it)
Click on another tab or outside of the browser (e.g., on desktop)
Let go of Shift key.


Welcome workflow

I kinda assumed a pull request would stay still at the commit, but it was not the case. As long as you don't complete the merge, it keeps up to date with the branch.


errors after copying over source code and attempting build

switching from dotnet to go over the last couple months, working to implement my first go-based controller
plan was to start from this sample and go from there
copied the code from controller.go and after a 'go mod tidy' am getting the following errors when i compile:
./conNamespace.go:83:22: undefined: workqueue.TypedRateLimitingInterface
./conNamespace.go:108:27: undefined: workqueue.NewTypedMaxOfRateLimiter
./conNamespace.go:109:13: undefined: workqueue.NewTypedItemExponentialFailureRateLimiter
./conNamespace.go:110:14: undefined: workqueue.TypedBucketRateLimiter
./conNamespace.go:120:32: undefined: workqueue.NewTypedRateLimitingQueue

does this code still work?  recommend another resource to create my first k8s controller instead of this sample?  am i suppose to run an update-codegen.sh script?

looking into client-go

Closing as I've moved on to other things.


Linter fixes

Hi friends,
we noticed a failing lint check on our registry for this provider.
I took the liberty of fixing the lint steps for you and am hoping you'll accept this change here as well.

@guineveresaenger thank you!


Always run status-check job

The status-check job should not be skipped just because a job it needs is skipped. This way it always runs but fails if a job failes or is cancelled.
See https://github.com/orgs/community/discussions/26822

Even if the required status is skipped we can pass branch protection rules.
We don't want to run the job as much as possible to save the cost.
If you have any trouble about the setting, could you describe more detail?

I've confirmed the original condition works well just in case.

Even if the job is skipped, we can merge the pull request

https://github.com/suzuki-shunsuke/test-github-action-2/pull/2

When the workflow is cancelled, the pull request can't be merged.

https://github.com/suzuki-shunsuke/test-github-action-2/pull/3

So I don't think we need to change the condition.

@guray can you check if this is also enough for us?

I verified that it works as expected. Thank you again


Update RNReactNativeGetMusicFilesModule.java

Replace old android import with androidx one to successfully bundleRelease in newer RN version (e.g. >=v60.0)

@nguyenkhooi can this be fixed using jetifier?

I tried running jetifier for the whole project but the error still occurred. Changing android to androidx is the easiest way to get me out of issue


Test cases

Is there any doc or example for writing the test case for the navigation?
I have used the https://testing-library.com/ for writing test cases and the arrow events are not getting triggered

@predikament  I have used this navigateByDirection and was able to write the test cases. But not able to do the test case for on OnEnterPress. Any Idea about how to write test case for the onEnterPress

@midhunlanware: Hello!
Do you mean as in triggering synthetic keydown events?
This is something outside of the scope of this library (as we only handle callbacks for focused elements when a key is pressed).
However, in some cases test tools- and libraries will include APIs to handle this for you.
For example Cypress has Navigation, which works like this:
// Trigger a general KEYDOWN event on the document
cy.document().trigger('keydown', {
  key: 'Enter',
  keyCode: '13',
  which: '13'
});

Not entirely sure what testing-library has, since I have no experience with it, but worst case I assume you could trigger these key-presses yourself in a manual (programmatic) way?
Here's an example of what I mean:
// Triggers a synthetic 'Enter' keydown on a DOM node
myDomReference.dispatchEvent(new KeyboardEvent('keydown', {'key':'Enter', which: 13, code: 13}));
// Trigger a synthetic click event on a DOM node
myDomReference.dispatchEvent(new MouseEvent('click'));

References:

dispatchEvent
KeyboardEvent
(+ MouseEvent, etc..)

I will close this as it's not inherently an issue in our library, but best of luck to you with the development and testing!

@predikament
`import React, { useState } from "react";
import { useFocusable } from "@noriginmedia/norigin-spatial-navigation";
const FocusableButton = ({
buttonClassName,
focusedClassName,
onFocus,
onArrowPress,
focusKey,
onBlur,
}) => {
const [text, setText] = useState("before");
function onEnterPress() {
console.log("onEnterPress:mee")
setText("after");
}
const { ref, focused } = useFocusable({
onEnterPress: onEnterPress,
onFocus: onFocus,
onArrowPress: onArrowPress,
focusKey: focusKey,
onBlur: onBlur,
});
return (
<button
className={${buttonClassName}  ${focused ? focusedClassName : ""}}
ref={ref}
focus-key={focusKey}
data-testid={focusKey}
>
{text}

);
};
export default FocusableButton;
`
Test case,
`import React from "react";
import { render, fireEvent, screen } from "@testing-library/react";
// import '@testing-library/jest-dom/extend-expect'; // For additional matchers like toHaveClass
import FocusableButton from "./FocusableButton"; // Update the import path based on your file structure
import { init } from "@noriginmedia/norigin-spatial-navigation";
init({
throttle: 100,
throttleKeypresses: true,
});
describe("FocusableButton Component", () => {
it("renders the button with initial text and without focus", () => {
render(
<FocusableButton
buttonClassName="test-button"
focusedClassName="focused"
onFocus={() => {}}
onArrowPress={() => {}}
focusKey="testKey"
onBlur={() => {}}
/>,
);
const button = screen.getByText("before");
const focusedAttribute = screen
  .getByTestId("testKey")
  .getAttribute("data-n-origin-focusable");

expect(button).toBeInTheDocument();
expect(button).toHaveClass("test-button");
expect(button).not.toHaveClass("focused");
expect(focusedAttribute).toBeNull();

});
it("updates the text onEnterPress", () => {
const { getByText } = render(
<FocusableButton
buttonClassName="test-button"
focusedClassName="focused"
onFocus={() => {}}
onArrowPress={() => {}}
focusKey="testKey"
onBlur={() => {}}
/>,
);
const button = getByText("before");
fireEvent(button, new KeyboardEvent('keydown', { key: 'Enter', which: 13, code: 'Enter' }));
// fireEvent.keyDown(button, { key: "Enter", code: "Enter", charCode: 13 });

expect(button).toHaveTextContent("after");

});
it("adds focus class when focused", () => {
const { getByText } = render(
<FocusableButton
buttonClassName="test-button"
focusedClassName="focused"
onFocus={() => {}}
onArrowPress={() => {}}
focusKey="testKey"
onBlur={() => {}}
/>,
);
const button = getByText("before");
fireEvent.focus(button);
screen.debug();

// expect(button).toHaveClass('focused');

});
});
`
I have tried with fireevent  . but the event is not triggering as Expected. when I printed the onKeydown for the button it printing the event. but not onEnterPress call back function not executing

The onEnterPress function not executed

@midhunlanware: The code you shared is missing basically all formatting, so it's quite difficult to read.
Please make sure to include code snippets (especially larger ones) in code blocks:
```javascript
// Your code here
```
So it ends up being more readable:
console.log('Like this!');

As to why it does not work, I am unsure - This is likely an issue in the specific testing library you are using, for which I have already offered two alternative options in my previous post.
Sorry I can't be of more help. Good luck!


add implicits for svg api

I feel like I've tried this before, and had a problem with a certain combination of imports not being able to handle double implicits. I think it was
import com.raquo.laminar.api.L._
import svg._

or something like that. We'll need to check that.

you are right ,the CI failed.. My work aroud is
  object imps extends com.raquo.laminar.Implicits
  import imps._

for svg text text("")

You can also do
import com.raquo.laminar.api._
import com.raquo.laminar.api.L.svg._


Could the README be updated to include which flags are required

I'm probably going to just try adding everything and then removing one at at time to see which are required. But I think the README should include this information.

Nothing is required except for the info needed to authenticate against pms. The best solution is to use the config file and set the url and the token.
If not you need to do ‘’’’bw_plex —url “http://...” -t “pmstoken” command’’’’ I’ll update the readme. Thanks for the suggestion.

Done in 26787cf5c042c2f13cb25cc842b0b9a33b5ee7bc


Remove intel mpi on csd3

Since we are getting errors with impi and have to manually ask for openmpi in the spec, might as well default to openmpi

Ah, great, I branched out from #27 by mistake

I'm not so sure anymore this is necessary, both OpenMPI and Intel MPI seems to be working for me now :confused:

I'm happy to close this without merging


Data Management API: Created TransferProcessService

What this PR changes/adds
Add a TransferProcessService, a service in the Data Management API to manage transfer processes.
#809 implementation was split into this PR and PR #1006.
Why it does that
Data Management API surface
Further notes
Moved Command objects to the SPI package where they belong. This avoids having to create a dependency from an extension package to core package.
Note that Deprovisioning command is enqueued also if the TP is in ENDED or CANCELLED states, given this is a permissible transition per existing code.
Linked Issue(s)
Relates to #809
Checklist

[x] added appropriate tests?
[x] performed checkstyle check locally?
[x] added/updated copyright headers?
[x] documented public classes/methods?
[x] added/updated relevant documentation?
[x] added relevant details to the changelog? (skip with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #1005 (2c631ef) into main (705a447) will increase coverage by 0.02%.
The diff coverage is 100.00%.

:exclamation: Current head 2c631ef differs from pull request most recent head b131bd4. Consider uploading reports for the commit b131bd4 to get more accurate results

@@             Coverage Diff              @@
##               main    #1005      +/-   ##
============================================
+ Coverage     63.09%   63.11%   +0.02%
- Complexity     2551     2559       +8
============================================
  Files           633      634       +1
  Lines         13679    13712      +33
  Branches        953      956       +3
============================================
+ Hits           8631     8655      +24
- Misses         4606     4614       +8
- Partials        442      443       +1

Impacted Files
Coverage Δ

...handlers/AddProvisionedResourceCommandHandler.java
0.00% <ø> (ø)

...command/handlers/CancelTransferCommandHandler.java
100.00% <ø> (ø)

...re/command/handlers/DeprovisionRequestHandler.java
100.00% <ø> (ø)

.../handlers/SingleTransferProcessCommandHandler.java
100.00% <ø> (ø)

...ransfer/command/AddProvisionedResourceCommand.java
0.00% <ø> (ø)

...domain/transfer/command/CancelTransferCommand.java
0.00% <ø> (ø)

...es/domain/transfer/command/DeprovisionRequest.java
0.00% <ø> (ø)

...transfer/command/SingleTransferProcessCommand.java
0.00% <ø> (ø)

...ferprocess/service/TransferProcessServiceImpl.java
100.00% <100.00%> (ø)

... and 3 more

Continue to review full report at Codecov.

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

@algattik Changelog and I'll merge


[Improvement] Update doc for playground command changes and k8s helm chart

What would you like to be improved?
update doc: playground command changes and k8s helm chart
https://github.com/apache/gravitino/blob/main/docs/how-to-use-the-playground.md
How should we improve?
Sync the changes according to https://github.com/apache/gravitino-playground/pull/56

@unknowntpo  Can you help do this issue?

@danhuawang Sure.

@unknowntpo I updated the doc because we are going to publish the 0.7.0 doc. You can skip this issue.

Okay, thanks.
Sorry I'm busy recently.


orientation delay after a significant move

I have noted that after a significant move of the controller there is a delay and kind of slow-motion for the virtual controller to get its actual orientation.
so basically I make a controller move and change or orientation (like you would aim with a gun) and then you need to wait until virtual controller slowly get its position.
i made video where behavior is captured.
any advise what can be the cause would be helpful
https://www.youtube.com/watch?v=-2k0LkupDYE

@HipsterSloth , @cboulay
I winder if you could take look on video, and comment what can be cause in orientation delay.
Its not a big issue but bit annoying when many zombies around ;)

Sorry I kept forgetting to comment on this. Thanks for the video by the way. That helps a lot.
The problem has to do with how the ComplementaryMARG OrientationFilter deals with the accelerometer. Most orientation filters use the accelerometer to tell where gravity (down) is. The problem is that accelerometer also measures linear acceleration. So basically any acceleration on the controller will skew where the controller thinks gravity is pointing. For small accelerations gravity overpowers the linear acceleration signal.  Because the ComplementaryMARG OrientationFilter always trusts that accelerometer = gravity it'll temporarily get thrown off until it can correct itself.
If a filter has a model of the controller's physics you can better compensate for large skews in the linear acceleration like this. This is actually what the Kalman orientation filter is supposed to handle (if it's properly tuned).
I think the real fix here is basically exposing some tuning parameters for the Kalman Orientation filter so that you can  adjust that until it feels correct.

looks like hard topic for me.
actually humans have same issue, e.g. after carousel.
i wonder if any recent controllers handle this well. do you know?

Yeah the Vive and the Touch handle it super well.  Both of those controllers have the advantage that you compute an orientation optically (where as the psmove you can only track position optically). This better corrects for drift you get with the IMU. Also I think the IMU on both the Vive and the Touch operate at 100Hz (as compared to 120hz on the PSMove).

Thanks for info. Will your Kalman do this?

It should theoretically do better in this circumstance. However it needs a slider exposed in the UI to adjust how heavily it filters. Right now it feels a bit too over-filtered.

I have noted that after controller calibratoin with all directions with all possible spins the reaction to orientation is so much better that I feel like I have new quality :) But when you calibrate, then tool says it is happy very quickly so I am doing this for a while after it finishes. I wonder if there is something we can do better about this.

@HipsterSloth @cboulay
Please find video with result of reduced delay in orientation caused by changes in my latest changes.
For me personally this is amazing difference based on expierence in games like Serious Sam where this kind of movement if quite often.
https://www.youtube.com/watch?v=YgXj_bKYSV4
Compare it with first video.
https://www.youtube.com/watch?v=-2k0LkupDYE
It is 4-5 times faster!!!
Here is the code
https://github.com/cboulay/PSMoveService/pull/375
If you have other suggestion how this can be solved then I would be happy to know.
I have also seen one reply from HS that its actually something not easy to fix but here it is.


GAF/GPAD example, neuron fate specification and downstream behaviors, 57ea2dae00000114

This is the example, discussed in Hinxton, that illustrates the relationship between a transcription factor involved in neuron fate specification and the downstream behaviors that are affected when that transcription factor is not present and neuron not properly specified.

WB currently has annotations between ttx-1 and two processes downstream of transcription, the neuron fate specification (currently fate differentiation, but I want to change that) and thermosensory behavior, but I don't think we'd get these annotations from Noctua based on the above representation of the model.

Output from test build: https://build.berkeleybop.org/job/export-lego-to-gpad-sparql/lastSuccessfulBuild/artifact/legacy/gpad/57ea2dae00000114.gpad/view/

@vanaukenk we're not getting any annotations in the test output for this model (missing evidence). Do you want to add evidences, and then see how it looks after the next run, or close this issue?

Need to add evidence and check model structure to see if this ticket should remain open.


Add support for multiple disks to be monitored.

Description:
This change adds support for multiple disks to be configured and monitored.
Related issue (if applicable): fixes #
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

I removed the requirement to configure disks. The default behaviour is now as suggested by @fabaff, it falls back to the first disk returned by hddtemp if no disks are specified.


Redeemed coupon not added to recurring subscription

The first redeemed coupon does work, but after that the new redeemed coupons (which are all the same coupon) is not added to the recurring payment of a subscription.

Hi @jessedewild ,
Thanks for reporting. Can you share a code sample so we can reproduce the issue here?

Hi @sandervanhooft ,
I have a custom model which is called AppliedPlanCoupon. This model contains the user, and the coupon.
Every day, a command is scheduled to redeem all the coupons from every AppliedPlanCoupon model.

When checking the database, the redeemed_coupons table is full of coupons that will be redeemed on their recurring subscription.
The redeemed coupon worked on the first recurring subscription, but not on the recurring payments after the first one. Maybe it checks for if the coupon is used before, do not use it again?
I am using this package for a customer of mine. He can add coupons to users so that they need to pay less on recurring subscriptions. Therefore, I created this issue.

Hello @sandervanhooft ,
I was wondering if you got any feedback on this issue.
With kind regards,
Jesse

A coupon can be redeemed (RedeemedCoupon) only once for each Billable's Subscription. There's a rule there to check for uniqueness. It then gets applied (AppliedCoupon) 1...n times when the billing cycle renews.

@sandervanhooft Is there a way to apply a coupon forever to a user?

@jessedewild I bet you managed to some up with a solution, care to share with us? :)


basic multithreading example program + fixes to work on that program

This introduces a simple program that allocates memory on one thread, frees it on another, and then uses it after being freed on the first thread.  Also included are fixes to DoubleTake to not crash when run on this program.
  TEST  simple_mt_uaf
  DoubleTake: Use-after-free error detected at address 0x100000020.
  DoubleTake: Activating rollback to isolate error.

DoubleTake: checking 0 point: address 0x100000020 currentvalue 0 value 0

DoubleTake: checking 0 point: address 0x100000020 currentvalue 0 value cafebabecafeba00

Caught a use-after-free error at 0x100000020. Current call stack:

0x0000000000400971: /home/bpowers/plasma/DoubleTake/tests/simple_mt_uaf/main.c:122
0x00000000004006c8: ??:?
0x00000000004008ce: /home/bpowers/plasma/DoubleTake/tests/simple_mt_uaf/main.c:103
Memory deallocation call stack:

0x000000000040084f: /home/bpowers/plasma/DoubleTake/tests/simple_mt_uaf/main.c:86

This is layered on top of #24 and #26, the diff should go down in size if those are ok to merge.  Mostly checkout the last 4 commits on this branch.

updated, hopefully a reviewable diff now.