Update default property on Email Config nodes

Created by: @bakkelim Jul 15 2021 at 08:43 CET
Last updated: Jul 18 2022 at 11:19 CET
ClickUp ID: IK-1295
Assigned in ClickUp to: Bohumil Pospíšil
When setting default property to true for an email config, all other email config on same location (tenant, app_space, customer) needs to have their default set to false. There can only be one email config node with default set to true on same location.
Defaultable node labels are: AuthFlow, EmailNotification, SMSService (https://miro.com/app/board/o9J_kunpuh4=/?moveToWidget=3074457361358743052&cot=14)
Cypher script that helps to check value of default properties:
MATCH (x)-[:HAS]->(n)
WHERE [x IN LABELS(n) WHERE x IN ['AuthFlow', 'EmailNotification']]
RETURN x.id, LABELS(x), COLLECT(LABELS(n)), COLLECT(n.id), COLLECT(n.default)
Implementation
EmailNotification nodes have missing property default.
Script import\schema\v1.2.1\05_up_config_revision.cypher (impemented in task: )
Add missing property to nodes with label EmailNotification {default: true}).
Code Documentation
Set node property default: true and other nodes on the same location to false
Set node property default: true and other nodes on the same location will be deleted
Input Parameters:

config_id (int64) ... an internal id of the config object). Supported defaultable node labels are AuthFlow, EmailNotification.
mode (‘update’ … set node property default: true and others to false, ‘delete’ set node property default: true and others node will be deleted)

Return Object: {

config_id (int64) (null … if config_id doesn't exist, config_id ... if update nodes properties/delete was succesful)

Sample parameters:
As the cypher uses an internal node id you have to find the id using the following query and substitute XXX with the result of this query:
// Customer scope – EmailNotification – two nodes
// MATCH (n {id: 'WCSZsnQAQH2chmDkhCDlwQ'}) RETURN id(n) AS config_id
// XXX = 180
:params {config_id: XXX, mode: 'UPDATE'}
// PROFILE: Cypher version: CYPHER 4.2, planner: COST, runtime: SLOTTED. 48 total db hits in 77 ms
// MATCH (n {id: 'vv1pxCQJTxOe1NDaocq_Tw'}) RETURN id(n) AS config_id, n.id AS id
// XXX = 176
:params {config_id: XXX, mode: 'UPDATE'}
// PROFILE: Cypher version: CYPHER 4.2, planner: COST, runtime: SLOTTED. 48 total db hits in 4 ms.
// Customer scope – EmailNotification – two nodes
// MATCH (n {id: 'vv1pxCQJTxOe1NDaocq_Tw'}) RETURN id(n) AS config_id
// XXX = 176
:params {config_id: XXX, mode: 'DELETE'}
// PROFILE: Cypher version: CYPHER 4.2, planner: COST, runtime: SLOTTED. 48 total db hits in 14 ms
// Customer scope – EmailNotification - config doesn't exist
:params {config_id: -1, mode: 'DELETE'}
// PROFILE: Cypher version: CYPHER 4.2, planner: COST, runtime: SLOTTED. 1 total db hits in 3 ms
// AppSpace scope – EmailNotification - one node
// MATCH (n {id: 'CKPw_QkBSF-omlOHYJw3ug'}) RETURN id(n) AS config_id
// XXX = 175
:params {config_id: XXX, mode: 'UPDATE'}
// PROFILE: Cypher version: CYPHER 4.2, planner: COST, runtime: SLOTTED. 23 total db hits in 2 ms.
// AppSpace scope – EmailNotification - one node
// MATCH (n {id: 'CKPw_QkBSF-omlOHYJw3ug'}) RETURN id(n) AS config_id
// XXX = 175
:params {config_id: XXX, mode: 'DELETE'}
// PROFILE: Cypher version: CYPHER 4.2, planner: COST, runtime: SLOTTED. 23 total db hits in 3 ms.
// Tenant scope – EmailNotification - one node
// MATCH (n {id: 'AzQIScUYQZ6ghcnmlBcerg'}) RETURN id(n) AS config_id
// XXX = 174
:params {config_id: XXX, mode: 'UPDATE'}
// PROFILE: Cypher version: CYPHER 4.2, planner: COST, runtime: SLOTTED. 27 total db hits in 3 ms.
// Tenant scope – EmailNotification - one node
// MATCH (n {id: 'AzQIScUYQZ6ghcnmlBcerg'}) RETURN id(n) AS config_id
// XXX = 174
:params {config_id: XXX, mode: 'DELETE'}
// PROFILE: Cypher version: CYPHER 4.2, planner: COST, runtime: SLOTTED. 27 total db hits in 2 ms.
Query:
OPTIONAL MATCH (res)
WHERE ID(res) =  $ config_id
AND [x IN LABELS(res) WHERE x IN ['AuthFlow', 'EmailNotification']]
WITH res
SET res.default = true
WITH res
OPTIONAL MATCH (res)<-[:HAS]-(a)-[:HAS]->(other)
WHERE apoc.coll.sort(LABELS(res)) = apoc.coll.sort(LABELS(other))
WITH res, other
CALL apoc.do.case([
other IS NOT null AND  $ mode = 'UPDATE',
' SET other.default = false
RETURN ID(res) AS id',
other IS NOT null AND  $ mode = 'DELETE',
' DETACH DELETE other
RETURN ID(res) AS id'
],
'RETURN ID(res) AS id',
{res: res, other: other})
YIELD value AS value
RETURN {
id: value.id
}

Commented by: @Bohumil Pospíšil Jul 19 2021 at 11:39 CET
@bakkelim please before I will start with implementation could you check a description of an interface: https://app.clickup.com/t/2556282/IK-1295?block=block-db8b55b0-9755-4178-bf87-c2bcabe72381https://app.clickup.com/t/2556282/IK-1295?block=block-db8b55b0-9755-4178-bf87-c2bcabe72381

Commented by: @Bohumil Pospíšil Aug 13 2021 at 09:08 CET
@yetizer please, could you make a review?


[SQL-222] Admin logout endpoint

Implement a /admin/account/logout endpoint that revokes the user's current JWT. The revocation is implemented using a blocklist implemented in the SQL database, that is purged of expired tokens whenever an insert or delete is performed on it.
Important refactors:

Extracted out JWT decoding and verification functions from validate-jwt interceptor
JWT decoding functions now return maps instead of scalars
Surround admin route tests with try-finally blocks

Re-drafted to rework the blocklist table to store the JWTs directly


Custom DHT

First just to clarify, if I create a new drive it will be advertised in the public holpunch DHT?
I see correctly that i could host this dht myself?
Like this: hyperdht --bootstrap --host (server-ip)
So how do i advertise a drive in my private DHT?
Im asking for a private network, where I want my own data to be seeded as backups on multiple devices.

First, I'd say don't worry about your own DHT network, you don't need that for what you're describing. Data of the Hyperdrive is not stored in the DHT, so the setup will be the same with or without your own DHT. Although, you're welcome to experiment and/or spin up a node in the main DHT network :)
Hyperdrives are private by default. If you're seeding the drive, that's only advertising the discovery key (hash of the public key) in the DHT network and this is safe, so no one can read your drive unless someone has the public key
You can use the drive's public key yourself to replicate it several times as form of backups
Discovery key = discovery purposes
Public key = read capabilities (starts as private but you can share it)
Secret key = write capabilities (don't share it or else haha)

If happens that you actually need the --bootstrap option let me know, we can add it

Thanks for the quick reply.
I think a bootstrap option would be great for (like in my case) offline/private networks with no access to the internet - but access to the nodes.
:) i couldn't find any guide on how to host a drive/dht (in a production scenario), is there any documentation on how to do so?


chore(deps): lock file maintenance

/cc @clarkdo regarding new action to auto update snapshot :cat:

The only problem is that it is not testing after it's commit


Awesome Book Peer review

After reviewing your project we found the following issues:

Readme.md file is not professional. Kindly stick to the Microverse Readme Template.
After refreshing the page your local storage does not return the added inputs.
https://github.com/coderacheal/Awesome-Books/blob/removeFunction/script.js#L57
Please check the above line to rectify the issue.

Kindly refer to this link for reference on local storage.

Issue fixed


NarrowPublicClassMethodParamTypeRule: wrong error when method is called recusively

Example:
public function myMethod(string $Id, int $recursive_round = 1): ?array
{
    [...]

    return self::myMethod($Id, 2);
}

Error wrongly reported: Parameters should have "string" types as the only types passed to this method
Actually, the error message is misleading (reported here: https://github.com/rectorphp/type-perfect/issues/35#issuecomment-2217169072) but also wrong. The parameter should not be removed from the method signature.

Hi,
I'm encountering a similar issue, but in a different context. Here's the situation 😄
Method Definition
public function authenticate(string|false $code = false): ?string

Reported Error
Parameters should have "string|false" types as the only types passed to this method

In my project, I have only two calls to this method:
$accessToken = $this->service->oauth()->authenticate($code);
// and
$accessToken = $this->service->oauth()->authenticate();

Expected Behavior
I expect no error because false is the default value.
Temporary Solution
To resolve this issue for now, I am explicitly setting the default value to false:
$accessToken = $this->deezerClient->oauth()->authenticate(false);


Opencv3.0.0‘s bug of  imread function

My platform is windows 64bit,visual stdio 2013,i am using the opencv2.4.11 and opencv3.0.0
to test the imread function.And I have find that use the opencv3.0.0 to read *.jpg
image file will produce the different result with use the opencv2.4.11.I guess maybe  the opencv3.0.0
imread() function's decompression has wrong.

imreadBug.zip

#include "stdafx.h"
#include <opencv/cv.h>
#include <opencv2/opencv.hpp>
#ifdef _DEBUG
#define lnkLIB(name) name "d"
#else
#define lnkLIB(name) name
#endif
#define CV_VERSION_ID CVAUX_STR(CV_MAJOR_VERSION) CVAUX_STR(CV_MINOR_VERSION) CVAUX_STR(CV_SUBMINOR_VERSION)
#define cvLIB(name) lnkLIB("opencv_" name CV_VERSION_ID)
#pragma comment( lib, cvLIB("core"))
#pragma comment( lib, cvLIB("imgproc"))
#pragma comment( lib, cvLIB("highgui"))
#if CV_MAJOR_VERSION == 3
#pragma comment(lib,  cvLIB("imgcodecs")) //the opencv3.0 need it
#endif
#if CV_MAJOR_VERSION == 2
#pragma comment(lib, cvLIB("contrib"))
#endif
using namespace cv;
using namespace std;
void read_save(string imgPath)
{
Mat img;
img = imread(imgPath);
string savePath = "";//what you want to save path
imwrite(savePath, img);//save the image to *.png format

}
int _tmain(int argc, _TCHAR* argv[])
{
////////////first step./////////////////////
string path_openCV2411;
read_save(path_openCV2411);//use the opencv2.4.11 to read and save the image.

////////////second step./////////////////////
//comments the first step code and then use the opencv3.0.0 to read and save this image;
//string path_openCV300;
//read_save(path_openCV300);//use the opencv3.0.0 to read and save the image.

Mat img_openCV2411, img_openCV300;
Mat difMask;

img_openCV2411 = imread("str_opencv2411.jpg");//use opencv 2.4.11 read the *.jpg image
img_openCV300 = imread("str_opencv300.jpg");//use opencv3.0.0 read the *.jpg image

compare(img_openCV2411, img_openCV300, difMask, CMP_NE);
imshow("difference", difMask);

return 0;

}

Could your attach original .jpg image to reproduce issue?

1.use opencv2.4.11 to read it and then save it with .png format(eg. save as img2411.png)
2.use opencv3.0.0  to read it and then save it with .png format (eg. save as img300.png)
3.read this two *.png image file
4.compare it with compare() function you will find there are too difference.

Please add "Media I/O" block output of this statement for both 2.4 and 3.0 programs:
std::cout << cv::getBuildInformation() << std::endl << std::endl << std::endl;

Like this:
General configuration for OpenCV 2.4.12 =====================================
...
Media I/O:
    ZLib:                        /lib64/libz.so (ver 1.2.8)
    JPEG:                        libjpeg (ver 62)
    PNG:                         /lib64/libpng.so (ver 1.6.19)
    TIFF:                        /lib64/libtiff.so (ver 42 - 4.0.4)
    JPEG 2000:                   /lib64/libjasper.so (ver 1.900.1)
    OpenEXR:                     build (ver 1.7.1)

General configuration for OpenCV 3.1.0-dev =====================================
...
 Media I/O:
    ZLib:                        /lib64/libz.so (ver 1.2.8)
    JPEG:                        libjpeg (ver 90)
    WEBP:                        build (ver 0.3.1)
    PNG:                         /lib64/libpng.so (ver 1.6.19)
    TIFF:                        /lib64/libtiff.so (ver 42 - 4.0.4)
    JPEG 2000:                   /lib64/libjasper.so (ver 1.900.1)
    OpenEXR:                     build (ver 1.7.1)
    GDAL:                        NO

In this configuration I'm able to reproduce problem.
I believe problem is here: libjpeg (ver 62) and libjpeg (ver 90). It can be easily resolved on Linux by installing system libjpeg library and use it in both versions:
JPEG:                        /lib64/libjpeg.so (ver )

In this case problem is gone.
But for Windows there is no easy way (build libjpeg on Windows and after that build OpenCV with it).
BTW, If you want to have bit-exact results then you should use lossless formats like PNG.

BTW libpng got an update recently on the 3.0 branch so this results into the same problems as described above for the jpeg library.

@Dikay900 Philip, you are possible right (I'm able to reproduce problem with JPEG replacement only, PNG library is system in my case).
To minimize sources of problems it is prefered to use other ways to dump Mat values (instead of imwrite), like cv::FileStorage or simple dump to stdout (std::cout << img << std::endl);

Didn't see any problems with these minimal changes anyway since there is no further problem described resulting from these incompatibilities.
@DengPingFan if you got more problems with these incompatibilities please let us know else just use the mat dumping like @alalek described above

@alalek  @Dikay900 Thanks a lot


[DOCS] Add .js.flow documentation

This is old page about .js.flow repurposed

/cc @nmote

lol, this is exactly on leap year


CAMEL-10306: Upgrade from 3.6.5 to 3.7.1

Updating hazelcast.
There are some test failure, Can you help me?

https://issues.apache.org/jira/browse/CAMEL-10306

Thanks for the PR it has been merged. Do you mind closing this?

Thanks a lot!


Cow: Watch sinoseen.com

Cow requests the watch of the watch_keyword sinoseen\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

sinoseen\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Not able to download the pretrained models from the given path

Thanks for sharing your work. I am trying to reproduce your results; but I am not able to download your pretrained model using
wget -P $MODELDIR http://<IP_ADDRESS>:8787/checkpoints/msrvtt10k_model_best.pth.tar
the web page is not responding. Kindly help me in resolving this issue.

Fixed. If you have any other questions, please feel free to contact us.

Still not able to download
wget -P $MODELDIR http://<IP_ADDRESS>:8787/checkpoints/msrvtt10k_model_best.pth.tar
the web page is not responding. Kindly help me in resolving this issue.

Fixed. The trained checkpoints can also be downloaded from Baidu pan (URL, password:p3p0).

Please use the new url.
wget -P $MODELDIR http://<IP_ADDRESS>:8787/tpami2021/checkpoints/msrvtt10k_model_best.pth.tar


Feature that allows axis inside the plot

See discuss under issue #31

Any idea how to inset chart axis and labels while its not implemented?

The fastest way, you may already know is draw it yourself. Since Plotters expose full drawing API to developer.
Things may be helpful to you is:
First, we can use this https://docs.rs/plotters/0.2.7/plotters/chart/struct.ChartContext.html#method.plotting_area To get the plotting area.
Then, you can use https://docs.rs/plotters/0.2.7/plotters/drawing/struct.DrawingArea.html#method.draw to draw anything you want on to it.
So the thing may looks like:
      let mut chart ....;
      let pda = chart.plotting_area().strip_coord_sepc();
      let range: RangedCoordi32 = (0..100).into();
      for y in range.key_points(5) {
                // In here we get desired location for the tick marks.
                pda.draw(.....);
      }

Hopefully you can draw anything you want. Feel free to ask me if you have any question :)

I have almost done this feature.
Hope will PR soon...

Merged #50


upload 000057-fury.pb as evaluation target

Propose to use 000057-fury.pb as evaluation target.   Its win rate over leela in Christian's repo 51%.
Black win rate: 40%
White win rate: 62%

Thanks! I've uploaded the 000057-fury.pb to GCS as gs://tensor-go-ml-perf/models/9x9/target.pb


XL Coworking / Dropins Launch

This PR introduces some foundational pieces for XL Coworking with full-stack functionality for drop-ins to Sitterson 156.
It adds a number of entities (Operating Hours, Rooms, Seats, Reservations) and join tables. A migration script is included for adding these tables to the production database, as well as a script to populate some launch week operating hours (backend.script.deployments.coworking_launch).
The backend functionality is looking toward reservable desks and rooms but is not fully realized.
When open, the home page looks as follows:

Clicking one of the available resources, leads to a reservation editor:

Ambassadors see a check-in screen:

Upon check-in, students see the following screen:

After checkout:

YOLO launch :) 🥳


Ability to opt in for news in my area

Add checkbox to profile-page where one can opt in to receive occasional news about conferences, vue-meetups and job opportunities in "my" locality.

@torbent  Set to false  for the already registered user and pre-set to on for new ones. Correct?


[Snyk] Security upgrade jsonld-signatures from 6.0.0 to 8.0.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

backend/certificate_signer_library/package.json
backend/certificate_signer_library/package-lock.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

586/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Open Redirect SNYK-JS-NODEFORGE-2330875
Yes
Proof of Concept

529/1000  Why? Has a fix available, CVSS 6.3
Prototype Pollution SNYK-JS-NODEFORGE-2331908
Yes
No Known Exploit

494/1000  Why? Has a fix available, CVSS 5.6
Improper Verification of Cryptographic Signature SNYK-JS-NODEFORGE-2430337
Yes
No Known Exploit

579/1000  Why? Has a fix available, CVSS 7.3
Improper Verification of Cryptographic Signature SNYK-JS-NODEFORGE-2430339
Yes
No Known Exploit

494/1000  Why? Has a fix available, CVSS 5.6
Improper Verification of Cryptographic Signature SNYK-JS-NODEFORGE-2430341
Yes
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Commit messages

Package name: jsonld-signatures
    The new version differs by 38 commits.

50c9490 Release 8.0.0.
0124c1f Update changelog.
fb389b5 Remove node-forge and env script.
d696834 Remove bae64url dependency.
4abb222 Add document's context or security context to proof in canonize.
2c98a2f Do not insert security context into proof.
d8cbe8b Update to latest jsonld lib.
497c6c3 Update README.md (edit badges)
a134d0a Remove deleting proof context, reformat.
cbfe8a6 Remove proofProperty internal variable.
5b82450 Remove _getTypeInfo() - not used anymore.
973d1eb Remove compactProof param everywhere.
0936cf7 Remove compactProof code from ProofSet.add().
11da4be Remove stray .npmrc.
b66978a Update CHANGELOG.md (formatting)
0cb7008 Temporarily disable jsdoc linting.
1b8c855 Update CHANGELOG, drop unneeded dependency.
833ae48 Update README for new version.
6a00bf4 Fix test matrix.
bed9a1d Update karma config, refactor, remove unneeded util code.
1985d8f Reset tests, hook up eslint to test script.
3ed2a62 Remove extracted suites.
aa5b5ee Use crypto-ld v4.
1ea4a81 No longer export crypto-ld classes.

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Open Redirect
🦉 Prototype Pollution

Hi Gajendra,
I'm not part of this project. Remove mmy id from this. It's spamming out my inbox.
ThanksInduprasad
Sent from Yahoo Mail on Android
On Wed, 22 Jun 2022 at 1:01 PM, @.***> wrote:
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to fix one or more vulnerable packages in the npm dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

backend/certificate_signer_library/package.json
backend/certificate_signer_library/package-lock.json

Vulnerabilities that will be fixed
With an upgrade:
| Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity |
|  | 586/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.3 | Open Redirect
SNYK-JS-NODEFORGE-2330875 | Yes | Proof of Concept |
|  | 529/1000
Why? Has a fix available, CVSS 6.3 | Prototype Pollution
SNYK-JS-NODEFORGE-2331908 | Yes | No Known Exploit |
|  | 494/1000
Why? Has a fix available, CVSS 5.6 | Improper Verification of Cryptographic Signature
SNYK-JS-NODEFORGE-2430337 | Yes | No Known Exploit |
|  | 579/1000
Why? Has a fix available, CVSS 7.3 | Improper Verification of Cryptographic Signature
SNYK-JS-NODEFORGE-2430339 | Yes | No Known Exploit |
|  | 494/1000
Why? Has a fix available, CVSS 5.6 | Improper Verification of Cryptographic Signature
SNYK-JS-NODEFORGE-2430341 | Yes | No Known Exploit |
(*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: jsonld-signatures The new version differs by 38 commits.

50c9490 Release 8.0.0.
0124c1f Update changelog.
fb389b5 Remove node-forge and env script.
d696834 Remove bae64url dependency.
4abb222 Add document's context or security context to proof in canonize.
2c98a2f Do not insert security context into proof.
d8cbe8b Update to latest jsonld lib.
497c6c3 Update README.md (edit badges)
a134d0a Remove deleting proof context, reformat.
cbfe8a6 Remove proofProperty internal variable.
5b82450 Remove _getTypeInfo() - not used anymore.
973d1eb Remove compactProof param everywhere.
0936cf7 Remove compactProof code from ProofSet.add().
11da4be Remove stray .npmrc.
b66978a Update CHANGELOG.md (formatting)
0cb7008 Temporarily disable jsdoc linting.
1b8c855 Update CHANGELOG, drop unneeded dependency.
833ae48 Update README for new version.
6a00bf4 Fix test matrix.
bed9a1d Update karma config, refactor, remove unneeded util code.
1985d8f Reset tests, hook up eslint to test script.
3ed2a62 Remove extracted suites.
aa5b5ee Use crypto-ld v4.
1ea4a81 No longer export crypto-ld classes.

See the full diff
Check the changes in this PR to ensure they won't cause issues with your project.
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Open Redirect
🦉 Prototype Pollution
You can view, comment on, or merge this pull request online at:
https://github.com/egovernments/DIVOC/pull/1141
Commit Summary

5dbdd74 fix: backend/certificate_signer_library/package.json & backend/certificate_signer_library/package-lock.json to reduce vulnerabilities

File Changes
(2 files)

M backend/certificate_signer_library/package-lock.json (323)
M backend/certificate_signer_library/package.json (2)

Patch Links:

https://github.com/egovernments/DIVOC/pull/1141.patch
https://github.com/egovernments/DIVOC/pull/1141.diff

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Tweak padding on highlighted headings

Trello card
Trello-3348
Context
These headings have a highlight/background over multi-line text; we're finding on some browsers the highlighting of the next line overlaps the text of the previous. Tweaking the padding to be slightly less should improve this.
Changes proposed in this pull request

Tweak padding on highlighted headings

Guidance to review

Looks good to me - however, I can't replicate the original issue so will leave for @peteryates to test as flagged the original problem

I'm still seeing it. Maybe it's just a Firefox thing.
Here's Chrome on the left, Firefox on the right:

Given that this now appears to relate to a very small subset of users (see Trello ticket) and the page is still readable for those users, I'm happy for this to be closed @ethax-ross

Closing as this is only effecting Linux users, which make up a very small portion of our traffic and the text is still readable even with the slight visual glitch.


Inquiry Regarding Privacy Compliance

I hope this message finds you well. I'm currently using your library GLTFKit2 in my iOS application, and I'm seeking clarification regarding its privacy implications.
As part of Apple's requirement for iOS applications, it's essential to ensure compliance with privacy guidelines and to be transparent with users about any data collection or usage. Thus, I'd like to inquire about whether GLTFKit2 collects any user data or accesses sensitive user information.
More info: Privacy Manifest
Request for Clarification:
Could you please provide clarification on the any privacy implications of using GLTFKit2. Any insights or guidance you can offer would be greatly appreciated.
Thank you for your attention to this matter. I look forward to your response.

Thanks for the question. GLTFKit2 does not collect any user data, nor does it access any sensitive user information.
The binary distributions of GLTFKit2 are provided for the convenience of Swift Package Manager users and do not differ substantively from what would be produced by compiling the framework on your own machine—with the singular exception that the framework links against libktx by default so that the framework consumer doesn't have to compile it themselves.
I'm happy to address any further concerns you might have in this issue. I take user privacy extremely seriously and want to be completely transparent about what goes into the source and binaries I distribute.


Update system-resource-allocation.md

Needs some updates for UWP on Xbox Series X|S

@walbourn : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@walbourn : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

I'm going to restart this PR as I have some related changes as well as to resolve conflicts


Show escaped strings as unescaped

Original json encoded source:
{"href":"\/some\/path\/here"}

In extension this string looks escaped too, so I can't copy or click it. Please, show it as decoded.

I will have to think about this problem. I will probably have to decode some strings. Thanks.

I managed to fix this problem. I'll release another version this week.


Why the bot not chooses the nearest pokestop ?

I start in a location with a pokestop at 50 meters, why it chooses a pokestop far from here ?
python pokecli.py -a google -u *** -p *** --location "Pont Boieldieu, 76000 Rouen" -w 2.5 --spinstop
-> Found fort 69d333ccf5574064a350752d4ef74706.16 at distance<PHONE_NUMBER>12m
An other thing, egg hatching seems not working... Meters aren't counted.

@vincentbeutin because right now there's not a lot of work on how we choose PokeStops. If you look at bot.py:40 you will see that we just get a list for the server and than literally walk from stop to stop in this list. Feel welcome to improve it to walk to the nearest pokestop, it's a bit late for me and I gotta get some sleep. Maybe I'll work on it tomorrow.

@douglascamata That's what I thought. I'll try to do something.
Do you have any idea for the second problem ? (egg hatching)

No idea for egg hatching, I'm sorry. I just started playing this afternoon.

the stop issue is a duplicate of #141 , while the egg hatching is not implemented yet at current time.

Duplicate of https://github.com/PokemonGoF/PokemonGo-Bot/issues/141
/closed


js field only exists when it should be written

As I understand, JS file wouldn't be written when if there are no scripts and alwaysWriteScript is false. However, latest version of crisper always returns js field with length 0. I think, to be more clear, js field only exists when it should be written. js filed with length 0 means a empty file to write with zero size.

Close


Bookstore: styling

Project requirements
In this PR I made the following:

I added some missing JSX elements to your project (without adding extra functionality).
I followed and matched Zeplin's design (this includes all elements + the same styling).
I used the CSS rules detailed in Zeplin to style the website.

Thank you for the feedback @MahmoudBakr23.


TITAN-335: do not format inputValue when onChange

to fix issue: https://github.com/MYOB-Technology/myob_widgets/issues/460

Hi @timweightman it's actually a simple change, however, some test fixing and refactoring code may make it a bit confusing, I can go through the change with you if you want, cheers 😄

I trust you ;)


Need to specify fetching of relationships

I believe relationship URLs MUST support GETs. We need to clarify responses for to-one and to-many relationships.


OCPBUGS-43186 : runc library bump to 1.1.12

runc golang package is bumped from 1.1.9 to 1.1.12 to fix the CVE-2024-21626

/jira refresh

/jira refresh

/test unit


Tasks related to 4.3.0 doc release

Description
Created this issue to track the tasks related to the MI 4.3.0 doc release.
Reference: MI 4.3.0 Doc Release Checklist

@DinithiDiaz are we done with these tasks?

Closing this issue since the release-related tasks are completed. The remaining tasks will be tracked by separate doc issues.


BUG/Feature Request: Progressive web apps are still shown as a window of my browser

I use Microsoft Edge and have several PWAs installed on my machine. However, when I attempt to switch between them using Alt + ` or Alt + Caps Lock (my app switching shortcut), the apps do not display their individual icons. Instead, they all show the Edge logo on the app switching screen. This makes it difficult to switch between them, which is one of the main reasons I chose to use this program. I would like to request the developers to add this feature as soon as possible.

PWAs are essentially web pages. The window-switcher has no way to differentiate them.

I strive to remain respectful as I do not pay for this software and I am not a developer. However, in my view, closing an issue without due consideration is not acceptable. But it is not impossible. I raised this issue because I utilize Progressive Web Apps (PWAs) as standalone applications; otherwise, I would simply use the web browser instead for those tasks. I want them to be separated from my browser windows and it is the main reason people use PWAs. Using the default system alt+tab displays PWAs as individual apps. My sole request is for this program to align with the system's behavior.

The reason why this issue page exists to ask the devs to bring up features and fix bugs and not to deny them.


fix: change SPARQL to account for negative lat/long

resolves #1495

Please add scope (apis_entities) to the commit message


handle_play_like_call decorator to use functools.wraps

this is a remake of https://github.com/3b1b/manim/pull/1204 on the current master
this way, decorated methods - typically Scene.play - have a decent docstring
so first-time users can use help()

that's right, I had proposed to take care of that in my initial PR, but had forgotten about all this in the meanwhile :)
I am in no position to test all  this though at this time, the code I had written in summer last year looks broken with the current version (where is the Paragraph class now ?), and I could not spot any automated tests (did I miss them ?)
in any case, here you go ...

This version has been developed since last year, so Paragraph and Code are not included in it. For testing, 3b1b/manim probably has never had a well-formed and complete test. But ManimCommunity/manim has.

are you suggesting I use the community version instead if I need Paragraph and Code ? otherwise where shoud I grab them ?
more generally, I was not aware of these 2 flavours, where should I read about that do get up to speed ?
many thanks for the feedback !

It may be that Paragraph and Code were mistakenly missed when merging shaders branch into master, but you can still use the old version that contains them in the cairo-backend branch now.
For ManimCommunity/manim, there is a big difference between the two versions at present, and there is a brief description of the difference in #1243. These two versions all have advantages, which one you use depends on you.
If you want to talk more, maybe you can start a discussion instead of this pr.


Recently Added repeats the location name rather than displays a date

Example:
Atlantis was added to Paola's Pizza Barn (Sandy)
Paola's Pizza Barn (Sandy)
But that second "Paola's Pizza Barn (Sandy)" should instead display the date the machine was added.

This should do it: https://github.com/scottwainstock/pbm-ios/commit/dd6402e02d53f352f6782170a2d9d33a70500800
(for the record, this screen has always worked this way... so this is an old bug that I'm fixing)

Thanks. I don't know why, but when I noticed this I thought it was really funny. I was like, "something's missing on this screen.... oh!"

Yeah I looked right at it when I was fixing some unrelated bug and didn't
even notice...
On Tue, Jan 24, 2017 at 9:01 AM, RyanTG<EMAIL_ADDRESS>wrote:

Thanks. I don't know why, but when I noticed this I thought it was really
funny. I was like, "something's missing on this screen.... oh!"
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/scottwainstock/pbm-ios/issues/102#issuecomment-274867314,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAK-LSzE4jAIcNjbPnfp11Y4uS2F4mHpks5rVi5xgaJpZM4Lr02i
.


Zone config override issue

Hi,
As I try to override config (e.g. "device class":"door" or "name": "xxxx") for a given zone, it changes it for several other random zones. I think it depends from zone label as I tried configuring several different zones (one at a time) and it does that only for some...for example if i configure it like this:
"zones": {
  "default": {
    "off_delay": 0,
    "name_prefix": "Sensor "
  },
  "Porta Ingresso": {
    "device_class": "door"
  }

it changes class to door for a bunch of other random zones
while if i configre it like this:
"zones": {
  "default": {
    "off_delay": 0,
    "name_prefix": "Sensor "
  },
  "Tamper SIR": {
    "device_class": "tamper"
  }

the configuration is fine and it doesnt change class to other zones.
It does the same thing with "name"
let me know if u need logs for this
Configuration

Environment: Addon
Version: 0.3.8
Mode: direct
Command line (if not running as HA Addon):
Risco Panel model: ProSYS Plus
Risco Panel firmware version: <IP_ADDRESS>0

I have seen this too.  I updated entity names manually in Home Assistant.  This was a one-time change.   Here's my config.json excerpt:
    "Utility Door": {
      "off_delay": 0,
      "device_class": "door",
      "name": "Utility door",
      "name_prefix": ""
    },
     "Utility Window": {
      "off_delay": 0,
      "device_class": "window",
      "name": "Utility window",
      "name_prefix": ""
    },
    "Kitchen LH Window": {
      "off_delay": 0,
      "device_class": "window",
      "name": "Kitchen small window",
      "name_prefix": ""
    },
    "Kitchen RH Window": {
      "off_delay": 0,
      "device_class": "window",
      "name": "Kitchen large window",
      "name_prefix": ""
    },
    "Kitchen Patio Dr": {
      "off_delay": 0,
      "device_class": "door",
      "name": "Kitchen patio door",
      "name_prefix": ""
    },

In Home Assistant, the next 3 sensors in "window" class are called "Utility window".  The next correctly named entry is Kitchen patio door.  These are zones 10, 11, 12, 13.  The empty "name_prefix" line is also not updated.  All sensors retain the default "sensor" prefix.
The error reoccurs later:
config.json:
    "Plum Bed Window": {
      "off_delay": 0,
      "device_class": "window",
      "name": "Plum bedroom window",
      "name_prefix": ""
    },
    "Landing window": {
      "off_delay": 0,
      "device_class": "window",
      "name": "Landing window",
      "name_prefix": ""
    },
    "Oak Bed Window": {
      "off_delay": 0,
      "device_class": "window",
      "name": "Oak bedroom window",
      "name_prefix": ""
    },

Landing window is also represented in HA as Plum bed window, but Oak bed window is correctly named.  These are zones 20, 21, 22.

@ob1w4nken0b1 Can you post your debugs logs, including json config logs and MQTT discovery payload logs ?

@ob1w4nken0b1 Can you post your debugs logs, including json config logs and MQTT discovery payload logs ?

Yep! Here they are...
0.3.8_logs.txt
And here's the resulting mess lol...but i saw that you can already see it from mqtt discovery payload logs

As I try to override config (e.g. "device class":"door" or "name": "xxxx") for a given zone, it changes it for several other random zones. I think it depends from zone label as I tried configuring several different zones (one at a time) and it does that only for some...for example if i configure it like this:
"zones": {
  "default": {
    "off_delay": 0,
    "name_prefix": "Sensor "
  },
  "Porta Ingresso": {
    "device_class": "door"
  }

it changes class to door for a bunch of other random zones

@ob1w4nken0b1 In the provided exemple, you have overriden every zone, so I can't track the problem.
I need a configuration with you initial issue as quoted

There are several zones not overridden that have taken wrong name and class, and a lot of overridden zones that have taken wrong name and class the same way. (e.g. zone 2 took name and class from zone 1, zone 6 took name and class from zone 7 ecc).
However let me redo the test then i'll post logs

Ok so in ths log you can see that despite having overridden only zone 8 ("porta ingresso") with "device_class":"door", it gave the same device class to all the zones coming after 8 in the log.
0.3.8_logs_door.txt
with name it does the same as you can see in previous logs even if zones are overridden

Update: looking at the first log i posted i think i have better understood the issue...
Seems like when the program encounters an overridden zone, it just keeps applying the same overrided configs to all the zones coming after that until he finds a new override, and then starts again applying that to all zones coming after.

Yeah I also spotted the problem. Currently testing the fix

That's not the case with my first example.  I put in an override for all of them.  The first 2 aren't really overrides.  The first 'proper' override is ignored, as is the second...  It's only followed again when the device class changes.

That's not the case with my first example. I put in an override for all of them. The first 2 aren't really overrides. The first 'proper' override is ignored, as is the second... It's only followed again when the device class changes.

it goes on applying overridden configs to increasing zone numbers, doesnt matter the order you provided in the config

Yes, understand that.  My first example doesn't fit with that, though.  Zones are all listed in ascending numerical order.   I have overrides for nearly all zones, including all 5 in the first example.  Subsequent overrides are ignored until the change in device type.  The second example does fit with your theory!

This hasn't completely solved the problem for me.  config.json as in earlier post.  Zone labels for Kitchen LH window and kitchen RH window remain uncorrected.
2/25/2022, 6:50:48 PM [info] Connected on mqtt server: mqtt://<IP_ADDRESS>:1883
2/25/2022, 6:50:48 PM [info] Panel is not connected, waiting
2/25/2022, 6:50:53 PM [warn] Command[1] 'RMT=1317' Timeout
2/25/2022, 6:50:58 PM [warn] Command[1] 'RMT=1317' Timeout
2/25/2022, 6:51:03 PM [warn] Command[1] 'RMT=1317' Timeout
2/25/2022, 6:51:05 PM [warn] Command[1] Command response was unexpected, ignoring. Data[ACK]
2/25/2022, 6:51:06 PM [info] Panel info: LightSys/RP432, FW 5.93
2/25/2022, 6:51:06 PM [info] Panel options: 4 parts, 50 zones, 32 outputs, Pir Cam support: false
2/25/2022, 6:51:06 PM [info] Starting devices discovery
2/25/2022, 6:51:06 PM [info] Retrieving System Information
2/25/2022, 6:51:06 PM [info] Retrieving zones configuration
2/25/2022, 6:51:45 PM [info] Retrieving outputs configuration
2/25/2022, 6:51:48 PM [warn] Command[42] Receipt of an error code: Device Doesn't Exists
2/25/2022, 6:51:48 PM [warn] Got error while fetching output 7 data: N19
2/25/2022, 6:51:48 PM [info] Output 7 does not exists, stopping outputs discovery
2/25/2022, 6:51:48 PM [info] Retrieving partitions configuration
2/25/2022, 6:51:48 PM [info] Panel and MQTT communications are ready
2/25/2022, 6:51:48 PM [info] Publishing Home Assistant discovery info
2/25/2022, 6:51:48 PM [info] [Panel => MQTT][Discovery] Published alarm_control_panel to HA on partition 1
2/25/2022, 6:51:48 PM [info] [Panel => MQTT][Discovery] Published alarm_control_panel to HA on partition 2
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Front Door, HA name = Front door
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Hall PIR, HA name = Hall PIR
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Kitchen PIR, HA name = Kitchen PIR
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Lounge PIR, HA name = Lounge PIR
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Grnd Flr Bath, HA name = Downstairs bathroom window
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Study PIR, HA name = Study PIR
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Study Window, HA name = Study window
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Utility Door, HA name = Utility door
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Utility Window, HA name = Utility window
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Kitchen LH Wndow, HA name = Kitchen LH Wndow
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Kitchen RH Wndow, HA name = Kitchen RH Wndow
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Kitchen Patio Dr, HA name = Kitchen patio door
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Lounge Patio Dr, HA name = Lounge patio door
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Landing PIR, HA name = Landing PIR
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = M Bed PIR, HA name = Master bedroom PIR
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = 1st Flr Bath, HA name = Main bathroom window
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Plum Bed Window, HA name = Plum bedroom window
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Landing Window, HA name = Landing Window
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Oak Bed Window, HA name = Oak bedroom window
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Beach Bed Window, HA name = Beach bedroom window
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = M Bed French, HA name = Master bedroom patio door
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Dining PIR, HA name = Dining room PIR
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Dining Windows, HA name = Dining room windows
2/25/2022, 6:51:49 PM [info] [Panel => MQTT][Discovery] Published binary_sensor to HA: Zone label = Garage Door, HA name = Garage door
2/25/2022, 6:51:49 PM [info] Publishing initial partitions and zones state to Home assistant
2/25/2022, 6:51:49 PM [info] [Panel => MQTT] Published alarm status disarmed on partition 1
2/25/2022, 6:51:49 PM [info] [Panel => MQTT] Published alarm status armed_away on partition 2
2/25/2022, 6:51:49 PM [info] Subscribing to Home assistant commands topics
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/1/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/2/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/1-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/2-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/3-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/4-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/5-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/6-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/7-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/9-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/10-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/11-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/12-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/13-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/14-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/17-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/18-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/19-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/20-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/21-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/22-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/23-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/24-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/25-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/26-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to riscopanel/alarm/zone/27-bypass/set topic
2/25/2022, 6:51:49 PM [info] Subscribing to panel partitions events
2/25/2022, 6:51:49 PM [info] Subscribing to panel zones events
2/25/2022, 6:51:49 PM [info] Initialization completed

Sorry to hear that...for my kind of config the fix worked right...could it be panel model related?

@markxroberts Thats strange. I'll need at least debug logs to understand what might happens

Thanks.  Same debug log as issue #24

@markxroberts I only see logs with info level in #24. Commands logs is not enough, I need to have full debug log for this one

Can't you redirect your standard output to a file ? cmd > debug_logs.txt

@markxroberts
In your config.json : zone reference as Kitchen LH Window
In your logs : Zone label from panel seems to be : Kitchen LH Wndow => no 'i'
I think thats your issue.

It's amazing how you can look at something for ages and miss something so simple, isn't it?  That's why I was never any good at coding!  Thank you.

0.4.1 available with all fixes released


Exclude models from schema generation

I want to exclude Models from the schema. I tried to do that with SchemaProcessor:
internal class SwaggerSchemaProcessor : ISchemaProcessor
{
  public void Process( SchemaProcessorContext context )
  {
    context.Settings.ExcludedTypeNames = new[] { "PM.Api.Data.BusinessUnit" };
  }
}

I registered it like this:
services.AddSwaggerDocument( document => {
                                 document.SchemaProcessors.Add( new SwaggerSchemaProcessor () );
                               } );

Unfortunately this does not work. And for some Models I do not own the code, so for those I can not use attributes.
Any help appreciated.

Within an ISchemaProcessor you must not mutate settings...
This setting needs to be set before the generation is run, ie with document => document.ExcludedTypeNames...

You cannot really exclude types with this, it is only applicable with base types so that inheritance chains are not generated. This is the only place:
https://github.com/RicoSuter/NJsonSchema/blob/master/src/NJsonSchema/Generation/JsonSchemaGenerator.cs#L1022
Just ignoring a type cannot work as they are needed in the public API... but you can map your type to eg "object" with a a new mapper in TypeMappers.
There is another setting for the code generators ExcludedTypeNames where you can exclude schemas from being generated at all (produces not compilable code) but this is not the thing you're looking for i suppose.

@RicoSuter Is it possible to just hide the "Schemas" section from the UI entirely? If so, how? Thanks.


add CNAME (from astropy-tutorials)

This is the second half of astropy/astropy-tutorials#501 - see there for more details.
Note this is ready as-is but should not be merged until I've completed the verification process, and then should be merged after astropy/astropy-tutorials#501  (I think...).
cc @adrn @jonathansick @kelle

Alright verified, so merging this.


Cropper

When I change the file after the 3rd time, I can not change the cropper Movies Link Sample

I ran into this issue, but I think the problem is not that it happens after X times, but that it happens after selecting an image that is less than the min-height/width.
To reproduce:

select image that has width/height less than min-width/height.
select image that has width/height greater than min-width/height.
try to resize cropper

Can you please try executing reset on cropper before setting the new image? I cannot reproduce it and I want to know if resetting the cropper would work

How to reset the cropper?

this.cropper.reset();


Generate PersistableModel create method

This PR decouples the changes from https://github.com/microsoft/typespec/pull/3603 to support generating the PersistableModel Create serialization method.
Supports https://github.com/microsoft/typespec/issues/3330.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Microsoft.Generator.CSharp


CSS style is not the same as shown in Vuesax Home Page

OS: macOS High Sierra Version 10.13.6
Node.js version:  10.14.1
Vuesax version:  3.8.0
Browser version:  Google Chrome 71.0.3578.98 (Official Build) (64-bit)
Which package manager did you use for the install?:  npm

Reproduction repository:  https://github.com/ccalvarez/vuesax-style
Issue:  I have installed Vuesax in my project with npm install vuesax.  Then I've added it with:
import Vue from 'vue'
import Vuesax from 'vuesax'

import 'vuesax/dist/vuesax.css' //Vuesax styles
Vue.use(Vuesax)

Then I have added a list with headers as explained here:  https://lusaxweb.github.io/vuesax/components/list.html#header
But when I run the application, my list doesn't have the same style as the list shown in the components showcase.
My list shows in Times font, while in your home page the list uses OpenSans font:
My project on localhost:8080:

Vuesax home page:

!,,


java run time

Hello, thanks for the video tutorial. I can not get past:
The operation couldn’t be completed. Unable to locate a Java Runtime that supports apt.
Please visit http://www.java.com for information on installing Java.
I am on Monterey newest update.
thanks,
dschiller

Thanks! I would recommend you attempt the install of the latest version of Aperture Photometry Tool directly from their page: https://aperturephotometry.org/installation-execution/#MacInstallation
They have a dmg installer that should work directly following their instructions.
Alternatively, we can try to pursue this style of install - similar to Linux/Solaris/Other command line install: https://aperturephotometry.org/installation-execution/#CommandLineInstallation .
Let me know if you try the dmg or if you would like to continue this style of installation.
I think I will update this guide reflecting this recommendation as well!

Thank you for the help


.NET 5 - Unable to start Kestrel - System.Net.Sockets.SocketException (13): Permission denied

Hi I can't start net 5 function, detail error in cloudwatch like below:
==========================================
2021-01-02T15:32:01.708+08:00 - crit: Microsoft.AspNetCore.Server.Kestrel[0]
-- - --
  - 2021-01-02T15:32:01.708+08:00 - Unable to start Kestrel.
  - 2021-01-02T15:32:01.708+08:00 - System.Net.Sockets.SocketException (13): Permission denied
  - 2021-01-02T15:32:01.708+08:00 - at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
  - 2021-01-02T15:32:01.708+08:00 - at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
  - 2021-01-02T15:32:01.708+08:00 - at System.Net.Sockets.Socket.Bind(EndPoint localEP)
  - 2021-01-02T15:32:01.708+08:00 - at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.<Bind>g__BindSocket\|13_0(<>c__DisplayClass13_0& )
  - 2021-01-02T15:32:01.708+08:00 - at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
  - 2021-01-02T15:32:01.708+08:00 - at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
  - 2021-01-02T15:32:01.708+08:00 - at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig)
  - 2021-01-02T15:32:01.708+08:00 - at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass29_0`1.<<StartAsync>g__OnBind\|0>d.MoveNext()

==========================================
I use docker container to build the app, docker configuration like below:
`FROM public.ecr.aws/lambda/dotnet:5.0 AS base
EXPOSE 80
EXPOSE 443

FROM mcr.microsoft.com/dotnet/sdk:5.0-buster-slim AS build

WORKDIR /src
COPY StaviStudentRegistration.sln ./

COPY Stavi.Student.Registration.API/*.csproj ./Stavi.Student.Registration.API/

RUN dotnet clean
RUN dotnet restore

COPY . .

ENTRYPOINT ["/var/lang/bin/dotnet", "Stavi.Student.Registration.API.dll"]`

Here my program.cs :
public class Program
    {
        public static void Main(string[] args)
        {
            CreateHostBuilder(args).Build().Run();
        }

        public static IHostBuilder CreateHostBuilder(string[] args) =>
            Host.CreateDefaultBuilder(args)
                .ConfigureWebHostDefaults(webBuilder =>
                {
                    webBuilder.ConfigureKestrel(option =>
                    {
                        option.ListenAnyIP(80);
                    });

                    webBuilder.UseStartup<Startup>();
                });
    }

Here my startup.cs:
public void ConfigureServices(IServiceCollection services)
        {
            services.AddControllers();
            services.AddSwaggerGen(c =>
            {
                c.SwaggerDoc("v1", new OpenApiInfo { Title = "Stavi.StudentRegistration.API", Version = "v1" });
            });

            services.InitiateThirdParty();
            services.AddDependency();
        }

        // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
        public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
        {
            if (env.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
                app.UseSwagger();
                app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "Stavi.StudentRegistration.API v1"));
            }

            app.UseHttpsRedirection();

            app.UseRouting();

            app.UseAuthorization();

            app.UseEndpoints(endpoints =>
            {
                endpoints.MapControllers();
            });
        }

I don't have any idea how to fix this, can someone help me? thank you..

closed. since I've fixed this issue

closed. since I've fixed this issue


can not find SRResNet_bicx4_in3nf64nb16.pth

Hi, Xintao. Thanks for your wonderful work about ESRGAN.
When i want to reproduce SRGAN, i find there is not a SRResNet_bicx4_in3nf64nb16.pth in this GihHub. Could you seng me it to my mailbox<EMAIL_ADDRESS>I think  python train.py  -opt options/train/train_SRGAN.json is not the training command about SRGAN. It is python SRGAN_model.py  -opt options/train/train_SRGAN.json ,right?
Thanks a lot.

Since we have updated the repo to a new version, you can use MSRResNetx4.pth in https://drive.google.com/drive/folders/1cw-dEpAdwpuQdEC7WJhITwjrn2Tr-hqd with the updated codebase.
No, all the configurations should be set in the config file and you still need to use python train.py ...
By the way, we have updated the BasicSR repo, which uses YAML config. You may want to update it.

Thank you very much, Xintao.
I will follow your wonderful work.
Best regards,
Lu Yao
Xintao<EMAIL_ADDRESS>于2019年6月21日周五 上午12:34写道：

Since we have updated the repo to a new version, you can use
MSRResNetx4.pth in
https://drive.google.com/drive/folders/1cw-dEpAdwpuQdEC7WJhITwjrn2Tr-hqd
with the updated codebase.
No, all the configurations should be set in the config file and you still
need to use python train.py ...
By the way, we have updated the BasicSR repo, which uses YAML config. You
may want to update it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xinntao/BasicSR/issues/161?email_source=notifications&email_token=AKYUIOHNMFEFBSSJEPK2IKLP3OWSLA5CNFSM4HZQQSK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYF6J7Q#issuecomment-504095998,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKYUIOCYUDRJJVVYR2RKO53P3OWSLANCNFSM4HZQQSKQ
.

Hi,xintao.
I am  extremely interested in your wonderful work of EDVR and i really
want to reproduce your work.
However, i only have a GPU of 2080 ti. Could you tell me how long it may
take when the code is trained on this GPU and what about the result?
Thank you
Best regards
yaolu yao<EMAIL_ADDRESS>于2019年6月22日周六 上午9:22写道：

Thank you very much, Xintao.
I will follow your wonderful work.
Best regards,
Lu Yao
Xintao<EMAIL_ADDRESS>于2019年6月21日周五 上午12:34写道：

Since we have updated the repo to a new version, you can use
MSRResNetx4.pth in
https://drive.google.com/drive/folders/1cw-dEpAdwpuQdEC7WJhITwjrn2Tr-hqd
with the updated codebase.
No, all the configurations should be set in the config file and you still
need to use python train.py ...
By the way, we have updated the BasicSR repo, which uses YAML config. You
may want to update it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xinntao/BasicSR/issues/161?email_source=notifications&email_token=AKYUIOHNMFEFBSSJEPK2IKLP3OWSLA5CNFSM4HZQQSK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYF6J7Q#issuecomment-504095998,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKYUIOCYUDRJJVVYR2RKO53P3OWSLANCNFSM4HZQQSKQ
.

We use eight GPUs to train our network.
You can find examples of training logs here and the results here.

Thanaks very much for your patient reply.

I have seen that there is a command of single GPU training in
run_script.sh of your work EDVR.
But i have not found train_SRResNet.yml. Could you send me it ?
Have you ever trained on one GPU? And what about the test result on vid4?

Since dataroot_GT: /home/xtwang/datasets/REDS/train_sharp_wval.lmdb,
which file is the dataroot_GT address set in?

Best regards
Xintao<EMAIL_ADDRESS>于2019年6月28日周五 下午5:07写道：

We use eight GPUs to train our network.
You can find examples of training logs here
https://github.com/xinntao/EDVR/wiki/Testing-and-Training and the
results here https://github.com/xinntao/EDVR/wiki/Model-Zoo.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xinntao/BasicSR/issues/161?email_source=notifications&email_token=AKYUIOHEBPDRAFFVI5FFEJTP4XIFDA5CNFSM4HZQQSK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYZQ7HA#issuecomment-506662812,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKYUIODPTSRRPKIINOKQSMTP4XIFDANCNFSM4HZQQSKQ
.

Hi ,xintao.Excuse me,
1）
yaolu yao<EMAIL_ADDRESS>于2019年6月29日周六 上午10:16写道：

Thanaks very much for your patient reply.

I have seen that there is a command of single GPU training in
run_script.sh of your work EDVR.
But i have not found train_SRResNet.yml. Could you send me it ?
Have you ever trained on one GPU? And what about the test result on vid4?

Since dataroot_GT: /home/xtwang/datasets/REDS/train_sharp_wval.lmdb,
which file is the dataroot_GT address set in?

Best regards
Xintao<EMAIL_ADDRESS>于2019年6月28日周五 下午5:07写道：

We use eight GPUs to train our network.
You can find examples of training logs here
https://github.com/xinntao/EDVR/wiki/Testing-and-Training and the
results here https://github.com/xinntao/EDVR/wiki/Model-Zoo.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xinntao/BasicSR/issues/161?email_source=notifications&email_token=AKYUIOHEBPDRAFFVI5FFEJTP4XIFDA5CNFSM4HZQQSK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYZQ7HA#issuecomment-506662812,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKYUIODPTSRRPKIINOKQSMTP4XIFDANCNFSM4HZQQSKQ
.

Hi ,xintao. Excuse me, i want to consult you with some questions.

vimeo.yml
Since there is not yml file about vimeo dataset  under options/train/ ,
thus i think i need to change name,mode , dataroot_GT,dataroot_LQ in
REDS_M.yml , right?

Besides, i guess  vimeo_M.yml is also need woTSA pretrained model, right?
If so ,could you send me this  pretrained model?
In addition , you can add  EDVR_Vimeo90K_SR_M   test results  to  your
GitHub.

pretrained model in train_EDVR_M.yml
Because training for REDS_SR_M requires woTSA 600000_G.pth pretrained model
,so could you send me this model ?
You can add this model to your GitHub.

I am looking forward to hearing from you.
Best regards
yaolu yao<EMAIL_ADDRESS>于2019年6月29日周六 下午3:44写道：

Hi ,xintao.Excuse me,
1）
yaolu yao<EMAIL_ADDRESS>于2019年6月29日周六 上午10:16写道：

Thanaks very much for your patient reply.

I have seen that there is a command of single GPU training in
run_script.sh of your work EDVR.
But i have not found train_SRResNet.yml. Could you send me it ?
Have you ever trained on one GPU? And what about the test result on vid4?

Since dataroot_GT: /home/xtwang/datasets/REDS/train_sharp_wval.lmdb,
which file is the dataroot_GT address set in?

Best regards
Xintao<EMAIL_ADDRESS>于2019年6月28日周五 下午5:07写道：

We use eight GPUs to train our network.
You can find examples of training logs here
https://github.com/xinntao/EDVR/wiki/Testing-and-Training and the
results here https://github.com/xinntao/EDVR/wiki/Model-Zoo.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xinntao/BasicSR/issues/161?email_source=notifications&email_token=AKYUIOHEBPDRAFFVI5FFEJTP4XIFDA5CNFSM4HZQQSK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYZQ7HA#issuecomment-506662812,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKYUIODPTSRRPKIINOKQSMTP4XIFDANCNFSM4HZQQSKQ
.

Hi ,xintao.Excuse me ,i want to consult you with a question about
train_sharp_wval.lmdb in EDVR.
I used the create_lmdb_mp.py to generate train_sharp_wval.lmdb,but it was
killed  for memory shortage.
Could you give me the train_sharp_wval.lmdb,  vimeo90k_train_GT.lmdb
and vimeo90k_train_LR7frames.lmdb ?
Thanks a lot. Looking forward to your early reply.
Best regards,
yaolu yao<EMAIL_ADDRESS>于2019年6月29日周六 下午4:18写道：

Hi ,xintao. Excuse me, i want to consult you with some questions.

vimeo.yml
Since there is not yml file about vimeo dataset  under options/train/ ,
thus i think i need to change name,mode , dataroot_GT,dataroot_LQ in
REDS_M.yml , right?

Besides, i guess  vimeo_M.yml is also need woTSA pretrained model, right?
If so ,could you send me this  pretrained model?
In addition , you can add  EDVR_Vimeo90K_SR_M   test results  to  your
GitHub.

pretrained model in train_EDVR_M.yml
Because training for REDS_SR_M requires woTSA 600000_G.pth pretrained
model ,so could you send me this model ?
You can add this model to your GitHub.

I am looking forward to hearing from you.
Best regards
yaolu yao<EMAIL_ADDRESS>于2019年6月29日周六 下午3:44写道：

Hi ,xintao.Excuse me,
1）
yaolu yao<EMAIL_ADDRESS>于2019年6月29日周六 上午10:16写道：

Thanaks very much for your patient reply.

I have seen that there is a command of single GPU training in
run_script.sh of your work EDVR.
But i have not found train_SRResNet.yml. Could you send me it ?
Have you ever trained on one GPU? And what about the test result on
vid4?

Since dataroot_GT: /home/xtwang/datasets/REDS/train_sharp_wval.lmdb,
which file is the dataroot_GT address set in?

Best regards
Xintao<EMAIL_ADDRESS>于2019年6月28日周五 下午5:07写道：

We use eight GPUs to train our network.
You can find examples of training logs here
https://github.com/xinntao/EDVR/wiki/Testing-and-Training and the
results here https://github.com/xinntao/EDVR/wiki/Model-Zoo.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xinntao/BasicSR/issues/161?email_source=notifications&email_token=AKYUIOHEBPDRAFFVI5FFEJTP4XIFDA5CNFSM4HZQQSK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYZQ7HA#issuecomment-506662812,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKYUIODPTSRRPKIINOKQSMTP4XIFDANCNFSM4HZQQSKQ
.

They are very large files and we have not found such a place that could store these files.
I will update a new version of create_lmdb_mp.py to support limited memory consumption tmr.

Hi ,xintao. I am much grateful for your  patient reply.
If it is possible ,you can pass the train_sharp_wval.lmdb,
vimeo90k_train_GT.lmdb  and vimeo90k_train_LR7frames.lmdb  to me using
Google Mail  or  Baidu network disk.
I am really eager to get these files as soon as possible.
I am so sorry for bringing you inconvenience.
Best regards
Xintao<EMAIL_ADDRESS>于2019年7月2日周二 下午8:20写道：

They are very large files and we have not found such a place that could
store these files.
I will update a new version of create_lmdb_mp.py to support limited
memory consumption tmr.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xinntao/BasicSR/issues/161?email_source=notifications&email_token=AKYUIOCZQORYANRJ7Z36PSTP5NBZ5A5CNFSM4HZQQSK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZBCSTA#issuecomment-507652428,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKYUIOE7REKLYNLLIVVXPGTP5NBZ5ANCNFSM4HZQQSKQ
.

My Google drive does not have such a large space. I can upload it to Baidu drive.
Once finished, I will let you know.

Thank you, thank you. xintao.   You are so kind. Thanks.  I want to consult
you with  another three questions.
1）What is your recently work ?
2）About EDVR's PCD, TSA two modules, I feel them  particularly novel and
very effective. I want to ask where is your inspiration?
I know you have borrowed the idea of deformable conv from TDAN.
Besides,  what is the fps of EDVR ?  I think you can show a demo about
your restoration result on GitHub.

Regarding the optical flow, alignment, and fusion of video, if you can
recommand some documents worth reading ?

Best regards
Xintao<EMAIL_ADDRESS>于2019年7月2日周二 下午9:16写道：

My Google drive does not have such a large space. I can upload it to Baidu
drive.
Once finished, I will let you know.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xinntao/BasicSR/issues/161?email_source=notifications&email_token=AKYUIOARR763G3QBILOTC7TP5NILVA5CNFSM4HZQQSK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZBHNHI#issuecomment-507672221,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKYUIOARHHAXUBHAGRNXRQTP5NILVANCNFSM4HZQQSKQ
.

Hi，xintao. Thank you for uploading files to Baidu drive. Thank you for your
share.

May i know whcih one have been successfully uploaded ?  I can firstly
use train_sharp_bicubic_wval.lmdb.

What is the meaning of  --nproc_per_node=8 and --master_port=4321 in
training command ?
If i train with one GPU , should i change --nproc_per_node=8 with node=1 ?

Thanks a lot.
yaolu yao<EMAIL_ADDRESS>于2019年7月2日周二 下午10:03写道：

Thank you, thank you. xintao.   You are so kind. Thanks.  I want to
consult you with  another three questions.
1）What is your recently work ?
2）About EDVR's PCD, TSA two modules, I feel them  particularly novel and
very effective. I want to ask where is your inspiration?
I know you have borrowed the idea of deformable conv from TDAN.
Besides,  what is the fps of EDVR ?  I think you can show a demo about
your restoration result on GitHub.

Regarding the optical flow, alignment, and fusion of video, if you can
recommand some documents worth reading ?

Best regards
Xintao<EMAIL_ADDRESS>于2019年7月2日周二 下午9:16写道：

My Google drive does not have such a large space. I can upload it to
Baidu drive.
Once finished, I will let you know.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xinntao/BasicSR/issues/161?email_source=notifications&email_token=AKYUIOARR763G3QBILOTC7TP5NILVA5CNFSM4HZQQSK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZBHNHI#issuecomment-507672221,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKYUIOARHHAXUBHAGRNXRQTP5NILVANCNFSM4HZQQSKQ
.

@yaolugithub , I have updated the create_lmdb_mp.py. You can use it to generate lmdb files.
You can find relevant info in https://pytorch.org/docs/stable/distributed.html
Note that training with one GPU will impact performance.

Hi ,xintao. Thanks very much for updating the code. Your coding ablilty is
very powerful.
Thanks for your guidance.
There is no yml files about vimeo90K dataset ,so  i think you can also
upload  relevant files to train code with this dataset.
Xintao<EMAIL_ADDRESS>于2019年7月3日周三 下午8:31写道：

@yaolugithub https://github.com/yaolugithub , I have updated the
create_lmdb_mp.py. You can use it to generate lmdb files.
You can find relevant info in
https://pytorch.org/docs/stable/distributed.html
Note that training with one GPU will impact performance.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xinntao/BasicSR/issues/161?email_source=notifications&email_token=AKYUIOAGKBNTCSAOMK23D4TP5SLY5A5CNFSM4HZQQSK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZEJGRQ#issuecomment-508072774,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKYUIOHOWOVD4Q7SMMM7WW3P5SLY5ANCNFSM4HZQQSKQ
.

It is easy to modify the existing yml configuration file to meet the vimeo90k training.

Thanks very much for your guidance. Now i know how to modify the exisiting
yml.
Besides,  theres is a command of training with one GPU in run_script.sh.
However, there is no train_SRResNet.yml.
Thus, i have to train the code with distributing training.
Could you tell me what i need to modify to train the code with one or two
GPUs ?
Thanks a lot. Looking forward to hearing from you.
Best regards
Xintao<EMAIL_ADDRESS>于2019年7月4日周四 下午8:42写道：

It is easy to modify the existing yml configuration file to meet the
vimeo90k training.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xinntao/BasicSR/issues/161?email_source=notifications&email_token=AKYUIOFS25BLNKHEQ2K5GGLP5XV43A5CNFSM4HZQQSK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZHKABA#issuecomment-508469252,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKYUIOGNWYZC4FPOQCISLPTP5XV43ANCNFSM4HZQQSKQ
.

What did you mean by However, there is no train_SRResNet.yml.?
One GPU: python train.py -opt options/train/train_SRResNet.yml
Two GPUs: python -m torch.distributed.launch --nproc_per_node=2 --master_port=4321 train.py -opt options/train/train_SRResNet.yml --launcher pytorch

Thank you very much for your reply ,xintao.
I mean that i did not find  train_SRResNet.yml on your GitHub. Have you
uploaded this file ?
Besides,i trained the code with command of   python -m
torch.distributed.launch --nproc_per_node=2 --master_port=4321 train.py
-opt options/train/train_EDVR_M.yml --launcher pytorch  on two GPUs using
the pretrained model of train_EDVR_woTSA_M.yml.
So , i need to retrain the code with train_SRResNet.yml when i have two
GPUs ,rigtht ?
Xintao<EMAIL_ADDRESS>于2019年7月7日周日 下午8:48写道：

What did you mean by However, there is no train_SRResNet.yml.?
One GPU: python train.py -opt options/train/train_SRResNet.yml
Two GPUs: python -m torch.distributed.launch --nproc_per_node=2
--master_port=4321 train.py -opt options/train/train_SRResNet.yml
--launcher pytorch
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xinntao/BasicSR/issues/161?email_source=notifications&email_token=AKYUIOBCAKOW3HJTWOOBHODP6HQ2HA5CNFSM4HZQQSK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZLK4FY#issuecomment-508997143,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKYUIOANC75XXD2SLPA2QVTP6HQ2HANCNFSM4HZQQSKQ
.

The train_SRResNet.yml  file: https://github.com/xinntao/BasicSR/blob/master/codes/options/train/train_SRResNet.yml
I do not understand your second questions. Why do you need to train SRResNet when you train EDVR?

My second question is about the command of two GPUs training.
In the last email ,you mentioned that the training command  when training
on two gpus.
Two GPUs: python -m torch.distributed.launch --nproc_per_node=2
--master_port=4321 train.py -opt options/train/train_SRResNet.yml
--launcher pytorch
However ,i trained with the command of  python -m torch.distributed.launch
--nproc_per_node=2 --master_port=4321 train.py -opt options/train/
train_EDVR_M.yml --launcher pytorch  on two GPUs using the pretrained
model of train_EDVR_woTSA_M.yml.
Is that correct?
Besides, in my training , l_pix is often e+05 which is different from your
training logg.  Is this correct?
Best regards,
Xintao<EMAIL_ADDRESS>于2019年7月11日周四 下午10:11写道：

The train_SRResNet.yml file:
https://github.com/xinntao/BasicSR/blob/master/codes/options/train/train_SRResNet.yml
I do not understand your second questions. Why do you need to train
SRResNet when you train EDVR?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xinntao/BasicSR/issues/161?email_source=notifications&email_token=AKYUIOH6V5TUQYS4WXX7K5TP645SDA5CNFSM4HZQQSK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZW2NNI#issuecomment-510502581,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKYUIOD5VONNHV4HRZTXUCTP645SDANCNFSM4HZQQSKQ
.

Hi,xintao.Excuse me,
I have seen  your EDVR code that is excellent project .  Thus ,i  may want
to consult you with code structure.
Could you share some experience of code construction process  about your
project ?
Best regards,
yaolu yao<EMAIL_ADDRESS>于2019年7月11日周四 下午10:32写道：

My second question is about the command of two GPUs training.
In the last email ,you mentioned that the training command  when training
on two gpus.
Two GPUs: python -m torch.distributed.launch --nproc_per_node=2
--master_port=4321 train.py -opt options/train/train_SRResNet.yml
--launcher pytorch
However ,i trained with the command of  python -m
torch.distributed.launch --nproc_per_node=2 --master_port=4321 train.py
-opt options/train/train_EDVR_M.yml --launcher pytorch  on two GPUs
using the pretrained model of train_EDVR_woTSA_M.yml.
Is that correct?
Besides, in my training , l_pix is often e+05 which is different from your
training logg.  Is this correct?
Best regards,
Xintao<EMAIL_ADDRESS>于2019年7月11日周四 下午10:11写道：

The train_SRResNet.yml file:
https://github.com/xinntao/BasicSR/blob/master/codes/options/train/train_SRResNet.yml
I do not understand your second questions. Why do you need to train
SRResNet when you train EDVR?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xinntao/BasicSR/issues/161?email_source=notifications&email_token=AKYUIOH6V5TUQYS4WXX7K5TP645SDA5CNFSM4HZQQSK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZW2NNI#issuecomment-510502581,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKYUIOD5VONNHV4HRZTXUCTP645SDANCNFSM4HZQQSKQ
.

The code structure is actually easy-to-understand. It is advised to directly read the codes by yourself :-)

Thanks very much,xintao.

Quick question: reducing training time
When i reproducing your work EDVR, it need to be trained about 10 days.
Thus ,i want to reducing training time.

i )  reduce training set
For example, i choose the REDS_train_sharp_part1.zip which has 80  video
sequences as train set.
Could you give some suggestions about what to modify with the original code?
ii) Reduce the complexity of the model
e.g:  reduce front_back, back_rb numers (10 to 5) ; reduce N_frames( 5 to
3); reduce nf (64 to 32);
Do you have some other suggestions about reducing training time ?
Xintao<EMAIL_ADDRESS>于2019年7月16日周二 下午1:03写道：

The code structure is actually easy-to-understand. It is advised to
directly read the codes by yourself :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xinntao/BasicSR/issues/161?email_source=notifications&email_token=AKYUIOGWAJ3PO7NQMKEGHHTP7VJDHA5CNFSM4HZQQSK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ7WO7Q#issuecomment-511666046,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKYUIOA2C3M7PM3NWOFIDNLP7VJDHANCNFSM4HZQQSKQ
.

You mean ten days for the EDVR-L model?
i) limiting the training set is not a good idea. You can use the reduced training iterations but with more training data.
ii) You can have a try.

Thanks ,xintao.

I mean the EDVR-REDS-M model. I will have a try.
Is  EDVR--Vimeo90K- M training longer  than EDVR-REDS-M ? Because i want
to reproduce a model with shorter training time.

Why did you calculate PSNR in RGB channels not Y channel  for  REDS
dataset ?

Best regards,
You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
https://github.com/xinntao/BasicSR/issues/161?email_source=notifications&email_token=AKYUIOEAHIUOETNDROMYHGLP74UJRA5CNFSM4HZQQSK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2EMS6A#issuecomment-512280952,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKYUIOBB72SIAY6MVEJ2NH3P74UJRANCNFSM4HZQQSKQ
.

You can short the training time by decreasing the training iterations, e.g, setting the niter: 600000 to niter: 450000 in the config file.
We train the EDVR with the same training schemes for both the vimeo90k and REDS dataset. So they will have the same training time.
I think it is better to evaluate on RGB, because they are trained on RGB channels.

Thanks very much,xintao.

Yes, i have seen frequently asked questions on your github. The
avg_psnr curve is 001_EDVRwoTSA_scratch_lr4e-4_600k_REDS_LrCAR4S and there
is marginal improvement (almost 0.01db).So,to set the niter from 600k to
450k is ok.
But i want to know if it is also marginal improvement from 450k to 600k for
training with train_EDVR_M.yml ?

Yes, i see.

Xintao<EMAIL_ADDRESS>于2019年7月20日周六 下午10:21写道：

You can short the training time by decreasing the training
iterations, e.g, setting the niter: 600000 to niter: 450000 in the
config file.
We train the EDVR with the same training schemes for both the vimeo90k
and REDS dataset. So they will have the same training time.
I think it is better to evaluate on RGB, because they are trained
on RGB channels.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xinntao/BasicSR/issues/161?email_source=notifications&email_token=AKYUIOFQ7PHMOQ5TAKO4K73QAMNQNA5CNFSM4HZQQSK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2NPJPQ#issuecomment-513471678,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKYUIOCW75WC4IRPEIMHBHTQAMNQNANCNFSM4HZQQSKQ
.

I attached the evaluation figure for train_EDVR_M.yml

Hi，Xintao.  Excuse me,After reading SFTGAN, ESRGAN, and RankGAN papers, i would like to discuss with you about how to evaluate the reconstruction effect of the GAN method.1)SFTGAN uses  the method of  user evaluation toevaluate  reconstruction  effect. This is not as convincing as the objective evaluation criteria, and may be rejected by the reviewers.2）ESRGAN uses standard test sets to  test PSNR and SSIM  . And the test results are very high and refreshed. This clearly illustrates the effectiveness of the method used and is more convincing to the reviewer.3）RankSRGAN uses NIQE and other evaluation metrics that are more suitable for the GAN method.If I want to use SFTGAN as the baseline (running time considerations), based on the above considerations, should I use the NIQE evaluation method ? Is subjective evaluation necessary? Are there other evaluation methods?Best regards.

@xinntao
Thanks so much for your patient reply.


Support multiple display on Android

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
Similar to https://github.com/flutter/flutter/issues/30701 and https://github.com/flutter/flutter/issues/48838
Android has also multi window/display support I would like to use this feature. This could be helpful for picture in pucture mode too.
For testing can be a second screen enabled in the developer settings of Android.

Do you have any example of native Android apps that do this?
The documentation you shared in another issue was about enabling secondary display emulation as a picture in picture window, for development purpose.
This is not related to multi window nor picture in picture mode.
As for running Flutter in secondary display, you can already do that.

I am working on a point of sale (POS) which can also run on a Android device with a second screen. Something like this elo device.
From the documentation aspect check this. The main aspect is that I would like to have a single widget tree with two rendering piplines (one per screen) so that I can keep things in sync with the same state, without using a second activity and interprocess comunication.

Multi-window mode enables multiple apps to share the same screen simultaneously. Apps can be side by side or one above the other (split-screen mode), one app in a small window overlaying other apps (picture-in-picture mode), or individual apps in separate movable, resizable windows (free-form mode).
https://developer.android.com/guide/topics/large-screens/multi-window-support

This is the opposite of what you want. The documentation is about having multiple apps in a screen rather than an app in two screens.

Actually it is the right page, just you need to scroll down a bit, to the section multi display (I had to build the anchor part of the url by hand)

Figure 3. Multiple instances of an activity on multiple displays.

The best example I can come up with for this is in existence within Microsofts own Powerpoint app which works the same as the PC version with limitations.
Powerpoint


[WIP] Remove post script to set up ansible venv

ansible venv is now a standalone rpm.
Depends on:

Build manageiq-ansible-venv rpm for supported architectures
Add 'Requires' to rpm spec file (https://github.com/ManageIQ/manageiq-rpm_build/pull/111)
Remove from manageiq-pods build (https://github.com/ManageIQ/manageiq-pods/pull/636)

For #423

Closing in favor of #534


Jsonl file?

I notice that the datasets seem to be processed to generate .jsonl file. But I did not find the code to do this. Would you mind sharing how to generate them?

I have found them in mmbt, thanks for sharing your code. 😁


AppSourceCop.json: Missing property "idRanges"

It seems that the AL extension updated for me this morning and now I have this weird bug where it complains constantly about the fact that "AppSourceCop.json" is missing this property... that does not belong to this file.
Notes:

The property idRanges is properly configured in the app.json
If I add the property, to see if the validator stops complaining, the warning changes into a "Invalid property...."
AL extension 4.0.198182

Aaand... just as I submited the ticket the error went away.  I'm not sure what changed (contextSensitiveHelpUrl was missing in one of the projects in the Workspace, if it helps), but I don't get the warning anymore.
I'm leaving the ticket open in case you want to investigate it, but feel free to close it at any time.

Ok: I had just posted a comment saying that it had stopped happening, but I deleted it because I've found out what triggers the error: editing the AppSourceCop.json file. The error/warning appears as long as the file is open in VS Code, but disappears as soon as you close it.

Thanks @salgiza ! This sounds like a bug. I will take a look into it. What is the error code of the diagnostic you are getting?

I don't actually get any error code, this is the message I get in the "Problems" console:

I understand. We'll fix it and push out an update. Thank you for the feedback!

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 38464.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/


Add API to detect when activeTextEditor is undefined because of a large file is active

Currently when a large file (>50 Mb) is opened, it is not visible to extensions, and vscode.window.activeTextEditor is undefined. I've created an extension to filter large log files and came as a surprise that there is no way to distinguish whether there is really nothing is opened or a large file is active.
Please provide an API to detect this state, so extension authors will be able to show proper error messages, and maybe even provide the details of the file, so the extension can process it externally, if it wants it.

I don't see how we can do this without breaking existing extensions.
vscode.window.activeTextEditor must point to a valid TextEditor, i.e. one that has a document. The document must be a valid one with correct text inside. Anything else will cause existing extensions to break (e.g. having document point to null).
We could try to make the value configurable and we could present a warning to the user.

Actually, a good amount of discussion already has taking place in #31078, so let's track there.


fix: parse error serialisation

Convert parse errors into strings manually to avoid JSON serialisation failure due to circular references.
Fixes #406

Looks like this causes issues with tests, so needs more work

@stevenh I don't know what happens with codecov token (I generated a new one, but same strange result) , i'm ok to disable this part of the workflow :)

The step is also set with dry run true, so it won't upload anyways.

It seems that there are at least some users that works and fails randomly : https://github.com/codecov/codecov-action/issues/1548


Support py3

#19

Thank you @nella17 for the PR! You not only make the code support python3, but also fix many bugs. In addition, the changes are clearly arranged in each commits.
However, there is one problem: the generated .md file for examples/neihu.pdf is different from the original .md file examples/neihu.md. Can you please take a look at it? Thank you.


Add two projects

What does this project do?
quinedb stores your data in itself.  πfs assumes your data already exists in π.
Why is that entertaining?
quinedb is pretty funny but it gets repetitive.  πfs drags on forever, but if you try hard enough you'll get something out of it.
How hard did you laugh? Was it just a silent giggle or was it full blown laughing and howling and screaming "OH MY GOD! EVERYONE! OH MY GOD! THIS IS THE FUNNIEST THING EVER! YOU'VE GOT TO SEE THIS!!!"
As soon as I remembered these, I had to run to the bathroom to ensure I was in a safe place to piss myself.

~These two libs make no sense whatsoever.~
This two make all the sense in the world!
Merging and laughing regarding the pure πfs genius!


feat(v2): docs load namedtuple

Goals:
Return named Tuples in .load() of the Url classes, to enable nicer extraction of subresults, such as only loading the audio of a video_url:
instead of:
_, audio, _ = video_url.load()

do:
audio = video_url.load().audio

[ ] check and update documentation, if required. See guide

agree with this, 1-tuples don't make much sense in this context


Cannot convert Variant to List

When I'm trying to assign Variant to List, I'm getting following error in VS Code:
Cannot implicitly convert type 'Variant' to 'List of [Text]'
Here is an example how to reproduce this error:
local procedure ListToVariant()
var
SourceList: List of [Text];
SourceVariant: Variant;
TargetList: List of [Text];
begin
SourceVariant := SourceList;
TargetList := SourceVariant; //Error: Cannot implicitly convert type 'Variant' to 'List of [Text]'
end;

Hi @konstantinlevchenko ! We don't currently support converting a variant to a List. Can you better describe your scenario? Is there something else that, if added to the language, would help you better achieve your goal?

@atoader we can store most types in an array, arrays can hold variants, we can assign most types to variants but we can't check some of them or convert them back to the original type.
The docs just state: "The AL variant data type can contain many AL data types." and when there are types missing it kinda sticks out.
The workaround is to use an alternative supported structure for storing the List, like IsJsonArray, and iterate through the keys into a new List when retrieving it, which isn't very performant (and just feels unnecessary).

Please go ahead and post this to our Ideas forum at https://aka.ms/BusinessCentralideas, or vote up the idea if its already there. We're constantly monitoring top Ideas and will consider them for a future release.

@atoader it just looks more like something that was forgotten to add, instead of being a "new idea".
You can assign list to a variant (without any compiler errors) but later you can't get it back again, isn't that considered broken?
I would submit a PR if I could:
// inside NavVariant class:

public bool ALIsList
{
  get
  {
    return this.IsOfNavType(NavType.NavList);
  }
}

internal void ALAssignNavComplexValue(NavValue other)
{
    this.Clear();
    switch (other.NclType)
    {
        //...
        case NavNclType.NavList:
            this.ClearAndSetValue(other);
            break;
    //...
}

// and same for NavDictionary, etc.

This also relates to the next release:
https://docs.microsoft.com/en-us/dynamics365-release-plan/2021wave1/smb/dynamics365-business-central/returning-complex-types
If a procedure can accept any NavValue by accepting a Variant, it won't be able to return any NavValue by returning a Variant, right?

@atoader, can you update a milestone for this one?

atoader left Microsoft already in 2021 or 2022.

@qutreson or @thpeder might be able to help :)

@qutreson, any option to include Variant to Codeunit and Variant (with Codeunit) to Interface? Then my Service Provider concept will work. :)

This will come with the next major release of the compiler, or one of the pre-release versions if someone wants to try it early.

@qutreson, any option to include Variant to Codeunit and Variant (with Codeunit) to Interface? Then my Service Provider concept will work. :)

Unfortunately, we are not looking into allowing this yet.


Meteors vs Airplanes

Last night (4/20/2020) was the first night i put my allsky camera out. This question will sound stupid, but how do I tell the difference between meteors and airplanes. Can somebody watch my mp4 and tell me what you see?
Here is my Youtube link to the video:
https://youtu.be/9_S5fOakML0

Except for the really big ones, meteors rarely last more than 1 second.  In a series of 10-second exposures you will only see a meteor in 2 successive frames if it hits right at the frame boundary.  Since each of the exposures is an average of 10 seconds, meteors need to be pretty bright to show up (like 10x the brightness of the background sky).  The majority of them are rather faint and require different software/hardware to detect.
So: anything you see in 3 or more successive frames is certainly an airplane and, if it is in 2 frames, it is possibly  an airplane.
Seeing something that lasts for only one frame in a video playback is rather difficult.  But I think I saw two in your video: one at 26 seconds and one at ~1:22 - both on the right side of the picture (3 o'clock position). Don't blink or you will miss them.
Meteors that are coming straight at you do not leave much of a trail - just a blink of light.
There should be more meteors tonight!
Ken

Ken,
Thanks for you quick response. That gives me a better idea of what to look for.

you may also see Starlink satellites. They move pretty fast - but, of course, slower than meteors.
The attached is from my GMS meteor cam. There is one (faint) meteor and several of the satellites.


January 18, 2024 Agenda

@tkuhrt
I'd like to propose a new discussion item that initially came out in Cacti project. As a plugin based project, we accept contributions from different, unrelated parties. Some time ago we merged a component from Huawei, which requires some additional work to be done before V2 release (it blocks other tasks). The contributor is unreachable, neither through github or email.
The question is - do we have a policy for deprecating / removing code that is no longer maintained by the original contributor that is fair for everyone involved? That is - modules not removed maliciously by small group of maintainers, contributor has some time to resolve issues but when they fail to do that the component can be removed? If not, can you share some guidelines? @petermetz and @VRamakrishna can share more details during the meeting.

@outSH : In general, we leave these decisions up to the project maintainers. The only document that we have is a default policy for projects that do not have a maintainer inactivity policy.

@outSH : We discussed this during today's TOC call. Here are a few points that came out of that discussion:

@hartm has reached out about the given topic and will report back
@yacovm suggested that the maintainers reach out on the mailing list to see if anyone is using or dependent on the feature. If so, see about having them take on the contribution role
@denyeart said that it is much easier to remove a feature that has not been part of a release. If the feature has already been part of a release, then it should be deprecated before removed

cc: @VRamakrishna @petermetz


show time picker next to date picker

Is it possible to do this somehow?

I forked the code to build something similar to this.
Unfortunately I can't merge it here because it changes the default behaviour of the picker to the one shown above.

I forked the code to build something similar to this.
Unfortunately I can't merge it here because it changes the default behaviour of the picker to the one shown above.

1 million, this would be an awesome feature. At present we render two components and do math on their values and compute the date and time. We require a UI that exposes both at the same time

I think this is a good idea, we can use a prop to decide the layout of the datepicker. I think we should create a new prop called displayMode. Looking at current props there's nothing really describing what we want to do. And this mode mentioned in this issue could be called dayTimeLandscape or something like that.
One question that comes to mind is - what happens if the user clicks the month to bring up the monthpicker? Should the left column just switch to months? Sounds OK to me.
Thoughts? @arqex?

I thought the same as you simeg, month or year picker with the timepicker at its side doesn't play really well. It should hide the timepicker then.
I don't see that this change would be a priority, if we ever implemented it, the way the different views are loaded in the component have roots in its internal structure, so it would be a change to big right now . If that layout is needed, it can be done as @andrewmclagan says using two pickers side by side, it wouldn't be difficult to create a component to wrap both.
This is the same for a interval creator, it's easier to use two pickers than modifiy the way this one works now.

@arqex you certainly know the codebase better than me, so I trust you when you say it's a big change :) For now a wrapping component could be created if someone wants to use the component like this. Please let us know if you have created one!

This will be an awesome feature, anybody can share this component ?

Has anyone created this component?

Thanks @nicubarbaros, it looks and works great!

Glad I could give back a little.