Tagging is not working correctly when ui-select's ng-model is bound to a list

When using tagging, ui-select seems to have problems when ng-model' is bound to a list variable. E.g., ng-model="demo.colors"is working correctly, butng-model="colors"does not update$scope.colors` when tags are selected
This is working correctly:
  <ui-select multiple tagging tagging-label="(custom 'new' label)" ng-model="demo.colors" theme="bootstrap" style="width: 300px;" title="Choose a color">
    <ui-select-match placeholder="Select colors...">{{$item}}</ui-select-match>
    <ui-select-choices repeat="color in availableColors | filter:$select.search">
      {{color}}
    </ui-select-choices>
  </ui-select>

Selected: {{demo.colors}}

In this case scope variable colours is not assigned to selected tags:

Not Working Example

  <ui-select multiple tagging tagging-label="(custom 'new' label)" ng-model="colors" theme="bootstrap" style="width: 300px;" title="Choose a color">
    <ui-select-match placeholder="Select colors...">{{$item}}</ui-select-match>
    <ui-select-choices repeat="color in availableColors | filter:$select.search">
      {{color}}
    </ui-select-choices>
  </ui-select>

Selected: {{colors}}

Here is Plunker link with working and not working examples.

If you're still dealing with this problem I think the problem is scoping with the ng-model, described a bit here: http://stackoverflow.com/questions/17606936/angularjs-dot-in-ng-model.

As per linked stackoverflow question, ng-model requires dot notation. See also FAQ https://github.com/angular-ui/ui-select/wiki/FAQs


OpenSDS Installation failing with ansible while configuring nfs

Is this a BUG REPORT or FEATURE REQUEST?:
Uncomment only one, leave it on its own line:
/kind bug
TASK [osdsdock : create volume group for nfs server if specify nfs backend] ***********************************************************************************************************************************
task path: /root/opensds-installer/ansible/roles/osdsdock/scenarios/nfs.yml:59
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/commands/command.py
ESTABLISH LOCAL CONNECTION FOR USER: root
EXEC /bin/sh -c 'echo ~ && sleep 0'
EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp/ansible-tmp-1559883225.43-235573181428341" && echo ansible-tmp-1559883225.43-235573181428341="echo /root/.ansible/tmp/ansible-tmp-1559883225.43-235573181428341" ) && sleep 0'
PUT /tmp/tmpyXg2CB TO /root/.ansible/tmp/ansible-tmp-1559883225.43-235573181428341/command.py
EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1559883225.43-235573181428341/ /root/.ansible/tmp/ansible-tmp-1559883225.43-235573181428341/command.py && sleep 0'
EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1559883225.43-235573181428341/command.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1559883225.43-235573181428341/" > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
"changed": true,
"cmd": "function _create_lvm_volume_group {\n local vg=$1\n local size=$2\n\n local backing_file=/opt/opensds-hotpot-linux-amd64/volumegroups/${vg}.img\n if ! sudo vgs $vg; then\n # Only create if the file doesn't already exists\n [[ -f $backing_file ]] || truncate -s $size $backing_file\n local vg_dev\n vg_dev=sudo losetup -f --show $backing_file\n\n # Only create physical volume if it doesn't already exist\n if ! sudo pvs $vg_dev; then\n sudo pvcreate $vg_dev\n fi\n\n # Only create volume group if it doesn't already exist\n if ! sudo vgs $vg; then\n sudo vgcreate $vg $vg_dev\n fi\n fi\n}\nmodprobe dm_thin_pool\n_create_lvm_volume_group opensds-nfs 10G\n",
"delta": "0:00:00.189601",
"end": "2019-06-07 10:23:45.727571",
"failed": true,
"invocation": {
"module_args": {
"_raw_params": "function _create_lvm_volume_group {\n local vg=$1\n local size=$2\n\n local backing_file=/opt/opensds-hotpot-linux-amd64/volumegroups/${vg}.img\n if ! sudo vgs $vg; then\n # Only create if the file doesn't already exists\n [[ -f $backing_file ]] || truncate -s $size $backing_file\n local vg_dev\n vg_dev=sudo losetup -f --show $backing_file\n\n # Only create physical volume if it doesn't already exist\n if ! sudo pvs $vg_dev; then\n sudo pvcreate $vg_dev\n fi\n\n # Only create volume group if it doesn't already exist\n if ! sudo vgs $vg; then\n sudo vgcreate $vg $vg_dev\n fi\n fi\n}\nmodprobe dm_thin_pool\n_create_lvm_volume_group opensds-nfs 10G\n",
"_uses_shell": true,
"chdir": null,
"creates": null,
"executable": "/bin/bash",
"removes": null,
"stdin": null,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 5,
"start": "2019-06-07 10:23:45.537970",
"stderr": " Volume group "opensds-nfs" not found\n Cannot process volume group opensds-nfs\n Failed to find physical volume "/dev/loop3".\n Device /dev/loop3 not found (or ignored by filtering).\n Volume group "opensds-nfs" not found\n Cannot process volume group opensds-nfs\n Device /dev/loop3 not found (or ignored by filtering).\n Unable to add physical volume '/dev/loop3' to volume group 'opensds-nfs'.",
"stderr_lines": [
" Volume group "opensds-nfs" not found",
" Cannot process volume group opensds-nfs",
" Failed to find physical volume "/dev/loop3".",
" Device /dev/loop3 not found (or ignored by filtering).",
" Volume group "opensds-nfs" not found",
" Cannot process volume group opensds-nfs",
" Device /dev/loop3 not found (or ignored by filtering).",
" Unable to add physical volume '/dev/loop3' to volume group 'opensds-nfs'."
],
"stdout": "",
"stdout_lines": []
}
What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
Hotpot(release/branch) version:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

@joseph-v , please check and close.
Ref #198 #190 #186

This issue is fixed in PR #169. Current CI builds are passing with lvm and nfs enabled backends.

Verified latest CI Build Log ..installation success.. (https://github.com/opensds/opensds-installer/runs/148432137)


cleanup(build.sh): cleanup unused files old ci.

What type of PR is this?

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

/area build

/area plugin-sdk

/area tests

What this PR does / why we need it:
This PR removes build.sh since it is not used by the new ci.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
NONE
Does this PR introduce a user-facing change?:
NONE

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

LGTM label has been added.  Git tree hash: bb8cafa52f49e16f29505342ea3d508919101204

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: cappellinsamuele, jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Test case cannot be run.

I pulled the code and ran the test case in the root directory with an error message
`
Error: Nargo.toml is badly formed, could not parse.
data did not match any variant of untagged enum Manifest
Caused by:
data did not match any variant of untagged enum Manifest
Location:
crates/nargo_cli/src/cli/mod.rs:74:5
`
I am using Nargo version 0.9.0
nargo 0.9.0 (git version hash: 970c18ee29e37d35e39169005e629deed8b30b6e, is dirty: false)

This should be fixed in the latest version


Email list creates but subscribers are never stored

There seems to be a problem with the adding subscribers to the list.
Email list gets created (I can have like 1 million of them), but the subscribers never quite get added to the list. This happens using docker or local setup.

@chiefoleka Can you show a sample of you list including the header row ?

I tried different combinations

email
<EMAIL_ADDRESS>
Then I also tried

email,first name
<EMAIL_ADDRESS>firstname

Then also flipped this

first name, email
firstname<EMAIL_ADDRESS>
So, the thing is that the list comes in, it sees the headers and identifies each field irrespective of the combination I use, but it doesn't store it.

@chiefoleka Okay, I think I know what the issue is. I have encountered it, but I forgot to create an issue for this.
How big is your list ? Try uploading a subset of your list with say 500-1000 emails.
I have encountered issues in uploading when the list was big - anything more than 2000 records (only emails). The upload didn't happen properly. It's some bug.
And the output that you see for the identification (the sample), it's done on the client side and yes, looks like your list is in the right format. It just needs to have at least one column with the name "email" or even "Email" works I guess ? cc @AndrewGHC

@karuppiah7890
Not necessarily. I tested with a single email because I felt it was the volume, but it still didn't work.
Now, it says upload completed but records 0.
The first time I set it up, I'm not sure, but I think it uploaded just fine, and I was running it in a docker container.
But before trying to use it last night, I sort of rebased my local repo people running docker. This issue started after then

@chiefoleka Then you could just stop and remove all containers using docker-compose down and try again if you don't have any important data in the DB.
@AndrewGHC I think we need to work on DB backup procedure (DB container) docs for people and provide volume based storage for DB in the upcoming versions so that it's easy to upgrade to the latest version of the application. And if for any reason we change DB schema and containers don't work in a plug and play manner, we can think on the DB upgrading procedures too later.

@karuppiah7890
I'm not sure that would work because today, I removed all my docker containers since they are not necessarily useful yet.
But let me try and give you feedback

@karuppiah7890
if it helps, here is the error that comes up every time I drop and recreate a container
postgres_1  | ERROR:  relation "users" does not exist at character 112
postgres_1  | STATEMENT:  SELECT "id", "googleId", "picture", "token", "email", "name", "sentEmailsCount", "createdAt", "updatedAt" FROM "users" AS "user";

That's just an error when there are no users in the DB and when the App tries to run that statement to check before logging in. I see that too in a new container. @AndrewGHC I think we could handle this error this in a better manner ?

@chiefoleka If you still run into issues, ping me on gitter @karuppiah7890 and I will remote login to your PC through TeamViewer and see what the issue is :)

@chiefoleka Any updates on the issue ?

Same issue I have always been having. It has not Vern fixed. Everything
works, but once I get to the point where I have add list, it doesn't work.
On Thu, Sep 14, 2017, 3:19 PM Karuppiah<EMAIL_ADDRESS>wrote:

@chiefoleka https://github.com/chiefoleka Any updates on the issue ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/mail-for-good/issues/189#issuecomment-329496914,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKttHtP8Fel09SZS21NgiJi1ri4YHzREks5siTXegaJpZM4PR9Nc
.

"Vern" ?
And have you tried getting rid of the containers and recreating them using the commands I mentioned ?

@chiefoleka If you are still getting issues, let me check and verify the issue through TeamViewer. Ping me on gitter.im and we can decide on a time to check the issue

My Gitter username is karuppiah7890 , the same as my GitHub one

We would do this later.

On 14 Sep 2017, at 3:26 PM, Karuppiah<EMAIL_ADDRESS>wrote:
@chiefoleka https://github.com/chiefoleka If you are still getting issues, let me check and verify the issue through TeamViewer. Ping me on gitter.im and we can decide on a time to check the issue
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/freeCodeCamp/mail-for-good/issues/189#issuecomment-329499251, or mute the thread https://github.com/notifications/unsubscribe-auth/AKttHuYNbTAbRquDmSHzO9NC_TjsdY-Dks5siTeogaJpZM4PR9Nc.

I think I figured out what the problem is. I too was having 0 emails come through, no matter my list size (tried 0, 100, and 1000 placeholder emails).
The fix, was renaming my email column. The email column must be named exactly email. I had it named Email with a capital E. Once I lowercased everything, my subscribers uploaded for all test sizes (0, 100, and 1000).

@chiefoleka - make sure your header is titled exactly email. You may have an inadvertent character, capitalization, or space that's causing the issue. I'd delete the whole header row and add a new one just to be sure.

@bmorelli25 Thanks for that :smile: I think I have tried with Email as header. Let me try again. That's probably the issue as @chiefoleka couldn't get even 1 mail to import

As @bmorelli25 has said, I solved this issue by changing the header to "email" instead of "Email".

I've been searching the code and I think changing this line would fix this:
https://github.com/freeCodeCamp/mail-for-good/blob/d1983c30c0ac6a7b9ec20e1ad3924dd506165eda/server/controllers/list/import-csv.js#L35

I too solved the issue by lowercasing "email" – would be very helpful if the helptext could be explicit about capitalization.


[SPARK-35736][SQL] Parse any day-time interval types in SQL

What changes were proposed in this pull request?

This PR add a feature which allow the parser parse any day-time interval types in SQL.
Why are the changes needed?

To comply with ANSI standard, we additionally need to support the following types.

INTERVAL DAY
INTERVAL DAY TO HOUR
INTERVAL DAY TO MINUTE
INTERVAL HOUR
INTERVAL HOUR TO MINUTE
INTERVAL HOUR TO SECOND
INTERVAL MINUTE
INTERVAL MINUTE TO SECOND
INTERVAL SECOND

Does this PR introduce any user-facing change?

No.
How was this patch tested?

New tests.

Test build #139744 has started for PR 32893 at commit 4e84456.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44269/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44269/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44269/

Test build #139744 has finished for PR 32893 at commit 4e84456.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/139744/

cc @MaxGekk @yaooqinn FYI

Test build #139748 has started for PR 32893 at commit 9a8faa8.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44273/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44273/

Test build #139748 has finished for PR 32893 at commit 9a8faa8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/139748/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/139755/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44281/

+1, LGTM. GA passed. Merging to master.

Thank you, @sarutak .


Globex Customers App Shows no Data

In the Globex application the customers view shows nothing. The document says, "Customer doesn’t work (bug in the code)". Can we fix this? @danieloh30

In my understanding, this is the demo scenario like showing the broken customer service and then fixing it later. Please correct if I misunderstand.

Or let me know what your suggestion is then I will happy to update :)

Ah, ok. I get it now. Disregard. Thanks!
On Wed, Jun 1, 2022 at 11:00 AM Daniel Oh @.***> wrote:

Or let me know what your suggestion is then I will happy to update :)
—
Reply to this email directly, view it on GitHub
https://github.com/redhat-mw-demos/app-mod-labs/issues/1#issuecomment-1143720974,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB2DW5K35LTP5QGZZ737CLVM53GPANCNFSM5XRKFREA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Thanks
James Labocki
m: +1<PHONE_NUMBER>
https://calendly.com/jlabocki

Sure thing. Let me close this one for now!


Update our GSOC page for 2019

This adds a new idea for PR building.
We should also add other ideas that we've had,
especially if they are ~3-6 months out on the roadmap

I've removed apiv3 and added a Sphinx v2 theme section, but it isn't great. Will merge this today because of the application deadline, but if people have concrete additions, please propose them in new PR's

@rtfd/core Would love a 👍 today if folks think this is ready.


mysql build issue

Hi,
I installed MySQL manually and the location is /usr/local/mysql and underneath this location I have the following directories - bin, lib, man etc directories
I've included .Package(url: "https://github.com/vapor/mysql-provider.git", majorVersion: 2) in Package.swift
I tried compiling vapor build --clean and get the following error
Fetching Dependencies [                        •]
Error: backgroundExecute(code: 1, error: "swift-package: error: /Users/rrvemula/Documents/Development/Hello/Package.swift:10:9: error: '(arrayLiteral: Package.Dependency, _)' is not convertible to '(arrayLiteral: Package.Dependency...)', tuples have a different number of elements\n        .Package(url: "https://github.com/vapor/vapor.git\", majorVersion: 2),\n        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nexit(1): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --driver-mode=swift -I /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm -L /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm -lPackageDescription -target x86_64-apple-macosx10.10 /Users/rrvemula/Documents/Development/Hello/Package.swift -fileno 11\n", output: "")
I also tried vapor xcode and get the following error
Generating Xcode Project [Failed]
swift-package: error: /Users/rrvemula/Documents/Development/Hello/Package.swift:10:9: error: '(arrayLiteral: Package.Dependency, _)' is not convertible to '(arrayLiteral: Package.Dependency...)', tuples have a different number of elements
.Package(url: "https://github.com/vapor/vapor.git", majorVersion: 2),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
exit(1): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --driver-mode=swift -I /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm -L /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm -lPackageDescription -target x86_64-apple-macosx10.10 /Users/rrvemula/Documents/Development/Hello/Package.swift -fileno 11
Error: Could not generate Xcode project: swift-package: error: /Users/rrvemula/Documents/Development/Hello/Package.swift:10:9: error: '(arrayLiteral: Package.Dependency, _)' is not convertible to '(arrayLiteral: Package.Dependency...)', tuples have a different number of elements
.Package(url: "https://github.com/vapor/vapor.git", majorVersion: 2),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
exit(1): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --driver-mode=swift -I /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm -L /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm -lPackageDescription -target x86_64-apple-macosx10.10 /Users/rrvemula/Documents/Development/Hello/Package.swift -fileno 11
can someone please help me wit resolving this?
I looked up other issues logged (#29, #67 )but was unable to resolve it.

This doesn't seem to be related to the mysql package, but most likely a syntax error in your Package.swift file. It's actually pretty clearly visible if you read the output.
Perhaps you didn't add a comma after the vapor.git dependency?

Thanks @vzsg - My bad. it was a comma after the git dependency


Improved List View

Has there been any discussion about an improved list view with pagination, sorting, filtering, etc?
I've been adding the React grid component Griddle to most of my projects built with Base to add these features. I'm starting a new project with latest Base (thanks for all the great improvement in the past few releases) and Griddle is one of the first components I add. I haven't surveyed other options for this functionality in the past few months so maybe there's sometime better.
I install:
meteor npm install griddle-react --save

Hi @rgstephens. Not specifically. The goal of Base is to avoid making the bare minimum number of decisions so you can take it wherever you need to. When it comes to features like this, it's best to merge them with a fork of Base.
That said, I'd like to start showcasing forks of Base that include interesting features. Could you send me an email (or share your address here so I can contact you) so we can chat about this? Really appreciate you putting all of this time into PR's/feature ideas!

I just sent you an email.

+1 for Griddle example.

@thearabbit I posted a fork of the main project with a Griddle based List View with pagination, sorting, filtering and action buttons here. @rglover may be posting this and a couple of other example extensions to base soon.

Why you don't PR?

I did that in #219.  Please note the comment above by @themeteorchef regarding why that PR was rejected.

@rgstephens @thearabbit on my list to get this on the site, just a bit backed up at the moment :)

1- If I have more then 1,000,000 docs in Documents Collection.
Have problem or not, when we pub all of document to Griddle?
Meteor.publish('documents.list', () => Documents.find());
-----
<Griddle
            results={documents}
            ......
------
const composer = (params, onData) => {
  const subscription = Meteor.subscribe('documents.list');
  if (subscription.ready()) {
    const documents = Documents.find().fetch();
    onData(null, { documents });
  }
};

export default composeWithTracker(composer, Loading)(DocumentsList);

2- Could you example to use query/selector to get some data from Documents like Tabular
{{> tabular table=TabularTables.Books selector=selector......

Template.myTemplate.helpers({
  selector() {
    return {author: "Agatha Christie"}; // this could be pulled from a Session var or something that is reactive
  }
});

@thearabbit yes, this will likely cause an issue. You'll want to add some sort of pagination feature to break up the documents into easier to handle chunks.

I don't understand about this.
Could example for me? Thanks again.

@thearabbit yes its problem with performance at loading!
@rgstephens Maybe implement pagination, sorting with (pub/sub)?


Remove isort from CI

This is made redundant by Ruff.
Also updating CI to use Python 3.11, which is now standard here.

That reminds me, I think Ruff also replaces Black now: https://docs.astral.sh/ruff/formatter/#black-compatibility

Wow that's neat!


Support read of D8 networks

Assume network is stored in a LUE dataset. Depends on #277

Depends on #300 for unit testing


Unable to update to 2021.12.2

Every time I try to update, the following error occurs.
[2021-12-21 15:54:01.866] [renderer1] [error] ["Invalid: Corrupt ZIP: end of central directory record signature not found","    at $.downloadInstallableExtension (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:76:205704)","    at async $.doRun (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:76:204229)"]
[2021-12-21 15:54:01.894] [renderer1] [error] Corrupt ZIP: end of central directory record signature not found: Invalid: Corrupt ZIP: end of central directory record signature not found
at $.downloadInstallableExtension (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:76:205704)
at async $.doRun (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:76:204229)
Even if I try to manually download, it's the same.
All other extensions are working just fine.
Version: 1.63.1
提交: fe719cd3e5825bf14e14182fddeb88ee8daf044f
Date: 2021-12-14T02:13:13.580Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 21.2.0

Are you still seeing this problem? Looks like a corrupt zip file. Surprised that manually downloading it did not fix it. Please let us know if you still seeing this.

closing stale issue


⚠ Bofrost.be has degraded performance

In bdec937, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1365 ms

Resolved: Bofrost.be performance has improved in f937439 after 2 hours, 50 minutes.


Prepare for release

Update bomanalytics versions to release versions. Set package version and classifier.

The Wix check will not affect users of the package, as pip will choose non-vulnerable versions. This is OK to release as-is

I'll update the locked packages though, just for completeness, since dependabot won't modify this branch automatically

Cherry-pick #61  to avoid documentation build failures


Got ModuleNotFoundError: No module named 'pip.commands' error

using Ubuntu 17.04 32bit.
Python 3.6.5 (anaconda)
I installed PyBuilder using pip install pybuilder, it installed sucessfully without any error, but when i try to run the command pyb --start-project i got the following error.
palash@ash:~$  pyb --start-project
Traceback (most recent call last):
  File "/home/palash/anaconda3/bin/pyb", line 21, in <module>
    import pybuilder.cli
  File "/home/palash/anaconda3/lib/python3.6/site-packages/pybuilder/cli.py", line 31, in <module>
    from pybuilder.core import Logger
  File "/home/palash/anaconda3/lib/python3.6/site-packages/pybuilder/core.py", line 35, in <module>
    from pybuilder import pip_common
  File "/home/palash/anaconda3/lib/python3.6/site-packages/pybuilder/pip_common.py", line 21, in <module>
    from pip.commands.show import search_packages_info
ModuleNotFoundError: No module named 'pip.commands'

This has been fix in #580 literally a few hours ago, please update pip to either latest 0.11 or --pre 0.12.

@bauripalash  ?

i have pip 10.0 , i tried but it's not updating
palash@ash:~$ pip --version
pip 10.0.0 from /home/palash/anaconda3/lib/python3.6/site-packages/pip (python 3.6)

when i tried updating i got this
palash@ash:~$ pip install -U pip
Requirement already up-to-date: pip in ./anaconda3/lib/python3.6/site-packages (10.0.0)
pytest-xdist 1.22.0 has requirement pytest>=3.0.0, but you'll have pytest 2.5.2 which is incompatible.
pytest-timeout 1.2.1 has requirement pytest>=2.8.0, but you'll have pytest 2.5.2 which is incompatible.
pytest-forked 0.2 has requirement pytest>=2.6.0, but you'll have pytest 2.5.2 which is incompatible.
pyasn1-modules 0.2.1 has requirement pyasn1<0.5.0,>=0.4.1, but you'll have pyasn1 0.1.9 which is incompatible.
python-xmpp-server 0.1.1 has requirement pycurl==7.19.0, but you'll have pycurl 7.43.0 which is incompatible.

pip install -U --pre pybuilder?

First, Sorry For being late..
i tried pip install -U --pre pybuilder but it still didn't work,
when i run the above command i got this,

palash@ash:~$ pip install -U --pre pybuilder
Collecting pybuilder

palash@ash:~$

then I cloned the GitHub repository locally and then installed it using python setup.py install and it worked fine.

I suspect the issue you have is a local environment, I can't observe this in any test.


Add components for opening / closing doors and door behavior preview

New feature implementation
Implemented feature
This PR builds on top of #138 and closes #76. The door behavior is currently more of a "teleport to destination" rather than smoothly open or close but doors can be commanded and their states read.
Screencast from 2023-06-23 15-36-37.webm
Implementation description
To avoid dependency on physics engines the transforms for door opening / closing are currently done manually.
A DoorComand and DoorState component have been added, they are mostly the same but while DoorCommand is only Open or Close, DoorState has an additional Moving variant.
Since doors effectively teleport right now this state is never reached, however all the infrastructure is in place to populate that once a door's transform is detected to be neither fully open nor fully closed.
There are some TODOs in place for better system ordering, had to hack around to avoid off-by-one-frame glitches, however since we will need to pretty much rewrite our whole state / system pipeline when migrating to bevy 0.10+ I didn't put too much effort into creating new stages and setting them up.
Ideally there would be a new Simulate stage separate from the others so animation systems don't conflict with other update systems (i.e. a system that opens a door + a system that moves the door because its anchors' positions changed).
I have a feeling the preview model should not live in interaction anymore and each site module should manage its own preview, but I didn't do the refactor here to avoid making the diff explode with physical camera preview changes.

Closing for now, this might be implemented following a different architecture / pattern.


CopyWebpackPlugin files not getting injected in __WB_MANIFEST

Hi. I'm having an issue where the files getting copied to my output directory using CopyWebpackPlugin is not getting injected in the __WB_MANIFEST. My WebPack config is rather large, and there's a lot of things going on there, so I'd rather not paste it here. But please let me know if you need me to create a working example, or if I'm doing something wrong and this is not a bug. Here is an excerpt of my config file:
            new CopyWebpackPlugin(...),
            new InjectManifest({
                swSrc: "./src/service-worker.ts",
                dontCacheBustURLsMatching: /\.[0-9a-f]{20}\.(js|css)$/
            })

service-worker.ts:
import { precacheAndRoute } from 'workbox-precaching/precacheAndRoute';

precacheAndRoute((self as any).__WB_MANIFEST);

Using "workbox-webpack-plugin": "^5.1.2"
All other files are injected properly, just not the ones from CopyWebpackPlugin.
Kind regards, Emil Müller

Apologies—this is because the literal characters self.__WB_MANIFEST are used as the replacement target, and that's not present in your  src/service-worker.ts file  (you have (self as any).__WB_MANIFEST).
Workbox should handle the necessary TypeScript typing for you via
https://github.com/GoogleChrome/workbox/blob/0f2ffda5537f13b4464ad60fc2a10838b3139f09/packages/workbox-precaching/src/precacheAndRoute.ts#L15-L19
(Or maybe you can get away with just adding declare let self: ServiceWorkerGlobalScope; at the top of your file if needed. I'm not 100% sure how TypeScript infers what self is.)

thanks! :)


10 Minutes timeout isn't working? Still unlocked after 20+ minutes

Describe the bug
cspr.live still shows the wallet address after more than 10 minutes and even without interaction on the computer. It was idling for at least 20 minutes (untouched, wasn't even in the room).
I also had locks after less than 10 minutes. So somehow really needs to investigate this locking mechanism - it seems to be pretty flawed since quite some time now.
To Reproduce
No idea, sorry. I'm using Brave, latest version as of writing this, no Keplr extension but lots of open tabs and multiple Brave windows.
I just noticed it when I wanted to transfer between accounts.
Expected behavior
Proper locking of the vault after the specified time.
Screenshots
I think the above explanation is enough.
Additional context
N/A
Defect Type

[ ] Regression
[X] New (for me)
[ ] Escape

Hey @GuybrushX - is the issue that cspr.live's UI shows as if the Signer is unlocked? Because I think that's an issue on their side (it doesn't sync properly) the Signer will have locked if you check it.
I've attached a clip to see if this is what you experience (the first part is me showing what I would expect to happen on a demo app).
https://www.loom.com/share/4da8115019284a03b816e20a488981bb

I'm going to close this as it's not a bug on the Signer side - the extension timeout is working - it's the UI on the cspr.live side that is indicating the locked state incorrectly.


chore: Fix missspell in tfjob

What this PR does / why we need it:
Fix misspell in tfjob.
Which issue(s) this PR fixes (optional, in Fixes #<issue number>, #<issue number>, ... format, will close the issue(s) when PR gets merged):
Fixes #

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 26.693%

Totals

Change from base Build<PHONE_NUMBER>:
0.07%

Covered Lines:
1604

Relevant Lines:
6009

💛  - Coveralls


Get number of states

This PR refactors the max state counters to instead count the number of states. Therefore, we are able to correctly represent an empty automaton with the number of states in the whole automaton equal to 0, whereas previously, an empty automaton was not distinguishable from an automaton with a single state (with internal value of 0). That is, Nfa::max_state() would return 0 as a default value (size_t has not nullable representation). This resolves #132.
This PR only changes the counters and adds a method Nfa::states_number(). However, the change in counters created a chain reaction where the entire mata library imploded. Therefore, in order to fix all tests, I have proceeded to replace all uses of Nfa::Delta::post_size() with the new method Nfa::states_number(), which actually returns a valid current number of states in the whole automaton, as opposed to Nfa::Delta::post_size(). This resolves #127.
The PR is ready for reviews. I ask the reviewers to please review the code changes carefully. Many of the changes are debatable and based on my interpretation of what to allow the user to do and where to throw an exception, as agreed upon (somewhat) in our meetings. Furthermore, there might be places in the source code where I have forgotten to change the previous occurrence to Nfa::Delta::post_size() which the tests did not catch.
I am going to review the changes and look through the code again to see if I have missed anything. Do not merge until I give a review myself.
Additionally, resolves #137.

In order to replace uses of Nfa::Delta::post_size() inside functions for complementation, some deprecated functions for complementation were removed in commit 0285630. Therefore, this PR also resolves #137.

I don't see any obvious problem in the merge request. There are many changes and it is hard to check everything "by eye". We will see how things will work in future.

It looks that some conflicts have arised after merge of another PR.

@kilohsakul has already expressed his preferences in regard to the naming and semantics, so I would consider the PR reviewed as of now. How functional the PR is, that remains to be seen.
When you implement anything working with number of states, always try to think about whether to use Nfa::size() (for the number of all states in the automaton) or Delta::post_size() (for the number of allocated source states for transitions). Delta::post_size() should be used to iterate over a transition relation as there is no reason to iterate over all states in the automaton, which would allocate space in delta for all automaton states in the process.


ALZ deloyements-single deployments

Question/Feedback
need help in deploying hub and spoke architecture in single deployment with the help of modules. In stitch all of the modules together in a bicep file to create a single deployment.
help me to deploy all resources(AD, firewall, bastion, Log analytics etc..) under multiple subscription with modules in one go.
this is hub one:

Hey @ArthiSaravana,
Please review the MS Learn module here on guidance on how to achieve this with Bicep https://learn.microsoft.com/training/modules/create-composable-bicep-files-using-modules/?WT.mc_id=learnlive-20220405A%3FWT.mc_id%3Dlearnlive-20220405A

Hey jtracey93,
need help!! I have 2 modules stg1 and stg2 and 1 main file. I want to deploy the stg1 and stg2 in different subscription.
stg1 in sub1 and stg2 in sub2.
I have written code to deploy multiple stg in same subscription. but no idea how to deploy multiple storage accnt in different subscription in single deployment. if I get this idea I can proceed further on the single deployment with multiple resources.
code:
main:
targetScope = 'subscription'
param location string = 'australiaeast'
param resourceGroupNames array = [
'rg1'
'rg2'
]
resource rgs 'Microsoft.Resources/resourceGroups@2021-04-01' = [for resourceGroupName in resourceGroupNames: {
name: resourceGroupName
location: location
}]
module straccnt 'stg1.bicep' = {
name: 'resourceDeploy'
scope: resourceGroup('rg1')
params: {
storageaccountname: 'stgd302903987'
location: location
}
dependsOn: [
rgs
]
}
module stg 'stg2.bicep' = {
name: 'storagedeploy'
scope: resourceGroup('rg2')
params: {
stgName: 'stgd30290334'
location: location
}
dependsOn: [
rgs
]
}
stg1:
param  location string = resourceGroup().location
param stgName string =  'stgd302903987'
resource mystorageaccount 'Microsoft.Storage/storageAccounts@2021-02-01' = {
name: stgName
location: location
kind: 'StorageV2'
properties: {
accessTier: 'Hot'
}
sku: {
name: 'Standard_LRS'
}
}
stg2:
param  location string = resourceGroup().location
param storageaccountname string = 'stgd30290334'
resource mystorageaccount 'Microsoft.Storage/storageAccounts@2021-02-01' = {
name: storageaccountname
location: location
kind: 'StorageV2'
properties: {
accessTier: 'Hot'
}
sku: {
name: 'Standard_LRS'
}
}

Hey @ArthiSaravana,
For clarity, this repo is for ALZ Bicep. It is not a Bicep general support repo, that can be found over here: https://github.com/azure/bicep 👍
I think you need to read the usage of the resourceGroup() scope function as you can pass in a subscription ID as well as a resource group to target different resource groups in different subscriptions. e.g. resourceGroup(subscriptionId, resourceGroupName) from: https://learn.microsoft.com/azure/azure-resource-manager/bicep/bicep-functions-scope#resourcegroup
So i think adding the sub ID in the resourceGroup() function for one of your modules will solve your issues
Thanks
Jack


Zscan command gives issue

Hi,
I want to use 'ZSCAN' command but it throws the following.
Error:
Redis Error { [Error: ERR syntax error] command: 'ZSCAN', code: 'ERR' }
Code:
connection.zscan(key , 0 , {match : value + "*"} , function(err,data){
if(err){
console.log("Redis Error",err);
return err;
}else
cb(null,data);
});
Please guide me as to the proper usage of this. Thanks.

@vabnirvana The following should work:
client.zscan(key, 0, 'MATCH', value + '*', callback);

The object notation is only supported for HGETALL.

The result is ["0" , []] always empty array in all cases.

I just wrote a test for it and it works as it should for me. Please check your key or pattern to really match your entries.


AssertionError: Missing key while parsing

Getting this error when doing ios build, is it possible to run the eas build in verbose mode to see more about the error? [latest version of eas-cli to date]

//eas.json
{
  "builds": {
    "ios": {
      "release": {
        "schemeBuildConfiguration": "Release"
      },
      "development": {
        "schemeBuildConfiguration": "Debug",
        "distribution": "internal"
      }
    }
  }
}

//expo.plist
<plist version="1.0">
  <dict>
    <key>EXUpdatesReleaseChannel</key>
    <string>default</string>
    <key>EXUpdatesSDKVersion</key>
    <string>42.0.0</string>
    <key>EXUpdatesURL</key>
    <string>https://exp.host/@XXX/XXX</string>
    <key>EXUpdatesEnabled</key>
    <true/>
    <key>EXUpdatesCheckOnLaunch</key>
    <string>ALWAYS</string>
    <key>EXUpdatesLaunchWaitMs</key>
    <integer>30000</integer>
  </dict>
</plist>

//info.plist
<dict>
	<key>CFBundleDevelopmentRegion</key>
	<string>$(DEVELOPMENT_LANGUAGE)</string>
	<key>CFBundleExecutable</key>
	<string>$(EXECUTABLE_NAME)</string>
	<key>CFBundleIdentifier</key>
	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>$(PRODUCT_NAME)</string>
	<key>CFBundlePackageType</key>
	<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
	<key>CFBundleSignature</key>
	<string>????</string>
	<key>CFBundleShortVersionString</key>
	<string>1.0</string>
	<key>CFBundleVersion</key>
	<string>1</string>
	<key>LSRequiresIPhoneOS</key>
	<true/>
	<key>NSAppTransportSecurity</key>
	<dict>
		<key>NSAllowsArbitraryLoads</key>
		<true/>
		<key>NSExceptionDomains</key>
		<dict>
			<key>localhost</key>
			<dict>
				<key>NSExceptionAllowsInsecureHTTPLoads</key>
				<true/>
			</dict>
		</dict>
	</dict>
	<key>UILaunchStoryboardName</key>
	<string>SplashScreen</string>
	<key>UIRequiredDeviceCapabilities</key>
	<array>
		<string>armv7</string>
	</array>
	<key>UISupportedInterfaceOrientations</key>
	<array>
		<string>UIInterfaceOrientationPortrait</string>
		<string>UIInterfaceOrientationLandscapeLeft</string>
		<string>UIInterfaceOrientationLandscapeRight</string>
	</array>
	<key>UIViewControllerBasedStatusBarAppearance</key>
	<false/>
  <key>UIStatusBarStyle</key>
  <string>UIStatusBarStyleDefault</string>
  <key>NSUserTrackingUsageDescription</key>
  <string>This identifier will be used to deliver personalized ads to you.</string>
	<array>
		<dict>
			<key>SKAdNetworkIdentifier</key>
			<string>XXX.skadnetwork</string>
		</dict>
		<dict>
			<key>SKAdNetworkIdentifier</key>
			<string>XXX.skadnetwork</string>
		</dict>
	</array>
</dict>
</plist>

//snippet from app.json

    "ios": {
      "supportsTablet": false,
      "bundleIdentifier": "com.XXX.XXX",
      "infoPlist": {
        "NSLocationAlwaysAndWhenInUseUsageDescription": "XXX would like access to your location to allow you to checkin to venues.",
        "NSPhotoLibraryAddUsageDescription": "XXX would like to access your photo gallery to allow you to upload new profile images.",
        "NSPhotoLibraryUsageDescription": "XXX would like to access your photo gallery to allow you to upload new profile images.",
        "UIBackgroundModes": ["location", "fetch"]
      }
    },

in Info.plist

verbose mode to see more about the error

this error goes directly from the parser library, we can't really add any more information than the parser provides
in Info.plist

you don't have an opening plist tag(I assume that just the way it's copied)
array at the end should have key tag before

also worth noting -- eas build cannot build your project if it does not build locally. i'm guessing based on the plist error that @wkozyra95 pointed out from what you shared, your project will not build locally

Thanks @brentvatne @wkozyra95.
Build seems to be working on another project, so i suspect it is my issue.

we need to handle this in config plugins


Demo app.

Can you publish a demo application with source code?
Like chat application?

How I can change de localhost to my host IP?

Hello, @velegip
Most of the web socket package (Orchid/Beyondcode/Askedio/etc...) are based on ReactPHP / Ratchet.
Each of them has many examples in the network, the only difference will be in what is used in the place with or without them. For example https://www.sitepoint.com/how-to-quickly-build-a-chat-app-with-ratchet/
Essentially nothing changes. I have no plans to write a tutorial or something like that. But I will be glad if you do this.


Private Eval Datasets

One of the steps of the LLM competition will be adding some private eval datasets and I'm wondering if there are some known best practices to achieve this
What I had in mind right now was authoring a private fork of HELM and then running evals on that and then upstreaming my fork to core helm after the competition is over

There's a few options here, depending on where your data is. If only your data needs to be private and not your code, you could write a scenario that reads data files from a private S3 or GCS path, and then use AWS / GCS CLI login to allow helm-run to access your data on your machine only (while the rest of the world won't have access to it), and then you can make that path public after the competition is over. Or you could create a private Hugging Face dataset and use Hugging Face CLI login in the same way.
If your code also needs to be private, then a private fork of HELM would be the way to go.

I invited you to this private repo so you can see what we're planning so far https://github.com/llm-efficiency-challenge/datasets

Thanks, the datasets look good to me. I think it's best to write the new scenarios in a fork and upstream it later, since those scenarios look useful to general users. Let me know if you have other questions.


[Feature-13962][Plugin] Teradata data connector

Purpose of the pull request
This pull request adds data connector plugin for Teradata Vantage analytic database.
(This continues PR #13964 that I closed by accident, sorry. Conflicts are resolved)
close https://github.com/apache/dolphinscheduler/issues/13962
Brief change log

Added dolphinscheduler-datasource-teradata in dolphinscheduler-datasource-plugin and as a dependency in dolphinscheduler-datasource-plugin/pom.xml
Added Maven dependency on Teradata jdbc (v<IP_ADDRESS>) driver in dolphinscheduler-datasource-teradata/pom.xml
Added user_doc guides for Teradata data source.
Added Teradata as data source type in the ui
Added Teradata driver class, JDBC and validation query to the constants.
Added Teradata to the source types

Verify this pull request
This pull request is code cleanup without any test coverage.

Hi do you have any recommendation on how to move this one forward? The Dependency check fails on "CVSS score greater than 7" but it doesn't seem to relate to any package introduced in this branch.... Thanks

It seems you missing to add jdbc license https://github.com/apache/dolphinscheduler/actions/runs/4847977685/jobs/8706488762?pr=13988

BTW, front end conflict for dolphinscheduler-ui/pnpm-lock.yaml

@RemiTurpaud It seems we have some conflict file, could you solve the conflict?

I need Teradata to advise on the licensing strategy for the JDBC driver. I need to pause this feature for now.

I need Teradata to advise on the licensing strategy for the JDBC driver. I have to pause this feature for now and resume when I get guidance on how to proceed.
@zhongjiajie Is it OK to set it to draft? Or shall I close it and create a new one later?

draft is ok, and looking forward your come back with the permission

BTW, you can ping me if you have any further process

Hi @RemiTurpaud are we still WIP with license required process?

hi @RemiTurpaud Are we still license WIP?

hi @RemiTurpaud Are we still license WIP?

Hi @zhongjiajie, yes we are, and I do not have an estimate of the time it will take to compete, unfortunately...


Surface last-seen media

With v0.0.4, we added bird collections to the Media browser.
We also get thumbnail and photo info when a new postcard arrives (even if we haven't added it to a collection yet). Using this information we can download the latest postcard images as they arrive, and if we save it as a single filename, then its location can be predictable and could be surfaced with a local media URI.
As of v0.0.5, we do now have events and device triggers, so it is possible to do this now on your own, with an automation that calls download_file, using data_template to extract the URL from the event trigger (this is untested currently):
action:
  - service: downloader.download_file
    data_template:
      url: "{{ trigger.event.data.sighting.medias[0].contentUrl }}"
      subdir: "birdbuddy"
      filename: "last_postcard.jpg"
      overwrite: True

cc @Snille

Woho!! Thank you! :) I just got the "beta" option now! :)
Downloading and setting it up!
Happy new year!! :)

You are moving fast! Thank you. :)
I guess the above automation can be updated?
This is what I did (not tested yet)...
alias: Bird Buddy - Postcard
description: Bird Buddy is sending a postcard.
trigger:
  - platform: device
    device_id: <my id>
    domain: birdbuddy
    type: new_postcard
    feeder_id: <my id>
condition: []
action:
  - service: birdbuddy.collect_postcard
    data:
      strategy: best_guess
      best_guess_confidence: 10
      postcard: "{{ trigger.event.data.postcard }}"
      sighting: "{{ trigger.event.data.sighting }}"
  - service: downloader.download_file
    data:
      subdir: birdbuddy
      filename: last_postcard.jpg
      overwrite: true
mode: single

Not sure if the collect part is necessary?
Just wating for a bird to show... :)
Also, fyi, the "data_template" is only "data" now days in HA. :)

Also, fyi, the "data_template" is only "data" now days in HA. :)

Cool, good to know 👍

Not sure if the collect part is necessary?

The collect_postcard service would attempt to save the new postcard to the Bird Buddy Collections. If you don't do that part, then the new postcard not get moved to the Collections, so you would not be able to see the images in the Media Browser. If you prefer to leave that as a manual step however, you can continue to use the mobile app to open and collect postcards, and as long as you do it from the same email+pass user account as the integration, then anything you collect in the mobile app will appear in the HA Media collections as well (and vice versa).
The intent of the collect_postcard service is for people who do not want to have to go through the process of reviewing every new bird photo, accepting the recognized species, fixing the species, and so on.
I would recommend disabling the collect_postcard action for now, until you see how the postcard behavior works in the mobile app. If you find that you are often accepting the recognized species and don't have to make changes, and you find that process to be tedious, then you can reenable the service. But if you find that you enjoy the whimsy of opening the postcard in the app, or you find that you often have to manually select or fix the species in the app, then there's no need to use the service. You can still use the automation to download those last_postcard.jpg images, without affecting the postcard or sightings that you'll continue to be able to process in the app.

So, I was able to add a new "Recent Visitor" sensor, which has state=bird species, and entity_picture points to the BB media URL.  However, the picture-entity card does not seem to work the way I expected it should: there are only 2(3) ways to get an image to show in picture-entity:

image: $url points to a static URL
entity: camera.* point to a camera entity to show the camera still
camera_image: camera.* to show one entity in the card's footer, but pull the camera still from another entity

It does not seem possible to pull the image directly from the entity's entity_picture attribute (which is documented here).
I added some notes and screenshots in the community thread

For now I'm going to move forward with #16 which only adds the entity_picture thumbnail to the recent-visitor entity.
The good news is if you still want to use downloader to host the latest_visitor.jpg image, you will be able to drive your automation from changes to that entity's state, rather than having to hook into the new-postcard trigger. That's only a minor improvement, because new-postcard will only trigger with the next postcard, while the recent-visitor sensor is also going to attempt to load the latest collection/media on startup as well. The URL to download will be available as entity_picture.
There are definitely improvements that can be made, and I'm sure those will come.
The new attribute will be disabled by default (as many of them are).


Proper example of using apisauce with mobx

Hey all,
Is there anywhere proper example of apisauce implementation with mobx? I see you can put all API calls in to services/api/api.ts but that doesn't seem right. I'd like to have in every store let's say just different base url based on store I'm on (eg. /user, /posts, /comments). Should I call in every store like it's on example screen:
const api = new Api()
api.setup()

or is there better implementation?
Thanks

I don't have an example for you, but I would expect the API setup would go in the RootStore. @skellock or @robinheinze have any examples or suggestions?

I like to put the API in the environment of the RootStore. That way it is available to every store that attaches to it.
Chances are your API has one base URL. What I like to do is make type-safe wrappers for the endpoints as methods on an API service.
These methods become the functions which get called from your async actions in your store.
If you’re looking to fast track it without much structure, I’d consider skipping apisauce entirely and dropping fetch calls in your actions.
It all depends on what your building and your goals.

@skellock Can I ask you how do you access API from enviroment-variabbles after you setup the store?

@mkchx I called getEnv(self).api.getRepos() inside store.

@questionablequestion Thank you!


Bug - GCS - Signed URL doesn't work in App Engine

Signed URL seem to work only when a service account was provided.
It doesn't work when:

using gcloud Application Default Credential on local machine
when deployed in GAE Standard

Signing key was not provided and could not be derived

2018-07-14 21:20:30.285 ERROR [-,f5bce59075bfb85a7bcbbb60799142d1,b217fbcc91bee489,true] 1 --- [Request3FF4E602] o.s.c.s.i.web.ExceptionLoggingFilter     : Uncaught exception thrown

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalStateException: Signing key was not provided and could not be derived
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:982) ~[spring-webmvc-5.0.7.RELEASE.jar:5.0.7.RELEASE]
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:866) ~

...

 2018-07-14 21:20:30.288 ERROR [-,,,] 1 --- [Request3FF4E602] o.s.b.w.servlet.support.ErrorPageFilter  : Forwarding to error page from request [/redirect/22ed5fd4-87e4-485d-ab38-0df7e1e58d6d.jpg] due to exception [Signing key was not provided and could not be derived]

java.lang.IllegalStateException: Signing key was not provided and could not be derived
	at com.google.common.base.Preconditions.checkState(Preconditions.java:444) ~[guava-20.0.jar:na]
	at com.google.cloud.storage.StorageImpl.signUrl(StorageImpl.java:509) ~[google-cloud-storage-1.35.0.jar:1.35.0]
	at org.springframework.cloud.gcp.storage.GoogleStorageResource.createSignedUrl(GoogleStorageResource.java:183) ~[spring-cloud-gcp-storage-1.1.0.BUILD-SNAPSHOT.jar:1.1.0.BUILD-SNAPSHOT]
	at com.example.frontend.FrontendController.redirect(FrontendController.java:154) ~[classes/:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_112-google-v7]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_112-google-v7]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_112-google-v7]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_112-google-v7]
	at ...

@saturnism I can't repro this problem with gcloud default creds. Is this still an issue for you?

Closing because unable to reproduce it. Please re-open if the issue sill occurs.


Blocked by CORS Policy

Greetings,
Just in the last few days, we've run into issues running our Leaflet-based web portal @ https://hydromaintenance.nationalmap.gov/hmp which makes use of BootstrapCdn due to apparent CORS conflicts ...

We are using an older vintage of the library - but this is by necessity since it's a dependency of our Leaflet framework.  Here are our existing stylesheet linkages:
<!-- Load Bootstrap 3.3.7: Latest compiled and minified CSS (requires JQuery) -->
<link rel="stylesheet"
      href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
      integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
      crossorigin="anonymous">

<!-- Load Bootstrap 3.3.7: Optional theme (requires JQuery) -->
<link rel="stylesheet"
      href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css"
      integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp"
      crossorigin="anonymous">

<!-- Load Bootstrap 3.3.6: necessary somehow for styles to properly render; may want to reconsider
resetting original Bootstrap version to 3.3.6 -->
<link rel="stylesheet"
      href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
      integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
      crossorigin="anonymous">

Any assistance would be greatly appreciated!!!  This is an important website that we need to keep live to serve our partners.
Regards,
Brett
Dev Lead
USGS NGTOC

I have a feeling its not a CORS issue. Can you please try to open the file directly and see what you get?
https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css
Do it on the same computer the screenshot came from. Additionally please ping "maxcdn.bootstrapcdn.com" and tell me the IP address you get

It looks like I get a 504 error when I try to hit the CSS directly via Chrome.  Pinging the address gets me the following...

When I try to reach the address outside the VPN firewall, I can reach it successfully - but that doesn't help our website :P

I'm in contact with internal IT.  Hopefully this can be resolved with their assistance.

Can you actually traceroute it? And how does the 504 error look like?
Because I think it's a LAN issue on your side, maybe a firewall?

I think you're right.  Good thought on tracert.  I'm forwarding the issue to our IT.  Sorry for the trouble and thanks for the assist.


Prevent SQL injection

A cursory glance of your SQLite code shows that SQL injection is possible:
https://github.com/AlexanderJDupree/ChocAn/blob/4bf47e1c5c6a8c169b44b70f8d0f740df7392514/src/data/sqlite_db.cpp#L66
Since you are concatenating user data with the queries the input could contain malicious code. To avoid this, you should be using prepared statements.

Ah yes thank you! This is exactly what I was looking for. Im still working on the sqlite3 branch but will incorporate the changes.


Nice to have : animated icons

Snippet suggestion :
http://codepen.io/joshbader/pen/EjXgqr

Those are really nice and would be pretty easy for somebody to make work with simpleWeather.


Make sure that our implementation complies with the minimum requirements

Check that we comply with the minimum requirements stated here: https://github.com/fido-alliance/conformance-test-tools-resources/tree/main/docs/FDO/Pre-Interop#minimum-requirements

We have #108 and #175 around CBOR encoding/parsing so I'm not sure if they would affect the COSE piece of the requirements.


enable manager url change in config

can add a  property in piranha config section, to change from /manager to /whatever

Great! I've just been wrapping up the 2.2.6 release, I'll merge and include in the next version!

@tidyui great, sounds good! Thanks!


Proceed to Checkout redirecting to last step

Hello! It is a pleasure! I have a small question. Is there any reason why proceed to checkout redirect to the payment step even if there is no address and no default shipping method set. Shouldn't the customer be redirected to the shipping step first?
I tracked the code to
   target.steps.sort(this.sortItems).forEach(function (element) {                 if (element.code == hashString || element.alias == hashString) { //eslint-disable-line eqeqeq                     element.navigate(element);                 } else {                     element.isVisible(false);                 }             });
Visible element which is shipping step is set to false and hashString is equivalent to payment all the time. This looks like a bug to me please confirm. Can we just correct this by checking the current visible step and actually navigate to it instead of payment like this
   target.steps.sort(this.sortItems).forEach(function (element) {                 if (element.isVisible()) { //eslint-disable-line eqeqeq                     window.location = window.checkoutConfig.checkoutUrl + '#' + code;                     element.navigate(element);                 } else {                     element.isVisible(false);                 }             });
After this correction its then working properly. When customer is not logged in he is directed to email step when he is logged in he is redirected to the shipping step first and can add the address or choose shipping methods or another address and then proceed to the payment step.

We experience this issue with logged in customers. The are directed to the payment step and placing an order gives an error on the shipping address. This change fixes that issue.

confirming I have the same issue as this, and the patch
https://github.com/rikwillems/CleanCheckout/commits/1.7.1-patch1 works correctly

Patch introduces new issue, login results in being stuck on email step with all other steps invalidated.

check solution from https://github.com/danslo/CleanCheckoutTheme/issues/3
this resolves my issue.

Worked for me by the change in @goranhorvathr 's code.
window.location = window.checkoutConfig.checkoutUrl + '#' + element.code;

Hi all,
From what I understand of this this is all now resolved (both the original bug in this commit, and the introduced bug in this commit).
If this is incorrect please re-open the ticket (although at this point for clarity it would be better to open a new issue) with a M2 ver and replication steps


Issue Loading WebAssembly-based Web App

Description:
I am attempting to load a WebAssembly (WASM) based web application in a React Native WebView. However, I haven't found any documentation indicating whether this is supported or not, and if it is, what steps need to be taken to achieve this. I have found some documentation that .wasm files might be supported. My web application is designed with WASM for improved performance but includes a JavaScript (JS) fallback for environments that do not support WASM. When I load this site using the React Native WebView, it defaults to the JS version instead of the WASM version.
Problem:
Loading the site in the React Native WebView results in the JS version being loaded instead of the WASM version.
Steps to Reproduce:
Create a React Native project.
Integrate the react-native-webview library.
Attempt to load a web application that is built with WebAssembly but has a JS fallback.
Observe that the web application loads the JS version instead of the WASM version.
Expected Behavior:
The web application should load the WASM version in the React Native WebView to take advantage of the performance improvements.
Actual Behavior:
The web application defaults to the JS version when loaded in the React Native WebView.
Questions:
What steps do I need to follow to enable loading a WASM web application in the React Native WebView?
Is it possible to load the WASM version with the current underlying native code?
Are there any alternatives or workarounds to achieve this?
Environment:
React Native version: 0.74.2
React Native WebView version: 13.2.2
Example Web App: https://simple-crypto-test.web.app/

what's the status on this one? I'm having the exact same problem/question


File Error (installing)

os: Parrot OS 5.3
lsd --version: 1.0.0

When try to install the .deb lsd:
dpkg-deb --info lsd_1.0.0_amd64.deb
dpkg-deb: error: el archivo lsd_1.0.0_amd64.deb' contiene un miembro de datos control.tar.zst' ininteligible, abandono

I have the same issue here, on Debian 11.7:
$ sudo dpkg -i lsd_1.0.0_amd64.deb

dpkg-deb: error: archive 'lsd_1.0.0_amd64.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive lsd_1.0.0_amd64.deb (--install):
 dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
 lsd_1.0.0_amd64.deb

Seems related to Apt in Debian < 12 not supporting zstd: https://unix.stackexchange.com/questions/669004/zst-compression-not-supported-by-apt-dpkg

Same here.

Hi @marceldegraaf, thanks for the info, I searched from StackOverflow, and might found a solution, you could try to re-package it locally:
ar x lsd_1.0.0_amd64.deb # this is the only place to specify the lsd deb name
# Uncompress zstd files an re-compress them using xz
zstd -d < control.tar.zst | xz > control.tar.xz
zstd -d < data.tar.zst | xz > data.tar.xz
# Re-create the Debian package in /tmp/
ar -m -c -a sdsd ./lsd_1.0.0_local.deb debian-binary control.tar.xz data.tar.xz
# Clean up
rm debian-binary control.tar.xz data.tar.xz control.tar.zst data.tar.zst

and then install the lsd_1.0.0_local.deb
cc @rckgomz @an0mal1a

we use the latest ubuntu to do the package, it should be why zst is used to package deb.

fixed, will release in v1.1.0


Add new Xds IR TCP Listener per TLSRoute

had to also append the TLSRoute name to the listener to make it unique

Fixes: https://github.com/envoyproxy/gateway/issues/691
Signed-off-by: Arko Dasgupta<EMAIL_ADDRESS>

cc @chauhanshubham


sync --remove-unused should respect push.namespaces

When running sync --remove-unused I believe there currently is no way to configure from which namespaces keys are removed. In our case we have an API (with an api NS) and a CSR app (NS app) and syncing either one of those apps leads to the loss of keys from a NS that is managed by that app.
I think --remove-unused either needs a way to pass in which namespaces it affects, or it should respect the namesspaces setting in push.namespaces which would imo be preferred.
.tolgeerc
{
  "defaultNamespace": "app",
  "patterns": ["./src/**/*.ts?(x)", "./src/**/*.vue"],
  "push": {
    "forceMode": "OVERRIDE",
    "namespaces": ["app", "shared"]
  }
}

I think the CLI has all information at hand already, because compare does not only list messages which are up for deletion, but also their namespace.

Yes you are right, this is option is not currently available. However it was not intended to work this way and I'm not a fan of sharing of these options. The push and sync commands are quite a bit different.
I'm tagging this as enhancement, we can add this feature later.

I understand and thought so tbh. Thanks for the quick response.
Would you be willing to accept a PR for that? I could either explore the route using a CLI argument (which would probably the easiest) or introducing a new sync attribute on the config?
The latter could work similar to push I suppose:
{
  "sync": {
    "namespaces": ["app", "shared"]
  }
}

Can't promise anything but if you are open to a PR I would look into it to get a feeling how much time I'd have to spent ✌🏼

PR would be cool 🙂 I'm in favor having the option separately. The should be basically mapping the CLI options logic, so when it's a separate command, I would put it to separate section.


v3.5.29 critical bug: won't connect to local bot

v3.5.27 was all good then auto updated to v3.5.28 then a few minutes later to v3.5.29
The v3.5.29 cannot connect to local bot. Clicking the connect, nothing happened, like dead. No error messages or logging at all.

revert to v3.5.27 for the moment as that version was working without any problem.

Are you using ngrok? What URL are you using to connect to the bot? Are you using an MS App ID and password with the locally hosted bot?
Presumably you are (1) opening the emulator, (2) entering the URL and credentials (if any), and (3) pressing connect, right?
I've not experienced the issue you are reporting, but let's try to figure out what's going on here.

Not using ngrok. URL is http://localhost:3978/api/messages. Yes locally
hosted bot with blank MS App ID and password as this is allowed in v3.5.27
Yes 1 2 3, except in step 2, don't have to manually enter URL because it's
in the drop list.
On 10/05/2017 14:51, Jeff Derstadt wrote:
Are you using ngrok? What URL are you using to connect to the bot? Are you
using an MS App ID and password with the locally hosted bot?
Presumably you are (1) opening the emulator, (2) entering the URL and
credentials (if any), and (3) pressing connect, right?
I've not experienced the issue you are reporting, but let's try to figure
out what's going on here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BotFramework-Emulator/issues/187#issuecomment-300373115,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASdC6yrAu1ErwdX9raigpk5Kgm7WIdiks5r4UJZgaJpZM4NWJ6V
.

I've had a similar issue. I don't use ngrok and just connect with localhost (I do specify the app id and password, but this never seems to come through as expected so I also embed a separate id in the url to get round this issue). I'm seeing the requests coming through in node.js, but no responses appear in the emulator. I downgraded to v3.5.27 and it started working again.

Experiencing the same issue. All configuration is the same between the upgrade v3.5.27 to v3.5.29. Bots are built using v3.8.0/.1 of the botbuilder npm package.

FYI, it looks like the latest source has change,
May 10, 2017 at 2:08:46 PM PDT
b71cd1a Upgrading typescipt version to 2.2.2 to support latest DirectLine package
App running locally from built source at this commit doesn't have the issue.

Found a work-around: firing up fiddler resuscitates the emulator...

@beatgates That's in interesting piece of information, thanks. Is it still broken when fiddler isn't running?

Yes, it's still broken if fiddler isn't running.
Guess those people who can use this version are not behind a corporate
proxy/firewall or using a .Net bot? Still it doesn't make sense for the
emulator not connecting to local hosted NodeJS bot...
On 18/05/2017 14:50, Eric Anderson wrote:

@beatgates https://github.com/beatgates That's in interesting piece of
information, thanks. Is it still broken when fiddler isn't running?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BotFramework-Emulator/issues/187#issuecomment-302299726,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASdC7SfLWpgTYwGFDNXaz-Sl6dLig9xks5r684CgaJpZM4NWJ6V.

Yes, that matches my experience. The emulator auto-updated back to 3.5.29, but because I was working from home it started working again. Back in today (behind the proxy/firewall) and it stopped working.

See my comment above. FWIW the emulator works for me when built from the latest master source.
Could this be the reason?
May 10, 2017 at 2:08:46 PM PDT
b71cd1a Upgrading typescipt version to 2.2.2 to support latest DirectLine package

Having the same issue behind a corporate proxy with 3.5.29, version 3.5.27 is working. Haven´t and wont try with Fiddler. Disabling the local machine firewall and antivirus protection doesn't change anything. Although my network is still behind a perimeter firewall, but that shouldn't be a problem unless the emulator is trying to connect to the internet.

@MarcoScabbiolo would you be willing to build the emulator locally from source? If you can repro with a local build, then I can push code changes to you until we've solved the problem. The difficulty here is we don't have a local repro.

@eanders-MS Totally understand that, next week I might have some time to do a local debug and in the best case scenario make the pull-request. I'll let you know.

I'm not surprised to see the issue is a failure in the connection to the service, I've been able to catch the error in DirectLine, method DirectLine.prototype.startConversation, but it's a generic connection failure. Perhaps we should move this to BotFramework-DirectLineJS? I'm pretty sure the connection is failing because the application is not handling the proxy server properly, but it's a guess, I couldn't prove this yet.

So here is what's going on:
DirectLine internally makes a call to http://<IP_ADDRESS>:57142/v3/directline/conversations which fails if, for example, you're behind a corporate proxy. No visual feedback is shown in the application when this error occurs. These are the error details:
{
   "message":"ajax error 503",
   "xhr":{

   },
   "request":{
      "async":true,
      "crossDomain":false,
      "withCredentials":false,
      "headers":{
         "Accept":"application/json",
         "Authorization":"Bearer eiik9jn9mijfmkem7c",
         "X-Requested-With":"XMLHttpRequest"
      },
      "method":"POST",
      "responseType":"json",
      "timeout":20000,
      "url":"http://<IP_ADDRESS>:57142/v3/directline/conversations"
   },
   "status":503
}

I've managed to solve the problem by bypassing the proxy for addresses to the IP 127.0.01. To reproduce
the error you could block requests to that IP.

Closing as stale.


'sed' is not recognized

SDK version: 2.108
when I run ./build.bat app in windows 10 powershell, the output is
GPRS_C_SDK> .\build.bat app
CSDTK PATH: F:\GPRS_C_SDK
'sed' is not recognized as an internal or external command,
operable program or batch file.
'sed' is not recognized as an internal or external command,
operable program or batch file.
build folder exist
number of processors: 4
Can anybody help me with installation, please?

According to this section https://ai-thinker-open.github.io/GPRS_C_SDK_DOC/en/c-sdk/installation.html#installation double check that you have run as administrator this file config_env_admin.bat. It is better to restart your windows to make changes effective.
Also check in your Windows path if it is pointed to the CSDTK4.2 folder. I believe you can run this command inside power shell to get you environment path : echo %PATH%

Thank you, after the restart, It worked, thank you 👍 💯


clear DBs

This is for issue https://github.com/GoogleCloudPlatform/forseti-security/issues/438
It lets the user add a flag to drop all DB tables from previous inventory runs before running the current one. Like this:
forseti_inventory -clear_previous
Redone to change the Git email so the CLA will be signed.

Thanks for submitting this PR!  But before we accept it, can we have a discussion first for all the possible use cases, so that we have a coherent way for purging the tables?  Since this is the start of a long weekend, will follow-up with you next week.  Thanks again!

Ok sure, sounds good.

@angelomellos I was starting to look into an approach for this as well, I am wondering instead of deleting every single table in the database, should we allow a retention time interval and base the deletes on a query of snapshot_cycles table.  Do you think that would meet your needs?  I was going to start to work my own branch/PR, maybe we can reconcile them?

@angelomellos, there is a proposal by @victorvess to handle this in a more flexible and comprehensive way in issue #438 .  Can you please take a look?

Sounds like a good idea to me.

@angelomellos, PR #1129 has been merged and will cover your use case here, i.e. use retention_days = 0  So, I am going to close out this PR.  Thanks for motivating the work here!


add more build constants that are API

These represent the current state of API annotations from builds.

/lgtm


Update circe-core, circe-generic, ... to 0.14.6

About this PR
📦 Updates

io.circe:circe-core
io.circe:circe-generic
io.circe:circe-parser

from 0.12.3 to 0.14.6
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.circe" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.circe" }
}]

labels: library-update, early-semver-major, semver-spec-minor, version-scheme:early-semver, commit-count:1

Superseded by #321.

Superseded by #328.


Update keyfilestore to use passwordRetriever

Will allow us to have a callback for password protection of all signing keys.
CC @diogomonica @aaronlehmann
Signed-off-by: Nathan McCauley<EMAIL_ADDRESS>

Looks like we would not be able to merge this PR because of merge conflicts. Please rebase, fix conflicts, and force push to your branch.

The import/export changes look correct to me, but I want to make sure everyone's onboard with the UX implications:

When we export all keys, we'll prompt for new passwords and encrypt the exported keys with those passwords. When we import keys, we'll import them in the form they were exported, so they'll use the passphrases that were entered at export time. Does this makes sense? The asymmetry seems a little weird to me, but on the other hand, it would be awkward to change the passwords twice when exporting the keys from one repo and importing them into another repo.

Unlike the bulk import/export functions to export/import a single root key don't reencrypt it. Its passphrase would be preserved through the export/import process. Do we want to change the root key functions so they behave the same was as the other functions?

@aaronlehmann in regards to your first bullet point, I think this is the right way to do it. It makes it much simpler to deploy keys to servers as they are now just files dropped in place, there is no command that needs to be run.
I think it would be good to enable root keys to be encrypted with a different password but I don't consider it critical. We can add an issue to do that and it can come as a feature at some later point.

Looks like we would not be able to merge this PR because of merge conflicts. Please rebase, fix conflicts, and force push to your branch.

@aaronlehmann we can land UX changes for import/export after freeze, we need this callback for docker integration

I noticed that the cmd/notary-server/config.json change got merged along with this. Does that need to be reverted?


Graph segment disappears on mouse hover in Safari

Explanation
*This bug only appears on Safari, on Chrome the behavior is normal as expected.

What is the behavior you expect?
When the mouse is hovered over a graph segment, its respective tooltip should appear and the segment's color should darken slightly.

What is happening instead?
The tooltip appears but the segment completely disappears (turns white) instead of just slightly darkening.

What error message are you getting?
No error message.

I'm having similar issues in safari where series are not being rendered correctly.
Any news on this?

Same issue here, did u figured out of this bug ?

I am unable to reproduce it in the latest version - 3.19.3
Can you please specify which version of Safari you're using? (Also, please test in the latest ApexCharts release)


Fix Windows line ending issues

resolves #5

LGTM, should we have @kellyseldon or other Windows running contrib to test?

sure couldn't hurt if someone on Windows would verify, although I'm pretty confident about these changes as they're basically just copied from ember-cli

@rwjblue AppVeyor is green :shipit:

@homi r+

@homu r+

Grrrr

:+1:

:+1: better late than never!


Dropdown and menuitems width doesn't gets synced after window resize

Duplicates

[X] I have searched the existing issues

Related page
https://mui.com/material-ui/react-select/
Kind of issue
Broken demonstration
Issue description
I want to have a dropdown and its menuitems width size to by synced. If I open a dropdown and resize my window, the dropdown gets resized but all the menuitems in it doesn't gets resized.
import * as React from 'react';
import InputLabel from '@mui/material/InputLabel';
import MenuItem from '@mui/material/MenuItem';
import FormControl from '@mui/material/FormControl';
import Select, { SelectChangeEvent } from '@mui/material/Select';

export default function SelectVariants() {
  const [age, setAge] = React.useState('');

  const handleChange = (event: SelectChangeEvent) => {
    setAge(event.target.value);
  };

  return (

      <FormControl variant="standard" sx={{ m: 1, width: '100%' }}>
        <InputLabel id="demo-simple-select-standard-label">Age</InputLabel>
        <Select
          labelId="demo-simple-select-standard-label"
          id="demo-simple-select-standard"
          value={age}
          onChange={handleChange}
          label="Age"
        >
          <MenuItem value="" sx={{ m: 1, width: '100%' }}>
            None
          </MenuItem>
          <MenuItem value={10}>Ten</MenuItem>
          <MenuItem value={20}>Twenty</MenuItem>
          <MenuItem value={30}>Thirty</MenuItem>
        </Select>
      </FormControl>

  );
}

Context 🔦

You would need to apply the same style override for the Paper component too, here is a sandbox of how you can do it: https://codesandbox.io/s/winter-worker-zi75yc?file=/src/App.js


Markdown preview issues

The issue
Markdown preview  is not accurate on the description field component :

[ ]  Dark theme shows wrong text and background colors.
[ ] Internal links open a second window (instance of the app)

System Configuration

App
0.32.2

Daemon (lbrynet)
0.37.1

Platform
Linux (Linux-4.15.0-48-generic-x86_64-with-debian-stretch-sid)

Is this going to be fixed with 2521?

@seanyesmunt Styles fixed on https://github.com/lbryio/lbry-desktop/pull/2521/commits/ad3689c84dd50f0b75c73422b6dfbccaf8e21916
We can't use connected components on the previewRender function

Markdown should be stripped in the meta "description" tag so previews read correctly


Add np.vsplit, np.hsplit, and np.dsplit

Adding implementations of np.vsplit,  np.hsplit, and np.dsplit to Numba, as requested in issue https://github.com/numba/numba/issues/4074. Note that these are special cases of the np.split function.

Hi @guilhermeleobas, thank you for your requests. I have addressed them in my last commits.

(Note: the build fail is just a flake8 issue)


chore: move sentry token to netlify

scope of the token is project:releases and org:read as required at
https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/main/packages/webpack-plugin/README_TEMPLATE.md#example
this is a user auth token https://docs.sentry.io/api/auth/#user-authentication-tokens
token can be revoked at
https://scroll-zkp.sentry.io/settings/account/api/auth-tokens/
Signed-off-by: yqrashawn<EMAIL_ADDRESS>

@yqrashawn when/how is a release created in sentry that requires admin permission? it should not be done using a sentry admin key in netlify 'secrets' that gets injected into the frontends bundle as all such 'secrets' are (and must be) public anyway - in this case, the REACT_APP_SENTRY_AUTH_TOKEN key is bundled and visible publicly here (as linked in the preview deploy code): https://d33wubrfki0l68.cloudfront.net/js/15004653e8de3626e1147c484e27c6e89843d9d8/static/js/main.2b8c9525.js (just CMD+F it).
Instead, ideally, we'd use a worker (either netlify function or gh action or similar) to create a sentry release - if needed at all.
And separately from that, for the event data influx, a restricted, non-admin influx key should be created and it must then be accessible to the frontends. So, in the interest of transparency of what's public and what isn't, we should remove that non-admin influx key from netlify 'secrets' and instead put it into this repo as part of the public env config (netlify.toml) – and not pretend it's secret.
Does that make sense?
FYI also @Holybasil @zzq0826

@OrestTa updated the code
turns out it's create react app not @sentry/webpack-plugin put that env into the bundle
any env starts with REACT_APP will be put into the finally bundle
I generate a new token and changes the env in Netlify to SENTRY_AUTH_TOKEN which will be read by @sentry/webpack-plugin by default
It's not in the bundle now


Request money - App reopens request details page after saving description

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: Y
Reproducible in staging?: N
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Issue found when executing PR https://github.com/Expensify/App/pull/35137
Action Performed:

Launch New Expensify app
Go to FAB > Request money
Create a manual request from any person
Navigate to request details view
Tap Description
Enter or edit the description and save it
Return to previous page using device back navigation

Expected Result:
In Step 6, the request details page will not reopen
In Step 7, app returns to IOU report
Actual Result:
In Step 6, the request details page reopens
In Step 7, app returns to the same request details page
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/239e7799-8129-4fcd-b176-195ef3cc5bad
View all open jobs on GitHub

We think that this bug might be related to #vip-split-p2p-chat-groups

@deetergp @s77rt any chance you can look into this one. It sounds possibly related to the PR linked here.

I confirm it's caused by that PR. This may not be a deploy blocker as the bug is already on production effecting other pages e.g. the receipt page.
https://github.com/Expensify/App/assets/16493223/f83ff4fa-c98e-4d98-a251-231681983c34
https://github.com/Expensify/App/blob/49886befa033ea0f81bcc9d39733006878141ca3/src/libs/Navigation/Navigation.ts#L214-L217

cc @DylanDylann

Reproduced  on iOS staging v1.4.39-0.
https://github.com/Expensify/App/assets/6833644/c19b97ba-e2aa-49c8-9299-f909b2b54abd

No reproduction on iOS prod v1.4.38-6
https://github.com/Expensify/App/assets/6833644/1e01d2c5-f24b-4fd4-bb1f-1c117fe39c0e

Confirmed reverting https://github.com/Expensify/App/pull/35137 fixes the issue. Posting a revert PR...

Fixed by https://github.com/Expensify/App/pull/36287 & https://github.com/Expensify/App/pull/36329

I think this is all set


[Parse] Move standalone_dollar_identifier diagnosis to Parser.

The compiler can't make up its mind as to whether $ is an identifier:
$ echo 'operator $' | swiftc -
<stdin>:1:10: error: '$' is not an identifier; use backticks to escape it
operator $
         ^
         `$`
<stdin>:1:10: error: '$' is considered an identifier and must not appear within an operator name
operator $
         ^

The first error should probably not be emitted in this context.
This PR moves dollar identifier diagnosis to Parser, and fixes the diagnosis for identifier_within_operator_name.
This is my first time committing to Swift repository, so if there are any issues, I'd appreciate any feedbacks! :)

Resolves SR-13092.

Thank you @rintaro! I resolved all your comments.

Very small request: could you add "Resolves SR-13092." to the commit message and "// SR-13092" next to the test case you added? That would be helpful information in case anyone looks at the change in the future.

@varungandhi-apple Done! :)

@swift-ci please smoke test

@swift-ci Please smoke test Linux

Fixed the comment! :) I'm not sure why the Linux test wasn't passing..

@swift-ci please smoke test

@swift-ci Please smoke test

Thank you Minhyuk!


Fails to create task if a field contains a calculated variable such as @CurrentIteration

If the pre-defined template task has a field which uses @CurrentIteration as it's value, the task is not created.  When you remove that assignment to a static value or remove alltogether, the 1-click works as expected.
to recreate:

create template task with title and save
open a User Story and use 1-click to add task
once it finishes, delete task and save.
modify template task and add field Iteration with @CurrentIteration as default and save
2 open User Story and use 1-click to add task.

Result, no task is added.
go back to template and either remove or make that field static and save
go back to User Story and 1-click works.
Great plugin, I really appreciate it!

@CurrentIteration is not supported


⬆ Upgrade jdk to 17

:thinking:
Trying to resolve the latest version from remote
  Resolved latest version as 11.0.20+101
  Trying to download...
  Downloading Java 11.0.20+101 (Adopt-Hotspot) from https://github.com/adoptium/temurin11-binaries/releases/download/jdk-<IP_ADDRESS>%2B1/OpenJDK11U-jdk_x64_linux_hotspot_<IP_ADDRESS>_1.tar.gz ...
  Extracting Java archive...
  /usr/bin/tar xz --warning=no-unknown-keyword -C /home/runner/work/_temp/4227e04c-6adc-4664-a461-51fbd7d60489 -f /home/runner/work/_temp/b604dbce-441a-4c98-a86b-7954[19](https://github.com/tnb-software/TNB/actions/runs/6178158632/job/16779757148#step:3:20)3811b3
  Java 11.0.[20](https://github.com/tnb-software/TNB/actions/runs/6178158632/job/16779757148#step:3:21)+101 was downloaded
  Setting Java 11.0.20+101 as the default
  Creating toolchains.xml for JDK version 11 from adopt
  Writing to /home/runner/.m2/toolchains.xml

  Java configuration:
    Distribution: adopt
    Version: 11.0.20+101
    Path: /opt/hostedtoolcache/Java_Adopt_jdk/11.0.20-101/x64

🤔
Trying to resolve the latest version from remote
  Resolved latest version as 11.0.20+101
  Trying to download...
  Downloading Java 11.0.20+101 (Adopt-Hotspot) from https://github.com/adoptium/temurin11-binaries/releases/download/jdk-<IP_ADDRESS>%2B1/OpenJDK11U-jdk_x64_linux_hotspot_<IP_ADDRESS>_1.tar.gz ...
  Extracting Java archive...
  /usr/bin/tar xz --warning=no-unknown-keyword -C /home/runner/work/_temp/4227e04c-6adc-4664-a461-51fbd7d60489 -f /home/runner/work/_temp/b604dbce-441a-4c98-a86b-7954[19](https://github.com/tnb-software/TNB/actions/runs/6178158632/job/16779757148#step:3:20)3811b3
  Java 11.0.[20](https://github.com/tnb-software/TNB/actions/runs/6178158632/job/16779757148#step:3:21)+101 was downloaded
  Setting Java 11.0.20+101 as the default
  Creating toolchains.xml for JDK version 11 from adopt
  Writing to /home/runner/.m2/toolchains.xml

  Java configuration:
    Distribution: adopt
    Version: 11.0.20+101
    Path: /opt/hostedtoolcache/Java_Adopt_jdk/11.0.20-101/x64

does it still take the actions from main until the changes are merged?

this making me crazy, I don't know why it is still using jdk11 even if the workflow file is set with jdk17, any idea @avano ? moreover all the other changes use jdk 17 as expected

this making me crazy, I don't know why it is still using jdk11 even if the workflow file is set with jdk17, any idea @avano ? moreover all the other changes use jdk 17 as expected. I think because the event is pull_request_target instead of pull_request, I try to modify the workflow

yeah, that should be the case: https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/
instead of running against the workflow and code from the merge commit, the event runs against the workflow and code from the base of the pull request


feat(cicero-cli): add --data option to initilize, invoke and trigger commands

Signed-off-by: Martin Halford<EMAIL_ADDRESS>Closes #681
Changes

Added --data flag and logic to trigger command.
Added/fixed tests for --data flag
Added --data flags to initialise and invoke commands, for consistency.
Added/fixed tests for --data flag for initialise and invoke commands too.

Flags

Should be backward compatible with previous use cases, as new --data flag is optional.
Have removed mandatory requirement for --sample flag and sample.md.
Now checks that either sample or data exists. At least one must be specified.
If neither exists then throws exception.

Example Usage
cicero trigger --template ./hello-world --data ./hello-world/data.json
cicero initialize  --template ./hello-world --data ./hello-world/data.json
cicero invoke  --template ./hello-world --clauseName default --params ./hello-world/params.json --state ./hello-world/state.json --data ./hello-world/data.json

Note
Some significant changes to the validateInvokeArgs, validateTriggerArgs & validateInitializeArgs to handle the scenario where either the--sample option is provided --OR-- the --data option is provided.

Coverage increased (+0.2%) to 97.035% when pulling 8624ce44957ea765b450481e263bf8275b51403d on martinhalford:add-data-option into 01f5393dd3075512d688844773f7a3b871062135 on accordproject:master.


Fix invoke command

Don't have to check the balance of cosiginers.
@cloud8little plz, have a check.

Yes, we only need the sender's balance

@cloud8little Could you retest your contract: https://github.com/neo-project/neo-node/issues/614

Test passed.

It also needs to be modified😀:
https://github.com/neo-project/neo-node/blob/master/neo-cli/CLI/MainService.cs#L483


Convert hardcoded strings to lazy translated strings

https://docs.djangoproject.com/en/5.1/topics/i18n/translation/

Hi @sainak  if he is not working can I be assigned this task?

@sainak
Can u assign me this??

Where are the hardcoded strings in codebase to convert them to lazy?

@sainak @vigneshhari
I have written an external script which will convert the strings in help_text , verbose_name , validation errors and strings in dictionary formats to lazy transaltions
Should i raise a PR to review the script before running on codebase?

Bro it was assigned to me
@shauryag2002


Amoswap

depends on https://github.com/bespoke-silicon-group/bsg_manycore/pull/209
depends on https://github.com/bespoke-silicon-group/basejump_stl/pull/196
updates mcl <-> axil interface to work with refactored Manycore network packets

This is not ready yet.


test: attempt to constrain golangci-lint memory use

Attempt to constrain golangci-lint memory use via various means.

Nope, we no longer need this in any form, closing this PR.


Dev Test: Faraday's Law 1.4.0-dev.65

@KatieWoe and @emily-phet - faradays-law/1.4.0-dev.65 is ready for dev testing. This test is being done in an effort to find major issues prior to starting the RC process.  Since the last major release of this simulation, sound, keyboard navigation, zoom & pan, and keyboard help have been added, and the ability to hide and show the voltmeter has been added (the voltmeter is now initially invisible).  Description has not been finalized, so screen readers should not be tested.
https://github.com/phetsims/faradays-law/issues
Please look for any major issues that should be addressed prior to republication.
Assigning @ariel-phet for prioritization.

General Dev Test

What to Test

Click every single button.
If there is sound, make sure it works.
Make sure you can't lose anything.
Play with the sim normally.
Try to break the sim.
Try to include browser version numbers
If there is a console available, check for errors and include them in the Problem Description.
Run through the string tests on at least one platform, especially if it is about to go to rc.
Check the Game Up harness on one platform.

Focus and Special Instructions
[Provide further instructions here. If you have any further tests you want done or specific platforms you want tested,
list them here. Any behaviors you want QA to pay special attention to should be listed here.]

General Dev Test Platforms

[x] Latest macOS, Chrome and Safari
[x] Latest iOS, Safari
[x] Windows 10, all browsers (IE dropped)
[x] Latest Chrome OS, Chrome

Issues to Verify

[x] Implement sound design

These issues should have either use the labels "status:ready-for-qa" or "status:ready-for-review." If it is ready for
QA then close the issue if fixed. If ready for review then leave open and assign back to the developer.

Link(s)

Simulation

Accessibility (a11y) Dev Test

What to Test

Specific instructions can be found below.
Make sure the a11y feature testing doesn't negatively affect the sim in any way.
Load the a11y view and make sure that interacting with all elements in the simulation updates the appropriate
descriptions in the PDOM.

Focus and Special Instructions
Test keyboard nav.

Issues to Verify

[x] Add keyboard help dialog
[x] Add alternative input to this sim

These issues should have either use the labels "status:ready-for-qa" or "status:ready-for-review." If it is ready for
QA then close the issue if fixed. If ready for review then leave open and assign back to the developer.

Link(s)

a11y View
Simulation

Keyboard Navigation
This sim supports keyboard navigation. Please make sure it works as intended on all platforms by itself and with a
screen reader.
Magnification
This sim supports magnification with pinch and drag gestures on touch screens, keyboard shortcuts, and mouse/wheel controls. Please test magnfication and make sure
it is working as intended and well with the use cases of the simulation. Due to the way screen readers handle user input, magnification is NOT expected to
work while using a screen reader so there is no need to test this case.

FAQs for QA Members

There are multiple tests in this issue... Which test should I do first?
Test in order! Test the first thing first, the second thing second, and so on.

How should I format my issue?

We typically assign the developer who opened the issue in the QA repository.

My question isn't in here... What should I do?
You should:

Consult the QA Book.
Google it.
Ask Katie.
Ask a developer.
Google it again.
Cry.

QA is done

Thanks QA team.  I'll address the individual issues separately.  Closing.


Add more media praise

https://return.life/2022/03/07/space-station-13-the-stone-soup-video-game/
you don't have to add this one i just found it extremely funny

linted