Cannot get to work in Angular Framework using Webpack for bundling

Node v10.16.3
@hashgraph/sdk  v1.2.1
angular-cli  v9.1
Angular Code
import {Mnemonic} from '@hashgraph/sdk'; . . const result = Mnemonic.generate();
Issue while compiling
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'crypto' in '/home/paul/Desktop/Projects/............/node_modules/@hashgraph/sdk/lib/crypto' ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'crypto' in '/home/paul/Desktop/Projects/............/node_modules/@hashgraph/sdk/lib/crypto' ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'crypto' in '/home/paul/Desktop/Projects/Projects/............/node_modules/@hashgraph/sdk/lib/crypto' ERROR in ./node_modules/cipher-base/index.js Module not found: Error: Can't resolve 'stream' in '/home/paul/Desktop/Projects/Projects/............/node_modules/cipher-base'

You need to load the crypto-browserify polyfill. v2 will remove the need for that (and that piece is actually done and on develop )


refactor(project): remove the deprecated Babel polyfill

What does this PR do?
The package @babel/polyfill has been deprecated in favor of using core-js and regenerator-runtime directly, so this PRs removes the depenendency.
The replacement packages are not being installed on this repository because they'll be added by the build engines.
This is breaking because the package @babel/polyfill is not longer installed.
How should it be tested manually?
yarn test
# or
npm test

Pull Request Test Coverage Report for Build 280

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 277:
0.0%

Covered Lines:
2144

Relevant Lines:
2144

💛  - Coveralls


com.mojang.authlib.GameProfile [build PurPur #2307]

Spark link

Expected behavior
After upgrading to build #2307, there are errors everywhere:
I found this out by going back to build #2305.
[02:31:39] [Server thread/WARN]: java.lang.IllegalArgumentException: Can not set net.minecraft.world.item.component.ResolvableProfile field org.bukkit.craftbukkit.inventory.CraftMetaSkull.profile to com.mojang.authlib.GameProfile
Observed/Actual behavior

Steps/models to reproduce

Purpur version
latest build 1.21.1
Agreements

[X] I am running the latest version of Purpur available from https://purpurmc.org/downloads.
[X] I have searched for and ensured there isn't already an open issue regarding this.
[ ] I ticked all the boxes without actually reading them
[X] My version of Minecraft is supported by Purpur.

Other
No response

Because of this, such plugins as BattlePass, PlayerWarps did not work.

This has to do with the recent Paper upstream, Please reproduce on Paper and report your findings to Paper's issue tracker.

~This has to do with the recent Paper upstream, Please reproduce on Paper and report your findings to Paper's issue tracker or their support channels.~
Paper seems to have fixed it in their recent builds, will just have to wait for another upstream.

Okay, we're waiting :)

https://github.com/PurpurMC/Purpur/commit/8332fa45d9886aed8cf0c114e08c6671a06794c8

@granny no fixes

are you able to reproduce on the latest version of paper?

are you able to reproduce on the latest version of paper?

I won't test the paper, really :)

are you able to reproduce on the latest version of paper?

The problem persists also on 2310 build .....

I can't update because of this, I've already missed 5 versions.

keeping closed, refer to Machine's answer here: https://github.com/PaperMC/Paper/issues/11428#issuecomment-2366830328


Error compiling for Cortex-M0 with GCC

I'm trying to compile for a Cortex-M0 (actually a Cortex-M0+) and I'm getting these errors:
[build] [19/246   4% :: 0.279] Building C object targets/AzureRTOS/RaspberryPi/RPI_PICO/AzureSource/CMakeFiles/threadx.dir/common/src/tx_thread_delete.c.obj
[build] FAILED: targets/AzureRTOS/RaspberryPi/RPI_PICO/AzureSource/CMakeFiles/threadx.dir/common/src/tx_thread_delete.c.obj
[build] E:\nftools\GNU_Tools_ARM_Embedded\9-2020-q2-update\bin\arm-none-eabi-gcc.exe -DTX_INCLUDE_USER_DEFINE_FILE -I_deps/azure_rtos-src/ports/cortex_m0/gnu/inc -I_deps/azure_rtos-src/common/inc -Itargets/AzureRTOS/RaspberryPi/RPI_PICO/AzureSource/custom_inc -g   -DDEBUG -std=c11 -MD -MT targets/AzureRTOS/RaspberryPi/RPI_PICO/AzureSource/CMakeFiles/threadx.dir/common/src/tx_thread_delete.c.obj -MF targets\AzureRTOS\RaspberryPi\RPI_PICO\AzureSource\CMakeFiles\threadx.dir\common\src\tx_thread_delete.c.obj.d -o targets/AzureRTOS/RaspberryPi/RPI_PICO/AzureSource/CMakeFiles/threadx.dir/common/src/tx_thread_delete.c.obj   -c _deps/azure_rtos-src/common/src/tx_thread_delete.c
[build] C:\Users\jose\AppData\Local\Temp\cccGFaRj.s: Assembler messages:
[build] C:\Users\jose\AppData\Local\Temp\cccGFaRj.s:47: Error: selected processor does not support requested special purpose register -- `mrs r3,PRIMASK'
[build] C:\Users\jose\AppData\Local\Temp\cccGFaRj.s:55: Error: selected processor does not support `cpsid i' in ARM mode
[build] C:\Users\jose\AppData\Local\Temp\cccGFaRj.s:85: Error: selected processor does not support requested special purpose register -- `msr PRIMASK,r3'
[build] C:\Users\jose\AppData\Local\Temp\cccGFaRj.s:159: Error: selected processor does not support requested special purpose register -- `msr PRIMASK,r3'

Similiar ones show up with other files.
This goes away it I add #define TX_DISABLE_INLINE to tx_user.h.
Seems that something is wrong with the thumb / arm modes...

Seems like you don't have the right build settings - you're trying to build in ARM mode rather than THUMB mode.

Here's what I'm using :
set(CMAKE_ASM_FLAGS " -mcpu=cortex-m0plus -mtune=cortex-m0plus -mthumb " CACHE INTERNAL "asm compiler flags")
and
set(CMAKE_EXE_LINKER_FLAGS " -Wl,--gc-sections -Wl,--no-wchar-size-warning -Wl,--print-memory-usage -mthumb -mcpu=cortex-m0plus -nostartfiles " CACHE INTERNAL "executable linker flags")

Somehow those settings don't seem to be active when actually building the files.
Have you built the example that is included in threadx\ports\cortex_m0\gnu\example_build?

Somehow those settings don't seem to be active when actually building the files.

🤔 could be... let me double check this...

@goldscott you are correct! At some point the CMAKE definitions for the compiler where being overriten.
This is not an issue anymore.
Apologies for taking your time and completly missing that the compiler options where not there at all...


SQS Crossplane Composite Wrapper Resource

What: Queue resource is in v1beta1 in the aws-crossplane provider. In order to allow our multi-tenancy users to deploy and manage this resource type we need to create a composition wrapper around it (resource and rbac) and add it to our DFDS Configuration Package
Why: This will allow cluster users to deploy and manage AWS SQS Queue resources using Crossplane in Hellman with appropriate RBAC permissions

[x] Create XRD
[x] Create Composition
[x] Test in Sandbox
[x] Create Release

This is all done apart from the release.  I think that is still pending because i'm waiting on the PR so I can merge into master and THEN release.

All done.  New release created.


Fix BrukerTimsTofMethodExporter exception

Looks great.
If you wanted, you could use "??" instead of the if statement:
target.time_in_seconds_begin = (predictedRT- windowRT / 2) * 60 ?? 0;
target.time_in_seconds_end = (predictedRT+ windowRT / 2) * 60 ?? 0;

You're right, I like that better.


Insert a Pause & xpath

OpenTest version number: 0.9.16
Issue description:
I inserted a Pause on my YAML code, but it fails the test whenever I am running my Actor. I'm not sure if it's because I'm using Appium to initialize it, and all my other functions. THEN adding a selenium pause. Can I not add two different keywords?
Steps to reproduce:

Relevant log information:

10:22:06 | APP | Evaluating action 7/9 (org.getopentest.appium.Tap) in segment 1 (Clicks the awesome button)...
-- | -- | --
10:22:06 | APP | TRACE: Initializing action org.getopentest.appium.Tap...
10:22:06 | APP | Executing action org.getopentest.appium.Tap with arguments {"locator":{"id":"com.son.son.inhouse:id/order_ahead_optin_button_accept"}}...
10:22:06 | APP | TRACE: AppiumTestAction.swipeAndCheckElementVisible (By.id: com.son.son.inhouse:id/order_ahead_optin_button_accept, none)
10:22:07 | APP | TRACE: Action org.getopentest.appium.Tap produced no output values
10:22:07 | APP | Evaluating action 8/9 (org.getopentest.appium.Tap) in segment 1 (Click the profile button)...
10:22:07 | APP | TRACE: Initializing action org.getopentest.appium.Tap...
10:22:07 | APP | Executing action org.getopentest.appium.Tap with arguments {"locator":{"id":"com.son.son.inhouse:id/dashboard_profile_button_image"}}...
10:22:07 | APP | TRACE: AppiumTestAction.swipeAndCheckElementVisible (By.id: com.son.son.inhouse:id/dashboard_profile_button_image, none)
10:22:08 | APP | TRACE: Action org.getopentest.appium.Tap produced no output values
10:22:08 | APP | Evaluating action 9/9 (org.getopentest.selenium.ActionsPause) in segment 1 (Pauses for 5 seconds)...
10:22:08 | APP | TRACE: Initializing action org.getopentest.selenium.ActionsPause...
10:22:08 | APP | Loading configuration from "/home/son/Opentest/actor-app/actor.yaml"
10:22:08 | APP | Using local Selenium server
10:22:08 | APP | Attempting screenshot capture for action org.getopentest.selenium.ActionsPause...
10:22:08 | APP | ERROR: java.lang.Exception: Failed executing test mobile/Log In, segment 1 	at org.getopentest.base.TestActor.executeTestSegment(TestActor.java:2080) 	at org.getopentest.base.TestActor.runOneSession(TestActor.java:2796) 	at org.getopentest.base.TestActor.runOneSession(TestActor.java:2828) 	at org.getopentest.Main.main(Main.java:20) Caused by: java.lang.RuntimeException: There was an error while executing action no. 9 (org.getopentest.selenium.ActionsPause) in segment 1 of test mobile/Log In. The action definition was: {   "action": "org.getopentest.selenium.ActionsPause",   "args": {     "durationMs": 5000   },   "description": "Pauses for 5 seconds" } 	at org.getopentest.base.TestActor.executeTestSegment(TestActor.java:2043) 	... 3 more Caused by: java.lang.RuntimeException: Failed executing action org.getopentest.selenium.ActionsPause with arguments {"durationMs":5000} 	at org.getopentest.base.TestActor.executeActionByDef(TestActor.java:1742) 	at org.getopentest.base.TestActor.executeTestSegment(TestActor.java:1993) 	... 3 more Caused by: java.lang.RuntimeException: The "selenium.browserName" config property specifies a browser that is invalid or not supported. The property value was "". The valid values are: "chrome", "edge", "firefox", "internet explorer" and "safari". 	at org.getopentest.selenium.core.SeleniumHelper.createDriver(SeleniumHelper.java:102) 	at org.getopentest.selenium.core.SeleniumHelper.getDriver(SeleniumHelper.java:168) 	at org.getopentest.selenium.core.SeleniumTestAction.initialize(SeleniumTestAction.java:139) 	at org.getopentest.base.TestActor.executeAction(TestActor.java:1468) 	at org.getopentest.base.TestActor.executeActionByClassName(TestActor.java:1534) 	at org.getopentest.base.TestActor.executeActionByDef(TestActor.java:1633) 	... 4 more
10:22:09 | APP | Test session has completed

The reason for the failed test should be clearly spelled out in the test session log (the errors are easy to spot, because they are shown on a gray background). Typically, the most useful information is at the bottom of the gray area, so start there and work your way up to find the cause of the error. Look for the lines starting with "Caused by", because that's normally where the useful error information is going to be. Here's an example of a session log:
Caused by: java.lang.RuntimeException: Failed executing action org.getopentest.selenium.Click with arguments {"explicitWaitSec":5,"locator":{"xpath":"//a[text()='Accept Cookies']"}}
	at org.getopentest.base.TestActor.executeActionByDef(TestActor.java:1760)
	at org.getopentest.base.TestActor.executeTestSegment(TestActor.java:2013)
	... 3 more
Caused by: java.lang.RuntimeException: Failed clicking on element By.xpath: //a[text()='Accept Cookies']
	at org.getopentest.selenium.Click.run(Click.java:34)
	at org.getopentest.base.TestActor.executeAction(TestActor.java:1485)
	at org.getopentest.base.TestActor.executeActionByClassName(TestActor.java:1545)
	at org.getopentest.base.TestActor.executeActionByDef(TestActor.java:1645)
	... 4 more
Caused by: org.openqa.selenium.TimeoutException: Expected condition failed:
	waiting for element to be clickable:
	[[ChromeDriver: chrome on XP (f14381d8e799cfac1fb4c2c55e0e6b94)] ->
	xpath: //a[text()='Accept Cookies']] (tried for 5 second(s) with 500 MILLISECONDS interval)
	Build info: version: '3.9.1', revision: '63f7b50', time: '2018-02-07T22:25:02.294Z'

I am not sure what you mean by "adding a selenium pause". What is the name of the keyword you're trying to use? is it org.getopentest.selenium.ActionsPause? There are a couple of ways to insert a delay in OpenTest, (the $delay function and the Delay test action), but in 99% of scenarios you don't need to use them, because OpenTest already performs all the waits necessary automatically.
If you paste the contents of the error message in your log, I can tell you exactly what the problem is.

OK, after you posted the log information, I can see that, indeed, you are trying to use the org.getopentest.selenium.ActionsPause keyword. However, that is only intended to be used for web testing (since it's in the "selenium" namespace). Behind the scenes, your test actor actually tries to start a browser to execute this action, but fails because it doesn't have the right configuration in the selenium section. The relevant error message in the log was: The "selenium.browserName" config property specifies a browser that is invalid or not supported. The property value was "". The valid values are: "chrome", "edge", "firefox", "internet explorer" and "safari".
If all you're trying to do is to insert a pause in your test flow, you can do it using the $delay function in a script action, like this"
- description: Pause for 5 seconds
  script: $delay(5000)

Ok quick question. My xpath setup is

description: Insert Password
action: org.getopentest.appium.SendKeys
args:
locator: { xpath: "//android.widget.EditText[@text='PASSWORD']"}
Does this look correct?

I think you need something more along the lines of
- description: Type password
  action: org.getopentest.appium.SendKeys
  args:
    locator: { xpath: "//android.widget.EditText[contains(@resource-id,'password')]"}
    text: PASSWORD

The SenKeys action requires two important arguments: the locator of the element to type into and the text you want to type. If you look at the documentation, those arguments are shown in bold font: https://getopentest.org/reference/appium-keywords.html#sendkeys. The bold font means the argument is mandatory, so keep that in mind while looking a the test action reference documents.

Cannot create property=descripton for JavaBean=org.getopentest.testdef.TestDefAction@492fc69e
in 'reader', line 67, column 13:
- descripton: Inserts Password
^
Unable to find property 'descripton' on class: org.getopentest.testdef.TestDefAction
in 'reader', line 67, column 25:
- descripton: Inserts Password
^
in 'reader', line 7, column 11:
- description: Initialize the Ap ...
^
in 'reader', line 5, column 7:
- segment: 1
^
in 'reader', line 3, column 3:
- actor: APP
^
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:313)
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:190)
at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:346)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:184)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:143)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:129)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:505)
at org.yaml.snakeyaml.Yaml.loadAs(Yaml.java:499)
at org.getopentest.base.TestActor.getTestDefinition(TestActor.java:2219)
at org.getopentest.base.TestActor.runOneSession(TestActor.java:2716)
at org.getopentest.base.TestActor.runOneSession(TestActor.java:2828)
at org.getopentest.Main.main(Main.java:20)

Caused by: Cannot create property=segments for JavaBean=org.getopentest.testdef.TestDefActor@2fb68ec6
in 'reader', line 3, column 5:
- actor: APP
^
Cannot create property=actions for JavaBean=org.getopentest.testdef.TestDefSegment@117632cf
in 'reader', line 5, column 9:
- segment: 1
^
Cannot create property=descripton for JavaBean=org.getopentest.testdef.TestDefAction@492fc69e
in 'reader', line 67, column 13:
- descripton: Inserts Password
^
Unable to find property 'descripton' on class: org.getopentest.testdef.TestDefAction
in 'reader', line 67, column 25:
- descripton: Inserts Password
^
in 'reader', line 7, column 11:
- description: Initialize the Ap ...
^
in 'reader', line 5, column 7:
- segment: 1
^
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:313)
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:190)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:184)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructSequenceStep2(BaseConstructor.java:277)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructSequence(BaseConstructor.java:248)
at org.yaml.snakeyaml.constructor.Constructor$ConstructSequence.construct(Constructor.java:539)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:184)
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:298)
... 11 more

Caused by: Cannot create property=actions for JavaBean=org.getopentest.testdef.TestDefSegment@117632cf
in 'reader', line 5, column 9:
- segment: 1
^
Cannot create property=descripton for JavaBean=org.getopentest.testdef.TestDefAction@492fc69e
in 'reader', line 67, column 13:
- descripton: Inserts Password
^
Unable to find property 'descripton' on class: org.getopentest.testdef.TestDefAction
in 'reader', line 67, column 25:
- descripton: Inserts Password
^
in 'reader', line 7, column 11:
- description: Initialize the Ap ...
^
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:313)
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:190)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:184)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructSequenceStep2(BaseConstructor.java:277)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructSequence(BaseConstructor.java:248)
at org.yaml.snakeyaml.constructor.Constructor$ConstructSequence.construct(Constructor.java:539)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:184)
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:298)
... 18 more

Caused by: Cannot create property=descripton for JavaBean=org.getopentest.testdef.TestDefAction@492fc69e
in 'reader', line 67, column 13:
- descripton: Inserts Password
^
Unable to find property 'descripton' on class: org.getopentest.testdef.TestDefAction
in 'reader', line 67, column 25:
- descripton: Inserts Password
^
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:313)
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:190)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:184)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructSequenceStep2(BaseConstructor.java:277)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructSequence(BaseConstructor.java:248)
at org.yaml.snakeyaml.constructor.Constructor$ConstructSequence.construct(Constructor.java:539)
at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:184)
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:298)
... 25 more

Caused by: org.yaml.snakeyaml.error.YAMLException: Unable to find property 'descripton' on class: org.getopentest.testdef.TestDefAction
at org.yaml.snakeyaml.introspector.PropertyUtils.getProperty(PropertyUtils.java:132)
at org.yaml.snakeyaml.introspector.PropertyUtils.getProperty(PropertyUtils.java:121)
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.getProperty(Constructor.java:323)
at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:241)
... 32 more
14:07:50	APP
ERROR: java.lang.Exception: Failed executing test mobile/Log In, segment 0
at org.getopentest.base.TestActor.executeTestSegment(TestActor.java:2080)
at org.getopentest.base.TestActor.runOneSession(TestActor.java:2796)
at org.getopentest.base.TestActor.runOneSession(TestActor.java:2828)
at org.getopentest.Main.main(Main.java:20)
Caused by: java.lang.NullPointerException
at org.getopentest.base.TestActor.executeTestSegment(TestActor.java:1953)
... 3 more
I have this, but still a error.
- description: Inserts Password
action: org.getopentest.appium.SendKeys
args:
locator: { xpath: "//android.widget.EditText[contains(@com.son.son.inhouse:id/validation_input_field,'PASSWORD')]"}
text: Son016

You have a spelling error - descripton instead of description.  The error message is pretty long, but the information is in there: Unable to find property 'descripton' on class: org.getopentest.testdef.TestDefAction.
As far as building the correct XPath locator, take a look at this Stack Overflow page: https://stackoverflow.com/questions/9604057/xpath-to-find-an-element-whose-attribute-contains-a-text-case-insensitively/9604149.

Thats weird, because looking at my test Description is spelled correctly. But I will take a look at the Stack page. Thank you.

Question is there a code that you have for YAML to press the back button on the android?

You can use the NavigateBack test action. See the docs here: https://getopentest.org/reference/appium-keywords.html#navigateback.
Also, if you need an answer to a question that is not related to the current issue, please create a new issue for that question. I am going to assume that the problem this issue was opened for was resolved, so I'm closing it for now, but feel free to reopen if that's not the case.


'container-type' is overwritten

My container Class is using:
        container-type: inline-size;
        container-type: style;

but if this plugin is active the first instance is always changed to
        container: inline-size;

the plugin is still working somehow, despite it is throwing an error,
but changing container-type: size to contain: size can cause
some serious problems (and in my case it does).
https://developer.mozilla.org/en-US/docs/Web/CSS/contain

Can you give me a small reproduction case in a gist or something where the results are different with the polyfill than with native CQs in Chrome Canary or something?

Yup
    .c-features {
                container-type: size;
    }

    @container (min-width: theme('containerQuery.md')) {
        .c-features {
            & > li {
                max-width: 500px;
            }
        }
    }

Here it is:
https://gist.github.com/343f39faf18dd0c009adb9d326c0fe85#file-index-html

This issue should be resolved by the newest version of the polyfill (currently in alpha). Please give it a try and let me know if you run into any further issues.
Thank you!


PMD regression in auxclasspath generation in Gradle 7.2-rc-1

The auxclasspath for the test source set no longer contains the main output, which leads to type resolution issues when the test classes reference the production classes (which they typically do).
Current Behavior
Running pmdTest --debug in Gradle 7.1.1 prints
2021-07-30T10:38:55.897+0200 [DEBUG] [org.gradle.api.internal.project.ant.AntLoggingAdapter] Using auxclasspath: /Users/davidburstrom/repos/gradle-bug-pmd-type-resolution/build/classes/java/test:/Users/davidburstrom/repos/gradle-bug-pmd-type-resolution/build/classes/java/main

whereas running the same in Gradle 7.2-rc-1 prints only
2021-07-30T10:45:08.294+0200 [DEBUG] [org.gradle.api.internal.project.ant.AntLoggingAdapter] Using auxclasspath: /Users/davidburstrom/repos/gradle-bug-pmd-type-resolution/build/classes/java/test

Context
I want to have accurate PMD analysis and silent log warnings.
What I do now as a workaround is
        tasks.withType<Pmd>().configureEach {
            classpath = classpath!! + (project.property("sourceSets") as SourceSetContainer).findByName(
                if (name.endsWith("Test")) {
                    "test"
                } else {
                    "main"
                }
            )!!.runtimeClasspath

Steps to Reproduce
See zip-file with very small example project.
bug.zip
Your Environment
Gradle 7.1.1 / Gradle 7.2-rc-1

I can confirm that this solves the issues in my use case. Thank you!


parser fails on pressure channel in Travis tests

see https://travis-ci.com/github/MideTechnology/ide_processing_scripts/jobs/389950857#L356
(Caused by https://github.com/MideTechnology/idelib-archive/pull/11?)

There are some other issues with the conversion of struct format strings to Numpy dtype; there does not appear to be a pad character, and unsigned 32b ints use a different character. You'll probably need something like a little lookup table, rather than use the characters in the format string verbatim.


Add missing Session methods

SetUnixSocket, SetSslOptions, and SetVerbose are declared in the Session
header but missing implementations (thus causing linking failures if
attempting to use any of them) -- only the SetOption(...) overloads had
implementations.  This adds the missing implementations.

Nice. Thanks :+1: .


Commits from valeriupredoi.github.io that need to be migrated here

@SophieMacadamia you pushed 6 commits in the old repo that need migration here see the top 6 here https://github.com/valeriupredoi/valeriupredoi.github.io/commits/master - please don't push there anymore (I removed you as contributor there anyway just in case - sorry, a bit harsh, but we need to be focusing on work here :beer: ) - do you want to re-add them here or I can do that manually from the old site?

done!


Be skeptical about our READMEs.

Fixes https://github.com/rusoto/rusoto/issues/993 but could use more work.

Well dang, I don't think we can do the relative paths because that creates errors compiling the tests:
let sts = StsClient::new(Region::EuWest1);
                         ^^^^^^^^^^^^^^^ expected
enum `rusoto_core::region::Region`, found enum `rusoto_core::Region`

   = note: expected type `rusoto_core::region::Region`
              found type `rusoto_core::Region`
note: Perhaps two different versions of crate `rusoto_core` are being used?

Related to https://github.com/budziq/rust-skeptic/issues/18 ?
PR will stand as is for feedback, then. 😄


Update integration tests to match coding conventions

What this PR does / why we need it:

Accessing class members should be done via 'this.' reference.
Make use of unused withProject(name,description) method

Change type

[ ] New feature
[ ] Bug fix
[ ] Unit tests
[ ] Integration tests
[ ] CI
[ ] Documentation
[ ] Auto-generated SDK code

Impacted services

[ ] Workflow Service
[ ] Notification Service

Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.

/lgtm

/approve


Implement pyenv to pytest multiple python versions

https://github.com/pyenv/pyenv

Solved locally with bat file


Is this thread-safe?

Can I setup a thread to always listen for messages received and on another thread send messages?

Yes, that should work, as long as you ensure your application is also thread safe.

Awesome! Thanks for your attention


Inverse SSL

Due to https://github.com/minio/minio-go/commit/a0a13a2873c249ca89c7b6a0df2ff041577e1bac I thought flag was secure not insecure.

I already reverted your PR commit.


uv version in cache key

With the recent move to enable caching by default, the cache lifetime might be more a question.
The cache key currently includes uv version. As uv is a quickly moving target (2 releases a week) and the action always using the latest version (unless specific one is pinned), this effectively discards the cache every couple of days.
I know there were some situations in path when CI cache pruning corrupted cache, but generally the cache should be compatible between uv releases.
Maybe it's time to reconsider this part of the cache key?

That's a good idea! The mechanism was carried over from setup-rye and now that uv makes sure to detect old version caches we do not need this anymore.


New Windows build steps:

I need to run this to build on windows:

pacman -S mingw-w64-ucrt-x86_64-make
cmake .. -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release
mingw32-make -j4

Ok you can use the ninja files, just instead of make do this
cmake --build . -j4 or ninja -j4

Fixed in current docs


refactor: Extract MessageDict.hydrate_recipient_info().

This is a first step to eventually slimming the message cache,
but there are still some moving parts there to be worked through.
The more immediate benefit of extracting this function is that
we can put tests on it.  Also, it isolates some functionality
that may go away as our clients gets smarter.

Thanks for working on this!
For the third commit, I think we should be fetching the UserProfile objects from the UserProfile cache using a bulk user fetch operation (we should be able to do this easily with generic_bulk_cached_fetch); that should get rid of the extra database queries.
Also, sender_short_name is probably a field we can eliminate entirely; short_name isn't used by any frontend (or set reasonably in the backend).
Finally, is there a reason you just fetch the name objects in the third commit, and not also email/avatar_source/etc.?

Merged, thanks @showell!


feat: Migrate Starknet: call from "beerus_rest_api" to "beerus_rpc"

Pull Request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Testing
[ ] Other (please describe):

What is the current behavior?
Issue Number: #361
What is the new behavior?

Add call endpoint for beerus_rpc

Does this introduce a breaking change?

[ ] Yes
[x] No

Other information

Hey man, how is it going?


Strange code highlight background-color

~/g/jane-test ❯❯❯ hugo version
Hugo Static Site Generator v0.64.1/extended darwin/amd64 BuildDate: unknown

This jane-test site is just created to check the problem.
The background color of the code highlight is strange.

I found this line and change color then the background color was changed.
https://github.com/xianmin/hugo-theme-jane/blob/7fa1a5f1f12727dbb87a91b40ba5abe66a8e0022/assets/sass/_variables.scss#L197
This variable used by _code.scss. To solve the problem, delete this line.
https://github.com/xianmin/hugo-theme-jane/blob/b4a0105a8a817b65c34bfa7b0ef22fb38f0fdf1b/assets/sass/_partial/_post/_code.scss#L8
I can submit pull request but I think the problem is caused by specification change in around libraryes. So, You should check it.
Thank you for lovely design.

I think it's an XY problem
related issues:
You'll have to turn on syntax highlight
https://github.com/xianmin/hugo-theme-jane/issues/133
https://github.com/xianmin/hugo-theme-jane/issues/46
Why chose client-side code highlighting over builtin server-side func? · Issue #28
related links:
Syntax Highlighting | Hugo
Hugo 0.28: High-speed Syntax Highlighting! | Hugo
https://gohugo.io/content-management/syntax-highlighting/

请问这个高亮取消的有什么配置么

Is there any way to cancel the highlighting configuration

Is there any way to cancel the highlighting configuration

that yellow highlighting affect saw code


Allow signalling server to restart without interrupting audio/video.

A grpc stream can now identify itself with a string id. Identified
streams do not close their peer connections when the grpc connection is
interrupted. A grpc stream that identifies as an existing peer will
reconnect to that peer. Peers are deleted when they go to ICE state
closed.
This allows the signalling server to restart and reconnect to ion-sfu
without interrupting user audio/video.
A grpc stream that does not identify behaves exactly as before.
--- Discussion
Help needed: If the exact version of protocol buffers matters (I think it might), could someone regenerate the protocol buffers and grpc files with the correct versions? The docker setup did not work for me.
Bikeshed: The GetIdentity / SetIdentity / etc feels a bit, well, Java. I'm happy to replace it with direct attribute access if you prefer that style.

I would prefer to wait for datachannel negotiations then simplify the grpc interface. The signaling modules in here are intended to be simple examples, so it is better not to introduce this extra complexity

Fair enough. I'll use my fork for now and migrate over when datachannel negotiation arrives.

For anyone using this functionality, you'll need this commit /  bugfix too: https://github.com/grahamking/ion-sfu/commit/25f77f0576d8b783ab37224988751515f4c6ce69


Wrong datatype of variables

Describe the bug

To Reproduce

Version information:

Additional context

Could you provide the minimal information to reproduce this error? This guide can help crafting a minimal bug report.

the minimal code you are using to generate the report

which environment you are using:

operating system (e.g. Windows, Linux, Mac)
Python version (e.g. 3.7)
jupyter notebook, console or IDE such as PyCharm
Package manager (e.g. pip, conda  conda info)
packages (pip freeze > packages.txt or conda list)

a sample or description of the dataset (df.head(), df.info())

Thanks. I realized I made one mistake on call function. I re-ran it and now I see attached output. One issue I still find is that data is skewed and because of which distribution is not coming very well.
ho_report.html.zip
ho = pd.read_csv("../../data/Housing_Data/housing.csv")

Thanks. I realized I made one mistake on call function. I re-ran it and now I see attached output. One issue I still find is that data is skewed and because of which distribution is not coming very well.
ho_report.html.zip
ho = pd.read_csv("../../data/Housing_Data/housing.csv")

This is most likely not an issue with the software, but a request for help in how to use pandas-profiling. Please consider asking your question on stackoverflow. There is a specific tag for pandas-profiling:
https://stackoverflow.com/questions/tagged/pandas-profiling


fetch Column info bypass  chacking sqlite3_step(handle) when select Query in  ios

Describe the bug
i  am  trying  to  query sqlite  db  table  for  that  i  have useed UtillSqlite  Query Function ,but  when  i  am calling and  passing select  query  for  table ,its  not  checking while sqlite3_step(handle) == SQLITE_ROW
To Reproduce
Steps to reproduce the behavior:

create a select  statement query  eg;  select *  from Users
2 Call  the SQlite Query function which  will  call  fetchColumnInfo
while loop sqlite3_step(handle) == SQLITE_ROW  failed but  passed  if  statement  like "Pragma user_version"
See error

Expected behavior
should  return  column  name
here is  error  point
https://github.com/capacitor-community/sqlite/blob/master/ios/Plugin/Utils/UtilsSQLite.swift#L178

@vikashsingh009 Can you be more specific what do you mean by failed but passed if statement like "Pragma user_version"  You mean its failed when you do select * from Users

Yes ,it failed for that select user query
On Thu, Oct 29, 2020, 11:56 PM QUEAU Jean Pierre<EMAIL_ADDRESS>wrote:

@vikashsingh009 https://github.com/vikashsingh009 Can you be more
specific what do you mean by failed but passed if statement like "Pragma
user_version" You mean its failed when you do select * from Users
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/capacitor-community/sqlite/issues/49#issuecomment-718938847,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4X4TLCNXFQI2ZOLI4GF4DSNGXVNANCNFSM4TBTA3SQ
.


Rubocop 0.49.1

This PR updates the gem dependency RuboCop to match Hound's. That version is 0.49.1.
Configuration:

Move newly re-namespaced RuboCop rules into their namespaces
Make a style choice wrt Style/FormatStringToken

Code:

small refactoring to the Pulse class to avoid style issue

Thanks for the PR! most of this looks good, left a few comments on the things I'm less sure about. curious what your thoughts are on those. 😄

where'd you find that Hound is using 0.49.1? this is the only thing I can find, and it says 0.47.0 https://github.com/houndci/linters/blob/master/Gemfile.lock#L32
how_is is using the version used there.

@duckinator On Hound's versions of RuboCop: I only guessed they closely followed latest releases. I didn't look it up.
But:
Looking at the lockfile closer I see that they do: https://github.com/houndci/linters/blob/master/Gemfile.lock#L78 (the line you linked to indicated a "version range" in a set of dependencies to another gem). Line 78 has RuboCop's own gem version.

@duckinator I will just rebase this on top of master!

lol I already fixed it using the web UI

in related news, you can apparently resolve conflicts in the web ui, now?!

🎉


updated dependencies to work with node 4.2.1

contextify build fails on node 4.2.1. This fixes that.

@kirstein , why drop this PR?


where is the apk for leelaz

<!--
Thank you for reporting issues.
Since the developer is so busy, please understand that unimportant questions or requests may not be responded.

[Before adding an issue]
Please search and check if there are similar issues and questions, including those already closed.

[How to add a new issue]
**Title**
Make it possible to grasp the content of the issue by title only.

  Good: 'Resigns immediately on handicap games'
  Bad: 'some questions', 'a bug'

**Comments**
Please write the contents concisely.
Do not include multiple topics in one issue.

In the case of a bug, please describe the following contents.
+ Execution environment (AQ ver. / OS / CPU / GPU)
+ Reproduction procedure (in detail as much as possible)
+ How to fix it (if you have an idea)

**Labels** (able to attach from the right setting list)
'question': just a question
'enhancement': request for additional functions and improvement
'bug': a bug

Other labels will be judged by the developer, so the reporter should not use it.
--!>

Why are you posting an issue on AQ project to ask an question unrelated to AQ?

This issue mentions an older version, or hasn't been discussed in a long time, so we close it.


Issue 319, detach all devices on SIGKILL/SIGTERM

This PR also adds detach all support to rasctl (rasctl -D) and installs a signal handler that detaches all devices before exiting due to a SIGKILL (e.g. Ctrl-C) or SIGTERM..

@akuker I'm still getting spam e-mails whenever I commit something.


Add new product card dissapears after going back (and doesn't appear anymore)

What
https://user-images.githubusercontent.com/39344769/171486488-f3ee2cf6-e098-4342-b535-eaf417a8c21f.mp4

I noticed that the New card disappears in following three cases:

going back from Add New Product Page
going back from Ranking Page
removing a card from carousel

I removed useless calls of refreshing model to fix it.


Add instructions for beta testers

The purpose of this PR is to put together a mini-guide for testing the server on arbitrary Scala projects.
The intention is not to advertise this too much, but if someone is willing to try and give some early feedback I think it's useful to have a reference guide to get started.

@laughedelic I've addressed your feedback
Also, 5 colleagues of mine managed to follow the steps successfully, so I think this can be merged.

Also, 5 colleagues of mine managed to follow the steps successfully, so I think this can be merged.

Cool 👍 lucky early adopters! 😄 Btw, do they all use VS Code?

Btw, do they all use VS Code?

Yes :)


[FEATURE] Support NEFTune noisy embedding vectors technique

🚀 Feature
In this paper, the authors introduced a concept they called NEFTune, which basically shows that LLM downstream performance can be improved if noise is added to the embedding vectors during instruct fine-tuning. Could this capability be supported in LLM Studio? The capability has already been added to Huggingface's TRL (Transformer Reinforcement Library).
Motivation
The promising results of the paper suggest it could be useful to have the ability to have this capability in LLM Studio to maximize downstream performance of LLMs trained in the platform.
Here is a link to their repo.

Thanks for posting this interesting paper! I have added nefttune in this branch, based upon trl's implementation.
It's concise enough that it should work, but it may still take a while for me fully test it (see TODOs).
Feel free to test the branch linked above, also very happy about feedback and potential model improvements!

As a side note, I haven't seen this (or similar) methods to work in the past (==deberta finetuning); so I'm a bit cautious about the claims of the paper.

Wow @maxjeblick, thanks for the amazingly quick turnaround, was not expecting that!
I'm trying out the branch now and should have some comparison points to post soon for the text-to-sql model we're training (not sure this is the right use case for this technique, but at least it's a data point).

Sorry for the delayed follow-up.
I've tested this in a variety of contexts using 7B Code Llama models with full fine-tunes, and found that in some cases I got slightly lower final eval perplexity using an NEFT alpha of 5, as well as 1-2 percentage points better accuracy on a downstream SQL generation task, although a few other models had the same or slightly worse performance with NEFT on, so  I'd need more rigorous testing to definitively tell if I'm seeing real benefit or just measuring noise at this point.
Still, it seems like a useful knob to have and seems to be robust (haven't hit any errors or other issues training 10+ models with it so far). I also should note that perhaps it has greater value for general-purpose text generation, which was what was explored in the original paper, versus highly constrained tasks like SQL generation, so my results should only be taken as one data point.

Thanks for the detailed summary (good to hear the metrics improved) and bringing up NEFT in the first place!
I'll finish working on the branch and create a PR shortly.

Hi @tmostak, sorry for the period of inactivity; I was occupied with other tasks the last weeks. I'll create a PR for this feature the next days.

Thanks @maxjeblick for landing this!


Revisit: Search by file should show terminal tabs in the list

Follow up from https://github.com/microsoft/vscode/issues/128445
As the original author of that code, I had some rationale in mind when excluding non-file based editors from quick open search after you type. I am not 100% convinced yet that terminals should appear in the quick open list after you start typing. Let me try to explain:
The fact that editors appear in quick open by default is something we had from day one, way before we had dedicated pickers for editors specifically (and way before we had tabs). The idea back then was to provide a simple navigation model where you can jump between editors via quick open without having to use the mouse while still being able to jump through the history more than one step (similar to how Alt+Tab works in OS). As such, no filtering is applied here and all opened editors appear.
However, I never felt that non-file based editors should appear in the quick open list once you start searching, because this is specifically for searching for files and not for editors:

If you want to search for opened editors (including terminals), the more recent editors picker can be used instead:

Another concern I have is that we now seem to be very inconsistent because terminals now appear in the search results, while other non-file based editors do not. So I think we should decide consistently whether non-file based editors should appear in quick open once you start searching or not.
//cc @Tyriar @meganrogge @misolori @roblourens

Is there any concern for allowing all non-file based editors to appear (which would include custom editors)? I'm not sure how many users would know about ?edt for searching non-files. I'd guess that people think to search any "file" that is open.

I'm not sure how many users would know about ?edt for searching non-files.

Well, that is not the entry point for users. We have commands to "Search all editors" that will bring up this quick open. There is another command to search editors in the active group, so I think discoverability is not an issue.

I'd guess that people think to search any "file" that is open.

A terminal is not a file though, right?

Is there any concern for allowing all non-file based editors to appear (which would include custom editors)?

To give an example: using the SCM view you might pile up a lot of diff editors for outgoing changes. Unfortunately, even when you commit the changes, these editors do not close automatically. I bet it will be super frustrating to constantly see those stale diff editors in the result list when searching for the file.

So I made the change that I did because Terminals were showing up in Recently Opened:

So I allowed them to stay there when you filter.
it sounds like @bpasero you're more in the boat of.. they shouldn't have been there to begin with.

I've thought about some more and I agree with you @bpasero. For a couple reasons:

We're specifically talking about ctrl/cmd + p here and as you've pointed out, the text calls out files
Terminals still show up when you ctrl+tab so they're still a keystroke away

Yeah the editor history is not affected and should really list all editors to support the navigation case, but once you start a search we should limit the results to only editors from the history that show files.

and expanded here: https://github.com/microsoft/vscode/pull/210805


K3s official Traefik docs broken.

As per
https://docs.k3s.io/helm
traefik-config.yaml
kind: HelmChartConfig
metadata:
  name: traefik
  namespace: kube-system
spec:
  valuesContent: |-
    image:
      name: traefik
      tag: v2.8.5
    forwardedHeaders:
      enabled: true
      trustedIPs:
        - <IP_ADDRESS>/8
    ssl:
      enabled: true
      permanentRedirect: false

Adding the above to server/manifests/ dir causes ErrImagePull.
commenting out “tag:v2.8.5” is current workaround.

I see you created an issue for this in addition to commenting on an old closed issue. Let's track this at

https://github.com/k3s-io/k3s/issues/9030

Closing this issue without solving the k3s docs is not really solving anything.

I opened a new issue from your other comment, before seeing that you'd opened this one with the same complaint. I linked it from my previous comment.


working with API pages (not updating part page) Post request

Hi Everyone
i have two pages like "sales header" and "sales lines". for sale line i used "listpart page" like as follows:

and here is sales lines

and i used list part page in header page like this

now i publish this code to our sandbox and try to post the data from postman and get the response data,

now if i check the detail of this invoice on BC then header is imported but there is no any line posted see here

i don't know what i am doing wrong. i have tried all the possible things what microsoft suggested but it doesn't work
but if i tried BC's API pages for sales invoice that page id 5475 that is working fine.
guys please give me a solution

it is solved by myself. solution is partpageId and EntitySetName must be same


Add support for more boards

Please do not merge yet.
Update: Ready to merge after review. Travis builds passing.
Added support as of now:

[x] Digilent CMOD A7
[x] Numato Lab Galatea Spartan 6 PCIe Development Board
[x] Numato Lab Neso Artix 7 100T FPGA Module
[x] Numato Lab Saturn Spartan 6 LX45 FPGA Module
[x] Numato Lab Waxwing Spartan 6 LX45 Development Board
[x] Digilent Basys Artix 7 FPGA Development Board
[x] Travis check for all new boards with CPU=lm32, TARGET=base

Bugs (non-trivial): (better to create separate issues for them)

Galatea: Fix  issue in Galatea where memtest fails for the first time after programming but succeeds after hitting manual reset button
Neso: Fix initial corrupted text in bios console

@rohitk-singh What is the status of this? Can we merge it?

@mithro I think we can merge it, and then do any incremental improvements after that

@rohitk-singh We should merge this.

@mithro Working on updating this PR to align it with litex changes.

@mithro Updated the PR to make the changes compatible with new Litex. Travis build is passing fine, plus checked on my local system too. Please review.


Switch to Streamable iFrame player

We’ve removed the files attribute from our API. In the future all videos must be played using our iframe player (similar to YouTube). The embed code is now returned by the API.

@lawlmart This is quite a shame.. Is there a way to programmatically control the iframe player and receive events? Otherwise there is not much point for ReactPlayer to support Streamable videos.

Yes, we support player.js.
https://github.com/embedly/player.js/

Thanks @lawlmart. I've just hooked it up but annoyingly there is a bug in player.js when calling play() after the ready event where the thumbnail overlay remains on top of the playing video. It requires a user click to remove the overlay.
See example fiddle using pretty much the exact example code from the player.js readme.

Thanks for catching that, I’ll get that fixed ASAP.

Fiddle looks good now.

Nice work on the fix @lawlmart. Next issue is that the player seems to fail karma tests when run in Travis (see failing build). I've had to skip the tests for the time being. The tests seem fine when run locally. That are pretty straightforward tests that pass on certain events/callbacks (see example test). Any ideas why this would happen?

What browser are you testing in?
On Sat, Sep 16, 2017 at 5:57 PM Pete Cook<EMAIL_ADDRESS>wrote:

Nice work on the fix @lawlmart https://github.com/lawlmart. Next issue
is that the player seems to fail karma tests when run in Travis (see failing
build https://travis-ci.org/CookPete/react-player/builds/276018886).
I've had to skip the tests for the time being. The tests seem fine when run
locally. That are pretty straightforward tests that pass on certain
events/callbacks (see example test
https://github.com/CookPete/react-player/blob/master/test/specs/ReactPlayer.js#L97-L120).
Any ideas why this would happen?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CookPete/react-player/issues/237#issuecomment-329977072,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKelVhzZfJQtYgNgPm3_0OjljLJ2LqTPks5si-_9gaJpZM4PYnQC
.

CI tests currently run in Chromium 60.0.3112 on Ubuntu.

I'd figure one of the events isn't being called judging by the timeout, but it's hard to tell which. The player is passing the playerjs tester so I'm not sure what the issue is on our end. Which URL are you testing it with?


Opening a variable as several chunks works fine, but opening it "fully" crashes

What happened?
I have set up a ipynb notebook that may be a clear explanation:
https://github.com/jerabaul29/misc/blob/main/BugReports/OpeningIssueXarray/issue_opening_2018_03_b.ipynb
Short report:

I have a netcdf file that is not specially big (around 1.6GB)
When I try to fully open one of its variables, it crashes, ie this crashes:

# for some reason, this does not work; crash
xr_file["accD"][0, 0:3235893].data

but opening in several passes works, i.e. this works:
xr_file["accD"][0, 1000000:2000000].data
xr_file["accD"][0, 2000000:3000000].data
xr_file["accD"][0, 3000000:3235893].data

Any idea why?
What did you expect to happen?
Opening the variable in full should work.
Minimal Complete Verifiable Example
https://github.com/jerabaul29/misc/blob/main/BugReports/OpeningIssueXarray/issue_opening_2018_03_b.ipynb
MVCE confirmation

[x] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
[x] Complete example — the example is self-contained, including all data and the text of any traceback.
[x] Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
[x] New issue — a search of GitHub Issues suggests this is not a duplicate.

Relevant log output
No response
Anything else we need to know?
The netcdf file uses unlimited dimensions, can this be a problem? I am not the author of the file, but I think it was generated from some Matlab netCDF package.
Environment
Ubuntu 20.04, python 3.8.10, xarray 0.20.2.

I got help to extract more information in gdb; converting the ipynb to a py file and running it in gdb context:
> jupyter nbconvert --to script issue_opening_2018_03_b.ipynb [NbConvertApp] Converting notebook issue_opening_2018_03_b.ipynb to script
[NbConvertApp] Writing 1313 bytes to issue_opening_2018_03_b.py
> gdb --args python3 issue_opening_2018_03_b.py
[...]
(gdb) run
Starting program: /usr/bin/python3 issue_opening_2018_03_b.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[...]
Thread 1 "python3" received signal SIGSEGV, Segmentation fault.
__memmove_sse2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:314
314	../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory.
(gdb) bt
#0  __memmove_sse2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:314
#1  0x00007ffff6af4bdc in NC4_get_vars () from /home/jrmet/.local/lib/python3.8/site-packages/netCDF4/.libs/libnetcdf-5e98d7e6.so.15.0.0
#2  0x00007ffff6af337d in NC4_get_vara () from /home/jrmet/.local/lib/python3.8/site-packages/netCDF4/.libs/libnetcdf-5e98d7e6.so.15.0.0
#3  0x00007ffff6a959aa in NC_get_vara () from /home/jrmet/.local/lib/python3.8/site-packages/netCDF4/.libs/libnetcdf-5e98d7e6.so.15.0.0
#4  0x00007ffff6a96b9b in nc_get_vara () from /home/jrmet/.local/lib/python3.8/site-packages/netCDF4/.libs/libnetcdf-5e98d7e6.so.15.0.0
#5  0x00007ffff6ec24bc in ?? () from /home/jrmet/.local/lib/python3.8/site-packages/netCDF4/_netCDF4.cpython-38-x86_64-linux-gnu.so
#6  0x00000000005f5b39 in PyCFunction_Call ()

which seems to be originating in libnetcdf?

@keewis interesting. Just to be sure: I am able to open the dataset just fine too, the issue arises when trying to actually read the field, i.e.:
xr_file = xr.open_dataset(input_file, decode_times=False)

is just fine, but
xr_file["accD"][0, 0:3235893].data

is what segfaults; just to be sure there is no misunderstanding, are you actually able to run the last command without isse? :)

@keewis regarding the engine: I have netcdf4 installed and I do not provide a dedicated engine in the open_dataset command, so I guess this is using the netcdf4 engine by default? Anyway I can run a command to double check and confirm to you? :)

This is what I'm doing:
In [1]: import xarray as xr
   ...:
   ...: ds = xr.open_dataset("2018_03_b.nc", decode_times=False)
   ...: ds["accD"].data
Out[1]:
array([[-9.625633e+00, -9.587038e+00, -9.601438e+00, ..., -9.543669e+00,
        -9.519094e+00, -9.509479e+00],
       [-9.705109e+00, -9.658272e+00, -9.672318e+00, ...,  9.969210e+36,
         9.969210e+36,  9.969210e+36]], dtype=float32)

Ok, thanks, this does crash too on my machine. Then likely something to do with my software stack somewhere, I will try with a new mamba / conda environment and check if this fixes things.

I do not provide a dedicated engine in the open_dataset command, so I guess this is using the netcdf4 engine by default?

Depends on the file format, but in general, I'd recommend passing the engine kwarg explicitly.

Creating a conda environment as you suggest, I am fully able to read etc the file, so this solves my issue. Many thanks! Then I guess this means there is some weird issue leading to segfaults on this file with some of the older libnetcdf versions. Closing as using a conda env and a more recent stack fixes things.


Can it use VMware instead of QEMU?

VMware provides an option to use floppy drive, can it generate floppy image so it can boot in VMware?

I don't have much experience with VMware, so I can't help with the details unfortunately. It should work in general though.

should work in general though

VMware uses vmdk disk format, but the generated image isn't vmdk.

The generated image is a raw disk image. VMware almost certainly has an option to either convert a raw disk image to vmdk or to directly use a raw disk image.

VMware almost certainly has an option

It might be true for vmware12, but the currently latest version is vmware17. Broadcom acquired VMware, I don't know whether or not Broadcom acquirement takes effects, vmware17 has deleted some features, e.g., screen recording.

How would you install any OS that doesn't ship with pre-existing vmdk images if there is no way to convert a raw image to a vmdk image?

How about adding a feature to this crate to create iso file? Since https://github.com/ventoy/Ventoy allows a USB drive to contain multiple iso files, if this crate can make an iso file for Ventoy, then we don't need to format the whole USB drive. Ventoy avoids formatting the whole USB drive and allows to select 1 iso file to boot @bjorn3

I think this project is more about allowing people to learn about kernels and operating systems, and giving them some tools to build off of.
You usually create iso files for operating systems that are ready to be installed somewhere, like an actual physical machine. Providing an iso file for an operating system is kind of a big deal. A lot has to go into it. Some projects like SerenityOS actively decided against it.
Maybe this helps you


adding inital requirements checklist for kfserving to be integrated i…

Requirements guide for KFServing to be integrated in Kubeflow 1.0. Shall work as a compass to guide and prioritize decisions, and will be updated on weekly basis by assigned authors on a weekly basis

This change is

/assign @animeshsingh

/lgtm

/approve
@jinchihe @hougangliu to do a follow-on PR to update with current status

/retest

/retest

/retest


[Program]: Write a Scala program to find lcm of two numbers by recursion

Description
Write a Scala program to find lcm of two numbers by recursion
LCM (Least Common Multiple) of two numbers is the smallest number that can be divided by both numbers. For example, the LCM of 15 and 20 is 60 and LCM of 10 and 15 is 30.
Input  : 12 18
Output : 36

How to contribute

Save the solution in program/program/find-lcm-of-two-numbers-by-recursion/findLcmOfTwoNumbersByRecursion.scala file

!assign


Trying to install dependencies on Windows, getting 'Group Policy' violations

So I'm trying out rust + cargo at my work and we use Windows machines. When I want to install rustfmt (or any other dependency), it looks like cargo is recompiling the source and placing it in a temporary working directory and my windows machine does not like this.
When I install a dependency, I see this:
   Compiling kernel32-sys v0.2.2
     Running `rustc C:\Users\shiraaz.moollatjie\.cargo\registry\src\github.com-1ecc6299db9ec823\kernel32-sys-0.2.2\build.rs --crate-name build_script_build --crate-type bin -C opt-level=3 -C metadata=d6afa5bd3d7cfa
ef --out-dir C:\Users\SHIRAA~1.MOO\AppData\Local\Temp\cargo-install.g5SAiZ1VoTBJ\release\build\kernel32-sys-d6afa5bd3d7cfaef --emit=dep-info,link -L dependency=C:\Users\SHIRAA~1.MOO\AppData\Local\Temp\cargo-install
.g5SAiZ1VoTBJ\release\deps --extern build=C:\Users\SHIRAA~1.MOO\AppData\Local\Temp\cargo-install.g5SAiZ1VoTBJ\release\deps\libbuild-493a7b0628804707.rlib --cap-lints allow`

Based on the --out-dir, it then runs the build script from that directory.
     Running `C:\Users\SHIRAA~1.MOO\AppData\Local\Temp\cargo-install.g5SAiZ1VoTBJ\release\build\kernel32-sys-d6afa5bd3d7cfaef\build-script-build`
Build failed, waiting for other jobs to finish...
error: failed to compile `rustfmt v0.6.3`, intermediate artifacts can be found at `C:\Users\SHIRAA~1.MOO\AppData\Local\Temp\cargo-install.g5SAiZ1VoTBJ`

Caused by:
  failed to run custom build command for `kernel32-sys v0.2.2`
could not execute process `C:\Users\SHIRAA~1.MOO\AppData\Local\Temp\cargo-install.g5SAiZ1VoTBJ\release\build\kernel32-sys-d6afa5bd3d7cfaef\build-script-build` (never executed)

Caused by:
  This program is blocked by group policy. For more information, contact your system administrator. (os error 1260)

The main reason is that the policy at work restricts applications running from this folder.
So is there a way to set the --out-dir property when running cargo install?
I tried setting CARGO_TARGET_DIR in my shell, but only the cargo project commands respects this and not the cargo install command.
Version info:
cargo 0.13.0-nightly (eca9e15 2016-11-01)

rustc 1.13.0 (2c6933acc 2016-11-07)
binary: rustc
commit-hash: 2c6933acc05c61e041be764cb1331f6281993f3f
commit-date: 2016-11-07
host: x86_64-pc-windows-gnu
release: 1.13.0

Unfortunately there's no way to set the output directory with cargo install foo right now, but if you check out the project locally and run cargo install it'll use the current directory as the output directory.
Sounds like a good reason though to add a flag!

Last I checked, when setting CARGO_HOME, cargo install will respect that.

Okay so I figured this out. Cargo, on windows, seems to use the User's TEMP (or TMP) variable as the work directory for cargo install
So I updated the TEMP and TMP user local variables to execute from a different location, then --out-dir is updated to a different value :)


entities/vulnerability:feature - adding new vulnerability fields

Added CWEs, CVEs, Mitigation, Reference, SafeExample, UnsafeExample,
OldHashes into the vulnerability struct. This fields are going to be
used to inform a more depper output from Horusec. OldHashes replaces the
VulnHashInvalid fields, now it's an array that contains all hashes that
are no more generated, but still valid. This is necessary to avoid
breaking changes, but it will be removed in a near future.

- What I did
- How to verify it
- Description for the changelog

I have added a TODO to remove the codes related to depreciation and specified the version before the launch of the v2.9.0. What do you guys think? Maybe a later version or 2.9.0 it's ok?
@wiliansilvazup @iancardosozup @matheusalcantarazup @oliveirafelipezup

I have added a TODO to remove the codes related to depreciation and specified the version before the launch of the v2.9.0. What do you guys think? Maybe a later version or 2.9.0 it's ok?
@wiliansilvazup @iancardosozup @matheusalcantarazup @oliveirafelipezup

I don't think that these TODO's is necessary. I think that we should support this field for at least 2 or 3 major releases.

I don't think that these TODO's is necessary. I think that we should support this field for at least 2 or 3 minor releases.

i believe they're necessary as a constant reminder for us and as warning to community

I don't think that these TODO's is necessary. I think that we should support this field for at least 2 or 3 minor releases.

i believe they're necessary as a constant reminder for us and as warning to community, but i don't know wich version we should use, i think 2.10.0 or later should be good

I agree with Ian, I believe it's an important information to omit.
Another point is that insn't intresting to keep these changes for too long, there's a lot of bad code related to this depreciations, which may impact perfomance and maintaning.
Also the change related to depreciation is very simple for users to make, so I think v2.10.0 is enough.


WFST decoding without space

Bug Detail
Hello, I'm an engineer who makes a voice recognition model through your wenet library. For your honor, we successfully made our e2e model with reasonable WER. As a result of using various decoding methods, there was no problem with the decoding functions implemented in python. However, when using WFST decoding method which is compiled in runtime C++ code, it made an issue.
The database we use is a mixture of English, Korean, and numbers, and as a result of WFST decoding, all space disappears in languages other than English. Also, there was a phenomenon that only lowercase letters appeared in English without capitalization and lowercase letters.
Bug Result
Reference:
2 1000 10 8 년 8 월 6 일 left 열두시 방향 병변에 대해 조직검사 시행해 fibroadenoma 로 진단되었음 period 줄바꿔서 2 1000 10 9 년 3 월 2 10 6 일 breast US 와 비교판독함 period 줄바꾸고 줄바꿔서 양측 breast parenchyma 가 heterogeneous echotexture 를 보임 period 줄바꿔서 right breast 한시 방향 nipple 에서 4 cm 거리에 약 0 ssjum 7 cm 크기의 benign looking mass 가 있으며 comma 이전과 비교하여 큰 변화 없음 period 줄바꿔서 left breast 열두시 방향 nipple 에서 2 cm 거리에 약 0 ssjum 7 cm 크기의 biopsy proven lesion 이 있으며 이전과 비교하여 큰 변화 없음 period 줄바꿔서 그 외 양측 breast 에 several cyst 들이 있음 period

Hypothesis with WFST:
21000108년8월6일left열두시방향병변에대해조직검사시행에fibroadenoma로진단되었음period줄바꿔서21000109년3월2106일breast us와비교판독함period줄바꾸고줄바꿔서양측breast parenchyma가heterogeneous echotexture를보임period줄바꿔서right breast한시방향nipple에서4cm거리에약0ssjum7cm크기의benign looking mass가있으며comma이전과비교하여큰변화없음period줄바꿔서left breast열두시방향nipple에서2cm거리에약0ssjum7cm크기의biopsy proven lesion이있으며이전과비교하여큰변화없음period그외양측breast에several cyst들이>있음period

Is there any solution to a problem like this?

Hi, u can set language_type=1 to preserve blanks and lowercacse=false to capitalize english words.
https://github.com/wenet-e2e/wenet/blob/main/runtime/core/decoder/params.h#L63-L68
https://github.com/wenet-e2e/wenet/blob/main/runtime/core/post_processor/post_processor.cc#L26-L56


[ALLUXIO-2625]Make SecurityUtilsTest final

https://alluxio.atlassian.net/browse/ALLUXIO-2625
To avoid accidental subclass extension

Can one of the admins verify this patch?

Need to tune it a little bit


Flutter 3.0 Migration

Issue: #16
WidgetsBinding.instance is not nullable in flutter 3.0.
To avoid exceptions, we should remove null safety operators which are currently used with WidgetsBinding.instance.

@mponkin Can we merge this PR for a new version of the flutter package, please?

Merged and published in version 3.0.0
Thanks @ruslic19 for providing the PR
Thanks to @DDavidPrime for pinging me (I must have something wrong with notification settings since I haven't seen new PR notification


not support jestrunner.configPath in vscode workspace

I found a workaround. Add jestrunner.jestPath setting to your .code-workspace file. For example
{
  "folders": [
    {
      "name": "root",
      "path": "."
    },
    {
      "path": "packages/backend"
    },
    {
      "path": "packages/frontend"
    }
  ],
  "settings": {
    "files.exclude": {
      "packages": true
    },
    "jestrunner.jestPath": "node_modules/jest/bin/jest.js"
  }
}

I can debug again with pnpm

Yea I'm getting the same issue. I have a custom jest config file which has a custom testMatch settings, doesn't seem to load "run | debug" above the test in vscode in the correct files.

i think its just a batter of the naming of your config file:
https://github.com/firsttris/vscode-jest-runner/blob/master/src/jestRunnerConfig.ts#L111
please re-open if your issue still persists.


Release 2.1.0

READY FOR REVIEW
Summary

Release 2.1.0 for Professorships

Eg: https://deploy-preview-252--adapt-giving.netlify.app/endowed-positions/school-of-engineering?page=4

FYI @wmui51

FYI @forrestglick

FYI @buttonwillowsix

As this was heavily reviewed by @yvonnetangsu already in dev and the prod build is green I am going forward with the release.


Cloudflare deployment issues

Hi,
whenever I'm trying to do a deployment to Cloudflare, I get "Project had an error" on https://deploy.workers.cloudflare.com/.

Kindly raise the issue to Cloudflare team

I see that when trying to deploy to Cloudflare Workers, I get the following error: "Project had an error".

for the record I just manually got it working using the wrangler cli, the helper link just didnt work

Hello @ninoskuflic @dmix, can you guys try the same now?


generated documentation

fixes #4

there is a script in place, we can do a proper github action later on that creates new pr based on changes made, but for now it should be good to just do it manually


MaxMemoryCacheSize

Added MaxMemoryCacheSize property description.

OK. I thought it might be automatically generated.

You are righ


Database migration failure

after restarting coordinator on recent master:
2023-09-23 07:31:57 ERROR coordinator: Aborting after panic in task info=panicked at 'migrations to succeed: QueryError(DieselMigrationName { name: "2023-02-17-022106_create_order", version: MigrationVersion("20230217022106") }, DatabaseError(UniqueViolation, "duplicate key value violates unique constraint \"pg_type_typname_nsp_index\""))', coordinator/src/lib.rs:31:10

cc @holzeis , I believe it's another side-effect of storing all the expired orders.

What do you mean? We always stored expired orders.
And what was the other side effect, again?

Did this happen on our regtest setup or locally?

Did this happen on our regtest setup or locally?

it happened locally. I should have included this information, sorry.

Can you pin it down to what the problem is ? I haven't seen it locally failing nor on on regtest setup.

Cannot be reproduced.


Allow profile/explain result exported as readable text

Is your feature request related to a problem? Please describe.
Allow user to have text sharable profile/explain result, this happens a lot in user forum, who cannot have console access to their cluster.
Describe the solution you'd like
Enable export ascii table(rather than csv only) for profile/explain result.
Describe alternatives you've considered
n/a
Additional context
https://github.com/vesoft-inc/nebula/issues/4794

not only visualization, but also text result display supporting? text result can be read/copied by users

not only visualization, but also text result display supporting? text result can be read/copied by users

Better to have file based text result download(not as csv), for the huge output use cases this will be extremely helpful.


[SPARK-12868] - ADD JAR via sparkSQL JDBC will fail when using a HDFS…

… sql, for 1.6

Can one of the admins verify this patch?

@trystanleftwich could you please add a test for this?

I'm not sure what the best way to test the code would be, I've made a stab at it but any suggestions for it would be good.

Thanks for the pull request. I'm going through a list of pull requests to cut them down since the sheer number is breaking some of the tooling we have. Due to lack of activity on this pull request, I'm going to push a commit to close it. Feel free to reopen it or create a new one. We can also continue the discussion on the JIRA ticket.


Reduce 10% of DA cost.

This change is

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (cd18119) 67.40% compared to head (61e1f5e) 67.41%.

Additional details and impacted files
@@              Coverage Diff              @@
##           main-v0.13.0    #1244   +/-   ##
=============================================
  Coverage         67.40%   67.41%
=============================================
  Files                53       53
  Lines              6747     6748    +1
  Branches           6747     6748    +1
=============================================
+ Hits               4548     4549    +1
  Misses             1787     1787
  Partials            412      412

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


Bicep --version throws error when build outside git

Bicep version
Cant' run, throwing error :) but downloaded from v0.3.1 tag
Describe the bug
When bicep is being built outside git repository it throws following error:
Unhandled exception. System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Bicep.Cli.CommandLine.ArgumentParser.GetVersionString()
   at Bicep.Cli.CommandLine.ArgumentParser.PrintVersion(TextWriter writer)
   at Bicep.Cli.Program.Run(String[] args)
   at Bicep.Cli.Program.Main(String[] args)

To Reproduce
download bicep repository as zip or tar.gz
build bicep cli
run bicep --version
Additional context
https://github.com/Azure/bicep/blob/019115e5b47b3418679d8bfc9c7e8e89e35bc950/src/Bicep.Cli/CommandLine/ArgumentParser.cs#L37

Yeah, NerdBank.GitVersioning uses the commit distance from the commit that updated the version file at the root to calculate the actual version.
Btw, what is the use case for building outside of git?

I was trying to build a dockerfile workaround the #1683 issue by building musl bicep version and copying to azure-cli image

Makes sense. We should be able to add some sort of versioning override in the build for those sorts of scenarios.


Fix Nats name in KEB

Description
Changes proposed in this pull request:

Fix Nats streaming name in KEB

Related issue(s)

/test pre-master-control-plane-integration

/test pre-master-control-plane-integration


Support different schema for index with partial projected attributes

First of all, great project!
Correct me if I'm wrong, is there a possibility to define a schema for an index?
Let assume I have TableA and I defined a schema which has properties
firstName: string
lastName: string

And let's assume I also have an index which only projects firstName
Is it possible to create a separate schema for this index so that I don't use a partial of the main table schema?
Would I need to create a separate entity with the same table name and then use a different schema?
Reason I'm asking this, is when I query the index, I would like the type of the results to be narrowed down to the type which matches the schema of the index. Is it possible by any means?

Hi @alexandruluca and thanks for reaching out!
For the moment it's not possible to indicate which attributes are projected on the index. This would be doable on tables to improve validation and type safety, but for the moment there are other features with higher priorities.
However, what you want can easily be achieved by using the attributes option I think:
const { Items } = await PokeTable.build(QueryCommand)
  .query({ index: 'byTrainerId', partition: 'ashKetchum' })
  .entities(PokemonEntity)
  .options({ attributes: ['name', 'type'] })
  .send()

This will both filter the returned item attributes and the inferred type.

@ThomasAribart Makes sense thank you. That was also what I was doing, I just thought maybe there is another smarter way of doing the same thing.
Top work!


fix: error when using a browser that isn't installed

What does this PR do?
It causes auth:web:login --browser <name> to error when trying to use a browser that doesn't exist and prints that error to the terminal.
What issues does this PR fix or reference?
fixes https://github.com/forcedotcom/cli/issues/1830

For some reason, this throws the error but doesn't cause the CLI to exit...
If someone else could pick this up and figure that out, it would be greatly appreciated 🙏🏼

Hello @RodEsp,
Per your request, I investigated the bug.
The issue was that a webServer gets started in const oauthServer = await WebOAuthServer.create({ oauthConfig });  and never gets closed so it leaves the terminal hanging.
So I implemented a simple close function in<EMAIL_ADDRESS>async close() {         await this.webServer.close();     }
and called it before throwing the error in the catch.
await oauthServer.close();
Maybe you can update your PR to fix the issue.


F-Droid can't build

ref: https://gitlab.com/fdroid/fdroiddata/-/jobs/7198511509#L843
diff log: nano40100.log
/LE: fyi https://gitlab.com/fdroid/fdroiddata/-/commit/4ea2ca7bcf9e3eaf1ee66b69c82181dabd447766

Do you have any idea on how to fix this issue? Neither https://gitlab.com/fdroid/wiki/-/wikis/HOWTO:-diff-&-fix-APKs-for-Reproducible-Builds nor https://f-droid.org/docs/Reproducible_Builds/#potential-sources-of-unreproducible-builds seem to mention differences in smali files.

smali files are disassembled from classes.dex, fyi
did you build the APK from https://github.com/chvp/NanoLedger/commit/c21e13bd5ca7213cda52290bf435c83513f9894b for sure? Maybe try to clean up all caches as rebuild?
attach the APK here so I can test locally maybe

The APK is built in GitHub actions, definitely from that commit: https://github.com/chvp/NanoLedger/actions/runs/9680655127/job/26709312310#step:2:83
GitHub does not keep build cache, it only caches dependencies, so it was built with a clean cache. The APK can be found here: https://github.com/chvp/NanoLedger/releases/tag/v0.4.0.

Looking at the docs here though, it might be due coreLibraryDesugaring. Although that bug was fixed in 2021 apparently, so it seems weird that this would still be an issue.

I've tried to "fix" the issue in #139, I will follow the pipelines in the fdroiddata repo to see if it is actually fixed.

great https://gitlab.com/fdroid/fdroiddata/-/commit/60ad0d7dcf6ac37842689bdeb9f00be0af816d2a

It seems to still fail though? https://gitlab.com/fdroid/fdroiddata/-/jobs/7211423746

yeah, I'm already looking into it locally :(

I've disabled again: https://gitlab.com/fdroid/fdroiddata/-/commit/fc9f8774d19a102197993a91dc343270438c3cdb
testing locally, I can see:

success
fail but the same APK sha256sum
fail but the same APK sha256sum yet another one

tested on 2 machines
tested with limiting CPU cores to 1, 2, 4
not sure I see a pattern but I did see the same APK between these 2 machines, on multiple runs (yet not success vs yours)
@linsui thoughts?

Maybe https://github.com/chvp/NanoLedger/blob/main/.github/workflows/release.yml#L28 is related.

Good find, looks that maybe we c'n do the same in postbuild then, install that sdk 34, use its zipalign

I can look into upgrading to SDK 35 as well, that's probably a more future-proof solution.

I made another release that uses the latest build tools to build the APK.

https://gitlab.com/linsui/fdroiddata/-/jobs/7220014923 Now the dex file is also different...

nano40300.log here's the diff

Oh, I reverted the removal of useCoreLibraryDesugaring because it didn't fix the issue, I didn't realize that the issue was apparently two-fold. I'll revert the revert and make a new release. Hopefully that will finally fix it.

Made another release :crossed_fingers:

Hmmm https://gitlab.com/fdroid/fdroiddata/-/jobs/7251713529

To be honest I'm not sure I have the skills to figure out what the issue is here. The app doesn't use native code, and except for version bumps and some small features, there were basically no changes since the last release on F-droid. (There was also the useCoreLibraryDesugaring, but that's not present in the latest release.)

https://gitlab.com/fdroid/fdroiddata/-/jobs/7553550830

I know achieving reproducible builds in general and the F-Droid tooling in specific is a bit of a chore, but know that there are quite a few of us out there that really appreciate it and much prefer to get and rely on apps that are available that way as opposed to not being sure of what is under the hood or when they will just disappear.

I get that, but as mentioned before I have no idea on how to even get started debugging this. If I could bisect the repository to see when the issue showed up, I would do so, but the fdroid build process isn't really compatible with my linux distribution (since it relies on apt-get a lot).

here's the diff log for reference: nan40500.log
whenever I see method and iget-object and invoke in diff logs, with params slightly shifted around, I think about minify: https://github.com/chvp/NanoLedger/blob/v0.4.4/app/build.gradle.kts#L28
we had some cases that looked sameish in https://gitlab.com/fdroid/fdroiddata/-/merge_requests/15432#note_2020587507 and https://gitlab.com/fdroid/fdroiddata/-/merge_requests/15486#note_2022283874 (see the logs)
@chvp can you build with minify disabled and attach the APK for us to check?

There's a ZIP with a non-minified APK here: https://github.com/chvp/NanoLedger/actions/runs/10375192313/artifacts/1808005823

(I would prefer not to have to disable minification permanently, it's a 500% increase in artifact size...)

@licaon-kter were you able to test this? Or should I really create a new release without minification?

Missed the notification, I'll test the one you linked above asap

confirmed, that APK is repro compared with my local built APK from a191118

🎉

(note: you built your APK from e81f2f6 but I can't build from that as it's not part of any tree or smth)\

The actions are run against the potential merge commit. And since main has moved since then, that commit doesn't exist anymore. It should be the exact same content as a191118, since the branch was up to date at the time.

/LE: wow the unminified APK is like 10x the size 😿

Yeah, that's why I would prefer not to turn minification off. Is there anything we can do while preserving minification, or should I just eat the increase in artifact size?
@licaon-kter

It should be the exact same content as a191118 , since the branch was up to date at the time.

The APK contains the VCS info that points to the used commit, the APKs end up different... if commits are different.
We advise to always build from thu tagged commit, here this  was just a test so it does not matter.
No idea on the minify future though.
We have more and more apps that minify makes non-deterministic.

Releases are always built from the main branch when a tag is created, this is just when building from a PR.

Tagged a new release without minification 🤞

confirmed fixed: https://gitlab.com/fdroid/fdroiddata/-/commit/a9439d6515edb4f43cd836ef9cb86f08194a726f


ch02, update to latest project and nuget.

delete stockTrade/ and YourFirstRxExample direct in ch02.

Hi
Thanks for taking the time to improve the examples!
This repo code conventions is to to put the  curly braces on separate lines, so please fix that.
Also, make sure the build is passing
https://ci.appveyor.com/project/tamirdresher/rxinaction


YAML Serializer

Why

I would like to convert to yaml string from Ruby object which I created in Rails app
Also, I think we might have a reverse thing

What

Serialize: Ruby object => YAML string
Deserialize: YAML string => Ruby object

TODO

[x] OpenAPI Object
[x] Info Object
[x] Contact Object
[x] License Object
[x] Server Object
[x] Server Variable Object
[x] Components Object
[x] Paths Object
[x] Path Item Object
[x] Operation Object
[x] External Documentation Object
[x] Parameter Object
[x] Request Body Object
[x] Media Type Object
[x] Encoding Object
[x] Responses Object
[x] Response Object
[x] Callback Object
[x] Example Object
[x] Link Object
[x] Header Object
[x] Tag Object
[x] Reference Object
[x] Schema Object
[x] Discriminator Object
[x] XML Object
[x] Security Scheme Object
[x] OAuth Flows Object
[x] OAuth Flow Object
[x] Security Requirement Object

Covering almost cases, so I'll merge this.


[CMake Cache Editor] add checkbox filters for "advanced" and internal cache variables

Brief Issue Summary
CMake has a feature to mark cache variables as "advanced" (as in "for advanced/expert usage scenarios"). ccmake has a control to toggle showing advanced cache variables and hides them by default.
Cache variables can also be marked as "internal". cmake-gui never shows internal cache variables.
It would be a nice quality of life feature if the GUI editor in this extension also exhibited similar behaviours. Right now, it seems to always show everything.
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response

Thank you for this feature request. We may not get to this immediately, but we would accept a pull request from the community.

Supporting this request. Our CMake-based meta build system makes heavy use of internal variables, creating several thousands of them to cache its internal state between CMake invocations, even for medium sized projects. Thats a lot of noise for users wishing to adjust the few public cache variables actually relevant to them.


ensure 'check' is in the ldpath for spud-test

Coverage remained the same at 95.72% when pulling 35b44f073caabd17e45019c794531e9e73a795fd on linuxwolf:master into 6d59d521c8ee1dd6a388fdba2601a478712125b3 on iptube:master.


Extensibility / Plugin Support

Add support for calling into plugins during code generation. One specific use case I have is to support automatic encryption/decryption of columns. To illustrate, here's very naive proposal:
CREATE TABLE authors (
          id   BIGSERIAL PRIMARY KEY,
          name text      NOT NULL, -- :encrypted
          bio  text -- :encrypted
);

Adding the :encrypted annotation and having the encryption plugin enabled would cause sqlc to augment the generated code to look like the below:
// db.go
interface Cipher {
  Encrypt(s string) (string, error)
  Decrypt(s string) (string, error)
}

func New(db DBTX) *Queries {
	return &Queries{db: db, enc: &NoopCipher{}}
}

func NewWithEncryptor(db DBTX, ciph Cipher) *Queries {
	return &Queries{db: db, ciph: ciph}
}

type Queries struct {
	db DBTX
	ciph Cipher
}

// query.sql.go
const createAuthor = `-- name: CreateAuthor :one
INSERT INTO authors (
          name, bio
) VALUES (
  $1, $2
)
RETURNING id, name, bio
`

type CreateAuthorParams struct {
	Name string
	Bio  sql.NullString
}

func (q *Queries) CreateAuthor(ctx context.Context, arg CreateAuthorParams) (Author, error) {
	var err error
	var i Author

	arg.Name, err = q.ciph.Encrypt(arg.Bio)
	if err != nil {
		return i, err
	}
	arg.Bio, err = q.ciph.Encrypt(arg.Bio)
	if err != nil {
		return i, err
	}
	row := q.db.QueryRowContext(ctx, createAuthor, arg.Name, arg.Bio)
	err := row.Scan(&i.ID, &i.Name, &i.Bio)
	if err != nil {
		return i, err
	}
	i.Name, err = q.ciph.Decrypt(i.Name)
	if err != nil {
		return i, err
	}
	i.Bio, err = q.ciph.Decrypt(i.Bio)
	if err != nil {
		return i, err
	}

	return i, err
}

The Cipher is be an interface dictated by the plugin that the user would have to provide.
This proposal leaves a lot to answer and is just an example of what we can do with plugins. sqlc having an understanding of the schema and being able to parse annotations (comments) makes it a great place to hook into this automated code for translating. I don't think this is achievable simply with a custom type, since the Cipher needs to be initialized with secret key material to perform the encryption/decryption.
I don't know how exactly you would do a plugin with sqlc. Maybe make it easy to create a custom build of the sqlc CLI, and adding support to the library for code generation hooks. Or, maybe invoking external binaries that communicate over grpc (a pattern in the Go community nowadays), but that could result in a complex protocol and you'd have to describe the AST and in-memory models in protobuf.
I think this could be a really powerful feature though. Curious what your thoughts are.

👀 https://github.com/kyleconroy/sqlc/pull/1414 👀

https://github.com/kyleconroy/sqlc/pull/1684


X failed downloads

[2:06:22 PM] Starting Sid Meier's Civilization VI
[2:06:30 PM]    An unexpected error (SteamKit2.SteamKitWebRequestException) occurred while downloading manifests.  Retrying...
[2:06:39 PM] Downloading 6.64 GiB
1 failed downloads
[2:06:57 PM] Finished in 17.9459 - 3.18 Gbit/s

[2:06:57 PM] Starting Teardown
[2:06:58 PM] Downloading 2.78 GiB
2 failed downloads
[2:07:13 PM] Finished in 14.3978 - 1.66 Gbit/s

[2:07:13 PM] Starting Tom Clancy's Rainbow Six Siege
[2:07:22 PM] Downloading 73.66 GiB
48 failed downloads
[2:08:19 PM] Finished in 57.0671 - 11.09 Gbit/s

Using the Docker container, cant really find any usable logs anywhere :(

Closing this as it seems to be an issue with regional CDNs being unable to handle slicing


Wrong behavior with bottomSheet Composable and keyboard in AnimatedNavHost

Describe the bug
When using Navigation Material to display bottomSheet composable, I have an issue where the bottom sheet is not expanded when the content is too big and the keyboard opened.
To Reproduce
I've attached two video. The first one display a box in 16:9 ratio on top, and the content and when opening the keyboard it's ok. On the second video the ratio is now 4:3, resulting a bottom sheet too high. The bottomsheet is not appearing on top of the keyboard. That's my issue.
Expected behavior
The expected behavior in my cas is that the bottom sheet appear on top of the keyboard.
Screenshots?
https://user-images.githubusercontent.com/758587/138258691-76c001f3-0bfb-4afc-969f-1e9bb36dc434.mp4
https://user-images.githubusercontent.com/758587/138258379-b163487a-5726-4161-8c31-1b49b196b6e9.mov
Environment:

Android OS version: Android 12
Device: Pixel5
Accompanist version: 0.20.0

Additional context
The code for this sample:
object Destinations {
    const val home = "home"
    const val sheetInput = "sheetInput"

    object SheetResult {
        private const val root = "sheetResult"
        const val input = "input"
        const val route = "$root/{$input}"
        fun route(value: String) = "$root/$value"
    }
}

class MainActivity : ComponentActivity() {
    @OptIn(
        ExperimentalMaterialNavigationApi::class,
        ExperimentalAnimationApi::class,
        ExperimentalComposeUiApi::class
    )
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        WindowCompat.setDecorFitsSystemWindows(window, false)
        setContent {
            NavigationBottomSheetInputTheme {
                ProvideWindowInsets {
                    val bottomSheetNavigator = rememberBottomSheetNavigator()
                    val navController = rememberAnimatedNavController()
                    navController.navigatorProvider += bottomSheetNavigator
                    ModalBottomSheetLayout(
                        bottomSheetNavigator,
                        modifier = Modifier.fillMaxSize(),
                    ) {
                        AnimatedNavHost(navController, Destinations.home,
                            enterTransition = { _, _ -> fadeIn(animationSpec = tween(300)) },
                            exitTransition = { _, _ -> fadeOut(animationSpec = tween(300)) }
                        ) {
                            composable(route = Destinations.home) {
                                Home(onclick = { navController.navigate(Destinations.sheetInput) })
                            }
                            addBottomSheet(navController)
                            composable(
                                route = Destinations.SheetResult.route,
                                arguments = listOf(
                                    navArgument(Destinations.SheetResult.input) { type = NavType.StringType },
                                )
                            ) { backStackEntry ->
                                val arguments = requireNotNull(backStackEntry.arguments)
                                Box(modifier = Modifier.fillMaxSize(), contentAlignment = Alignment.Center) {
                                    Text(text = arguments.getString(Destinations.SheetResult.input, ""))
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    @OptIn(ExperimentalMaterialNavigationApi::class, androidx.compose.ui.ExperimentalComposeUiApi::class)
    private fun NavGraphBuilder.addBottomSheet(navController: NavController) {
        bottomSheet(route = Destinations.sheetInput) {
            var input by remember { mutableStateOf("") }
            Column(
                modifier = Modifier
                    .fillMaxWidth()
                    .navigationBarsWithImePadding()
                    .padding(20.dp),
                horizontalAlignment = Alignment.CenterHorizontally,
                verticalArrangement = Arrangement.spacedBy(20.dp)
            ) {
                Box(
                    modifier = Modifier
                        .fillMaxWidth()
                        .aspectRatio(FailingRatio)
                        .background(Color.Blue)
                )
                OutlinedTextField(value = input, onValueChange = { text -> input = text })
                Button(onClick = {
                    navController.navigate(Destinations.SheetResult.route(input))
                }) {
                    Text("Continue")
                }
            }
        }
    }

    @Preview
    @Composable
    private fun Home(onclick: () -> Unit = {}) {
        Box(
            modifier = Modifier
                .fillMaxSize()
                .navigationBarsPadding(), contentAlignment = Alignment.Center
        ) {
            Button(onClick = onclick) {
                Text(text = "Sign-In")
            }
        }
    }
}

const val SuccessRatio = 16f/9f
const val FailingRatio = 4f/3f

Thanks for the report! We will look into this in the next week but a fix might be delayed due to an upcoming refactoring. I'll keep this issue up-to-date :)

@jossiwolf did not tried the last update but do you know if this issue might be fixed?

@bunjix I will run some tests again but still preparing the big refactoring; we haven't changed anything meanwhile so I don't expect it to be fixed. Sorry for the delay!

@bunjix To clarify - does this only happen with AnimatedNavHost or with a regular NavHost as well? If it happens with a regular NavHost too, can you post the repro for that, please? :)

@jossiwolf Just tried with a regular NavHost. Same result. Same repro for that issue.
If you take my sample code and just change to use the NavHost and update import you will have exact same result.

Hi @jossiwolf any idea? If I can help with more detail, let me know.

Waiting on upstream work in Swipeable.

v0.28.1 addresses this issue. Please let us know if you can still reproduce it with this version.

v.0.29.1-alpha and subsequent versions address this.

we are still facing the same issue in compose 1.5.3

@jossiwolf Hey, is there any updates about this issue? Still reproduces with bottom sheet and lazyColumn inside

Any update on this issue?

The insets implementation has been upstreamed to Compose, and the bottom sheet implementation for Material is also in the main upstream code base. Please use the main Compose issue tracker for reporting any issues, there won't be changes to the deprecated components here.


Cant end turn because of policy cards. . .

simply I can't view the government ..  so I can't end the turn

Hi,
CQUI isn't compatible yet with the new Summer 2017 patch.
Progress see #591.
You could download an test the Summer-2017 branch.
In #591 is a workaround to use CQUI with the Summer 2017 patch too.
Regards,
Jens


make tests pass

Issue in create/update was tests were testing for response as an array, which I believe was incorrect. Your code sent a single object (I think correctly), which broke the tests.
Fixed a couple of smaller test issues:

Caching objects correctly in create
Sending empty params in delete

<3 thank you Bob!


ncurses: include terminfo database in package

This modifies the ncurses recipe to include terminal database information, in other words runtime configuration files, in the share directory. This is needed for the upcoming vim recipe which needs to use the terminfo/x/xterm-256color to operate correctly. Rather than just building and shipping that one file, I'm including all of the database files as I expect more will be needed at some point in the future.
The changes to the recipe are at the configure stage, removing the --disable-database flag and specifying the --build and --host platforms. The latter are needed to ensure that it knows it is cross-compiling so that it uses the build platform's tool (called tic) to build the terminfo rather than the host's.
The packages bin directory now includes a couple more utilities and a new share directory which is 7.2 MB.
As far as I can tell ncurses is only used in the lua recipe so I don't think the additions here will affect any other recipes. But it would be good to get a second opinion that these changes are OK.

I originally packaged ncurses to use it to build readline, but there are no plans to build readline anymore so these changes should be fine.

Thanks @IsabelParedes, I will merge then.


Timer is unstable.

When I tried to buy an ENS name, I went to the timer page and ran a commit tx.
This tx seems to be going well, but ENS' pop-up was a bit laggy and I couldn't go to the registration page, instead, I see pages below.

Screenshots

I guess I can reach to the normal timer again once I wait for 86400 secs (maxCommitmentAge).
I tried making tx from etherscan but register function needs secret in the argment and I gave up checking it.

I tried sending register tx from etherscan and I got "commitment is too old" error.
Timer page is still like above.


size_report: Don't crash when observing stripped symbols

When stripped symbols are present in the build, "size_report" has crashed
due to it not being aware of this case.
This patch causes stripped symbols to be ignored, allowing
analysis of the non-stripped symbols.
It is left as future work to somehow display how much space the stripped
symbols are taking up.
Stripped symbols can be present when third-party binaries are linked
into the build.
This fixes #16670

@nashif could you pls review this bug fix patch?


Added the slider for fee selection

This PR is to add a new feature of the slider to choose transaction fees while sending bitcoins.
issue #125

Good stuff! Thanks for taking this on. The only 2 small changes I would need before merging are:

The smallest value the slider should be able to set is 1.0.
This is a new feature, so your commit message should be something like Feat: Add slider for fee selection.

Great little addition! Cheers 🔥