[Problem] Lost the projects, requests and insomnia.WorkspaceMeta corrupted.

Insomnia Version:  1.18.10807.101
Operating System:  Windows 7

Details

Lost the projects, requests and insomnia.WorkspaceMeta corrupted, getting JavaScript error occur in the main process when tried to launch Insomnia app.

How to recover all the projects and respective request added to insomnia?, Please help!!!

If it's the workspacemeta db that's corrupted you should just be able to delete it and restart the app

@gschier  : Thanks a lot for your advise, It worked as suggested. I deleted the old workspacemeta and restarted the Insomnia, I can see all my project/request and data now. Thanks again for your help.

Awesome, glad to hear 👍

In my case, CookieJar.db was corrupted, so I deleted it and it worked. For anyone else facing this issue, take a backup of all files and delete all files from AppData folder.
After this, start replacing each file in AppData folder from the backup you took and start Insomnia till you get error. Now you know which file has the error :) Just hope that Requests.. is not the file .. otherwise that means you have lost all your requests...
Thanks,
Yash :)

I tested a new install (never used Insomnia), and got the same problem, but with version 6.4.2!
Deleted all appdata\local\insomnia folder, installed again, and the error continue.
Windows 10 x64.

If it's a fresh install it's likely a different problem. Perhaps insufficient permissions to write the dB files?

I've recently now seen the same issue and it's hauntingly familiar to errors I was seeing on Postman (why I switched to Insomnia in the first place).  Assuming nedb is the issue (as both use this), this team may find it worthwhile to dig into the issue along with the Postman team / nedb team.
Postman issue describing the same thing: Postman fails to start on Windows 10.0.17763.437

@ValorMorgan can you provide an example of the "corrupt" file?
Sent with GitHawk

@ValorMorgan can you provide an example of the "corrupt" file?
Sent with GitHawk

I formatted the source for readability but on first open, this file is in a single line.  Note: I replaced my cookies with [...] for privacy.  None of the cookies appeared to be the issue though (in my testing, I removed the cookies and saw the error message still).
{
	"_id": "jar_ab6bec8fdb5e40d78c8a88918db7577c",
	"type": "CookieJar",
	"parentId": "wrk_645debbe0a5442ada2696bd4a6d628f6",
	"modified":<PHONE_NUMBER>833,
	"created":<PHONE_NUMBER>897,
	"name": "Default Jar",
	"cookies": [...]
}

Example in one line (saving as one line fixes the issue):
{"_id": "jar_ab6bec8fdb5e40d78c8a88918db7577c","type": "CookieJar","parentId": "wrk_645debbe0a5442ada2696bd4a6d628f6","modified":<PHONE_NUMBER>833,"created":<PHONE_NUMBER>897,"name": "Default Jar","cookies": [...]}

Cookie structure (for reference):
{
	"creation": string (date),
	"domain": string,
	"hostOnly": boolean,
	"httpOnly": boolean,
	"id": string,
	"key": string (hashed),
	"lastAccessed": string (date),
	"path": string,
	"secure": boolean,
	"value": string (hashed)
}

@ValorMorgan, is there any way you could attach a raw version of the DB file that broke it? If it's line endings causing the issue, then I won't be able to copy your example to reproduce the problem.
I think part of the issue here might be that NeDB uses a 10% corruption limit. For a DB with only a few bytes of data in it, one "invalid" line ending might be all it takes to prevent it from loading.

I just changed the corruption threshold from 10% to 90% to see if that prevents some of this.

Git doesn't let me post a .db file but here's the file with a .txt extension.  I went through and removed private data in strings (left stuff outside strings alone).  Note the trailing } on the 2nd line.
insomnia.CookieJar.db.txt

@ValorMorgan in your example, the trailing } is on its own line. Previously, you mentioned it was on a single line. Can you confirm this?

@ValorMorgan in your example, the trailing } is on its own line. Previously, you mentioned it was on a single line. Can you confirm this?

I cannot fully confirm.  At this point, my backups were either modified for my testing or to show what I have here.
Off memory, the trailing } was on its own line when I first had the issue.  I am able to confirm that simply adding a 2nd line in the .db files with text (not an empty line) does cause the 10% corruption message.
Apologies for losing the very original source file...

Don't worry about it. It's just a bit unfortunate not to know the exact reason.

I just fixed my problem by editing the insomnia.CookieJar.db file to remove a couple of extra carriage returns.

I suggest creating a git repository inside https://support.insomnia.rest/article/48-frequently-asked-questions#technical-questions Where does the application store data?
then do you not need to worry :)


RestfulService: Impossible to have urls with %20 for spaces rather than +

Description
Web service I am trying to consume with the SilverStripe RestfulService requires that spaces in parameters are %20 not plus (+) characters.
Discovered that it is impossible to do this in RestfulService from Silverstripe 3.2 onwards for a couple of reasons I will detail below. 1-2 of the issues in the ResfulService itself, the other is in the Controller::join_links() function.

Firstly neither the RestfulService::setQueryString() or Controller::join_links() functions which use http_build_query() allow the encoding type to be specified. There are two - the default PHP_QUERY_RFC1738 (does + for spaces) and PHP_QUERY_RFC3986 (does %20 for spaces)

See http://php.net/manual/en/function.http-build-query.php
I would assume there are other places in the framework where http_build_query does not allow the encoding type to be specified, might want to check.

Simply altering RestfulService::setQueryString() adding a second parameter called $encodingType which the developer can specify when using the restful service does not solve the issue because the RestfulService::getAbsoluteRequestURL() (called before a request is made) uses Controller::join_links and this re-encodes the spaces back to +

Controller:join_links uses http_build_query() and does not allow the encoding type to be specified so query parameters are encoded to have + for the spaces (also they are encoded again when sent from the resful service).

Files / functions involved
http://api.silverstripe.org/master/source-class-RestfulService.html#106-112
http://api.silverstripe.org/master/source-class-RestfulService.html#393-401
http://api.silverstripe.org/master/source-class-Controller.html#621-661
Possible solution

Allow encoding type to be passed as a parameter to the setQueryString() function in the RestfulService, or better still allow this to be set when creating a RestfulService object. Ensure it is passed to http_build_query when used in the resful service.

public function setQueryString($params=NULL) {
    $this->queryString = http_build_query($params,'','&', $this->encodingType);
}

Then change getAbsoluteRequestURL() to pass though the encoding specified on ResfulService object to join_links and ensure that is passed on to the http_build_query function.

public function getAbsoluteRequestURL($subURL = '') {
    $url = Controller::join_links($this->baseURL, $subURL, '?' . $this->queryString, $this->encodingType);
    return str_replace(' ', '%20', $url); // Encode spaces
}

Or since the parameters are already encoded by the restful service pass a parameter to Controller:join_links to prevent it parsing the params again?
Thanks.

I think having an $encodingType member seems the most manageable; The more we constraint this change to RestfulService the better.
This should go into the 3 branch, with the current default encoding set by default. :)

Sounds good :)

Please can we close this with "use guzzle" as the solution?

"use guzzle"

Here's an example of a guzzle client in silverstripe https://github.com/silverstripe-labs/silverstripe-textextraction/blob/master/code/tika/TikaRestClient.php


how to create Published

i cant make  Published
array(/* DROP DOWN */
'id' => 'published',
'type' => 'dropdown',
'options' => array(
'1' => 'Published',
'2' => 'Disabled'
)

Could you provide the full code you're using?

any solution yet ! how to create placeholder in dropdown list?


Implement Unique3D

This looks promising and they have released the weights...
https://github.com/AiuniAI/Unique3D
https://wukailu.github.io/Unique3D/
https://huggingface.co/spaces/Wuvin/Unique3D/tree/main/ckpt

unique3d seems to be integrated but the generated objs lack image textures in mtl?

Unique3d using vertex color based generation, that's why you couldn't find textures in .mtl, but you'll find VC value in .obj file :)

Is there a comfy Module that converts vertex colors to texture


[hotfix][flink-core and docs] fix typos

What is the purpose of the change
Fix typos in OptimizerOptions.java and docs
Brief change log
Fix typos in OptimizerOptions.java and docs
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Looks good, thank you for fixing this!
Merging...


How should we approach sharing generic templates with the community?

We can expect more useful templates to pop up in future and we even might to create few to drive and test some new features in generator or even just for documentation purposes. It would be cool if there will be a way to share these templates in some known place.
So what then will be the strategy to distribute and share such templates?
Subfolder in root of this repo? Or maybe through separate repository? Via subspec (I don't remember accurately if CocoaPods supports repos without targets)? Any other options?

Was about to write about this, you beat me to the punch.
I think a reasonable approach would be to:

Add a folder for generic Templates in this repository
Add generation tests to always keep Templates up-to date with tool version thus avoiding breaking them with updates
Bundle templates with the binary distribution of the Pod, so that people can use our default implementation if they wish

Makes sense?

I think it would be really interesting to have a project that people can pull in as a dependency (like SwiftGen, via Cocoapods or Carthage) which provides some basic templates for protocols like AutoEquatable or AutoHashable.
Do you think this is feasible? Another future direction for that would be providing a way for each user of that repository  to add their own templates that are less widely applicable (maybe JSON parsing, lenses, etc.).
Basically, I think it would be cool for the example templates in #123 to be usable for an end-user. I'm not sure if that belongs in Sourcery itself, or in a project which has Sourcery as a dependency.

@bejar37 that's the idea, I made those files separate so we can bring them in as embedded templates later on, I didn't bundle them yet because we are far from 1.0 and a lot of changes are happening

Oops, I see that I hadn't read your previous comment throughly @krzysztofzablocki . Sorry!

Actually, lets embeed them in binary distrubtion, people can choose to use them or not :)


YARN-11578. Cache fs supports chmod in LogAggregationFileController. (#6120)

Original PR: #6120
Conflicts:

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/logaggregation/filecontroller/LogAggregationFileController.java #
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/logaggregation/filecontroller/TestLogAggregationFileController.java

Description of PR
How was this patch tested?
For code changes:

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

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
5m 39s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ branch-3.3 Compile Tests _

-1 :x:
mvninstall
35m  2s
/branch-mvninstall-root.txt
root in branch-3.3 failed.

+1 :green_heart:
compile
0m 35s

branch-3.3 passed

+1 :green_heart:
checkstyle
0m 30s

branch-3.3 passed

+1 :green_heart:
mvnsite
0m 38s

branch-3.3 passed

+1 :green_heart:
javadoc
0m 45s

branch-3.3 passed

+1 :green_heart:
spotbugs
1m 33s

branch-3.3 passed

-1 :x:
shadedclient
25m 14s

branch has errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 31s

the patch passed

+1 :green_heart:
compile
0m 28s

the patch passed

+1 :green_heart:
javac
0m 28s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 19s

the patch passed

+1 :green_heart:
mvnsite
0m 30s

the patch passed

+1 :green_heart:
javadoc
0m 33s

the patch passed

+1 :green_heart:
spotbugs
1m 20s

the patch passed

-1 :x:
shadedclient
25m 11s

patch has errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
4m  1s

hadoop-yarn-common in the patch passed.

+1 :green_heart:
asflicense
0m 27s

The patch does not generate ASF License warnings.

105m 11s

Subsystem
Report/Notes

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

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

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

uname
Linux 32110dbad7f4 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.3 / 270c90dbaeda36d947ad9eaa2ed9d07a72ba2280

Default Java
Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~18.04-b09

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

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

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common

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

versions
git=2.17.1 maven=3.6.0 spotbugs=4.2.2

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 29s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ branch-3.3 Compile Tests _

-1 :x:
mvninstall
35m 24s
/branch-mvninstall-root.txt
root in branch-3.3 failed.

+1 :green_heart:
compile
0m 35s

branch-3.3 passed

+1 :green_heart:
checkstyle
0m 29s

branch-3.3 passed

+1 :green_heart:
mvnsite
0m 38s

branch-3.3 passed

+1 :green_heart:
javadoc
0m 43s

branch-3.3 passed

+1 :green_heart:
spotbugs
1m 22s

branch-3.3 passed

-1 :x:
shadedclient
25m 47s

branch has errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 26s

the patch passed

+1 :green_heart:
compile
0m 27s

the patch passed

+1 :green_heart:
javac
0m 27s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 36s

the patch passed

+1 :green_heart:
mvnsite
0m 27s

the patch passed

+1 :green_heart:
javadoc
0m 33s

the patch passed

+1 :green_heart:
spotbugs
1m 15s

the patch passed

-1 :x:
shadedclient
27m 48s

patch has errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
4m 11s

hadoop-yarn-common in the patch passed.

+1 :green_heart:
asflicense
0m 28s

The patch does not generate ASF License warnings.

103m  2s

Subsystem
Report/Notes

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

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

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

uname
Linux 9fe40c9ec247 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.3 / 270c90dbaeda36d947ad9eaa2ed9d07a72ba2280

Default Java
Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~18.04-b09

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

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

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common

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

versions
git=2.17.1 maven=3.6.0 spotbugs=4.2.2

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
4m 50s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ branch-3.3 Compile Tests _

+1 :green_heart:
mvninstall
35m  1s

branch-3.3 passed

+1 :green_heart:
compile
0m 35s

branch-3.3 passed

+1 :green_heart:
checkstyle
0m 30s

branch-3.3 passed

+1 :green_heart:
mvnsite
0m 39s

branch-3.3 passed

+1 :green_heart:
javadoc
0m 43s

branch-3.3 passed

+1 :green_heart:
spotbugs
1m 21s

branch-3.3 passed

+1 :green_heart:
shadedclient
23m 42s

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

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 31s

the patch passed

+1 :green_heart:
compile
0m 28s

the patch passed

+1 :green_heart:
javac
0m 28s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 19s

the patch passed

+1 :green_heart:
mvnsite
0m 29s

the patch passed

+1 :green_heart:
javadoc
0m 32s

the patch passed

+1 :green_heart:
spotbugs
1m 18s

the patch passed

+1 :green_heart:
shadedclient
23m 22s

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

_ Other Tests _

+1 :green_heart:
unit
4m  1s

hadoop-yarn-common in the patch passed.

+1 :green_heart:
asflicense
0m 28s

The patch does not generate ASF License warnings.

100m  6s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6142/3/artifact/out/Dockerfile

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

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

uname
Linux 7299c5f565ea 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.3 / 270c90dbaeda36d947ad9eaa2ed9d07a72ba2280

Default Java
Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~18.04-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6142/3/testReport/

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

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6142/3/console

versions
git=2.17.1 maven=3.6.0 spotbugs=4.2.2

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

This message was automatically generated.

Thanks @tomicooler for the backport, @slfan1989 for the review, merging.


Proposal to obsolete 'GO:0019015 viral genome' and its children

Hello,
The proposal has been made to obsolete
GO:0019015 viral genome (3 annotations)  its children:
GO:0019021 DNA viral genome 		-> 	0 annotations
GO:0019016 non-segmented viral genome -> 	0 annotations
GO:0019038 provirus 		-> 	146 annotations
GO:0019022 RNA viral genome -> 	0 annotations
GO:0019023 dsRNA viral genome -> 	0 annotations
GO:0019024 ssRNA viral genome -> 	0 annotations
GO:0019017 segmented viral genome -> 	0 annotations
GO:0019018 bipartite viral genome -> 	0 annotations
GO:0019020 multipartite viral genome -> 	0 annotations
GO:0019019 tripartite viral genome  -> 	0 annotations
The reason for obsoletion is that these terms do not represent GO cellular components.
Most annotations are from JCVI and TIGR except 2 ISS from EcoCyc, that are missing the 'with' information.
There are no mappings to these terms; these terms are not parts of any subsets (slims).
Any comments can be  added to the issue: https://github.com/geneontology/go-ontology/issues/16993
We are opening a comment period for this proposed obsoletion. We’d like to proceed and obsolete this term on March 12th, 2019. Unless objections are received by March 12th, 2019. we will assume that you agree to this change.
Thanks, Pascale

IMO GO:0019038 provirus should not be obsoleted; it does have the wrong parentage, though.  It probably should be a child of GO:0098687 chromosomal region.
Cheers,
Ingrid

@mgiglio99 You had proposed the obsoletion of provirus - I just wanted to know if you agree with the proposal to move it under 'chromosomal region' instead ?
Thanks, Pascale

It is a chromosomal region so I guess that could work.
Still not sure how it would be used in annotation.

@keseler Any candidate proteins for annotation to 'provirus'?
Note that we have a few processes related to proviruses:

'provirus excision'
'establishment of integrated proviral latency'
'establishment of viral latency'
'viral genome integration into host DNA'

Thanks, Pascale

I had to really think about that... ;-)  (For so long, in fact, that your comment appeared in the meantime!) I suspect that previous annotations may have been using the provirus term in a kind of SO sense, not in the proper "localizes to this cellular component" sense.  One of the EcoCyc proteins currently annotated with the term, AlpA, seems to be a transcriptional regulator of expression of the phage integrase, so I could envision it having a "localizes to" annotation to provirus.  On the other hand, it is tempting confusion...
In other words, I realize that there are better process/function GO terms that could be used for annotation, and wouldn't be devastated if you decided to obsolete the CC provirus term.
Cheers,
Ingrid

That's interesting ! I don't even find a CC term that corresponds to a promoter - we only have MF terms, with which we plan to use a SO term to define the location of the DNA binding.
I'll obsolete it too, to avoid confusion.
Thanks, Pascale


WIP: Add snark work sexp runner to CLI

This has been helpful to me in debugging (and I thought it already existed..), so leaving it here in case anyone wants to use it in future or fix it up for merging.

!ci-build-me


Zip deploy using WEBSITE_RUN_FROM_PACKAGE=1

Please provide us with the following information:

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

Minimal steps to reproduce

Just use base information for ZipDeploy on linux, using RUN FROM PACKAGE

Any log messages given by the failure

Central Directory corrupt.
File deployed to kudu size is 0
Using SCM and oryx works

Expected/desired behavior

Skipping build due to website run from package

OS and Version?

Linux-python 3.9-Azure B1 ASP

Versions

3.9

Mention any other details that might be useful

Thanks! We'll be in touch soon.
173.zip

@OscarArguedasB did you ever find a resolution to this?

@OscarArguedasB did you ever find a resolution to this?

Basically  I ended up using a Pipeline to deploy the code once the function was created


Add ability to save a song on Spotify

Add ability to link with your Spotify account.
Once linked, add a button to each song in the recently played list so that you can save it on Spotify, to find later.

Hi, @cheshire137 thanks for a great app! Do you support it? I would be glad to help with this feature! 👍

I do! If you’d like to work on this feature, feel free! I’m happy to review PRs. Thanks! 😄

Hey, @cheshire137
I remember this feature. I'm super overloaded now.
So, not sure, that can schedule it next few months. >.<

btw, since you are an active @github contributor - I believe you heard about the new feature.
I would like to say, that I would ❤  to press Donate button for this repo! 😉

I'm super overloaded now.

Hey, no worries! I understand how that goes. 😄

I would ❤ to press Donate button for this repo! 😉

Aww, thank you, I appreciate it!


fix(routing): when unkown accessing unkown user/space

Fixes https://github.com/fabric8io/fabric8-ui/issues/1303
Prior to the fix entering an URL like:
http://localhost:3000/blah/blah will throw:
ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'type' of undefined
TypeError: Cannot read property 'type' of undefined
and not properly redirect the _home

There were the following issues with your Pull Request

Commit: 14c1e25815b0baa5464f2ee21bdc967fa3427bf6
Your subject line is longer than 50 characters

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com

There were the following issues with your Pull Request

Commit: 14c1e25815b0baa5464f2ee21bdc967fa3427bf6
Your subject line is longer than 50 characters

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com

[test]

@corinnekrych snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1383-fabric8-ui.int.rdu2c.fabric8.io

There were the following issues with your Pull Request

Commit: 14c1e25815b0baa5464f2ee21bdc967fa3427bf6
Your subject line is longer than 50 characters

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com

There were the following issues with your Pull Request

Commit: 29a9bc49e71339730c12d27868de1f8e9e65dd40
Your subject line is longer than 50 characters

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com

Fixes #1303
Fixes https://github.com/fabric8io/fabric8-ui/issues/1384

@corinnekrych snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1383-fabric8-ui.int.rdu2c.fabric8.io


Update memory cache header

Some nullable will make trouble. For example, objectForKey with no block parameter. In swift, it's trouble.
For example, the following are ambiguous in Swift3. They have the same method signature.
  - (void)objectForKey:(NSString *)key block:(nullable PINMemoryCacheObjectBlock)block;
  - (nullable id)objectForKey:(NSString *)key

Hi @ToroLiu is there another way to fix this issue? It's important to be able to call the objectForKey:block: with a nil block because it's the asynchronous version (i.e. it doesn't block the thread while waiting to get the object) of the method and objectForKey: is synchronous (i.e. it blocks the thread until it gets the object).

In Swift3, they are with the same method signatures. The __nullable attribute has meaning in Swift.
And, @garrettmoon. If the block is nil, the method objectForKey:block: return Void. How do you get the return object with asynchronous way?
// Original
open class PINMemoryCache : NSObject, PINCacheObjectSubscripting {
  // ...

  open func object(forKey key: String, block: PINCache.PINMemoryCacheObjectBlock = nil)

  // Due to the above method's block is nil by default. It will has the same method signature with this.
  // So, Swift compiler don't know which one is correct.
  open func object(forKey key: String?) -> Any?

}

What I modify is the header of PMMemoryCache. It's no problem with PINCache.

I understand the issue, it sounds like a real problem! I'm just questioning the solution (I'm no Swift expert though).
In the case of objectForKey:block:, there's no reason to call it with a nil block except perhaps for side effects. However, with something like setObjectForKey:block: there is, you may not care when the object is set, so providing a nil block allows you to ignore the results without the overhead of PINMemoryCache needing to call the block.
Again, I see the problem, I'm just wondering if there's another solution than eliminating the nullable attribute.
Separately, isn't this an issue with PINCache and PINDiskCache as well? If not, do you know why not?

Maybe the PINCache.h and PINMemoryCache.h should be review again about this problem.
The nullable has meaning in Swift, but in Obj-C, maybe it has no meaning ?
// In PINCache.h
- (void)setObject:(id <NSCoding>)object forKey:(NSString *)key block:(nullable PINCacheObjectBlock)block;

- (void)objectForKey:(NSString *)key block:(PINCacheObjectBlock)block;

The following is PINCache in Swift. Converted by Xcode.
import UIKit

//  PINCache is a modified version of TMCache
//  Modifications by Garrett Moon
//  Copyright (c) 2015 Pinterest. All rights reserved.

/**
 A callback block which provides only the cache as an argument
 */
public typealias PINCacheBlock = (PINCache) -> Swift.Void

/**
 A callback block which provides the cache, key and object as arguments
 */
public typealias PINCacheObjectBlock = (PINCache, String, Any?) -> Swift.Void

/**
 A callback block which provides a BOOL value as argument
 */
public typealias PINCacheObjectContainmentBlock = (Bool) -> Swift.Void

/**
 `PINCache` is a thread safe key/value store designed for persisting temporary objects that are expensive to
 reproduce, such as downloaded data or the results of slow processing. It is comprised of two self-similar
 stores, one in memory (<PINMemoryCache>) and one on disk (<PINDiskCache>).

 `PINCache` itself actually does very little; its main function is providing a front end for a common use case:
 a small, fast memory cache that asynchronously persists itself to a large, slow disk cache. When objects are
 removed from the memory cache in response to an "apocalyptic" event they remain in the disk cache and are
 repopulated in memory the next time they are accessed. `PINCache` also does the tedious work of creating a
 dispatch group to wait for both caches to finish their operations without blocking each other.

 The parallel caches are accessible as public properties (<memoryCache> and <diskCache>) and can be manipulated
 separately if necessary. See the docs for <PINMemoryCache> and <PINDiskCache> for more details.

 @warning when using in extension or watch extension, define PIN_APP_EXTENSIONS=1
 */
open class PINCache : NSObject, PINCacheObjectSubscripting {

    /// @name Core

    /**
     The name of this cache, used to create the <diskCache> and also appearing in stack traces.
     */
    open var name: String { get }

    /**
     Synchronously retrieves the total byte count of the <diskCache> on the shared disk queue.
     */
    open var diskByteCount: UInt { get }

    /**
     The underlying disk cache, see <PINDiskCache> for additional configuration and trimming options.
     */
    open var diskCache: PINDiskCache { get }

    /**
     The underlying memory cache, see <PINMemoryCache> for additional configuration and trimming options.
     */
    open var memoryCache: PINMemoryCache { get }

    /// @name Initialization

    /**
     A shared cache.

     @result The shared singleton cache instance.
     */
    open class func shared() -> Self

    /**
     Multiple instances with the same name are allowed and can safely access
     the same data on disk thanks to the magic of seriality. Also used to create the <diskCache>.

     @see name
     @param name The name of the cache.
     @result A new cache with the specified name.
     */
    public convenience init(name: String)

    /**
     Multiple instances with the same name are allowed and can safely access
     the same data on disk thanks to the magic of seriality. Also used to create the <diskCache>.

     @see name
     @param name The name of the cache.
     @param fileExtension The file extension for files on disk.
     @result A new cache with the specified name.
     */
    public convenience init(name: String, fileExtension: String?)

    /**
     Multiple instances with the same name are allowed and can safely access
     the same data on disk thanks to the magic of seriality. Also used to create the <diskCache>.

     @see name
     @param name The name of the cache.
     @param rootPath The path of the cache on disk.
     @param fileExtension The file extension for files on disk.
     @result A new cache with the specified name.
     */
    public convenience init(name: String, rootPath: String, fileExtension: String?)

    /**
     Multiple instances with the same name are allowed and can safely access
     the same data on disk thanks to the magic of seriality. Also used to create the <diskCache>.
     Initializer allows you to override default NSKeyedArchiver/NSKeyedUnarchiver serialization for <diskCache>.
     You must provide both serializer and deserializer, or opt-out to default implementation providing nil values.

     @see name
     @param name The name of the cache.
     @param rootPath The path of the cache on disk.
     @param serializer   A block used to serialize object before writing to disk. If nil provided, default NSKeyedArchiver serialized will be used.
     @param deserializer A block used to deserialize object read from disk. If nil provided, default NSKeyedUnarchiver serialized will be used.
     @param fileExtension The file extension for files on disk.
     @result A new cache with the specified name.
     */
    public init(name: String, rootPath: String, serializer: PINCache.PINDiskCacheSerializerBlock?, deserializer: PINCache.PINDiskCacheDeserializerBlock?, fileExtension: String?)

    /// @name Asynchronous Methods

    /**
     This method determines whether an object is present for the given key in the cache. This method returns immediately
     and executes the passed block after the object is available, potentially in parallel with other blocks on the
     <concurrentQueue>.

     @see containsObjectForKey:
     @param key The key associated with the object.
     @param block A block to be executed concurrently after the containment check happened
     */
    open func containsObject(forKey key: String, block: PINCache.PINCacheObjectContainmentBlock)

    /**
     Retrieves the object for the specified key. This method returns immediately and executes the passed
     block after the object is available, potentially in parallel with other blocks on the <concurrentQueue>.

     @param key The key associated with the requested object.
     @param block A block to be executed concurrently when the object is available.
     */
    open func object(forKey key: String, block: PINCache.PINCacheObjectBlock)

    /**
     Stores an object in the cache for the specified key. This method returns immediately and executes the
     passed block after the object has been stored, potentially in parallel with other blocks on the <concurrentQueue>.

     @param object An object to store in the cache.
     @param key A key to associate with the object. This string will be copied.
     @param block A block to be executed concurrently after the object has been stored, or nil.
     */
    open func setObject(_ object: NSCoding, forKey key: String, block: PINCache.PINCacheObjectBlock? = nil)

    /**
     Stores an object in the cache for the specified key and the specified memory cost. If the cost causes the total
     to go over the <memoryCache.costLimit> the cache is trimmed (oldest objects first). This method returns immediately
     and executes the passed block after the object has been stored, potentially in parallel with other blocks
     on the <concurrentQueue>.

     @param object An object to store in the cache.
     @param key A key to associate with the object. This string will be copied.
     @param cost An amount to add to the <memoryCache.totalCost>.
     @param block A block to be executed concurrently after the object has been stored, or nil.
     */
    open func setObject(_ object: NSCoding, forKey key: String, withCost cost: UInt, block: PINCache.PINCacheObjectBlock? = nil)

    /**
     Removes the object for the specified key. This method returns immediately and executes the passed
     block after the object has been removed, potentially in parallel with other blocks on the <concurrentQueue>.

     @param key The key associated with the object to be removed.
     @param block A block to be executed concurrently after the object has been removed, or nil.
     */
    open func removeObject(forKey key: String, block: PINCache.PINCacheObjectBlock? = nil)

    /**
     Removes all objects from the cache that have not been used since the specified date. This method returns immediately and
     executes the passed block after the cache has been trimmed, potentially in parallel with other blocks on the <concurrentQueue>.

     @param date Objects that haven't been accessed since this date are removed from the cache.
     @param block A block to be executed concurrently after the cache has been trimmed, or nil.
     */
    open func trim(to date: Date, block: PINCache.PINCacheBlock? = nil)

    /**
     Removes all objects from the cache.This method returns immediately and executes the passed block after the
     cache has been cleared, potentially in parallel with other blocks on the <concurrentQueue>.

     @param block A block to be executed concurrently after the cache has been cleared, or nil.
     */
    open func removeAllObjects(_ block: PINCache.PINCacheBlock? = nil)

    /// @name Synchronous Methods

    /**
     This method determines whether an object is present for the given key in the cache.

     @see containsObjectForKey:block:
     @param key The key associated with the object.
     @result YES if an object is present for the given key in the cache, otherwise NO.
     */
    open func containsObject(forKey key: String) -> Bool

    /**
     Retrieves the object for the specified key. This method blocks the calling thread until the object is available.
     Uses a lock to achieve synchronicity on the disk cache.

     @see objectForKey:block:
     @param key The key associated with the object.
     @result The object for the specified key.
     */
    open func object(forKey key: String) -> Any?

    /**
     Stores an object in the cache for the specified key. This method blocks the calling thread until the object has been set.
     Uses a lock to achieve synchronicity on the disk cache.

     @see setObject:forKey:block:
     @param object An object to store in the cache.
     @param key A key to associate with the object. This string will be copied.
     */
    open func setObject(_ object: NSCoding, forKey key: String)

    /**
     Stores an object in the cache for the specified key and the specified memory cost. If the cost causes the total
     to go over the <memoryCache.costLimit> the cache is trimmed (oldest objects first). This method blocks the calling thread
     until the object has been stored.

     @param object An object to store in the cache.
     @param key A key to associate with the object. This string will be copied.
     @param cost An amount to add to the <memoryCache.totalCost>.
     */
    open func setObject(_ object: NSCoding, forKey key: String, withCost cost: UInt)

    /**
     Removes the object for the specified key. This method blocks the calling thread until the object
     has been removed.
     Uses a lock to achieve synchronicity on the disk cache.

     @param key The key associated with the object to be removed.
     */
    open func removeObject(forKey key: String)

    /**
     Removes all objects from the cache that have not been used since the specified date.
     This method blocks the calling thread until the cache has been trimmed.
     Uses a lock to achieve synchronicity on the disk cache.

     @param date Objects that haven't been accessed since this date are removed from the cache.
     */
    open func trim(to date: Date)

    /**
     Removes all objects from the cache. This method blocks the calling thread until the cache has been cleared.
     Uses a lock to achieve synchronicity on the disk cache.
     */
    open func removeAllObjects()
}

Maybe the nullable in the method parameter should be null_unspecified .
Refer link: http://stackoverflow.com/a/39970305/419348

@ToroLiu Note: I did a pass on this header in #164, you may want to give feedback there.

@ToroLiu We've made some extensive changes to the API in order to address this issue. I'm going to close this pull request, but please comment back if you don't feel like we addressed it!


Plugin clashes with the collection log plugin.

Hello, I like the funny boss name plugin, however it seems to clash with the collection log plugin which automatically uploads collection log data to their website.
Since the funny boss names plugin changes the names on the collectoin log as well it seems to not be able to upload the data properly to the collection log data website.
My request is if it could be so that the names on the collection log no longer change, perhaps with a setting toggle

Hey, thanks for bringing this up!
I'll look into this soon.

Currently waiting for the PR to be merged.

PR got merged some time ago, should work flawless now


`GLIBCXX_3.4.30' not found for importing _limap

Thanks for your great work!
While running the quickstart on my machine, I found an issue with importing _limap with the errors as shown below:
(limap) [TITAN] ➜  limap git:(main) ✗ python runners/hypersim/triangulation.py --output_dir outputs/quickstart_triangulation

Traceback (most recent call last):
  File "/home/xn/repo/limap/runners/hypersim/triangulation.py", line 6, in <module>
    from loader import read_scene_hypersim
  File "/home/xn/repo/limap/runners/hypersim/loader.py", line 7, in <module>
    import limap.base as _base
  File "/home/xn/repo/limap/limap/__init__.py", line 3, in <module>
    from _limap import *
ImportError: /home/xn/anaconda3/envs/limap/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/xn/repo/limap/_limap.cpython-39-x86_64-linux-gnu.so)

After checking the code, I found the issue is caused by the sys.path.append at triangulation.py#L4.
When I first import _limap at triangulation.py#L3, the problem is solved.

Hey thanks for the interest and contribution!
I never came across this issue. Could you provide more details on reproducing it? I do not understand why adding "import _limap" can resolve this issue. Is there any chance that you could clarify on this?
Thanks a lot!

This is something usual when using anaconda. The error is saying that you have compiled the library (/home/xn/repo/limap/_limap.cpython-39-x86_64-linux-gnu.so) with a different C++ version than the one used to compile the python version that you are trying to use (/home/xn/anaconda3/envs/limap/bin/../lib/libstdc++.so.6).
This usually happens because when compiling the limap library in this case, the system compiler and C++ version is used but the correct one would be the anaconda version. A simple fix uses to be installing the proper gcc and cmake version in anaconda. In such a way that the default cmake is the anaconda one instead of the system one.
try with (untested):
conda install cmake

And re-compile the limap library

Hello,
I am currently working with the following runtime environment:

Ubuntu 22.04.1
Anaconda 4.13.0
CUDA 11.7
Python 3.9
PyTorch 1.13.0+cu117 (installed using pip install torch==1.13.0+cu117 torchvision==0.14.0+cu117 torchaudio==0.13.0 --extra-index-url https://download.pytorch.org/whl/cu117)

Click to see my CMake Outputs
-- The C compiler identification is GNU 9.5.0
-- The CXX compiler identification is GNU 9.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc-9 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++-9 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Enabling OpenMP support
-- Disabling pixelwise optimization with ceres interpolation.
-- Found METIS: /usr/include (found suitable version "5.1.0", minimum required is "5.1.0")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found AMD headers in: /usr/include/suitesparse
-- Found AMD library: /usr/lib/x86_64-linux-gnu/libamd.so
-- Found CAMD headers in: /usr/include/suitesparse
-- Found CAMD library: /usr/lib/x86_64-linux-gnu/libcamd.so
-- Found CCOLAMD headers in: /usr/include/suitesparse
-- Found CCOLAMD library: /usr/lib/x86_64-linux-gnu/libccolamd.so
-- Found CHOLMOD headers in: /usr/include/suitesparse
-- Found CHOLMOD library: /usr/lib/x86_64-linux-gnu/libcholmod.so
-- Found COLAMD headers in: /usr/include/suitesparse
-- Found COLAMD library: /usr/lib/x86_64-linux-gnu/libcolamd.so
-- Found SPQR headers in: /usr/include/suitesparse
-- Found SPQR library: /usr/lib/x86_64-linux-gnu/libspqr.so
-- Found Config headers in: /usr/include/suitesparse
-- Found Config library: /usr/lib/x86_64-linux-gnu/libsuitesparseconfig.so
-- Did not find Intel TBB library, assuming SuiteSparseQR was not compiled with TBB.
-- Looking for shm_open in rt
-- Looking for shm_open in rt - found
-- Adding librt to SuiteSparse_config libraries (required on Linux & Unix [not OSX] if SuiteSparse is compiled with timing).
-- Found METIS: /usr/include (found version "5.1.0")
-- Looking for cholmod_metis
-- Looking for cholmod_metis - found
-- Found SuiteSparse: /usr/include/suitesparse (found suitable version "5.10.1", minimum required is "5.10.1") found components: AMD CAMD CCOLAMD CHOLMOD COLAMD SPQR Config
-- Found required Ceres dependency: Eigen version 3.4.0 in /usr/share/eigen3/cmake
-- Found required Ceres dependency: glog
-- Found required Ceres dependency: gflags
-- Found Ceres version: 2.2.0 installed in: /usr/local with components: [EigenSparse, SparseLinearAlgebraLibrary, LAPACK, SuiteSparse, SchurSpecializations, Multithreading]
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0") found components: program_options filesystem system unit_test_framework
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found Eigen
--   Includes : /usr/include/eigen3
-- Found FreeImage
--   Includes : /usr/include
--   Libraries : /usr/lib/x86_64-linux-gnu/libfreeimage.so
-- Found Glog
--   Includes : /usr/local/include
--   Libraries : /usr/local/lib/libglog.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Found Glew
--   Includes : /usr/include
--   Libraries : /usr/lib/x86_64-linux-gnu/libGLEW.so
-- Using header-only CGAL
-- Targetting Unix Makefiles
-- Using /usr/bin/g++-9 compiler.
-- Found GMP: /usr/lib/x86_64-linux-gnu/libgmp.so
-- Found MPFR: /usr/lib/x86_64-linux-gnu/libmpfr.so
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.48")
-- Boost include dirs: /usr/include
-- Boost libraries:
-- Using gcc version 4 or later. Adding -frounding-math
-- Setting build type to 'RelWithDebInfo' as none was specified.
-- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libcrypto.so;/usr/lib/x86_64-linux-gnu/libcurl.so;/usr/lib/x86_64-linux-gnu/libpthread.a;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.a;/usr/lib/x86_64-linux-gnu/libm.so (found version "1.10.7")
-- Found Boost: /usr/include (found version "1.74.0") found components: system serialization
-- pybind11 v2.10.0 dev1
-- Found PythonInterp: /home/xn/anaconda3/envs/limap/bin/python (found suitable version "3.9", minimum required is "3.6")
-- Found PythonLibs: /home/xn/anaconda3/envs/limap/lib/libpython3.9.so
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
Build type: RelWithDebInfo
-- Creating target: igl::core (igl_core)
-- Configuring done
-- Generating done

I tried implementing @iago-suarez's solution but still encountered the same issue. I believe the main cause is the use of Anaconda. However, I discovered that the compiled _limap module could be successfully imported in the terminal, as shown below:
(limap) [TITAN] ➜  limap git:(main) ✗ python
Python 3.9.0 (default, Nov 15 2020, 14:28:56)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import _limap
>>>

I further investigated the problem by attempting to import _limap before or after triangulation.py#L4, both of which were successful. Since _limap is actually imported at hypersim/loader.py#L5, I set a breakpoint at the beginning of loader.py and then tried importing _limap. Unfortunately, I encountered the same error.
So, my current solution to avoid this issue is importing the _limap or limap in the first.
On my machine, I encounter the same issue with other runners as well, such as ETH3D.

Maybe the problem can be resolved by linking your existing libstdc++.so file to the anaconda environment by
ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6  {path to anaconda}/envs/ganimator/bin/../lib/libstdc++.so.6.

I never encountered this issue myself but got inspiration from similar issue from another project. Thanks!

It works! Thanks!


Spin's KV storage doesn't run on K8s (Docker Desktop)

Hi,
I'm trying to run the new key-value storage example that comes with Spin v0.9.0 from this article in the K8s cluster provided by Docker Desktop.
To configure the K8s cluster to support running WASM workloads, I use a modified version of the daemonset image defined in this approach. Instead of kwasm/kwasm-node-installer, I use felipecruz/kwasm-node-installer containing Spin v0.9.0 as per:

https://github.com/KWasm/kwasm-node-installer/compare/main...felipecruz91:kwasm-node-installer:main

After deploying the daemonset and the key-value Go deployment resources to the K8s cluster (see /deploy folder to find the manifests in this repo), the Pod's status is RunContainerError.
Kubelet logs
kubelet  Error: failed to start container "tinygo-key-value-spin": Error response from daemon: Cannot read manifest file from │ │  "/var/run/desktop-containerd/daemon/io.containerd.runtime.v2.task/moby/tinygo-key-value-spin/rootfs/spin.toml": unknown
Containerd logs from Docker Desktop (containerd.log)
[INFO] server listen started
[INFO] server started
[INFO] Shim successfully started, waiting for exit signal...
[DEBUG] Got new client
[DEBUG] create: id: "0298b703c88281f40ff21341fc5c3c09b65ed672f274202a15c077492f301a67" bundle: "/var/run/desktop-containerd/daemon/io.containerd.runtime.v2.task/moby/0298b703c88281f40ff21341fc5c3c09b65ed672f274202a15c077492f301a67" rootfs {type: "overlay" source: "overlay" options: "workdir=/var/lib/containerd-stargz-grpc/snapshotter/snapshots/440/work" options: "upperdir=/var/lib/containerd-stargz-grpc/snapshotter/snapshots/440/fs" options: "lowerdir=/var/lib/containerd-stargz-grpc/snapshotter/snapshots/397/fs:/var/lib/containerd-stargz-grpc/snapshotter/snapshots/223/fs"} stdout: "/var/run/docker/containerd/0298b703c88281f40ff21341fc5c3c09b65ed672f274202a15c077492f301a67/init-stdout" stderr: "/var/run/docker/containerd/0298b703c88281f40ff21341fc5c3c09b65ed672f274202a15c077492f301a67/init-stderr"
[DEBUG] create done
[2023-02-26T10:16:57.286022615Z][containerd][I] time="2023-02-26T10:16:57.285763458Z" level=debug msg="event forwarded" ns=moby topic=/tasks/create type=containerd.events.TaskCreate
[DEBUG] connect: id: "0298b703c88281f40ff21341fc5c3c09b65ed672f274202a15c077492f301a67"
[DEBUG] start: id: "0298b703c88281f40ff21341fc5c3c09b65ed672f274202a15c077492f301a67"
[INFO]  >>> stdin: "", stdout: "/var/run/docker/containerd/0298b703c88281f40ff21341fc5c3c09b65ed672f274202a15c077492f301a67/init-stdout", stderr: "/var/run/docker/containerd/0298b703c88281f40ff21341fc5c3c09b65ed672f274202a15c077492f301a67/init-stderr"
[INFO]  >>> waiting for start notification
[INFO]  >>> loading module: /var/run/desktop-containerd/daemon/io.containerd.runtime.v2.task/moby/0298b703c88281f40ff21341fc5c3c09b65ed672f274202a15c077492f301a67/rootfs/spin.toml
[INFO]  >>> working dir: /var/run/desktop-containerd/daemon/io.containerd.runtime.v2.task/moby/0298b703c88281f40ff21341fc5c3c09b65ed672f274202a15c077492f301a67/rootfs
[INFO]  >>> starting spin
[INFO]  >>> building spin application
[INFO]  >>> error starting instance: Cannot read manifest file from "/var/run/desktop-containerd/daemon/io.containerd.runtime.v2.task/moby/0298b703c88281f40ff21341fc5c3c09b65ed672f274202a15c077492f301a67/rootfs/spin.toml"

From my findings, it seems the error happens when the line key_value_stores = ["default"] is defined in the spin.toml file and the shim fails right after this line:
https://github.com/deislabs/containerd-wasm-shims/blob/5807f798474fd3f287413e1c478c8b319c414328/containerd-shim-spin-v1/src/main.rs#L156
/cc @rumpl

Does you image contain the spin.toml file?

Yes, here's the Dockerfile:
https://github.com/felipecruz91/tinygo-key-value/blob/main/Dockerfile#L12

Hi,
I can't reproduce the problem. But I can run your app. 😊
Since the container in the gist used the spin shim v0.3.3 I just updated it to v0.4.0.
So I did a factory reset in Docker Desktop and started with the gist.
Then I built your app with:
docker buildx build \
	--push \
	--platform=wasi/wasm \
	-t 0xe282b0/tinygo-key-value .

And finally deployed it with a definition like this (You image is working as well.)
I can't really guarantee that the installation process every time results in a working cluster. Especially when already Spin containers are running and Docker Desktop restarts the init container has problems because the shim is already in use. Therefore, it is the safest way to do a factory reset when something is strange.
So you may try it after a factory reset with the update installer image. Hope that helps.

Closing this issue now.


Update the Harbor integration with ks-jenkins guide

This guide is out-of-date, could you pls help to update the Harbor integration with ks-jenkins guide.

@shaowenchen Could you help us to check and update this guide?

https://kubesphere.com.cn/docs/devops-user-guide/how-to-integrate/harbor/
/close


Cap JupyterLab to below 3.1 to avoid build issues

This is a temporary fix while we work on #1975
Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

I'm curious how temporary this is?  I don't think we should release Elyra 3.0 with this change since it will force a downgrade of Lab for nearly every user and we'd be right back to the issues described in #1959.

Closing as #1973 seems to solve the LAB 3.1 related issues


Fixed a bug where on Linux the control scheme wasn't reflecting on th…

Fixed a bug where on Linux the control scheme wasn't reflecting on the server when initially set by the client. This was because we were using the O_TRUNC flag when initializing shared memory on the server. This results in the memory buffer being initialized to zero bytes (overriding whatever the client initially stored).
I ran the test and a few more tests passed on Linux because of the fix. Some tests that resulted in an error now fail (which I think is an improvement). No passing test was affected. See the comparison below.

LGTM


Can run in webwork?

Feature Request
Can it run in webwork?
Motivation Behind Feature

JS engine is single-threaded, if a large number of time-consuming complex operations will make UI pause, such as reading and writing files, operating database, which will lead to poor user experience. So we hope to put these operations into the underlying thread (web work) to ensure that users operate smoothly.
Feature Description
ordova JS uses many main variables such as windows, which makes it impossible to use them in Web work (in this case, the main variable is self). Can you decide whether to use windows or self according to your judgment?
Alternatives or Workarounds
I am currently rewriting the code manually, but I lose all of this work every time I upgrade.

No, Cordova cannot run in a web worker because the techniques that we use to communicate between the web page and the native code aren't available using the APIs in web workers.
However, all Cordova commands are asynchronous, and the code on the native side should be making use of thread pools to avoid blocking.


Complete user sign-in loop

various typo fixes for dashboard and homepage
implement a sign in page that redirects to the dashboard upon sign-in
implement a sign-out button

LGTM


getInitialAppLinkString always get null when application starts

[android]
I'm having trouble getting the app link when the app is closed and a link is clicked in the browser.
the application opens, but the initial string is always null.
Its my code on main()
AppLinks links = AppLinks();
String? initialLink = await links.getInitialAppLinkString();
if (initialLink != null) {
DeepLinksController().handleLink(initialLink);
}
links.stringLinkStream.listen((url) {
DeepLinksController().handleLink(url);
});

I am having the same issue did any one found a fix for that ?

Same issue, appLinks.getInitialAppLink() always returns null?

Unfortunately I can't solve this problem yet.

If you try to get initial link in your main method, so around calling runApp method, it won't work since the plugin is not attached to the engine.
You must call it in a widget like shown in the example.
If it still does not work, please fill a simple reproducer for investigation, otherwise this issue will be close soon.


Assertion failure when viewing a file that was deleted

thread '<unnamed>' panicked at 'assertion failed: self.hl_range.range.contains_range(hl_range.range)', crates/ide/src/syntax_highlighting/highlights.rs:42:9
stack backtrace:
   0: std::panicking::begin_panic
   1: ide::syntax_highlighting::highlights::Node::add
   2: ide::syntax_highlighting::inject::doc_comment
   3: ide::syntax_highlighting::highlight
   4: std::panicking::try
   5: ide::Analysis::highlight_range
   6: rust_analyzer::handlers::handle_semantic_tokens_range
   7: <F as threadpool::FnBox>::call_box
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[Error - 7:02:22 PM] Request textDocument/definition failed.
  Message: file not found: /home/joshua/src/yottadb/YDBRust/src/context_api/tests.rs
  Code: -32603

Steps to reproduce: Check out https://gitlab.com/jyn514/YDBRust/-/commit/afd6e66c73030dff19e465d8493a4c2f247a6990, open src/context_api/tests.rs, then check out https://gitlab.com/jyn514/YDBRust/-/commit/cf544736b8366bdfd3dac7b472dfbbdcb61b14bb.

Duplicate of #7299.


Catch edge cases and improve code coverage for $$var, ${42}, etc

Previously, phan would throw a TypeError if ${42} occurred in the analyzed code in certain conditions.
(Completely rejecting ${42} and ${'42'} and emitting an issue would be a different acceptable approach, it's more important that it doesn't crash)

Start checking if $$x is very likely to be invalid (i.e. $x is not a string or an integer (e.g. object, array))
Get rid of references to trueNode and falseNode - They were removed from php-ast long before version 40 was released
Remove acceptAssignFlagVisitor and \ast\flags\ASSIGN_ values - Those were replaced by BINARY_ flags around version 20 (phan uses 40)
Add code coverage of binary operations. Add partial support for analyzing union types of binary operations such as foo($x .= 'str') (More work could be done there, but will postpone that)
Improve analysis of binary xor - PHP allows it to return int or string, but not float ("00" ^ "\x00\x01" === "01" - It XORs each byte)
Add tests cases asserting that Phan doesn't crash for invalid phpdoc comments, emits relevant issues.

This will be merged on June 14th if there are no comments

I've been running this on my fork for a while, and the crash is fixed, I haven't seen any problems, or changes in the quality of issue reporting.
Merging earlier since this contains bug fixes.


Reader/Writer interfaces

I don't think this is actually useful for smaz. If you're encoding any significant amount of data, you shouldn't be using smaz in the first place.


Stripe Webhook return 400 bad request

Hello, I have created a webhook on stripe to a custom route of serverpod web page, but it return 400, I have done something wrong?
this is the code
class StripeCheckoutRoot extends WidgetRoute {
  @override
  Future<Widget> build(Session session, HttpRequest request) async {
    request.response.statusCode = HttpStatus.ok;
    request.response.close();
    return StripeCheckoutWidget();
  }
}

class StripeCheckoutWidget extends Widget {
  StripeCheckoutWidget() : super(name: 'stripecheckout') {
    WidgetJson(object: {});
  }
}

in server.dart I added this line
  pod.webServer.addRoute(StripeCheckoutRoot(), '/stripe/checkout/success');
on the stripe Webhook I have added a checkout.session.completed webhook to
https://myappurl/stripe/checkout/success
but it return me 400 (bad request)
the server is hosted on google cloud run

I solved it, on google cloud run i have to deploy also the web server, so at the end of the script cloud-run-deploy.sh I have added these lines
# Deploy the Web server.
echo "Deploying Web server..."


Add it to home brew cask - please!

Very nice app!!!
Would be great to have it in the home brew cask repositories! This give users the chance to automaticity the update process if they doesn't prefer the Apple App Store.

ok dude, I will take time to look at it 👍

It's available in HomeBrew Cask now :)
Install it with brew cask install hiddenbar :+1:

close this as this was solved by @djerfy thanks bro <3


Throw function should return by default never instead of returning void

Bug Report
Issue in VsCode repository
https://github.com/microsoft/vscode/issues/118774

VS Code Version: 1.54.1
OS Version: Windows 10 20H2 Build 19042.572

Steps to Reproduce:

Example below

It should recognize that it return never

Another case Infinity loop the editor should warning user it infinity loop and set return type to never
function infinityLoop(): never {
    while (true);
}

By Design: #16608. Search terms used: never return in:title


garden-repo-manager: Remove priority for Debian based repositories

What would you like to be added:
Remove the priority for Debian based repositories within the new garden-repo-manager to ensure we use the defaults for each suite (especially for experimental).

Just pushed new version gardenlinux/1.0.3 to repository.


For DUDE dataset

In line 228 to line 236 of the file dude.py, is this random sampling used for negative samples?
random_selector = np.random.randint(len(decoys_string_list) - len(actives_string_list))

for smile in decoys_string_list:
    try:
        g = smiles_to_bigraph(smile.split()[0], node_featurizer=node_featurizer)
        g = dgl.add_self_loop(g)
        inactive.append(((constructed_graphs, g), zero))
    except:
        pass

The random_selector is not used in this code version, and I didn't remove it from the code. There is no random sampling in the pre-processing data.


Allow to save current document before refresh

For simple HTML projects I'd love to be able to save the doc and refresh the browser with a single keyboard shortcut (ideally Cmd+Shift+R).

That's out of scope, but you can achieve that by configuring a macro yourself: https://marketplace.visualstudio.com/items?itemName=geddski.macros


Hacking in better support for data that spans the date line.

Not super happy with this, but the tests pass and it does what we need to do.
Found some differences in behavior between sf and stars where stars switches to 0-360 lat/lon when data crosses the date line. So I convert the geometry to the same when the cell geometry has to be created in that projection. Still need to test this out for the area weighted stuff -- but it should be OK as long as the geometry gets handled right.
Not going to merge just yet as further work is required to make sure the area intersection will work under this strategy.

Ended up pulling back a few things and adding a check for lon/lat in the calculate area weights function. This should pretty much work now.


can i disable dnssec?just like  bind dnssec-enable no and dnssec-validation no;

https://www.nlnetlabs.nl/documentation/unbound/howto-turnoff-dnssec/
I tried through the link above to disable dnssec，but not effect

If you want to completely turn off comment out DNSSEC any option for trust-anchor-file and auto-trust-anchor-file in the configuration file (point 2) and remove validator from the module-config option (point 3). You need to restart unbound after the changes.
That should work.
Did you try and it is not working?
You can verify by issuing dig @<your-unbound-ip> bogus.nlnetlabs.nl txt.

If you want to completely turn off comment out DNSSEC any option for trust-anchor-file and auto-trust-anchor-file in the configuration file (point 2) and remove validator from the module-config option (point 3). You need to restart unbound after the changes.
That should work.
Did you try and it is not working?
You can verify by issuing dig @<your-unbound-ip> bogus.nlnetlabs.nl txt.

thansk，its right. I used to judge based on rrsig record


Add a note then should to the "allow multiple copies" box to say that it must be selected for templates of qty >= 2

589a8f322c06c98de33a0e6dd34cca8a015c64cf


Feature linux module

Integrate kernel compilation make module to build target kernel faster and prevent unnecessary rebuilds.
The current build_kernel.sh does fetch and build the complete kernel on each call, which generates a lot of  overhead.
In addition, the kernel compilation uses the global make jobserver to prevent too many threads (build_kernel.sh uses nproc for each build)
Additional changes:

use bash shell for makefile targets
multithreading by default (-jnproc` if -j defined)
parse make jobserver to tboot build

Ready to merge :+1:


Fix typo web-ui-dashboard.md

Just signed the CLA

/check-cla

try close and open again and see if cla check passes.

@chrismclennon You may have to check your CLA status again. Hints here: https://identity.linuxfoundation.org/projects/cncf

Hi @chrismclennon, I am closing this PR now. However, you can always reopen the PR after you sign the CLA.   You can follow the instructions here: https://git.k8s.io/community/CLA.md#the-contributor-license-agreement.

/close


Add flag --mount-hf-model to mount models from huggingface to the tira cli

This is now implemented and in production


Release a redux-opinionated feature branch.

My react-jobs library is evolving nicely and almost has all the features I would like to manage data prefetching/deferring/caching with/without redux.
I am going to remove the existing redux branch and implement a redux-opinionated branch instead.  It will be based off the existing redux branch, however, I will rip out all of the taskRoutes feature and replace it with react-jobs.
I am closing the following issues as they are superseded by this one:
#281
#255
#179

Done. :)


Statsd or collectd metrics?

Hi,
We've recently set up a graphite & grafana install for tracking the usual metrics. I'm wondering if there are any suggested best practices for including marathon-lb in our metrics?
We handle all response codes in our application layer behind Marathon-lb, but we'd really like to know about the times where marathon returns a 503, or times out because we need more instances running, or similar. Essentially every time a request is sent to us, but isn't handled by our application code, we'd love to know about it.
We're using the bobrik/collectd-docker container on each host within our mesos cluster, if that's any help. Sends all data to a graphite database, with Grafana sitting on top.

Hi,
My services are also load balanced with marathon-lb. I'm using Datadog to get information about response time, traffic, status codes, and so on ...
The code used to report this is available here if you want to see what it looks like: https://github.com/DataDog/dd-agent/blob/master/checks.d/haproxy.py

Ah cool, that looks like a great starting point. I'm not familiar with DataDog -- how do you set that agent up alongside marathon-lb?

Basically I have this https://github.com/DataDog/docker-dd-agent running on each instance.
You can find an example of how I use it here: https://gist.github.com/arkan/7937526c9349655a1f2a326293a8628d
This way, I can easily have Haproxy metrics reported to Datadog ❤

Thanks @arkan  -- appreciate it a lot.


[Hydrogen reference docs]: Determine a programmatic approach for referencing object relationships

Currently, we rely solely on writing markdown to convey associations or relationships between Hydrogen components and one or more of the following:

Storefront API objects
Other Hydrogen components (including aliases)
Hydrogen hooks
Hydrogen utilities
GraphQL fragments

Ideally, we should have a programmatic way of referencing these relationships. This would ensure that we're not missing defining any relevant relationships, and would also help with scaling the information architecture of the reference docs for the long term.

@mcvinci I wonder if we could leverage the @see tag to accomplish this? It sounds semantically similar to what you are describing, what do you think? Would defining them inside the tsdoc comment be a good approach or are you looking for something more automated?

@mcvinci I wonder if we could leverage the @see tag to accomplish this? It sounds semantically similar to what you are describing, what do you think? Would defining them inside the tsdoc comment be a good approach or are you looking for something more automated?

@cartogram The @see tag could work, but it feels like another form of manual markup that we'd be relying on. I think I'm looking for something a bit more automated (if possible!). I wonder if there's anywhere else in the code we could look to to extract these relationships?
@cathryngriffiths @jplhomer Any thoughts on how we could approach this?


add eslint-loader for linting per webpack dev build

This will now fail dev builds when linting fails in any .js file. It correctly ingests the configuration from .eslintrc (even dynamically between changes) but I do not know if it correctly respects .eslintignore. I can say that it correctly builds without linting error with these changes.
Note: I had to move around some methods due to the react/sort-comp eslint option being on. Seemed sensible to do so.

Oh no! You moved handleToggleKitten?!?! Unacceptable!!    :stuck_out_tongue:
Awesome work, @bdefore. :+1:

ha! i touched the kittens oh noes!


Comments pagination missing

In the discussion settings of WordPress you can specify how many Comments should be visible per page.
To support this, the comments pagination must be included into the comments.php template file.
This template tag is missing in FoundaitonPress.
How can this bug be reproduced?

Add two comments to a single post/page
Go to WP Discussion settings and set the top level comments per page to 1
Look at the post in the fronend. Only one comment is visible

What did you expect to happen?
There sould be a pagination
What happened instead?
No pagination shown. Only the first page is visible.
Please List the Following:

FoundationPress version "2.10.4":

I would prefer if we could style comment pagination with Foundation pagination styles. What are our options here? Do we have to use a custom function to do this?

solved by #1296


Don't allow drag and drop replication to self

It is too easy to drag back to the source window and make the tool replicate the dbs to iself.

Fixed in 110576cbc34e0ad587e03cf532267417f4de9f9a


Performance PouchDB, with sqldown: very slow

This test takes much time (1 min.) vs using for example medeadown, which takes 1 sec.
var PouchDB = require('pouchdb');

var db = new PouchDB('test', {
  db: require('sqldown')
});

var arr = [];
for (var i = 0; i < 200; i++) {
  arr.push({
    _id: i.toString(),
    value: i
  });
}
console.log('bulk start: ', new Date());
db.bulkDocs(arr)
  .then(function(r) {
    console.log('bulk end: ', new Date());
  });

Moved from pouchdb/pouchdb/issues/3167

I wanted to get a sense for the perf difference between SQLDown and LevelDown. So I tried to run the PouchDb perf tests. I couldn't get all-docs-skip-limit to even run and I had to remove the destroy in the test cleanup thanks to #11. But here are some results:

Test Name
Node.js w/ LevelDB
Node.js w/SQLite
Multiplier

basic-inserts
381
45138
118x

bulk-insert
937
18495
20x

basic-gets
702
4380
6x

all-docs-skip-limit
3143
Wouldn't run!
NA

all-docs-startkey-endkey
205
680
3x

pull-replication-one-generation
524
2586
5x

pull-replication-two-generation
1731
3611
2x

basic-attachments
2214
50162
23x

The view tests failed with EBUSY when trying to get to test0_x-mrview-temp.


Ansible-navigator | ModuleNotFoundError: No module named '_curses'

ISSUE TYPE

Bug Report

SUMMARY
Ansible-navigator failed to initiate after installing via pip3. I am using Python3.10.8 as a base for ansible.
whenever i try to start ansible-navigator or just check version it gives following error
ANSIBLE-NAVIGATOR VERSION
ansible-navigator-2.2.0
python version - 3.10.8
**(ansible) [vagrant@ansiclient opt]$ ansible-navigator
Traceback (most recent call last):
  File "/opt/ansible/bin/ansible-navigator", line 5, in <module>
    from ansible_navigator.cli import main
  File "/opt/ansible/lib/python3.10/site-packages/ansible_navigator/cli.py", line 11, in <module>
    from curses import wrapper
  File "/usr/local/lib/python3.10/curses/__init__.py", line 13, in <module>
    from _curses import *
ModuleNotFoundError: No module named '_curses'**

STEPS TO REPRODUCE
Base OS centos-7.9
Python-3.10.8
pip3.10 install ansible-navigator
ansible-navigator -version
EXPECTED RESULTS
get ansible-navigator console
ACTUAL RESULTS
vagrant@ansiclient opt]$ ansible-navigator --version
Traceback (most recent call last):
File "/opt/ansible/bin/ansible-navigator", line 5, in
from ansible_navigator.cli import main
File "/opt/ansible/lib/python3.10/site-packages/ansible_navigator/cli.py", line 11, in
from curses import wrapper
File "/usr/local/lib/python3.10/curses/init.py", line 13, in
from _curses import *
ModuleNotFoundError: No module named '_curses'
ADDITIONAL INFORMATION

@Prabhakar-cg thank for the issue!
I've only seen this one other time and it was when the python distribution on the system was not built with curses support.  One quick way to test this is from the python cli:
x1 ➜  ~ python
Python 3.10.7 (main, Sep  7 2022, 00:00:00) [GCC 12.2.1 20220819 (Red Hat 12.2.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import curses
>>>

Could you try that out and let us know what you see?

@cidrblock thanks for writing back on this. Seems the import function is not so straight forward for Linux, so I had to install ncurse  & sqlite-devel Linux binaries and then recompile the python from source code & install again. Seems i need to get my hands dirty on python.
However ansible-navigator started working after sorting those dependencies.

Great to hear, glad it got sorted.  Enjoy navigator and looking forward to any feedback.


Feature: Support Admission Request and review v1 API

The admission webhook currently supports v1beta1 APIs.

This is now merged in.


DON'T REVIEW: Demo branch w/ initial style redesign

Going to close and resubmit because of Heroku stuff.


RGBW example

Could an RGBW example be included? I can't figure out how to make the LEDs white using the 255 range shown in the example.

I got it working, for those wondering:
with nps.NeoPixelSpiDev(0, 0, n=num, pixel_order=nps.GRBW) as pixels:
    pixels.fill((0, 0, 0, 255))


chore: bdd-sbrp-import-1584517661 to 0.0.1

chore: Promote bdd-sbrp-import-1584517661 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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


Suppress forced Verbose output in Integration tests

Pull Request (PR) description
Suppresses forced Verbose output in MSFT_xArchive.EndToEnd.Tests.ps1, MSFT_xDSCWebService.Integration.tests.ps1, and MSFT_xWindowsProcess.Integration.Tests.ps1.
This Pull Request (PR) fixes the following issues

Fixes #514

Task list

[x] Added an entry under the Unreleased section of the change log in
CHANGELOG.md. Entry should say what was changed, and how that affects
users (if applicable).
[ ] Resource documentation added/updated in README.md.
[ ] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as
appropriate.
[ ] Examples appropriately added/updated.
[ ] Unit tests added/updated. See
DSC Resource Testing Guidelines.
[x] Integration tests added/updated (where possible). See
DSC Resource Testing Guidelines.
[x] New/changed code adheres to
DSC Resource Style Guidelines and Best Practices

This change is

Codecov Report

Merging #603 into dev will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff         @@
##            dev   #603   +/-   ##
===================================
  Coverage    74%    74%
===================================
  Files        27     27
  Lines      4078   4078
  Branches      4      4
===================================
  Hits       3038   3038
  Misses     1036   1036
  Partials      4      4


Rename doc → docs

The rationale is that docs is much more common than doc.

I opened as a bug, but it is not a bug – I cannot remove the label.

Not sure if that's worth the effort. People can access our doc dirs via <nixpkgs/doc> or <nixpkgs/nixos/doc> and renaming those may cause unnecessary breakage.

Agreeing with @Ma27 here -- this would cause lots of breakage, for little benefit. Were someone to have easily verifiable statistics that show that 99.99% of the projects use docs instead of doc maybe it would make sense to consider the idea, but as things are I can't see the pro/con ratio as being in favor of such a change.


makefile: Fix newlines in revup man headers

Not sure how this broke but I was seeing literal
\n instead of newlines in the generated header +
markdown, which then confuses pandoc and causes man
pages to be formatted wrong.
Switch to using a multiline make variable that is
then exported as a shell variable so newlines are
retained. This also makes it cleaner anyways.

Reviews in this chain:
└https://github.com/Skydio/revup/pull/138 makefile: Fix newlines in revup man headers

#
head
base
diff
date
summary

0
f55adca4
09a09342
diff
Dec 22 17:18 PM
1 file changed, 12 insertions(+), 2 deletions(-)


[Feature]: If no valid contracts found in "artifact" folder taqueria should output proper message e. g. "no contract found"

Describe the feature you would like
Currently if no valid contracts found in the "Artifacts" folder taqueria will return empty output.
Is this feature solving a problem?
Yes, it will provide more details about the contract(s) deploying status.
Please share any additional details you have?

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@sinapsist please check if this still happens.
I get the following:

@sinapsist @russellmorton, is there a PR associated with this ticket?

@hu3man @russellmorton after setting up a local environment I am seeing the above that Russell posted. After getting a local sandbox up and running I am seeing the following:
Http error response: (400) Failed to parse the request body: Data_encoding__Binary_error_types.Invariant_guard("Operation lists should not be empty.")
No contracts originated.

I think it's safe to say that there is a message for no contracts found but it isn't explicit. I think we can either make an update to this ticket to make it say what we want or close it


support kitex

Is your feature request related to a problem? Please describe.
no
Describe the solution you'd like
https://github.com/cloudwego/kitex
Describe alternatives you've considered
No response
Additional context
No response

Merged into main


Delete the redundant comment: "//We should refresh balance of the ETH every 10 seconds." #1847

Closes #1847

@vladyslav-iosdev Thanks, I did a simple amendment and shortened the commit message. It's redundant since it's reflected in the code.


Have you ever considered using sequoia as a crypto backend?

Hey,
While putting my efforts in trying to stop depend on GnuPG, I read your docs/backends.md and I was wondering whether you've heard of / considered using sequoia-pgp for the crypto backend.
I find this project very exciting. It's the only project I know of that is quiet stable and that finally provides a modern approach to PGP cryptography. Most importantly, it has a comfortable and modern CLI syntax but I guess you'd use it in gopass as a library.
EDIT:
I know it's written in Rust. It has C bindings with FFI: https://docs.sequoia-pgp.org/sequoia_openpgp_ffi/index.html

Thanks for pointing this out. I did never look into this so far.
While I'd prefer to have a (pure Go) libarary, a sane and stable CLI would be also OK.

Hi again, just wanted to share a piece of news you may find very interesting:
https://protonmail.com/blog/openpgp-golang/


Arrow sizes inconsistent on flow charts

Hi,
Please consider this minimal flow chart:
graph TD;
A<-->B;

As you can see if you enter it in Logseq, the opening arrow (A side) is much bigger than the ending one (B side). In fact, ending arrows are so small that they are very difficult to spot.
Would you consider making all arrows the size of the opening ones?
Thanks in advance,

This seems to be an issue with Mermaid or Kroki and unfortunately out of my control.
See here https://kroki.io/mermaid/svg/eNpLL0osyFAIcbHmcrTR1bVzsgYAL4MEog==
The issue can also be reproduced on https://kroki.io/


System.OverflowException for land purchase calculation

Stacktrace from manual testing while working on #89, during next day display near the end of the game:
Unhandled exception. System.OverflowException: Value was either too large or too small for an Int32.
   at System.Decimal.ToInt32(Decimal d)
   at WMD.Game.State.Utility.LandAreaCalculator.CalculateMaximumLandAreaCurrentPlayerCouldPurchase(GameState gameState) in C:\Users\chris\source\repos\Xyaneon\Weapons-of-Mass-Domination\src\wmd-core\State\Utility\LandAreaCalculator.cs:line 22
   at WMD.Game.State.Utility.GameStateChecks.CurrentPlayerCouldPurchaseLand(GameState gameState) in C:\Users\chris\source\repos\Xyaneon\Weapons-of-Mass-Domination\src\wmd-core\State\Utility\GameStateChecks.cs:line 28
   at WMD.Game.Commands.PurchaseUnclaimedLandCommand.CanExecuteForState(GameState gameState) in C:\Users\chris\source\repos\Xyaneon\Weapons-of-Mass-Domination\src\wmd-core\Commands\PurchaseUnclaimedLandCommand.cs:line 19
   at WMD.Console.UI.Menus.GameMenuFactory.CreateGameCommandMenuItem(String menuItemLabel, Menu menu, GameState gameState, IGameCommand gameCommand) in C:\Users\chris\source\repos\Xyaneon\Weapons-of-Mass-Domination\src\wmd-console\UI\Menus\GameMenuFactory.cs:line 128
   at WMD.Console.UI.Menus.GameMenuFactory.CreateLandCommandsMenuPage(Menu menu, GameState gameState) in C:\Users\chris\source\repos\Xyaneon\Weapons-of-Mass-Domination\src\wmd-console\UI\Menus\GameMenuFactory.cs:line 140
   at WMD.Console.UI.Menus.GameMenuFactory.CreatePlayerActionMenu(GameState gameState) in C:\Users\chris\source\repos\Xyaneon\Weapons-of-Mass-Domination\src\wmd-console\UI\Menus\GameMenuFactory.cs:line 84
   at WMD.Console.UI.Core.UserInput.GetCommand(GameState gameState) in C:\Users\chris\source\repos\Xyaneon\Weapons-of-Mass-Domination\src\wmd-console\UI\Core\UserInput.cs:line 14
   at WMD.Console.HumanTurnRunner.RunTurn(GameState gameState) in C:\Users\chris\source\repos\Xyaneon\Weapons-of-Mass-Domination\src\wmd-console\HumanTurnRunner.cs:line 25
   at WMD.Console.GameRunner.Run() in C:\Users\chris\source\repos\Xyaneon\Weapons-of-Mass-Domination\src\wmd-console\GameRunner.cs:line 38
   at WMD.Console.UI.Menus.MainMenuActions.StartNewSinglePlayerGame() in C:\Users\chris\source\repos\Xyaneon\Weapons-of-Mass-Domination\src\wmd-console\UI\Menus\MainMenuActions.cs:line 19
   at Xyaneon.Console.Menus.MenuPage.ActivateSelection() in C:\Users\chris\source\repos\Xyaneon\Weapons-of-Mass-Domination\src\Xyaneon.Console.Menus\MenuPage.cs:line 84
   at Xyaneon.Console.Menus.Menu.Run() in C:\Users\chris\source\repos\Xyaneon\Weapons-of-Mass-Domination\src\Xyaneon.Console.Menus\Menu.cs:line 124
   at WMD.Console.Program.Main(String[] args) in C:\Users\chris\source\repos\Xyaneon\Weapons-of-Mass-Domination\src\wmd-console\Program.cs:line 15

Additional info output for the turn just before the crash:
Money: $611,295,233,673.91 | Henchmen: 676,262,473 | Land: 12,089,031 km² | Reputation: 29%
You control a land area comparable to Antarctica.
Your secret base is at Level 4.
Your nuke research is at Level 0 (not yet started).

136,850,966 km² of land and 5,645,001,923 people on Earth remain uncontrolled (91.88%).
The government has been defeated.

The issue seems to be with this line:
https://github.com/Xyaneon/Weapons-of-Mass-Domination/blob/046e1cd647b7f632f0fdb30e17d7b9be475a5dd8/src/wmd-core/State/Utility/LandAreaCalculator.cs#L22
This does not take the actual available remaining land area into account. If a player has a sufficiently high amount of money (and the price of remaining land is sufficiently high), then the amount of land they could theoretically purchase may exceed the upper bounds of an Int32.


Sort annotation

Seems like we need an annotation to set the default sort order for a recordset. Here's an example use case. In CIRM we have a record page for each User. It has all the nested tables for that user's data including Experiments, Specimens, Slides, Scans. Ideally, when they view their page, they will want to see their Scans sorted from most recent to least recent.
This might even be an annotation on the constraint rather than the table, because given the example above that might make sense to sort Scans by descending order on the timestamp within the nesting context of the User table. But it might not be the desired sorting in other contexts.

we already have 2016 Table Display row_order field for this purpose
and it is in use in multiple projects.


Added the ability for the plugin to run as a separate service.....

How can this be configured ? I didn't found anything in the readme :-)
Richard

ok ... i will test it :)
is it now possible to manage more homebridge instances with one standalone config-ui-x service ?
richard

is it now possible to manage more homebridge instances with one standalone config-ui-x service ?

No sorry.

so one systemd config-ui-x service for each homebridge instance .... right ?
richard

https://github.com/oznu/homebridge-config-ui-x/wiki/Standalone-Mode

I get this error! Help please
pi@kop:~ $ sudo systemctl daemon-reload
pi@kop:~ $ sudo systemctl enable homebridge-config-ui-x
pi@kop:~ $ sudo systemctl start homebridge-config-ui-x
Failed to start homebridge-config-ui-x.service: Unit homebridge-config-ui-x.service is not loaded properly: Invalid argument.
See system logs and 'systemctl status homebridge-config-ui-x.service' for details.

Can you show the contents of /etc/systemd/system/homebridge-config-ui-x.service?

@oznu
[Unit]
Description=Homebridge Config UI X
After=syslog.target network-online.target
[Service]
Type=simple
User=homebridge
EnvironmentFile=/etc/default/homebridge
ExecStart=$(which homebridge-config-ui-x) $HOMEBRIDGE_OPTS
Restart=on-failure
RestartSec=3
KillMode=process
CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_CHOWN CAP_FOWNER CAP_DAC_OVERRIDE CAP_AUDIT_WRITE CAP_SYS_ADMIN
AmbientCapabilities=CAP_NET_RAW
[Install]
WantedBy=multi-user.target

@skop1986 - you need to paste the command from the wiki in a single command - or populate the variables in the command yourself.
ExecStart=$(which homebridge-config-ui-x) $HOMEBRIDGE_OPTS

@oznu
[Unit]
Description=Homebridge Config UI X
After=syslog.target network-online.target
[Service]
Type=simple
User=homebridge
EnvironmentFile=/etc/default/homebridge
ExecStart=$homebridge-config-ui-x -U /home/pi/.homebridge -I $HOMEBRIDGE_OPTS
Restart=on-failure
RestartSec=3
KillMode=process
CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_CHOWN CAP_FOWNER CAP_DAC_OVERRIDE CAP_AUDIT_WRITE CAP_SYS_ADMIN
AmbientCapabilities=CAP_NET_RAW
[Install]
WantedBy=multi-user.target

@skop1986, not quite 😄
Type this command at the command line:
which homebridge-config-ui-x

Then whatever it returns put in the file:
/homebridge # which homebridge-config-ui-x
/usr/local/bin/homebridge-config-ui-x

ExecStart=/usr/local/bin/homebridge-config-ui-x $HOMEBRIDGE_OPTS

Don't add any extra variables to the line - these need to go in the /etc/default/homebridge file so both the UI and Homebridge are running the same config.

for multiple homebridge instances i need multiple config-ui-x standalone services running ?

@roe1974 - yep, no change there.

@oznu
Defaults / Configuration options for homebridge
The following settings tells homebridge where to find the config.json file an$
HOMEBRIDGE_OPTS=-U /usr/bin/homebridge-config-ui-x
If you uncomment the following line, homebridge will log more
You can display this via systemd's journalctl: journalctl -f -u homebridge
DEBUG=*
To enable web terminals via homebridge-config-ui-x uncomment the following li$
#HOMEBRIDGE_CONFIG_UI_TERMINAL=1

@oznu
I can't start homebridge
● homebridge-config-ui-x.service - Homebridge Config UI X
Loaded: loaded (/etc/systemd/system/homebridge-config-ui-x.service; enabled; vendor preset:
Active: activating (auto-restart) (Result: exit-code) since Sat 2019-05-04 10:37:07 MSK; 545
Process: 2669 ExecStart=/usr/bin/homebridge-config-ui-x $HOMEBRIDGE_OPTS (code=exited, status
Main PID: 2669 (code=exited, status=217/USER)
май 04 10:37:07 kop systemd[1]: homebridge-config-ui-x.service: Failed with result 'exit-code'.
~


defined credentials

https://github.com/MicrosoftDocs/windows-itpro-docs/issues/1240

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

@DaniHalfin - can you please assist to check, approve and merge the content for this PR based on issue #1240?
Thank you.

@DaniHalfin  - I would like to follow up on this. Can you please assist to check, approve and merge the content for this PR based on issue #1240?
Thank you.

This looks good. Checking with team to verify.

Upon talking to the PM owner, I think it's better to clarify further.
Add a note that clarifies that with Windows 10, version 1703 and newer, supplied credentials are used to obtain a Kerberos ticket, which in turn is sent to the remote device.
Use the following formatting for the note :
> [!NOTE]
> Text

@SteveSyfuhs FYI

The original text is technically correct. Supplied credentials refers to how to derived Kerberos ticket is acquired, not what is sent to the remote machine. I would propose removing the bracketed text and adding something to the effect of
"...which is sent to the remote device. This allows users to run as different users without having to send credentials to the remote machine."
Or similar.

@VLG17 - Please see the comments from DaniHalfin and SteveSyfuhs. Kindly make the recommended changes to the PR you created. Thank you.

@DaniHalfin - I would like to follow up on this. Can you please assist to check, approve and merge the content for this PR based on issue #1240?
Thank you.

@DaniHalfin - I would like to follow up on this. Can you please assist to check, approve and merge the content for this PR based on issue #1240?
@AndreaBarr @kenwith - Would you be able to merge the content of this PR?
Thank you.

@DaniHalfin - I would like to follow up on this. Can you please assist to check, approve and merge the content for this PR based on issue #1240?
@AndreaBarr @kenwith - Would you be able to merge the content of this PR?
Thank you.


Adding changes to agnostic_tools.ipynb to reflect changes in back-end for WRF V1.1

Notebook changes in agnostic tools to accommodate for V1.1 of visualizing WRF simulations. Making simulation ranking tool for agnostic tools more flexible to allow for additional types of WRF inputs.
This notebook can be tested with back-end changes found in this PR.

Both Step 2 runtime cells take less than a minute, so the markdown about this taking 10+ minutes can be removed, yay for efficiency!

LOCA calculations still take long, but I agree that the WRF runs are fast, so the WRF users can be freed from the warning.

Both Step 2 runtime cells take less than a minute, so the markdown about this taking 10+ minutes can be removed, yay for efficiency!

LOCA calculations still take long, but I agree that the WRF runs are fast, so the WRF users can be freed from the warning.

Added text to describe the expected run-time difference between running LOCA and WRF data.

numpy is used in np.mean and needs to be imported.
plot_double_WRF is now plot_climate_response_WRF

Is multiple_state_gridcell supposed to return no simulations in the default behavior?

What are the defaults we want to display/discuss in this notebook? At present they are set for surface pressure and total precipitation. At least for WRF data

I would have the default option for this plot be temperature x precipitation, as that is a very common example of this kind of figure (i.e., temperature is the first selected metric, precipitation is the second)

Noting on the LOCA2 test run for Step 2 it took closer to 16 min, so we need to refine the warning

Testing with statistical data to see the plot_sims and getting this error:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In [36], line 5
      3     plot_WRF(results_area, variable, agg_func)
      4 elif downscaling_method == 'Statistical':
----> 5     plot_sims(results_area, variable, agg_func, years, single_stats_area)

TypeError: plot_sims() takes 4 positional arguments but 5 were given

Is multiple_state_gridcell supposed to return no simulations in the default behavior?

Addressed! This is a specific issue of finding the middle 10% of simulations when there's less than 10% of simulations to choose from. I added more fallback logic to just return the median simulation if that case comes up again.