"An asynchronous method that you do not await includes an assertion."

What is your Scenario?
I've written a test to verify that certain text elements exist on a page. It works most of the time, but gives a very strange error message on occasion: An asynchronous method that you do not await includes an assertion.
Here's the utility function:
export const testPageContent = async (_t, ...pageTextArray) => {
  console.log('=====> pageTextArray:', pageTextArray);
  const bodyElement = await Selector('body');
  const bodyText = await bodyElement.textContent;
  const bodyTextLowerCase = await bodyText.toLowerCase();
  console.log('typeof bodyTextLowerCase', typeof bodyTextLowerCase);
  // await R.map(async pageText => { // => don't use Ramda, in case that's an issue
  await pageTextArray.map(async pageText => {
    const pageTextLowerCase = pageText.toLowerCase();
    console.log('=====> typeof pageTextLowerCase:', typeof pageTextLowerCase);
    await _t
      .expect(await bodyTextLowerCase)
      .contains(
        await pageTextLowerCase,
        colorErrorMsg(`ERROR[testPageContent]: Unable to locate ${pageText} on the page`)
      );
    // })(pageTextArray); // => don't use Ramda, in case that's an issue
  });
};

It's pretty gooped up because of all the console logs and awaits everywhere that I've thrown in.
Here's how it's called:
  await testPageContent(t, 'Portfolio Overview', 'Estimated as of');

I just want to make sure -- in this case -- that the the body of the page includes Portfolio Overview Estimated as of.
What is the Current behavior?
The test is failing with the following output:
 yarn run v1.22.19
$ testcafe chrome -s takeOnFails=true --hostname localhost --page-load-timeout=20000 --selector-timeout=20000 --assertion-timeout=20000  -r nunit3 src/tests/pages/coverpage.js
TEST: User can log in and land on CoverPage / CoverPage exists
testing on non-local ( dev ) environment
Current clientName is XXXX
=====> pageTextArray: [ 'Portfolio Overview', 'Estimated as of' ]
typeof bodyTextLowerCase string
=====> typeof pageTextLowerCase: string
=====> typeof pageTextLowerCase: string
<?xml version="1.0" encoding="UTF-8" ?>
<test-run id="2" name="TestCafe Tests" start-time="2022-11-19T21:40:08.186Z" end-time="2022-11-19T21:40:25.742Z">
    <test-suite type="Assembly" name="CoverPage Tests" start-time="2022-11-19T21:40:08.188Z" end-time="2022-11-19T21:40:25.740Z">
        <test-case name="User can log in and land on CoverPage / CoverPage exists" fullname="CoverPage Tests - User can log in and land on CoverPage / CoverPage exists" result="Passed" duration="17.544">
            <failure>
                <message>
                    <![CDATA[]]>
                </message>
                <stack-trace>
                    <![CDATA[
An asynchronous method that you do not await includes an assertion. Inspect that method's execution chain and add the 'await' keyword where necessary.

   114 |  await pageTextArray.map(async pageText => {
   115 |    const pageTextLowerCase = pageText.toLowerCase();
   116 |    console.log('=====> typeof pageTextLowerCase:', typeof pageTextLowerCase);
   117 |    await _t
   118 |      .expect(await bodyElement.textContent)
 > 119 |      .contains(
   120 |        await pageTextLowerCase,
   121 |        colorErrorMsg(`ERROR[testPageContent]: Unable to locate ${pageText} on the page`),
   122 |        {allowUnawaitedPromise: true}
   123 |      );
   124 |    // })(pageTextArray);

   at <anonymous> (/Users/XXX/src/tests/utils/utils.js:119:8)
   at asyncGeneratorStep (/Users/XXX/src/tests/utils/utils.js:5:1328)
   at _next (/Users/XXX/src/tests/utils/utils.js:5:1666)]]>
                </stack-trace>
            </failure>
        </test-case>
    </test-suite>
✨  Done in 33.27s.

Notice that it claims that the missing await issue is line 119 -- the 'contains' function.
What is the Expected behavior?
It should pass. I even added the { allowUnawaitedPromise: true } option but that didn't help.
What is your public website URL? (or attach your complete example)
Website is public but client does not allow access by folks outside the organization. The app is a data-heavy financial / investment reporting app like so:

I do not have a test case but will see what I can do...
But really... why should I be getting this error about "not awaiting"? Makes no sense to me...
What is your TestCafe test code?
Test Case
/* eslint-disable no-console */
import {Selector} from 'testcafe';

import {loginToSite, getUrl} from '../utils/loginToSite';
import {logClientName, testPageContent, testPageLoaded} from '../utils/utils';
import {explicitErrorHandler} from '../utils/explicitErrorHandler';

fixture`CoverPage Tests`
  .clientScripts({content: `(${explicitErrorHandler.toString()})()`})
  .page(getUrl());

test('User can log in and land on CoverPage / CoverPage exists', async t => {
  console.log('TEST: User can log in and land on CoverPage / CoverPage exists');
  // log in
  await loginToSite(t);
  await logClientName(t);

  // wait for clients to load
  await testPageLoaded(t, 'coverPage');

  // test if current page is coverpage page
  await testPageLoaded(t, 'coverPage');
  await testPageContent(t, 'Portfolio Overview', 'Estimated as of');
});

Your complete configuration file
{
  "skipUncaughtErrors": true,
  "takeOnFail": true,
  "clientScripts": [{"module": "<EMAIL_ADDRESS>}

Your complete test report
<?xml version="1.0" encoding="UTF-8" ?>
<test-run id="2" name="TestCafe Tests" start-time="2022-11-19T01:16:03.298Z" end-time="2022-11-19T01:16:55.531Z">
    <test-suite type="Assembly" name="CoverPage Tests" start-time="2022-11-19T01:16:03.300Z" end-time="2022-11-19T01:16:55.529Z">
        <test-case name="User can log in and land on CoverPage / CoverPage exists" fullname="CoverPage Tests - User can log in and land on CoverPage / CoverPage exists" result="Passed" duration="13.718">
            <failure>
                <message>
                    <![CDATA[]]>
                </message>
                <stack-trace>
                    <![CDATA[
An asynchronous method that you do not await includes an assertion. Inspect that method's execution chain and add the 'await' keyword where necessary.

   114 |  await pageTextArray.map(async pageText => {
   115 |    const pageTextLowerCase = pageText.toLowerCase();
   116 |    console.log('=====> typeof pageTextLowerCase:', typeof pageTextLowerCase);
   117 |    await _t
   118 |      .expect(await bodyTextLowerCase)
 > 119 |      .contains(
   120 |        await pageTextLowerCase,
   121 |        colorErrorMsg(`ERROR[testPageContent]: Unable to locate ${pageText} on the page`),
   122 |        {allowUnawaitedPromise: true}
   123 |      );
   124 |    // })(pageTextArray);

   at <anonymous> (/Users/XXX/src/tests/utils/utils.js:119:8)
   at asyncGeneratorStep (/Users/XXX/src/tests/utils/utils.js:5:1328)
   at _next (/Users/XXX/src/tests/utils/utils.js:5:1666)]]>
                </stack-trace>
            </failure>
        </test-case>
        <test-case name="CoverPage displays Overview" fullname="CoverPage Tests - CoverPage displays Overview" result="Passed" duration="8.605">
        </test-case>
        <test-case name="CoverPage displays Asset Allocation" fullname="CoverPage Tests - CoverPage displays Asset Allocation" result="Passed" duration="10.011">
        </test-case>
        <test-case name="CoverPage displays Big Picture Benchmarks Graph" fullname="CoverPage Tests - CoverPage displays Big Picture Benchmarks Graph" result="Passed" duration="7.325">
        </test-case>
        <test-case name="CoverPage displays when switching clients" fullname="CoverPage Tests - CoverPage displays when switching clients" result="Passed" duration="12.553">
        </test-case>
    </test-suite>
✨  Done in 68.41s.

Screenshots
No response
Steps to Reproduce

TestCafe version
2.0.0
Node.js version
v14.15.4
Command-line arguments
testcafe chrome -s takeOnFails=true --hostname localhost --page-load-timeout=20000 --selector-timeout=20000 --assertion-timeout=20000  -r nunit3 src/tests/pages/coverpage.js
Browser name(s) and version(s)
Chrome Version 107.0.5304.110 (Official Build) (x86_64)
Platform(s) and version(s)
MacOS 11.6.8
Other
I'm hoping there's something obvious about the test that will point to a solution.
At this point, my basic question is: what is left to be awaited?
Thanks for a great QA test framework -- I have some great tests working...jon

Hi @JESii,
Array.prototype.map() in your case returns an array of promises. You cannot just await this array. You need to use Promise.all().


Incorrect display in PowerShell 7.0

I'm running
Start-ChiaHarvesterWatcher
and get some incorrect picture

but header info is ok...
And some trouble after running
Get-ChiaHarvesterActivity -Summary

Runtime is absent and ChallengesPerMinute incorrect
Any clues why?

I don’t know what that is, Start-ChiaHarvesterWatcher
Did you compile from source?
Don’t download  any pre-packages binaries. People may add code to steal
keys.
On Fri, May 28, 2021 at 8:09 AM ChemForce @.***> wrote:

I'm running
Start-ChiaHarvesterWatcher
and get some incorrect picture
[image: Pic1]
https://user-images.githubusercontent.com/39826432/120004217-2daf2f80-bfdf-11eb-8f6a-0d5d36cdbf3d.JPG
but header info is ok...
And some trouble after running
Get-ChiaHarvesterActivity -Summary
[image: Pic2]
https://user-images.githubusercontent.com/39826432/120004485-7e268d00-bfdf-11eb-8544-0811ff4a7e71.JPG
Runtime is absent and ChallengesPerMinute incorrect
Any clues why?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stolk/chiaharvestgraph/issues/27, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADPE4FUUYZG3R3MUDQHVQ3TP6WY5ANCNFSM45W3HMMQ
.

--
Owner/Director of Game Studio Abraham Stolk Inc.
Vancouver BC, Canada
@.***

Bram, sorry, must be function from another module...


Use latest eslint, up dependencies

Description
License verification automation + Use latest eslint.
License list:

Fixes # (issue)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

License flagged as Unknown is:
├─<EMAIL_ADDRESS>│  ├─ licenses: UNKNOWN
│  ├─ repository: https://github.com/ogt/valid-url
│  ├─ dependencyPath: /Users/mathern/Desktop/git/@adobe/cloud-blobstore-wrapper/node_modules/valid-url
│  ├─ path: /Users/mathern/Desktop/git/@adobe/cloud-blobstore-wrapper/node_modules/valid-url
│  └─ licenseFile: /Users/mathern/Desktop/git/@adobe/cloud-blobstore-wrapper/node_modules/valid-url/LICENSE
According to the repo, it is under MIT license: https://github.com/ogt/valid-url/blob/master/LICENSE

Same comment as in https://github.com/adobe/asset-compute-sdk/pull/7#pullrequestreview-410289952 - I think we should move this into a CI job.

The upping of the Azure SDK is going to take some refactoring as me and Jamie found when working with CloudStorage previously

I'll close this for now, then.


Not matching in preprocess data

Hi. I have a question about your code.
In utils module, you normalize input into mean = 0.5 and std = 0.5. But in test_model module, you rerange input from [0, 1] to [-1, 1]. Can you explain why?

They do the same thing.  Normalize does:
Z = (X - mean) / std,
so when X is in [0, 1], Z is in [-1, 1].

Thank you for your answer. :D.


[Commands] don't create Source folder if exist in swift package init

swift package init Don't create a Source folder if it exists
Motivation: When I want to add support for swiftpm for an existing project I run swift package init. If there a source folder with other name than Sources, Sources (which makes an error when building)

In general I'm not sure init is designed to work very well when the project exists. Are you primarily using it just to get the initial manifest syntax?

It would be nice if init at least could generate Package.swift manifest.
Right now I can safely run swift package init twice and it won't generate anything on the second run. As well if I remove Package.swift file and run initagain  it will only generate Package.swift file.
Because of that (that init checks if files and folders exists before generating them), I thought that it would be nice to add proper source folder check.
General idea: is there an easy way for me to add swiftpm support to an existing project? And can swiftpm helps me with it. Right now it's the init tool, maybe it would be nice to have something else?

Maybe we can add $ swift package init --type manifest ?

 swift package init --type manifest would solve the problem of creating a manifest.
Another alternative could be a separate command that adds new items to a package
swift package add --type manifest, source, test, etc. But I'm not sure if it's a really needed feature.
The problem with init command is still there.  I feel that swift package init shouldn't break the existing package if user runs it, for what ever reason.

On the face of it, it seems reasonable to me that the init subcommand would fill in the pieces that are missing at the time that it's invoked.  If we say that init should never remove files, there would be some subtle consequences of that.  For example, invoking init --type=executable would put down a main.swift, but then doing init --type=library after that wouldn't remove it, and so would leave the package as an executable.  If it would remove the main.swift, then that could risk removing information.
I see the desire to have a subcommand to add new components to an existing package.  But I'm not sure that is an init command, perhaps an add command?

Yeah, I'm not really sure we want to use init for this. I think it is best handled with different tools... keeping swift init to be the thing you use to start a new project makes sense to me; overloading that to also be the thing you use to adopt SwiftPM in an existing project ends up being a very different operation in practice, and I'm worried that merging those workflows will make it harder to have good diagnostics.

Adding swiftpm support for existing projects is not a simple feature and it probably should be discuss in a maling list.
I agree that we should keep init simple, so I'm closing this PR.


HBASE-22485 Fix failed ut TestClusterRestartFailover

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
55
Docker mode activated.

_ Prechecks _

+1
hbaseanti
0
Patch does not have any anti-patterns.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 2 new or modified test files.

_ master Compile Tests _

+1
mvninstall
245
master passed

+1
compile
49
master passed

+1
checkstyle
64
master passed

+1
shadedjars
256
branch has no errors when building our shaded downstream artifacts.

+1
findbugs
202
master passed

+1
javadoc
30
master passed

_ Patch Compile Tests _

+1
mvninstall
229
the patch passed

+1
compile
49
the patch passed

+1
javac
49
the patch passed

+1
checkstyle
63
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedjars
247
patch has no errors when building our shaded downstream artifacts.

+1
hadoopcheck
949
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.0.3 3.1.2.

+1
findbugs
205
the patch passed

+1
javadoc
31
the patch passed

_ Other Tests _

-1
unit
18943
hbase-server in the patch failed.

+1
asflicense
36
The patch does not generate ASF License warnings.

21969

Reason
Tests

Failed junit tests
hadoop.hbase.client.TestAsyncTableAdminApi

hadoop.hbase.tool.TestSecureLoadIncrementalHFiles

hadoop.hbase.namespace.TestNamespaceAuditor

hadoop.hbase.replication.multiwal.TestReplicationSyncUpToolWithMultipleWAL

hadoop.hbase.replication.TestReplicationSmallTestsSync

hadoop.hbase.master.procedure.TestTruncateTableProcedure

hadoop.hbase.client.TestSnapshotDFSTemporaryDirectory

hadoop.hbase.master.procedure.TestSCPWithReplicas

hadoop.hbase.client.TestCloneSnapshotFromClientNormal

hadoop.hbase.master.TestMasterMetricsWrapper

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-258/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/258

Optional Tests
dupname  asflicense  javac  javadoc  unit  findbugs  shadedjars  hadoopcheck  hbaseanti  checkstyle  compile

uname
Linux 8046e1d9915f 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/testptch/patchprocess/precommit/personality/provided.sh

git revision
master / 1c1638f698

maven
version: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)

Default Java
1.8.0_181

findbugs
v3.1.11

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-258/1/artifact/out/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-258/1/testReport/

Max. process+thread count
5612 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-258/1/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

The failed ut not related...

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
24
Docker mode activated.

_ Prechecks _

+1
hbaseanti
0
Patch does not have any anti-patterns.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 2 new or modified test files.

_ master Compile Tests _

+1
mvninstall
264
master passed

+1
compile
57
master passed

+1
checkstyle
69
master passed

+1
shadedjars
271
branch has no errors when building our shaded downstream artifacts.

+1
findbugs
206
master passed

+1
javadoc
32
master passed

_ Patch Compile Tests _

+1
mvninstall
239
the patch passed

+1
compile
52
the patch passed

+1
javac
52
the patch passed

+1
checkstyle
69
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedjars
264
patch has no errors when building our shaded downstream artifacts.

+1
hadoopcheck
987
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.0.3 3.1.2.

+1
findbugs
220
the patch passed

+1
javadoc
32
the patch passed

_ Other Tests _

+1
unit
8042
hbase-server in the patch passed.

+1
asflicense
31
The patch does not generate ASF License warnings.

11160

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-258/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/258

Optional Tests
dupname  asflicense  javac  javadoc  unit  findbugs  shadedjars  hadoopcheck  hbaseanti  checkstyle  compile

uname
Linux 59ba6605f038 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/testptch/patchprocess/precommit/personality/provided.sh

git revision
master / 97090560a5

maven
version: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)

Default Java
1.8.0_181

findbugs
v3.1.11

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-258/2/testReport/

Max. process+thread count
4320 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-258/2/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
24
Docker mode activated.

_ Prechecks _

+1
hbaseanti
0
Patch does not have any anti-patterns.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 2 new or modified test files.

_ master Compile Tests _

+1
mvninstall
261
master passed

+1
compile
57
master passed

+1
checkstyle
68
master passed

+1
shadedjars
269
branch has no errors when building our shaded downstream artifacts.

+1
findbugs
230
master passed

+1
javadoc
36
master passed

_ Patch Compile Tests _

+1
mvninstall
256
the patch passed

+1
compile
61
the patch passed

+1
javac
61
the patch passed

+1
checkstyle
73
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedjars
279
patch has no errors when building our shaded downstream artifacts.

+1
hadoopcheck
1009
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.0.3 3.1.2.

+1
findbugs
221
the patch passed

+1
javadoc
33
the patch passed

_ Other Tests _

+1
unit
7927
hbase-server in the patch passed.

+1
asflicense
24
The patch does not generate ASF License warnings.

11127

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-258/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/258

Optional Tests
dupname  asflicense  javac  javadoc  unit  findbugs  shadedjars  hadoopcheck  hbaseanti  checkstyle  compile

uname
Linux 708cd492429d 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/testptch/patchprocess/precommit/personality/provided.sh

git revision
master / 97090560a5

maven
version: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)

Default Java
1.8.0_181

findbugs
v3.1.11

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-258/3/testReport/

Max. process+thread count
4579 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-258/3/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.


Added link for python file

Added free resource for python learning

Can you please mark this as hacktoberfest-accepted?


how to Table values function call in mybatis ?

Hello
How to call table value function in mybatis . i tried different way using callable but did not found any solution yet.
My Sql function will return table .so i need to return that table in collection .
please help me.

Please post your question to the mailing list.
We use GitHub Issues only to track bugs and feature requests.
Thank you!


Add up to date images and fix format issue

Images for VS Code and ATOM were not up to date. Replaced existing images with up to date ones. Also fixes a markdown format syntax issue.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

@Naron2Old Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


Reference Error: xxx is not defined

Make sure to check the demo app(s) for sample usage
Yes
Make sure to check the existing issues in this repository
Yes
If the demo apps cannot help and there is no issue for your problem, tell us about it
JS: Reference Error: xxx (java package name) not defined.
Which platform(s) does your issue occur on?

Android 5.1
emulator

Please, provide the following version numbers that your issue occurs with:

CLI: 4.2.3
Cross-platform modules: 4.2.0
Runtime(s): 4.0.0
Plugin(s):
"nativescript-theme-core": "^1.0.4",
"nativescript-unit-test-runner": "^0.3.4",
"nativescript-bluetoothspp": "file:../src",
"tns-core-modules": "^4.2.0"

Please, tell us how to recreate the issue in as much detail as possible.
Follow "Building Plugins" to get demo work -->Generate .aar via android studio. -->Generate typing files by following android-dts-generator. -->Add typing files and change reference.s.ts  --> build--> JS: Reference Error: xxx(java package name) not defined. --> remove android folder in platform and rebuild (or try commands to clean plugin and demo files) --> same error
Is there any code involved?
Here is the repository : https://github.com/AshleyCao/nativescrip-bluetooth-spp

Hi,
I looked in the repository that you posted and I think that the error you see is because the class you are trying to use (pfdfoods.foodservice.ashleycao.bluetoothspp.BluetoothSPP) is not implemented anywhere. You have created the typings for it so inside the code editor it will look OK and the TypeScript compiler will not complain, but the native code that runs on the device is not present. You should either reference your library (if already built) in the  /src/platforms/android/include.gradle file, or if you are writing the code yourself, you should compile it in the /src/platforms/android/nativescript_bluetoothspp.aar library.
For an example of such an implementation (source code compiled into aar) you can review the code of the nativescript-push-notifications plugin. For an example of a plugin where a 3rd party library is referenced, you can review the nativescript-background-http plugin.

Hi @lini, Thanks for your answer.
What I did is to copy the .aar file I generate from Android Studio to /src/platforms/android and now problem sloved.


consolidating dependencies

#1214

Base and Core builds passed on second run, they didn't update here.
Since this has no product code changes, I'm going to force merge


Create a HP omnicept SDK key

People from FMUL should have their own SDK from https://developers.hp.com/omnicept/downloads.
To collect data for the VR experiments.

We are now using only the core version.


UHF-8838: Views config for services bulletin listing

UHF-8838

What was done

Adding Views changes to services for creating bulletin listing

How to install

See the other PR's

Other PRs

https://github.com/City-of-Helsinki/drupal-hdbt/pull/761

Closing this. New PR will replace.


[Github] refactor: Remove unneeded mediaFolder association

1. Why is this change necessary?
Because the association is not needed.
2. What does this change do, exactly?
Remove an unused association.
3. Describe each step to reproduce the issue or behaviour.
Look at the code.
4. Please link to the relevant issues (if any).
-
5. Checklist

[x] I have rebased my changes to remove merge conflicts
[ ] I have written tests and verified that they fail without my change
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Imported from Github. Please see: https://github.com/shopware/shopware/pull/4821

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-38423
[created from NEXT-38423, comment 497578]


Issue in handling submitted Assignments

Often times trying to access any options from the Assignments-Completed menu (i.e. Refresh Assignment States, Approve All Assignments or Pay All Bonuses) do not work and return:
Error: GetAssignment: This operation can be called with a status of: Reviewable,Approved,Rejected<PHONE_NUMBER>263) [500]
This happens despite other Mturk API queries made by TurkServer working just fine (e.g. checking account balance, creating new HITs, adding assignments, etc). Restarting the meteor app+Turkserver, or the hosting server doesn't seem to work. Functionality only seems to return randomly after some time has passed not using TurkServer, or if the mongodb is wiped and the entire bundled app redeployed to a server with a clean database.

I'm pretty sure this error is caused by a single assignment that is in a weird state. You will see the list of assignments update down the page as you click any of those buttons and the update will stop on the problem one.
I think this happens because you try to access assignments that were either returned (and not submitted), or submitted on TurkServer but not on MTurk (due to some technical error that can usually be fixed by the user reloading the page). What it means by 'Reviewable, Approved, Rejected' means the assignment has to be recorded as complete on MTurk.
Do you notice that someone e-mails you about the HIT not submitting correctly? Or perhaps someone returned the HIT after submitting it on TurkServer but the submission didn't go through? Can you locate find the assignment that is causing this and paste in what the database records for it?
Thanks,
Andrew

Ah I see. Yup I just found one that Turkserver believes was submitted but is not visible on Amazon:
{ 	"_id" : "nmAY9ThG6Jigy4AEr", 	"batchId" : "Yw3D2aitXs5atPGqg", 	"hitId" : "3T6SSHJUZF4G4ICTAQBD64MJ254IIV", 	"assignmentId" : "3KGTPGBS6YFJP8RL56K0RBZXYMN2U5", 	"workerId" : "AJMXUF6G3KDLP", 	"acceptTime" : ISODate("2015-11-20T22:14:55.302Z"), 	"status" : "completed", 	"ipAddr" : [ 		"<IP_ADDRESS>" 	], 	"userAgent" : [ 		"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0" 	], 	"submitTime" : ISODate("2015-11-20T22:39:34.285Z"), 	"exitdata" : { 		"Feedback" : "AJMXUF6G3KDLP  mturk ID" 	} }
So do you suggest removing or changing the status of this record and then trying to use the admin interface again?

You could e-mail the user and have them make sure to submit the HIT. The code should automatically submit the HIT for them when they reload the page, since it is completed but somehow the submission process broke at the end.
If you don't want to do that or the assignment has already expired, you could also set status: "assigned" on this document which would allow things to proceed as normal. But then the user may not be able to submit when they come back.
You could also change the code in TurkServer to not give up when an assignment of this state is recorded. In general you should feel free to fork the code and modify it; I'd be happy to review a PR.

Given the that the assignment already expired and the user isn't coming back changing the status within the database worked great.
I'll also look into modifying TurkServer for this.

@josephcc ran into this issue as well. One approach would be to handle the Error: GetAssignment: This operation can be called with a status of: Reviewable,Approved,Rejected more gracefully, and continue trying to refresh statuses when it is not available.
#81 should help with reducing the occurrence of this as well.

I'm thinking at least skipping the assignments with this issue so we can still pay the rest of the assignments in the webmin. Any thoughts on where in the codebase I should look at?

Yes, you should add a new condition inside this catch block here:
https://github.com/TurkServer/turkserver-meteor/blob/master/server/assignment.js#L326
Basically, if you get that message, just return instead of throwing that 500 error, which will skip trying to refresh the assignment.

hmm, but then front-end wouldn't be notified that some assignments went wrong. what about catching the 500 where this was called here? https://github.com/TurkServer/turkserver-meteor/blob/586ec64133a715a50dafcc8f19a152bb3d7b6342/admin/admin.coffee#L432

Yeah, that would be even better!
I think it would be reasonable to throw the 500 to the client here (https://github.com/TurkServer/turkserver-meteor/blob/586ec64133a715a50dafcc8f19a152bb3d7b6342/admin/admin.coffee#L436), but catch it and keep going in the function you linked.
I think you would only want to catch the 500 error related to the HIT not being submitted yet. There are many other reasons why that API call might throw, and you probably don't want to treat them all the same. Unfortunately we can't seem to be able to get error codes directly using https://github.com/JoseBarrios/mturk-api, so pattern matching on strings seems best for now.

Partial solution here: https://github.com/josephcc/turkserver-meteor/commit/49551e6227d85b2b145326591158796bb4513d68

By the way, #28 is the root cause of this issue; if we could figure out on which browser or under which conditions this is happening, it would go a long way toward reducing this problem.

Yeah, this is just a quick fix, because I didn't want them to have to wait for payment over the weekend. (and there are a lot of them :p

By the way, do you put your personal (or MS) e-mail on the HIT, so that people can contact you if they have problems? Or do you have access to the communal e-mail for the account?
You can insert a message right at the end of your HIT that if someone has a problem submitting, to reload the page (it should auto-submit); as well as replying this to anyone who e-mails you with the issue.

I wasn't sure if I should, the mturk account doesnt say MS anywhere and has a very generic account name XD

Well, you can create a throwaway e-mail for this purpose if you want, but you should definitely give workers some way to contact you. You'll find out about bugs and issues that you would otherwise never have heard of, and that will probably reduce the number of these unsubmitted HITs and waiting problems, among other things.


InvalidStateStoreException when REPLACE_THREAD is used in StreamsUncaughtExceptionHandler

@en-vee commented on Sun Sep 19 2021
Describe the issue
I have used the following dependencies in my Spring Cloud Stream Kafka Streams application so as to be able to use Apache Kafka 2.8.0 clients. The reason why I have done this is so as to use the new StreamsUncaughtExceptionHandler feature which is part of Kafka 2.8.0 streams library.
ext {
	set('kafkaVersion',"2.8.0")
	set('springKafkaVersion',"2.7.6")
	set('springCloudVersion', "2020.0.0")
}

dependencies {
	implementation project(':common')
	implementation 'org.springframework.boot:spring-boot-starter-web'
	implementation 'org.springframework.boot:spring-boot-starter-actuator'
	implementation 'org.springframework.boot:spring-boot-starter-test'
	implementation 'io.micrometer:micrometer-registry-prometheus'

	implementation 'org.springframework.cloud:spring-cloud-stream'
	implementation 'org.springframework.cloud:spring-cloud-stream-binder-kafka'
	implementation 'org.springframework.cloud:spring-cloud-stream-binder-kafka-streams'
	//implementation 'org.springframework.kafka:spring-kafka'

	implementation "org.springframework.kafka:spring-kafka:${springKafkaVersion}"

    implementation "org.apache.kafka:kafka-clients:${kafkaVersion}"
    implementation "org.apache.kafka:kafka-streams:${kafkaVersion}" // optional - only needed when using kafka-streams
    testImplementation "org.springframework.kafka:spring-kafka-test:${springKafkaVersion}"
    testImplementation "org.apache.kafka:kafka-clients:${kafkaVersion}:test"
    testImplementation "org.apache.kafka:kafka_2.13:${kafkaVersion}"
    testImplementation "org.apache.kafka:kafka_2.13:${kafkaVersion}:test"

    testImplementation 'org.junit.jupiter:junit-jupiter-api'
    testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
    testCompileOnly 'junit:junit:4.12'
	testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
}

My StreamsUncaughtExceptionHandler code is as below in my streams customizer bean :
			factoryBean.setKafkaStreamsCustomizer(new KafkaStreamsCustomizer() {

				@Override
				public void customize(KafkaStreams kafkaStreams) {
					// TODO Auto-generated method stub
					LOG.debug("Customizing Kafka Streams");
					kafkaStreams.setUncaughtExceptionHandler(new StreamsUncaughtExceptionHandler() {

						@Override
						public StreamThreadExceptionResponse handle(Throwable exception) {
							// Only replace the thread if this is an InvalidPidMappingException
							if(exception.getCause() instanceof InvalidPidMappingException) {
								LOG.info("InvalidPidMappingException encountered. Thread will be replaced.");
								return StreamThreadExceptionResponse.REPLACE_THREAD;
							}
							return StreamThreadExceptionResponse.SHUTDOWN_APPLICATION;
						}
					});
				}
			});

The reason for doing this is to avoid the Streams application from shutting down when an InvalidPidMappingException is thrown.
While this helps in that it spawns a new Thread and also continues processing the event, the InteractiveQueryService does not work after this exception InvalidPidMappingException has been raised.
(I have a REST controller which accepts interactive queries via HTTP to query the State Store).
The exception I get after trying to query the State Store via my REST controller is InvalidStateStoreException.
To Reproduce
Steps to reproduce the behavior:

Set the following parameters to small values on the Kafka brokers and restart them:
transactional.id.expiration.ms
transaction.max.timeout.ms

Start a Kafka Streams Client application which also exposes access to a Local State Store via a REST endpoint. The application should also have a StreamsUncaughtExceptionHandler implemented with a policy of REPLACE_THREAD.

Make sure no Messages are sent to the Topic on which the streams application is consuming messages for at least the value set in transactional.id.expiration.ms

Then send a message to the topic.

This will result in InvalidPidMappingException and will also cause the thread to be replaced and the message will also get eventually processed by the Streams application.

Now try to access the State Store via the REST endpoint. This will cause the InvalidStateStoreException.

Version of the framework
Spring Cloud Stream 3.1.0 (Kafka Binder and Kafka Streams Binder)
Sprint Boot 2.4.2
Apache Kafka Broker version 2.7+
Apache Kafka Streams,Clients 2.8.0
Expected behavior
State Store is accessible via InteractiveQueryService
Screenshots
None
Additional context
None

@en-vee commented on Wed Sep 22 2021
Hi All, Any inputs on this one ? Is there a way to (re)gain access to the state stores via the interactive query service ?

Moved the issue here: https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/1150

@en-vee  I debugged this scenario and this is what I think is happening.
I believe there was a bug in 2.8.0 Kafka Streams client library, where the new thread created was not getting added to the queryable stores. See this commit that only went after 2.8.0 and now part of the 2.8.1 version: https://github.com/apache/kafka/commit/02dc615c1e2139e1bc92bf2284fda2c740152a0e
With that said, even with 2.8.1 Kafka Streams, I am seeing that the old thread is still hanging around in the queryable stores held by the current KafkaStreams object.
This is the method that is called when the thread is replaced: https://github.com/apache/kafka/blob/trunk/streams/src/main/java/org/apache/kafka/streams/KafkaStreams.java#L482
In that, I am not seeing that the replaced thread is removed from the queryable stores, whereas it is now added as part of the new thread creation. See here. This is part of the change that was introduced only in 2.8.1. Could you reach out to the Kafka Streams community/repo to see why the initial thread is still visible in the queryable stores even though it is now replaced with a new one? What's happening is that this thread causes the InvalidStateStoreException that is delegated all the way back to the client call in your REST controller and the valid thread is never attempted as part of this call chain.

Thanks @sobychacko
I upgraded my Apache Kafka client libraries dependencies to v2.8.1 and tried the same scenario.
And my REST controller is now able to access the StateStore via the InteractiveQueryService inspite of the thread being replaced.
I'll ask why the old thread is still hanging around. Even if it hangs around, with 2.8.1, do you expect any issues still with the Spring Cloud Stream InteractiveQueryService in accessing the queryable state stores ?

@en-vee If you are able to make it work with 2.8.1, then I would say that we don't have an issue even if the old thread is still visible in the store manager. Kafka Streams is able to correctly query the proper thread. The problem I saw was maybe timing-related in a test I was running. Feel free to close this issue if you are okay.

@sobychacko  I will close this issue then.
Thanks again for your help.

@sobychacko I am unable to close this issue. can you assist please ? thanks.


load moltin data's

@pveller Hi Master.
How can I loading data from Moltin to Bot and searching them with azure search?
Please help or share any documents about this.
Thanks.
Best regards.

That's one piece that I haven't shared yet. Just didn't get to making it pretty. I will do later today or tomorrow. Stay tuned.

Sorry for the delay. I just published the script and the instructions on how you can use it:
https://github.com/pveller/ecommerce-chatbot/tree/master/indexes
The only thing that is missing is the script to set up recommendations service. Coming in the next couple days.


AjaxFileUpload control not upload .mkv or .mov or else expect .mp4 file

Hi,
Am trying to upload file .mkv or else using ajaxfileupload control but unable to upload and red color error message. Am able to upload .mp4 file only.  could you please tell me what is problem?
Thanks
Regards,
Siva

This wiki section should help:
Allowed file extensions

Hello Aleksey,
Could you please tell me where i need to included the  in Web.Config file?
Please help me..
Thanks in Advance
Regards,
Siva

Hello,
I did it and got the solution. It is working fine.
Thanks.
Regards,
Siva

Where in the web.config did you put this? I can't seem to find the correct place for it.

It's located in this section: https://github.com/DevExpress/AjaxControlToolkit/blob/master/AjaxControlToolkit.SampleSite/Web.config#L10-L14


How can I get User Profile?

I use getMyRosters for roster list but I can't get details such as name, surname, profile picture etc. How can I get user information?

@mehmetgencdal  You need vcard implementation for that where you can pull all this information using jid.


Dowload artifacts support

It is not possible to download artifacts when we use this plugin. Consider to add an option to pull down artifacts

I created https://github.com/buildkite-plugins/artifacts-buildkite-plugin to help with this!

@lox artifacts-buildkite-plugin works great! There is an issue when combining it with docker-compose-buildkite-plugin, though:
steps:
  - name: "compile assets"
    plugins:
      - docker-compose#v3.0.3:
        run: node
        command: ["webpack"]
        volumes:
          - "./tmp/webpack:/app/public/assets/webpack"
      - artifacts#v1.2.0:
        upload: "tmp/webpack/**/*"

  - wait

  - name: "build app image"
    plugins:
      - artifacts#v1.2.0:
        download: "tmp/webpack/*"
      - docker-compose#v3.0.3:
        build:
          - app

The build logs illustrate the problem: since docker-compose is run in its own /var/lib/docker/tmp directory, it can't access (or at least isn't aware of the location of) the downloaded artifacts in the /var/lib/buildkite-agent/ directory
# Download artifacts
Searching for artifacts: "tmp/webpack/*"
Found 21 artifacts. Starting to download to: /var/lib/buildkite-agent/builds/buildkite-builders-i-00736d6e0c0fbcf65-2/organisation/project

# Building service app
Service 'app' failed to build: COPY failed: stat /var/lib/docker/tmp/docker-builder244640397/tmp/artifacts/webpack

I've tried passing a build arg with the artifact path like so, but Dockerfile doesn't like absolute paths:
        args:
          - WEBPACK_ASSETS=/var/lib/buildkite-agent/builds/${BUILDKITE_AGENT_NAME}/${BUILDKITE_ORGANIZATION_SLUG}/${BUILDKITE_PIPELINE_SLUG}/tmp/webpack

ARG WEBPACK_ASSETS
COPY ${WEBPACK_ASSETS} ./public/assets/webpack/

# Building service app
Service 'app' failed to build: COPY failed: stat /var/lib/docker/tmp/docker-builder250188356/var/lib/buildkite-agent/builds/buildkite-builders-i-00736d6e0c0fbcf65-2/organisation/project/tmp/webpack: no such file or directory

So I wonder — is there any way to make artifacts available to buildkite-plugin-docker-compose build steps?

Thank you, @lox! Your plugin works well.
Should a decision be made as to whether we should use that plugin (meaning this ticket should be closed) or whether the ability to download artifacts should indeed be also added to the docker-compose plugin?

The artifacts buildkite plugin has been widely used since this issue was reported and, when that is not enough, the buildkite agent can be mounted with an option to download artifacts if/when necessary. Feel free to re-open the issue if it is something specific that you'd want to see improved on this regards


[minor] Fixed ordering to use the field type

Pull Request Test Coverage Report for Build 9f0451f6df0401897cccbedf08ae4a4eb5783d73-PR-6

8 of 12 (66.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 67.255%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/ravix_ecto/parsers/query_parser.ex
8
12
66.67%

Totals

Change from base Build b0f622b821947902454a9928cd7a31d2b7697008:
-0.01%

Covered Lines:
343

Relevant Lines:
510

💛  - Coveralls


Lower default volume level in Trimbletrimmer

By default the editor volume should start at 50%.
A stretch goal would be for Thrimbletrimmer to remember the user's volume level.

Should be easy enough to do with an onLoad() script in thrimbletrimmer's index.html.
Set onload for the EditorContainer div to a script that runs this.volume("0.5") on videojs("my-player").
See: https://github.com/videojs/video.js/issues/2310
Remembering the user's volume level would be trickier... I guess it could be done with like, a cookie? I am not much of a frontend guy.


Redesign footer for improved layout and UX

Description
This PR redesigns the footer for a better layout and UX. It introduces some new sections and social media links.
Related Issue
Closes #184
Changes Made

Redesigned the overall footer layout for better visual organization
Added new content sections
Included social media links
Included a download section with options for macOS and Windows

Screenshots

Checklist

[x] I have tagged the issue in this PR.
[x] I have attached necessary screenshots.
[x] I have provided a short description of the PR.
[x] I ran yarn build and build is successful
[x] My code follows the style guidelines of this project.
[ ] I have added necessary documentation (if applicable)

Thanks for the review @ICEPrey! I'll address all the comments tonight.

looks good quick with it 🚀


Anonymously collect all words from the chat to build statistic at aftermath. Step I

First step: collect data

[ ] catch each word from any user
[ ] split it normalize
[ ] save it to persistent store

Step 2: sell data to ad network and comrade major! Profit!


wsu:Expires and wsu:created elements not use UTC time format

This is already reviewed and merged by Alessio.


Bluetooth: hci samples: Unable to allocate command buffer

Describe the bug
A few controller-side HCI drivers (see below) are allocating command buffers using K_NO_WAIT from interrupt context.
This was done assuming that the Host to Controller flow control of commands (num complete in command complete / status) would limit the number of commands that the host can have queued up in the controller.
However the Host Number of Completed packets (Controller to Host flow control) does not follow the regular flow control and can be sent from the host at any time. There is no command-complete / status event for this command.
In cases where the controller does not process the incoming commands in time before the command buffer pool is drained the command will be dropped by the controller side HCI driver.
Affected drivers are:
HCI UART
HCI RPMsg
HCI SPI
USB Bluetooth class
To Reproduce
Reproduced by robustness test.
Test was doing SMP pairing procedure immediately upon connection, causing multiple packets to be sent at the same time as control procedures are being run. Controller was delayed in processing of commands by ECDH HCI commands.
Expected behavior
Controller HCI drivers should handle Host Number of Completed Packets outside of the regular flow control mechanism.
Impact
Controller HCI driver drops HCI commands.
If this is a Host Number of Completed Packets and will "leak" packet buffer count that it can send to the host.
If this is any other HCI command that has flow control the Host side will not received HCI command complete / status and the Host will timeout waiting for the reply.
Logs and console output
Host side:
ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:311
         k_sem_take failed with err -11

Controller side:
[00:00:03.625,122] <inf> hci_rpmsg: Received message of 9 bytes.
[00:00:03.625,244] <inf> hci_rpmsg: Received message of 9 bytes.
[00:00:03.625,305] <inf> hci_rpmsg: Received message of 68 bytes.
[00:00:03.625,335] <err> hci_rpmsg: No available command buffers!

Environment (please complete the following information):

Commit SHA or Version used: 2.6.0

Additional context
Workaround: Increase HCI command buffer count CONFIG_BT_BUF_CMD_TX_COUNT from its default of 2 to 10.
Workaround added here: https://github.com/zephyrproject-rtos/zephyr/pull/37714 and here: https://github.com/zephyrproject-rtos/zephyr/pull/37759
This would mask the error but is not a proper solution.

Potential solution:

New cmd buffer pool dedicated to the Host Number of Completed Packets, with a count equal to the CONFIG_BT_CTLR_RX_BUFFERS
Set the new cmd buffer pool item size to the size of this particular command, which is quite small

Alternative:

Keep a counter in the hci sample that tracks the Host Num Complete count, and not allocate a cmd buffer at all. This could be processed directly in-place in the ISR

I can confirm that this issue is present for hci_uart. The problem is that this sample is based on the 'interrupt driven' UART API, which does not allow partial readout of the UART.
One solution for UART is to switch over to the 'asynchronous' UART API. This will be done in a new sample: https://github.com/zephyrproject-rtos/zephyr/pull/59880

IMO we should just bite the bullet and make a dedicates Host Number of Completed Packets command pool.
It should be a good-enough stopgap measure until the general flow control issue is properly addressed.


URL for this project is not publicly accessible

hint: gcloud app deploy

Had problem deploying to google cloud. NeedIndexError on blog page.

Manually deployed index.yaml file.
gcloud app deploy index.yaml
Went to console and check datastore index page.
All good!


Edge functions not serving correctly on M1 macOS

Bug report
I've written an function and am trying to test it locally, but the behavior doesn't seem right.
The function is at supabase/functions/xyz/index.ts (it was generated with the CLI).
supabase functions serve --env-file .env --no-verify-jwt

The only response is
Serving supabase/functions

Then, when I try to POST 'http://localhost:54321/functions/v1/xyz' in another terminal, I get:
{
  "message":"An invalid response was received from the upstream server"
}

And
service does not exist

is shown in the terminal that I started serving functions from.
Describe the bug
The basic description covers the whole bug description.
Some additional info:

When I navigate to the local Studio (http://localhost:54323/projects), I noticed that there's no icon for accessing Edge Functions
I'm on an M1 mac running 13.0.1 (22A400)
I'm on Supabase CLI version 1.42.7
I also noticed that the file watcher doesn't seem to be working either.

Here's my config:
# A string used to distinguish different Supabase projects on the same host. Defaults to the working
# directory name when running `supabase init`.
project_id = "supabase"

[api]
# Port to use for the API URL.
port = 54321
# Schemas to expose in your API. Tables, views and stored procedures in this schema will get API
# endpoints. public and storage are always included.
schemas = ["public", "storage", "graphql_public"]
# Extra schemas to add to the search_path of every request. public is always included.
extra_search_path = ["public", "extensions"]
# The maximum number of rows returns from a view, table, or stored procedure. Limits payload size
# for accidental or malicious requests.
max_rows = 1000

[db]
# Port to use for the local database URL.
port = 54322
# The database major version to use. This has to be the same as your remote database's. Run `SHOW
# server_version;` on the remote database to check.
major_version = 15

[studio]
# Port to use for Supabase Studio.
port = 54323

# Email testing server. Emails sent with the local dev setup are not actually sent - rather, they
# are monitored, and you can view the emails that would have been sent from the web interface.
[inbucket]
# Port to use for the email testing server web interface.
port = 54324
smtp_port = 54325
pop3_port = 54326

[storage]
# The maximum file size allowed (e.g. "5MB", "500KB").
file_size_limit = "50MiB"

[auth]
# The base URL of your website. Used as an allow-list for redirects and for constructing URLs used
# in emails.
site_url = "http://localhost:3000"
# A list of *exact* URLs that auth providers are permitted to redirect to post authentication.
additional_redirect_urls = ["https://localhost:3000"]
# How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 seconds (one
# week).
jwt_expiry = 3600
# Allow/disallow new user signups to your project.
enable_signup = true

[auth.email]
# Allow/disallow new user signups via email to your project.
enable_signup = true
# If enabled, a user will be required to confirm any email change on both the old, and new email
# addresses. If disabled, only the new email is required to confirm.
double_confirm_changes = true
# If enabled, users need to confirm their email address before signing in.
enable_confirmations = false

# Use an external OAuth provider. The full list of providers are: `apple`, `azure`, `bitbucket`,
# `discord`, `facebook`, `github`, `gitlab`, `google`, `keycloak`, `linkedin`, `notion`, `twitch`,
# `twitter`, `slack`, `spotify`, `workos`, `zoom`.
[auth.external.apple]
enabled = false
client_id = ""
secret = ""
# Overrides the default auth redirectUrl.
redirect_uri = ""
# Overrides the default auth provider URL. Used to support self-hosted gitlab, single-tenant Azure,
# or any other third-party OIDC providers.
url = ""

To Reproduce
See above
Expected behavior
I would expect the functions to be served and the file watcher to work
Sample output with --debug:
supabase functions serve --env-file .env --no-verify-jwt --debug
2023/03/17 16:49:44 Sent Header: Host [docker]
2023/03/17 16:49:44 Sent Header: User-Agent [Go-http-client/1.1]
2023/03/17 16:49:44 Send Done
2023/03/17 16:49:44 Recv First Byte
Serving supabase/functions
2023/03/17 16:49:44 Sent Header: Host [docker]
2023/03/17 16:49:44 Sent Header: User-Agent [Go-http-client/1.1]
2023/03/17 16:49:44 Send Done
2023/03/17 16:49:44 Recv First Byte
2023/03/17 16:49:44 Sent Header: Host [docker]
2023/03/17 16:49:44 Sent Header: User-Agent [Go-http-client/1.1]
2023/03/17 16:49:44 Sent Header: Content-Length [306]
2023/03/17 16:49:44 Sent Header: Content-Type [application/json]
2023/03/17 16:49:44 Send Done
2023/03/17 16:49:44 Recv First Byte
2023/03/17 16:49:44 Sent Header: Host [docker]
2023/03/17 16:49:44 Sent Header: User-Agent [Go-http-client/1.1]
2023/03/17 16:49:44 Sent Header: Content-Length [2788]
2023/03/17 16:49:44 Sent Header: Content-Type [application/json]
2023/03/17 16:49:44 Send Done
2023/03/17 16:49:45 Recv First Byte
2023/03/17 16:49:45 Sent Header: Host [docker]
2023/03/17 16:49:45 Sent Header: User-Agent [Go-http-client/1.1]
2023/03/17 16:49:45 Sent Header: Content-Length [0]
2023/03/17 16:49:45 Sent Header: Content-Type [text/plain]
2023/03/17 16:49:45 Send Done
2023/03/17 16:49:45 Recv First Byte
2023/03/17 16:49:45 Sent Header: Host [docker]
2023/03/17 16:49:45 Sent Header: User-Agent [Go-http-client/1.1]
2023/03/17 16:49:45 Send Done
2023/03/17 16:49:45 Recv First Byte
DEBUG edge-runtime is listening on <IP_ADDRESS>:8081

service does not exist

System information

OS: macOS 13.0.1 (22A400)
Browser: n/a
Version of supabase-js: n/a
Version of Node.js:  n/a

This seems like it's an issue with the edge-runtime, but I don't see a repo for that

I ran docker history on the image and got:
IMAGE                                                                     CREATED       CREATED BY                                                                                SIZE      COMMENT
sha256:80f70d1c3f0f2aa1d5932e62a9758bb8cb04347fec640defe11bcaf74a0d9693   3 weeks ago   ENTRYPOINT ["edge-runtime"]                                                                                0B        buildkit.dockerfile.v0
<missing>                                                                 3 weeks ago   COPY /root/edge-runtime /usr/local/bin/edge-runtime # buildkit                                             41.1MB    buildkit.dockerfile.v0
<missing>                                                                 3 weeks ago   RUN /bin/sh -c apt-get update && apt-get install -y libssl-dev && rm -rf /var/lib/apt/lists/* # buildkit   8.58MB    buildkit.dockerfile.v0
<missing>                                                                 5 weeks ago   /bin/sh -c #(nop)  CMD ["bash"]                                                                            0B
<missing>                                                                 5 weeks ago   /bin/sh -c #(nop) ADD file:3276ac85bb957360f20720da5b37498a6b5f91a017046049f8d2fd791f728a9a in /           74.3MB

line 3 of that suggests that the runtime binary was copied in rather than built in the image... that might be the issue

Nah... just checked
ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=5d1a5fca940f128cf64e6a5c07305d38440bc36b, for GNU/Linux 3.7.0, stripped

Closing this and created https://github.com/supabase/supabase/issues/13108 in the Supabase repo as that's probably the appropriate place for it


sc2: Updating several hotkey and glossary categories for infested and royal guard units

Got all the Royal Guard units showing up in the correct category, and updated all zerg infested structures and units to the zerg category. The zerg category is so full at this point that it desperately needs a split, but I'm leaving that for another day.

The two no-icon buildings in the zerg tab are infested missile turret and bunker. I'm not sure why they don't get icons; I looked around and didn't find anything out of place in actor data, and the rootable anywhere variants probably aren't an issue or I'd expect spine and spore to display the same problem.

Checked the glossary, and there's a ton of duplicate entries in the terran one in particular. I think it's related to different states for a unit, though there were cases of e.g. emperor's shadow having the issue. All the ground categories are completely full regardless, so I won't worry about it too much. That also implicitly fixes the Queen glossary issue (#147 ) as it's no longer observable.


[QUERY] Function Drain mode not working using ServiceBusTrigger with Microsoft.Azure.WebJobs.Extensions.ServiceBus 5.7.0

Library name and version
Microsoft.Azure.WebJobs.Extensions.ServiceBus 5.7.0
Query/Question
We are running a ServiceBusTrigger function on an Azure Functions Elastic Premium plan. Until this week we used Microsoft.Azure.WebJobs.Extensions.ServiceBus 4.2.1. This week we updated to 5.7.0.
With this change we see that the drain mode/graceful shutdown of the function stopped working as before. With version 4.2.1 we almost saw no deliveryCounts > 1 (roughly one in 3000). Since the move to 5.7.0 we are seeing a 10-fold increase in occurrences of deliveryCounts > 1. In our case deliveryCounts > 1 are typically only caused by function executions being aborted as result of scale-in.
Did something change in the handling of drain mode between versions 4.2.1 and 5.7.0?
Environment
Azure Premium Elastic function on Net 6, functions v4, non-isolated

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Can you please share more details of your app such as whether you are using any Startup/shutdown code? The drain feature should work the same in 5.x.

We only run the single ServiceBusTrigger function on the function plan
The function is a single-threaded CPU-intensive process that take at most 20 minutes.
We set the servicebus.messageHandlerOptions.maxConcurrentCalls to be equal to the number of cores the plan has available per instance (EP3, so 4 in this case).
We are currently not using any specific startup or shutdown code. We know the process can always finish within the maximum drain mode window, so we do not abort/cancel the process but let it finish.

This worked perfectly using version 4.2.1 of the package. Despite peaky load characteristics (and a resulting high variability in active instances, almost no processes were aborted at all.

Can you share your function code?

Unfortunately, I cannot. The code contains proprietary algorithms. I will try to create a simple repro project, but that will take some time.
Would it matter that we run a C++ executable inside the function?
For now, I reverted the package upgrade back to 4.2.1. The deliveryCount immediately recovered (see deliverycount ApplicationInsights chart below, red dot is the deployment moment).

I suspect there may be something else going on resulting in the increase in delivery counts. The handling in the 5.x version is essentially the same as 4.x when it comes to scale in. One thing to check would be whether you are binding to the cancellation token in your function. This token would be canceled when scaling in.


Hide stats and graphs

Please make an option to hide stats & graphs (Card Factions, Character Icons, Character Strength, Card Cost) under a tab (preferrably make it start hidden). Takes too much space on the phone screen.

i respectfully disagree with this. hiding these stats behind a tab/toggle will make the user experience worse, imho. the way it is now is fine by me.


Fixed seconds unit of progress to english

I assume 'c' is used here because of 'секунды' (Sorry if wrong but I've used Google translate). To be more international, 's' would be better here. Even better would be some kind of template but this is at least a start here.

ok,
yes it`s seconds

Thanks for your fast response and merge. Happy to see this! Is there already a new nuget release planned?

what do you want to see in the new release?)

For me, the "seconds" fix is from intrest. Thats why I am asking :-) ...

O_o, ok
It will be done in a few hours

[x] v<IP_ADDRESS>


Results not reproducible between sessions/kernel restarts

Describe the bug
I run the same code with the same seeds in the same environment with the same input, but the features selected by ShapRFECV are not the same.
Environment:

probatus version: 1.8.9
Python 3.9.12
OS: ubuntu 22.04

To Reproduce
import numpy as np
import pandas as pd
from probatus.feature_elimination import ShapRFECV
from sklearn.ensemble import RandomForestClassifier
from sklearn.datasets import make_classification

global_seed = 1234
os.environ['PYTHONHASHSEED'] = str(global_seed)
np.random.seed(global_seed)
random.seed(global_seed)

feature_names = ['f1', 'f2', 'f3_static', 'f4', 'f5', 'f6', 'f7', 'f8', 'f9', 'f10', 'f11', 'f12', 'f13', 'f14', 'f15', 'f16', 'f17', 'f18', 'f19', 'f20']

# Code from tutorial on probatus documentation
X, y = make_classification(n_samples=100, class_sep=0.05, n_informative=6, n_features=20,
                           random_state=0, n_redundant=10, n_clusters_per_class=1)
X = pd.DataFrame(X, columns=feature_names)

def shap_feature_selection(X, y, seed: int) -> list[str]:

    random_forest = RandomForestClassifier(random_state=seed, n_estimators=70, max_features='log2',
                                           criterion='entropy', class_weight='balanced')

    random_forest.fit(X, y)
    shap_elimination = ShapRFECV(clf=random_forest, step=0.2, cv=5, scoring='f1_macro', n_jobs=1, random_state=seed)

    report = shap_elimination.fit_compute(X, y, check_additivity=True, seed=seed)
    # Return the set of features with the best validation accuracy
    return report.iloc[[report['val_metric_mean'].idxmax() - 1]]['features_set'].to_list()[0]

# Results from the first run
shap_feature_selection(X, y, 0)

>>> ['f17', 'f15', 'f18', 'f8', 'f12', 'f1', 'f13']

# Restarting the kernel and running the exact same command
shap_feature_selection(X, y, 0)
>>> ['f8', 'f1', 'f17', 'f6', 'f18', 'f20', 'f12', 'f15', 'f7', 'f13', 'f11']

Expected behavior
Setting all seeds, I expected the same behaviour in all runs.

(In case this is not a bug - what can I do to fix this?)

Thank you for providing a test example. This should be fixed when you install the latest commit. They are working on releasing a new version of Probatus ASAP.

Your test example (although slightly adapted) is included into the latest PR https://github.com/ing-bank/probatus/pull/197


Getting  connection refused when I tried to push a local image to microk8s registry

I am  getting  error when I tried to push a local image to microk8s registry
Get "http://localhost:32000/v2/": dial tcp <IP_ADDRESS>:32000: connect: connection refused
My setup
Ubuntu 20.04
Rootless docker
Microk8s (via snap)
I have no problem doing a curl -s -m 2 localhost:32000/v2 which return {}
Any advice?
See attached inspection report. Thanks.
inspection-report-20210904_221411.tar.gz

Hi @michaelmok2021 are you pushing the image with docker push? I trust you have gone through this document https://microk8s.io/docs/registry-built-in .


added plugins_folder key for plugins_folder configuration in DEFAULT_CONFIG

Fix for issue : https://github.com/airbnb/airflow/issues/37

Oh thanks for the PR, I saw the issue first and push the fix before I saw this. It's now fixed in v1.1.1
Hopefully the install process is flawless for the people coming after you, thanks!


maint: remove reimported module / unnecessary f-string &  use sys.exit() calls

Remove reimported module

A module is reimported multiple times.

Remove unnecessary f-string

It is wasteful to use f-string mechanism if there are no expressions to be
extrapolated.

Use sys.exit() calls

The exit or quit functions don't exist at top-level if python is started
with the -S flag, and will raise an error.

@vladdoster thanks for your help


[TRACKING FIX] CTA Carousel: branch link tracking param update

Add q param for branch link tracking on the CTA Carousel

a small spacing tweak for toggle bar scrolling

Test URLs:

Before: https://main--express--adobecom.hlx.page/express/
After: https://homepage-branch-tracking--express--adobecom.hlx.page/express/

Codecov Report

Merging #138 (9bcf8fe) into stage (05554d3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            stage     #138   +/-   ##
=======================================
  Coverage   35.36%   35.36%
=======================================
  Files          25       25
  Lines        9453     9453
=======================================
  Hits         3343     3343
  Misses       6110     6110

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@qiyundai we can merge once the conflict is resolved and that conversation with @toka1300 is resolved!

@qiyundai we can merge once the conflict is resolved and that conversation with @toka1300 is resolved!

Yup! Just did!


pmd:UseProperClassLoader - Use Proper Class Loader

This pull request is focused on resolving occurrences of Sonar rule pmd:UseProperClassLoader - Use Proper Class Loader
You can find more information about the issue here:
https://dev.eclipse.org/sonar/coding_rules#q=pmd:UseProperClassLoader
Please let me know if you have any questions.
M-Ezzat

Thanks !

You're welcome :)


Balancer Vault

Protocol Name
Balancer
Protocol Description
Balancer Vault:
See: 0xBA12222222228d8Ba445958a75a0704d566BF2C8
Functions to Support
batchSwap()
flashLoan()
swap()
Normalized Action Types
NormalizedBatch
NormalizedFlashloan
NormalizedSwap
Is it a Proxy?

[ ] Yes
[X] No

Discovery Mechanism Requirements
Unsure if necesary
Additional Context
See:
https://etherscan.io/address/0xba12222222228d8ba445958a75a0704d566bf2c8#code
Docs:
https://docs.balancer.fi/concepts/vault/#gas-efficient-batch-swaps
https://docs.balancer.fi/concepts/vault/swaps.html
Code of Conduct

[X] I agree to follow the Code of Conduct.

hey this is Fábio from Balancer - very excited about brontes and looking forward to try it!
I thought about creating an issue to discuss / try to understand some things but maybe I can use this one. My first question is: doesn't brontes already have a Balancer V2 classifier for the functions you listed? 🤔 what I'm missing?
Besides, I would like to point out there are some swaps on Balancer V2 that are actually single-side add/remove liquidity - could that cause any issues? I don't see any handling for it but what happens is you have a swap where either token in or token out is the LP token itself and that probably shouldn't be classified as NormalizedSwap
Last, and very minor detail, but I think V2 pool registrations should be moved to discovery.rs? From a quick look other classifiers follow this and only Balancer is incosistent.
https://github.com/SorellaLabs/brontes/blob/b0b17bcf1088cfeb209b38efec6e4baaac1a32f9/crates/brontes-classifier/src/classifiers/balancer/balancer_v2.rs#L190


Update pluginlist.rst

Add 6 datasets for the MAELSTROM project.

This looks good to me. Could you merge instead into the "develop" branch please?

Update to plugins.


Set onboard location per network

Allow location to be set on a per network basis.
This allows hotspots that support both networks to set location on IOT and opt to not set the location on MOBILE.

This looks reasonable, but it almost certainly needs a major version bump. Since the interface is changing.


get_block(blockindex) should drop an error if blockindex != 0 for non-symmetric tensors

Blocks can be access with get_block(blockindex). This works for symmetric as well as for non-symmetric UniTensors. For the latter, the blockindex is not needed. But it can still be specified and is currently simply ignored. If a blockindex != 0 is given, the user seems to assume a block form, which is wrong.
I would suggest that there is a check: for a UniTensor which is not in block form, blockindex has to be either 0 or omitted. Otherwise there should be an error.
Python Example:
Create an UniTensor from Tensor
T = cytnx.UniTensor(cytnx.ones([3,3]))
print(T.get_block(2))
Should produce something like: [ERROR] Trying to access a block with blockindex != 0 on a UniTensor without block form!

How about implementing the relevant functions get_block(_) in SparseUniTensor and BlockUniTensor only, instead of providing it for all UniTensor? This seems to be a cleaner structure to me, since not all UniTensors have blocks, so functionality concerning blocks should only be provided in the relevant subclasses.

Let's just let it popping error on DenseUT then.


Update qcodes driver to wait until the job is paused before calling resume

Nice I just added it :)


Move Microsoft.VCRedist.2022.arm64 14.32.31332.0 to Microsoft.VCRedist.2015+.arm64 14.32.31332.0

Microsoft Reviewers: Open in CodeFlow

Possible duplicate package entry.
Similar installer SHA256 hash found in manifest:

InstallerSha256: 8e126191012691ae22a0d5a89fac01b59babc7b680e5d9b65828935fd366e375

manifests\m\Microsoft\VCRedist\2022\arm64\14.32.31332.0

Verify by hash.


qemu, "Booting from DVD/CD... Boot failed: Could not read from CDROM"

Loving WSL, thank you all!
Windows Build Number: 14393.105

I've run sudo apt-get install nasm xorriso qemu build-essential grub
Created an .iso file
I'm running qemu-system-x86_64 -cdrom os.iso expecting a window pop up and print "Hello, world!"

A window does pop up but the unexpected output is as follows:
Booting from Floppy...
Boot failed: could not read the boot disk

Booting from DVD/CD...
Boot failed: Could not read from CDROM (code 0004)
Booting from ROM...
iPXE (PCI 00:03.0) starting execution...ok
iPXE initializing devices...ok

iPXE 1.0.0+git-20131111.c3d1e78-2ubuntu1.1 -- Open Source Network Boot Firmware
-- http://ipxe.org
Features: HTTP HTTPS iSCSI DNS TFTP AoE bzImage ELF MBOOT PXE Menu

net0: 52:54:00:12:34:56 using 82549em on PCI00:03.0 (open)
  [Link:up, TX:0 TXE:0 RX:0 RXE:01]
Configuring (net0 52:54:00:12:34:56)...ok
net0: <IP_ADDRESS>/<IP_ADDRESS> gw <IP_ADDRESS>
Nothing to boot: No such file for directory (http://ipxe.org/2d03e13b)
No more network devices

No bootable device.

I'd like to find out if this is a problem with WSL, so that I can check it off my troubleshoot list.
Please let me know any logs or other information that I can provide.
Thank you so much WSL team.

I successfully booted Alpine Linux! My environment is fine then and must be something wrong with my .iso image. Closing this issue.

Reopening this issue because I've successfully run my .iso on a gnu/linux system with no problem.
Still able to boot an alpine .iso, as a comparison, running  qemu-system-x86_64 -cdrom alpine-3.4.4-x86_64.iso.
Here's the repository for the my iso source code: https://github.com/hunterlester/rust_os

Problem solved.
In case any

Thank you hunterlester!!! Super helpful :)

Hi, I'm following this https://github.com/majorxia/mykernel to start from a minimal kernel.
but when run 'qemu -kernel arch/x86/boot/btImag'
I still got "no bootable device" on my laptop, which is EFI.
I've tried "sudo apt-get install grub-pc-bin", but STILL NO LUCK.
can anyone help? thannnnnnnnnks

@majorxia Looking at documentation, it doesn't seem that it's possible to only invoke the qemu command.
It looks like you also need the ISA, such as the command I was using qemu-system-x86_64.
The docs also specify that the -kernel option can be used with a bzImage, so you'd have to be sure that you are using a Big zimage.
I don't actually know, those two points just seem the best place to start for your next clues.

I sloved this problem.
Try to change you ISO file permission to rwxrw-rw-
Especially the x perminission. So the BIOS can find and read the file.

Thanks hunterlester, you 've saved my time... :-)

Thanks @hunterlester, very helpful !

I have same problem, but “install grub-pc-bin" can't help me, the output is: boot failed:could not read the boot disk......no more network devices,no bootable device.When in the real mode,  the qemu works perfecyly,however, when i changed into the protected mode,the output is wrong,I can't figure out why...

problem solved. "chmod" to modify file's permission is useful.


[common]: allow json configFile

What this PR does:
This will allow to create config files that are json formatted
Checklist:

[x] Pull Request title in format [chart]: Changed Something
[x] Updated documentation in the  README.md.gotmpl file and executed helm-docs
[x] Chart Version bumped
[x] All commits are signed-off

results in
apiVersion: v1
kind: ConfigMap
metadata:
  name: common-component-1-configfiles
  labels:
    app.kubernetes.io/name: common
    helm.sh/chart: common-5.4.0
    helm.nsm.bedag.ch/chartname: "common"
    app.kubernetes.io/managed-by: "Helm"
    app.kubernetes.io/instance: "mytest"
    app.kubernetes.io/version: ""
    app.kubernetes.io/component: component-1
data:
  application.json: |-
    {"yaml1":"val1","yaml2":"val2","yaml3":"val3","yaml4":{"subkey1":"subval1"}}

which turns into
{
   "yaml1":"val1",
   "yaml2":"val2",
   "yaml3":"val3",
   "yaml4":{
      "subkey1":"subval1"
   }
}


#34 Change use of deprecated NetworkInfo enhancement

Replace NetworkInto with the ConnectivityManager. Since this network validation is being done at repository level, I've had to add the network dependency on it's own AndroidManifest.

Hey ! Thanks for PR, it seems I didn't set up actions for tests & CQ to run for them, just added it recently. Will add few comments.


Review project for best practices

This is @twpayne's first TypeScript code and first npm module.
Please review the project configuration and code and suggest any changes needed to ensure that the project follows TypeScript and npm best practices.
As already discussed, the use of JSDoc /** */ comments is for use with typedoc.

Looks pretty good to me.


511- Core req's

-Sanitize calls
-jsLint
-Mobile CSS changes

Have not started this yet. The width of the panel is not correct on certain form factors and I was thinking we should collapse the main panel icon area. The linting and sanitize calls should be simple to deal with just need to start on them.

Here is what the widget looks like after commit https://github.com/Esri/solutions-webappbuilder-widgets/commit/913adec87a2f9650e3c7a150791b7a3d9c466a6f.
On an iPhone 6 with and without the attribute table widget activated

On an Android phone with and without the attribute table widget activated

I'll look into how other widgets behave when they and the attribute table are opened at the same time.  The 511 widget is difficult to use as-is when the attribute table widget is taking up so much screen real estate.

@lindsayking I will look some more at other widgets as well but we only have so much space to work with. Please let me know if you have any specific suggestions on how the approach should differ.

@jmhauck  Looking at how some other widgets behave, I think perhaps we should shy away from attempting to show the 511 widget at the same time as other widgets.  For example, if the attribute table widget is already open when the Legend widget opens, the Legend widget simply displays on top of the Attribute Table widget.

Then, if the Legend widget is closed, it disappears and the Attribute Table widget becomes visible again beneath it.
I think the 511 widget should "bump up" widgets like the scalebar and coordinates widgets, but for other 1/2 screen widgets, it should simply display on top of them.

@jmhauck   Let's concentrate on consuming the same space with our widget as other widgets like the Legend widget do, and we'll revisit the the surrounds if needed.

@lindsayking I changed from 40% to 50% as the other widgets do. Also now place the panel relative to the browser rather than the map so the attribute table an our widget would not stack and so we could bump up the location of things like the coordinates that are position based on the map container. This was handled in a similar way as the SA widget. One difference is that we listen for when the map re-sizes. So we can catch that case you mentioned for the SA widget where you could open our widget...see it bump up the other controls... open and close the attribute table would pull those controls back to the bottom. When you go through this workflow now you should see them adjust again to be above our widget.

Now tracking this issue in devtopia.


play/pause button isn't showing (service works) [Samsung Smart TV]

Home Assistant release:
0.41.0
Python release:
Python 3.4.2
Component/platform:
samsungtv
Description of problem:
When my TV (Samsung TV KU6079) is turned on, I can control the volume and jump forward/back but I cannot play/pause.

Problem-relevant configuration.yaml entries and steps to reproduce:
 - platform: samsungtv
    host: <IP_ADDRESS>
    port: 8001
    mac: AB:CD:EF:C9:67:89

Additional info:
TV: Samsung TV UE43 KU6079

Is anything logged when you press the pause and play buttons?

@AnderssonPeter I cannot see the play/pause button... :roll_eyes:

@niklaswa press it any way :wink:, if you click the three dots you should get a new gui that contains a play button.

Nothing there..

Just to check if its possible (i dont know if it is)
Check if you can find any service to do it with:

When I'm calling this:

I get this isn't in the log..
17-04-07 13:57:32 WARNING (MainThread) [homeassistant.helpers.entity] Update for media_player.samsung_tv_remote is already in progress

Ok, @AnderssonPeter ...
When I'm calling it, it does play/pause on the tv.
But how it's possible to "activate" the button in the UI?

I dont know shy it dosent show upp in the gui, but you should be able to call the service from a automation.

I'm having the same problem with my Samsung UN55KS800DFXZA.  The play/pause button is missing from the gui -- and even though the skip-forward and skip-backward buttons are there, they are unusable because without the play button, there's no way to stop the skipping: I press skip once and it'll fast forward to the end of the program.  So pretty much the only thing I can use is the power button and volume control.  It'd be great to get that play button back!

It seems i have the same problem once i turn my tv on..

It's still the case.

I have exactly the same problem with the latest version of HA.

here too 0.53

Still the case.

Still the case in the latest version.
At least for me, the issue appears to be that the TV reports a state of STATE_ON, which does not allow the web UI to render the play/pause button. To prove this, I changed all instances of STATE_ON in the samsungtv.py file to STATE_PAUSED and reloaded; the play/pause button appeared on the interface, and the state of the device appeared as "Paused".

Same issue with a SAMSUNG UE60J6289 LED TV (Flat, 60 Zoll, Full-HD, SMART TV). No Play button visible. Configuration:
  - platform: samsungtv
    host: <IP_ADDRESS>
    port: 8001
    mac: AB:CD:ED:D0:46:F5

So the TV off issues is probably addressed in recent PRs @anthturner I see what you mean just by looking at the code, but can you double check with the next version and let us know if you still see the same issue?

Still the case with version 0.64.0

I still experience the same problem.
On Tue, May 29, 2018 at 3:59 PM balloobbot<EMAIL_ADDRESS>wrote:

There hasn't been any activity on this issue recently. Due to the high
number of incoming GitHub notifications, we have to clean some of the old
issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check
if that solves the issue. Let us know if that works for you by adding a
comment 👍
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/6969#issuecomment-392786841,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACa9HkW0MjtHj8LlbTM6Bmr2pgneGkqQks5t3VRTgaJpZM4M2QkQ
.

--
mail<EMAIL_ADDRESS>tel:       +49<PHONE_NUMBER>

I also experience this issue

If It's instead set to UNKNOWN the UI actually will show a play/pause button rather than just a play button.

I solved it by setting state to unknown... it is probably not how it should be solved though :/ If the frontend shows play/pause in ON state it will be an easy task to revert the UNKNOWN state

This should be moved to https://github.com/home-assistant/home-assistant-polymer/issues

Close it in favor of https://github.com/home-assistant/home-assistant-polymer/issues/2410


interrupt not working properly with native smooth scrolling

Setting interrupt: true doesn't work very well for browsers with native smooth scrolling (FF, Chrome v49/50). It requires the user to scroll multiple times (meaning you must scroll like crazy to interrupt). This is more pronounced in Chrome (Canary 49/50, not sure when they added smooth scrolling exactly) where it's nearly impossible to interrupt.
scrollTo v2.1.2

It might be a tricky one, will try to check this out asap.
If you figure out a solution and can provide a PR, I'll validate and merge

Not really sure how. Would have to get into how the jQuery tweening is implemented. Right now I just hacked it by adding a wheel event, which is in no way complete solution.

Closing for the PR


<#89>:

Fixed #89 , small edge-case with dark mode and refreshing the page. Fixed it to have proper functionality.

Works perfectly!


Can't download HDO from exomol.

I found that MdbExomol of Exojax ver1.5 can't download HDO from exomol.
When I run
mdb1H2HO = MdbExomol('../../../data_mol/.database/H2O/1H-2H-16O/VTT', nurange=nu_grid, gpu_transfer=False) print('N=', len(mdb1H2HO.nu_lines)) diffmode = 0 opa = OpaPremodit(mdb=mdb1H2HO,                   nu_grid=nu_grid,                   diffmode=diffmode,                   auto_trange=[Tlow, Thigh],                   dit_grid_resolution=1.0),
then I got
/home/yama/intbase/intenv/lib/python3.9/site-packages/exojax/utils/molname.py:178: FutureWarning: e2s will be replaced to exact_molname_exomol_to_simple_molname.   warnings.warn( HITRAN exact name= HD(16O) HITRAN exact name= HD(16O) Background atmosphere:  H2 Downloading http://www.exomol.com/db/HHO/1H-2H-16O/VTT/1H-2H-16O__VTT.def and saving as ../../../data_mol/.database/H2O/1H-2H-16O/VTT/1H-2H-16O__VTT.def
and
URLError: <urlopen error [Errno -3] Temporary failure in name resolution>.
It is not an appropriate URL.
Appropriate URL:
https://exomol.com/data/molecules/H2O/1H-2H-16O/VTT/

Thanks for reporting the bug!
The correct URL: https://www.exomol.com/db/H2O/1H-2H-16O/VTT/1H-2H-16O__VTT.def
The current URL name:  https://www.exomol.com/db/HHO/1H-2H-16O/VTT/1H-2H-16O__VTT.def
So this looks like because of the name parser. I will modify it.

@HibikiYama
I had to fix the code on the Radis side, so I made the necessary corrections and submitted a pull request (PR). With this revised version, it should now be possible to download the data.
https://github.com/radis/radis/pull/693


Add HTTP plugin

Add opentelemetry-plugin-http to allow the user to automatically collect trace data. The package should be used by both server and client. This should be based on BasePlugin interface: https://github.com/open-telemetry/opentelemetry-js/blob/master/packages/opentelemetry-core/src/trace/instrumentation/BasePlugin.ts#L20
OpenCensus reference implementation: https://github.com/census-instrumentation/opencensus-node/tree/master/packages/opencensus-instrumentation-http

This PR https://github.com/open-telemetry/opentelemetry-js/pull/146 should be merged before.
And Tracer (from node-tracer) should expose the new feature.

@OlivierAlbertini I fail to see why #146 need to be merged, it only add internal stuff to the ah propagation which will not be exposed anyway

Hello @vmarchaud
For HTTP plugin, we need to wrap request and response object for event emitters. I though that this PR added the propagation for event emitters.

I was going to explain the bind method but you edited your comment ^^
Also note that the binding of event emitters for req/res is mostly done to propagate the scope for future spans than the actual patching


Group every selected set of layers for it's Artboard independently

Closes #

!deploy

!build

I think this would have several issues. If the artboard was not selected, then it would not be added to the hashmap and nothing would happen. The best way to approach this would be to collect all the layer paths, and check if there is an artboard in the path. If so, then the ROOT_PARENT gets popped from the path. If the path is just one item at this point, it can be filtered out (since it is an artboard). Once these paths are collected, a hash map can be used to group the paths based on the last element. Then each group of paths can be grouped. The parent is the deepest common ancestor, and the rest of the logic can be applied from there.

Okay I'll rework it

!build

!build

I made a few changes in this commit: 4c4f326fdd228b6167b993b0ab624e457d4d66ce. Could you add it to your branch so this can get merged?

@adamgerhant can you review?

I pushed my changes/fixes about 2 weeks ago, and it was ready to merge after that.

@adamgerhant in that situation, could you please remember to leave an approval on the PR? Thanks :)

I'm confused by what exactly happened with the commit history. It seems my commit got edited and then forced pushed? I reviewed/tested it though and its ready to merge

I checked this and I think it's okay

Sorry, what issue or #code-todo-list task is this solving? The PR description is blank and the title doesn't give me enough details to understand what this is meant to fix.

Sorry, what issue or #code-todo-list task is this solving? The PR description is blank and the title doesn't give me enough details to understand what this is meant to fix.

https://github.com/GraphiteEditor/Graphite/blob/77936c44b053a7a4cf5af677e024bb443738cdde/editor/src/messages/portfolio/document/document_message_handler.rs#L494C1-L494C68

Ah, cool, thanks. Yeah, that looks useful. I put that in the PR description. This will need to have its conflicts resolved against master but then I can code review it with that context in mind.


Better commenting and unify code formatting

Relevant components:

[x] Scalable Pixel Streaming Frontend library
[x] Examples
[ ] Docs

Problem statement:
A tidy up of commenting was required for the library and the examples
Solution
Add better commenting to the SPS library and examples

The commit history was not correct
created a new PR #49


[Frontend] Supports log view of job execution for frontend

Fix #61 .

Codecov Report

Merging #251 (8d59ca7) into master (6e5a6dd) will decrease coverage by 0.09%.
The diff coverage is 27.94%.

@@            Coverage Diff             @@
##           master     #251      +/-   ##
==========================================
- Coverage   66.80%   66.70%   -0.10%
==========================================
  Files         206      206
  Lines       15506    15575      +69
  Branches     2329     2337       +8
==========================================
+ Hits        10359    10390      +31
- Misses       4578     4614      +36
- Partials      569      571       +2

Impacted Files
Coverage Δ

...gins/scheduler_plugins/airflow/ai_flow_operator.py
67.56% <ø> (ø)

ai_flow/frontend/web_server.py
61.98% <17.24%> (-8.71%)
:arrow_down:

ai_flow/endpoint/server/server_config.py
63.09% <50.00%> (-0.77%)
:arrow_down:

ai_flow/runtime/job_runtime_env.py
78.82% <100.00%> (+1.99%)
:arrow_up:

ai_flow/runtime/job_runtime_util.py
72.00% <100.00%> (+2.43%)
:arrow_up:

ai_flow/util/path_util.py
71.42% <0.00%> (-14.29%)
:arrow_down:

ai_flow/cli/commands/workflow_command.py
92.00% <0.00%> (-3.13%)
:arrow_down:

ai_flow/common/module_load.py
100.00% <0.00%> (ø)

...i_flow_plugins/job_plugins/flink/flink_run_main.py
0.00% <0.00%> (ø)

...flow_plugins/job_plugins/python/python_run_main.py
0.00% <0.00%> (ø)

... and 1 more

Continue to review full report at Codecov.

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