Publish this plugin on NPM

Change plugin id to cordova-plugin-twilio-client
publish to npm
Map plugin id with pull request on https://github.com/stevengill/cordova-registry-mapper

@jefflinwood Any movement on this? My team is trying to get this to work in a project in Phonegap Build so we need it in npm as soon as possible. If you can't get to this soon, would you mind if we do it?

@bsommardahl Go ahead and do it!
I haven't looked into this since flagging the issue.

@bsommardahl where you able to publish this to npm? I would love to take advantage of it, I too am using phongegap build. Please let me know ASAP. Thanks.

@jefflinwood, do you know if this was ever done?

I think our team found a workaround so we didn't have to dev anything.
Sorry.
On Wed, Feb 3, 2016 at 2:50 PM ikennah<EMAIL_ADDRESS>wrote:

@bsommardahl https://github.com/bsommardahl where you able to publish
this to npm? I would love to take advantage of it, I too am using phongegap
build. Please let me know ASAP. Thanks.
—
Reply to this email directly or view it on GitHub
https://github.com/jefflinwood/twilio_client_phonegap/issues/37#issuecomment-179458500
.

--
Byron Sommardahl
CTO, Co-Owner
Acklen Avenue | www.acklenavenue.com |<PHONE_NUMBER>
632 Fogg Street Suite 8, Nashville, TN 37212
Acklen Avenue is a custom software development company committed
to creating quality software that people love to use.

Are you able to share the workaround?
On Feb 3, 2016 6:22 PM, "Byron Sommardahl"<EMAIL_ADDRESS>wrote:

I think our team found a workaround so we didn't have to dev anything.
Sorry.
On Wed, Feb 3, 2016 at 2:50 PM ikennah<EMAIL_ADDRESS>wrote:

@bsommardahl https://github.com/bsommardahl where you able to publish
this to npm? I would love to take advantage of it, I too am using
phongegap
build. Please let me know ASAP. Thanks.
—
Reply to this email directly or view it on GitHub
<
https://github.com/jefflinwood/twilio_client_phonegap/issues/37#issuecomment-179458500
.

--
Byron Sommardahl
CTO, Co-Owner
Acklen Avenue | www.acklenavenue.com |<PHONE_NUMBER>
632 Fogg Street Suite 8, Nashville, TN 37212
Acklen Avenue is a custom software development company committed
to creating quality software that people love to use.
—
Reply to this email directly or view it on GitHub
https://github.com/jefflinwood/twilio_client_phonegap/issues/37#issuecomment-179526370
.

I believe it involved manual builds on a dev machine. Not ideal but we
finished the project.
On Wed, Feb 3, 2016 at 8:02 PM ikennah<EMAIL_ADDRESS>wrote:

Are you able to share the workaround?
On Feb 3, 2016 6:22 PM, "Byron Sommardahl"<EMAIL_ADDRESS>wrote:

I think our team found a workaround so we didn't have to dev anything.
Sorry.
On Wed, Feb 3, 2016 at 2:50 PM ikennah<EMAIL_ADDRESS>wrote:

@bsommardahl https://github.com/bsommardahl where you able to
publish
this to npm? I would love to take advantage of it, I too am using
phongegap
build. Please let me know ASAP. Thanks.
—
Reply to this email directly or view it on GitHub
<

https://github.com/jefflinwood/twilio_client_phonegap/issues/37#issuecomment-179458500

.

--
Byron Sommardahl
CTO, Co-Owner
Acklen Avenue | www.acklenavenue.com |<PHONE_NUMBER>
632 Fogg Street Suite 8, Nashville, TN 37212
Acklen Avenue is a custom software development company committed
to creating quality software that people love to use.
—
Reply to this email directly or view it on GitHub
<
https://github.com/jefflinwood/twilio_client_phonegap/issues/37#issuecomment-179526370
.

—
Reply to this email directly or view it on GitHub
https://github.com/jefflinwood/twilio_client_phonegap/issues/37#issuecomment-179574559
.

--
Byron Sommardahl
CTO, Co-Owner
Acklen Avenue | www.acklenavenue.com |<PHONE_NUMBER>
632 Fogg Street Suite 8, Nashville, TN 37212
Acklen Avenue is a custom software development company committed
to creating quality software that people love to use.

@jefflinwood do you mind if I work on this, if so, it seems like the current plugin id/namespace is reserved.

Hi,
Not at all, please do!
You'll need to change the cordova plugin id, I believe.

cordova plugin add twilio-client-phonegap-plugin


Upgrade supported Linux and ROS versions to 18.04 / melodic

Time to update supported versions...

To minimize the multiple branches, I suggest we first merge the dev branch into master, as Ilya suggested. What do others think?

Yes, I would agree this should happen after that step
From: Jeff Thompson<EMAIL_ADDRESS>Reply-To: OpenPTrack/open_ptrack_v2<EMAIL_ADDRESS>Date: Monday, July 15, 2019 at 12:43 PM
To: OpenPTrack/open_ptrack_v2<EMAIL_ADDRESS>Cc: Jeff Burke<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [OpenPTrack/open_ptrack_v2] Upgrade supported Linux and ROS versions to 18.04 / melodic (#72)
To minimize the multiple branches, I suggest we first merge the dev branch into master, as Ilya suggested. What do others think?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/OpenPTrack/open_ptrack_v2/issues/72?email_source=notifications&email_token=AADFGR6BLBQVATXGOFLVJULP7THN5A5CNFSM4ID2DXF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ6YFMA#issuecomment-511541936, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AADFGRYRF5WQNTBJZMSORFLP7THN5ANCNFSM4ID2DXFQ.

I agree with merging the dev branch into the Master.
I do not recall any outstanding issues that would prevent this apart from ensuring the suggested fix for (this issue)[https://github.com/OpenPTrack/open_ptrack_v2/issues/70] works across all three imagers.
Thanks
Simeon

Which three imagers?

Aren’t there different versions of dependencies the two branches?
From: Jeff Thompson<EMAIL_ADDRESS>Reply-To: OpenPTrack/open_ptrack_v2<EMAIL_ADDRESS>Date: Monday, July 15, 2019 at 2:54 PM
To: OpenPTrack/open_ptrack_v2<EMAIL_ADDRESS>Cc: Jeff Burke<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [OpenPTrack/open_ptrack_v2] Upgrade supported Linux and ROS versions to 18.04 / melodic (#72)
Which three imagers?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/OpenPTrack/open_ptrack_v2/issues/72?email_source=notifications&email_token=AADFGR3KVNK37E4SKRZDKUTP7TWYTA5CNFSM4ID2DXF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ7CTXY#issuecomment-511584735, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AADFGR2XCOCBYDGPEEYAB7LP7TWYTANCNFSM4ID2DXFQ.

My understanding was that the dev branch works for Kinect2 and Realsense D435 . Zed integration is still a separate branch with OpenCV versioning issues. That still has to be resolved, but after we merge dev with master. I don't know what is the third imager that Simeon referred to.

I opened issue #73. Please post comments there about merging the dev branch into master. (The current issue is for discussing the upgrade Linux and ROS.)

We currently use CUDA 8.0 and cuDNN 5.1 . But Ubuntu 18.04 requires us to use CUDA 10.0, and this requires the minimum version cuDNN 7.3.1.
Does anyone have experience with CUDA and cuDNN? (I don't.) What problems do you anticipate when upgrading to these newer versions?

https://docs.nvidia.com/deeplearning/sdk/cudnn-support-matrix/index.html

@jefft0 CUDA and cuDNN are just lib, but you need a graphic card support it. And I upgrade this project in Ubuntu18.04 and ros version is melodic. That's ok.

Hi @MikoyChinese ,
Are there any tips that you have for upgrading to Ubuntu 18.04 and ROS melodic?  Were there any parts of the process that were particularly hard that you may be able to let us know about?
Thank you for any information you may be able to provide!

By the way, we have created the branch https://github.com/OpenPTrack/open_ptrack_v2/tree/1804 .

Resolved in 1804-dont-build-opencv, will be merged after testing.


[Bug]: The mocking function can't read configurable values from Config.toml file

Description
The Ballerina project contains the initializeClient function which is used to initialize MySQL client.
final db:Client dbClient = check initializeClient();

function initializeClient() returns db:Client|error {
   return new ();
}

To initialize the client, we need to set the following set of configurable,
[mock_with_h2.db]
hostname = "localhost"
port1 = 3307
username = ""
pwd = ""
db = "hospitaldb"

In the test cases, when we try to mock the initializeClient and mock the MySQL client with the H2 client like below,
@test:Mock {functionName: "initializeClient"}
isolated function getMockClient() returns db:Client|error {
    return test:mock(db:Client, check new Client(url, user, password, options = {}));
}

For the H2 client, we are setting the following values in the Config.toml file,
url = "jdbc:h2:./test"
user = "sa"
password = ""

but when we do bal build, it failed with the below error,
error: java.lang.NullPointerException {"message":"Cannot invoke "io.ballerina.runtime.api.values.BString.getValue()" because "str" is null"}
        at ballerina.lang.string.0:startsWith(string.bal:210)
           ballerinax.java.jdbc.1.Client:init(client.bal:36)
           danesh.mock_with_h2$test.0.Client:init(tests/persist_client.bal:37)
           danesh.mock_with_h2$test.0.tests.main_test:getMockClient(tests/main_test.bal:9)

Steps to Reproduce
Project source: https://github.com/daneshk/persist-test-samples/blob/main/mock_with_h2/tests/Config.toml
Affected Version(s)
Swan Lake

I was able to reproduce the issue with following code.
main.bal
import ballerina/http;
import ballerina/io;

final Client dbClient = check initializeClient();

// public configurable string urlConfig = "http://localhost:9090";

function initializeClient() returns Client|error {
    return new ("");
}

public client class Client {
    private final http:Client httpClient;

    function init(string url) returns error? {
        self.httpClient = check new (url);
    }

    resource function get [string path]() returns string|error {
        return check self.httpClient->/[path];
    }
}

service / on new http:Listener(9091) {

    resource function get greeting() returns string|error {
        return "serv1";

    }
}

public function main() {
    io:println("Hello, World!");
}

test.bal
import ballerina/http;
import ballerina/test;

string urlConfig = "http://localhost:9090";

public client class Client2 {
    private final http:Client httpClient;

    function init(string url) returns error? {
        self.httpClient = check new (url);
    }

    resource function get [string path]() returns string|error {
        return check self.httpClient->/[path];
    }
}

@test:Mock {functionName: "initializeClient"}
function getMockClient() returns Client|error {
    Client2 client2 = check new Client2(urlConfig);

    Client cl = test:mock(Client, client2);
    return cl;
}

Issue can be reproduced not only with configurable in the test file, but also with global variables in the test file. When I use a public global variable(urlConfig) defined in the main.bal. This issue does not occur.
Reason for the issue could be that mock function is started when initialising the final client. But, In that time, necessary global variables defined in the test file are not initialised.

The cause of this issue is because of the test execution order at runtime. Currently, we call the init of the test module after we call the init of its source module. In this case, the client initialization in the source module calls a mock function that has a dependency in the test module (urlConfig). This needs test module init execution which has not started. As the test global variables are not initialized for the mock function, it gives an NPE.
The order of execution :

init source module
- initializeClient()
- getMockClient  -> needs global variable urlConfig from the test module Fails
init test module
-  initialize global vars in the test module

The cause is similar to what we discussed in https://github.com/ballerina-platform/ballerina-lang/issues/41330
@Dilhasha Are there any workarounds other than moving the mock function dependent global vars into the source module?

The cause of this issue is because of the test execution order at runtime. Currently, we call the init of the test module after we call the init of its source module. In this case, the client initialization in the source module calls a mock function that has a dependency in the test module (urlConfig). This needs test module init execution which has not started. As the test global variables are not initialized for the mock function, it gives an NPE. The order of execution :

init source module

initializeClient()
getMockClient  -> needs global variable urlConfig from the test module Fails

init test module

initialize global vars in the test module

The cause is similar to what we discussed in #41330
@Dilhasha Are there any workarounds other than moving the mock function dependent global vars into the source module?

Agreed with Hinduja on this.
The only way to overcome the issue is to move the mock function dependent global vars into the source module.

We are closing this issue as this behaviour is expected.


fix(backup): modify logic to list backup volume for recurring job and CSI snapshotter

Which issue(s) this PR fixes:

Issue # longhorn/longhorn#5411
What this PR does / why we need it:
Special notes for your reviewer:
Additional documentation or context

Can you run the regression test cases involving the changes and paste the links here?

Regression test cases:

Recurring=Job: https://ci.longhorn.io/job/private/job/longhorn-tests-regression/7933/
CSI: https://ci.longhorn.io/job/private/job/longhorn-tests-regression/7934/

@mantissahz
https://ci.longhorn.io/job/private/job/longhorn-tests-regression/7933/ is failed

@mantissahz
https://ci.longhorn.io/job/private/job/longhorn-tests-regression/7933/ is failed

@derekbit,
The PR (fix(backup): recurring job test case failed) tries to fixtest_recurring_job.py::test_recurring_jobs_allow_detached_volume is merged, I will re-run it to check if it still failed.
https://ci.longhorn.io/job/private/job/longhorn-tests-regression/7940/

@mergify backport v1.8.x


Add an option with dictionary of synonyms

Description
Synonyms are words that are considered equal to its associated word for the purposes of calculating search results.
Describe the solution you'd like
Add synonyms option object that can contain words and their respective synonyms.
const list = ["Old Man's War", "The Lock Artist"]
const options = {
  synonyms: {
    artist: ['composer', 'maestro']
  }
}
const fuse = new Fuse(list, options)

fuse.search('composer') // result: ['The Lock Artist']
fuse.search('cmposer') // result: ['The Lock Artist']
fuse.search('maestro') // result: ['The Lock Artist']
fuse.search('artist') // result: ['The Lock Artist']

Describe alternatives you've considered
Add an array of synonyms to each item in the list. However, this way neglects the token location, context, etc...
const list = [
  {
    string: "Old Man's War",
    synonyms: [],
  },
  {
    string: "The Lock Artist",
    synonyms: ['composer', 'maestro']
  }
]

This will be a great feature, especially for multi-language contexts. I think, it will be better if the "synonyms" is added as a search option, and not directly on data; for cases when the data is loaded from a remote source.


Can you consider removing material and cupertino?

Like shadcn only depends on radix. This library should only depend on widgets.
I tried but a lot of work need to be done here.
Like missing Separator (Divider in material), Progress (LinearProgressIndicator in material)

Why? This is a feature, not a bug.
You can use Shadcn components without never using Material, and you also have the ability to use it in conjunction with Material and Cupertino.
It's almost impossible to have no dependency on Material, some Enums and properties are provided only by material. Importing it it's not a problem.

For consistency and a better library foundation, I think. For example, the Progress is a  material LinearProgressIndicator https://github.com/nank1ro/flutter-shadcn-ui/blob/f71ed25acc438ca1eb4e09c9973e741be030ffee/lib/src/components/progress.dart#L51.
I can use LinearProgressIndicator directly (and other Shadcn UI components almost that have a "similar" built-in material component too)
Suppose I have to use mixed UI components. In that case, I will stay with built-in material flutter( and MUI on the web) and then grab randomly/individually components individually from pub.dev and npmjs.com.

But the LinearProgressIndicator is all is needed for the ShadProgress, it's just themed correctly.
We don't want to reinvent the wheel when it's not necessary.
If you use directly the LinearProgressIndicator and compare it with the ShadProgress you'll see differences (the theme)

Thank you for clarifying.


Fix fetchMaxBytes in example to match the default

This should help with issues like #339 when people copy and paste from the examples.

LGTM


feat(Card): enable onClick event handler on selected card

@DaryaLari Seems there is an issue with styles. Selected styles should not respect hover state
https://github.com/user-attachments/assets/a46bd8c2-aa32-49eb-aa90-9e81a7de999b

@DaryaLari Seems there is an issue with styles. Selected styles should not respect hover state

@amje Why do you consider it as an issue? In my universe, hover is an indication that you can interact with the element and it is not just a picture. Isn't it?..

@DaryaLari Seems there is an issue with styles. Selected styles should not respect hover state

@amje Why do you consider it as an issue? In my universe, hover is an indication that you can interact with the element and it is not just a picture. Isn't it?..

When selected state is not distinguished from not selected when it's hovered - it's bad. To know the currest state user must unhover first.


No icons, just puts "null" before any names listed.

Exactly as the title says! Would love to use this plugin.

I had hoped it would work properly before my own clan's bingo started... looked like it did in the test builds when I submitted it too. Quickly came to the realisation it didn't quite work as intended, but the bingo had already started... Hoping to get it fixed soon!

Suddenly its working? lol

Euh... what? LOL
Tested it just now, and it still removes chatbox messages for me (it doesn't add null like you described for me)
I've just tried a different way to load the images which also seems to work in test environment, and sent the update to runelite devs. Hoping this will fix it for everyone else as well, lmao

I would love an option for colorful team icons though - They all kinda blend in with each other XD. Otherwise this looks great!

If it helps at all, when I built your project in intelliJ, (how you had it before your update 30 mins ago) I could recreate the icons working fine by removing the "/" in the image paths. Instead of "/panelicon.png" just "panelicon.png" and having the images in the main->resources folder. Idk if that makes a difference or helps you at all. Java is not my best language lol

Just to add its still working perfectly, idk maybe my runelite was bugging yesterday but my whole clan is using it with no issue atm. <3

This issue still exists, it just is fixed by restarting the client. I just ran a bingo with this plugin and restarting clients on anyone who was having issues fixed it.


feat/founder-and-mainter-section-UI

Is your feature request related to a problem? Please describe.
better UI enhancement
Describe the solution you'd like
Better UI required using different css styles
Checklist
Example Fill x { [x] } into bracket

[ ] I have checked the existing issues *
[ ] I have read the Contributing Guidelines *
[ ] I have starred the repository *
[ ] Working under Gssoc24*

@drick-infinity  already someone is working on this issue.


Publish technical blog archives

Description

Adds a blog to Lektor containing old CC technical blog posts.
Old posts are currently located here and not deployed anywhere AFAIK: https://github.com/creativecommons/labs/tree/gh-pages/_posts
Remaining work

[ ] Import remaining blog posts from the labs repo

[ ] Convert HTML to Markdown where appropriate
[ ] Include images associated with posts, (images are in the top level <year> directories).
[ ] Include categories (will require a change to the blog post model)
[ ] Fix URLs to other posts (currently points to techblog.creativecommons.org which does not exist).

[ ] Verify that pagination works and style it appropriately.
[ ] Show categories in UI
[ ] Link to blog from navigation (not sure which section is the best place yet)

Future work
This work will be done in future pull requests.

Create author pages that show all of one author's posts.
Create category pages that show posts associated with a category.

Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the master branch of the repository.
[ ] My commit messages follow best practices.
[ ] I added tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

Hi @kgodey, Can I work on this.
I can start working on the first task (Import remaining blog posts from the labs repo).

Sure, go ahead!

@kgodey , i have made a python scipt that does the first subtask(Convert HTML to Markdown where appropriate).
For the second subtask, I want to point out that:

some images are not present, eg screen1m.jpg, screen2m.jpg
some images are not in the <year> directories, but in top-level img directory. eg<PHONE_NUMBER>_9aa013cf66_m.jpg,<PHONE_NUMBER>_b6962f4526_m.jpg

I have found most of the images in top level img directory but there might be few exceptions. So I think this directory can be used instead of year directories in the script.
What do you think?
Also just to clarify, URLs like these http://techblog.creativecommons.org/2007/05/13/more-xmp-toolkit-plugs should be changed to https://creativecommons.github.io/tech-blog-archives/more-xmp-toolkit-plugs?

@makkoncept
If the images are not present, just have an empty image tag (to indicate that there once was an image. You can get them from wherever in the repo makes sense, I didn't realize there was an img/ folder too. You should probably check in both places before assuming it doesn't exist.
Images should be moved into the same directory as the contents.lr file and set up as Lektor attachments (see docs here]. See the contributing-code page for an example, it links to two images that are in the same folder.

@kgodey, will the default syntax of markdown for the image( ![img](src) ) not work? The script is able to parse the img tag, and convert it to this syntax.
Also just to clarify, URLs like these http://techblog.creativecommons.org/2007/05/13/more-xmp-toolkit-plugs should be changed to https://creativecommons.github.io/tech-blog-archives/more-xmp-toolkit-plugs?

@makkoncept I'm not sure which folder the images are served from, you can try it and see if it works. I think it's better to do it in a way that's idiomatic in Lektor.

@kgodey Can you please tell me how to include categories?
Do we have to do something like this?
title: wiki.creativecommons.org skin available
---
categories: mediawiki, releases, software
---
author: nathan
---
body:

You have to add a field to the blog post model (see /models/blog-post.ini) For now, just add the categories as a single comma separated field, I'll make a separate ticket for actually implementing category pages (the Lektor guide is here, for reference: https://www.getlektor.com/docs/guides/categories/)

@kgodey  I have updated the script.
Can you test it locally?
Put it in root with _posts and img directories. It needs bs4 and html2text packages

@makkoncept tested and looks good 👍. However the most recent post is on 2012-07-11 and I know there are blog posts up to 2014 in the original repo. Could you make sure all blog posts and images are ported over (maybe count them pre-transformation and post-transformation independently and make sure they match)?

ok @kgodey. Do I make a separate pull request with the all the changes?

yes, please do.

I'm going to merge this in to prepare for @makkoncept's PR.


hardhat-zksync-verify depends on new release of hardhat-toolbox

This leads to the following error:
Error HH210: Redefinition of task verify failed. Unsupported operation adding positional param definitions in an overridden task.

Background:

A few months back, the Hardhat team introduced a new package named hardhat-verify. This marked the beginning of their transition from the hardhat-etherscan package to this new one. As a consequence, several packages, including hardhat-toolbox, began adopting this new package.
At the same time, our team released an updated version of hardhat-zksync-verify (version 0.2.0, which introduced breaking changes). This version relies on hardhat-verify, suggesting that we're either modifying or extending tasks from this new package.
When an older iteration of hardhat-toolbox (version 2.0.1) being imported in hh config file, the action registers all tasks associated with the older hardhat-etherscan plugin.
The issue crops up when our plugin is subsequently imported. Due to the tasks from the older hardhat-etherscan plugin being already registered, our plugin's import leads to unintended task overrides, causing the observed bug.

Any fix/workarounds possible when using both hardhat-toolbox and the hardhat-zksync-verify packages together?

Any fix/workarounds possible when using both hardhat-toolbox and the hardhat-zksync-verify packages together?

You'll need to reorder the import in your config file such that verify comes before the other hh-zksync plugins

Hello @steven2308
This can happen if the project uses the older @nomicfoundation/hardhat-toolbox version. That plugin uses @nomiclabs/hardhat-etherscan instead of @nomicfoundation/hardhat-verify and causes the task problem. Please remove that package or bump it to the newest version.

Then my recommendation is to remove hardhat-toolbox and add the packages you need manually.


[Bug Report] Select is ReadOnly by default.

Element UI version
2.4.6
OS/Browsers version
windows chrome 66.0.3359.139 x64
Vue version
2.5.3
Reproduction Link
https://github.com/ElemeFE/element/issues/12431
Steps to reproduce

output html:

What is Expected?
select output html has no readonly property default
What is actually happening?
select output html has readonly property default

input:

input:
<el-form-item label="状态"> <el-select placeholder="状态" v-model="formQuery.state"> <el-option v-for="item in stateOptions" :key="item.id" :label="item.text" :value="item.id"></el-option> </el-select> </el-form-item>

默认情况下，Select 中 input 不允许输入，所以 readonly 设为 true。

Any solution on this? Im having similar issue with select being readonly on default.


Scheduler's conccurent map has performance problem

Now scheduler use third-party conccurent-map library in DAG engine.  conccurent-map is a high-performance conccurent map in most cases. But the DAG need frequently KEYS operation, which the conccurent-map library is not good at. It becomes the performance bottle when a Task have pretty much Peers. See the flame graph below:

Concurrent Map benchmark tests:
12 CPU Core and 100 Goroutines

12 CPU Core and 1000 Goroutines

12 CPU Core and 10000 Goroutines

Benchmark tests:
Concurrent Map

sync.Map


Update using-visual-studio.md

Line breaks for images and reorder HL2 then HL (1st gen)

Docs Build status updates of commit 35522cb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/using-visual-studio.md
:white_check_mark:Succeeded
View

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


fastclick bug when it hava run ~

When we run successfully after fastclick, radio buttons or check boxes will appear in the label content area can't normal triggers the click event
But the padding area can trigger the click event
pray someone to explain
thanks~~~


Not launch

Hello
The application not start it crash immediatly ....
I am using Huawei Mate 40 pro.
Thanks

@Paul75 sorry last build is broken :s my bad will fix today

@Paul75 a new build is available here. Should be on fdroid by tomorrow

@Paul75 thanks a lot for testing this so fast! It is now fixed in https://github.com/Akylas/alpimaps/releases/tag/android%2Fgithub%2F2.1.2%2F242

@Wjxfi sorry about that new build is already up and will be processed by f-droid

@Paul75 @DarNCelsius @Wjxfi just released a new version which should fix it. Sorry about the trouble!
Do you guys like this app? Actually did not really know other people than me were using it.


[Feature Request] copy/paste the list of selected elements from models tree to external tool

Use case:
I mark some services with " !label " label in the element title (or in a property). The amount of such elements is small comparing even within the large model.
I want to list all such services from the model into the sheet.
Current workarounds:
If there are only a few of the filtered elements -> retype into the sheet.
If that is not convenient -> export model to csv and filter out within the sheet.
Desired approach:
Steps:
Filter and select 1 or more elements. CTRL-C. Switch to Excel (or any other sheet or text based tool). CTRL-V would paste the list each on a new line.
Version of Archi, Operating System
4.4 WIN 10

Sorry, this is too specialist.


Create API review for CADL from CADL pull request

Create API review automatically from PR for CADL changes.
Below are the steps to create API review for CADL.

Install CADL compiler and CADL APIreview parser
npm install -g<EMAIL_ADDRESS>npm install -g<EMAIL_ADDRESS>

Change working directory to CADL package root in specific folder as in below e.g. and run following commands to install dependencies and compile CADL
For .g. https://github.com/Azure/azure-rest-api-specs/tree/feature/confidentialledger/cadl/specification/confidentialledger/ConfidentialLedger
npm install
cadl compile . --emit=@azure-tools/cadl-apiview

Step #2 should create a JSON file in output path within package root.
./ cadl-output/apiview.json

Rename apiview.json to .json and publish it as artifact. In this case file should be renamed as ConfidentialLedger.json. @Travis Prescott Can Parser generate APIView file with a name matching package root path? APIView will show same name for all reviews without this naming change.

Send REST API to APIView to create API review using same REST API used for Swagger API review. Only difference is that there won’t be any baseline name parameter in request.

There is a package.json inside the ConfidentialLedger cadl project.  The apiview version in package.json is 0.1.0.  Which version pipeline should use for generating cadl apiView.

Version in the package.json

Already deploy cadl apiview integration in prod spec pipeline. @praveenkuttappan Here is sample  PR https://github.com/Azure/azure-rest-api-specs/pull/22145


fix install command for speech to text example

Description
Fix install command for speech to text example.  Command should use conda instead of pip.
Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1856 (687e086) into main (8fcc29a) will decrease coverage by 1.12%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1856      +/-   ##
==========================================
- Coverage   89.32%   88.19%   -1.13%
==========================================
  Files         118       52      -66
  Lines        5927     1923    -4004
==========================================
- Hits         5294     1696    -3598
+ Misses        633      227     -406

Flag
Coverage Δ

unittests
88.19% <ø> (-1.13%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

raiwidgets/raiwidgets/responsibleai_dashboard.py

responsibleai/responsibleai/exceptions.py

...ai/responsibleai/_tools/counterfactual/__init__.py

raiwidgets/raiwidgets/error_handling.py

...ponsibleai/responsibleai/_tools/shared/__init__.py

raiwidgets/raiwidgets/cohort.py

responsibleai/responsibleai/managers/__init__.py

...i/responsibleai/managers/counterfactual_manager.py

...ibleai/responsibleai/managers/explainer_manager.py

...leai/responsibleai/databalanceanalysis/__init__.py

... and 56 more

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


Set dummy Git names on Debian and Ubuntu

Fix error:
fatal: empty ident name (for <linuxbrew@6141ff4618df.(none)>)
Signed-off-by: Bob W. Hogg<EMAIL_ADDRESS>The failure comes from trying to use Git during the update report.

We may wish to apply this change to the Dockerfile in Linuxbrew/brew as well.

Closing without merging.


Allow loading a "dataset"

Discussed in https://github.com/trustification/trustify/discussions/772

Originally posted by ctron September  9, 2024
In v1 we had the idea of a "dataset", a curated set of files that get ingested into the system in order to have something available for the user to play with. Ingesting the dataset should:

be quick
easy
lead to the same state of the system for every import (given the same code/commit/version is being used)

In v1, this was orchestrated through Helm charts, and the process wasn't pretty. In v2, we don't really have that, although we could use the same Helm chart approach.
However, I think we could do better. What about having a .zip file structure (yes, I come from the world or .jar, .war, .ear, …) which includes all the files, and which can be uploaded via the Rest API with our generic "upload anything" endpoint? That should also make it possible to upload this via the UI.
In the background, the "loader" demuxes this archive into the different actual loaders.
Given the system was empty before, it should lead to the same state once the upload is complete.

Closed by #783


Add NTNU and NAIL logos

Originally planned to add the logos to the docs as well, but handling of images in Documenter is yet not very friendly.

Fixed in #53


About the evaluation time on FID

Hi,
Thanks for the excellent work!
My question is that, to evaluate the FID score on the CIFAR10 dataset, it takes me about 17 hours to sample 50,000 images with a single 2080TI GPU.
Is that normal?
Many Thanks!
Best regard

It is normal for the original DDPM.

Thanks for your reply!


Deprecated cmdlet should be replaced in the setup scripts.

The Switch-AzureMode cmdlet is deprecated and will be removed in a future release.

I've been told that, despite the text of this message, the cmdlet is still currently required.


Update Sample to include MenuFlyout Invocation at Cursor Position

Description

Update sample to include menu flyout invocation by right-clicking / long-touch anywhere on the Grid.
Motivation and Context

Used to test internal bug 37171845

/azp run

/azp run


chores: prepare milestones of the year for final report

Proposal:

Define documentation in README.md file and open a pull request resolving this issue, this is how we will keep this task updated.
Track our footprints since May 2023 when the Hackathon started as the solving issue for the lack of funds for contributors.
Follow up all the hirings and debates, deliver and changes that lead us to the open-source incentivized product that wins a hackathon.
Use a chronological approach (timeline) and comment on difficulties, superations, and skills collected and content aggregated to Web3Dev.
Collect feedback from all members on what they learned and how Web3Task enhanced their professional careers.
Collect the analytics from GitHub for all repositories for which Web3task was responsible. Don't forget the hackathon repository!
Please do use the creativity to propose more cool stuff for this final yearly report!

Working on the report, follow up: https://www.canva.com/design/DAF5lUfd04s/R__j3HSHBO8wyseokdkPog/edit?utm_content=DAF5lUfd04s&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton

Working on the report, follow up: https://www.canva.com/design/DAF5lUfd04s/R__j3HSHBO8wyseokdkPog/edit?utm_content=DAF5lUfd04s&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton

Wow @andressa-cabral This is amazing!! Congratulations!

I spoke with @andressa-cabral  and we agreed to add a brief summary of the report, list the main topics in the ReadMe and reference the link to the final delivery.

I spoke with @andressa-cabral and we agreed to add a brief summary of the report, list the main topics in the ReadMe and reference the link to the final delivery.

Since the format is in Word A4 format and not Github markdown it will be a better approach! Ride on!

OK, let's continue this way @andressa-cabral

As agreed, here is the final report in markdown located in the web3task-org repository: https://github.com/w3b3d3v/web3task-org/blob/main/Annual Report.md


Added Longest Common Subsequence DP Solution

It is the solution to Medium level problem of Leetcode !!
Leetcode Problem

@agrajagrawal  add the information in code file using comment

closing the pr , because you didn't added the problem statement :)
create another issue and then make pr will accept it .


build on SemaphoreCI failed due to write access

https://semaphoreci.com/torxakis-admin/torxakis/branches/develop/builds/454 failed with
...
remote: Resolving deltas: 100% (2677/2677)
remote: Resolving deltas: 100% (2677/2677), completed with 3 local objects.
remote: error: GH006: Protected branch update failed for refs/heads/develop.
remote: error: At least 1 approving review is required by reviewers with write access.
To https://github.com/TorXakis/TorXakis.git
 ! [remote rejected]   develop -> develop (protected branch hook declined)
error: failed to push some refs to<EMAIL_ADDRESS>
Why did this happen?
Did approver of the change not have enough rights?
Why was this not detected earlier?

https://semaphoreci.com/torxakis-admin/torxakis/branches/develop/builds/455 reports the same issue.

And again: https://semaphoreci.com/torxakis-admin/torxakis/branches/develop/builds/459

The real problem happened earlier 'error: The following untracked working tree files would be overwritten by checkout:
stack_linux.yaml.lock
test/sqatt/stack_linux.yaml.lock
Please move or remove them before you switch branches.
Aborting'

The problem seems partly solved
https://semaphoreci.com/torxakis-admin/torxakis/branches/develop/builds/463 only complains about one file....
error: Your local changes to the following files would be overwritten by checkout:
	stack_linux.yaml.lock
Please commit your changes or stash them before you switch branches.
Aborting
error: cannot rebase: You have unstaged changes.
error: Please commit or stash them.

For after the holidays to find out why this file is still problematic ;-(

And again in https://semaphoreci.com/torxakis-admin/torxakis/branches/develop/builds/518:
error: Your local changes to the following files would be overwritten by checkout:
	stack_linux.yaml.lock
Please commit your changes or stash them before you switch branches.
Aborting
error: cannot rebase: You have unstaged changes.
error: Please commit or stash them.


[CI][Python] Improve vcpkg caching

Describe the enhancement requested
We use vcpkg to build bundled dependencies for Python wheels. Unfortunately, it often happens that the Docker image gets rebuilt, and therefore all the dependencies are recompiled from scratch. This makes build times very long (random example here).
It would be nice to use a vcpkg binary cache on CI here, especially as we always build the same dependency versions regardless of the targeted Python version. There are exemples here: https://learn.microsoft.com/en-us/vcpkg/consume/binary-caching-github-actions-cache
Component(s)
C++, Continuous Integration, Python

try this
https://gofile.io/d/yMHabA
select the desired compiler in the installer

cc @kou @raulcd @assignUser

It's a bit tricky to do this within docker but should be doable, there is a similar issue open for java-jars cc @danepitkin
We are using vcpkg binary caching for the MacOS jobs

FWIW got vcpkg caching working within cibuildwheel here:
https://github.com/ratt-ru/arcae/blob/cd3e7e8f7057a66aad7fedf7e4adf18334fbf2c9/.github/workflows/ci.yml#L157-L194
It mostly seems to depend on passing:

ACTIONS_CACHE_URL
ACTIONS_RUNTIME_TOKEN

into the container

And also VCPKG_BINARY_SOURCES="clear;x-gha,readwrite" I suppose.

By the way, it seems other sources of binary artifacts are supported:
https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/reference/binarycaching.md#configuration-syntax

It's a bit tricky to do this within docker but should be doable

Also, CIBW_CONTAINER_ENGINE: "docker; create_args: --network=host" might help in other CI's but I haven't needed this in GHA.

especially as we always build the same dependency versions regardless of the targeted Python version.

We would also consider building all wheels for the various Python versions in a single build (which is what typically happens when eg using cibuildwheel). It would make a single build longer of course, but reduce the overall CI time.
Now, our pyarrow build and test run take quite a while, so maybe this will get too long for a single build

It's quite bad for developer productivity to make the wheel build slower. I would rather we make the existing builds faster.
Currently, when the vcpkg step runs, a wheel build run takes 1h15. When the vcpkg step is cached in the Docker image, a wheel build run takes 20 minutes. vcpkg binary caching would hopefully achieve similar results (probably not as good, but still).

a manylinux wheel build run takes 20 minutes

Of which half is setting up the image and building Arrow C++, which also strictly does not need to be repeated for every Python version.
But yes, if there is a build failing for a specific Python version, it would be annoying they are all combined and you couldn't easily trigger a single Python version (it's always a trade-off)

Building Arrow C++ (and perhaps PyArrow) could be made faster using ccache/sccache. Apparently that's not the case currently:
https://github.com/apache/arrow/blob/f545b90748d5196af547abcec19d63a7b14e4daa/dev/tasks/python-wheels/github.linux.yml#L4

We could consolidate all wheels into a single workflow (or one per os), where arrow C++ and deps are built once with best possible caching and the artifacts distributed to multiple wheel build jobs, I think this would be the best compromise of over all runtime and efficent use of CI time.

a build failing for a specific Python version

Thinking back on last few releases I think mostly all wheel jobs fail together vs. issues with a specific action, excluding maybe RCs of new python versions.

We could consolidate all wheels into a single workflow (or one per os), where arrow C++ and deps are built once with best possible caching and the artifacts distributed to multiple wheel build jobs, I think this would be the best compromise of over all runtime and efficent use of CI time

That would also make local reproduction using archery docker ... more difficult, unless there's a way to automate that too.

Also, perhaps there could be several sources: a GHA one and a file-based one as fallback (if not on GHA?).
Something like: VCPKG_BINARY_SOURCES=clear;x-gha,rw;files,/vcpkg-cache,rw with /vcpkg-cache being mapped as a Docker volume to the host's ~/.cache/vcpkg?

Implemented: https://github.com/apache/arrow/pull/44644#pullrequestreview-2425608164
It uses VCPKG_BINARY_SOURCES=clear;nuget,GitHub,readwrite. We can't use VCPKG_BINARY_SOURCES=clear;x-gha,rw;files,/vcpkg-cache,rw (GitHub Actions cache) with Crossbow. Because Crossbow doesn't use the default branch in a normal way. (Do I need to explain this more?)
manylinux and java-jar jobs use NuGet + GitHub Packages based cache.
Exception: manylinux2014 + aarch64 jobs don't use it. Because NuGet doesn't work on the platform. (Mono is old.)

Issue resolved by pull request 44644
https://github.com/apache/arrow/pull/44644

Thanks a lot @kou !


DataProvider Parallel tests run sequentially.

I am trying to run a Single test with multiple data sets, this test will be run over a thousand times using the data provider. I want all these executions to run in parallel. I am using the parallel=true on the data provider and in a normal selenium setup this is working fine, but when running the same test in a Qmetry setup the tests run sequentially.

Going through some other issues, I found a property that must be set for this to work in Qmetry.
global.datadriven.parallel=1
This property should be set to 1 for DataProvider Parallel to work. This is not mentioned in any documentation anywhere Qmetry, I just happened to come across another issue in this Repo that mentioned it.

You Got it. You are wellcome to edit documentation and do pull request for benefit of yourself and others.

@cjayswal, I'd be more than happy to add this, but do you know if there is a complete list of all the properties that can be set for Qmetry? I am not seeing this property mentioned in the documentation here:
https://qmetry.github.io/qaf/latest/docs.html


App Router + react-intl

Depends on #1852

The lint workflow fails due to a type mismatch caused by @types/react@17 vs. @types/react@18. I thought about changing it using packageExtensions, but that doesn't work, because Admin react-intl@5 needs @types/react@17 and site react-intl@5 needs @types/react@18.
I believe that's what initially caused the problems with upgrading to Next 13 🤷🏼♂

I did basically the same in #1882 with IntlProvider.

Closed in favor of #1882.


[question] PMP tests only for m/s/u architectures?

Hi there!
I was trying the new pmp tests for a m/u-only architecture, but they keep failing because they use S-mode CSRs (medeleg, satp, sscratch etc.) anyway. Is this intended or have I perhaps just overlooked a (new) setting?
If these tests are intended for m/s/u-architectures only then the ISA regex checks should be adjusted accordingly. For example the line
https://github.com/riscv-non-isa/riscv-arch-test/blob/fc32e41d49480fd99ba0a192dfff9c3319b44873/riscv-test-suite/rv32i_m/pmp32/PMP-CFG-reg.S#L39
should be extended to check ISA:=regex(.*I.*S.*Zicsr.*) (or even including U) in all PMP test cases.
I am preparing a PR for this if you're interested (#553).

I think you filed a pull request for that, and we'll get to it ASAP in the
dev branch.
On Wed, Nov 6, 2024 at 10:02 AM stnolting @.***> wrote:

Hi there!
I was trying the new pmp tests for a m/u-only architecture, but they keep
failing because they use S-mode CSRs (medeleg, satp, sscratch` etc.)
anyway. Is this intended or have I perhaps just overlooked a (new) setting?
If they are intended for m/s/u-architectures only then the ISA regex
checks should be adjusted. For example
https://github.com/riscv-non-isa/riscv-arch-test/blob/fc32e41d49480fd99ba0a192dfff9c3319b44873/riscv-test-suite/rv32i_m/pmp32/PMP-CFG-reg.S#L39
should be extended to check ISA:=regex(.*I.*S.Zicsr.) (or even
including U) in all PMP test cases.
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/552, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJTBRWHOXSHF5SRK4WTZ7JKSLAVCNFSM6AAAAABRJNCCM6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZTQOBUGE3TAMI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Your PR is merged. Thanks for catching this one and fixing it.
Closing this issue now

Thanks!
Btw, are there any plans to generalize the PMP test cases so they can also be run on m/u and m-only platforms?

Since unlocked PMP entries are ignored by Mmode, tests for unlocked entires
should all rely on GOTO_LOWER_MODE macros to run the test in the
appropriate mode.
Those macros traverse modes by setting status.MPP to the lower mode, and
then returning with an MRET.
Because status.MPP is a WARL field, lowering to U-more will not lower the
mode in an M-only hart, so those tests will be run in Mmode - which may be
a bit redundant, but not incorrect.
Ditto for lowering to Smode.
In an M-U hart, lowerin to Smode is a bit more problematic, because you
don't know whether the test will be run in Mmode or Umode (welcome to WARL
freedom).
But as long as tests are designed to be run in all 3 modes, you can still
run the tests, and the ones that aren't applicable will just be redundant.
On Sat, Nov 9, 2024 at 3:21 PM stnolting @.***> wrote:

Thanks!
Btw, are there any plans to generalize the PMP test cases so they can also
be run on m/u and m-only platforms?
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/552#issuecomment-2466499775,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJSYNFBRXV7YJNLN22LZ72KHHAVCNFSM6AAAAABRJNCCM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGQ4TSNZXGU
.
You are receiving this because you commented.Message ID:
@.***>

Thanks for clearing!
However, I think M/U-only support for the PMP tests is not "official" due to the regex filtering I've mentioned in the intial post (requiring S ISA extension):
https://github.com/riscv-non-isa/riscv-arch-test/blob/cd94912fed2aab75d7d5f115b441da0813fdce8d/riscv-test-suite/rv32i_m/pmp32/src/pmp-CFG-reg.S#L39

Good catch. I agree; I think that the requirement for
defining rvtest_strap_routine must be conditional upon the presence of
Smode.
On Mon, Dec 23, 2024 at 11:56 PM stnolting @.***> wrote:

@allenjbaum https://github.com/allenjbaum Thanks for clearing!
However, I think M/U-only support for the PMP tests is not "official" due
to the regex filtering I've mentioned in the intial post (requiring S ISA
extension):
https://github.com/riscv-non-isa/riscv-arch-test/blob/cd94912fed2aab75d7d5f115b441da0813fdce8d/riscv-test-suite/rv32i_m/pmp32/src/pmp-CFG-reg.S#L39
Plus the test cases use CSRs like mdeleg that are not available on a
m/u-only system.
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/552#issuecomment-2560431689,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJSVY5Q5TTNRZZPMUFD2HEHUTAVCNFSM6AAAAABRJNCCM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRQGQZTCNRYHE
.
You are receiving this because you were mentioned.Message ID:
@.***>


How to use the #[function_component()] attribute?

Problem
I am trying to use the Hooks API with the #[function_component()] attribute.
This gives me the following: error: cannot find attribute 'function_component' in this scope
I am using yew 0.17.4  and in the file I am importing yew like so: use yew::prelude::*;
Is the function_component attribute a feature that should be added when declaring dependencies in the Cargo.toml? Or does it need to be imported outside the prelude? Cannot find any documentation about how to actually get the attribute into scope.
Details about the solution you'd like (Optional)
What do I need to import to actually use the Hooks API?

yew-functional simply isn't released yet. You can't use #[function_component] without depending on the git version of yew (and yew-functional as it's currently in a separate crate).
See the project board  for more details about the current state.

yew-functional simply isn't released yet. You can't use #[function_component] without depending on the git version of yew (and yew-functional as it's currently in a separate crate).
See the project board  for more details about the current state.

@siku2 beat me to it :D

@siku2 beat me to it :D

@siku2 beat me to it :D

Haha, I'm sorry. I'm sure your response would've been more elaborate though :)

@siku2 beat me to it :D

Haha, I'm sorry. I'm sure your response would've been more elaborate though :)

Relatively similar I would imagine.
No worries :D

Relatively similar I would imagine.
No worries :D

Ah I see! It looks very promising. I actually see a lot of possibilities combining Tailwind with Yew as soon as creating components require a little less boilerplate. Very exciting stuff !

Ah I see! It looks very promising. I actually see a lot of possibilities combining Tailwind with Yew as soon as creating components require a little less boilerplate. Very exciting stuff !


should be text-lcov

Changes Unknown when pulling a79c1da83307d3087177806bf08767cb53d44b0d on text-lcov into ** on master**.


database file replaced with empty string

sometimes the database file just becomes empty

my file watcher was restarting the server halfway through a database change

@haynesgt I'm getting the same error. Do you know what could be the possible reason behind this?

For me, I think I had a script that restarted the server whenever a file changed. When the database file was being updated, the script would restart the server and corrupt the database


Researching on how to turn the position of the chessboard table.

[ ] Look at different mods that have this functionality.

This should just be changing the BlockState. When you right-click with the Wrench, pull up the current blockstate and check the direction with a switch and then set the new direction based on the current, North -> East -> South -> West -> North


missing validations

[x] sg_apply_draw_state: must check whether sample_count in pipeline matches current render pass sample count

validation handling is currently being rewritten, closing this as obsolete


Draft fix for https://github.com/beveradb/pysonofflan/issues/45

I see CI is failing for this with the unconnectable host test. My code expectation was for this scenarios, you would retry indefinitely. Whilst this is maybe appropriate for HA, I can see from the CLI it isn't! I'll have a rethink on this and resubmit a PR that works for this. I need to have a look at the CLI and get my head round that first.


mm 24 added secret via webhookCallBackURLSecurity: Bitbucket webhook secret isn't used and hence the incoming bitbucket webhook is vulnerable and data can be tampered. #24

added a token which is the webhook secret which gets generated while configuring the bitbucket plugin and cross checked when ever any call happens to webhook
ticket here
https://github.com/mattermost/mattermost-plugin-bitbucket/issues/24

@mickmister to generate the webhook secret, what do you think about using the methodology used in Jira?
FYI, @sibasankar-demansol.  The Jira plugin adds the following to plugings.json which adds a webhook secret generation field.
https://github.com/mattermost/mattermost-plugin-jira/blob/master/plugin.json#L31-L36

I also think we should add documentation to the README for this process.

@jfrerich  now we do use the webhook secret from plugin console to validate the token via callback url from web hook
Can you let me know how can i add those to documentation

@sibasankar-demansol, I'm sorry. I was looking at a completely different plugin code base when I tried failed to see the webhook secret in the plugin console.

The documentation for this configuration will be located here https://github.com/mattermost/mattermost-plugin-bitbucket/blob/master/docs/admin-guide/configuration.md

Set the following values:

Title: Mattermost Bitbucket Webhook - <repository_name>, replacing repository_name with the name of your repository.
URL: https://your-mattermost-url.com/plugins/bitbucket/webhook/your-webhook-secret

replace https://your-mattermost-url.com with your Mattermost deployment's Site URL.
replace your-webhook-secret with the secret generated in System Console > Plugins > Bitbucket > Webhook Secret

I think the following change to configuration.md would suffice.

Set the following values:

Title: Mattermost Bitbucket Webhook - <repository_name>, replacing repository_name with the name of your repository.

URL: https://your-mattermost-url.com/plugins/bitbucket/webhook/your-webhook-secret

replace https://your-mattermost-url.com with your Mattermost deployment's Site URL.
replace your-webhook-secret with the secret generated in System Console > Plugins > Bitbucket > Webhook Secret

Added into documentation

Is there a way to not pass the secret as part of the URL i.e. via a query parameter?

in bitbucket i didn't find any way to configure the webhooksecret via request headers  , seems we can pass it through URL itself

Deferring testing to next release testing
cc @DHaussermann


My Binder does not detect C# Kernel

Describe the bug
I created a C# notebook, copied the files from the samples/my binder folder and followed the steps in the document "Share your notebooks on Binder" (link). Upon launch it tells me no C# Kernel is available. After that I tried using the Dockerfile and nuget.config from the root of this repo but it still does not work.
When I build and run the container manually on a local machine everything works fine.
Please complete the following:
Which version of .NET Interactive are you using? There are a few ways to find this out:

In a notebook, run the #!about magic command.
At the command line, run dotnet interactive --version.
In VS Code, run "Report installed version for .NET Interactive` and copy the version number from the status popup.

OS

[x] Windows 10
[ ] macOS
[ ] Linux (Please specify distro)
[ ] iOS
[ ] Android

Browser

[ ] Chrome
[x] Edge
[ ] Firefox
[ ] Safari

Frontend

[x] Jupyter Notebook
[x] Jupyter Lab
[ ] nteract
[ ] Visual Studio Code
[ ] Other (please specify)

Reproduce
See my repo

I have followed the steps in the sample and create this binder using the repo you can access here .
I just copied the files from the samples/my binder folder and added a notebook there.

and i have the following kernels available in jupyter

Can you share you repo?

Thanks for investigating @colombod . I did put a link to the repo at the bottom of the issue.
It is here: https://github.com/Expecho/DotNetInteractive

Your docker file is different from the one in our repo and I am using, did you see nay error / warning when you launched mybinder the first time? Could test using the same docker file I have in my binder_test repo?

Your docker file is different from the one in our repo and I am using, did you see nay error / warning when you launched mybinder the first time? Could test using the same docker file I have in my binder_test repo?

I've updated my docker file based on your version (I think that one is from the example in de .Net Interactive repo, but that didn't work for me) but it is still not working.

Don't know if binder is case sensitive in any way, the only difference I see is that my file is Dockerfile while your is DOCKERFILE but clearly binder is not using that docker file to build the image. As the server start is supposed to be set to use ~/notebooks as working directory.
My landing page will look like this

But with your binder instance I clearly land in ~/

This is making me think that the docker file is not detected by the bonder tool, could you try address the casing?

It is the casing! Changed the casing to match yours. Wow, did not expect that. Thanks for sorting this out and sorry for the inconvenience.


Removed status and navigation bar tinting functionality on Android Kitkat, because it was broken.

Hello,
I want to use this library in my app, but my app also supports kitkat devices, on which this library is a bit broken (see #76 ). Android kitkat was released before material design was a thing, so it does not support status bar tinting. Some hack used in the library seems to be broken.
So I simply removed the hack and disabled status and navigation bar tinting for kitkat and lower. Now the default status bar is used (btw. all apps use the default status bar no matter which colors they have on android kitkat and before).
I am not very familiar with kotlin and I don't know the internals of this library well, so feel free to improve this pull request and make it cleaner.
Also Fixes #76

The CI just does not like code generated by Android Studio. Should I care about it?

Instead of removing it, we should fix it. If we add tintBars() to CyaneaDelegateImplV19#setupSystemBarTinting it will fix the issue.
if (enabled) {
  activity.window.setFlags(FLAG_TRANSLUCENT_STATUS, FLAG_TRANSLUCENT_STATUS)
  if (cyanea.shouldTintNavBar) {
    activity.window.setFlags(FLAG_TRANSLUCENT_NAVIGATION, FLAG_TRANSLUCENT_NAVIGATION)
  }
  tintBars()
}


Build and test the example with bzlmod enabled.

Closed by https://github.com/tweag/gazelle_cabal/pull/68.


Preserve directory structure while including header files in extracted file...

Is your feature request related to a problem? Please describe.
Currently, headers are included as if they are in current folder. Need to preserve folder structure while including header files.

Done..


Move userId to headers

Hi , i would like to pick this one , can you give me overview on this?

@ishu-thakur
Hi!
Currently, the userId is passed as a parameter in requests. We need to move it to the request headers and fix the tests

@LukasovecSK
Yes, sure


FaceLivenessDetectorView is not showing up on screen

I am developing a Flutter App and since Amplify UI Face Liveness component is not Flutter ready yet, I am showing a native screen via platform channels, but the Swift UI view is not showing once the screen is opened.
This is my Swift UI view
import FaceLiveness
import SwiftUI

struct FaceLivenessDetectionView: View {
    var sessionId: String?
    var awsCredentials: CustomAWSCredentials?

    var body: some View {
        if let livenessSessionId = sessionId,
           let accessKeyId = awsCredentials?.accessKeyId,
           let secretAccessKey = awsCredentials?.secretAccessKey,
           let sessionToken = awsCredentials?.sessionToken,
           let expiration = awsCredentials?.expiration
           {
            FaceLivenessDetectorView(
                sessionID: livenessSessionId,
                credentialsProvider: FlutterAWSCredentialsProvider {
                    FlutterAWSCredentials(sessionToken: sessionToken,
                                          expiration: expiration,
                                          accessKeyId: accessKeyId,
                                          secretAccessKey: secretAccessKey)
                },
                region: "us-east-1",
                isPresented: .constant(true),
                onCompletion: { result in
                    switch result {
                    case .success:
                        print("Success")
                    case .failure(let error):
                        print("Error: \(error)")
                    default:
                        print("Default")
                    }
                }
            )
        } else {
            Text("Empty View")
                .font(.largeTitle)
                .foregroundColor(.white)
                .background(Color.blue)
                .edgesIgnoringSafeArea(.all)
        }
    }

I am sending all the credentials needed for the component from the Flutter side and by using a custom credentials provider
This is my custom credentials provider
import Amplify
import AWSPluginsCore

struct FlutterAWSCredentialsProvider: AWSCredentialsProvider {
    let credentials: () -> AWSCredentials

    func fetchAWSCredentials() async throws -> AWSCredentials {
        credentials()
    }
}

struct FlutterAWSCredentials: AWSTemporaryCredentials {
    var sessionToken: String
    var expiration: Date
    var accessKeyId: String
    var secretAccessKey: String
}

This is how I am displaying the Swift UI view on the screen (commented lines are another way I was trying without success)
navigationChannel.setMethodCallHandler {
            (call: FlutterMethodCall, result: FlutterResult) in
            switch call.method {
            case "startLivenesDetection":
                guard let rootViewController = UIApplication.shared.keyWindow?.rootViewController else {
                    result(FlutterError(code: "NOT_FOUND", message: "Root view controller not found", details: nil))
                    return
                }
                guard let sessionId = self.faceLivenessSessionId else {
                    result(FlutterError(code: "NOT_FOUND", message: "Face Liveness session ID is null", details: nil))
                    return
                }
                guard let awsCredentials = self.customAWSCredentials else {
                    result(FlutterError(code: "NOT_FOUND", message: "AWS Credentials are null", details: nil))
                    return
                }
                let faceLivenessController = UIHostingController(rootView: FaceLivenessDetectionView(sessionId: sessionId,
                                                                                awsCredentials: awsCredentials))
//                rootViewController.present(faceLivenessController,
//                                           animated: true,
//                                           completion: nil)
                if let window = UIApplication.shared.windows.first {
                    window.rootViewController = faceLivenessController
                    window.makeKeyAndVisible()
                }
            default:
                result(FlutterMethodNotImplemented)
            }
        }

This implementation is working Fine on Android but not on iOS
All I see in the debug console is this
3 Error: Transpose unit is not supported.
2023-05-10T11:47:20-0600 info CognitoIdentityClient : [Logging] Request: POST https:443
 Path: /
 x-amz-user-agent: aws-sdk-swift/1.0,
X-Amz-Target: AWSCognitoIdentityService.GetId,
Content-Length: 79,
Content-Type: application/x-amz-json-1.1,
User-Agent: aws-sdk-swift/1.0 api/cognito-identity/1.0 os/iOS/16.4.1 lang/swift/5.8 lib/amplify-swift/2.10.0,
Host: cognito-identity.us-east-1.amazonaws.com
 Optional([])
2023-05-10T11:47:20-0600 info SerialExecutor : [Logging] Creating connection pool for Optional("https://cognito-identity.us-east-1.amazonaws.com/?")with max connections: 50
2023-05-10T11:47:20-0600 info CRTClientEngine : [Logging] Connection was acquired to: Optional("https://cognito-identity.us-east-1.amazonaws.com/?")

Let me know if there is something else I can try or provide in order to help this issue being solved.

I'm using a pure SwiftUI context and experiencing the same white screen.

I'm using a pure SwiftUI context and experiencing the same white screen.

I saw that in the issue you opened. We need a bit more information to investigate this though. Can you please provide the info requested over in the issue you opened?

https://github.com/aws-amplify/amplify-ui-swift-liveness/issues/30

If these end up being related, we'll consolidate the issues. But until then it's best to keep them separate to make sure we can debug this properly. Thanks!

If you're not using Amplify in your project already, or don't want to add it to handle auth, you don't need to use Amplify CLI to create (or update) any backend resources.
If you're injecting a credentials provider, Amplify Auth isn't used at all.
To be clear:

Using Amplify Auth -> You shouldn't inject credentials provider. This is handled automatically.
Not using Amplify Auth -> You're responsible for credentials management and have to inject a credentials provider.

If you're not using Amplify Auth, you'll still need to provide valid AWS credentials to the component through the credentials provider. However they don't need to be sourced from Amazon Cognito.

Thanks. Yes, currently I have an AWS IAM user with this inline policy
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "rekognition:StartFaceLivenessSession",
            "Resource": "*"
        },
        {
            "Effect": "Allow",
            "Action": "rekognition:CreateFaceLivenessSession",
            "Resource": "*"
        }
    ]
}

… but it still would mean embedding the key/secret in my code - or returning them from a backend call after auth….. which still exposes them.
The use case is that I have users that are already authenticated on a dating app, and they can opt in to have their profile/account photos verified. I’m already using Recognition to detect faces match successfully, but need to add another layer to stop fake photos getting through. Hence using Face Liveness to detect real people.

On 17 May 2023, at 20:16, Ian Saultz @.***> wrote:
If you're not using Amplify Auth, you'll still need to provide valid AWS credentials to the component through the credentials provider. However they don't need to be sourced from Amazon Cognito.
—
Reply to this email directly, view it on GitHub https://github.com/aws-amplify/amplify-ui-swift-liveness/issues/28#issuecomment-1551925922, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACPXSVGG5ISHBNO6OYA573XGUPYDANCNFSM6AAAAAAX5B4OKU.
You are receiving this because you commented.

Thank you for reply @atierian.
I have tested this component in a pure Swift UI context application as you suggested it and the component is working as expected. So maybe it is something related to Flutter Platform channels.
I was even trying with Flutter Platform Views and the screen opens black but now the green dot in the status bar appears like if the camera is doing something but nothing shows up.
In the end I can not tell if the problem is completely from Flutter or if it is a combination of some sort of implementation in the Amplify library for the Face Liveness Swift UI component and Flutter.

Hi, it's been a while, I hope you're doing well.
Unfortunalety, I'm still not able to make it work.
I made a github repo with a sample project for you to test, I hope it helps.
https://github.com/Sandiverse/flutter_swift_face_liveness
I added to the readme some guidance in order to configure the project.

Thanks for the sample project link. I'll follow up here with any updates.

Hello, it's been a long time, sorry for the insistence but I would like to know if there is any update on this.

No updates yet. If you discover that there's a Flutter compatibility issue and have a root cause, please let us know and we'll see if we can address it.
Thanks for your patience.

Hi there,
I'm glad to tell that after upgrading Amplify UI Swift package to version 1.1.0 the bug seems to have dissapeared.
Now I have a completely successful hybrid implementation of this component between Flutter and Native Swift iOS.
Thank you @atierian for all your help.

That's great to hear 🎉
Thanks for letting us know!

Hi there does someone have any advices for this issue pls help?
https://github.com/aws-amplify/amplify-ui-swift-liveness/issues/52


Space Settings

In version 1.2 under "Settings -> Space", when setting the front page display to "Blank Page" this works correctly. However when selecting a specific space to land on the directory parsing seems to not work correctly and an error is displayed.
Screenshot is attached.

Did you download v1.2 directly from Github? It is not officially released yet, but I will have a look at this issue.

I reproduced the bug, thanks for filing!

Confirmed fixed, thanks!

Looks like it may not be entirely fixed. If I am logged in and I access "www.stclaresalumni.org/vr/login" it shows the admin page for a couple of seconds and then proceeds to load the selected default VR space.

Why would you want to access the login page (www.stclaresalumni.org/vr/login) when you are logged in?

It is indeed showing the admin page for a moment then redirects to the VR space. This is expected behavior, because by calling login I check if the user is logged in, so it would show the admin page, but since we are at the root of the installation it shows the selected VR space.

Sorry, my understanding was that in order to access the admin portal you have to access www.url.com/login.
When I try to access "https://www.stclaresalumni.org/vr/admin" I get an error of:
The requested URL /admin was not found on this server.
Notice that Ideaspace is installed in a subdirectory but tries to call the admin page at the root of the site, where it obviously does not exist.

I test installed it in a sub-directory as well. The behavior is as follows:
Not logged in:
If you access https://www.stclaresalumni.org/vr/admin or https://www.stclaresalumni.org/vr/login it redirects to login. I tested it with your URL.
Logged in:
If you access https://www.stclaresalumni.org/vr/admin you land on the dashboard. If you access https://www.stclaresalumni.org/vr/login you are redirected to https://www.stclaresalumni.org/vr/ (your VR space). I tested it with my install.
Let me know.

Found the problem. The difference is the final "/"
https://www.stclaresalumni.org/vr/admin - works
https://www.stclaresalumni.org/vr/admin/ - redirects to incorrect directory
Looks like Firefox adds the final / by default

I just had a look in Firefox and both /admin and /admin/ redirect to /login (not logged in user). Same behavior when you are logged in.


Will it be updated to v9?

I love your module, I would like to know if it will be updated.

I love your module, I would like to know if it will be updated.

It will, solving com IRL issues but expect this in a week or two


Remote Python Development using Spyder

Hello,
I was wondering if it is possible to use the Spyder locally (on my mac) for development on remote Linux server with all the features (such as debugging, linting, variable-explorer etc.) available? All my project files would be on the server and the code would also run on the server...
From Spyder documentation and Carlos' posts on several forums, it's clear that it's possible to run a program developed locally on a remote machine (by launching spyder kernels, etc. ), but I have been unable to find whether or not remote development and execution is possible locally?
I would appreciate it if you could let me know...
Thanks & regards,
Abhijeet

Not at the moment but we do plan to add this capability for a future version.

I'm not sure I understand correctly what you want @abhijeetbadhe, but if you have SSH access to your server, you could mount the folder on your local machine using SSHFS: https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh
I haven't done this with Spyder, as I mostly develop locally and sometimes connect to a remote kernel when I need some more computational power. But I've done it successfully with other editors in the past, and usually works like a charm!

@fohria, we'd like to provide is a more integrated experience. So users would only need to provide their SSH credentials and then we'd create a remote kernel for them, show Files placed on the remote project dir and allow files to be edited in our editor.

Using something like this https://github.com/althonos/fs.sshfs @ccordoba12 ?

Yep, seems like the right project to use.

@ccordoba12 Back when we discussed this at considerable length in the context of me writing a grant for Spyder 5 to "Army Labs" (by which I assume you meant either DARPA or ARL), with this as the headline feature, you found spurplus and recommended we use that, since it was a higher level solution than just SSHFS or paramiko alone.
By the way, after all the work we both put in on that grant, what happened to it? Did they have any feedback/suggestions for us about this remote development project? Did it even get submitted? Although I remember bugging you about it a lot, I don't recall if I ever got a clear answer; I know you were very busy at the time.

you found spurplus and recommended we use that, since it was a higher level solution than just SSHFS or paramiko alone

Both projects seem similar. We'll have to evaluate which one is better maintained and more useful for us.

By the way, after all the work we both put in on that grant, what happened to it?

Sorry but support from TDK Micronas and Kite came in and it was much better than what we proposed to Army Labs. Besides, I couldn't make the contract with them through Quansight, which was a major issue for me. So I decided not to continue talking with them.

Both projects seem similar. We'll have to evaluate which one is better maintained and more useful for us.

Yeah, and I'm not sure fs.sshfs even existed back when we had that conversation for you to consider as an option.

So I decided not to continue talking with them.

Considering I put several straight days of my volunteer time into it at your request and you emphasized its urgency and importance to me at a time when I was very busy with other high-priority things, I would really have appreciated that at the time as a straight, honest answer to my many questions about it. But at the end of the day, that's almost a year in the past and we've both learned and grown a lot since then, so hopefully our communication has improved to a point where it won't be an issue in the future. I hope that grant can still be useful, and be submitted somewhere else at some point to get this funded.

I would really have appreciated that at the time as a straight, honest answer to my many questions about it

Yeah, sorry about that. I was just in the middle of our initial talks with Kite and TDK people, so I forgot about it.

I hope that grant can still be useful, and be submitted somewhere else at some point to get this funded.

Well, basically all the ideas on how to improve our remote workflow capabilities came from it, so it was very useful just for that.

Just curious: RStudio Cloud is a browser-based RStudio -- the front end is elements (such as buttons, scroll bars, etc) that are rendered in the browser, and the back end is the R kernel on the server side.
Is it possible for Spyder to do something similar?  I don't know enough about Spyder's front end to know the feasibility.
I know the scope of this issue is only limited to connecting to a remote back end, but I'm just wondering about this possibility for the future. :)

No, it's not possible, sorry.

To expand a bit on @ccordoba12 's response, it is possible, but only in the sense that it would be a completely new frontend, sharing only the Spyder name (and perhaps some backend elements, but those are mostly lower in the stack anyway). It was possible for Rstudio because it was built on a web framework (just like VSCode is based on Electron), so it was relatively easy to port it to the web (but conversely, the Rstudio desktop interface does inherit some limitations as a consequence compared to a "true" desktop application.
While some of the panes (Help, Online Help, and the future Viewer pane) do leverage web-based rendering, Spyder as a whole is written entirely in pure Python, and the UI uses PyQt (a Qt binding for Python), powerful, full-featured desktop GUI application development library. This offers considerable advantages of performance, OS integration, and a  native experience users expect, alongside being written in the same language it is primarily used to develop to make it easy for users to contribute features and write plugins, but isn't as readily portable to the web.
However, if funding or community support is available, there have been plans to considerably expand Spyder's remote development features, including potential integration with Jupyter. Perhaps @ccordoba12 can comment on the current status of that; we've been talking about it for years but money and developer time has always been a limiting factor compared to far more lavishly funded projects like Jupyter.

Thanks for both your answers @ccordoba12 @CAM-Gerlach .
I didn't know that Jupyter is better funded than Spyder.  If I had known, I probably would have gone there and ask them: "can Jupyter implement a good variable explorer and a proper debugger, just like what they do in Spyder?"  I'm surprised that they still don't (have a variable explorer or a debugger), after this many years.
I would say the scope of this issue (i.e., kernel on the server side + front end on the client side) covers 95% of our use cases, and that's quite enough.  (The only remaining 5% use cases where we desire a full browser-based IDE is that we somehow want to code on tablets.)

They get $100 000s or millions from large companies and foundations, I'm not entirely certain where all that money goes, vs. Spyder is developed and in large part crowdfunded by the international community of its users, although it has attracted a rapidly increasing amount of grant money and corporate donations in the past couple years, mostly to implement the most-requested features by users (the two top ones which were better code completion/introspection/analysis and a better debugger, which were the two biggest major enhancements delivered in Spyder 4).

I'm surprised that they still don't (have a variable explorer or a debugger), after this many years.

Yeah, I'm not sure, considering even VSCode is getting at least basic support for that sort of thing now. It does help that Spyder is more mature than e.g. JupyterLab and written in Python, attracting a ready pool of talent and avoiding some of the hurdles of web-based development.

To expand a bit on @ccordoba12 's response, it is possible

I'd like to clarify that this is possible in theory, but we haven't considered to follow that direction at all. So, in practical terms, you're not going to see a purely web-based Spyder in the future.
However, Spyder can run on Binder. That's the closest you'll get to "run Spyder inside my browser" from us.

Personally, I routinely connect over SSH to a data centre. The files that I sometimes have to test with are in the 5-400 GB range (telescope data). Most of the new software makes use of the NVIDIA GPU resources for several different functions but spyder need not be concerned with that.
I can easily live with debugging via print and logging.debug statements as I have for a long time. But, it would be highly productive to be able to use spyder edit & code analysis on a set of Python source files as opposed to individually vi/nano and manual execution of pylint. I could even edit my configuration files, bash scripts, and C source.

I know at one point @ccordoba12 and I discussed this at length, and following that I actually wrote a grant proposal to get a set of major enhancements related to this funded for Spyder 5, as one of if not the headline new feature. @ccordoba12 had apparently found an agency interested in funding it and I managed to turn a pretty solid proposal around on a pretty short deadline, but unfortunately, for reasons that are still unclear, someone never actually sent along the proposal, so it never happened, and the funding we eventually got for Spyder 5 went in a very different direction instead (the plugin system).
However, its possible that the plugin API could be used to develop a plugin that brings better support for this to Spyder. Of the ways I remember doing it, IIRC it came down to either something like SSFS or interfacing with a Jupyter server running on the host to provide the filesystem services we needed.
@texadactyl Have you tried the existing SSHFS + connect to remote kernel approach? If you're already connecting over SSH, it should definitely be possible. I'm not 100% sure that runfile will work depending on how Spyder does the file paths, but run selection, run cell (if Copy full cell contents to the console is turned on under Preferences --> Editor --> Run Code), etc. should work since its just sending the text from the file to the console, and the various other panes should work. Heck, you can even just use Spyder for everything but the console stuff and then use console commands or the Spyder-Terminal first-party plugin to execute runfile or run your full scripts/etc. in another Python interpreter, without leaving Spyder.

@CAM-Gerlach
I am sure that I and the other software engineers (mostly undergrads) could figure out something for ourselves.  However, the scientists are not going to go for this.  I was hoping for something as simple as what Visual Studio or Jupyter provides:

Install a plugin.
Point the plugin at the SSH configuration file customised for the destination.

@ccordoba12 Looks like there are at least a couple SSHFS/like backends (e.g. sshfs, fs.sshfs, etc) package on Conda-Forge that could be used for this. How feasible would it be to create a plugin using the new API that would allow, e.g., connecting to, browsing and opening files from them via the Files/Projects pane? We already use paramiko for ssh connections to remote kernels and it sounds like one of them is based directly on it, so such a plugin could reuse a lot of the existing infra. The other component would be the plugin ensuring that the correct (remote) paths are sent to the console; its simple in theory but not sure how hard it would be with the new API.

@texadactyl, thanks for the feedback. I'd like to say that this is really top in our priority list, we asked for funding this year and didn't get, but we are expecting to get it from another source next year. Hopefully we'll have an initial solution in a year or so.

@ccordoba12 I read somewhere in Spyder's website (cannot find it again) that you all got funding to implement this functionality. Any EDA?

@raphaelchinchilla, the first part of that project (i.e. a much simplified and friendlier way to start consoles in remote servers) will be released in Spyder 6, to be released at the beginning of next year.

@ccordoba12
When you get into design, please consider that you will have several kinds of users with varying levels of experience with cryptography and security. Are you assuming that the user is solely responsible for the secure connection from the user's computer to the server that is intended for use? That is the simplest/safest from a Spyder point of view. Spyder doesn't get involved in the administration of the user's security and networking. Keep in mind that it is common to be employing multiforwarding (multiple hops through proxies) using certificates.

Are you assuming that the user is solely responsible for the secure connection from the user's computer to the server that is intended for use?

Yep, we are.

Keep in mind that it is common to be employing multiforwarding (multiple hops through proxies) using certificates.

Ok, thanks for letting us know about it. Do you know how we could set up something like that so we can test it?

I adapted this from a real-world set up that is in heavy use. Please try it out or the 3-node shortcut (no middleA node).
Assumption: Using standard SSH protocol with RSA certificates (identity file).
Nobody likes manual login from hop to hop although that is
done the first time as you are generating certificates.

Here is a typical model with 4 computers, 3 in a data centre:

   User PC -----> publoginA -----> middleA -----> pydest1
   Home           Internet         private        private
                  accessible       traffic        Python
                  (froggy.org)     monitor        development
                                                  environment

Reference: https://linuxize.com/post/how-to-setup-passwordless-ssh-login/
One can follow that script for:
* User PC to publoginA (https://www.froggy.org)
* publoginA to middleA (not Internet accessible)
* middleA to pydest1 (not Internet accessible)

Yes, you can adequately test without middleA. If doing that, adjust the configuration file.

SSH Configuration
=================

Host pydest1
  ProxyCommand ssh middleA -W %h:%p
  IdentityFile /home/frog/hopper/middleA.id_rsa
  User frog
  ForwardX11Trusted yes
Host middleA
  ProxyCommand ssh publoginA -W %h:%p
  IdentityFile /home/frog/hopper/publoginA.id_rsa
  User frog
  ForwardX11Trusted yes
Host publoginA
  HostName froggy.org
  User frog
  IdentityFile /home/frog/hopper/froggy.id_rsa
  ForwardX11Trusted yes

Connection Script
=================

USERID=frog
TARGET=pydest1
ssh -Y -F configuration-file-path ${USERID}@${TARGET}

Hi all, I understand very little of the protocols itself. However, there is something called mosh, the mobile shell https://mosh.org/, that allows the connection to the server to drop and reconnect without losing progress. If that could be integrated into Spyder... No other IDE has that

Hi @ccordoba12 , does your team have access to AWS SageMaker?  (Personal/non-profit/education accounts may be cheap-ish.)  More and more people are using SageMaker to develop/train machine learning models, so it may be good to test Spyder's remote development on SageMaker.  (They currently offer "SageMaker Studio", which is just glorified Jupyter Notebook.  And people are asking for "full-fledged IDEs" in SageMaker.)

@jsh9, we'll try to cover that use case too, i.e. connecting to a remote JupyterHub instance from a local Spyder installation to run computations on it. But that's not part of the plan of this grant.


Add Just My Code support

Add Just My Code support for supported debug engines. Syntax is -gdb-set just-my-code {0/1} for clrdbg.

Hi @orablu, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Wes Rupert). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

:+1:


keeper.ini created when using KSM_CONFIG

We initialize KSM cli using an environment KSM_CONFIG.
When we use any ksm command, the first time it will generate a keeper.ini file in the current directory.
I've noticed we can set KSM_INI_DIR to define where the file is stored. Even with this var defined, KSM will create a keeper.ini file in the current directory.
Would it be possible to prevent this file creation if the KSM_INI_DIR already contains a valid config?

I can put it down for a "feature". Is this causing problem with you or can you just delete the keeper.ini when done?

I've implemented a workaround in CircleCI orb to run keeper-related commands in another directory. So for now, it's OK ;)
But it is uncommon behavior for me, it could be an improvement. I've struggled a bit with the documentation thinking I was doing something wrong 🙈

This now exists in 1.0.10


chore: darwin-arm64 binaries

Saves a few watt-hours for people using the CLI with newer Mac hardware.

Thanks @xeger. Hope you're enjoying the new Mac.

Should we re-open this and mark it as blocked until golang 1.16 release? Also, do we need to update https://github.com/infracost/infracost#installation and https://www.infracost.io/docs/#installation ?

Indeed we do. Also I'd like to get make release running as part of the standard CI loop, to prevent late detection of broken build. (Interestingly, GitHub informed me that the release task was failing, so it must have been running that on my PR, but it wasn't indicated in the PR status anywhere, which was all green!)
Over the holiday I'll get things into shape on my fork & reopen the PR.

a user thanked us for adding Apple Silicon support, that confused me given we reverted this PR. https://formulae.brew.sh/formula/infracost looks like homebrew is building Apple Silicon versions for us?

Sorry guys, I was connected to a different Mac :/ Still not working on Apple Silicon.

Thanks for checking @ondrejsika, I created https://github.com/infracost/infracost/issues/428 so we track it, looks like go 1.16 is being released today: https://golangtutorial.dev/news/g-1.16-comming/


Enable the verifier in testnet

Test running OP stack in verifier mode instead of sequencer mode.

Closing as a duplicate


Positioning or Transforming Text within a Node doesn't work

This may be as much an issue of documentation as of code, but I'm trying to center a single character within a square node with the following code:
commands
        .spawn(
            NodeComponents {
                style: Style {
                    size: Size::new(Val::Px(64.0), Val::Px(64.0)),
                    border: Rect::all(Val::Px(2.0)),
                    position_type: PositionType::Absolute,
                    position: Rect {
                        left: Val::Px(64.0),
                        right: Val::Px(64.0),
                        top: Val::Px(64.0),
                        bottom: Val::Px(64.0),
                    },

                    // I expect one of these to center the text in the node
                    align_content: AlignContent::Center,
                    align_items: AlignItems::Center,
                    align_self: AlignSelf::Center,

                    ..Default::default()
                },
                material: materials.add(Color::rgb(0.4, 0.4, 0.4).into()),
                ..Default::default()
            }
        )
        .with_children(|parent| {
            parent
                .spawn(TextComponents {
                    text: Text {
                        value: "0".to_string(),
                        font: font_handle,
                        style: TextStyle {
                            font_size: 64.0,
                            color: Color::WHITE,
                        }
                    },

                    // I would expect this to horizontally stretch the text within the node
                    transform: Transform::from_non_uniform_scale(Vec3::new(2.0, 1.0, 1.0)),
                    ..Default::default()
                });
        })
    ;

However, what I get is just this:

The stretch transform seems to do nothing and neither do any of the align attributes.

Hello, here's an updated runnable example, but with one line which fixes a problem. Since bevy relies on strectch and just translates its own types, there's nothing we can currently do. I think that the issue should be covered by one of UI RFCs and make composition much easier and more obvious, perhaps should be covered by bevyengine/rfcs#22. @alice-i-cecile, correct me if I'm wrong.
To align the text use justify_content: JustifyContent::Center.
use bevy::prelude::*;

fn main() {
    App::build()
        .add_plugins(DefaultPlugins)
        .add_startup_system(setup.system())
        .run();
}

fn setup(
    mut commands: Commands,
    asset_server: Res<AssetServer>,
    mut materials: ResMut<Assets<ColorMaterial>>,
) {
    // ui camera
    commands.spawn_bundle(UiCameraBundle::default());
    commands
        .spawn_bundle(NodeBundle {
            style: Style {
                size: Size::new(Val::Px(64.0), Val::Px(64.0)),
                border: Rect::all(Val::Px(2.0)),
                position_type: PositionType::Absolute,
                position: Rect {
                    left: Val::Px(64.0),
                    right: Val::Px(64.0),
                    top: Val::Px(64.0),
                    bottom: Val::Px(64.0),
                },

                // I expect one of these to center the text in the node
                align_content: AlignContent::Center,
                align_items: AlignItems::Center,
                align_self: AlignSelf::Center,

                // this line aligns the content
                justify_content: JustifyContent::Center,

                ..Default::default()
            },
            material: materials.add(Color::rgb(0.15, 0.15, 0.15).into()),
            ..Default::default()
        })
        .with_children(|parent| {
            parent.spawn_bundle(TextBundle {
                text: Text::with_section(
                    "0",
                    TextStyle {
                        font: asset_server.load("fonts/FiraSans-Bold.ttf"),
                        font_size: 64.0,
                        color: Color::WHITE,
                    },
                    // Note: You can use `Default::default()` in place of the `TextAlignment`
                    TextAlignment {
                        horizontal: HorizontalAlign::Center,
                        ..Default::default()
                    },
                ),

                // I would expect this to horizontally stretch the text within the node
                //transform: Transform::from_scale(Vec3::new(2.0, 1.0, 1.0)),
                ..Default::default()
            });
        });
}

I agree with @YohDeadfall's assessment here: this is basically impossible to fix directly :(
I'm going to close this for now; making sure we have a better UI solution to avoid awful edge cases like this is a high priority to me but is going to require a full, thoughtful solution.