[WFCORE-5361] Upgrade Undertow to 2.2.6.Final

Jira: https://issues.redhat.com/browse/WFCORE-5361
    Release Notes - Undertow - Version 2.2.7.Final

        Bug

[UNDERTOW-1837] -         ServletRequest#getLocalPort(), getLocalAddr() and getLocalName() can return wrong information when ProxyPeerAddressHandler or ForwardedHandler is enabled

    Release Notes - Undertow - Version 2.2.6.Final

        Enhancement

[UNDERTOW-1857] -         Provide a way of configuring the server before it starts in DefaultServer (for test classes)

        Bug

[UNDERTOW-1591] -         HttpServletRequestImpl#getServletPath() and getPathInfo() returns non-decoded value after AsyncContextImpl#dispatch()

[UNDERTOW-1660] -         The addExchangeCompleteListener method fails with the "Exchange already complete" error on Oracle JDK 11 and OpenJDK 11

[UNDERTOW-1679] -         Unable to add same routing path with different methods

[UNDERTOW-1819] -         Make SessionCookieConfig spec compliant according to new tests added to TCK

[UNDERTOW-1832] -         HTTP/2 Push works only for first request sent over HTTP/2 connection

[UNDERTOW-1844] -         StringIndexOutOfBoundsException when a servlet matches both a prefix and extension

[UNDERTOW-1849] -         NPE happens at StoredResponseStreamSinkConduit.terminateWrites when StoredResponseHandler (store-response) is enabled

[UNDERTOW-1873] -         Path is not canonicalized when Request.getRequestDispatcher() forwards to path that begins with "/"

@jmesnil because there is an Undertow PR that was corrected and is supposed to be in the payload, I'm doing a new release and I'll be updating this PR soon

@jmesnil done!

Core - Full Integration Build 10420 outcome was FAILURE using a merge of 2128430f606ec78d2e376156b6d3b7bd0e09e617
Summary: Tests failed: 3 (3 new), passed: 3718, ignored: 43 Build time: 01:44:37
Failed tests
org.jboss.as.test.integration.web.handlers.ForwardedHandlerTestCase.testRewriteGlobalSettingsServlet: 	at org.jboss.as.test.integration.web.handlers.ForwardedHandlerTestCase.commonTestPart(ForwardedHandlerTestCase.java:151)
	at org.jboss.as.test.integration.web.handlers.ForwardedHandlerTestCase.commonConfigureExpression(ForwardedHandlerTestCase.java:117)
	at org.jboss.as.test.integration.web.handlers.ForwardedHandlerTestCase.testRewriteGlobalSettingsServlet(ForwardedHandlerTestCase.java:106)
------- Stdout: -------
 [0m04:17:24,033 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location /store/work/tc-work/37b47ae8b9c60325/full/testsuite/integration/web/target/wildfly-cloud/standalone/data/content/0f/cf253b3b38fc0d5e18b85153159458cde32202/content
 [0m [0m04:17:24,035 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "forwarded-handler-no-ut-handlers.war" (runtime-name: "forwarded-handler-no-ut-handlers.war")
 [0m [33m04:17:24,085 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) WFLYSRV0018: Deployment "deployment.forwarded-handler-no-ut-handlers.war" is using a private module ("org.wildfly.security.manager") which may be changed or removed in future versions without notice.
 [0m [0m04:17:24,129 INFO  [org.jboss.as.arquillian] (MSC service thread 1-4) Arquillian deployment detected: ArquillianConfig[service=jboss.arquillian.config."forwarded-handler-no-ut-handlers.war",unit=forwarded-handler-no-ut-handlers.war,tests=[org.jboss.as.test.integration.web.handlers.UndertowHandlersConfigTestCase, org.jboss.as.test.integration.web.handlers.SameSiteCookieHandlerTestCase, org.jboss.as.test.integration.web.handlers.RequestDumpingHandlerTestCase, org.jboss.as.test.integration.web.handlers.ForwardedHandlerTestCase]]
 [0m [0m04:17:24,147 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 25) WFLYUT0021: Registered web context: '/forwarded-handler-no-ut-handlers' for server 'default-server'
 [0m [0m04:17:24,159 INFO  [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0010: Deployed "forwarded-handler-no-ut-handlers.war" (runtime-name : "forwarded-handler-no-ut-handlers.war")
 [0m [0m04:17:24,175 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location /store/work/tc-work/37b47ae8b9c60325/full/testsuite/integration/web/target/wildfly-cloud/standalone/data/content/ce/47e077537109adc182bf4182dd17374276d933/content
 [0m [0m04:17:24,180 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "forwarded-servlet-no-ut-handlers.war" (runtime-name: "forwarded-servlet-no-ut-handlers.war")
 [0m [33m04:17:24,229 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-4) WFLYSRV0018: Deployment "deployment.forwarded-servlet-no-ut-handlers.war" is using a private module ("org.wildfly.security.manager") which may be changed or removed in future versions without notice.
 [0m [0m04:17:24,267 INFO  [org.jboss.as.arquillian] (MSC service thread 1-4) Arquillian deployment detected: ArquillianConfig[service=jboss.arquillian.config."forwarded-servlet-no-ut-handlers.war",unit=forwarded-servlet-no-ut-handlers.war,tests=[org.jboss.as.test.integration.web.handlers.ForwardedHandlerTestCase]]
 [0m [0m04:17:24,274 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 25) WFLYUT0021: Registered web context: '/forwarded-servlet-no-ut-handlers' for server 'default-server'
 [0m [0m04:17:24,287 INFO  [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0010: Deployed "forwarded-servlet-no-ut-handlers.war" (runtime-name : "forwarded-servlet-no-ut-handlers.war")
 [0m [0m04:17:24,307 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location /store/work/tc-work/37b47ae8b9c60325/full/testsuite/integration/web/target/wildfly-cloud/standalone/data/content/1a/a9818a2adccbecdbcec93f8fbb43a6fe4388dd/content
 [0m [0m04:17:24,309 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "forwarded-servlet.war" (runtime-name: "forwarded-servlet.war")
 [0m [33m04:17:24,363 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-7) WFLYSRV0018: Deployment "deployment.forwarded-servlet.war" is using a private module ("org.wildfly.security.manager") which may be changed or removed in future versions without notice.
 [0m [0m04:17:24,429 INFO  [org.jboss.as.arquillian] (MSC service thread 1-4) Arquillian deployment detected: ArquillianConfig[service=jboss.arquillian.config."forwarded-servlet.war",unit=forwarded-servlet.war,tests=[org.jboss.as.test.integration.web.handlers.ForwardedHandlerTestCase]]
 [0m [0m04:17:24,437 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 25) WFLYUT0021: Registered web context: '/forwarded-servlet' for server 'default-server'
 [0m [0m04:17:24,448 INFO  [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0010: Deployed "forwarded-servlet.war" (runtime-name : "forwarded-servlet.war")
 [0m

org.jboss.as.test.integration.web.handlers.ForwardedHandlerTestCase.testRewriteGlobalSettings: 	at org.jboss.as.test.integration.web.handlers.ForwardedHandlerTestCase.commonTestPart(ForwardedHandlerTestCase.java:148)
	at org.jboss.as.test.integration.web.handlers.ForwardedHandlerTestCase.commonConfigureExpression(ForwardedHandlerTestCase.java:117)
	at org.jboss.as.test.integration.web.handlers.ForwardedHandlerTestCase.testRewriteGlobalSettings(ForwardedHandlerTestCase.java:94)

org.jboss.as.test.integration.web.handlers.ForwardedHandlerTestCase.testRewriteWithUndertowHandlersServlet: 	at org.jboss.as.test.integration.web.handlers.ForwardedHandlerTestCase.commonTestPart(ForwardedHandlerTestCase.java:151)
	at org.jboss.as.test.integration.web.handlers.ForwardedHandlerTestCase.testRewriteWithUndertowHandlersServlet(ForwardedHandlerTestCase.java:100)

@fl4via I changed the title of this from 2.2.7 to 2.2.6 as @yersan (and the PR diff) tells going with that release me is your current intent. You can adjust the PR description, any JIRA wording etc later but I wanted to change the PR title ASAP as the title ends up in the commit message for the merge commit if we merge this.

Core - Full Integration Build 10485 outcome was FAILURE using a merge of 456ec32733ef74c7baf682197eba0fc088458ee3
Summary: Tests failed: 1 (1 new), passed: 7759, ignored: 150 Build time: 05:23:32
Failed tests
org.jboss.as.test.clustering.cluster.web.remote.FineHotRodSessionExpirationTestCase.test: java.lang.AssertionError: expected:<true> but was:<false>
	at org.jboss.as.test.clustering.cluster.web.expiration.SessionExpirationTestCase.test(SessionExpirationTestCase.java:460)
	at org.infinispan.server.test.junit4.InfinispanServerRule$1.evaluate(InfinispanServerRule.java:77)
------- Stdout: -------
 [0m15:03:54,119 INFO  (main) [BOOT] JVM OpenJDK 64-Bit Server VM Red Hat, Inc. 25.282-b08 [m
 [0m15:03:54,126 INFO  (main) [BOOT] JVM arguments = [-verbose:gc, -Xloggc:/store/work/tc-work/37b47ae8b9c60325/full/testsuite/integration/clustering/target/infinispan-server-11.0.8.Final/server/log/gc.log, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=5, -XX:GCLogFileSize=3M, -XX:-TraceClassUnloading, -Dorg.infinispan.server.test.core.ForkedServer-pid=984aaf25-a12e-423b-86eb-0997bc4926d2, -Xms64m, -Xmx512m, -XX:MetaspaceSize=64M, -Djava.net.preferIPv4Stack=true, -Djava.awt.headless=true, -Dvisualvm.display.name=infinispan-server, -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager, -Dinfinispan.server.home.path=/store/work/tc-work/37b47ae8b9c60325/full/testsuite/integration/clustering/target/infinispan-server-11.0.8.Final] [m
 [0m15:03:54,127 INFO  (main) [BOOT] PID = 15962 [m
 [0m15:03:54,184 INFO  (main) [org.infinispan.SERVER] ISPN080000: Infinispan Server starting [m
 [0m15:03:54,184 INFO  (main) [org.infinispan.SERVER] ISPN080017: Server configuration: /store/work/tc-work/37b47ae8b9c60325/full/testsuite/integration/clustering/target/test-classes/infinispan-server/infinispan.xml [m
 [0m15:03:54,185 INFO  (main) [org.infinispan.SERVER] ISPN080032: Logging configuration: /store/work/tc-work/37b47ae8b9c60325/full/testsuite/integration/clustering/target/infinispan-server-11.0.8.Final/server/conf/log4j2.xml [m
 [33m15:03:54,944 WARN  (main) [org.infinispan.commons.util.StringPropertyReplacer] ISPN000901: Property infinispan.cluster.name could not be replaced as intended! [m
 [0m15:03:55,329 INFO  (main) [org.infinispan.SERVER] ISPN080027: Loaded extension 'query-dsl-filter-converter-factory' [m
 [0m15:03:55,330 INFO  (main) [org.infinispan.SERVER] ISPN080027: Loaded extension 'continuous-query-filter-converter-factory' [m
 [0m15:03:55,332 INFO  (main) [org.infinispan.SERVER] ISPN080027: Loaded extension 'iteration-filter-converter-factory' [m
 [0m15:03:55,334 INFO  (main) [org.infinispan.SERVER] ISPN080027: Loaded extension 'jdk.nashorn.api.scripting.NashornScriptEngineFactory' [m
 [33m15:03:56,515 WARN  (main) [org.infinispan.PERSISTENCE] ISPN000554: jboss-marshalling is deprecated and planned for removal [m
 [0m15:03:57,036 INFO  (main) [org.infinispan.CONTAINER] ISPN000128: Infinispan version: Infinispan 'Corona Extra' 11.0.8.Final [m
 [0m15:03:57,039 INFO  (main) [org.infinispan.CONTAINER] ISPN000389: Loaded global state, version=11.0.8.Final timestamp=2021-03-30T22:03:51.575Z [m
 [0m15:03:57,259 INFO  (main) [org.infinispan.CLUSTER] ISPN000078: Starting JGroups channel ${infinispan.cluster.name} with stack tcp [m
 [0m15:03:59,543 INFO  (main) [org.jgroups.protocols.pbcast.GMS] build44-el7-3925: no members discovered after 2006 ms: creating cluster as coordinator [m
 [0m15:03:59,568 INFO  (main) [org.infinispan.CLUSTER] ISPN000094: Received new cluster view for channel ${infinispan.cluster.name}: [build44-el7-3925|0] (1) [build44-el7-3925] [m
 [0m15:03:59,584 INFO  (main) [org.infinispan.CLUSTER] ISPN000079: Channel ${infinispan.cluster.name} local address is build44-el7-3925, physical addresses are [<IP_ADDRESS>:7800] [m
 [0m15:04:00,186 INFO  (main) [org.jboss.threads] JBoss Threads version 2.3.3.Final [m
 [0m15:04:00,501 INFO  (main) [org.infinispan.CONTAINER] ISPN000104: Using EmbeddedTransactionManager [m
 [0m15:04:00,819 INFO  (non-blocking-thread--p2-t4) [org.infinispan.CLUSTER] [Context=___protobuf_metadata]ISPN100008: Updating cache members list [build44-el7-3925], topology id 1 [m
 [33m15:04:00,884 WARN  (main) [org.infinispan.encoding.impl.StorageConfigurationManager] ISPN000599: Configuration for cache 'default' does not define the encoding for keys or values. If you use operations that require data conversion or queries, you should configure the cache with a specific MediaType for keys or values. [m
 [0m15:04:00,937 INFO  (non-blocking-thread--p2-t2) [org.infinispan.CLUSTER] [Context=default]ISPN100008: Updating cache members list [build44-el7-3925], topology id 1 [m
 [0m15:04:01,006 INFO  (non-blocking-thread--p2-t1) [org.infinispan.CLUSTER] [Context=___script_cache]ISPN100008: Updating cache members list [build44-el7-3925], topology id 1 [m
 [33m15:04:01,028 WARN  (main) [org.infinispan.encoding.impl.StorageConfigurationManager] ISPN000599: Configuration for cache 'transactional' does not define the encoding for keys or values. If you use operations that require data conversion or queries, you should configure the cache with a specific MediaType for keys or values. [m
 [33m15:04:01,034 WARN  (main) [org.infinispan.encoding.impl.StorageConfigurationManager] ISPN000599: Configuration for cache 'transactional' does not define the encoding for keys or values. If you use operations that require data conversion or queries, you should configure the cache with a specific MediaType for keys or values. [m
 [0m15:04:01,061 INFO  (non-blocking-thread--p2-t3) [org.infinispan.CLUSTER] [Context=transactional]ISPN100008: Updating cache members list [build44-el7-3925], topology id 1 [m
 [33m15:04:01,195 WARN  (blocking-thread--p3-t2) [org.infinispan.encoding.impl.StorageConfigurationManager] ISPN000599: Configuration for cache 'other' does not define the encoding for keys or values. If you use operations that require data conversion or queries, you should configure the cache with a specific MediaType for keys or values. [m
 [0m15:04:01,209 INFO  (non-blocking-thread--p2-t6) [org.infinispan.CLUSTER] [Context=other]ISPN100008: Updating cache members list [build44-el7-3925], topology id 1 [m
 [33m15:04:01,237 WARN  (blocking-thread--p3-t2) [org.infinispan.encoding.impl.StorageConfigurationManager] ISPN000599: Configuration for cache 'CoarseHotRodSessionActivationTestCase.war' does not define the encoding for keys or values. If you use operations that require data conversion or queries, you should configure the cache with a specific MediaType for keys or values. [m
 [0m15:04:01,260 INFO  (non-blocking-thread--p2-t3) [org.infinispan.CLUSTER] [Context=CoarseHotRodSessionActivationTestCase.war]ISPN100008: Updating cache members list [build44-el7-3925], topology id 1 [m
 [33m15:04:01,292 WARN  (blocking-thread--p3-t2) [org.infinispan.encoding.impl.StorageConfigurationManager] ISPN000599: Configuration for cache 'CoarseHotRodSessionExpirationTestCase.war' does not define the encoding for keys or values. If you use operations that require data conversion or queries, you should configure the cache with a specific MediaType for keys or values. [m
 [0m15:04:01,312 INFO  (non-blocking-thread--p2-t3) [org.infinispan.CLUSTER] [Context=CoarseHotRodSessionExpirationTestCase.war]ISPN100008: Updating cache members list [build44-el7-3925], topology id 1 [m
 [33m15:04:01,339 WARN  (blocking-thread--p3-t2) [org.infinispan.encoding.impl.StorageConfigurationManager] ISPN000599: Configuration for cache 'FineHotRodSessionActivationTestCase.war' does not define the encoding for keys or values. If you use operations that require data conversion or queries, you should configure the cache with a specific MediaType for keys or values. [m
 [0m15:04:01,359 INFO  (non-blocking-thread--p2-t1) [org.infinispan.CLUSTER] [Context=FineHotRodSessionActivationTestCase.war]ISPN100008: Updating cache members list [build44-el7-3925], topology id 1 [m
 [33m15:04:01,393 WARN  (blocking-thread--p3-t2) [org.infinispan.encoding.impl.StorageConfigurationManager] ISPN000599: Configuration for cache 'FineHotRodPersistenceWebFailoverTestCase.war' does not define the encoding for keys or values. If you use operations that require data conversion or queries, you should configure the cache with a specific MediaType for keys or values. [m
 [0m15:04:01,410 INFO  (non-blocking-thread--p2-t1) [org.infinispan.CLUSTER] [Context=FineHotRodPersistenceWebFailoverTestCase.war]ISPN100008: Updating cache members list [build44-el7-3925], topology id 1 [m
 [33m15:04:01,446 WARN  (blocking-thread--p3-t2) [org.infinispan.encoding.impl.StorageConfigurationManager] ISPN000599: Configuration for cache 'default-host' does not define the encoding for keys or values. If you use operations that require data conversion or queries, you should configure the cache with a specific MediaType for keys or values. [m
 [0m15:04:01,457 INFO  (non-blocking-thread--p2-t6) [org.infinispan.CLUSTER] [Context=default-host]ISPN100008: Updating cache members list [build44-el7-3925], topology id 1 [m
 [33m15:04:01,472 WARN  (blocking-thread--p3-t1) [org.infinispan.encoding.impl.StorageConfigurationManager] ISPN000599: Configuration for cache 'CoarseHotRodPersistenceWebFailoverTestCase.war' does not define the encoding for keys or values. If you use operations that require data conversion or queries, you should configure the cache with a specific MediaType for keys or values. [m
 [0m15:04:01,483 INFO  (non-blocking-thread--p2-t6) [org.infinispan.CLUSTER] [Context=CoarseHotRodPersistenceWebFailoverTestCase.war]ISPN100008: Updating cache members list [build44-el7-3925], topology id 1 [m
 [33m15:04:01,497 WARN  (blocking-thread--p3-t2) [org.infinispan.encoding.impl.StorageConfigurationManager] ISPN000599: Configuration for cache 'CoarseHotRodWebFailoverTestCase.war' does not define the encoding for keys or values. If you use operations that require data conversion or queries, you should configure the cache with a specific MediaType for keys or values. [m
 [0m15:04:01,508 INFO  (non-blocking-thread--p2-t6) [org.infinispan.CLUSTER] [Context=CoarseHotRodWebFailoverTestCase.war]ISPN100008: Updating cache members list [build44-el7-3925], topology id 1 [m
 [33m15:04:01,522 WARN  (blocking-thread--p3-t2) [org.infinispan.encoding.impl.StorageConfigurationManager] ISPN000599: Configuration for cache 'CoarseTransactionalHotRodWebFailoverTestCase.war' does not define the encoding for keys or values. If you use operations that require data conversion or queries, you should configure the cache with a specific MediaType for keys or values. [m
 [33m15:04:01,524 WARN  (blocking-thread--p3-t2) [org.infinispan.encoding.impl.StorageConfigurationManager] ISPN000599: Configuration for cache 'CoarseTransactionalHotRodWebFailoverTestCase.war' does not define the encoding for keys or values. If you use operations that require data conversion or queries, you should configure the cache with a specific MediaType for keys or values. [m
 [0m15:04:01,533 INFO  (non-blocking-thread--p2-t6) [org.infinispan.CLUSTER] [Context=CoarseTransactionalHotRodWebFailoverTestCase.war]ISPN100008: Updating cache members list [build44-el7-3925], topology id 1 [m
 [0m15:04:01,689 INFO  (ForkJoinPool.commonPool-worker-1) [org.infinispan.SERVER] ISPN080018: Protocol HotRod (internal) [m


RF in Ender IO

Issue Description:
In every my world, the Ender IO mod don't use RF but µI.
What happens:
I can't use Ender IO if it uses µI
What you expected to happen:
You tell me how can I use RF with Ender IO
Steps to reproduce:

what
does
it means?
...

Affected Versions (Do not use "latest"):

EnderIO: 5.0.26
EnderCore: 0.5.31
Minecraft: 1.12.2
Forge: <IP_ADDRESS>05

Your most recent log file where the issue was present:
2018-06-26-2.log.gz

So i must change resource pack? But, i'm not using any resource pack. What can i do?

Just hook the Ender IO machines to the "RF" things and it will work fine 99.9% of the time.  It's just a label, not a different power system.

I'll try to do this. Thank you 👍

It works!!!! oh, thank you so much! But... is there a way to make him use RF?

With the exception of deaconic evolution all mods that use RF also are compatible with FE. Some might have that renamed but its still FE its a 1:1 ratio so 20 rf is 20 fe or 20u|

As I said, the label can be changed by Resource Pack.  I made one to change the label to FE (which is a more standard label for mods using only Forge Energy).
https://minecraft.curseforge.com/projects/ender-io-display-fe-forge-energy
While they should always be equivalent, RF and FE are technically different power systems, so I won't release one that changes the label to RF.  That said, the relevant file is all of 10 lines and can be edited in notepad.
@tyler489  Draconic Evolution has updated and its Fusion Crafting Injectors were fixed to accept FE, so they should work now.

Good to know..

https://github.com/VT-14/VTs_GeneralResourcePacks/blob/master/Ender IO/Ender IO Display FE/assets/enderio/lang/en_us.lang
Find and replace FE with RF, and Forge Energy with Redstone Flux.
I would still advise getting use to new labels.  There's also Immersive Engineerings' Immersive Flux (IF), and Actually Additions Crystal Flux (CF) (neither of which are resource pack friendly).  You also have mods like Refined Storage using the FE label, and AE2 changing their "RF P2P Tunnels" to "Forge Energy Tunnels."  "RF" is somewhat outdated and will only get harder to relabel as time goes on.

Thanks so much! The Redstone Flux energy is outdated, but it's my favourite label, i don't know why XD. Bye bye

Now that I have modified the file, what should I do?

Put it into your resource pack and activate the pack in game.  There are guides online, and the github that I linked to can be used as an example.
Generic resource pack support does not belong on Ender IO's issue tracker, so I'm done responding here.

Ok, thanks!
Byeeee


reduce flakiness of semantics test

Adds a 1 second delay to the beginning of each query for semantics data to resolve framework and platform getting out of sync.

Can't we just print "PLATFORM - FRAME 5" and "FRAMEWORK - FRAME 5" or some such from each side, and have the test harness wait until they're both at the same number before continuing? Or some such? (I'm making this up, I haven't looked at the exact code.)

@Hixie I think the printing idea is actually pretty good for this. I'm going to close this for now, also since the test appears to relatively stable and investigate this from the engine side.


Achievements --> slack

Add optional notifications:
for example:
<username> has made the advancement [<achievement>]

Consider

[x] advancements
[x] kills
[x] deaths

Logs I can find.
activity
FraggyMuffin was slain by Zombie
FraggyMuffin drowned
FraggyMuffin has made the advancement [Monster Hunter]
FraggyMuffin lost connection: Disconnected
FraggyMuffin left the game
FraggyMuffin[/<IP_ADDRESS>:44964] logged in with entity id 2784 at ([world]-87.0274756623149, 70.0,<PHONE_NUMBER>5469338)

chat & commands?
<FraggyMuffin> testing
FraggyMuffin issued server command: /dynmap fullrender

But I'm sure someone has a comprehensive list 🤷

A seemingly full list of death messages is here : https://minecraft.fandom.com/wiki/Death_messages
They seem excessively varied... Wish they all had a common prefix or something :disappointed:

ref: https://github.com/tjclement/minecraft-log-parser/blob/master/bin/mc_actions.py

implemented in: #11


/jobs:jobs command doesnt work

*Detailed description of the issue:
When trying to launch the command /jobs:jobs join, it doesn't show anything. /jobs yea, it works, but so do /jobs:jobs should.
Jobs version: <IP_ADDRESS>
Server Type (Spigot/Paper/etc): PurPur
Server Version (using /ver):
Current: git-Purpur-1916 (MC: 1.19.3)*
Previous: git-Purpur-1933 (MC: 1.19.3)

You are 17 version(s) behind
Download the new version at: https://purpurmc.org/downloads

Would suggest to check any plugin which would disable double commands like that one as by default Jobs will not do anything about commands like that and will perform as usual.

Then is there a way to make /jobs to open /jobs browse or /jobs join GUI?
I had an idea to do it with MyCommands by using /jobs:jobs join run as player.
How will the logic work with /jobs:jobs disabled?
Do I need to create a separate plug-in for this functionality?

Go to generalConfig file and near bottom you will see Commands section where you can define what should happen when you perform clean /jobs command which can open browse window or you can define your own command.


Media download binary data issue

I am trying to upload media files to S3 to be able to access by our users. Unfortunately, after using the download function and uploading it to s3, the audio doesn't play.
I used hex editor and the binary version of the file using the node library download function is completely different, for some reason.
How do I fix this?

Hey there,
Can you please make sure you're running v2.3.0. We fixed an issues similar to this about 21 days ago: https://github.com/bandwidthcom/node-bandwidth/pull/116
Cheers!

Ok, let me check it out.

That didn't fix it.
https://pilotio-test.s3.amazonaws.com/voicemails/c-33g4cz6hz4iqjskjvwar3qi-1.wav?AWSAccessKeyId=AKIAJ7J4OKQR6XUEQFSQ&Expires=1486485732&Signature=GYXk6Q438T34AKJux5qWOGA0uV8%3D
And here's the code:
  bandwidthClient
    .Media
    .download(fileName)
    .then(media => {
      console.log(media.content);

      const file = {
        Body: media.content,
        ContentType: media.contentType,
        Key: `voicemails/${fileName}`
      };

bucket.putObject(file, (err, data) => {});

Should be fixed in #119
Can you please check by changing line #88 in media to "binary" in your node_modules/node-bandwidth/lib/media
Confirm working and I'll merge and release 2.3.1

Nope, that is unfortunately still not working. :(
https://pilotio-test.s3.amazonaws.com/voicemails/1c-33g4cz6hz4iqjskjvwar3qi-1.wav?AWSAccessKeyId=AKIAJ7J4OKQR6XUEQFSQ&Expires=1486542402&Signature=smA84b%2BqeDWvzUiMDJh2A3dk67Q%3D

I also tried writing the media field contents to a file to check if it's not really an amazon issue. Although, I'm sure it isn't.. There seems to be an encoding issue. But here's the code to test it for yourself:
	this.download = function (name, callback) {
		return client.makeRequest({
			path     : "media/" + encodeURIComponent(name),
			method   : "GET",
			encoding : 'binary'
		})
		.then(function (response) {
			var fs = require('fs');
			fs.writeFile("test.mp3", response.body, function(err) {
				if(err) {
					return console.log(err);
				}

				console.log("The file was saved!");
			});
			return { contentType : response.headers["content-type"], content : response.body };
		})
		.asCallback(callback);
	};

Hey, after just changing the line there be sure you're writing the file as binary is fs.writeFile
It will look something like:
var Bandwidth_sdk = require('node-bandwidth')
var fs = require('fs')

var bw = new Bandwidth_sdk({
	userId: 'u-asdf',
	apiToken: 't-asdf',
	apiSecret: 'asdf'});

bw.Media.download('c-asdf-1.wav')
.then(media => {
	fs.writeFile("vmail.wav", media.content, 'binary', err=>{
		console.log(err);
	});
});

Nope, that doesn't work. Here is the file that is generated after I do that:
http://jmp.sh/HzXS8Cd

Can you check and see if you can download the file from our UI:

If that doesn't work, please open a support ticket and point them to this conversation.
Note that this isn't the same log in you use for UI

Finally
If you're able to download from the UI, in the mean time I'd point you directly to request.  The Bandwidth module uses version 2.69.0 and you can directly require the module:
Here is a sample, be sure to change:

{{userId}} : to your user id in the url parameter
{{mediaId}}: to your media name in the url parameter
{{apiToken}} : to your api token in the auth.user parameter
{{apiSecret}} : to your api secret in the auth.pass parameter
{{fileName}}: to your desired file name

var request = require('request');
var reqOptions = {
	url: 'https://api.catapult.inetwork.com/v1/users/{{userId}}/media/{{mediaId}}',
	method: 'GET',
	auth: {
		user: '{{apiToken}}',
		pass: '{{apiSecret}}'
	},
	json: true
}

request(reqOptions).pipe(fs.createWriteStream('{{fileName}}'))

If that works, I'll probably add a function that takes a function to pipe the file in a dot release in the next weeks.

Ok that works @dtolb

I'm having the same issue on 2.3.0, is there a fix planned?

I am running into the same issue with 2.3.0...this is a showstopper for most people, unless we fork the repo and change the encoding to 'binary', which works.  When will this be fixed?

This is what the response look like for an image when using the Media.dowload method:
{
contentType: 'image/jpeg;name=IMG_5426-m-4epyhxd6wlryu3ryaxfgsmy.jpg',
  content: '����\u0000\u0010JFIF\u0000\u0001\u0001\u0000\u0000H\u0000H\u0000\u0000��\u0000LExif...'
}

Encoding changed to binary in

PR #119
Release v2.3.1
NPM Package v2.3.1

The console printout is hard to decipher. Because the encoding isn't plain text.
Try writing the file to disc to verify integrity:
var Bandwidth_sdk = require('node-bandwidth')
var fs = require('fs')

var bw = new Bandwidth_sdk({
	userId: 'u-userId',
	apiToken: 't-token',
	apiSecret: 'secret'});

bw.Media.download('IMG_5426-m-4epyhxd6wlryu3ryaxfgsmy.jpg')
.then(media => {
	console.log(media);
	fs.writeFile("pic.jpg", media.content, 'binary', err=>{
		console.log(err);
	});
});

If that doesn't work along with release v2.3.1 let me know.

Thanks for the quick update, that is working for me.

I just tried v2.3.1 and it is working great.  Thanks!


Certain jobs like miner, digger etc do not give payouts. I'm unaware of what is wrong with it.

*Detailed description of the issue:
--- Hello im having some issues with certain jobs getting no payout. I dont know what is or isnt relevant so feel free to ask me for more information.
ERROR (DELETE IF YOU HAVE NO ERROR):
<-- Try to use pastebin.com server if you have long error. -->
https://pastebin.com/J3DDMDLV
CONFIG SECTION (DELETE IF NOT RELEVANT):
https://pastebin.com/RnkPWD3Y

Jobs version:
<IP_ADDRESS> (cmilib)
<IP_ADDRESS> (jobs)
Server Type (Spigot/Paper/etc):
git-paper-497
Server Version (using /ver):
git-paper-497
Relevant plugins (Delete if this isn't needed):
Jobs
Jobs Patchplacebreak

The Jobs plugin is the only thing you've updated, everything else (apart from the patch which ain't mentioned) is old.

@foepgames2
Updating CMILib would resolve issues like that. Try to keep both plugins up to date, especially if you upgrade server version


v1.25.0-beta.13 -> main

When heroes fall, waiting in the shadows, there is always a vortex ready to help, only 1 ping away! 🔥 🍕

I would love your help on this @0-vortex. I am about to go into 4 hours of meetings and can't get to this till late.

Need to punt, backends need fixing first 🔥


github repo_issues table

table for enumerating issues on a github repository

Codecov Report

Merging #141 (7c90502) into main (32ba86d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #141   +/-   ##
=======================================
  Coverage   67.11%   67.11%
=======================================
  Files          12       12
  Lines         663      663
=======================================
  Hits          445      445
  Misses        126      126
  Partials       92       92

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 32ba86d...7c90502. Read the comment docs.


Update Jackson configuration to ignore unknown fields

Motivation
Issues like #77 and #73 are demonstrating that strict validation of responses in deserialization is problematic and can cause breaking changes for consumers.
Proposed solution
Configure the Jackson ObjectMapper to not fail on unknown properties and types.
Additional context
The ObjectMapper has a configure method which can be leveraged to adjust features of Jackson's behavior.  See the DeserializationFeature for reference to related items.

This is completed in the 2.0 branch... needs to be merged into master.

hello,
I had the same problem.Please, how do I write the Jackson configuration file for the ignore attribute

Hi @MrJINXIN .  This was fixed with the 2.0.3 release of the SDK.


Added Laravel 11 Support

Goal
To support Laravel 11
Testing
By running the tests

Hi @jonathan-dij
Thank you for opening this PR.
Once Laravel 11 has been released we will review, confirm support with our system tests and merge this PR. Once we have more information we will be sure to update you.

Laravel 11 is scheduled to release on Q1 2024, please merge this so we can also test our project with all packages as soon as possible!

Hi @jonathan-dij, thanks for the PR
We don't usually release support for new Laravel versions until after they are released because of the risk of breaking changes being introduced late in Laravel's release cycle
We will merge and release this ASAP after Laravel 11 is officially released
In the meantime, you can test you app by pointing Composer at your fork using the repositories option

https://blog.laravel.com/laravel-11-now-available


Define what an API Spec "approved" means

Currently, when a PR is reviewed by the ARM Review board, there are labels that are use to signal:

When a review is needed
When there are comments that the service team needs to addresss in order for the review to be approved
When the changes are approved and, from and ARM API perspective, ready to merge

So when a reviewer approves an APIView file, what does that mean? how is that translated back into the PR? Can we remove/add labels to the PR accordingly?

This is applicable for any API Spec (Typespec, Swagger)

The current approach mentioned is working and no need to have the approval on APIView. Removing this form main epic and leaving it in the backlog

Adding to my backlog to review and ensure no changes needed based on current API Spec review process for data plane and management plane.

@maririos Do you think this is still relevant?

@maririos Do you think this is still relevant?

Thanks for bringing to attention. Not really. This has all been covered in the REST repo thansk to the work @konrad-jamrozik  has done.
I am going to close the issue

@maririos Do you think this is still relevant?

Thanks for bringing to attention. Not really. This has all been covered in the REST repo thansk to the work @konrad-jamrozik has done. I am going to close the issue

No I don't think it is still relevant.


synthTerm should return aux goals in a separate list

At least this is one possible solution to the uncontrolled number of preceding aux goals.

@favonia I'd like to improve this too; can you clarify what you mean by a separate list? As far as I know, all the goals returned by synthTerm are auxiliary, so there is only one list returned.

@jonsterling Just to double check---I put them in a list. It is not "separate" as you mentioned, but I was following my original idea. Hope it is clear what I meant now.

@favonia I think you did it in a nice way 😄


No objects detected using pretrained weights AT_CMT

I'm using the below code for inferencing on cityscapes training data to check the performance of the model.
But the model does not detect any objects irrespective of any thresholds (0.25, 0.5, 0.75)
import detectron2
from detectron2.utils.logger import setup_logger
setup_logger()
import numpy as np
import os, json, cv2, random
from detectron2 import model_zoo
from detectron2.engine import DefaultPredictor
from detectron2.config import get_cfg
from detectron2.utils.visualizer import Visualizer
from detectron2.data import MetadataCatalog, DatasetCatalog
from adapteacher import add_ateacher_config
from adapteacher.modeling.meta_arch.rcnn import DAobjTwoStagePseudoLabGeneralizedRCNN
from adapteacher.modeling.meta_arch.vgg import build_vgg_backbone
from adapteacher.modeling.proposal_generator.rpn import PseudoLabRPN
from adapteacher.modeling.roi_heads.roi_heads import StandardROIHeadsPseudoLab
im = cv2.imread("bochum.jpg")
cfg = get_cfg()
add_ateacher_config(cfg)
cfg.merge_from_file(model_zoo.get_config_file("faster_rcnn_VGG_cross_city.yaml"))
cfg.MODEL.ROI_HEADS.SCORE_THRESH_TEST = 0.25  # set threshold for this model
cfg.MODEL.WEIGHTS = "./city_atcmt.pth"
predictor = DefaultPredictor(cfg)
outputs = predictor(im)
print(outputs["instances"].pred_classes)
print(outputs["instances"].pred_boxes)
v = Visualizer(im[:, :, ::-1], MetadataCatalog.get(cfg.DATASETS.TRAIN[0]), scale=1.2)
out = v.draw_instance_predictions(outputs["instances"].to("cpu"))
cv2.imwrite("test1_op.jpg", out.get_image()[:, :, ::-1])

Hello Manjuphoenix,
The reason is that when you use DefaultPredictor from Detectron2, it does not correctly builds or loads the models. In AT or PT, both the teacher and student models are built. See here:
https://github.com/Shengcao-Cao/CMT/blob/2965f3c977413e5b942aa4590838d781135d1ed7/CMT_AT/train_net.py#L45
However, DefaultPredictor only builds and loads one model. Therefore, if you run the code above, you may see errors like this:
Some model parameters or buffers are not found in the checkpoint:
D_img.classifier.{bias, weight}
D_img.conv1.{bias, weight}
D_img.conv2.{bias, weight}
D_img.conv3.{bias, weight}
...
The checkpoint state_dict contains keys that are not used by the model:
  modelTeacher.backbone.vgg0.0.{bias, weight}
  modelTeacher.backbone.vgg0.1.{bias, num_batches_tracked, running_mean, running_var, weight}
  modelTeacher.backbone.vgg0.3.{bias, weight}
  modelTeacher.backbone.vgg0.4.{bias, num_batches_tracked, running_mean, running_var, weight}

To fix this, you need convert the checkpoint keys and reload the weights after building the predictor:
# Load teacher model weights from the checkpoint
import torch
ckpt = torch.load(cfg.MODEL.WEIGHTS)['model']
state_dict = {}
for key, value in ckpt.items():
    if key.startswith('modelTeacher.'):
        key = key.replace('modelTeacher.', '')
        state_dict[key] = value
predictor.model.load_state_dict(state_dict)

Got this error while implementing the above corrections
File "inference.py", line 50, in
predictor.model.load_state_dict(state_dict)
File "/root/anaconda3/envs/fbadapt/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1223, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for DAobjTwoStagePseudoLabGeneralizedRCNN:
size mismatch for roi_heads.box_predictor.cls_score.weight: copying a param with shape torch.Size([7, 1024]) from checkpoint, the shape in current model is torch.Size([9, 1024]).
size mismatch for roi_heads.box_predictor.cls_score.bias: copying a param with shape torch.Size([7]) from checkpoint, the shape in current model is torch.Size([9]).
size mismatch for roi_heads.box_predictor.bbox_pred.weight: copying a param with shape torch.Size([24, 1024]) from checkpoint, the shape in current model is torch.Size([32, 1024]).
size mismatch for roi_heads.box_predictor.bbox_pred.bias: copying a param with shape torch.Size([24]) from checkpoint, the shape in current model is torch.Size([32]).

Hello, I think unsupervised domain adaptation can be unstable in general. You may try to change the hyper-parameters a bit (e.g., scale down your learning rate). For the error you showed, the reason should be incompatible number of classes in the dataset. Please double check the number of classes in your customized dataset and the number of classes in the model configuration.

Hi @Shengcao-Cao as you rightly said it was the number of classes that was causing the error
Thank you for the response


[bug] dev server paths to component files

Describe the bug
Paths to component demos in the demo server are using shorted slug instead of long-form version, this causes resources to break such as lightdom.css files and js files.
http://localhost:8000/elements/navigation-secondary/demo/
vs
http://localhost:8000/elements/rh-navigation-secondary/demo/
long-form
Which Component?
all components
Steps to reproduce

Load local dev server npm run start

Expected behaviour
Component resources should load
Screenshots

Element HTML
No response
Operating System (OS)
macOS
Browser
No response
More browser information
No response
Additional Info
No response

I think this has to do with our custom routing in pfe-tools: https://github.com/patternfly/patternfly-elements/blob/09c65fcc99cc129c545ddfbf74f64f50c96e17dd/tools/pfe-tools/dev-server/config.ts#L97-L145)
The solution here will be finicky as the previous solution depended on - you guessed it - the difference between /components and /elements.
So since this affects the dev server and not users, let's solve this after 1.0

Closed by PFE #955


Change serializer to class-transformer Exclude

Thank you for creating an excellent boilerplate!
The serializer way looks great but in my opinion, it is not the best practice. I suggest changing it to Exclude decorator importing from class-transformer. Thus, we don't have to deep map and iterate all the JSON results with conditions.
I will create a PR and pin this issue. Please consider my solution and share your thoughts. Thanks!

👍


PluginFileCommandParser.java:62: Add language support...

The puzzle 1-316aa918 from #1 has to be resolved:
https://github.com/shiruka/shiruka/blob/3d76d446cb863ad5c0c0aa0c721439b05a775825/src/main/java/net/shiruka/shiruka/plugin/PluginFileCommandParser.java#L62-L62
The puzzle was created by @portlek on 26-Feb-21.
Estimate: 15 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 1-316aa918 has disappeared from the source code, that's why I closed this issue.


Matrix-Vector-Multiplication

In ndarray I had huge benefits from using the general_mat_vec_mul compared to general_mat_mul with a one-dimensional matrix. Is it something you are interested in implementing or is the performance benefit mainly about different settings in PackSizes and Kernel?
Sry, I don't know much about gemm-magic, I just benchmarked my way through different systems and implementations :D

Hello. I think you are talking about gemv: general matrix-vector multiplication.
gemm is optimized specifically for matrix-matrix multiplication (of large sizes), so it doesn't work very well with vectors.

Yes, this is what I meant.

No, gemv doesn't belong here. No plans


dm: upgrade go-mysql library

What problem does this PR solve?

Issue Number: close #11041
What is changed and how it works?
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
[x] No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
upgrade go-mysql to fix the connection blocked when read handshake packet

@lance6716

/check-issue-triage-complete


Cannot set Discover Region to All Regions

Description
Discover Region cannot be set to All Regions after it has been set to a specific region.
Version
1.7.0
Steps to Reproduce

Go to Settings
Change "Discover Region" to anything except "All Regions"
Save
Change "Discover Region" to "All Regions"
Save
Refresh page (will have reverted to the previous region)

Screenshots
No response
Logs
No response
Platform
desktop
Device
desktop
Operating System
Windows
Browser
Edge
Additional Context
No response
Code of Conduct

[X] I agree to follow Jellyseerr's Code of Conduct

Workaround is to stop jellyseerr go to config folder open settings.json and change from there from for example "de" to ""
And restart.
This is already a fixed issue in develop.


Adds helper to implement the gradient with onnxruntime

Codecov Report
Attention: 131 lines in your changes are missing coverage. Please review.

Comparison is base (fe5fd8e) 66.79% compared to head (33effe3) 65.18%.
Report is 2 commits behind head on main.

Files
Patch %
Lines

experimental_experiment/gradient/loss_helper.py
58.62%
96 Missing :warning:

experimental_experiment/gradient/grad_helper.py
84.78%
28 Missing :warning:

...eriment/gradient/ops/op_broadcast_gradient_args.py
81.08%
7 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #18      +/-   ##
==========================================
- Coverage   66.79%   65.18%   -1.62%
==========================================
  Files          11       15       +4
  Lines        1256     1712     +456
==========================================
+ Hits          839     1116     +277
- Misses        417      596     +179

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


Added TradingClass property to Instrument

This is necessary for IB data to work properly.

Can you explain a bit why we need the new table TradingClass? Is that something we will only need for IB? - if than i would prefer to add a "IB_" prefix ... that will make it easier for others to know for what this table is for. Else the application will be a bit IB specific... (just a small tip)

Right now its only use is for IB, but it's not necessarily Ib-specific. The use is to differentiate between different classes of futures on the same underlying, so for example monthly VIX futures have TradingClass "VX" while the weekly ones have "VX01" through "VX53". If we add IQFeed, it also uses this concept, but has different terminology. They call it "Future Root" (see e.g. http://www.iqfeed.net/symbolguide/index.cfm?symbolguide=guide&displayaction=support&section=guide&web=iqfeed&guide=commod&web=IQFeed&symbolguide=guide&displayaction=support&section=guide&type=cfe)

ah, ok. I pull it.
p.s.: The interface ICloneable - which is usedin class Interface - is no longer supported by .NET Core. So I would prefer to delete it.
Microsoft Design Guideline says that it should be obsoleted.
Removing ICloneable does not mean that we have to remove the method ... I would only use the method Clone() in a sealed class to be save...


Enable the new model serialization for dataprotection

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.DataProtectionBackup


Trap in simulation with existing compiler

I was trying to run make test with my existing 32-bit compiler, I got the following error:
[...]
python3 firmware/makehex.py firmware/firmware.bin 32768 > firmware/firmware.hex
vvp -N testbench.vvp
TRAP after 8224 clock cycles

My compiler was configured with:
$ ./configure --prefix=/opt/riscv_compiler --with-arch=rv32gc --with-abi=ilp32 --disable-threads

Any idea which flag is missing (or maybe several flags) ?

I used the Makefile to install the (rv32i) compiler with:
RISCV_GNU_TOOLCHAIN_GIT_REVISION = HEAD
instead of:
RISCV_GNU_TOOLCHAIN_GIT_REVISION = 411d134
(This was because I ran into some problems compiling the 411d134 git revision of the toolchain)
I ran into the same TRAP (same number of clock cycles) and it seems to be related to whether or not compressed instructions are used. I just started with this core (so I am not yet very familiar with it), but by changing (in the Makefile):
COMPRESSED_ISA = C
to:
COMPRESSED_ISA =
I was able to run the make test

Just encounter the same problem.
The problem seems to be caused by an unalign memory access in the early part of firmware/start.S.
.balign 16
irq_vec:
	/* save registers */

#ifdef ENABLE_QREGS

	picorv32_setq_insn(q2, x1)
	picorv32_setq_insn(q3, x2)

	# Load the address of irq_regs into x1, aka sp
	lui x1, %hi(irq_regs)
	addi x1, x1, %lo(irq_regs)

	picorv32_getq_insn(x2, q0)
	sw x2,   0*4(x1) # This very instruction causes an unaligned memory access

However, the symbol irq_regs follows right behind some other instructions, and aligned only if ENABLE_QREGS is not defined (which is defined by default in the first few lines of firmware/start.S). When compiled without compressed instructions, all RISC-V instructions remain 4-byte long, thus irq_regs has an alignment of 4-byte. However, when compiling with compressed ones, it's possible for irq_regs to align to 2-byte, leading to the unaligned memory access presented above.
	lw x28, 28*4+0x200(zero)
	lw x29, 29*4+0x200(zero)
	lw x30, 30*4+0x200(zero)
	lw x31, 31*4+0x200(zero)
#endif

#endif // ENABLE_QREGS

	picorv32_retirq_insn()

#ifndef ENABLE_QREGS
.balign 0x200
#endif
irq_regs:
	// registers are saved to this memory region during interrupt handling
	// the program counter is saved as register 0
	.fill 32,4

	// stack for the interrupt handler
	.fill 128,4
irq_stack:

I have no idea why irq_regs isn't always set to be aligned. But to solve the problem in this issue, we can simply remove the if-block around .balign to make sure that irq_regs is always aligned.

I tried removing the ifndef arounf .balign 0x200 but still doesn't solve the issue. Also tried the solutions Patrick @patrickerich mentioned. The make test still throws a
mismatch between q0 LSB and decoded instruction word! q0=0x0000BE78, instr=0x8286
TRAP after 86618 clock cycles
ERROR!

I haven't looked at this core for a while, but for me it seems that the problem was related to compiling the RISCV toolchain  from source (although I am not sure about the exact cause).
When using a pre-compiled toolchain the make test seems to run without problems. I just tried it (succesfully) with the precompiled toolchain from lowrisc, which you can get here
If you want to try it, simply:

download the lowrisc-toolchain-rv32imcb-20220524-1.tar.xz
unpack it somewhere (e.g. /opt/lowrisc)
modify the TOOLCHAIN_PREFIX variable in the Makefile (e.g. to TOOLCHAIN_PREFIX = /opt/lowrisc/lowrisc-toolchain-rv32imcb-20220524-1/bin/riscv32-unknown-elf-

HTH

Hi @patrickerich !
Thanks for the quick reply. i did try the pre-compiled toolchain but it still doesn't work. I made sure to clean the existing files before running it with the new toolchain as well. Still getting the same error.

Hi @AshvinVaidyanathan,
you mentioned:
I made sure to clean the existing files before running it with the new toolchain as well
How did you clean the existing files (run a make clean or checking out a fresh copy of the git repo)?
As you also mentioned that you tried several things, it would probably be best to start out with a fresh copy of the repo (specifically the Make file) and only modify the TOOLCHAIN_PREFIX variable (in the Makefile) to rule out any other changes you may have made (to the Makefile).

Hi @AshvinVaidyanathan,
The solution posted by @retrhelo is completely correct (Thanks @retrhelo!).
I tried to do a fresh compile of the riscv-gnu-toolchain (eventually even a multilib build) and the solution posted by @retrhelo does indeed solve the issue first mentioned by @pcotret.
I suspect that the reason that the lowrisc pre-build toolchain did not show the same problem (for me), is because of the configuration of the build. I am not sure exactly which option made the difference, but I did notice that a --disable-libmpx flag was used in their build.

Hi @patrickerich,
Thanks for your patience. A clean reinstall did the trick.


Trees of regions unexplored dont spawn when combining with better nether

Mod Name
Better Nether and Regions Unexplored
Mod Homepage
https://www.curseforge.com/minecraft/mc-mods/betternether
Describe the bug
Trees of regions unexplored dont spawn when using the two mods most likely due to BCLIB
Steps to reproduce

Only these mods are in it, with their dependency, I am pretty sure this is a known issue from the past but I could have sworn the tree spawned before. I am sure this is definitely a bclib issue and with how bad they are compatiblity wise. I have tried this with multiple worlds.
Here is the biome list: https://gist.github.com/catter1/1f90b77263e3746c20c1fd93a7393f69
Infernal Holts, Blackstone Basin, Mycotoxic Undergrowth, and Glistering Meadow
Logs
https://pastebin.com/D5y38Np8
Additional context
No response

Without Better Nether

nvm, https://github.com/quiqueck/BCLib/issues/75 I cant believe this is still an issue since February and they havent gone around to fixing it lol


[Plugin video_player] Can I play from a List or stream.

For now, I only see video_player can only play file、assert and net. Can it support raw data?
My situation is that I choice a file in flutter web. And the return value is data:video/mp4;base64,the data balabala, and I now want to play it.

Closing this as duplicate of https://github.com/flutter/flutter/issues/59387


[FEATURE REQUEST]: Shim creation helper and context menu ?

Prerequisites

[X] I have written a descriptive issue title.
[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
[X] I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name
Shim
Expected/Current Behaviour
Creating shims is difficult as a user
Of course this software was made to be used by scoop
But there are other reasons why someone might want to use this shim program
Here is an example. I wish to create shims of these executables

Steps to Reproduce
Not applicable

Possible Solution
I see two ways that could be helpful.
First would be as a command line interface
Specify one or more executables and the last parameter is the shim folder.
It copies a shim executable, names it appropriately and creates a .shim file as well
Example command line
absolute path
shim C:\Program Files (x86)\cdrtfe\tools\cdrtools\cdda2wav.exe C:\Users\user\commands
substituted paths
shim %ProgramFiles(x86)%\cdrtfe\tools\cdrtools\cdda2wav.exe %USERPROFILE%\commands
multiple substituted paths
shim %ProgramFiles(x86)%\cdrtfe\tools\cdrtools\cdda2wav.exe %ProgramFiles(x86)%\cdrtfe\tools\cdrtools\cdrecord.exe %ProgramFiles(x86)%\cdrtfe\tools\cdrtools\isoinfo.exe %ProgramFiles(x86)%\cdrtfe\tools\cdrtools\mkisofs.exe %ProgramFiles(x86)%\cdrtfe\tools\cdrtools\readcd.exe %USERPROFILE%\commands
absolute path followed by multiple relative paths
shim %ProgramFiles(x86)%\cdrtfe\tools\cdrtools\cdda2wav.exe cdrecord.exe isoinfo.exe mkisofs.exe readcd.exe %USERPROFILE%\commands
with perhaps "-s" for a command line parameter to automatically perform variable substitution in paths ?
And the other way would be as explorer context menu helper for valid executable files. As shown in my above screenshot
Scoop and Buckets Version
Not applicable

Scoop Config
Not applicable

PowerShell Version
Not applicable

Additional Softwares
No response

scoop help shim


dev: replace all *_div_rem by DivRem::div_rem

This improvement makes the codebase lighter by avoiding explicit imports of libfuncs and rely on the trait system to use the correct type

Can I do it, pls?

Cause of the DivRem trait signature which requires lhs and rhs to be of the same T type, I was unable to replace u512_safe_div_rem_by_u256 which is used here: crates/evm/src/instructions/stop_and_arithmetic_operations.cairo
The same applies to the i256_signed_div_rem function in crates/utils/src/i256.cairo, which takes a NonZero<u256> as its second argument, because it's not possible to have a NonZero<i256> since NonZero is a type defined in the compiler, not in Cairo ( thanks @enitrat ).


Fixes #3228: Error on changing repo name when the repo is a mirror

Proposed fix for #3228.  ctx.Repo.Mirror is refreshed following a repo name change.

Thanks!


⚠ 366.ru has degraded performance

In a6a8b0c, 366.ru (https://366.ru) experienced degraded performance:

HTTP code: 200
Response time: 1877 ms

Resolved: 366.ru performance has improved in 3ff79e2.


AWS Bedrock Service Raising Error: "Malformed input request: #: extraneous key [tools] is not permitted."

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
The following code raises a malformed input request based on extraneous key [tools] when querying the AWS Bedrock service.
def init_test_db(debug = False):
    # Initialize the database
    # Load environment variables from .env.local file
    load_dotenv(dotenv_path='.env.local')

    # Read PostgreSQL connection parameters from environment variables
    POSTGRES_DB = os.getenv("POSTGRES_DB")
    POSTGRES_USER = os.getenv("POSTGRES_USER")
    POSTGRES_PASSWORD = os.getenv("POSTGRES_PASSWORD")
    POSTGRES_HOST = os.getenv("POSTGRES_HOST")
    POSTGRES_PORT = os.getenv("POSTGRES_PORT")

    # Build the PostgreSQL connection URI
    postgres_uri = f"postgresql://{POSTGRES_USER}:{POSTGRES_PASSWORD}@{POSTGRES_HOST}:{POSTGRES_PORT}/{POSTGRES_DB}"
    db = SQLDatabase.from_uri(postgres_uri)
    if debug:
        print(db.table_info)
    return db

def init_llm(model = 'claude-v2.1'):
    # Create the LLM
    models = {
        'claude-v2.1': 'anthropic.claude-v2:1',
        'claude-v3-sonnet': 'anthropic.claude-3-sonnet-20240229-v1:0',
        'mistral-large': "mistral.mistral-large-2402-v1:0",
        'claude-v2': 'anthropic.claude-v2',
        'jurassic-2-mid': 'ai21.j2-mid-v1',
        'jurassic-2-ultra': "ai21.j2-ultra-v1",
    }

    llm = Bedrock(model_id=models[model], streaming=False, region_name='us-east-1')
    return llm

llm = init_llm()
db=init_test_db()
agent_executer = create_sql_agent(llm=llm, db=db, agent_type="openai-tools", verbose=True)
agent_executer.invoke("Which customer has the highest outstanding loan value")

Error Message and Stack Trace (if applicable)
ValueError: Error raised by bedrock service: An error occurred (ValidationException) when calling the InvokeModelWithResponseStream operation: Malformed input request: #: extraneous key [tools] is not permitted, please reformat your input and try again.
Description
I am trying to use the langchain library to build an AWS bedrock powered SQL agent.
System Info
langchain==0.1.13
langchain-community==0.0.29
langchain-core==0.1.36
langchain-openai==0.1.1
langchain-text-splitters==0.0.1
Windows 11
Python 3.8.10

Hello @jwstanwick, same issue here with mistral.mixtral-8x7b-instruct-v0:1. Did you find a solution?

Hi, I am experiencing the same with anthropic.claude-3-haiku-20240307-v1:0

Is this related to Bedrock not sending the header "anthropic-beta": "tools-2024-04-04" ?
https://docs.anthropic.com/claude/docs/tool-use

Please note that during the beta period:

Streaming (stream=true) is not yet supported. We plan to add streaming support in a future beta version.
While the feature is production-ready, we may introduce multiple beta versions before the final release.
Tool use is not yet available on third-party platforms like Vertex AI or AWS Bedrock, but is coming soon. See Legacy tool use for guidance on how to do tool use on Vertex AI and AWS Bedrock right now.

Hi, I am facing the same issue with llama3 model. Did anyone get a solution for fixing this?


feat(applicator): spread field on applyMiddlewareToField

This allows for some metadata declared directly in the type/resolvers definition, to be available on the middleware.
Closes https://github.com/prisma/graphql-middleware/issues/25

@maticzav  I've added a simple test case, let me know if it needs some work or improvement

Thanks for the feedback!
I've put the tests in a separated test suite

ping @maticzav (sorry, really need this feature 😄)
anything else needs improvement?

Sorry for the delay, just merged it. Thanks for adding the functionality and the PR 🎉


Allow Updating of GKE Node labels

Fixes https://github.com/perfectsense/gyro-google-provider/issues/271

Reviewed and tested


Fixed flaky tests in CompatParquetReaderTest.java with ObjectMapper

Description

Fixed flaky tests in CompatParquetReaderTest.java and FlattenSpecParquetReaderTest.java with ObjectMapper
Combined PR #15341, #15342
https://github.com/apache/druid/blob/ad32f8458670339808a3136a9578a10a52b8394f/extensions-core/parquet-extensions/src/test/java/org/apache/druid/data/input/parquet/CompatParquetReaderTest.java#L43
https://github.com/apache/druid/blob/ad32f8458670339808a3136a9578a10a52b8394f/extensions-core/parquet-extensions/src/test/java/org/apache/druid/data/input/parquet/FlattenSpecParquetReaderTest.java#L42
Test: testBinaryAsString, testParquetThriftCompat, testReadNestedArrayStruct, testProtoStructWithArray, testFlat1NoFlattenSpec, testFlat1Autodiscover, testFlat1Flatten, testFlat1FlattenSelectListItem, testNested1NoFlattenSpec, testNested1Autodiscover, testNested1Flatten, testNested1FlattenSelectListItem
Steps to Reproduce:

Clone the repogit clone git clone https://github.com/apache/druid.git

Install the packagemvn install -pl extensions-core/parquet-extensions -am -DskipTests

Run the test in regular runsmvn -pl extensions-core/parquet-extensions test -Dtest=org.apache.druid.data.input.parquet.CompatParquetReaderTest#testname

The test failed by running the test with Non-Dex tool.mvn -pl extensions-core/parquet-extensions edu.illinois:nondex-maven-plugin:2.1.1:nondex -Dcheckstyle.skip -Dtest=org.apache.druid.data.input.parquet.CompatParquetReaderTest#testname

The following is an example error message from testReadNestedArrayStruct
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.732 s <<< FAILURE! -- in org.apache.druid.data.input.parquet.CompatParquetReaderTest
[ERROR] org.apache.druid.data.input.parquet.CompatParquetReaderTest.testReadNestedArrayStruct -- Time elapsed: 0.052 s <<< FAILURE!
org.junit.ComparisonFailure:
expected:<{
  "[primitive" : 2,
  "myComplex" : [ {
    "id" : 1,
    "repeatedMessage" : [ 3 ]
  } ]]
}> but was:<{
  "[myComplex" : [ {
    "id" : 1,
    "repeatedMessage" : [ 3 ]
  } ],
  "primitive" : 2]
}>
        at org.junit.Assert.assertEquals(Assert.java:117)
        at org.junit.Assert.assertEquals(Assert.java:146)
        at org.apache.druid.data.input.parquet.CompatParquetReaderTest.testReadNestedArrayStruct(CompatParquetReaderTest.java:392)

Reason of flakiness:
These tests check the equality of two JSON strings. The data reading methods used createReader() in those tests do not retrieve data in a consistent order, which can possibly lead to different JSON representations of the same data during test runs.
Changes:

Imported fasterxml.jackson package, and changed from using standard assertion method Assert to using JSONNode and ObjectMapper, which parse two JSON strings and convert them to a tree structure and each node in the trees are compared. Thus, the order of the elements in JSON strings is deterministic and the test passes.

Release note

Fixed: CompatParquetReaderTest and FlattenSpecParquetReaderTest.java tests no longer fail when running with the NonDex tool.

This PR has:

[x] been self-reviewed.
[ ] added documentation for new or modified features or behaviors.
[x] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

We mistakenly pushed multiple commits. We will fix it asap!

We have rebased all commits and additional tags are accidentally added because of the additional commits added earlier.
Changes are good to merge now. @cryptoe

Hi @cryptoe,
Could you please take a moment to review and merge the PR? I've addressed the feedback, and I believe it's ready to go.
Much appreciated!

This will be reviewed along with #15418


Enhance the metrics in SparkUI with logical plan stats

What changes were proposed in this pull request?
I'm trying to implement a way to enhance the metrics in SQL tab with info in logical plan which can help track some info for optimizer. I've searched the jira for the "metrics ui logical plan", but not got the right one. So I try to add it via this PR.
In this PR, I get the est stats from the LogicalPlan via  class SparkPlan's logicalLink and store it in the class SparkPlanInfo metadata field.
But there is no such info in class SparkPlanGraphNode, which is the UI node for the SQL tab.
So I add the metadata field, which is with the same type as SparkPlan and finally add it in the dotFile.

Why are the changes needed?
In current version, we can see the metrics in SQL tab which is collected in the execution phase, which ignored the info in optimization phase. With this change, the stats in the logical phase can be passed into the sql tab.

Does this PR introduce any user-facing change?
It only add two row for the metrics in the SparkPlan.

How was this patch tested?
Test in local history server to check the new row values.
The new stats is added in the metric graph.

Was this patch authored or co-authored using generative AI tooling?
No.

Mind filing a JIRA and add it into the PR title?


Application skeleton

Create the initial application skeleton:

[ ] Source
[ ] Database connection
[ ] Theme/template
[ ] Resources
[ ] Images
[ ] SetUp

Synchronisation done


Lazy initialise RamPath instances generated internally

To prevent the overhead of generating RamPath objects for internal paths like classpaths or source paths when not used, make a variant of RamPath that can be lazily initialized internally.
This could operate by changing the existing implementation to only create the file system when needed (via the Lazy class in the utils package).
Alternatively it could be extracted to an interface and have a second implementation that handles this lazily. We'd have to consider how the getPath and getUri methods need to work in this case.

This one isn't going to work, since the path info is only generated once JIMFS is initialized, and that is needed if we want to store the paths internally ready for use.


feat(client): provide option for disabling console warn messages

Add noWarn client parameter.
resolves #319

This PR contains a:

[ ] bugfix
[x] new feature
[ ] code refactor
[ ] test update
[ ] typo fix
[ ] metadata update

Motivation / Use-Case
Add support for disabling console.warn messages on the client.
Resolves https://github.com/webpack-contrib/webpack-hot-middleware/issues/319
Breaking Changes

Additional Info

Looks like my git settings were misconfigured.  Not sure how to resolve the CLA issue.


feat(auth/forgotPassword): link existing game accounts

When using the "forgot password" endpoint, creates a Strapi account if it doesn't exist already and a game account is found with the submitted email address.
Fixes #1.

That should do the trick @kofal
Any suggestions or criticism?

Just saw this, I will try and let you know whether or not it worked.
From what I can see, it seems pretty straightforward, no comment or criticism at this time!

Keep in mind now you need to use the override endpoint (/api/strapi-azerothcore/auth/forgot-password instead of /api/auth/forgot-password)


WebGPU: Fix typo when declaring "highp sampler2DArray" in the NME

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/14922/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14922/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14922/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14922/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14922/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14922/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14922/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14922/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
Important - these might fail sporadically. This is an optional test.
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14922/merge/testResults/webgpuplaywright/index.html

WebGL2 visualization test reporter:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14922/merge/testResults/webgl2playwright/index.html


Problems with Ractive.set(".foo")

Hi,
Here is the fiddle:
http://jsfiddle.net/50hLj2r0/1/
As you see, adding with a "dotted" keypath adds the data to it but does not update the view. There is also no warning that ".foo" shouldn't be used in setters, like the other restricted references.
This ticket is actually twofolds:

a warning when using "Ractive.set / push / ..." using restricted references
properly cancel the action instead of doing something wrong or throwing an error

Oops, duplicate of #1958


[Feature Request]: Automating the Stargazers using action workflow

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
This feature will automate or manually allow the generation of the stargazers animation.
Use Case
For automation purposes, of the stargazers animation.
Benefits
No response
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC-EXT contributor
[ ] I'm a HACKTOBERFEST contributor
[X] I have starred the repository

@GAVINESHWAR Kindly assign me this issue for level 3 if possible

@yashksaini-coder, please complete as soon as possible.


New DropwDown chooser for vane control

Would be nice to add two more drop down chooser for Vane Control:
Vane Horizontal: (1->5, 12: auto, 0: swing) [1: "Leftmost", 2: "Left", 3: "Middle", 4: "Right", 5: "Rightmost"]
Vane Vertical: (1->5, 7: auto, 0: swing) [1: "Topmost", 2: "Up", 3: "Middle", 4: "Down",  5: "Bottommost"]
Name to be set:
vanehorizontal
vanevertical

By the way, in line 136 is a typo (not a big deal!): it must be "set vanevertical" and not "set vanehvertical" (without the h)


[debug] DebugConfigurationProvider.resolveDebugConfiguration does not get invoked on for the first debug session.

VSCode Version: 1.17.0-insider, date: 2017-09-29T20:32:46.808Z
Even though my debug extension registers a DebugConfigurationProvider upon activation (and it does activate on onDebug:<myExtensionType> - I can see this under extension debugger), VSCode does not invoke the resolveDebugConfiguration method, but instead goes straight to command specified in package.json's adapterExecutableCommand.  If the latter isn't provided it just says "Cannot determine executable for debug adapter '{0}'.".
This happens for the first debug session only; for the second one everything works as advertised.

@vadimcn thanks for reporting this however this is expected behavior. Your extension should activate on onDebug activation event, not on onDebug:<myExtensionType> since this is deprecated.
More about this can be found here
https://github.com/Microsoft/vscode/issues/33258
https://github.com/Microsoft/vscode/issues/33803
https://github.com/Microsoft/vscode-docs/blob/vnext/release-notes/v1_17.md#debug-contributions-in-packagejson


⬆ Update to Quarkus 2.13.5.Final ⬆

Related to this GH Issue in the technical exercises, this PR includes the upgrade to the latest minor version of Quarkus 2.13.X.

@eformat I believe that quarkus version needs to be updated to avoid image security checks to fail.

i will update this to match upstream which we build the image from:
https://github.com/petbattle/pet-battle-api
will close this and reopen if thats OK

see - https://github.com/rht-labs/pet-battle-api/commit/ec05541b6886ebe8f4c8d81b2f6edb79c87ae3db
cheers


Mark instances unhealthy if the update fails

Currently if the stack is updated and there is an error, the error will be silently discarded. This marks the instance as unhealthy and it will be cycled out.

Hoping this will assist with debugging #381


proc: Back to using vendored golang.org/x/debug/

Patch https://go-review.googlesource.com/23085 has been merged so we
can go back to using golang.org/x/debug/.

lgtm


coeman-mon-plot-disk has dependency on pymicmac

It uses utils_execution.py from pymicmac.
It can't use pycoeman utils_execution.py it does not cover the functionality from pymicmacs's utils_execution.py

Solved by https://github.com/NLeSC/pycoeman/pull/11


Keep the open windows in a multiple monitors setup on the monitors they've been located to after waking up!

Description of the new feature / enhancement
When using multiple monitors and moving, arranging the open windows on different monitors. They will all go the main monitor after the PC goes to sleep.
Scenario when this would be used?
Browser on the left monitor and a word document is open on the right one.. When the PC is waken up all of them will go the main monitor which in my case the right monitor and I'll have to rearrange and send the browser to the left monitor.
Supporting information
No response

I can confirm this is a problem. It also happens after reboot, or when switching virtual displays. All windows nest onto the same screen when switching back to a desktop. This is a new problem. Never used to do this. Happens in version 0.66.0 of PowerToys. Can't use fancy zones until this is fixed. Confirmed that switching off fancy zones in PowerToys fixes the issue.
To repeat:
Create a second virtual desktop.
Move windows onto non-primary display.
Use keyboard shortcut Windows+Shift+Left/Right to switch away from virtual desktop
Switch back to previous virtual desktop
Outcome:
All open windows gathered together on primary monitor.

Same as @jacobus here, it's been going on for a little while for me. I'm on 0.65 but it's been going on for a few versions rendering FancyZone effectively unusable.
Is this a known bug, is there a workaround?

/dup https://github.com/microsoft/PowerToys/issues/24656


Git: Ignore notebook checkpoints

Codecov Report
Patch and project coverage have no change.

Comparison is base (9001050) 100.00% compared to head (141fdec) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #287   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           33        33
  Lines         1356      1356
  Branches       316       316
=========================================
  Hits          1356      1356

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

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


NCAR CMIP6 source_id CESM2-WACCM-FV2

label = CESM2-WACCM-FV2
label_extended = CESM2-WACCM-FV2
source_id = CESM2-WACCM-FV2
institution_id = NCAR
release_year = 2019
activity_participation = CMIP
aerosol:
description = MAM4 (same grid as atmos)
native_nominal_resolution = 280 km
atmos:
description = WACCM6 (1.9x2.5 finite volume grid; 144 x 96 longitude/latitude; 70 levels; top level 4.5e-06 mb)
native_nominal_resolution = 280 km
atmosChem:
description = MAM4 (same grid as atmos)
native_nominal_resolution = 280 km
land:
description = CLM5 (same grid as atmos)
native_nominal_resolution = 280 km
landIce:
description = CISM2.1
native_nominal_resolution = 5 km
ocean:
description = POP2 (320x384 longitude/latitude; 60 levels; top grid cell 0-10 m)
native_nominal_resolution = 100 km
ocnBgchem:
description = MARBL (same grid as ocean)
native_nominal_resolution = 100 km
seaIce:
description = CICE5.1 (same grid as ocean)
native_nominal_resolution = 100 km

@strandwg thanks for this, the details above are registered following the same changes noted in #754. The registered info can be most easily viewed at CMIP6_source_id.html


Can't build - Requires DevExpress subscription?

This looks like it could be very helpful but I am unable to build it without paying a thousand dollars or more for the DevExpress tools. Is there a workaround?
PS: The code has a dependency on many DevExpress v18.2 asseblies, the current version is 19.x.
Would love to try out this tool, if not for the extreme expense for the requirements.
Bruce.

Hi Bruce. There‘s no way to make that possible without violating the DevExpress license agreeement: You need a subscription to build apps with it.
However, it‘s okay to redistribute the DevExpress-assemblies with the built application. That‘s why you can easily take a prebuilt version from the releases tab.


Update search.txt

@sebbourgeois Probably because he think he is being clever with updating the default search file so that everbody who downloads the project will search for his videos by default.
However he doesent know hit pull requests work and how they are being reviewd...


Set sparse to an external VHDX.

I have set sparseVhd=true in .wslconfig
then ,copy a clean vhdx from another distribute to E:\data.vhdx
then
wsl --shutdown
wsl --mount --vhd "E:\data.vhdx"
lsblk
sudo mkfs.ext4 /dev/sdc
wsl --shutdown
wsl --mount --vhd "E:\data.vhdx"
wsl --cd /mnt/wsl/Edatavhdx

Then I can write files to this external vhdx in wsl,but it cannot shrunk size automally after file was deleted.
It seems that only system vhdx was supported.
wish wsl to support setting sparseVhd to external vhdx.

Logs are required for review from WSL team
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
How to collect WSL logs

/feature

@hpx502766238: You mark set a vhd as sparse by calling: fsutil sparse setFlag C:\path\to\vhd before the disk is mounted inside WSL.


[docs] Using custom SvgIcon with SVGR does not work as described in the docs, with next.js App Router

Duplicates

[X] I have searched the existing issues

Related page
https://mui.com/material-ui/icons/#component-prop
Kind of issue
Broken demonstration
Issue description
Yesterday I started working with Material UI's Next.js App Router typescript example. First thing I tried doing was replacing the DashboardIcon with a custom svg logo.
I tried following the example code at https://mui.com/material-ui/icons/#component-prop, and immediately started getting issues:

Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
Check the render method of MuiSvgIconRoot.

Lots of debugging and issue hunting later, I put a more complicated webpack config into next.config.js, as suggested in various Github issues, including (but not limited to) in the svgr and next.js repos:
module.exports = {
  webpack: (config, options) => {
    // Grab the existing rule that handles SVG imports
    const fileLoaderRule = config.module.rules.find((rule) =>
      rule.test?.test?.('.svg'),
    )
    config.module.rules.push(
      // Reapply the existing rule, but only for svg imports ending in ?url
      {
        ...fileLoaderRule,
        test: /\.svg$/i,
        resourceQuery: /\.svg\?url$/,
      },
      // Convert all other *.svg imports to React components
      {
        test: /\.svg$/i,
        issuer: fileLoaderRule.issuer,
        resourceQuery: { not: [...fileLoaderRule.resourceQuery.not, /\.svg\?url$/] },
        use: [{
          loader: '@svgr/webpack',
          options: {
            icon: 24,
          }
        }]
      },
    )
    // Modify the file loader rule to ignore *.svg, since we have it handled now.
    fileLoaderRule.exclude = /\.svg$/i
    return config
  },
 // [snip]

(My only addition here is to add the icon: 24 svgr/webpack option, otherwise my icon took up the full page)
However, using the <SvgIcon component={MyIcon} /> syntax in layout.tsx, I got another error:

Error: Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".
   {$$typeof: ..., render: function}
                           ^^^^^^^^

I managed to get around this, by restructuring my layout.tsx like so:
<SvgIcon>
  <MyIcon />
</SvgIcon>

I don't pretend to be a pro when it comes to next.js, webpack, and certainly not material-ui, which I'm only just starting to try and use, so I'm not suggesting this is the best solution or anything. But currently, the code examples in the docs don't work with the Next.js App Router, and it has taken me a full day's worth of time to come up with a working solution.
One other nice suggestion, by @pascalpp (https://github.com/gregberge/svgr/issues/897#issuecomment-1762463668), is to add a types.ts file, which allows us to fallback to the default next.js webpack loader for svg files, by appending a string to the end of the URL:
 declare module '*.svg?url' {
  import { FC, SVGProps } from 'react'
  const content: FC<SVGProps<SVGElement>>
  export default content
}

However, this uses react's SVGProps, instead of material-ui's SvgIconProps or SvgIconOwnProps. I tried changing SVGProps for SvgIcon{Own,}Props, but it didn't work and I've given up on this for now.
Any feedback on this would be appreciated.
Context 🔦
I was just trying to replace the homepage icon with a custom svg logo. Followed code examples in the docs, but it didn't work...

@alexleach Could you share the <svg> that you are using?

Sure, I've only tried the one to be fair (before and after resizing the canvas to 24 by 24px), as I didn't expect the svg to be the issue... This is the 24 x 24px version, which I resized in Inkscape yesterday.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright Bio IT Consulting Ltd 2023.  This is a copyrighted image © Bio IT Consulting Ltd

@alexleach I cleaned up your svg even more (with Affinity Designer and svgo), in Next.js it will work using createSvgIcon in a Client component: https://codesandbox.io/p/devbox/nextjs-createsvgicon-p3fk6j?file=%2Fsrc%2Fcomponents%2FClientPage.tsx%3A14%2C10
(In my own experience I've found svgs with transform properties to be a nightmare)
As for getting it to work in a Server component, I haven't looked into whether it's an issue with the SVGR/webpack setup or with Material UI yet.
If I understand correctly, you got this to work? In a Server component?
<SvgIcon>
  <MyIcon />
</SvgIcon>

Would you mind sharing a reproduction? Probably make a minimal repository if you don't mind, it could be tricky trying to fiddle with Next.js config level stuff in CodeSandbox

Oh awesome, thanks for optimising that SVG even more :))
Yeah I'm hoping to apply even more transformations to it tbh, with one idea in particular to make a loading icon where the magnifying glass moves around and scales the Petri dish. Might be a while before I get around to that, but it's a plan anyway :))
Anyway, we digress. I'm out for the evening now (GMT+7 where I am). I'll take another look in the morning and will document/clone/provide you with a minimal, reproducible setup for this.
Thanks again for your speedy assistance, much appreciated 😊

Hi @mj12albert ,
Thanks again for this. I've not played much with CodeSandbox before, pretty cool how well it integrates with github and VSCode, but yeah, agreed it is a bit fiddly, slow and sketchy when playing with next.js, webpack, and coding in VSCode on wi-fi.
Anyway, I thought you made a great minimal example, so I've taken it from there, put it into my github, and have made a couple of commits / tags:
v0.1.0-alpha

Saved the svg code as a separate SVG file in /public/assets/my-logo.svg
Installed webpack.
Implemented the code example, as described at https://mui.com/material-ui/icons/#component-prop
Doesn't work. Breaks with Error:

 - error Error: Unsupported Server Component type: {...}
    at stringify (<anonymous>)

v0.2.0-beta

Installed @svgr/webpack
Configured it in next.config.js
Got a <SvgIcon> component working inside of layout.tsx, by nesting <MySvgIcon> inside of it

I was having a think about the error when using the <SvgIcon component={MySvgIcon} /> coding style, where it complains as follows:

Error: Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server".
  <... component={function} sx={{...}}>
                 ^^^^^^^^^^

This seems to imply that <SvgIcon> is a Client component. I kind of consider svg files as static. This is why I save them as files in my /public/assets folder. Therefore, shouldn't they be Server components? Or am I thinking about this wrongly?
Thanks again for your prompt help looking into this.
BW,
Alex

I was working on something similar. Almost all of MUI components including SvgIcon are client components.
In the App router, you can pass server component as a child to a Child component. Probably thats why it does not throw you any error
For svg icons, I am calling them server components cause if you havent used "use client" in your component, Next will consider it as a server component
https://nextjs.org/docs/app/building-your-application/rendering/composition-patterns#supported-pattern-passing-server-components-to-client-components-as-props


Custom tags/extensions

A nice thing about ReST is its standard for adding custom directives. Would such a thing be useful in cebe/markdown?
Kramdown does this:
{::comment}
This is a comment which is
completely ignored.
{:/comment}
Inline {::nomarkdown}something here{:/}!
{::options auto_ids="false" /}
An alternative:
@tag arg arg
content content content
content content content
/@tag
Docutils (the lib with the ReST parser) has a nice Directive class that does some of the parsing for dumb bunnies like me. For example:
class Exercise(Directive):
    has_content = False
    required_arguments = 1

    def run(self):
        result = '[[[cycoexercise:' + self.arguments[0] + ']]]\n'
        raw_node = nodes.raw('', result, format='html')
        return [raw_node]

Given a tag like this...
.. exercise:: 666
... the Directive class would pick out the 666 and supply it to the subclass in self.arguments. If the tag has content, it shows up in self.content. You can do this...
        self.state.nested_parse(
            self.content,
            self.content_offset,
            content_node
        )

... if the content of the custom tag is to contain ReST.
Any chance of something like this?
Kieran

I read the issue twice but I do not understand what to do with it. This library implements markdown parsing using extisting standards, I am not going to develop new markdown syntax. That is possible in your own application or library by extending the classes provided by this library.


Is the NMS   soft NMS？

Is the NMS   soft NMS？

There is an NMS implementation and soft NMS implementation in the code. The soft NMS needs to enabled in the config file and is used when testing.

Hi @Constannnnnt，I found the use of nms in test.py
   keep = box_utils.nms(dets_j, cfg.TEST.NMS)               nms_dets = dets_j[keep, :]
do you have some ideas about where can i set different nms for different classes？
Thanks so much！

@louxy126 If I understand it correctly about your question, you want to have different nms values for different classes, right? I don't think the current implementation supports the adaptive nms, neither do most of the implementations. If you want to do that, I guess you need to write it on your own.


WMS option transparent must be TRUE or FALSE

In v-leaflet, an org.vaadin.addon.leaflet.LWmsLayer has a method for setting the transparent option to a Boolean value. This results in a &transparent=true or &transparent=false string added to the URL of the WMS service.
Unfortunately this won't work with all WMS services, since the WMS 1.3.0 specification, ch. 6.8.1 states: »Parameter names shall not be case sensitive, but parameter values shall be.« And ch. <IP_ADDRESS> states: »TRANSPARENT can take on two values, "TRUE" or "FALSE".« Cf. OpenGIS Web Map Server Implementation Specification, OGC 06-042. For example this does not work with https://services.datafordeler.dk/Dkskaermkort/topo_skaermkort/1.0.0/wms.
This behaviour is observed in v-leaflet-1.0.3 with Vaadin 7.7.4.
P.S. A workaround is to explicitly set the transparent option via setCustomOption("transparent", "FALSE").

Looks like this isseu would belong to : https://github.com/mstahv/v-leaflet repository