[WFLY-5511]: DomainDeploymentOverlayTestCase fails on pure IPv6 if proxy is used

It looks like the proxy is failing if the zone indices is present, removing it from the URL in the test.
Jira: https://issues.jboss.org/browse/WFLY-5511

Linux Build 9368 outcome was FAILURE using a merge of 8977446e8949bae457b69f283a077f511763e2ac
Summary: Tests failed: 1 (1 new), passed: 3304, ignored: 193 Build time: 00:58:37
Failed tests
org.jboss.as.test.integration.management.deploy.runtime.StatefulEJBRemoteHomeRuntimeNameTestCase.testStatefulLocalHome: java.rmi.RemoteException: Error; nested exception is:
 java.io.IOException: Channel Channel ID af0878d1 (outbound) of Remoting connection 00f6fa40 to /0:0:0:0:0:0:0:1:8080 has been closed
java.rmi.RemoteException: Error; nested exception is:
	java.io.IOException: Channel Channel ID af0878d1 (outbound) of Remoting connection 00f6fa40 to /0:0:0:0:0:0:0:1:8080 has been closed
	at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:236)
	at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:183)
	at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:146)
	at com.sun.proxy.$Proxy128.createSimple(Unknown Source)
	at org.jboss.as.test.integration.management.deploy.runtime.StatefulEJBRemoteHomeRuntimeNameTestCase.testStatefulLocalHome(StatefulEJBRemoteHomeRuntimeNameTestCase.java:143)
Caused by: java.io.IOException: Channel Channel ID af0878d1 (outbound) of Remoting connection 00f6fa40 to /0:0:0:0:0:0:0:1:8080 has been closed
	at org.jboss.ejb.client.remoting.ChannelAssociation$1.handleClose(ChannelAssociation.java:123)
	at org.jboss.ejb.client.remoting.ChannelAssociation$1.handleClose(ChannelAssociation.java:115)
	at org.jboss.remoting3.spi.SpiUtils.safeHandleClose(SpiUtils.java:54)
	at org.jboss.remoting3.spi.AbstractHandleableCloseable$CloseHandlerTask.run(AbstractHandleableCloseable.java:514)
	at org.jboss.remoting3.spi.AbstractHandleableCloseable.runCloseTask(AbstractHandleableCloseable.java:419)
	at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeComplete(AbstractHandleableCloseable.java:290)
	at org.jboss.remoting3.remote.RemoteConnectionChannel.closeReadsAndWrites(RemoteConnectionChannel.java:274)
	at org.jboss.remoting3.remote.RemoteConnectionChannel.closeAction(RemoteConnectionChannel.java:534)
	at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(AbstractHandleableCloseable.java:372)
	at org.jboss.remoting3.remote.RemoteConnectionHandler.closeAllChannels(RemoteConnectionHandler.java:437)
	at org.jboss.remoting3.remote.RemoteConnectionHandler.sendCloseRequest(RemoteConnectionHandler.java:236)
	at org.jboss.remoting3.remote.RemoteConnectionHandler.closeAction(RemoteConnectionHandler.java:413)
	at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(AbstractHandleableCloseable.java:372)
	at org.jboss.remoting3.ConnectionImpl.closeAction(ConnectionImpl.java:54)
	at org.jboss.remoting3.spi.AbstractHandleableCloseable.close(AbstractHandleableCloseable.java:154)
	at org.jboss.ejb.client.remoting.ConnectionPool.safeClose(ConnectionPool.java:177)
	at org.jboss.ejb.client.remoting.ConnectionPool.release(ConnectionPool.java:104)
	at org.jboss.ejb.client.remoting.ConnectionPool$PooledConnection.close(ConnectionPool.java:198)
	at org.jboss.ejb.client.remoting.RemotingConnectionManager.safeClose(RemotingConnectionManager.java:65)
	at org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector$ContextCloseListener.contextClosed(ConfigBasedEJBClientContextSelector.java:220)
	at org.jboss.ejb.client.EJBClientContext.close(EJBClientContext.java:1305)
	at org.jboss.ejb.client.EJBClientContext.finalize(EJBClientContext.java:1316)
	at java.lang.System$2.invokeFinalize(System.java:1270)
	at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:98)
	at java.lang.ref.Finalizer.access$100(Finalizer.java:34)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:210)
------- Stdout: -------
18:28:45,516 INFO  [org.jboss.ejb.client.remoting] (Remoting "config-based-ejb-client-endpoint" task-1) EJBCLIENT000017: Received server version 2 and marshalling strategies [river]
18:28:45,516 INFO  [org.jboss.ejb.client.remoting] (ejb-client-context-tasks-12-thread-7) EJBCLIENT000013: Successful version handshake completed for receiver context EJBReceiverContext{clientContext=org.jboss.ejb.client.EJBClientContext@1bf26fc, receiver=Remoting connection EJB receiver [connection=org.jboss.ejb.client.remoting.ConnectionPool$PooledConnection@12aad4b,channel=jboss.ejb,nodename=build31-el7]} on channel Channel ID af0878d1 (outbound) of Remoting connection 00f6fa40 to /0:0:0:0:0:0:0:1:8080
18:28:45,526 INFO  [org.jboss.ejb.client.remoting] (Remoting "config-based-ejb-client-endpoint" task-3) EJBCLIENT000016: Channel Channel ID af0878d1 (outbound) of Remoting connection 00f6fa40 to /0:0:0:0:0:0:0:1:8080 can no longer process messages

Windows Build 4391 outcome was FAILURE using a merge of 8977446e8949bae457b69f283a077f511763e2ac
Summary: Tests failed: 1 (1 new), passed: 3304, ignored: 193 Build time: 01:00:00
Failed tests
org.jboss.as.test.integration.domain.mixed.eap620.LegacyConfig620TestSuite: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: Could not start container
	at org.jboss.as.test.integration.domain.management.util.DomainLifecycleUtil.awaitHostController(DomainLifecycleUtil.java:466)
	at org.jboss.as.test.integration.domain.management.util.DomainLifecycleUtil.start(DomainLifecycleUtil.java:256)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSupport.startAndAdjust(MixedDomainTestSupport.java:160)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSupport.start(MixedDomainTestSupport.java:86)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupport(MixedDomainTestSuite.java:96)
	at org.jboss.as.test.integration.domain.mixed.MixedDomainTestSuite.getSupportForLegacyConfig(MixedDomainTestSuite.java:75)
	at org.jboss.as.test.integration.domain.mixed.eap620.LegacyConfig620TestSuite.initializeDomain(LegacyConfig620TestSuite.java:37)
------- Stdout: -------
[Host Controller] 18:57:37,403 INFO  [org.jboss.as.host.controller] (management-handler-thread - 3) WFLYHC0024: Stopping server server-one
[Server:server-one] 18:57:37,407 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 2) WFLYSRV0211: Suspending server with 0ms timeout.
18:57:37,408 INFO  [org.jboss.as.process.Server:server-one.status] (ProcessController-threads - 3) WFLYPC0019: Stopping process 'Server:server-one'
[Server:server-one] 18:57:37,414 INFO  [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been requested.
18:57:38,382 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final
18:57:38,551 INFO  [org.jboss.as.process.Host Controller.status] (main) WFLYPC0018: Starting process 'Host Controller'
[Host Controller] 18:57:39,040 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final
[Host Controller] 18:57:39,243 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
[Host Controller] 18:57:39,296 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full 10.1.0.Final-SNAPSHOT (WildFly Core 2.1.0.CR2) starting
[Host Controller] 18:57:39,847 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 18:57:39,847 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'max-permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 18:57:39,878 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0003: Creating http management service using network interface (management) port (9990) securePort (-1)
[Host Controller] 18:57:39,880 INFO  [org.xnio] (MSC service thread 1-4) XNIO version 3.3.4.Final
[Host Controller] 18:57:39,887 INFO  [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.3.4.Final
[Host Controller] 18:57:39,944 INFO  [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 4.0.18.Final
[Host Controller] 18:57:39,964 INFO  [org.jboss.as.remoting] (MSC service thread 1-4) WFLYRMT0001: Listening on [::1]:9999
[Host Controller] 18:57:40,741 INFO  [org.jboss.as.ejb3] (Controller Boot Thread) WFLYEJB0486: Parameter 'default-clustered-sfsb-cache' was defined for the 'add' operation for resource '/profile=ha/subsystem=ejb3'. This parameter is deprecated and its previous behavior has been remapped to attribute 'default-sfsb-cache'. As a result the 'default-sfsb-cache' attribute has been set to '"clustered"' and the 'default-sfsb-passivation-disabled-cache' attribute has been set to '"simple"'.
[Host Controller] 18:57:40,754 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'default-stack' in the resource at address '/profile=ha/subsystem=jgroups' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 18:57:40,796 INFO  [org.jboss.as.ejb3] (Controller Boot Thread) WFLYEJB0486: Parameter 'default-clustered-sfsb-cache' was defined for the 'add' operation for resource '/profile=full-ha/subsystem=ejb3'. This parameter is deprecated and its previous behavior has been remapped to attribute 'default-sfsb-cache'. As a result the 'default-sfsb-cache' attribute has been set to '"clustered"' and the 'default-sfsb-passivation-disabled-cache' attribute has been set to '"simple"'.
[Host Controller] 18:57:40,805 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'default-stack' in the resource at address '/profile=full-ha/subsystem=jgroups' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 18:57:40,822 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'max-permgen-size' in the resource at address '/server-group=main-server-group/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 18:57:40,822 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'max-permgen-size' in the resource at address '/server-group=other-server-group/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 18:57:40,860 WARN  [org.jboss.as.messaging] (Controller Boot Thread) WFLYMSG0071: There is no resource matching the expiry-address jms.queue.ExpiryQueue for the address-settings #, expired messages from destinations matching this address-setting will be lost!
[Host Controller] 18:57:40,861 WARN  [org.jboss.as.messaging] (Controller Boot Thread) WFLYMSG0072: There is no resource matching the dead-letter-address jms.queue.DLQ for the address-settings #, undelivered messages from destinations matching this address-setting will be lost!
[Host Controller] 18:57:40,874 WARN  [org.jboss.as.messaging] (Controller Boot Thread) WFLYMSG0071: There is no resource matching the expiry-address jms.queue.ExpiryQueue for the address-settings #, expired messages from destinations matching this address-setting will be lost!
[Host Controller] 18:57:40,874 WARN  [org.jboss.as.messaging] (Controller Boot Thread) WFLYMSG0072: There is no resource matching the dead-letter-address jms.queue.DLQ for the address-settings #, undelivered messages from destinations matching this address-setting will be lost!
[Host Controller] 18:57:41,101 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://[::1]:9990/management
[Host Controller] 18:57:41,101 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled
[Host Controller] 18:57:41,101 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 10.1.0.Final-SNAPSHOT (WildFly Core 2.1.0.CR2) (Host Controller) started in 2436ms - Started 44 of 47 services (14 services are lazy, passive or on-demand)
INFO  [org.jboss.as.test.integration.domain.management.util.DomainLifecycleUtil] HostController started in 3344 ms
[Host Controller] 18:57:42,136 INFO  [org.jboss.as] (MSC service thread 1-5) WFLYSRV0050: WildFly Full 10.1.0.Final-SNAPSHOT (WildFly Core 2.1.0.CR2) stopped in 12ms
[Host Controller] 18:57:42,137 INFO  [org.jboss.as] (MSC service thread 1-5) WFLYSRV0049: WildFly Full 10.1.0.Final-SNAPSHOT (WildFly Core 2.1.0.CR2) starting
[Host Controller] 18:57:42,151 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 18:57:42,151 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'max-permgen-size' in the resource at address '/host=master/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 18:57:42,154 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0003: Creating http management service using network interface (management) port (9990) securePort (-1)
[Host Controller] 18:57:42,180 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) WFLYRMT0001: Listening on [::1]:9999
[Host Controller] 18:57:42,274 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'default-stack' in the resource at address '/profile=ha/subsystem=jgroups' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 18:57:42,297 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'default-stack' in the resource at address '/profile=full-ha/subsystem=jgroups' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 18:57:42,309 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'max-permgen-size' in the resource at address '/server-group=main-server-group/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 18:57:42,310 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'max-permgen-size' in the resource at address '/server-group=other-server-group/jvm=default' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
[Host Controller] 18:57:42,337 WARN  [org.jboss.as.messaging] (Controller Boot Thread) WFLYMSG0071: There is no resource matching the expiry-address jms.queue.ExpiryQueue for the address-settings #, expired messages from destinations matching this address-setting will be lost!
[Host Controller] 18:57:42,338 WARN  [org.jboss.as.messaging] (Controller Boot Thread) WFLYMSG0072: There is no resource matching the dead-letter-address jms.queue.DLQ for the address-settings #, undelivered messages from destinations matching this address-setting will be lost!

Retest this please


WiFi Management expects networking to be offloaded

Is your enhancement proposal related to a problem? Please describe.
Currently I am working on porting the Silicon Labs WFM200 Wifi NCP to Zeyphr. That device is capable of managing network connections like connecting to a station, creating an AP or scanning for networks. However it does not implement an IP stack etc. The problem is that when using CONFIG_WIFI_OFFLOAD for enabling the wifi management API CONFIG_NET_OFFLOAD is automatically selected. That is in conflict to the NCP's functionality and it seems like I am not able to initilize a L2 driver.
Describe the solution you'd like
It would be great if the Wifi management API could be used without network offload. Hopefully this would allow to initialize the L2 driver without any conflicts. Alternatively the Wifi management API could be enhanced with additional function pointers to L2 driver.
Describe alternatives you've considered
Injecting my own L2 functions into the net_if struct by modifying the net_l2 member of net_if_dev to avoid using ETH_NET_DEVICE_INIT. But what will happen with the net_offload member? It might still override the net_l2 functions.
Alternatively it could be possible to write a full L2 driver and add the connection management functionality of the Wifi management API without calling NET_DEVICE_OFFLOAD_INIT.
An tips or ideas on how this issue could be solved would be greatly appreciated!
Thanks in advance!

@allopatin Hi, we're aware of the problem and we've already discussed this on one of the recent Networking Forums. The idea was to introduce WiFi L2 (based on ethernet L2), and use it instead of struct net_if_api inside struct net_wifi_mgmt_offload. This should allow implementing L2 functionality with the wifi management layer, w/o offloading. @sylvioalves Do we have any progress in this area?

@sylvioalves @rlubos Hello, would it be possible to get access to an early version of the API?

@allopatin Hi, sorry for the delay. I have not got any further yet. Do you think you can contribute with this change?

@sylvioalves I'd be happy to help if possible. Is there any starting point where I can get involved?

@allopatin I've sketched the initial idea on the following branch: https://github.com/rlubos/zephyr/commits/wifi/mgmt-integration-rework
The idea was rather simple, introduce struct wifi_api, based on struct ethernet_api, and use it within struct net_wifi_mgmt_offload instead of direct struct net_if_api pointer. This would allow to define devices that'd use both, the offloaded wifi_mgmt API, while still enabling L2 functionality (the assumption was that WiFi devcies would be re-using the Ethernet L2 implementation).
This has also minimal impact for the existing fully offloaded devices, as they are still able to use NET_DEVICE_OFFLOAD_INIT() macro (or similar) to define the fully offloaded device. The devices that only offload the WiFi configuration would use NET_DEVICE_INIT() macro (or similar) instead, and would need to provide appropriate driver functions from the ethernet/wifi_api in order to integrate with the Ethernet L2 (and thus the native networking stack).
Note though, that I've only summarized the idea we've come up with for the native stack integration, haven't tested this with any actual WiFi device that'd use this new scheme, so some adjustments might be needed.

Resolved with https://github.com/zephyrproject-rtos/zephyr/pull/49464


Please add a switch to trim filename to specific character count

Checklist

[x] I'm reporting a feature request
[x] I've verified that I'm running youtube-dl version 2021.03.14
[x] I've searched the bugtracker for similar feature requests including closed ones

Description

WRITE DESCRIPTION HERE
If you try to download a file that's over 250 characters, the download will fail, so can you please add a switch that would trim the file name (excluding the extension) to a specific amount of characters to prevent this from happening?
E.g., --trim-filename 7 to trim, e.g., this is the original filename.mp4 to this is.mp4
Certain forks have already done this
(https://github.com/blackjack4494/youtube-dlc/issues/85), so maybe it can even be carried over, but it would mean a loooot.

--output "%(title).7s.%(ext)s"

@garoto Thank you so so so much! I've always wanted this, but didn't realize it was there all along.

It's part of Python's string manipulation arsenal btw, not a yt-dl specific functionality. Not straightforward to stumble upon.

Good to know. :)
Can you explain what the “.” does in .7s?
Does it tell it to match until it sees a “.” character and to match only upto x number of characters?
I did look at the Python string formatting page, but it was kind of confusing (and I do know a bit of Python, but I've never used formatting like that).
Are there any other examples you can think of that could be useful?
I know you can pad numbers like %(number)03d, etc.

Good to know. :)
Can you explain what the “.” does in .7s?
Does it tell it to match until it sees a “.” character and to match only upto x number of characters?
I did look at the Python string formatting page, but it was kind of confusing (and I do know a bit of Python, but I've never used formatting like that).
Are there any other examples you can think of that could be useful?
I know you can pad numbers like %(number)03d, etc.

https://docs.python.org/3/library/stdtypes.html#old-string-formatting explains the dot as
5. Precision (optional), given as a '.' (dot) followed by the precision. If specified as '*' (an asterisk), the actual precision is read from the next element of the tuple in values, and the value to convert comes after the precision.

So yeah, the .7s means the incoming value is converted into string max 7 chars long.

Thank you @rautamiekka for the clarification and examples.


Bug_Tag> Disabled/Disabled Inverse> All control prop> Preview is not getting changed upon selecting the 'size', 'color', 'disabled', and 'isInverse' controls.

Describe the bug
Preview is not getting changed upon selecting the 'size', 'color', 'disabled', and 'isInverse' controls.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://storybook-preview-290--upbeat-sinoussi-f675aa.netlify.app/?path=/story/tag--disabled'
Click on 'Controls'
Change in any control prop say, 'size'
Change the size medium to small
Verify the preview

Expected behavior
Preview should get changed upon selecting the 'size', 'color', 'disabled', and 'isInverse' controls.
Screenshots
https://somup.com/c3nbjXTh6c
Desktop:
OS: [Win 10]
Browser [chrome]
Version [Version 98.0.4758.82 (Official Build) (64-bit)]

The issue is still reproducible. not able to change the color of 'Disabled/Disabled Inverse'.
See Screen-cast : https://www.screenpresso.com/=6bqvb
Hence, Reopening the ticket.
Thanks!

@Uditsingh67 I believe this is functioning as designed. In the gif below we can see that the color of the first tag does get updated. When the disabled state is true, it doesn't appear to change because the disabled color is the same for the various tag colors:

As per the above comment, Closing the ticket.
Thanks!


Elements laid out in flex sometimes have blank pixel separating them

Description
If multiple elements are created - each of which flex to parent width - and the parent is provided with a width that doesn't divide evenly among the children, there will be gaps between the children.

Reproduction Steps and Sample Code
Create a parent view with odd width and render even number of children (flex = 1 each) inside of it.

This is easier to see on lower resolution screens.
We reproduced this using element background in addition to using borderTop

https://snack.expo.io/Sy6HJDT6e
Solution
The extra pixels should be distributed to some of the children evenly.
Additional Information

React Native version: 0.43.3
Platform: Android and iOS
Development Operating System: MacOS

Hi there! This issue is being closed because {:search=>"repo:facebook/react-native is:open is:issue updated:<2017-05-25 -label:"Good First Task" -label:"Help Wanted" ", :message=>"it has been inactive for a while"}. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:

Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.

If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.

@hramos This shouldn't be closed. It is still an issue on 0.46.1 and has been attempted a few times with no luck.
There were two commits attempting to fix this that I could remember (one of which I can't find the link to but it was after this one):
https://github.com/facebook/react-native/commit/a8fa90417931a24308875a617bd5fe96606f8261


[Bug] Problem with device code flow login

Which version of MSAL Go are you using?
Note that to get help, you need to run the latest version.
Microsoft Authentication Library for Go 0.2.0
Where is the issue?

Public client

[X] Device code flow
[ ] Username/Password (ROPC grant)
[ ] Authorization code flow

Confidential client

[ ] Authorization code flow
[ ] Client credentials:

[ ] client secret
[ ] client certificate

Token cache serialization

[ ] In-memory cache

Other (please describe)

Is this a new or an existing app?
This is a new app or an experiment.
What version of Go are you using (go version)?

$ go version
go version go1.16.3 linux/amd64

What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="auto"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/vscode/.cache/go-build"
GOENV="/home/vscode/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.16.3"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/workspaces/patissuer/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1017103608=/tmp/go-build -gno-record-gcc-switches"

Repro
I have the problem in my code, but the same problem exists with the test app: https://github.com/AzureAD/microsoft-authentication-library-for-go/blob/dev/apps/tests/devapps/device_code_flow_sample.go
I've edited config.json, then:

$ cd apps/tests/devapps
$ go run ./ 1

Expected behavior

A prompt with the device code URL and the code should be presented
On completion of login in a browser using the above code, a token should be returned

Actual behavior

A prompt with the device code URL and the code is presented
On completion of login in a browser using the above code, the following error is returned:

panic: got error while waiting for user to input the device code: http call(https://login.microsoftonline.com/c8d853de-982e-4404-92ff-b4189dc94e37/oauth2/v2.0/token)(POST) error: reply status code was 401:
{"error":"invalid_client","error_description":"AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'.\r\nTrace ID: cafa63ce-16e9-418a-869c-2171eec62200\r\nCorrelation ID: 7ce3dabb-f102-4df8-9018-036443ef846d\r\nTimestamp: 2021-06-22 12:33:02Z","error_codes":[7000218],"timestamp":"2021-06-22 12:33:02Z","trace_id":"cafa63ce-16e9-418a-869c-2171eec62200","correlation_id":"7ce3dabb-f102-4df8-9018-036443ef846d","error_uri":"https://login.microsoftonline.com/error?code=7000218","claims":"{\"access_token\":{\"capolids\":{\"essential\":true,\"values\":[\"348e00dd-9a6d-4fac-a01f-2d267b4ecfd4\"]}}}"}

goroutine 1 [running]:
main.acquireTokenDeviceCode()
        /microsoft-authentication-library-for-go/apps/tests/devapps/device_code_flow_sample.go:46 +0xacc
main.main()
        /microsoft-authentication-library-for-go/apps/tests/devapps/main.go:16 +0x9c
exit status 2

It looks to me that I should be using the confidential.Client for this, but that does not implement the AcquireTokenByDeviceCode func
Possible solution

Additional context / logs / screenshots
Add any other context about the problem here, such as logs and screenshots.

Hey @rickardgranberg,
Device code flow is only supported on public client applications. Can you make sure your configuration on Azure Portal has enabled public client flows :

Ah! I assumed the issue was caused by a setting but couldn't find it! Thank you!


Handle exceptions in verify

#1417 has been merged so this is good to go.
We want to handle exceptions in verify_signature(): Callers are not going to be interested in the various details of why verification failed (or rather, good error messages are important but no-one is going to write code to handle the different cases).
This call is typically used on the client: the metadata comes from remote repository, and we're trying to verify it. We might try to handle a specific error situation by saying something specific like "we can't verify this sig because we're missing dependency X"... but this could also just be a mistake in the remote end. I feel like UnsignedMetadataError with descriptive message and exception history is probably the best we can do.
Still, discussing each error case here probably makes sense... I'll write a list.
Fixes #1351

The error cases that I know of are listed below. All lead to a UnsignedMetadataError in the PR:

This key does not have a signature at all in the metadata
UnsupportedAlgorithmError (signature algorithm is not supported)
signature fails to verify
CryptoError (key may be malformed)
FormatError (signature is not hex encoded hash)

From a clients perspective I think these are all the same: the error content may be interesting but the client can only regard the signature as invalid and cannot "handle" the situations specifically. I can see how the opposing argument could possibly be made at least for the first two items: but I'd like to see someone actually make that case before we add separate handling for them.

Since last comment I've added some testing on Martins suggestions, and rebased on develop

Current repository_lib verifies signatures in _generate_and_write_metadata() before writing metadata to ensure that the required threshold of signatures is met. I don't know that this is desirable behaviour to replicate moving forward, because it's easy to imagine a scenario where one might want to incrementally sign metadata, but it does point to a possible use-case for more detailed exceptions in verification failures.

Even with a repository tool, I can't imagine what the code could do differently based on the error type... but the possibility does exist of course.
As a side note, there's a lot of functionality that is "adjacent" to writing Metadata (version bumps, signing, updating related MetaFiles). This sounds like a possible repository library component that is the equivalent of MetadataBundle in the ngclient code: Something that tracks a collection of metadata and makes sure things are written to disk in the correct order while handling all of the related changes.

That being said, I'm all for adding these later when we know what we need and how we want to use them. It might be as simple as having more complex exceptions derived from UnsignedMetadataError?

I believe this is correct.


Fibonacci lab

Initial PR for Fibonacci lab

Codecov Report

Merging #18 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #18   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      2    +1
  Lines           2     20   +18
=====================================
+ Hits            2     20   +18

Impacted Files
Coverage Δ

01_fib/fibonacci.go
100% <100%> (ø)

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 f8055b5...0ca171d. Read the comment docs.


import mjml2html from 'mjml' - Uncaught Error: Cannot find module "."

UPDATE
I tried to simply import mjml2html from 'mjml' inside an entry file and I still get the same error, which lead me to believe the issue is with MJML. So I did some search and found this issue. I think you guys must have found a workaround or you would not be able to make this work. Could you please share your solution?
Hi guys,
I'm upgrading grapesjs-mjml to v.4 with MJML v.4 as well. Exciting.
I'm on a rails app with webpacker.
I have an entry file that starts as follows:
import grapesjs from 'grapesjs';

import loadBlocks from './../../../node_modules/grapesjs-mjml/src/blocks';
import loadComponents from './../../../node_modules/grapesjs-mjml/src/components';
import loadCommands from './../../../node_modules/grapesjs-mjml/src/commands';
import loadButtons from './../../../node_modules/grapesjs-mjml/src/buttons';
import loadStyle from './../../../node_modules/grapesjs-mjml/src/style';

export default grapesjs.plugins.add('grapesJSMJML', (editor, opts = {}) => {
...

As you can see, I installed MJML with yarn, as well as grapesjs-mjml into the app's nodes_modules folder.
I keep getting Uncaught Error: Cannot find module "."  caused by import mjml2html from 'mjml' inside command-export-mjml.js.
I believe it [may have something to do with typescript]?(https://github.com/webpack/webpack/issues/4921).
I tried everything I could think of.
I am using all of grapesjs-mjml dev dependencies. Here's my package.json:
{
  "name": "my-app",
  "private": true,
  "dependencies": {
    "mjml": "^4.4.1"
  },
  "devDependencies": {
    "@babel/core": "^7.5.5",
    "@babel/plugin-proposal-class-properties": "^7.5.5",
    "@babel/plugin-proposal-decorators": "^7.4.4",
    "@babel/plugin-proposal-object-rest-spread": "^7.5.5",
    "@babel/plugin-syntax-dynamic-import": "^7.2.0",
    "@babel/preset-env": "^7.5.5",
    "@rails/webpacker": "3.5",
    "babel-loader": "^8.0.6",
    "caniuse-lite": "1.0.30000697",
    "coffeescript": "1.12.7",
    "grapesjs": "^0.14.52",
    "grapesjs-mjml": "^0.1.10",
    "grapesjs-navbar": "^0.1.5",
    "grapesjs-preset-webpage": "^0.1.10",
    "prop-types": "^15.6.0",
    "webpack": "^3.4.1",
    "webpack-dev-server": "2.11.2",
    "webpack-merge": "^4.1.1"
  }
}

My development webpack config is as follows:
const environment = require('./environment')
const merge = require('webpack-merge');

module.exports = merge({
	module: {
		rules: [
			{
				test: /\.m?js$/,
				enforce: 'pre',
				loader: 'babel-loader',
				options: {
					presets: ['@babel/preset-env'],
					plugins: [
						["@babel/plugin-proposal-decorators", { "legacy": true }],
						["@babel/plugin-syntax-dynamic-import"],
						["@babel/plugin-proposal-object-rest-spread"],
						["@babel/plugin-proposal-class-properties"]
					]
				}
			},
		]
	},
	externals: {
		'grapesjs': 'grapesjs',
		'jquery': 'jQuery'
	},
}, environment.toWebpackConfig());

I do get a warning reported by the webpac-server, but I don't think it's related:
WARNING in ./node_modules/mjml-core/lib/helpers/mjmlconfig.js
89:9-80 Critical dependency: the request of a dependency is an expression
    at RequireResolveContextDependency.getWarnings (me/node_modules/webpack/lib/dependencies/ContextDependency.js:39:18)
    at Compilation.reportDependencyErrorsAndWarnings (me/node_modules/webpack/lib/Compilation.js:702:24)
    at Compilation.finish (me/node_modules/webpack/lib/Compilation.js:565:9)
    at applyPluginsParallel.err (me/node_modules/webpack/lib/Compiler.js:502:17)
    at me/node_modules/tapable/lib/Tapable.js:289:11
    at _addModuleChain (me/node_modules/webpack/lib/Compilation.js:511:11)
    at processModuleDependencies.err (me/node_modules/webpack/lib/Compilation.js:481:14)
    at process._tickCallback (internal/process/next_tick.js:61:11)
 @ ./node_modules/mjml-core/lib/helpers/mjmlconfig.js
 @ ./node_modules/mjml-core/lib/index.js
 @ ./node_modules/mjml/lib/index.js
 @ ./node_modules/grapesjs-mjml/src/command-export-mjml.js
 @ ./node_modules/grapesjs-mjml/src/commands.js
 @ ./app/javascript/packs/grapesJSMJML.js
 @ multi (webpack)-dev-server/client?http://localhost:3035 ./app/javascript/packs/grapesJSMJML.js
webpack: Compiled with warnings.

I also have no idea how to fix this error, but it's just a warning.
Are you guys having similar issues? @art, do you have any warning or issues when you run your webpacker server? If so, how do you solve them?
Cheers

OK, I can see now. You added mocks in a resolve inside the webpack config. Awesome. I would only recommend adding a short note about this in the description. All good now.


Filter topic have wrong Data type

Topics in the Filter functions (and maybe in other places too) should be "D32" instead of "D".
"topics: Array of DATA, - (optional) Array of 32 Bytes DATA topics. Topics are order-dependent. Each topic can also be an array of DATA with "or" options."
https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_newfilter

Will take a look into this. Thank you
Sent from my iPhone

On Jul 24, 2018, at 8:05 AM, Thorsten Krug<EMAIL_ADDRESS>wrote:
Topics in the Filter functions (and maybe in other places too) should be "D32" instead of "D".
"topics: Array of DATA, - (optional) Array of 32 Bytes DATA topics. Topics are order-dependent. Each topic can also be an array of DATA with "or" options."
https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_newfilter
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


System76's Serval Professional missing Bluetooth capability after upgrade to 16.04

My purchase note says it came with Bluetooth.
Date Ordered: Tuesday 21 June, 2011

Products
------------------------------------------------------
1 x Serval Professional (ser-p7) = $1,841.00
        Operating System Ubuntu 11.04 64-bit
        Display Resolution 15.6" Full HD LED-Backlit Display featuring 95% NTSC Color Gamut with Matte Finished Surface (1920 x 1080)
        Graphics Nvidia GeForce GTX 560M Graphics with 1.5GB GDDR5 Video Memory
        Processor 2nd Generation Intel Core i7-2630QM Processor ( 6MB L3 Cache, 2.00GHz )
        Memory 12 GB DDR3 SDRAM at 1333MHz - 3 X 4GB
        Hard Drive 750 GB 7200 RPM SATA II
        Optical Drive Bay 8X DVD±R/RW/4X +DL Super-Multi Drive
        Wireless Intel Centrino Advanced-N 6230 - 802.11A/B/G/N Wireless LAN + Bluetooth Combo Module
        Extra Battery no extra battery
        Extra AC Adapter Additional Adapter
        Laptop Bag no bag
        Hardware Warranty 1 Yr. Ltd. Warranty and 1 Yr. Technical Support

Serval is 18.04 now, and I don't plan to use Bluetooth on it regardless OS version.


Publish: Icon

Ensure component has been distributed before publishing to the website.

Private Zenhub Image

Component published and available here https://design-system.alpha.canada.ca/en/components/search/


Not able to start standalone even after installing prerequsities

I have installed the pre-requisites successfully. The VM is provisioned, but the standalone mode is not working. One message shows Cookbook path doesn't exists

On re-installing getting the following chef error
==> default: Generating chef JSON and uploading...
==> default: Running chef-solo...
==> default: Chef Infra Client cannot execute without accepting the license
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.


Update CONTRIBUTING.md

Update file accordingly to the overreact-guide

Codecov Report

Merging #133 (12710f0) into main (b6c8886) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #133   +/-   ##
=======================================
  Coverage   97.47%   97.47%
=======================================
  Files          29       29
  Lines        6291     6291
=======================================
  Hits         6132     6132
  Misses        159      159

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 b6c8886...12710f0. Read the comment docs.


[question] error while build npm run build:spa-dev

I use commands "npm run build:spa-dev" and "npm run build:spa-prod"
and get this:
[16:22:41] Using gulpfile ~\Documents\helpers\universal\gulpfile.js
[16:22:41] Starting 'clean'...
[16:22:41] Starting 'clean:public'...
[16:22:41] Finished 'clean:public' after 11 ms
[16:22:41] Starting 'clean:server'...
[16:22:41] Finished 'clean:server' after 6.12 ms
[16:22:41] Starting 'clean:cache'...
[16:22:41] Finished 'clean:cache' after 2.61 ms
[16:22:41] Starting 'clean:temp'...
[16:22:41] Finished 'clean:temp' after 1.79 ms
[16:22:41] Finished 'clean' after 29 ms
[16:22:44] Using gulpfile ~\Documents\helpers\universal\gulpfile.js
[16:22:44] Starting 'build:spa-dev'...
[16:22:44] Starting 'dummy'...
[16:22:44] Finished 'dummy' after 1.83 ms
[16:22:44] Starting 'bundle:spa-dev'...
[16:22:45] 'bundle:spa-dev' errored after 384 ms
[16:22:45] SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (C:\Users\user\Documents\helpers\universal\node_modules@ngtools\webpack\src\index.js:30:10)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
[16:22:45] 'build:spa-dev' errored after 403 ms

@ihteandr this issue is happening because of UglifyJS. Can you please verify which version of UglifyJS you have in node_modules directory?
According to the original package.json, UglifyJS should have been fixed to version v2.8.22. Higher versions have more or less a different API and not backwards-compatible.

I have 2.8.22 version on uglify, I check in package json and in node_modules


Find within rectangle

If we don't have it yet (I didn't see anything exactly like it in source) it'd be really handy to be able to constrain blob detection (or anything, really) to a bounding rectangle. E.g., pips on a die or finding color "markers" red square in blue square, pink square next to green square, etc.

It exists for some algorithms, where it seemed more useful, say when you want face keypoints, I guess it could be added to blobs too

Done.


research on Nim usage in Kaggle

https://www.kaggle.com/c/santa-workshop-tour-2019/discussion/120187

wrong repo: https://github.com/pietroppeter/soscin22/issues/1


Expose Window Focus Events

This is a feature request for window focus events:
It seems like all of the leg work is done already:
https://github.com/kivy/kivy/blob/332bc89e1888b322cec4c2255a08f9f0398f2a40/kivy/core/window/_window_sdl2.pyx#L316
but it's not being exposed by the api.
I looked at the main loop code here:
https://github.com/kivy/kivy/blob/332bc89e1888b322cec4c2255a08f9f0398f2a40/kivy/core/window/window_sdl2.py#L557
And it seems like it should be printing the windowfocusgained and windowfocuslost events but when I ran my app with -v I didn't see any logs with those events.
This code does print the windowfocusgained and windowfocuslost events:
def do_it(dt):
    action = Window._win.poll()
    if action:
        print('doing it', action)

    Clock.schedule_interval(do_it, 0.016)

Maybe a Window.focused read-only prop would be ok.

To see the "unhandled event" messages, you can set the log_level to "trace" through::
Config.set('kivy', 'log_level', 'trace')
```.
A Window.focused (or Window.focus) would be indeed useful.

Fixed in https://github.com/kivy/kivy/pull/3877.


Is there a way I can add some pad between the icon and the text in the right-click desktop menu?

Hi,
I'm trying to run a hiDPI Lumina install on OpenBSD (Thinkpad X1 Carbon 4th Gen max resolution display) and I have managed to tweak everything to work like I would like it with the exception of one thing - when I right click on the desktop and the context menu pops up (the one that lets me fiddle with desktop settings, launch a terminal, etc.) the icon overlaps the text to the right of it.  Is there some setting I can tweak to get some extra padding in there?  I know it's a minor thing but it's triggering my CDO (because that's the order those letters should be in! ).
Thanks in advance for any suggestions / help.

I have noticed that as well, and I think the stylesheet/theme for Lumina needs to have the QMenu "padding" property updated to fix this.
I will play around with this a bit and see what I can come up with for you... :-)

Thank you sir!  Btw I am the maintainer of this port on OpenBSD - just wondering what the timeline is for the next release. I'm about to do some traveling and wasn't sure if I needed to keep an eye on things.

Ok, See if this fixes it for you (you can test without rebuilding just by applying the same change to your current Theme setting)[1].
I was planning on releasing Lumina 1.2.0 sometime at the beginning of the new year. Right now I am going through and auditing/testing/fixing things in preparation for that.
[1] https://github.com/trueos/lumina/commit/8e8a2393b16b6244b7f28f761effad16a9a0d0ca

That was close, but 2em for both of them worked perfectly on my machine (Thinkpad X1 Carbon 4th Generation 2560x1440 resolution).
Thanks!

I just adjusted the Glass theme to use 2em for both left/right margins as well. Thanks for testing that and letting me know what worked!

Thanks for an awesome DE Ken!
Some HiDPI variants of the window themes would be awesome. The title bars
are very small in most of them. I snagged some fluxbix themes from the
internet but didn't find any really good ones that worked on my X1 Carbon
4th gen.
On Tue, Dec 27, 2016 at 9:19 AM Ken Moore<EMAIL_ADDRESS>wrote:

I just adjusted the Glass theme to use 2em for both left/right margins as
well. Thanks for testing that and letting me know what worked!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/trueos/lumina/issues/333#issuecomment-269331861, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAJbcfhatcZzqOi79L4nsp8XPGg3HQ9lks5rMR5ZgaJpZM4LUaob
.

Yeah, Fluxbox works based on pixel settings, and most of them are older themes for standard res monitors. For TrueOS Kris made a few 4K variants of common Fluxbox themes which you could probably use on OpenBSD too[1], but the ultimate plan is to depreciate/remove Fluxbox from Lumina entirely and go to a new Lumina-specific WM which is 4K aware/scalable out of box. I actually have the entire month of January blocked off to finish up the new WM systems, so hopefully I will have something ready for dev testing by the beginning of Feb or earlier. That is why I am trying to finish cleaning up this version of Lumina and release 1.2.0 at the beginning of Jan so I can put all my focus on the new systems... :-)
[1] https://github.com/trueos/trueos-core/tree/master/xtrafiles/local/share/fluxbox/styles/bora_blue_4k
Note that it is just a simple modification of the bora_blue Fluxbox theme (and copied into the "_4k" name/dir). You can do something similar for other themes really easily as well.


Normalize lua coding

[x] Cleanup how functions are called.
The SILE code has used a mix of SILE.Commands["cmd"](...) and SILE.call("cmd", ...), probably just an artifact of history except for one use case: the former way can be used to retrieve a return value and the latter cannot. This normalizes all these calls and including making SILE.call() pass down return values.

[ ] Cleanup Lua coding style.
The original code base has a ton of one letter variables and otherwise cryptic content. I started cleaning these up as I had reason to touch the code, but it would probably be worth a systematic replacement of at least some of the most common ones like options instead of o, content instead of c, etc.

Here is a little shell script to make it easier to play with various Lua code formatters. It should be used as a filter that takes STDIN and writes STDOUT, and can be called with a single argument of which backend to use.
#!/usr/bin/env zsh

case $1 in
	3|formatter)
		luaformatter -s 2 -t 0 -d unix /dev/stdin
		;;
	2|reformat)
		lua.reformat /dev/stdin >(cat) 1>/dev/null
		;;
	1|fmt|*)
		luafmt -i 2 --stdin
		;;
esac

@simoncozens What the heck is pi (besides not being )?
https://github.com/simoncozens/sile/blob/c6a0c07911e50448acea660fcaf9a7d1a8bdaa55/core/break.lua#L95
https://github.com/simoncozens/sile/blob/c6a0c07911e50448acea660fcaf9a7d1a8bdaa55/core/break.lua#L291
https://github.com/simoncozens/sile/blob/c6a0c07911e50448acea660fcaf9a7d1a8bdaa55/core/break.lua#L224
From an obsolete commit:
https://github.com/simoncozens/sile/blob/c20ca67541f0c670b432ca1e14108ad41881fff4/classes/book.lua#L40
It seems to me this variable has an identity crisis, but I can't figure out what it is to rename it.

pi in break.lua is so called because that's what Knuth called it, and although he's really bad at naming things it's useful to use the same variable names in our implementation for checking against the original.
The parameter |pi| to |try_break| is the penalty associated
with a break at |cur_p|; we have |pi=eject_penalty| if the break is forced,
and |pi=inf_penalty| if the break is illegal.

I have an idea, why don't we just name all our variables after common programming idioms? We want our code to be accessible and extensible right? I'll just start naming variables from most frequent to least frequent occurrences, foo, bar, baz, etc. Maybe we can call the typesetter object Alice and the pagebreaker Bob. Lets make this as easy for programmers and non programmers alike to get started with.

Coverage decreased (-0.001%) to 92.451% when pulling a1033023e6fe523980d0bf16157994057768913e on alerque:normalize into c6a0c07911e50448acea660fcaf9a7d1a8bdaa55 on simoncozens:master.

I'm just talking about the break algorithm, which is a complete nightmare to debug. I have no problem renaming stuff elsewhere. And yes, under normal circumstances, giving things more sensible names should make them easier to debug, but if you're copying someone else's code and you want to remain compatible, it's a relief to know that if you can inspect variable d here and know that it's going to be the same as variable d there, and you don't have to mentally translate the variable names between the implementations.

@simoncozens Sorry I should have been more explicit that my last message was just sarcasm. I get what you're saying. I already did rename some stuff in break. I didn't touch pi yet, but some others that I was able to figure out a meaning for got names that make more sense to me. If there are any you'd like me to backtrack let me know, I can revert  individual renames fairly easily. However I'd like to comment on the ones that are kept for compatibility to some place in the LaTeX code or docs where they are described so that they aren't so mysterious to future code browsers.

I think I got all the 1 letter variables refactored with sane replacements. I left the typical Lua i and j iterators, k and v key value pairs and a few others like a and b for lambda style functions with obvious purpose. I also left x and y when they were actually coordinates (not when they stood for various other possible values) and of course things like c, m, y, and k when they were CMYK color values and that sort of thing.

@simoncozens If you merge this one be sure to use the Create a merge commit option, not squash. These commits are related, but if I did break something it will be very helpful to be able to git bisect across these in detail.


nip 04

was missing it for constructing nwc events

You mean it isn't missing anymore?

Now it isn't. nak encrypt --nip04 and nak decrypt --nip04 should work.
Please install this from source and test because I ended up changing the way keys are handled across the entire app to get this working in a non-trash way and would be good to have some more hands on it before I make a release.

cool thanks! tested nip04 encrypt/decrypt and they worked as expected. I'll test some other things later


openrct2: <IP_ADDRESS> -> 0.3.5

Motivation for this change
Bump OpenRCT2 to its latest release.
Next to the version bump, some hints for maintainers to select the right version of the other modules were added.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 145052 run on x86_64-linux 1

1 package built:

openrct2


Major Issues - Spawning Break

https://minecraft.curseforge.com/projects/structpro-mod-fast-schematic-spawning-system/files/2401444

Wow, thats not good and it's hard to reproduce. Maybe you have some extra information?

Remove your sprodump folder

no its actually in the world. I will remove the dump files.

I am not done testing this.

Can't reproduce. But I've got it one time in 1.7 version, so it still opened. Thank you.

Okay so I am finding serious world generation bugs ... can you help figure this out?

@ternsip I am checking with other mod authors as well people who mess with world generation code.
https://github.com/fewizz/NotEnoughIDs/issues/58

https://github.com/Glitchfiend/BiomesOPlenty/issues/980

sprodump folder contains schematics flags and it skinning so it may produce some torny chaos, but not like that it's chunk-generation problems.

It's not because of sprodump folder

Okay @ternsip I can confirm its serverside issues only. Please double check server chunk generation code.


How to set individual bounds for a GRAPE optimization problem

Hi, I'm working on an quantum gate optimization problem and I found this package very useful to me.
Now I have a problem with the constraints for the control sequences. In the document I noticed that one needs to work with pulse_options to set the boundary. However, there is no explanation about the type or how to assign values to upper_bounds properly.
More precisely, I have a Hamiltonian which is hamiltonian(Hamiltonian0, (HamiltonianDelta, DeltaAt), (HamiltonianOmega, OmegaAt)) in my codes.
I want to know how to set boundaries for control sequence DeltaAt and OmegaAt by passing values into optimize function or ControlProblem function. (I don't need global bounds and I want to set individual bounds for each sequence)

Thank you.
I dug into the codes of GRAPE.jl and I finally understand what you mean here.
For those who come here with the same question, I give you an clear example.

Controls = get_controls(Trajectories)
Bounds = Dict()
Bounds[Controls[1]] = Dict(:upper_bounds => fill(1.001, length(TimeList) - 1), :lower_bounds=>fill(0.009, length(TimeList) - 1))

Problem = ControlProblem(
    Trajectories,
    TimeList;
    iter_stop=100,
    J_T=J_T_ss,
    check_convergence=res -> begin
        (
            (res.J_T > res.J_T_prev) &&
            (res.converged = true) &&
            (res.message = "Loss of monotonic convergence")
        )
        ((res.J_T <= 1e-3) && (res.converged = true) && (res.message = "J_T < 10⁻³"))
    end,
    prop_method=Cheby,
    use_threads=true,
    pulse_options=Bounds,
)

Opt_Result = optimize(Problem; method=GRAPE)


webpack says nothing changed even when I added a line

http://take.ms/0kfVz
I am using mac.
Is this because React should return only one element. If that is the case then ideally I should get an error in console.
I see the error in terminal. Just wanted to know if it is possible to indicate someway that "hey something went wrong. Look at log in terminal.".

If I use https://github.com/FrontendMasters/2015-02-13-React setup by @ryanflorence then I do get error message which is nice.
http://take.ms/7gCma

This is because on NoErrorsPlugin in the config. You can remove it, but then HMR will break if you misspell an import. I'm not sure which is worse..
I'd like some kind of a middle solution here. Currently filed as https://github.com/webpack/webpack/issues/1105, so please track that issue if you're interested in the solution when/if it arrives.

Remove NoErrorsPlugin and use React Hot Loader >= 1.3.0.

Thanks.


Exceptions occur upon playing, when both Domain and Scene Reload is disabled (Enter Play Mode Options)

When Domain and Scene Reload is disabled, you'll get these exceptions upon playing. The 2nd one gets repeated over and over.
ObjectDisposedException: Cannot access a disposed object.
Object name: 'The NativeArray has been disposed, it is not allowed to access it'.
Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle.CheckExistsAndThrow (Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle& handle) (at <0652bf0e14024522b5c92574ad0ef550>:0)
Unity.Collections.NativeArray`1[T].Dispose () (at <0652bf0e14024522b5c92574ad0ef550>:0)
UnityEngine.Splines.NativeSpline.Dispose () (at ./Library/PackageCache/com.unity.splines@2.6.1/Runtime/NativeSpline.cs:343)
SplineScrubber.SplineClipData.CacheData () (at ./Library/PackageCache/com.fxlange.spline-scrubber@878176bb36/Runtime/SplineClipData.cs:73)
SplineScrubber.SplineClipData.OnEnable () (at ./Library/PackageCache/com.fxlange.spline-scrubber@878176bb36/Runtime/SplineClipData.cs:38)

InvalidOperationException: The UNKNOWN_OBJECT_TYPE SplineEvaluate.Spline.m_Knots has not been assigned or constructed. All containers must be valid when scheduling a job.
Unity.Jobs.LowLevel.Unsafe.JobsUtility.ScheduleParallelFor (Unity.Jobs.LowLevel.Unsafe.JobsUtility+JobScheduleParameters& parameters, System.Int32 arrayLength, System.Int32 innerloopBatchCount) (at <0652bf0e14024522b5c92574ad0ef550>:0)
Unity.Jobs.IJobParallelForExtensions.Schedule[T] (T jobData, System.Int32 arrayLength, System.Int32 innerloopBatchCount, Unity.Jobs.JobHandle dependsOn) (at <0652bf0e14024522b5c92574ad0ef550>:0)
SplineScrubber.SplineEvaluateHandler.Run (System.Int32 batchCount) (at ./Library/PackageCache/com.fxlange.spline-scrubber@878176bb36/Runtime/SplineEvaluateHandler.cs:61)
SplineScrubber.SplinesMoveHandler.<RunEvaluate>g__Run|26_0 () (at ./Library/PackageCache/com.fxlange.spline-scrubber@878176bb36/Runtime/SplinesMoveHandler.cs:121)
SplineScrubber.SplinesMoveHandler.RunEvaluate () (at ./Library/PackageCache/com.fxlange.spline-scrubber@878176bb36/Runtime/SplinesMoveHandler.cs:100)
SplineScrubber.SplinesMoveHandler.LateUpdate () (at ./Library/PackageCache/com.fxlange.spline-scrubber@878176bb36/Runtime/SplinesMoveHandler.cs:68)

I am not familiar with jobs and native arrays, but I think the gist of what's happening is the data that it had during Edit Mode is being carried over to Play Mode.
The easy workaround is of course, to re-enable Domain and Scene reload for the project.
Happened on Unity 2022.3.30f1, Windows 10

Hi @AnomalousUnderdog,
thx for the report. I can't reproduce in the latest version. I assume, that you tested it on the main branch back July? Should be fixed by now.


ODBC drivers - can't download from repository

System information:

Windows 7 SP1 (64 bit)
DBeaver version: 3.8.1 (Enterprise Edition), and 7.2.5 (Community Edition)

Connection specification:

Unsure, IBM DB2 I think
Driver name: ODBC
Do you use tunnels or proxies (SSH, SOCKS, etc)? : No

Describe the problem you're observing:
I am trying to connect to a database using ODBC drivers, but I can't download the drivers from repository. Drivers in question:
repo:/drivers/odbc/jdbc-odbc-bridge-jre7.jar
repo:/drivers/odbc/x64/JdbcOdbc.dll
Error is simply:
'Driver file download failed.
Do you want to retry?
Reason:dbeaver.jkiss.org'
I am using dbeaver on a work machine so the EE version cannot be updated beyond what is available internally from my IT. I downloaded to the most recent CE (7.2.5) and I get the same issue as in EE.
Is it possible to make drivers available from download on GitHub to circumvent the download issue?
Steps to reproduce, if exist:

New Connection
Select ODBC, click Next
enter Database/Schema (e.g. DSNXX)
enter username + password, click Test Connection
Window pops up prompting me to download aforementioned files.
Click Download
Get Error as per above

Include any warning/errors/backtraces from the logs
N/A - nothing in error log for this.

Do you have Proxy or Firewall?
And please send log files https://github.com/dbeaver/dbeaver/wiki/Log-files
I can also offer you Enterprise Edition https://dbeaver.com/ (Free trial period is available). ODBC is already in DBeaver there.

Hi @kseniiaguzeeva , thanks for replying!
As this is a work machine it may well be a firewall issue, which means downloading the requisite files outside of dbeaver and adding to the ODBC driver manually might be the best route...what do you think?
My logs don't show anything with regards to the driver download issue :(

Yes, you can. Please try:
https://dbeaver.io/files/jdbc/drivers/odbc/x64/JdbcOdbc.dll
https://dbeaver.io/files/jdbc/drivers/odbc/jdbc-odbc-bridge-jre7.jar

Thank you very much @kseniiaguzeeva ! That has worked and I am now connected to the DB.
Many thanks and happy holidays!

Nice to hear!


Upgrade dependencies

I had to upgrade some dependencies in order to run the application.

Thanks!

I decided to do a full update, so I deleted the platform folders and recreated them with the current version of Flutter. I also updated the tutorial text.


[Feature request] Highlight replacements in dry-run mode.

Hi, thanks for rnr!
It would be nice to highlight in color what is replaced with what in a dry-run mode.
Useful cases:

files / directories with long names (surely human brain parses colors way faster than long symbol sequences, and then you also need to diff both paths!)
replacement occurs multiple times

That's how ripgrep highlights found matches by default, for instance (rg fn):

Or another toy example (echo barfoobar | rg bar --replace baz):

What do you think?

Yes, this would be a nice addition to rnr. I will take a look at this feature to include it in the next release. Thanks for the feedback!

I added a diff feature in the colored version of the output. It is currently in master but I will include it in the next release.

Awesome, thanks!


[TACHYON-533] Implement Max Free alocation policy for the new allocator interface

https://tachyon.atlassian.net/browse/TACHYON-533

One question, should the allocator add the TempBlockMeta to MetaManager? Currently this is done by the caller, i.e in TieredBlockStore.createBlockMetaNoLock. In this case, allocate may succeed but mMetaManager.addTempBlockMeta may still fail.

The current contract for the allocator is just to provide the location for the new block. The tiered store is responsible for modifying the metadata.

Got it. Thanks for the explanation, @calvinjia

+1 LGTM

+1 LGTM


0.5.0 : npm install don't work, polodb.org returns HTTP 404

root@magpie:/var/www/nicer.app/NicerAppWebOS/scripts.maintenance# npm install -g jetpp
npm ERR! code 255
npm ERR! path /usr/local/lib/node_modules/jetpp
npm ERR! command failed
npm ERR! command sh -c node scripts/download_lib.js
npm ERR! Jetpack lib path:  /tmp/0.5.0/jetpack-node/jetpack-cli
npm ERR! lib not found, begin to download from:  https://www.polodb.org/jetpack/0.5.0/node/linux/x64/jetpack-cli
npm ERR! Jetpack lib path:  /tmp/0.5.0/jetpack-node/jetpp.node
npm ERR! lib not found, begin to download from:  https://www.polodb.org/jetpack/0.5.0/node/linux/x64/jetpp.node
npm ERR! checksum mismatch
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-01-08T19_57_30_160Z-debug-0.log

Sorry that the site is down. Will upload the binary to npm later.


Updated everything, but it still errors using Mango-Crepe

          Updated everything, but it still shows:

"  File "F:\downloads\Apollov2\Applio-RVC-Fork\Applio-RVC-Fork\lib\infer\modules\train\extract\extract_f0_print.py", line 253, in go
featur_pit = self.compute_f0(inp_path, f0_method, crepe_hop_length)
File "F:\downloads\Apollov2\Applio-RVC-Fork\Applio-RVC-Fork\lib\infer\modules\train\extract\extract_f0_print.py", line 208, in compute_f0
f0 = self.mncrepe(f0_method, x, p_len, crepe_hop_length)
File "F:\downloads\Apollov2\Applio-RVC-Fork\Applio-RVC-Fork\lib\infer\modules\train\extract\extract_f0_print.py", line 78, in mncrepe
crepe_hop_length,
NameError: name 'crepe_hop_length' is not defined"
Originally posted by @ccateni in https://github.com/IAHispano/Applio-RVC-Fork/issues/65#issuecomment-1742237288

Are you sure you have updated it?

Are you sure you have updated it?

I used the updater inside Apollo Manager including dependies.

Are you sure you have updated it?

I used the updater inside Apollo Manager including dependies.

Possibly you have not been updated, so you can try these commands in the applio directory ( cmd )
git init
git remote add origin https://github.com/IAHispano/Applio-RVC-Fork.git
git pull

After I did that update, looks like things are working again.
I had to download the Nvidia runtime, but it works so far.
Thanks


Handle input type="range"

Hi again, sorry to spam you :)
I'm trying to get input type="range" to work, but I believe it triggers the updateInput() on line 52 in vdom.js. The setProps() function is called on line 61 with null as oldProps, so all the min, and max attribute will always be updated even if they need not to...

Sorry for the delay. I pushed a new release which should fix this.


Activity indicator provided sometimes appear after a delay or after cellForRowAtIndexPath is called again.

New Issue Checklist

[x] I have read and understood the CONTRIBUTING guide
[x] I have read the Documentation
[x] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
e.g. ios / tvos

Platform Version
e.g. 8.0

SDWebImage Version
e.g. 3.7.6

Integration Method
e.g. carthage / cocoapods / manually

Xcode Version
e.g. Xcode 7.3

Repro rate
e.g. all the time (100%) / sometimes x% / only once

Repro with our demo prj
e.g. does it happen with our demo project?

Demo project link
e.g. link to a demo project that highlights the issue

Issue Description and Steps
Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.

can you replicate this in the demo project? does this happen in the latest version of the library?

@ankit-betterbutter the question was if this scenario happens WITH OUR DEMO, not to create a demo.

for anyone facing similar issue -
The mistake i was doing was setting the showActivityIndicator after the webservice call.
Kindly follow this while adding activity indicator
cell.imageView.setShowActivityIndicator(true)
cell.imageView.setIndicatorStyle(.gray)
cell.imageView?.sd_setImage(with: url)


Issue about using your widget

As I'm still learning Ti and Alloy and the Github removed private messages, I've to ask here how I can use your widget, I did as the tutorial said, actually I ran a widget called "com.appcelerator.login" and it works, but your widget seems not so straightforward as the one that worked.
I ran:
gittio install ti.pedro.chatwindow   ----> it install and already changes the config file
and added

to alloy index file
The code it's just that

and the index.js just
$.index.open();
Thanks in advance.

the code missed above
<Alloy>
    <Window >
<Widget src="ti.pedro.chatwindow" />
        <Label />
    </Window>
</Alloy>


Improve Large molecule Performance

Issue: https://github.com/Autodesk/notebook-molecular-visualization/issues/24
Currently WIP and branched off of https://github.com/Autodesk/nbmolviz3d/pull/8

This mainly improves performance by optimizing calls to 3dMol's setStyle method.  Previously, we were making one call per atom on each render.  Now the improvements are:

Keep track of the style for each atom in a map, and only call setStyle when the style has not already been set to the same thing.
Batch calls for multiple atoms with the same styles.

Strangely I can't get end to end tests to run anymore... I think my setup just became badly broken somehow.

e2e tests are working on this branch after merging with master and picking up the Travis CI stuff.

@justinmc - finally got this tested; it looks good! So :+1: from the functionality side; I'll leave it for someone else to look at the javascript :)


Express Routes (CART)

POST orderProducts

need to send quantity
need to send total Price

You will need to /100 for price to be rendered

GET orderProducts

need quanitity

total price

productID

Use product ID to render individual products into the cart

!On purchase!

PUT Products

Increment stock

Probably needs some minor updates as we chug along.


GetSubmodelElementByPath doesn't need Pagination

What?
GetSubmodelElementByPath ( /submodels/{submodelIdentifier}/submodel-elements/{idShortPath} ) has pagination, which does not make much sense as only one element can be in the results array:
{
  "paging_metadata": {
    "cursor": "wJlCDLIl6KTWypN7T6vc6nWEmEYe99Hjf1XY1xmqV-M=#"
  },
  "result": [
     {
         "modelType": "SubmodelElementCollection"
         "value": [
             {}, {}, {}, ...    # child SubmodelElements are not affected of the pagination!
          ]
     }
  ]
}

How?
Remove pagination from this API Operation, including all other content types ($value and so on).
This issue relates to finding INNOQ#02.

Was discussed in the working group. Due to backwards compatibility, it can't be fixed in any of the V3.x releases. Will be considered for V4.0.0.


remove conflicting resources

Android library project should not define <application> in AndroidManifest.xml
Also remove app_name resource which may actually cause conflicts for library users

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


New Polygon tool not working - IE11

The new Polygon tool is not properly working on IE11, the line always starts from top-left corner and it is imposible to complete the shape.

Fixed in master. The cause was quite silly: I introduce some new events pointerup, pointerdown, pointermove, and pointerdrag, forgetting that there's a whole new "standard" for "pointer" events that only Internet Explorer implements. The effect was that the polygon tool was getting two copies of every event: one on purpose, one by accident.
Here's some fixed JavaScript in case this a pressing problem for you: https://gist.githubusercontent.com/irskep/24ea6793131273ea875d/raw/da78f00d067894993ca5b8bfea9156982b867a90/gistfile1.txt

And thanks for the bug report, by the way. This was pretty bad.

Perfect, thanks to you!.

I just released v0.4.8 since this is pretty critical, so you can just get the release the normal way.


fix: release controller looking for application in release tests

Description
In release service controller log errors showed looking for application when running release e2e-tests,
it happen due to the change was made on ReleasePlan to set Owner Reference .
RHTAPBUGS-814
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist:

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
[ ] I have updated labels (if needed)

Release suite was tested on local cluster and errors are not in release service controller pod log

/test redhat-appstudio-e2e


Update power-analysis.md

🚀 Deployed on https://670efbcc60fb3495f8946c6a--cozy-fox-0defec.netlify.app


The Vat recipe problem

Hi there, we have problem with The Vat.
If you pull to The Vat Redstone, Gunpowder and Water, you will get fuel, no hootch.

That isn't a very clear description - can you clarify what is happen and which EnderIO version?

We ussing EnderIO-1.7.10-<IP_ADDRESS>4_beta
Problem: First of all you don't have water in The Vat. If you pull to The Vat Redstone and Gunpowner and after that all water, you will get Rocket Fuel.

Thanks, fixed.


microbit - game.addScore block documentation missing

The api call doesnt match any documents and I cannot see a matching document at https://github.com/Microsoft/pxt-microbit/tree/master/docs/reference/game

addScore API is there. The remaining game docs are coming pending https://github.com/Microsoft/pxt-microbit/pull/451/files.


Can't export

I get the below error when exporting.  (comfortable_mexican_sofa (1.12.1))
I did some digging and it doesn't seem that any of my blocks have a page reference.
There was a recent change adding the offending lines of code, perhaps that is the problem?
NoMethodError: undefined method `page' for #<Comfy::Cms::Block:0x007fb1451fec50>
/home/action/.gem/ruby/2.1.1/gems/activemodel-4.1.0/lib/active_model/attribute_methods.rb:435:in `method_missing'
/home/action/.gem/ruby/2.1.1/gems/activerecord-4.1.0/lib/active_record/attribute_methods.rb:206:in `method_missing'
/home/action/.gem/ruby/2.1.1/gems/comfortable_mexican_sofa-1.12.1/lib/comfortable_mexican_sofa/fixture/file.rb:54:in `block in export!'
/home/action/.gem/ruby/2.1.1/gems/activerecord-4.1.0/lib/active_record/relation/delegation.rb:46:in `each'
/home/action/.gem/ruby/2.1.1/gems/activerecord-4.1.0/lib/active_record/relation/delegation.rb:46:in `each'
/home/action/.gem/ruby/2.1.1/gems/comfortable_mexican_sofa-1.12.1/lib/comfortable_mexican_sofa/fixture/file.rb:51:in `export!'
/home/action/.gem/ruby/2.1.1/gems/comfortable_mexican_sofa-1.12.1/lib/comfortable_mexican_sofa/fixture.rb:72:in `export!'
/home/action/.gem/ruby/2.1.1/gems/comfortable_mexican_sofa-1.12.1/lib/tasks/comfortable_mexican_sofa.rake:32:in `block (3 levels) in <top (required)>'

Thanks @glance - I had the same problem, and your solution worked nicely. Are you going to submit a PR for this?

Nope. You can do it.

This is fixed in master


Error: paths in archives must be relative when setting path for

When trying to specify a path other than the directory aperf is being run from report generation fails with the following error:
tyljont@U-1YMB85AFI6BJ4:~/Downloads$ aperf report --run ./c6i.2xl-8pods-pypy-3 --run ./c7g.2xl-8pods-pypy-3 -n /home/tyljont/Desktop/c6i-8pods-pypy-c7g-8pods-pypy-compare
[2023-12-27T17:33:04Z INFO  aperf_lib::report] Creating APerf report...
[2023-12-27T17:33:20Z INFO  aperf_lib::report] Generating /home/tyljont/Desktop/c6i-8pods-pypy-c7g-8pods-pypy-compare.tar.gz
Error: paths in archives must be relative when setting path for

I can confirm the error.
Actions:

Help Message mentions "NAME" for the report, but most users assume it is a directory.  Fix help.
Fix error message (why is an empty string printed?)
The report directory is OK, the tar file is empty.  Fix tar file (change directory before tar)


Update New-SPTrustedRootAuthority.md

Updated example and filled in placeholder text.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/New-SPTrustedRootAuthority.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/New-SPTrustedRootAuthority.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Updated flow typed

still more errors to fix

@keybase/react-hackers this fixes up new redux types that made flow unhappy


Remaining duration warning every minute (washing machine)

Log:
[11/27/2021, 6:19:01 PM] [Miele@home] Washing machine: Updating characteristic InUse to 0.
[11/27/2021, 6:19:01 PM] [homebridge-mieleathome] This plugin generated a warning from the characteristic 'Remaining Duration': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info.

Mine is also doing this;
[01/12/2021, 16:49:42] [Miele@home] Washer dryer: Returning 1 for Active.
[01/12/2021, 16:49:42] [Miele@home] Washer dryer: Returning 0 for InUse.
[01/12/2021, 16:49:42] [Miele@home] Washer dryer: Returning NaN for RemainingDuration.
[01/12/2021, 16:49:42] [homebridge-mieleathome] This plugin generated a warning from the characteristic 'Remaining Duration': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info.
[01/12/2021, 16:49:42] [homebridge-mieleathome] Error:
    at RemainingDuration.Characteristic.characteristicWarning (C:\Users\Media Center\AppData\Roaming\npm\node_modules\homebridge\node_modules\hap-nodejs\src\lib\Characteristic.ts:2074:105)
    at RemainingDuration.Characteristic.validateUserInput (C:\Users\Media Center\AppData\Roaming\npm\node_modules\homebridge\node_modules\hap-nodejs\src\lib\Characteristic.ts:1967:16)
    at C:\Users\Media Center\AppData\Roaming\npm\node_modules\homebridge\node_modules\hap-nodejs\src\lib\Characteristic.ts:1569:24
    at C:\Users\Media Center\AppData\Roaming\npm\node_modules\homebridge\node_modules\hap-nodejs\src\lib\util\once.ts:9:18
    at MieleRemainingDurationCharacteristic.get (C:\Users\Media Center\AppData\Roaming\npm\node_modules\homebridge-mieleathome\src\mieleCharacteristics.ts:50:5)
    at RemainingDuration.emit (events.js:400:28)
    at C:\Users\Media Center\AppData\Roaming\npm\node_modules\homebridge\node_modules\hap-nodejs\src\lib\Characteristic.ts:1544:14
    at new Promise (<anonymous>)
    at RemainingDuration.<anonymous> (C:\Users\Media Center\AppData\Roaming\npm\node_modules\homebridge\node_modules\hap-nodejs\src\lib\Characteristic.ts:1542:12)
    at step (C:\Users\Media Center\AppData\Roaming\npm\node_modules\homebridge\node_modules\tslib\tslib.js:143:27)
[01/12/2021, 16:49:42] [Miele@home] Washer dryer: Returning 0 for CurrentTemperature.
[01/12/2021, 16:50:12] [Miele@home] Washer dryer: Returning 0 for CurrentTemperature.
[01/12/2021, 16:50:12] [Miele@home] Washer dryer: Returning 1 for Active.

me too:
[07/12/2021, 17:12:40] [homebridge-mieleathome] This plugin generated a warning from the characteristic 'Remaining Duration': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info.
[07/12/2021, 17:23:34] [homebridge-mieleathome] This plugin generated a warning from the characteristic 'Remaining Duration': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info.

Thanks @cr3ative for the debug logging. I will look into this.

Does the logging state: "Remaining duration update received" in debug logging? And what did it print?
It is namely not a trivial error and looks more like a race condition between get and update.
I will try to deliver an update which suppresses the null, but that will most likel also cause the remaining duration not to update.

The new release should help, but I think it still leaves the remaining duration invalid and would need the swagger output for that to debug.

The new release should help, but I think it still leaves the remaining duration invalid and would need the swagger output for that to debug.

I can confirm that since the update remaining duration works perfectly! No more errors in logs and the duration is valid! Thanks!


cprop file not found after run run-asm-pipeline.sh

I ran the code below and I quickly received error:
/home/hpc/crlee/HiC/3d-dna-master/run-asm-pipeline.sh /home/hpc/crlee/HungWei/Hi-C/aligned/merged_nodups.txt /home/hpc/crlee/HungWei/Hi-C/references/Crystal_flye_10kb_3t_polished.fasta

The error:
version: 180922
awk: /home/hpc/crlee/HiC/3d-dna-master/utils/generate-sorted-cprops-file.awk:15: fatal: 3 is invalid as number of arguments for asorti
/home/hpc/crlee/HiC/3d-dna-master/run-asm-pipeline.sh: line 634: 1 +  /<PHONE_NUMBER> : syntax error: operand expected (error token is "/<PHONE_NUMBER> ")
/home/hpc/crlee/HiC/3d-dna-master/run-asm-pipeline.sh: line 635: [: -ne: unary operator expected
###############
Starting iterating scaffolding with editing:
...starting round 0 of scaffolding:
:) -p flag was triggered. Running LIGer with GNU Parallel support parameter set to true.
:) -s flag was triggered, starting calculations with 15000 threshold starting contig/scaffold size
:) -q flag was triggered, starting calculations with 1 threshold mapping quality
:( Cprops file not found. Please double-check your input!!

I also attached the output.log below.
job_3D-DNA_default.txt
Thank you!

Hello hungweichen0327,
Make sure your awk version meets the README prerequisites:
https://github.com/theaidenlab/3d-dna#prerequisites
Best,
Olga

Thank you for the help. Now it start running.


Case insensitivity mismatch between duckdb and postgres can cause issues

DuckDB considers identifiers with different casing the same even if they are quoted.
The most minimal example of this is the following schema:
CREATE TABLE a(b int);
CREATE TABLE "A"(c int);
INSERT INTO a VALUES(1);

When using postgres execution this correctly outputs:
> SELECT * FROM a, "A" as aa;
 b │ c
───┼───
(0 rows)

But when enabling duckdb execution both a and "A" are interpreted as a. Resulting in the following incorrect result:
> SELECT * FROM a, "A" as aa;
 b │ b
───┼───
 1 │ 1
(1 row)

This happens even when I set preserver_identifier_case to true on the DuckDB connection.

some related discussion here: https://github.com/duckdb/pg_duckdb/issues/56#issuecomment-2270785294, and related to #43

This may be related, but in either of the two below, the field name cases aren't maintained in the new postgres table
CREATE TABLE postgres_staging.public.{table_name} AS SELECT * FROM postgres_prod.public.{table_name}
duckdb.sql(f'CREATE TABLE {table_name} AS SELECT * FROM postgres_prod.public.{table_name}')
duckdb.sql(f'CREATE TABLE postgres_staging.public.{table_name} AS SELECT * FROM {table_name}')

This shouldn't be in the long term milestone. but an important bug to fix.

@pantonis we'll try to address this asap.

Based on some research I did this should be quite easy to address, postgres_scanner is able to do this. I'm pretty sure it's a few lines of code only. So we can use the same approach as is used there. Let's wait until #477 is merged though, to avoid any merge conflicts.

We had the same issue when we were using Hydra and it was fixed quite fast I can say.

This seems to be solved in the current version.

We had the same issue when we were using Hydra and it was fixed quite fast I can say.

If it's indeed resolved we should add some tests to make sure we don't regress again.


Switch back to manual coverage.py parser

The new parser fails for many people on CI because it requires a command-line tool that is proving tricky to guarantee installed and, if installed, tricky to guarantee we can find it.
As a stopgap, revert that change and push that release out. The work in the commit is good, but we need to focus more on ensuring access to the command-line tool.
This reverts commit ac469acf9bbc239ef70900d87bdef7689a5dd488. Closes #119
Closes # (issue)

:zap: Summary

:ballot_box_with_check: Checklist

[ ] Add specs

Duplicate of #120.


Request: Drag and rearrange

I would like to request for an option to enable the dragging of rows to rearrange the array.
~ Great & essential addon, this definitely should be in core AOR in my opinion.

Second this feature request!

:+1:  for the feature request.
This month, unfortunately I don't have time to implement new features :disappointed:, but Pull requests are  always welcome :grin: .


xargo build --target $TARGET.json doesn't work

but xargo build --target $TARGET works. This is an old problem but I don't recall what was the cause.

When compiling, the program takes care about format the --target object with .json.
You can observe this behaviour lines 146 to 150 in the current version of this crate:
let json = &PathBuf::from(format!("{}.json", arg));

if json.is_file() {
    return Ok(Some(try!(Target::from_path(json))));
}

@k0pernicus IIRC, that particular part of the code deals with parsing the *.json and it's not like we pass $triple.json to "downstream" cargo invocations.

This is an old problem but I don't recall what was the cause.

I remembered what the issue was. This is actually caused by a bug in rustc (cf. rust-lang/rust#24666). When we compile the sysroot, we always use --target $triple because the $triple.json file has been copied to the temporary directory where the sysroot is built. The thing is that when that sysroot is used with the real Cargo command the user meant, xargo build --target /path/to/$triple.json, rustc doesn't recognized the sysroot that was compiled for $triple as a valid sysroot for /path/to/$triple.json because the triples are "different" ($triple != /path/to/triple.json according to rustc)

The best solution would be to fix the rustc bug but I think there may be a form to workaround this: build the sysroot from where the Xargo command was issued using exactly the same target (path) passed to Cargo. The problem then would be that, because of rustc bug, the sysroots generated with target "paths" won't be re-usable even if their target "paths" point to the exact same JSON file.

Temporary hackaround (cd /path/containing/target_json/ && xargo build {{TARGET}}) appears to work, but is it kosher?

Yet another workaround is to set the RUST_TARGET_PATH env variable to the path / directory containing the target specification file then you can use xargo build --target $TARGET. (rustc will look for the target specification file in the current directory and in $RUST_TARGET_PATH).

rfc131 is indeed a better solution.


Use Serde in Semver

Instead of https://github.com/cenotelie/cratery/blob/master/src/model/semver.rs
enable serde in semver dependency will remove code from cratery.

How did I miss that? Thanks for letting me know, this is an easy fix.

Fixed on master.


test_byterange.sh fails with BADCERT_NOT_TRUSTED

the version of the software with which you are encountering an issue

NetCDF 4.9.0

environmental information (i.e. Operating System, compiler info, java version, python version, etc.)

Linux, x86_64-linux-gnu-gcc (GCC) 4.8.5 (no cross-compilation this time)

a description of the issue with the steps needed to reproduce it

Build steps:
./configure --prefix=/workspace/destdir --build=x86_64-linux-musl --host=x86_64-linux-gnu \
   --enable-shared --disable-static --disable-dap-remote-tests --enable-byterange

When activating byte range support the ./test_byterange.sh tests fails with
curlcode: (60)SSL peer certificate or SSH remote key was not OK : Cert verify failed: BADCERT_NOT_TRUSTED
/workspace/srcdir/netcdf-c-4.9.0/ncdump/.libs/lt-ncdump: https://thredds-test.unidata.ucar.edu/thredds/fileServer/pointData/cf_dsg/example/point.nc#mode=bytes&aws.profile=none: NetCDF: libcurl failure
test_http: -k flag mismatch: expected=classic have=

This is related to issue https://github.com/Unidata/netcdf-c/issues/2337 but not necessarily a duplicate since I have defined a .ncrc file with a HTTP.SSL.CAINFO in /workspace/srcdir/netcdf-c-4.9.0/nc_test/.ncrc and /root/.ncrc:
# cat /root/.ncrc
HTTP.SSL.CAINFO=/etc/ssl/certs/ca-certificates.crt

# ls -lh /etc/ssl/certs/ca-certificates.crt
-r--r--r--    1 root     root      198.5K May  3 11:15 /etc/ssl/certs/ca-certificates.crt

# echo $HOME
/root

But if I hard code CURLOPT_CAINFO in dhttp.c, the first test with the url (https://thredds-test.unidata.ucar.edu/thredds/fileServer/pointData/cf_dsg/example/point.nc#mod e=bytes&aws.profile=none) passes.
--- /home/abarth/src/netcdf-c/libdispatch/dhttp.c	2022-06-14 10:20:57.826005241 +0200
+++ dhttp.c	2022-06-17 12:17:05.236041079 +0200
@@ -509,6 +509,8 @@
         (void)CURLERR(curl_easy_setopt(state->curl, CURLOPT_READDATA, NULL));
     }

+    (void)CURLERR(curl_easy_setopt(state->curl, CURLOPT_CAINFO, "/etc/ssl/certs/ca-certificates.crt"));
+
     /* Do method specific actions */
     switch(state->request.method) {
     case HTTPPUT:

Could it be that the byte range support of NetCDF does not use HTTP.SSL.CAINFO ?
Unfortunately, there are even with this change other failures later on in ./test_byterange.sh:
/workspace/srcdir/netcdf-c-4.9.0/ncdump/.libs/lt-ncdump: https://thredds-test.unidata.ucar.edu/thredds/fileServer/irma/metar/files/METAR_20170910_0000.nc#bytes&aws.profile=none: NetCDF: HDF error

I am wondering if the HDF5 layer needs to be made aware of  HTTP.SSL.CAINFO too.

The byterange driver I use is home-made because HDF5 does not
directly support it (AFAIK, I should recheck). So I will modify
our local code to explicitly set CAINFO from .rc tables.
I will post the modified code here for you to test.

PR https://github.com/Unidata/netcdf-c/pull/2408 should fix this,
assuming you set HTTP.CAINFO

This PR may fix this problem: https://github.com/Unidata/netcdf-c/pull/2408


2.0 - Simplified roles

master:
branch:

Role definitions
Updated example:
$roles = [
    'ArticleEditor' => [
        'resource' => Article::class,
        'actions' => new Actions([Actions::VIEW, Actions::EDIT]),
    ], // same as the next one
    'ArticleEditor' => [
        'resource' => Article::class,
        'authorizations' => function (ACL $acl, RoleEntry $role, Article $article) {
            $acl->allow(
                $role->getSecurityIdentity(),
                new Actions([Actions::VIEW, Actions::EDIT]),
                $article,
                $role
            );
        },
    ],
    'CategoryManager' => [
        'resource' => new ClassResource(Article::class),
        'actions' => new Actions([Actions::VIEW, Actions::EDIT]),
    ],
    'Administrator' => function (ACL $acl, RoleEntry $role) {
        $allArticles = new ClassResource(Article::class);
        $acl->allow($role->getSecurityIdentity(), Actions::all(), $allArticles, $role);
    },
    'BackendUser' => [
        'resource' => new VirtualResource('backend'),
        'actions' => new Actions([Actions::VIEW]),
    ],
    'BackendAdministrator' => function (ACL $acl, RoleEntry $role) {
        $allArticles = new VirtualResource('backend');
        $acl->allow($role->getSecurityIdentity(), Actions::all(), $allArticles, $role);
    }
];

Grant
Before:
$acl->grant($user, new ArticleEditorRole($user, $article));
$acl->grant($user, new Administrator($user));

After:
$acl->grant($user, 'ArticleEditor', $article);
$acl->grant($user, 'Administrator');

TODO

[x] Simplified role definitions

[x] #13 Unified handling of resources through ResourceInterface and ResourceId

[x] Add isGranted($role)

[ ] Simplified ACL Doctrine setup ?

[x] Update documentation

[ ] Upgrading guide

[x] Document RoleEntryRepository::findByRoleAndResource($roleName, $resource)

[x] Remove unGrant()

[x] Rename SecurityIdentityInterface to Identity

[x] PHP 5.5

[ ] More tests?
Removed from 2.0:

Virtual resources (would impact too much how ResourceId works, lot of work, might need a new column in database)

Decouple from Doctrine to allow alternative backends: too much work for now

Je fais le ménage dans mes PR ouvertes :)


Added a file for Henrik.

@elezar Check out my super duper new hip file.
Can we 🚢 it ?

Uhm. This is awkward. Where is the content? It's all empty!

LGTM :ship:


3d text

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes:  #669

Type of change

[x] 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 not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] I have made this from my own
[ ] I have taken help from some online resourses and mentioned in PR
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

I dont know how to do this
please can you tell me

there's a file named style_link.json in the repo, just add your project to that the way other people have added and push the changes on this branch

@aachal28 Don't make new PR for adding your project name in style_links.json....u have added your project correctly but still, there is some mistake... you can refer to this attached ss.... Now add your project name in json file in this PR and commit all your changes again

.

@aachal28 Don't make new PR for adding your project name in style_links.json....u have added your project correctly but still, there is some mistake... you can refer to this attached ss.... Now add your project name in json file in this PR and commit all your changes again  .

Thank you so much for the help @astha2412

i have added json file

@aachal28 do not edit html file of root foler


[Release-1.26] Pin opa version for missing dependency chain

Proposed Changes
Partial backport of https://github.com/k3s-io/k3s/pull/9213 to release-1.26

arm flaked; will be fixed when https://github.com/k3s-io/k3s/pull/9210 is backported. Merging.