HADOOP-18484. Upgrade hsqldb to v2.7.1 to mitigate CVE-2022-41853

Description of PR
Upgrade hsqldb to v2.7.1 to mitigate CVE-2022-41853
Cherry-picked https://github.com/apache/hadoop/commit/e62ba16a02f8f325eff06b932de89e986335a5e1 for branch-3.2
How was this patch tested?
For code changes:

[X] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[X] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

@adoroszlai please help in reviewing the follow-up PR for branch-3.2

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
9m 48s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+0 :ok:
xmllint
0m  1s

xmllint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-3.2 Compile Tests _

+0 :ok:
mvndep
5m  5s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
28m 19s

branch-3.2 passed

+1 :green_heart:
compile
17m  5s

branch-3.2 passed

+1 :green_heart:
mvnsite
6m 33s

branch-3.2 passed

+1 :green_heart:
javadoc
5m 15s

branch-3.2 passed

+1 :green_heart:
shadedclient
76m 59s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 34s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m 45s

the patch passed

+1 :green_heart:
compile
15m 52s

the patch passed

+1 :green_heart:
javac
15m 52s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
5m 57s

the patch passed

+1 :green_heart:
javadoc
5m 23s

the patch passed

+1 :green_heart:
shadedclient
27m 31s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
0m 51s

hadoop-project in the patch passed.

+1 :green_heart:
unit
3m  6s

hadoop-yarn-server-common in the patch passed.

+1 :green_heart:
unit
125m 14s

hadoop-mapreduce-client-jobclient in the patch passed.

+1 :green_heart:
unit
1m 24s

hadoop-mapreduce-examples in the patch passed.

-1 :x:
unit
155m 38s
/patch-unit-hadoop-mapreduce-project.txt
hadoop-mapreduce-project in the patch passed.

-1 :x:
asflicense
1m 23s
/results-asflicense.txt
The patch generated 1 ASF License warnings.

425m 22s

Reason
Tests

Failed junit tests
hadoop.mapred.uploader.TestFrameworkUploader

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5102/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5102

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint

uname
Linux 30103e6b47d5 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.2 / 318bccf95fa669e161f243a810ed9da21f991b39

Default Java
Private Build-1.8.0_342-8u342-b07-0ubuntu1~18.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5102/1/testReport/

Max. process+thread count
1557 (vs. ulimit of 5500)

modules
C: hadoop-project hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient hadoop-mapreduce-project/hadoop-mapreduce-examples hadoop-mapreduce-project U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5102/1/console

versions
git=2.17.1 maven=3.6.0

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

LGTM

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
8m 27s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+0 :ok:
xmllint
0m  0s

xmllint was not available.

+1 :green_heart:
@author
0m  1s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-3.2 Compile Tests _

+0 :ok:
mvndep
5m  9s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
26m 37s

branch-3.2 passed

+1 :green_heart:
compile
16m  4s

branch-3.2 passed

+1 :green_heart:
mvnsite
6m 37s

branch-3.2 passed

+1 :green_heart:
javadoc
5m 41s

branch-3.2 passed

+1 :green_heart:
shadedclient
74m 43s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 33s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m 28s

the patch passed

+1 :green_heart:
compile
15m  7s

the patch passed

+1 :green_heart:
javac
15m  7s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
5m 54s

the patch passed

+1 :green_heart:
javadoc
5m 20s

the patch passed

+1 :green_heart:
shadedclient
27m 33s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
0m 48s

hadoop-project in the patch passed.

+1 :green_heart:
unit
3m 13s

hadoop-yarn-server-common in the patch passed.

+1 :green_heart:
unit
125m  1s

hadoop-mapreduce-client-jobclient in the patch passed.

+1 :green_heart:
unit
1m 23s

hadoop-mapreduce-examples in the patch passed.

-1 :x:
unit
151m 19s
/patch-unit-hadoop-mapreduce-project.txt
hadoop-mapreduce-project in the patch passed.

-1 :x:
asflicense
1m 39s
/results-asflicense.txt
The patch generated 1 ASF License warnings.

416m 12s

Reason
Tests

Failed junit tests
hadoop.mapred.uploader.TestFrameworkUploader

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5102/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5102

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint

uname
Linux af673652587f 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.2 / 382d4cc6c67e87b6093df9709b65dd42f893e8ea

Default Java
Private Build-1.8.0_342-8u342-b07-0ubuntu1~18.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5102/2/testReport/

Max. process+thread count
1613 (vs. ulimit of 5500)

modules
C: hadoop-project hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient hadoop-mapreduce-project/hadoop-mapreduce-examples hadoop-mapreduce-project U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5102/2/console

versions
git=2.17.1 maven=3.6.0

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

asflicense warning about jobTokenPassword seems wrong, it's an artifact of test runs.  Exclusion was added as part of HADOOP-17125 (https://github.com/apache/hadoop/pull/2297#issuecomment-703789784).
The only test failure seems unrelated.  Cannot delete file during post-test cleanup because the file does not exists:
[INFO] Running org.apache.hadoop.mapred.uploader.TestFrameworkUploader
[ERROR] Tests run: 14, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.223 s <<< FAILURE! - in org.apache.hadoop.mapred.uploader.TestFrameworkUploader
[ERROR] testNativeIO(org.apache.hadoop.mapred.uploader.TestFrameworkUploader)  Time elapsed: 0.025 s  <<< ERROR!
org.apache.commons.io.IOExceptionList: 1 exceptions: [java.io.IOException: Unable to delete file: /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-5102/src/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-uploader/target/test-dir/-4315256932731632160/symlinkToTarget.txt]
	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:345)
	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1206)
	at org.apache.hadoop.mapred.uploader.TestFrameworkUploader.testNativeIO(TestFrameworkUploader.java:476)
...
Caused by: java.nio.file.NoSuchFileException: /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-5102/src/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-uploader/target/test-dir/-4315256932731632160/symlinkToTarget.txt

Thanks @adoroszlai for validating


Added ro version.

Build failed
Hey Alex,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
Node.js: 8

     npm test

><EMAIL_ADDRESS>test /home/travis/build/bluzi/name-db
> mocha

  name files
    1) should contain valid JSON
    2) should contain a lowercase name, same as the filename
    3) should not have duplicate names
    4) should have ISO-639-3 language codes
    5) should have correct structure

  Translations
    6) should be lowercase

  Sex
    7) should be "m", "f" or "u"
    8) should be lowercase

  0 passing (51ms)
  8 failing

  1) name files
       should contain valid JSON:
     Error: Error in name file "alexander.json": Invalid JSON file
SyntaxError: Unexpected token
 in JSON at position 367
      at Context.it (test/test.js:16:23)

  2) name files
       should contain a lowercase name, same as the filename:
     SyntaxError: Unexpected token
 in JSON at position 367
      at JSON.parse (<anonymous>)
      at Context.it (test/test.js:24:31)

  3) name files
       should not have duplicate names:
     SyntaxError: Unexpected token
 in JSON at position 367
      at JSON.parse (<anonymous>)
      at Context.it (test/test.js:35:31)

  4) name files
       should have ISO-639-3 language codes:
     SyntaxError: Unexpected token
 in JSON at position 367
      at JSON.parse (<anonymous>)
      at Context.it (test/test.js:47:31)

  5) name files
       should have correct structure:
     Error: Error in name file "alexander.json":
SyntaxError: Unexpected token
 in JSON at position 367
      at Context.it (test/test.js:106:23)

  6) Translations
       should be lowercase:
     SyntaxError: Unexpected token
 in JSON at position 367
      at JSON.parse (<anonymous>)
      at Context.it (test/test.js:116:31)

  7) Sex
       should be "m", "f" or "u":
     SyntaxError: Unexpected token
 in JSON at position 367
      at JSON.parse (<anonymous>)
      at Context.it (test/test.js:131:31)

  8) Sex
       should be lowercase:
     SyntaxError: Unexpected token
 in JSON at position 367
      at JSON.parse (<anonymous>)
      at Context.it (test/test.js:145:31)

npm ERR! Test failed.  See above for more details.

Hey @hackmajoris,
Something went wrong with the build.
TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.
View build log
TravisBuddy Request Identifier: 5185f620-de94-11e8-b084-61188e6c7303

Hey @hackmajoris,
Something went wrong with the build.
TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.
View build log
TravisBuddy Request Identifier: 80c35090-de94-11e8-b084-61188e6c7303

Hey @hackmajoris,
Something went wrong with the build.
TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.
View build log
TravisBuddy Request Identifier: f7319cf0-de94-11e8-b084-61188e6c7303


Help please, I can't sync my phone, hacker is using my phone, down below is the error from Google cloud, I can't verify my own device

For security, you can no longer access your encrypted data on this device. Try again using a device you’ve recently used to sign in to your Google Account.
Visit g.co/OnDeviceEncryption to learn more.

What is this? A bug report? A feature request?
Without giving exact details (version, operating system, hardware details), nobody can help you.


 w/ adjustsFontSizeToFit does not use the correct font family when first character is an emoji

Is this a bug report?
Yes

Have you read the Bugs section of the Contributing to React Native Guide?
Yes

Environment

react-native -v: 0.45.1
node -v: v8.1.4
npm -v: 5.0.3
yarn --version (if you use Yarn): 0.27.5

Then, specify:

Target Platform (e.g. iOS, Android): both
Development Operating System (e.g. macOS Sierra, Windows 10): macOS Sierra
Build tools (Xcode or Android Studio version, iOS or Android SDK version, if relevant): Xcode 8.3.3

Steps to Reproduce

(Write your steps here:)

Create a <Text> component and enable adjustsFontSizeToFit and set the minimumFontScale. Set a non-default font family like "Helvetica".
Use an emoji as the first character of the string (ie. 👋🏻 hello world)

render() {
    return(
      <View style={styles.container}>
        <Text style={styles.paragraph} adjustsFontSizeToFit={true} minimumFontScale={0.8}>
          👋🏻 Hello World
        </Text>
      </View>
    )
}

const styles = StyleSheet.create({
    paragraph: {
        fontFamily: "Helvetica",
    }
}

Expected Behavior

The text would render normally with the Helvetica font family applied to the entire text string.
Actual Behavior

The text string renders in the Courier font family.

Reproducible Demo

https://snack.expo.io/H15ZslNrb

Additional Info
Seems like line 553 of RCTShadowText.m replaces the font based on the first character of the string. If the character is an emoji, it will try to apply "Apple Color Emoji" fontFamily on the entire string.
https://github.com/facebook/react-native/blob/bd004568d3e006b61391417fc405e9483996dc81/Libraries/Text/RCTShadowText.m#L553

This is still an issue as of 0.47.2


Internal transactions tab showing all internal transactions

Example tx:
https://www.teloscan.io/address/0xA25bc8c1e230a476cB00f2e9c93ffC2D4e163dc5?tab=internaltx

@rozzaswap this issue is actually fixed in dev branch.
I know that I had fixed that, but I can't find the PR where I did it
https://deploy-preview-694--dev-mainnet-teloscan.netlify.app/address/0xA25bc8c1e230a476cB00f2e9c93ffC2D4e163dc5?tab=internaltx


feat: horizontal cards

Describe the feature
Option to make smaller horizontal cards for use in pages similar to what Mintlify has:

Additional information

[ ] Would you be willing to help implement this feature?

Added in 6277011


HOPSWORKS-16

Show pop-up informing the user for the guided tours, user can opt-out for the pop-up

I can try this out. Will merge it.


        "display_timestamp" : "@timestamp",

I got:
Invalid date

in date field until I removed :
 "display_timestamp" : "@timestamp",

After removing current time is displayed...
My @timestamp is milliseconds since epoch. ES mapping come from template and is:
      "@timestamp": {
        "type": "date",
        "format": "epoch_millis"
      },

Looks like there is some date parsing issue with moment.js. Can you post a sample document from your ES?

Of course, it fictional:
{"@timestamp":"1497909361079","level":"TRACE","logger":"org.defun.logbackes.ESAppenderTest","thread":"main","message":"yy","marker":"login"}

From your JSON doc, I see that @timestamp is coming as string. Can you configure it as long (number) datatype in ES, so that the query on document return number instead of string?

@gavenkoa Are you able to fix this issue? Let me know if you need any help.

Reopen if you see any issue after converting timestamp to number.


V3

I'll need to review the "positions" file, as jlc didn't parse it (even though could place order) and it thrown a couple other errors. Also- the width of the base for usb receptacle needs to be rechecked- looks wider than should be, will check next time


Fixed discord last update

Last update requires the string Bot before the token

I just adjusted the token passed in on the command line, but this is totally reasonable to merge.

I tried that, but got an error, golang is not my best skill

but yes, it now works that way

Why isn't this merged?


Download the forms archive in addition to checking the version

We have a few reports from the mailing list (e.g. this one) of errors when updating forms, sometimes in the form of timeouts. Short of network problems (user reports that's not the case) or MS OneDrive outage (possible but shouldn't happen often), there's another possibility in the design of the system.
Because this repo's GitHub action triggers scraping once an hour, there's a time period during which an update on the Winlink site could leave us with a stale download URL, which could cause 404s or timeouts. To give us more control, this PR will start downloading the forms archive and serving it through Github Pages.
This PR does not yet change the archive URL published in the latest document. Instead, it logs the URL and commits the forms archive so we can test and make sure the change works before making it live.

IIRC we went down this road way back when we initially started to think about forms. Did we get a good answer from WDT regarding licensing of the forms files? Do we have all formailities in place to redistribute?
Regarding the technical aspects: This would be a very nice improvement IMO 👍
But it got me thinking.. Could we go all the way and unzip these into a public repo, tag each version and use the built-in source tarballs made available by github? This way we would also get confirmation that the zip archive is OK, and be able to follow changes in the forms using the git 🤔 Pat could then simply pull the latest "release" tarball through Github's API.

Regarding my "little" idea. I realize that this PR elegantly solves the immediate problem without having to modify Pat. So if we have all formailities in place, I vote for merging this and looking closer at my proposal after we're done with the VARA feature 🙂

If I'm not mistanken, I believe with your latest commit we'll end up with an empty file. You can't read the body twice from resp.Body like that. We have already reached EOF when ReadAll returns.
How about writing to a temp file first, verify the integrity with zip.Open(tmpPath) and then move it to the permanent location? Saves memory aswell 🙁

Oh, and the way: In readZipFile if we use io.Copy(io.Discard, f) instead of ioutil.ReadAll we avoid copying each file into memory as well.

If I'm not mistanken, I believe with your latest commit we'll end up with an empty file. You can't read the body twice from resp.Body like that. We have already reached EOF when ReadAll returns.
How about writing to a temp file first, verify the integrity with zip.Open(tmpPath) and then move it to the permanent location? Saves memory aswell slightly_frowning_face

Woops, you're right, the file in the ghpages branch is 0 bytes. Good thing I didn't change the download URL yet! I'll fix that up.

Did we get a good answer from WDT regarding licensing of the forms files? Do we have all formailities in place to redistribute?

I forgot to answer this: they gave us the go-ahead to redistribute the ZIP file (as in this change), but were just a little bit wary of having us start an unzipped Git repo because they were possibly interested in doing that themselves.

Sounds good 👍
Maybe we should add a note on this in the repo?


[v2.2.3] Alertmanager does not deploy

Version: v2.2.3-rc5
What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Try to set up an alert with a notifier

Result:

No errors in API/UI but in rancher logs alert manager will not deploy.

Other details that may be helpful:
Logs snippet:
[rancher-857df9596f-zjnnv] 2019/05/03 18:14:09 [ERROR] ClusterAlertRuleController c-m5vp5/car-flfzc [cluster-alert-rule-deployer] failed with : failed to get Alertmanager Deployment information, statefulsets.apps "alertmanager-cluster-alerting" not found, [cluster-alert
-rule-controller] failed with : Failed to get service for alertmanager, service "cattle-prometheus/alertmanager-operated" not found
[rancher-857df9596f-zjnnv] W0503 18:14:32.159327       6 reflector.go:270] github.com/rancher/norman/controller/generic_controller.go:175: watch of *v1.Endpoints ended with: too old resource version: 58362 (59909)
[rancher-857df9596f-zjnnv] 2019/05/03 18:14:58 [ERROR] ProjectAlertGroupController p-b8pvn/projectalert-workload-alert [project-alert-group-deployer] failed with : failed to get Alertmanager Deployment information, statefulsets.apps "alertmanager-cluster-alerting" not f
ound, [project-alert-group-controller] failed with : Failed to get service for alertmanager, service "cattle-prometheus/alertmanager-operated" not found
[rancher-857df9596f-zjnnv] 2019/05/03 18:14:58 [ERROR] ProjectAlertRuleController p-b8pvn/less-than-half-workload-available [project-alert-rule-deployer] failed with : failed to get Alertmanager Deployment information, statefulsets.apps "alertmanager-cluster-alerting" n
ot found, [project-alert-rule-controller] failed with : Failed to get service for alertmanager, service "cattle-prometheus/alertmanager-operated" not found
[rancher-857df9596f-zjnnv] 2019/05/03 18:14:58 [ERROR] ProjectAlertRuleController p-b8pvn/memory-close-to-resource-limited [project-alert-rule-deployer] failed with : failed to get Alertmanager Deployment information, statefulsets.apps "alertmanager-cluster-alerting" no
t found, [project-alert-rule-controller] failed with : Failed to get service for alertmanager, service "cattle-prometheus/alertmanager-operated" not found
[rancher-857df9596f-zjnnv] W0503 18:18:24.023598       6 reflector.go:270] github.com/rancher/norman/controller/generic_controller.go:175: watch of *v1.Event ended with: The resourceVersion for the provided watch is too old.
[rancher-857df9596f-zjnnv] 2019/05/03 18:18:25 [ERROR] Failed to send alert: Failed to get service for alertmanager, service "cattle-prometheus/alertmanager-operated" not found
[rancher-857df9596f-zjnnv] 2019/05/03 18:18:25 [ERROR] Failed to send alert: Failed to get service for alertmanager, service "cattle-prometheus/alertmanager-operated" not found

This seemed to be working recently (rc2 or rc3?)
Environment information
v2.2.3-rc5 HA (but single node should always be affected)

Need to https://github.com/rancher/rancher/pull/19983 into 2.2 branch before move to test

will be available in rc6

Version: v2.2.3-rc6
Alertmanager is now deploying; we can successfully get alerts (notifications) now.


Allow finalizers to be removed when deleting CRDs

See #824. When the CRDs are being deleted, we need to continue
reconciling the CRs until they're gone in order to ensure that any
finalizers on the CRs are removed.
Tested: new test script usually fails without this fix, but reliably
passes with it. Observed the new log messages working as expected while
running the script. For subnamespace anchors, tried removing the
CRD-checking code entirely and verified that
hack/test-delete-anchor-crd.sh failed, and then replaced it with the
current code (the shared isDeletingCRD function) and verified that it
passed again.
Fixes #824

/assign @rjbez17

/assign @yiqigao217
/cc @GinnyJI @adrianchung
Hey Yiqi, can you please review this one as well? Thanks!

Why SubnamespaceAnchor CRD is not included? It has finalizers too. Is it that once the CRD is gone, all subnamespaces are cascading deleted? Maybe add that in the test script too?

SubnamespaceAnchors are already working - see https://github.com/kubernetes-sigs/multi-tenancy/blob/master/incubator/hnc/internal/reconcilers/anchor.go#L116. There's a separate test script for them too - https://github.com/kubernetes-sigs/multi-tenancy/blob/master/incubator/hnc/hack/test-delete-anchor-crd.sh
We already were trying to handle these issues properly, but there was a bug specifically for HierarchyController.

Thanks for the clarification! Not sure if we want to use the same func isDeletingCRD(ctx context.Context, c crdClient, nm string) (bool, error) for all 3 CRDs. Feel free to remove the hold if you think it's ok as is.
/lgtm
/hold

Thanks for the clarification! Not sure if we want to use the same func isDeletingCRD(ctx context.Context, c crdClient, nm string) (bool, error) for all 3 CRDs. Feel free to remove the hold if you think it's ok as is.

Good call! Fixed and retested (see PR description or commit message).

Thanks looks nice!
/hold cancel

/lgtm


Enhance comments in percentile implementation

https://github.com/cupy/cupy/pull/8726#discussion_r1846086478

@kmaehashi Failed to backport automatically.

Not cleanly cherry-picked


Consider consolidating data and equations into one place

I'm sure there are reasons why the separate JSON file is convenient, but I found it made it hard to understand exactly what dynamical systems are being solved without installing the Python package.

Thank you so much for your comment on the code—I am always open to any suggestions on how to make the behind the scenes set up more intuitive!
The basic issue I have is that I want most information to be accessible through an object representing each dynamical system, but I want that object to include (1) a callable RHS for the diffeq and (2) fun facts about the system like its default parameters, estimated Lyapunov exponent, estimated integration timestep, citation reference, whether it’s conservative, etc
For the former, storing the information in a .py file made sense. However, I didn’t like the idea of hard-coding system-specific numbers (especially since I want to retain the ability to write to the file). Conversely, I thought about storing the RHS within the JSON database and loading into Python code when the object is initiated, but that seemed a bit messy. So I ended up splitting it into two files.
Let me know if you have any suggestions! cheers

Some of these values are computed from the attractor (e.g., the Lypaunov spectrum), which I agree would be weird to put into the Python code. So my inclination would be to put everything that describes the system and how to solve it into the class, and to put the variables computed from the system into the JSON data.

I'm closing this issue for now, because I still haven't found a an alternative design pattern that does everything I need it to.
I played around with putting the function definitions themselves into the JSON file, since that could be useful for symbolic regression algos that want to work with parseable definitions. But importing the strings into python functions caused a lot of bugs, and I couldn't get it to play well with numba.
Happy to re-open if a better approach jumps out. cheers, william


Mockserver start method

Using mockserver-1.2.1.jar and the start method not supported. Downloaded jar as couldn't get gradle version and package name right. Please advise

@arkangelx
For Gradle you can set dependency like this (example for Android):
dependencies {
    // To compile it with main app configuration
    compile 'com.squareup.okhttp:mockwebserver:2.2.0'

    // Or if you need mockwebserver only for unit tests configuration (since Android Gradle plugin v1.1.0)
    testCompile 'com.squareup.okhttp:mockwebserver:2.2.0'

    // Or if you use it in androidTest configuration
    androidTestCompile 'com.squareup.okhttp:mockwebserver:2.2.0'

    // dependency format 'group:artifact:version'
    // I suggest you to check Gradle documentation for more info
}

Also, you can download jar of required version from search.maven.org - link to mockwebserver artifacts

Let us know if you have more problems. StackOverflow with the okhttp is also usually a better place for usage problems and questions as it will be seen by more people and will be archived and searchable by others.

Thanks...couldn't get it to work...another issue to do with okhttp nio
On 19 Feb 2015 15:51, "Artem Zinnatullin"<EMAIL_ADDRESS>wrote:

@arkangelx https://github.com/arkangelx
For Gradle you can set dependency like this (example for Android):
dependencies {
// To compile it with main app configuration
compile 'com.squareup.okhttp:mockwebserver:2.2.0'
// Or if you need mockwebserver only for unit tests configuration (since Android Gradle plugin v1.1.0)
testCompile 'com.squareup.okhttp:mockwebserver:2.2.0'

// Or if you use it in androidTest configuration
androidTestCompile 'com.squareup.okhttp:mockwebserver:2.2.0'

// dependency format 'group:artifact:version'
// I suggest you to check Gradle documentation for more info

}
Also, you can download jar of required version from search.maven.org
http://search.maven.org/#search|gav|1|g%3A"com.squareup.okhttp" AND a%3A"mockwebserver"

link to mockwebserver artifacts

—
Reply to this email directly or view it on GitHub
https://github.com/square/okhttp/issues/1444#issuecomment-75075659.

Thanks
On 19 Feb 2015 20:48, "Jake Wharton"<EMAIL_ADDRESS>wrote:

Let us know if you have more problems. StackOverflow with the okhttp is
also usually a better place for usage problems and questions as it will be
seen by more people and will be archived and searchable by others.
—
Reply to this email directly or view it on GitHub
https://github.com/square/okhttp/issues/1444#issuecomment-75132716.

Resolved the previous issue
Did you encounter this?
Test running startedTest running failed: Instrumentation run failed due to
'java.lang.IncompatibleClassChangeError'
Empty test suite.
this is my build.gradle file
compile 'com.squareup.okhttp:okhttp:2.2.0'
compile 'com.squareup.okhttp:mockwebserver:2.2.0'
// Or if you use it in androidTest configuration
androidTestCompile 'com.squareup.okhttp:mockwebserver:2.2.0'
and this is my test method
public void testMockWebServerTest() throws Exception {
    // Create a MockWebServer. These are lean enough that you can

create a new
// instance for every unit test.
MockWebServer server = new MockWebServer();
// Schedule some responses.
server.enqueue(new MockResponse().setBody("hello, world!"));
server.enqueue(new MockResponse().setBody("sup, bra?"));
server.enqueue(new MockResponse().setBody("yo dog"));
    // Start the server.
    server.play(9999);

}
On 19 February 2015 at 22:19, Samson Akisanya <
<EMAIL_ADDRESS>wrote:

Thanks...couldn't get it to work...another issue to do with okhttp nio
On 19 Feb 2015 15:51, "Artem Zinnatullin"<EMAIL_ADDRESS>wrote:

@arkangelx https://github.com/arkangelx
For Gradle you can set dependency like this (example for Android):
dependencies {
// To compile it with main app configuration
compile 'com.squareup.okhttp:mockwebserver:2.2.0'
// Or if you need mockwebserver only for unit tests configuration (since Android Gradle plugin v1.1.0)
testCompile 'com.squareup.okhttp:mockwebserver:2.2.0'

// Or if you use it in androidTest configuration
androidTestCompile 'com.squareup.okhttp:mockwebserver:2.2.0'

// dependency format 'group:artifact:version'
// I suggest you to check Gradle documentation for more info

}
Also, you can download jar of required version from search.maven.org
http://search.maven.org/#search|gav|1|g%3A"com.squareup.okhttp" AND a%3A"mockwebserver"

link to mockwebserver artifacts

—
Reply to this email directly or view it on GitHub
https://github.com/square/okhttp/issues/1444#issuecomment-75075659.


changelist must be an iterable of select.kevent objects

Describe the bug
Notifications will not send - Notification log displays "changelist must be an iterable of select.kevent objects"
Version
v<IP_ADDRESS>
To Reproduce
Send test notification or generate real notification.
Notification debug log
2022/08/09 08:26:51,000 - SENDING - null
changelist must be an iterable of select.kevent objects
2022/08/09 08:25:29,000 - SENDING - null
changelist must be an iterable of select.kevent objects
2022/08/09 08:24:28,000 - SENDING - null
changelist must be an iterable of select.kevent objects
2022/08/09 08:15:30,000 - SENDING - null
changelist must be an iterable of select.kevent objects
2022/08/09 08:10:32,000 - SENDING - null
changelist must be an iterable of select.kevent objects
2022/08/09 08:08:31,000 - SENDING - null
changelist must be an iterable of select.kevent objects

not enough information, you didnt follow the template


Electrum-XZC showing transactions as unconfirmed when connected to certain servers

Electrum-XZC version 3.3.8a6
When connected to electrumx/electrumx03.zcoin.io, several transactions are showing as unconfirmed/unbroadcasted:
Local [rbf, x. sat/b]
However, these transactions are showinng as confirmed when connected to electrumx 01-02.
The transactions in question have more than 40k confirmations on the blockchain.
List of transaction:
96a2450117123d9a901e6362ddf0072aa572fa727c609c24c9d87038d3448265
3457b21c01ea92bf155bfa855fbaccc0871342d4a13fdbf69b0d42ca4b4a63e3
46dae844f684fd5ea1a6cc6ed19ad43e000587b3138a521fcd29b6f5889bae7f

I tied to set up my own electrumx server to test it and I see a similar screen in electrum-xzc
In the log of the electrumx I also see this output:
electrumx.server.block_processor.ChainError: UTXO 95319085ed541bf2f6611b6dde362b155557dfc226f3374061850e6
b3ac4a7b4 / 16 not found in "h" table at height 293430

Update: I reindexed my zcoin node with -reindex and retried to sync the electrumx server but I get the same error.

Hi,
Did you manage to solve this problem? I had the same problem, after updating electrum-xzc to version 3.3.8a7 and restoring my wallet, all withdrawal transactions disappeared. These were previously marked as "local" transactions in the old wallet. When I try to withdraw funds, I get the error "The server returned an error while sending a transaction... Missing inputs".

Fixed.

@justanwar simply out of curiosity, what was the fix?


Make our remote UPS tests consider Saturday as a business day

Problem
Some of our remote UPS tests start failing on Thursday evening and keep failing throughout the remainder of the week because UPS considers Saturday as a business day.
Solution
Add Saturday as a business day for these tests.
cc @mdking

Is this the reason why USPS tests failed today?
Also, whats the reason why they pass sometimes and they fail other times?


Errors on world change

We keep getting these errors spamming our console every time we change worlds. We have the latest dev builds of MV Core, MV Portals and MV Inventories installed from github on a 1.10.2 spigot server.
http://pastebin.com/6cXqtrtF

Disable perworldplugins and try again.

Already removed it and reinstalled. Per World Plugins is not the issue. Still no change. But I am starting to think multiverse is not the problem either anymore. Turns out it happens on any click event not just world change. I've messaged the author of MinigamesLib about the issue also. Hopefully he will know what the problem is.

The error was from pwp

No the error is still there when pwp is removed is just doesn't say at the top "ERROR **** THIS IS NOT AN ISSUE TO DO WITH PER WORLD PLUGINS ****" anymore.

Looks like you should speak to the developer of the MG plugins, they're the ones erroring out it would seem

Yeah, trying to but he's being stubborn and refusing to help because I am having issues posting the error in the only place he will listen to them. Guess I'll just have to delete them. Thanks for trying to help though.
But all time you say that you dont want use Guthub.... and now you say the BugTraker from github dont work....


Missing Type Specifier and missing ','

Scons errors due to the problems in the title.

Sorry could you post the error you are receiving and for what platform you are building for?

I will have to reset up  every thing to get the error, but I am using windows with a portable version of scons.

Ok so you fixed the error locally or what did you do? It would nice to know what file I need to look in to find the error.

This is the error I am receiving.
C:\godot-master\modules\gameanalytics\GameAnalytics.h(19): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

C:\godot-master\modules\gameanalytics\GameAnalytics.h(19): error C2143: syntax error: missing ',' before '&'

C:\Users\chknm\TestingGrounds\godot-master\modules\gameanalytics\GameAnalytics.h(20): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

C:\Users\chknm\TestingGrounds\godot-master\modules\gameanalytics\GameAnalytics.h(20): error C2143: syntax error: missing ',' before '&'

C:\godot-master\modules\gameanalytics\GameAnalytics.h(21): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

C:\godot-master\modules\gameanalytics\GameAnalytics.h(21): error C2143: syntax error: missing ',' before '&'

C:\godot-master\modules\gameanalytics\GameAnalytics.h(23): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

C:\godot-master\modules\gameanalytics\GameAnalytics.h(23): error C2143: syntax error: missing ',' before '&'

C:\godot-master\modules\gameanalytics\GameAnalytics.h(24): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

C:\godot-master\modules\gameanalytics\GameAnalytics.h(24): error C2143: syntax error: missing ',' before '&'

scons: *** [modules\gameanalytics\register_types.windows.tools.64.obj] Error 2
scons: building terminated because of errors.

I had not fixed locally, though I am attempting.
It seems though that it is not perceiving PoolStringArray as a specifier.

Hmm ok. I have not been able to reproduce the error in my end. What version of Visual Studio are you using and what verison Scons are you using?

I am using scons-local-4.0.1 and visual studio comunity 2019

I missed this error before 'cl: Command line warning D9002 : ignoring unknown option '-std=c++11''

I think that is most for mac

https://stackoverflow.com/questions/23283080/compiler-error-c4430-missing-type-specifier-int-assumed this suggests it is a circular dependency. I try to fix that

Have you added c++ MFC (Microsoft Foundation Class) library? As suggested here: https://godotengine.org/qa/74034/install-from-scratch-compile-error?show=74056

I don't think that is the problem I can compile it just fine without the module.

Hmm ok. I am out of ideas. Are you sure you are using a stable version of Godot like stable 3.2.2 (https://github.com/godotengine/godot/releases/tag/3.2.2-stable) and haven't just checked out the latest commit from the master branch?

It may be how I downloaded the godot files your that I am using portable scons.


Create UI Mockup for Game Session Tracking

Create design mockups for game session tracking.
UI Interactive Mockup link:

Please add your planning poker estimate with ZenHub @pascwhale


[Bug] Loaders update only when mouse leaves Controller

Branch 1.3
https://github.com/user-attachments/assets/7f7a83e6-0492-4a11-b697-68b6ce99a787

Same thing in KSampler dropdown widgets

Hmm. Thought I'd fixed that. Possible I haven't push that code yet!

Try now

Fixed!


Transaction execution failed due to issues with transaction inputs

Error: Transaction execution failed due to issues with transaction inputs, please review the errors and try again: Could not find the referenced object 0xc6374c7da60746002bfee93014aeb607e023b2d6b25c9e55a152b826dbc8c1ce at version None., Could not find the referenced object 0xbb4e2f4b6205c2e2a2db47aeb4f830796ec7c005f88537ee775986639bc442fe at version None..
env
<EMAIL_ADDRESS>"0.54.1",
"navi-sdk": "^1.1.21",

What input is this?


Relax version dependencies on protobuf gems

google-protobuf 3.7.0.rc.2 is already released.
https://rubygems.org/gems/google-protobuf

Thanks 👍 Relaeased as v0.3.5 https://github.com/ganmacs/grpc_kit/releases/tag/v0.3.5 .


[Concurrency] Tweak where concurrency tests run

They need libdispatch (whether on macOS or anywhere else) but don't yet work with arm64e.

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 12b08ae382110ede313e10071644b1a25744e2a9

Build failed
Swift Test OS X Platform
Git Sha - 12b08ae382110ede313e10071644b1a25744e2a9

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - cfe2ebd0c351c1cac3602287ad28a53d9b926e27

Build failed
Swift Test OS X Platform
Git Sha - cfe2ebd0c351c1cac3602287ad28a53d9b926e27

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 6eb6dd60155819d25ab3ec6e7abef89f98bca291

@swift-ci please test macOS

Suggestion: use a lit feature for "supports concurrency execution" instead of duplicating this across tests.


Preprocessing of the Dataset

Hi,
I found your paper very interesting.
Can you please provide the preprocess of the datasets

Hi @VIROBO-15 ,
if I understand you correctly, you would like to know how we preprocessed the data?
We did not do much, we just took the data as provided by their respective publications, and normalized it to the range [0,1].

Please let us know if you have any further questions.


Better check for install command

Just using minimist instead... It was already being required anyways.

@Shopify/themes-fed

👍


feat(devtools): Add devtools existence check to pressing the extension button

AB#4525
Description
This PR implements message passing to allow the devtools browser extension to check if the current webpage has devtools and what features it supports. At a high level, the communication is as follows
User clicks extension and messages flow from
PopupScript -> BackgroundScript ->ContentScript -> DevToolsView (retrieve supportedFeatures) ->ContentScript -> BackgroundScript -> PopupScript
Reviewer Guidance
I've been able to get the message passing to work but I can't seem to get supportedFeatures to be available to be sent back.
The supportedFeatures state seems to be null and not updating. How do I ensure it's ready and available in React state by the time for an  incoming request from the extension?

Would you mind adding some screenshots to the PR description?


Adding blocking pop-up for site mapper data insert/update

In the next few commits the ArcGIS pro add-in will be updated to include a simple success/failure message in the dock pane to indicate the status of inserting or updating data into the database.
This will likely need to be improved with a possible blocking popup for failure messages if the user does not understand why it is failing or if they are skipping over a failure message.

Does not seem like it will/has been an issue so closing this ticket.


TwitterCore.framework has missing or invalid CFBundleExecutable in its Info.plist

Followed the instructions but keep getting an error:
Bundle at path /Users/me/Library/Developer/CoreSimulator/Devices/80B45F25-3E6F-4153-894E-998B1F042E54/data/Library/Caches/com.apple.mobile.installd.staging/temp.ixMq0B/extracted/Payload/MyApp.app/Frameworks/TwitterCore.framework has missing or invalid CFBundleExecutable in its Info.plist
Is it perhaps not installing the latest version of the TwitterCore.framework?

Hey @jvence did you found the solution of this issue.
With same issue i am stuck.? Any luck. Please share


infinite loop with specific values

now I checked in C++ your file, its dead loop
_bin_size = 16;
Eigen::Vector3d ray_start(-668, -340, 77);
Eigen::Vector3d ray_end(404, -64, -784);

its look like accumulating double-error result error in final 1 step.

@iperov hello， did you solve that？


I cannot make it working

I installed the package as specified yarn add --dev @nuxtjs/google-analytics
The following code:
  buildModules: [
    ['@nuxtjs/google-analytics', {
      id: 'UA-12301-2' // with my real id instead
    }]
  ]

I put it in export default or/and module.exports  and it doesn't work. When I build the application and I put it in the server, there are no calls to google analytics.
For reference, the important part of the package.json file:
  "scripts": {
    "dev": "nuxt --hostname <IP_ADDRESS>",
    "build": "nuxt build",
    "start": "nuxt start",
    "generate": "nuxt generate",
    "lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
    "precommit": "npm run lint"
  },
  "dependencies": {
    "@nuxtjs/axios": "^5.9.5",
    "bootstrap-vue": "^2.4.1",
    "downloadjs": "^1.4.7",
    "html-loader": "^0.5.5",
    "nuxt": "^2.11.0",
    "nuxt-i18n": "^6.5.0",
    "vue-scrollto": "^2.17.1"
  },
  "devDependencies": {
    "@nuxtjs/eslint-module": "^1.1.0",
    "@nuxtjs/google-analytics": "^2.2.3",
    "babel-eslint": "^10.0.1",
    "eslint": "^4.19.1",
    "eslint-friendly-formatter": "^4.0.1",
    "eslint-loader": "^2.1.1",
    "eslint-plugin-vue": "^4.0.0"
  }

Any guidance is appreciated, thanks!

This question is available on Nuxt community (#c56)

It was a nonsensical issue and completely my fault, I was testing with firefox and it was automatically blocking trackers, in this case google analytics.


All outputs are empty?

I'm trying to take the stdout of helmfile diff and and post it as a comment in the PR. Every output seems to be empty (I've tried helmfile-stdout, helmfile-stderr and exit-code). Am I missing something? I've verified that writing static text in the pr comment action works as expected, and I can get outputs from other actions and add them as a comment.
    - name: Run helmfile
       id: helmfile_diff
       uses<EMAIL_ADDRESS>       with:
         helmfile-args: diff --environment staging
    - name: Helmfile Diff Comment
      uses: mshick/add-pr-comment@v2
      with:
        message: |
          ${{ steps.helmfile_diff.outputs.helmfile-stdout }}

@ben851 could you file some example?

Hi there,
It's literally any output from the plugin, but here's a truncated gist as an example:
https://gist.github.com/ben851/77758732ac2d61b93a94f1f7134710dd

I'd love to get this going as well - we have extensive use of the diff arg in our env and would be handy to have the results posted straight to the PR instead of having to dig in to each action results.


Add context.Context to the backend

Woohoo!

Still a lot todo (and context.TODO()), but we have to start somewhere :)


fixed broker-template server port number

broker-template of traefik.yml was "1883" needs to be "8088"

The number 1883 is in the gateway backup settings for broker, im going to investigate a little more before making the traefik change to 8088

#1


Bundled Django stub does not support custom model managers

Environment data

Language Server version: 2020.6.1
OS and version: 10.15.5
Python version (& distribution if applicable, e.g. Anaconda): 3.7

Expected behaviour
Expected custom Django model manager methods to be recognized.
Actual behaviour
Pylance types all managers as `Manager[Any] instead of their custom subtype, so it reports:

Cannot access member "foo" for type "BaseManager[Any]"
Member "foo" is unknown

Code Snippet / Additional information
from django.db import models

class MyModelManager(models.Manager):
    def foo(self):
        ...

class MyModel(models.Model):
    ...

    objects = MyModelManager()

When using MyModel.objects.foo() it reports the error described above.
If this Django stub was sourced from another project, please direct me to it so I can open an issue directly there.

Why is issue closed? It seems like it's still an issue.

I closed it because it belongs more to the official django-stubs project from which the pylance stubs are taken and there is already ongoing discussion there as to the right approach to address this.

Wait I think this actually is a Pylance issue. Your example works fine in mypy.

IIH, I solved this error with this pattern:
    objects: MyModelManager = MyModelManager()

This is still an issue when chaining manager calls, the first call resolves correctly, but the second call tries to resolve the method on a Queryset object that the manager returns from the methods.

This is still an issue for me. Here is a small sample that reproduces the issue I am seeing:
from django.db import models

class PostQuerySet(models.QuerySet):

    def cool(self):
        return self.filter(title__ilike="cool")

class Post(models.Model):
    title = models.CharField()
    objects = PostQuerySet.as_manager()

cool_posts = Post.objects.cool()

Pylance shows the warning:

cool: Unknown
Cannot access member "cool" for type "BaseManager[Any]"
Member "cool" is unknownPylancereportGeneralTypeIssues

I'm seeing this issue as well @joeriddles, did you find a solution? I'd prefer to use the QuerySet but might resort to just making the manager

I'm seeing this issue as well @joeriddles, did you find a solution? I'd prefer to use the QuerySet but might resort to just making the manager

@TomsOverBaghdad In my original code sample, I was using .as_manager() from a custom QuerySet. The solution I use these days is to create a custom Manager that forwards its custom function calls to the custom QuerySet. See below. It's a bit clunky, but it works.
from django.db import models

class PostQuerySet(models.QuerySet):
    def cool(self):
        return self.filter(title__ilike="cool")

class PostManager(models.Manager):
    def get_queryset(self) -> PostQuerySet:
        return PostQuerySet(self.model)

    def cool(self):
        return self.get_queryset().cool()

class Post(models.Model):
    title = models.CharField()
    objects = PostManager()

cool_posts = Post.objects.cool()


Add Introduction and About Sections to User Guide

Codecov Report
Base: 73.58% // Head: 73.58% // No change to project coverage :thumbsup:

Coverage data is based on head (d60e619) compared to base (fe0a0cc).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #164   +/-   ##
=========================================
  Coverage     73.58%   73.58%
  Complexity      648      648
=========================================
  Files           103      103
  Lines          1912     1912
  Branches        228      228
=========================================
  Hits           1407     1407
  Misses          440      440
  Partials         65       65

Impacted Files
Coverage Δ

...rc/main/java/tuthub/model/util/SampleDataUtil.java
25.00% <0.00%> (ø)

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

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


add project id option

Added a project id option -j so that the script can be run to backup multiple projects without needing to change the gcloud config core.project each time.  Here's an example of how we'll be using the feature.
gcloud-snapshot.sh -r -j project1 -f labels.backup=true
gcloud-snapshot.sh -r -j project2 -f labels.backup=true

nice addition!


casesm changed behaviour, does not deconstruct inductive types

In lean 3:
inductive two_points
  | zero
  | one

namespace two_points
theorem mwe : ∀ (x : two_points), x = zero ∨ x = one := λ x, by casesm _; simp -- works
end two_points

In lean 4:
import Mathlib.Tactic.CasesM

inductive twoPoints
  | zero
  | one

namespace twoPoints
theorem mwe : ∀ (x : twoPoints), x = zero ∨ x = one := fun x ↦ by casesm _ <;> simp -- no match
end twoPoints

Not sure if this was intended behavior, but it was definitely used in mathlib3, e.g. data.sign, so some proofs break now.
Related Zulip thread: here.

I'm not sure whether casesm _ is supposed to work or not, but at least there's a workaround here, if you know the name of the type:
theorem mwe : ∀ (x : twoPoints), x = zero ∨ x = one := fun x ↦ by cases_type twoPoints <;> simp


Not generating picture element.

Hi, I have tried to add this plugin to my project.
I have followed the instructions and added:
const respimg = require("eleventy-plugin-sharp-respimg");
to my the top of my .eleventy.js and
eleventyConfig.addPlugin(respimg);
to the bottom of module.exports
I then created _data/images.json and filled out all my images.
On build, they generate just fine and are placed in my _site asset folder.
Here's my _data/images.json:
https://pastebin.mozilla.org/ay2H4jD9
And here's my for-loop that I placed in a file called processImages.njk
https://pastebin.mozilla.org/OekXLjVX
The problem is that no picture element is generated - what am I doing wrong?

Hi @Amplificator ! If you provide me your full project structure (what directories are at what level etc), it will be much easier for me to figure out where you've gone wrong.
Also including a screenshot of the page in your browser to see what HTML its actually generating would be nice along with your .eleventy.js file so I can see where your site is expecting the root directory to be (e.g. src in the return statement).
Here is a reminder of how the Eleventy Config File should look:
const respimg = require("eleventy-plugin-respimg");

module.exports = (eleventyConfig) => {

  eleventyConfig.addPlugin(respimg);

  // passthrough copy the directory of images so they get placed in _site when we generate the site
  eleventyConfig.addPassthroughCopy("./images"); // or whatever directory your storing images at (dont use _site that is meant for the generated site output)

  return {
     dir: {
         input: 'src', // or '' if you serving from the root directory
         output: '_site'
         data: '_data',
         layouts: '_includes/layouts',
         includes: '_includes'
     }
  }
}

Since you hadn't included a pastebin for your .eleventy.js file (which would be helpful), hopefully yours looks close to the snippet above.
Thats good to hear the images are being generated as expected. The problem is your inputDir values in images.json, thats probably what is causing issue in the template as the srcset values for <source> elements inside <picture> can't find the image through src="./_site/assets/images/etc which you have provided.
Is your template rendering at all even without the respimg usage? Because with layout: null, I don't its even getting built with the site. The responsive image markup should be generated regardless of the image src being available, the HTML will generate regardless and just show the alt text. You must fix your layout: null declaration or remove it completely and place the processImages.njk file at your sites root directory so it definitely generates a page.
One thing you should definitely change is in your _data/images.json file, the inputDir field shouldn't use _site in the URL, it should just be /assets/images/ or /images/ depending on you project structure, the stuff in _site is whats generated by eleventy meaning we shouldnt be accessing from there as it was generated first somewhere else (e.g. /assets/images/ or /images/ where that directory is).
The _site folder is where 11ty outputs the generated static content and shouldn't be used as a URL for loading images. It should be /assets/images/ or whatever folder your storing images in and including in your site output with manual passthrough file copy.

The problem is that no picture element is generated - what am I doing wrong?

Theres a few problems I see after looking over your code.

inputDir inside _data/images.json needs to be updated so it doesn't use _site, simply change it to /assets/images/ or /images/, you don't want to access assets from _site. Also, I need to see your project structure to know exactly what directories are at what level.
The for loop in processImages.njk looks good, one thing I would recommend is if all the images have the same inputDir and/or inputDir you can provide those values manually in the shortcode once in your template rather than for every single object in glboal data (_data/images.json).
The layout field in frontmatter data should not be null. Change it to a valid layout e.g. a .njk or .liquid file within your _includes/layouts/ directory. For example, layout: base.njk or just put the template at the root directory so it builds a page without using template inheritance.
To reduce repetition in images.json, the default quality is 85 so you don't need to include that for every object to save yourself some time.

Theres lots of "potential" issues as I don't know your exact structure, so if you create a minimal reproducible example (project structure, the files needed, screenshot of issue in browser) I will be able to find your problem much quicker.

Is your template rendering at all even without the respimg usage? Because with layout: null, I don't its even getting built with the site. The responsive image markup should be generated regardless of the image src being available, the HTML will generate regardless and just show the alt text. You must fix your layout: null declaration or remove it completely and place the processImages.njk file at your sites root directory so it definitely generates a page.
One thing you should definitely change is in your _data/images.json file, the inputDir field shouldn't use _site in the URL, it should just be /assets/images/ or /images/ depending on you project structure, the stuff in _site is whats generated by eleventy meaning we shouldnt be accessing from there as it was generated first somewhere else (e.g. /assets/images/ or /images/ where that directory is).
The _site folder is where 11ty outputs the generated static content and shouldn't be used as a URL for loading images. It should be /assets/images/ or whatever folder your storing images in and including in your site output with manual passthrough file copy.

The problem is that no picture element is generated - what am I doing wrong?

Theres a few problems I see after looking over your code.

inputDir inside _data/images.json needs to be updated so it doesn't use _site, simply change it to /assets/images/ or /images/, you don't want to access assets from _site. Also, I need to see your project structure to know exactly what directories are at what level.
The for loop in processImages.njk looks good, one thing I would recommend is if all the images have the same inputDir and/or inputDir you can provide those values manually in the shortcode once in your template rather than for every single object in glboal data (_data/images.json).
The layout field in frontmatter data should not be null. Change it to a valid layout e.g. a .njk or .liquid file within your _includes/layouts/ directory. For example, layout: base.njk or just put the template at the root directory so it builds a page without using template inheritance.
To reduce repetition in images.json, the default quality is 85 so you don't need to include that for every object to save yourself some time.

Theres lots of "potential" issues as I don't know your exact structure, so if you create a minimal reproducible example (project structure, the files needed, screenshot of issue in browser) I will be able to find your problem much quicker.

tldr; Create a github repo with your code and share it here so I can pinpoint the issue very quickly and provide you a fix, otherwise parse through the potential pitfalls I discussed above which will be probably more of a headache since I'm not aware of exactly what your project looks like aside from the code you included in the pastebin.

Thanks for the detailed responses - it'a working now.
It came down to my laptop needing something as silly as a reboot (I usually never reboot it).
I had some files that were somehow "stuck" in between git operations and it just ruined several things including this.
A simple reboot fixed it.
Sorry for the confusion :)

Your welcome! I'm glad you got everything working. And thanks for the kudos!
No worries :) Feel free to open another issue in the future if you encounter any other problems. Happy coding!


Add webpack ignore

Adds /* webpackIgnore: true */ to the bundler plugin to suppress webpack warnings with dynamic expressions.
See https://forum.playcanvas.com/t/webpack-issue-with-playcanvas-engine-1-70-2/35856/2
I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

@marklundin looks good have you tested?

yeah its fine


where-is-my-sddm-theme: 1.3.0 -> 1.5.0

Description of changes

Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

where-is-my-sddm-theme


CF207 doc build

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 6 committers have signed the CLA.:white_check_mark: circularlizard:x: RamachandranM:x: ralmodiel:x: sunilkn002-hcl:x: sunilkn020:x: rizstanaRamachandranM seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


tiny fix base on feedback

@jichemicrosoft,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

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

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

add bug fix : AccessLevel  is not passed

@jichemicrosoft,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Skype/Trusted-Application-API/SDK/ClientModel/HttpTransport/RestfulClient.cs
:white_check_mark:Succeeded

Skype/Trusted-Application-API/SDK/ClientModel/Interfaces/Resources.cs
:white_check_mark:Succeeded

Skype/Trusted-Application-API/SDK/ClientModel/Resources/AdhocMeeting.cs
:white_check_mark:Succeeded

Skype/Trusted-Application-API/SDK/ClientModel/Resources/Input.cs
:white_check_mark:Succeeded

Skype/Trusted-Application-API/SDK/ClientModel/Resources/Invitation.cs
:white_check_mark:Succeeded

Skype/Trusted-Application-API/SDK/Tests/ClientModel/Invitation.cs
:white_check_mark:Succeeded

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


QR codes and barcodes for samples

cc @PeterKraus @jdbocarsly (and maybe @MJCliffe?)
We have often discussed labelling physical samples with QR codes/bar codes. This issue can be used to outline the work needed and then potential extensions.

[ ] Resolve sample pages by refcode in the  API and UI

then either:

[ ] We add a configurable "labelling" block that allows you to choose QR code size, style etc. for printing, and any extra info you want to be on the label
[ ] or, we hardcode the label style at the level of the server, and always show that label on the item page. How it prints at different scales will be up to the user.

Open questions

How should permissions work in this case? We could embed a read-only token for the QR code, so if someone can scan your samples, then they should at least be able to see what it is/was.

Extensions
Link resolvers
How long do these barcodes need to last, and what info should we try to encode in them in case the datalab is gone/dead? I think there are two options:

[ ] Stuff as much of the JSON data into the QR code itself, e.g., formula, hazards and so on, so that it at least can be resolved by a smart QR code scanner if datalab is dead. I don't know how smart a normal mobile browser scanner is, so this would need some experimenting.
[ ] Devise a "datalab federation" link resolver, so that the QR code only points to e.g., datalab.ly/concat:refcode, then a simple server at datalab.ly resolves that concat: currently exists at datalab.concatlab.eu. This could allow us to have an interesting "off-ramp" where we statically host an entire datalab's JSON response to allow this resolution to work "forever".

Printing labels from datalab

[ ] Attach label printer to the datalab server itself (via tunnels or whatever), so that a "print label" button always goes to a printer in the lab, with some predefined sizes.
[ ] I think @jdbocarsly was interested in the reverse, where the act of printing a label actually creates the stub datalab page and reserves the ID.

Barcode scanning in datalab itself

[ ] Given the read-only permissions above, it would be nice to use QR codes to also ingest data into datalab. e.g., you exchange samples with a collaborator, they can scan the QR code via the datalab browser (either uploading the image, or using the camera functionality), and then datalab can make the API call to the other person's datalab and ingest it, maintaining various backlinks. In this case, it could be very nice to even communicate to the "remote" datalab that the sample has been "received" and that it is now locked for editing until they rescan the QR code at original end (or alternatively, until they rescan it, any changes made remotely must be pushed back to the local datalab).

All good points.

I think per-server labels would be more straightforward.
The "permissions" discussion can be potentially quite complicated. I think "Name", "Chemical Formula", "Creation Date" and maybe the "Hazard Statements" (if they will be also applicable to samples) should be viewable by anyone who has the item in their hand, but perhaps not without some encoded api key (to prevent crawling).
"Rich data" in the QR codes might make them quite big and inconvenient to use.
Federation is a great idea.
I think having a label printer reserve a sample ID is also a great idea. Not sure if we'd use it in our lab, but it sounds like an obviously smart thing to do.
 I think system dialog might be the low hanging fruit here. Maybe the same tool that creates new datalab samples on button press could also listen for print jobs, but that might be overengineering it.
Sharing samples via barcode - great idea. Maybe something for MADIC3S?

I agree that encoding information about the sample in the qrcode may be getting too complicated. Our thinking is that the QRcode should simply encode a URL because that allows us to point our smartphone cameras at the label and go to the datalab page (instead of needing to open an app or website and then scan, which is annoying). The label itself, however, should have (configurarable) text on it that labels this information.
I also agree with Peter that some basic information about composition and safety and owner should be available to anyone who can scan the QR code. If I have a sample in my hand, then I should be able to find that information out for safety reasons.
I also like the idea of having a federation-wide URL resolver if it isn't too much work, since that gives flexibility. For example, the UH datalab will probably change domains at some point in the near future, and it would be really nice not to have to regenerate labels at that point.
We (@KusalvinD) have thought about (and made a tiny bit of progress towards) the label printing in the lab. The goal is to have a button on the datalab sample page that says "print label" with some options and simply prints the label (I don't actually think we need the reverse case). We have two ways we are thinking about making this work:

Connect wifi label printers to the datalab server by IP.
Have a lightweight server or computer in the lab that is connected to the printers. The datalab server would send authenticated http requests to this server to print (and potentially do other tasks in the lab).

I think each approach has pros and cons, but would be curious to hear other's thoughts.

I will add -- all we've done so far is learn how to generate labels with QR codes and text on them and print them to a Brother QL-810W label printer from python. We haven't worked on integration into datalab yet.

Quick update on the status of #808, datalab can now generate QR codes with whatever prefix link you like, and provides a dialog for printing them (will need to see how this works with a label printer).
The only remaining thing to do here is see if we can visually embed the refcode into the label (optionally), either as part of the QRCode or just below it.
I've also added a QR scanner component for labs that want to have a machine running datalab persistently.
Currently the prefix of the link is configurable but defaults to the non-existent "qr.datalab-org.io", which needs to be built. I'm imaging this as a simple nginx-only server that receives e.g., refcode "test:ABCDEF" and redirects to https://datalab.test.com/items/ABCDEF, though it may be helpful to also have a non-redirect mode that just returns the correct URL (so that e.g., a client can scan a code and check whether it exists on their own datalab or another).
The built-in QRCode scanner component itself can be more flexible, however. It can simply scan the code, extract the refcode from the URL and directly check if it matches its own implementation, without the need of the link resolver.
So we should see basically what the user story for this is, i.e., whether people will mostly be scanning with native QR code scanners on phones or if they could easily use a webcam in the lab.

Another update after some hacking on this today, https://github.com/datalab-org/datalab-federation has its first entry (no instructions yet), which builds a Docker container to be pulled by https://gtihub.com/datalab-org/datalab-purl, which builds another Docker container with generated nginx configs that do the appropriate redirects. I've stuck this at https://purl.datalab-org.io and the demo ID demonstrates the process: http://purl.datalab-org.io/demo:ODYPNF (though the URL with 404 after redirect as there's no QR codes on that deployment yet, plus its on an old version that cannot resolve refcodes itself).
Other stuff to-do:

[ ] Embed tokens in QR code links to allow access to a safe subset of the data


Feature/segmented picker animation

BetterPickerStyle that mimics SwiftUI PickerStyle.segmented
Explanation for changes made outside of SegmentedBetterPickerStyle

BetterPickerStyleListCellConfiguration.select and deselect were made public. The reasoning for this was that with a .segmented style, it does not necessarily make sense to "toggle" when selecting. These normally have a default value selected to start and do not allow for a case where nothing is selected.
Added selectionIndexSet to BetterPickerStyleConfiguration. This was needed because of the way we needed to handle the UI. We need to know which selection is chosen in order to move the View that displays the selection. We have to do this outside of  the makeListCell since we want the View to animate between cells when changing our selection.

Explanation of some decisions made for SegmentedBetterPickerStyle

I could not think of a way to get the selection animation working without requiring a width for the BetterPickerStyle. I tried doing this using GeometryReader, but that also requires a width or it will expand to the entire parent View (not ideal). It would be great if SegmentedBetterPickerStyle had an optional frameWidth, and if that value was nil it would auto-size. I could not get that working though.
For dark mode, we use the same UI as we use for light mode. The reason for this is @Environment(\.colorScheme) var colorScheme was not working properly for me. Maybe I was doing something wrong, but it was not changing based on the selected Color Scheme in Previewer. While not optimal, everything is still very much usable in both light and dark modes.
I added a few configurable parameters to the style: frameWidth, frameHeight and horizontalCellAlignment. My thought was that these would be nice to modify at the parent level. Any cell-based styling should be able to be handled via the ItemContent. Let me know if there are more configurable style options you'd like to see.

This is very minor, but did you consider adding dividers between the segments?

I'm also unable to get colorScheme to work. I'll create an issue for that.

This is very minor, but did you consider adding dividers between the segments?

Yeah, I did consider this. I actually put it off and kind of forgot about it. The reason I originally didn't add it was because the logic was a bit strange before I was manipulating the view outside of the ItemCell. Now that we already have that in for the animation, I will go back and add this in as well.

This is very minor, but did you consider adding dividers between the segments?

Finished implemntation.


Dark mode sandbox

@chris-huggins This is as much as I have done for dark mode so far. You can have a look but I have just done the basics.
If you can come up with what you want in terms of colours, supply the svg's and images then I can make the changes.
https://pr-700--epp.elifesciences.org/
Not done anything with Storybook at the moment


Start Settings Overhaul

mainly putting settings in tabs to be easier to look through
instead of a bajillion dropdowns

Damn
@fogsaturate check this out


Allow creation of new document by POST request

A post request to api/create/<language> creates a new document and returns the newly generated id. It uses all the input as text.

@ekzhang I would be glad if this feature could be added. I am not sure if it is implemented in a way you would have done it, Let me know and I will have a look to improve it.

Hi Matthias! Thanks for your initiative in trying to implement this. While I wouldn't be against adding this API call (or a fuller HTTP API in general), I don't think it's likely to be added just because you can already do this via the main WebSocket protocol, and I don't necessarily want to make it easier for people to automatically create new documents, e.g., over POST requests that could be submitted over a form via CSRF.
Aside from that the code here would need some work, and I don't think it would be an effective use of time for me to review this single contribution unfortunately, as it would be easier for me to implement it myself. But if you're interested in feedback about writing Rust code, just let me know, happy to provide that.


autocast for inference

Hi, I've been using this repo and https://github.com/plemeri/transparent-background excellent work!
Now I'm trying to use autocast to lower the inference times a bit, I couldn't get it to work correctly
What I did was replace this part of the code https://github.com/plemeri/transparent-background/blob/main/transparent_background/Remover.py#L111 with this:
with torch.no_grad():
            with autocast():
                pred = self.model(x)

the model runs apparently without errors but the result of pred is a vector of nan like this:

tensor([[[[nan, nan, nan,  ..., nan, nan, nan],
          [nan, nan, nan,  ..., nan, nan, nan],
          [nan, nan, nan,  ..., nan, nan, nan],
          ...,
          [nan, nan, nan,  ..., nan, nan, nan],
          [nan, nan, nan,  ..., nan, nan, nan],
          [nan, nan, nan,  ..., nan, nan, nan]]]], device='cuda:0',
       dtype=torch.float16)

Do you have any suggestion?

I think the autocast that you are trying to do is to use lower precision, such as half precision.
It is convenient but could throw some error like this.
I'm not sure about the result but you can try casting manually.
I think you can use a wrapper to change the model itself to support lower precision.
Also, I personally do not recommend using half precision for all layers. Use half precision on backbone network only instead.
Thanks.


Error creating Transformer from CRS

import pyproj as proj
crs_wgs = proj.CRS('epsg:4326')
crs_nad = proj.CRS('epsg:4269')
x, y = proj.Transformer.from_crs(crs_wgs, crs_nad, always_xy=True).transform(23.731412, 37.992575)
print(x,y)

Problem description

Transformer is not working
I tried using "+init=epsg:4269" and "+init=EPSG:4269" from reading previous issues, but these didn't work.
Not sure what's happening.
Expected Output
Change projections
Versions
Geopandas - '0.8.1'
proj - 2.6.1
$ conda list proj

This guide should be helpful: https://pyproj4.github.io/pyproj/stable/gotchas.html#internal-proj-error-sqlite-error-on-select

Duplicate of #605

It seemed to be a problem with a specific version of pyproj.  It worked by installing a slightly earlier version:
pip install pyproj==2.6.0

It seemed to be a problem with a specific version of pyproj. It worked by installing a slightly earlier version:

I notice that you are using conda. I would recommend installing pyproj using conda and not pip if you use conda.
conda create -n pyproj pyproj
conda activate pyproj

.condarc:
channels:
  - conda-forge
  - defaults
channel_priority: strict


[FIX] Generate random key if not viewing key available

This pull request prevents a segfault crash when verifying a block which redirected its rewards to a xNAV address if the verifier node has an old wallet and does not have a view key.

Ack

A new build of 88ce1d314269c39166f1f88390c3d790c28b4c46 has completed succesfully!
Binaries available at https://build.nav.community/binaries/fix-segfault


destroy_all doesn't work properly

Looks like destroy_all doesn't work for has_many association which has a scope with_deleted, like
class Company < ApplicationRecord
  acts_as_paranoid
  has_many :users, -> { User.with_deleted }
end

class User < ApplicationRecord
  acts_as_paranoid
  belongs_to :company
end

Company.first.users.destroy_all # doesn't work

Hi @vitalinfo what do you mean by 'doesn't work'? What happens instead or what error messages do you get?

@mvz nothing, any exceptions, but objects aren't destroyed in the collection

What I expect to happen is that all users will become deleted, but they can still be found from the users collection since that collection always also includes the deleted users.
@vitalinfo can you confirm whether the user objects have themselves been destroyed?

Closing this since no more info was received.


[newrelic-logging] Parameterise launch command

Allow launch command overrides to alter default launch command.

Is this a new chart
What this PR does / why we need it:
Makes it possible to override the launch command and pass different command line flags.  Some possible reasons described in #564.
Which issue this PR fixes

fixes #564

Special notes for your reviewer:
If this seems worthwhile, should we do this for the windows daemonset too?
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [mychartname])

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

Hi @neilfordyce,
Our target with these helm-charts is more about common cases and this is not a really common one (as you mentioned). Also, our image doesn't include fluent-bit-watcher, and neither bash/sh... or any other command at the moment of writing this comment.
For plugin configurations and so on, there is another PR open https://github.com/newrelic/helm-charts/pull/551 that is under review.
So sadly, we're going to close this PR by now.
Regards and thanks a lot for your contribution.


Fix LoadError on Windows when loading RuboCop from symlinks

There is a particular edge case when RuboCop is loaded from a fully symlinked environment. This is the default for Bazel which creates a tree of symlinks for every dependency, mimicking the real file tree structure.
In such a setup, RuboCop would fail to load with an error. Resolving the path to an absolute one fixes it.
No such file or directory - //?/D:/_bazel/external/bundle/ruby/3.0.0/gems/rubocop-1.36.0/lib/rubocop/../../exe
...
//?/D:/_bazel/external/bundle/ruby/3.0.0/gems/rubocop-1.36.0/lib/rubocop/result_cache.rb:208:in `each'

I am not sure what is the best way to write a test for this, I could use some guidance.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[ ] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

This is the default for Bazel which creates a tree of symlinks for every dependency, mimicking the real file tree structure.

Does it work differently on Unix-like OSes? I'm just trying to understand if this is truly Windows-specific.

Does it work differently on Unix-like OSes? I'm just trying to understand if this is truly Windows-specific.

It works the same way on Unix-like OSes, but the issue with Windows is that its symlink support is way different - as far as I know there is no real symlinks at all. You can see the //? prefix in the path which denotes this is a UNC path - I suppose that's what is being used internally.
I wish I could find a way configure Windows to avoid these problems rather than patching gems. If you are not willing to merge the PR, I can totally understand that.

The patch seems harmless enough and it does solve a real problem. I'll merge it as is, given that adding tests for this would be quite complicated.

Ops, just noticed you forgot to add a changelog entry for this.


If video is muted then ads volume cant be unmuted

Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
4.3.5
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from main?
Yes
Are you using the demo app or your own custom app?
Custom app
If custom app, can you reproduce the issue using our demo app?
It requires to load ads to check if it works.
What browser and OS are you using?
Windows/Chrome
What configuration are you using?  What is the output of player.getConfiguration()?
{"drm":{"retryParameters":{"maxAttempts":2,"baseDelay":1000,"backoffFactor":2,"fuzzFactor":0.5,"timeout":30000,"stallTimeout":5000,"connectionTimeout":10000},"servers":{},"clearKeys":{},"advanced":{},"delayLicenseRequestUntilPlayed":false,"logLicenseExchange":false,"updateExpirationTime":1,"preferredKeySystems":[],"keySystemsMapping":{},"parseInbandPsshEnabled":false},"manifest":{"retryParameters":{"maxAttempts":2,"baseDelay":1000,"backoffFactor":2,"fuzzFactor":0.5,"timeout":30000,"stallTimeout":5000,"connectionTimeout":10000},"availabilityWindowOverride":null,"disableAudio":false,"disableVideo":false,"disableText":false,"disableThumbnails":false,"defaultPresentationDelay":0,"segmentRelativeVttTiming":false,"dash":{"clockSyncUri":"","ignoreDrmInfo":false,"disableXlinkProcessing":false,"xlinkFailGracefully":false,"ignoreMinBufferTime":false,"autoCorrectDrift":true,"initialSegmentLimit":1000,"ignoreSuggestedPresentationDelay":false,"ignoreEmptyAdaptationSet":false,"ignoreMaxSegmentDuration":false,"keySystemsByURI":{"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:e2719d58-a985-b3c9-781a-b030af78d30e":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:79f0049a-4098-8642-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},"sequenceMode":false},"hls":{"ignoreTextStreamFailures":false,"ignoreImageStreamFailures":false,"defaultAudioCodec":"mp4a.40.2","defaultVideoCodec":"avc1.42E01E","ignoreManifestProgramDateTime":false,"mediaPlaylistFullMimeType":"video/mp2t; codecs="avc1.42E01E, mp4a.40.2"","useSafariBehaviorForLive":true,"liveSegmentsDelay":3}},"streaming":{"retryParameters":{"maxAttempts":2,"baseDelay":1000,"backoffFactor":2,"fuzzFactor":0.5,"timeout":30000,"stallTimeout":5000,"connectionTimeout":10000},"rebufferingGoal":2,"bufferingGoal":10,"bufferBehind":30,"ignoreTextStreamFailures":false,"alwaysStreamText":false,"startAtSegmentBoundary":false,"gapDetectionThreshold":0.5,"durationBackoff":1,"forceTransmux":true,"safeSeekOffset":5,"stallEnabled":true,"stallThreshold":1,"stallSkip":0.1,"useNativeHlsOnSafari":true,"inaccurateManifestTolerance":2,"lowLatencyMode":false,"autoLowLatencyMode":false,"forceHTTPS":false,"preferNativeHls":false,"updateIntervalSeconds":1,"dispatchAllEmsgBoxes":false,"observeQualityChanges":false,"maxDisabledTime":30,"parsePrftBox":false},"mediaSource":{"sourceBufferExtraFeatures":""},"offline":{"usePersistentLicense":true,"numberOfParallelDownloads":5},"abr":{"enabled":true,"useNetworkInformation":true,"defaultBandwidthEstimate":1000000,"switchInterval":8,"bandwidthUpgradeTarget":0.85,"bandwidthDowngradeTarget":0.95,"restrictions":{"minWidth":0,"maxWidth":null,"minHeight":0,"maxHeight":null,"minPixels":0,"maxPixels":null,"minFrameRate":0,"maxFrameRate":null,"minBandwidth":0,"maxBandwidth":null},"advanced":{"minTotalBytes":128000,"minBytes":16000,"fastHalfLife":2,"slowHalfLife":5},"restrictToElementSize":false,"restrictToScreenSize":false,"ignoreDevicePixelRatio":false},"autoShowText":3,"preferredAudioLanguage":"","preferredTextLanguage":"","preferredVariantRole":"","preferredTextRole":"","preferredAudioChannelCount":2,"preferredVideoCodecs":[],"preferredAudioCodecs":[],"preferForcedSubs":false,"preferredDecodingAttributes":[],"restrictions":{"minWidth":0,"maxWidth":null,"minHeight":0,"maxHeight":null,"minPixels":0,"maxPixels":null,"minFrameRate":0,"maxFrameRate":null,"minBandwidth":0,"maxBandwidth":null},"playRangeStart":0,"playRangeEnd":null,"cmcd":{"enabled":false,"sessionId":"","contentId":"","useHeaders":false},"lcevc":{"enabled":false,"dynamicPerformanceScaling":true,"logLevel":0,"drawLogo":false}}
What did you do?
Mute video before the video starts and entered ad without sound. Tried to unmute the sound. (We dont have volume bar)
What did you expect to happen?
To be able to unmute/mute the ad with unmute button.
What actually happened?
On unmute button click, volume stays muted. (When entered with sound all works fine and when ad is finished sound is unmutable)

It seems that the problem is in the setMuted() method ( https://shaka-player-demo.appspot.com/docs/api/lib_ads_client_side_ad.js.html#line199 )
If video starts muted, then this.volume_ is 0 and thus ad can't be unmuted.

Can this be made like this?
this.volume_ = this.getVolume() ?: 1;

@avelad @joeyparrish Can you please take a look?


Fix size issue for GRU and vanilla RNN

@ixaxaar write a goddamn test suite please.

@ixaxaar but how? Jenkins or any other CI would die waiting for even copy to converge!


I made Tailwind Fiddle with... Tailwind Fiddle, check it out 🎵

Hey guys, I know this repo is specifically for discussions (that don't fit under tailwindcss issues). I thought you wouldn't mind if I share what I made today and hope it doesn't come off rude. Hopefully it will be helpful for at least some of you.
Made it today, had lots of fun, I'll add a readme and MIT license soon I promise. I intend to make the editor a bit smarter than a raw textarea soonish 😅 as well as add a couple features.
@adamwathan - hope you don't mind I called it Tailwind Fiddle. I thought of putting "tailwind-fiddle" in the url, but then I was like "JSFiddle will hit me up and complain" lol, so I just made the url like so:
https://tailwind.unravel.eu
Enjoy folks!

@mkarnicki I suppose this is similar to Gusts, but I think it'd be a good idea to add it to the awesome-tailwind list anyway :wink:


Remove unused exception and log strings from resource files

Discovered while reviewing messages for #2752

:shipit:


Free up native strings passed back to .NET

This was meant to fix the string interop memory leak, but I haven't quite figured out why things are crashing when I implemented it, and then the changes shouldn't have been on 'main' to begin with. Therefore, what remains are some trivial cleanup fixes.


Cdr2 medial cortical node complex

At present we  have a grouping term
medial cortical node (GO:0071341)
medial cortical node representing nodes that form at the medial cortex at a different point in time.
I'd like a child term
Cdr2 medial cortical node complex
with the additional parent GO:1902911    protein kinase complex
def: A megadalton sized  complex organized an oligomeric core of SAD family  protein kinase involved in the cell size–dependent regulation of wee1 localization and required for phosphorylation of Wee1 in vivo.
ref PMID:29514920
The biophysical nature of Cdr2 nodes has been unclear. For example, these structures could represent stable biochemical complexes, or alternatively, they could be comprised of weakly aggregated proteins. The critical role of nodes in Wee1 signaling led us to investigate their stability in cell lysates. Using TIRF microscopy, we observed node-like structures in the lysates of cdr2-monomeric EGFP (mEGFP) cells (Fig. 1 D). These struc- tures were absent in the lysates of cdr2ΔC-mEGFP cells and in lysates of control cells that do not express GFP (Fig. 1 D). This result suggests that nodes remain intact upon cell lysis and may represent stable complexes. To test this possibility, we performed subcellular fractionation of detergent extracts on velocity sucrose gradients. The mutant cdr2ΔC was found in early fractions representing monomeric proteins and/or small complexes (Fig. 1 E). In contrast, full-length Cdr2 migrated in a broad pattern with a peak at 60S (Figs. 1 E and S1, A and B), consistent with a megadalton-sized complex. These fractions could be dialyzed and centrifuged on a second sucrose gradient without altering the sedimentation pattern of Cdr2 (Fig. S1 C), suggesting that nodes contain a stable core. TIRF microscopy of sucrose gradient fractions from Cdr2-mEGFP cells revealed node-like structures in later fractions and diffuse signal in ear- lier fractions (Fig. S1 D). Thus, Cdr2 nodes represent large stable complexes as revealed by independent imaging and biochem- ical approaches.

medial cortical node (GO:0071341) is too restrictive as it refers only to early nodal activities

I'll review  medial cortical node (GO:0071341)
and suggest  extended def. Should be OK as only used by pombe

@ValWood
I am assuming the relation between the requested complex term and the medial cortical node parent is part_of ?

Yes, at first we didn't really know what the cortical nodes were, but is now seems that they are big macromolecular complexes (signalling foci).


headerBackTitleStyle does not work

Current Behavior
headerBackTitleStyle does not change style of the back button e.g. color (headerTintColor only changes color of the title, not back button's title).
static navigationOptions = {
  headerTintColor: '#f00', // Change title color to red
  headerBackTitleStyle: styles.backTitle // Do nothing, it's still default blue color
}

const styles = StyleSheet.create({
  backTitle: {
    color: '#0f0'
  }
});

Expected Behavior
headerBackTitleStyle changes style of the back button.
Your Environment
RN 0.44.0
react-navigation 1.0.0-beta.9
iOS 10.x

#1340


Buy option not available after item listed. in bazar item listing.

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

The buy option shows up in the Item Listing workflow. Go back to the Bazaar Item Listing workflows and drill down into the Item Listing Workflow to double check.


Tag completion stopped working

Hi,
today I noticed that Tags completion stopped working. I bisected and found out that issue started from commit a143932199f0d1a232630dd0a18e7db3e3735ab9. When I check out to previous commit 34fcd123f9ae8e364caa81f5195adcc03a43cd5a, everything works fine.

Thank you. I've fixed it.

It works now, thanks!


X Variable Issue

The X variables cannot align vertically without an error (it doesn't recognize it as an X variable)
I am the girl in the Suffolk Law class that ran into this issue!

I think this is fixed. Let me know if I'm wrong.

Awesome! Thanks, David!
On Wed, Apr 1, 2015 at 1:20 PM, David Colarusso<EMAIL_ADDRESS>wrote:

I think this is fixed. Let me know if I'm wrong.
—
Reply to this email directly or view it on GitHub
https://github.com/colarusso/QnAMarkup/issues/31#issuecomment-88563460.


Wrong autocomplete when create record type

Steps to reproduce

type RecordX = {
     in(put)   :  int
     //<-- auto complete for type trigger here
     // but no suggestion after ":"
}

Expected behaviour
Autocomplete for type should trigger after ":"
Screenshots

Machine info

OS: Windows
.NET SDK version: 5.0.100
Ionide version: 5.5.5

In the meantime, you can manually invoke autocomplete with CTRL/CMD + Space.

I think this issue can be closed
https://user-images.githubusercontent.com/4760796/185082310-fee70d54-bf31-47d2-bc69-2dc86d2e03fc.mp4


Null safety migration

Migrated the package to null-safety. Here are a summary of the changes:

Migrated the package to null-safety
Changed the package version to 2.0.0 (According to this)
Fixed test

Closes #11
I use this plugin with my package native_admob_flutter

@bdlukaa  I used your version but had an issue
E/flutter (32281): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: LateInitializationError: Field '_instance@17154335' has not been initialized.
E/flutter (32281): #0      AdmobConsent._instance (package:admob_consent/admob_consent.dart)
package:admob_consent/admob_consent.dart:1
E/flutter (32281): #1      new AdmobConsent
package:admob_consent/admob_consent.dart:32
E/flutter (32281): #2      main.<anonymous closure>
package:cs_etikelek_flutter/main.dart:40
E/flutter (32281): #3      _rootRunUnary (dart:async/zone.dart:1362:47)
E/flutter (32281): #4      _CustomZone.runUnary (dart:async/zone.dart:1265:19)

To make it works, I removed late modifier
static AdmobConsent? _instance;

I will fix it


Patch to fix issue #282

This is a patch to fix issue hmarr/#282 .

@julienr - apologies for the delay a fix for this is now in dev


Monomer manager new monomer delete button gives error

If I start to create a new monomer, but change my mind and click the 'delete' button rather than 'save' I get the error below.

It doesn't seem to matter how much of the information is present. Perhaps the 'delete' button should be replaced by a cancel that simply doesn't save the entered information?

Fixed in 2016-10-10 update

Tested - not fixed the same behaviour is seen.

fixed in 2017-02-15 update

Not fixed, but this issue is covered in issue #92. Close here.


Issue #11 Fixed

Fixes issue #11
The code in Digital_guj_scraper.py now web scrapes the link and sees the notifications, and sends a mail to users and saves all of the current notifications in the notifications.json file, and when it is run again, the data is compared with notifications.json and if there is new notifications in the web, it is again mailed to the user and then the new notifications are saved in the notifications.json file.

@Rjchauhan18 The error you mentioned has been fixed in my latest commit. I have also done the required testing to ensure that the code functions properly.

Your are going in the right direction just made these small changes .

I have added dotenv library and fixed env variables loading now, and added dotenv to requirements. I have also fixed the typo in env variable name in readme and added a variable for receiver email.


Added width curve property

This PR adds an additional property to all the basic line shaders (line_pbr, line_pbr_vertexlit, line_glow, line_fade) since I needed that effect in one of my projects !
Additionally, I renamed the swoosh shader to line_fade, to make the name more explicit

It's compatible with previous versions, so people updating the addon will not see any difference
Changes:

added width_curve parameter in all basic line shaders
updated demo scene to showcase the effect of width_curve
renamed swoosh shader to line_fade

Merci! I questioned adding this before, but i felt that it could bloat the line_process function, and devs who needed it could implement it easily. Seeing the code in action, I think it's fine after all.
The file rename is ok w me, swoosh was just a placeholder :)