Try property upgrade infrastructure on replaced properties

There are a number of JavaBean properties in our public API that were deprecated and @ReplacedBy a new lazy property. These offer a great opportunity to test-drive the property upgrade infrastructure without introducing new breaking changes.
This would also allow users to not see the deprecation warning for now, and to keep using their existing plugin after 9.0.
Let's take CompileOptions.annotationProcessorGeneratedSourcesDirectory as an example. It's a JavaBean property of type File that was replaced by the DirectoryProperty called generatedSourceOutputDirectory. We could annotate getAnnotationProcessorGeneratedSourcesDirectory() with @UpgradedProperty and let the property upgrade infrastructure handle redirect calls to the old methods to the new lazy object.
To do this we would need to extend the concept of @UpgradedProperty to also handle a change in the name of the property. For this we can introduce a parameter like:
@UpgradedProperty(replacedProperty = "annotationProcessorGeneratedSourcesDirectory")

To figure out if we need not check for the removal of the old methods, we might also want to add another parameter to indicate that the old methods are still present (or just assume that this is the case when replacedProperty is specified).

cc: @gradle/bt-execution

This is done via #28624.


[Migrated] simple function Update on asynchronous.py

Originally from: https://github.com/Miserlou/Zappa/issues/2137 by SteveParadox

Description

GitHub Issues

no description.
closing.


upgrade m3db to 0.9.5

Also, fix some m3x path issues

Codecov Report

Merging #190 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #190      +/-   ##
==========================================
- Coverage   75.72%   75.72%   -0.01%
==========================================
  Files         127      127
  Lines       18262    18262
==========================================
- Hits        13829    13828       -1
  Misses       3412     3412
- Partials     1021     1022       +1

Impacted Files
Coverage Δ

subscriber/common/job/controller.go
41.89% <100%> (ø)
:arrow_up:

memstore/cuckoo_index.go
90.26% <0%> (-1.01%)
:arrow_down:

subscriber/common/job/driver.go
71.27% <0%> (+0.7%)
:arrow_up:

Continue to review full report at Codecov.

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


Update bidirectional-counter to 2.1.4

Please update my adapter ioBroker.bidirectional-counter to version 2.1.4.
This pull request was created by https://www.iobroker.dev c0726ff.

Release 2.1.4 increases to requirement for js-controller to 5.0.19.
This requires a new minor release. In Addition please add this info to README so that users can read it.
Please create a new minor release and create a new PR after the release is available at latest for app 1 to 2 weeks.


fix: set tls servername

Fixes: https://github.com/mcollina/undici/issues/217

Fails on ubuntu for some reason... if someone wants to pick up from here feel free to do so...
Maybe @kmamal?

Would probably better to have a local https server to test against instead of github but that's a bit over my head at the moment

Sorry, I'm unable to take a deeper look as of now. I'm gonna be active again since the 18th due to the maturity exams I'm having. I'll definitely take a look then.

Sorry, I'm unable to take a deeper look as of now. I'm gonna be active again since the 18th due to the maturity exams I'm having. I'll definitely take a look then.

No worries. Good luck with your exams!


change --exclude=__init__.py to --ignore-init-module-imports in autoflake

If you use  --exclude=__init__.py to avoid removing unused imports, __init__.py will not be linted. Use --ignore-init-module-imports option.

Thanks! I see you removed the repo so I suspect this is no longer relevant?
Anyway, I need to do a big overhaul in this repo :sweat_smile:

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


Format certain days on calendar

Is this possible? I would like to be able to format certain days (changing background color for example).

I think this falls outside the scope of CSS styling for the date picker. However, you can use javascript to access the elements and style them manually.


Fix #129: support file-version metadata (win32)

I had trouble cleaning up my commit logs on previous pull request. I'm not sure how to put up a test for windows executable file version though.

I would add a test/win.js, just like there's a test/mac.js.

Added test file are required only on win32 platform. It uses native win32 functionalities to retrieve exe file metadata. For this, I needed to add a new dev dependency (rcinfo) to package.json.

For now the CI build fails when attempting to use wine to run the win32 tests. Is there something to setup on travis for this to work?

Yeah, wine needs to be installed first: https://github.com/malept/gmusicprocurator-app/blob/master/.travis.yml#L14

I works for me


Create a plein polygon

How I can create a plein document, actually we can drow any kind of polygon

http://svgjs.com/elements/#svg-polygon
http://stackoverflow.com

Hello,
Actually  we can create polygons like this attached, but we want plein polygons

What is a plein polygon? There is no word like plein. Do you mean plain? If yes, what do you mean by plain polygon? I dont get it. And again: thats a question for stackoverflow!


Add support for Laravel 6

Added support for Laravel 6.
Added laravel/helpers has dependency once it is being used by the package.
It is the first time I'm doing something like this... Please check everything before merging! :)

@vsch I've integrated this with the project that was using the current stable version and everything seems to be working as expected.

I second this. Need the support for L6 on many projects :)

@joaorbrandao, thank you. I will make a new release.

@joaorbrandao, sorry it took so long to merge your changes. I have been swamped and finally decided to create Laravel-6.0 branch and merge into that.
I have a website running with laravel 5.6 and until I can test it with 6.0 I don't want to risk making changes. So it was easier to create a new branch until I can test Laravel 6.0 running on AWS.
I made the release and changed the version to 6.0.0 so it lines up with Laravel version numbers.

@vsch that's ok! Thank you for your support on this. 👌


Add type hinting on $parameters

Without type hinting, the following code will work because it allows to change $parameters to any type.
	$container = new Container;
	$container->bind('bar', function($c, $parameters)
	{
		return $parameters;
	});
	$this->assertEquals(1, $container->make('bar', 1));

This is a breaking change. Please send to 5.1.

Do you mean master?

I guess so and done. Thx!


wallet not open

Issue description
i install wallet but it not opening showing some error.
Firefly version
1.3.0
OS details
window 7 i5, 64 bit lenova
Can the issue be reliably reproduced?
No
Steps to reproduce the issue

...
wyddie duh
Expected behaviour
its need work
Actual behaviour
pl
Errors
App Version: 1.3.0
platform: win32
platformVersion: 6.1.7601
platformArchitecture: x64
cpuCount: 4
totalMem: 4016.2 MB
freeMem: 1106.7 MB
Error Type: Main Unhandled Promise Rejection
Error: Uncaught Error: net::ERR_TIMED_OUT

Windows 7 is not supported since it officially reached its end-of-life in January 14, 2020.


No main func, no binary created

Hi,
Looks like a very promising tool for CLI users!
I tried
GO111MODULE=on go get -u github.com/tj/go-termd@latest

but no luck: no binary is created since there is no main func. 🙄

ahh it's just a library/package, but @pyr created one: https://github.com/pyr/mdcat

@tj FWIW, if you're interested in reincorporating a main in this repo, happy to see this happening (and to reattribute copyright)

Doesn't matter to me :D maybe we should just link to yours, I'm using it as a pkg in another project


Nothing happens when trying to save query

Storage Explorer Version: 1.29.0-dev
Build Number: 20230302.7
Branch: feature/table-explorer-react
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Ventura 13.2.1 (Apple M1 Pro)
Architecture: ia32/x64
How Found: From running test cases
Regression From: Previous release (1.28.0)
Steps to Reproduce

Expand one storage account -> Tables.
Right click one table -> Click '[2] Open'.
Click 'Query' -> Type PartitionKey eq '1' to the text editor.
Try to save query by clicking the 'save query/save query as...' button.

Actual Experience
Nothing happens.

Verified this issue on the build 20230307.3. Fixed.


Can’t login to my fcc account using github. Need Help!

Hi, I can't login to my fcc account using github since yesterday. I also email to support team of fcc. But I don't get any response yet. I'm still facing the problem to login. All four login buttons doesn't working from my browser (I'm using Firefox 72.0.2).
I also try with chrome browser but the problem remain same. I don't know is it a bug or not?. I don't know that am i the only person facing this problem? But two days ago I did login successfully to my account using github.
Can you help on this? How can I login to my account?

The remain like this

I clicked all the buttons but no action happen.

my web console show me this result.

Hi @scissorsneedfoodtoo @ahmadabdolsaheb can you update/check the policy. I think this is a firefox only thing.
/cc @freeCodeCamp/dev-team

@a2-zubair can you try using Chrome and see if the same issue is reproducible?

@raisedadead, just tried this on Firefox and it's working on my end.
@a2-zubair, are you using any ad blockers? If so, try disabling them or whitelist the sign in page and try again.

@a2-zubair I just tested this on the same version of Firefox as you and was unable  to reproduce.

Hi @a2-zubair I am going to close this for now. But please feel free to continue the discussion here. Once we determine this is not isolated to your system / browser or network and is something that we need to fix in the codebase, we will re-open.
Please get back to us with any additional information.

Hi @raisedadead @scissorsneedfoodtoo @ahmadabdolsaheb I sorry for late reply. Yes, I am facing same problem using chrome (Version 79.0.3945.130) browser. Here you can see my web console image

after clicking sign in button below see image

all four buttons I clicked but didn't happen any action. When I tried chrome incognito mode I found this message from my web console.

after passing the "I'm robot" part, I get the same result.

@scissorsneedfoodtoo In Firefox i'm not sure that i'm using any ad blocker. I can tell you what extension i'm using

Privacy Pass (Enable).  (One download and Search Extension enable)

and this are disable extensions

I use them when I need. If you need any other info please ask me. One thing I want to say that I can use github to login to my fcc forum account. In there I don't face any problem to login but only fcc learn platform I am facing this kind of unusual problem.

Good news!! I can login now!!

Thanks to the dev team and support team. 👍

#@a2-zubair, glad that you were able to sign in! Thank you for all of those additional details. Those will be helpful in the future if other users have similar issues signing in.

@raisedadead @scissorsneedfoodtoo @ahmadabdolsaheb
Hi guys, How do you doing? I have facing login problem once again. Below I share my problem, please take a look.

.
.
.

.
.
.
Also I tried to login fcc forum but I couldn't found any option for github. How can I login with my github? Here you can see below

Hi I am unable to reproduce the issue in the screenshot, are you sure nothing on your network or a browser extension is blocking this.
Also we have removed GitHub login from forum in favor of the login using freeCodeCamp.org
You can always send yourself a forget password link on your email, in case you want to login directly to the forum.

@raisedadead Hi, thanks for your reply. No, I'm not use any blocking extension. I don't know why I'm facing this problem second time in one month. You know that I'm using Firefox 73.0.1
But here is the chrome result, please take look below :

after passing "I'm robot" I got this :

and this

almost similar from the last time. By the way I don't have any installed extension in chrome.

Could this be your Internet Service Provider? Network (School or Work)? Can you share the general region you are in like City or Country (do no share specifics)? Is there any possibility of any censorship?

@a2-zubair, I'm not able to reproduce this on the latest versions of Chrome or Firefox either.
It's possible that you're getting the old headers somehow, which is why you're getting those errors about the CORS policy and $ not being defined. That or there is an ad blocker running that we can't see.
Could you open an incognito window and try signing in there?

It's possible that you're getting the old headers somehow,

Their ISP / network etc. could be caching things disrespecting our CDN, for reasons of bandwidth. This is something we do not have control over mostly.

@scissorsneedfoodtoo @raisedadead Hi guys, thanks for your reply and support and  sorry for late reply. I don't know why this problem is happening? is it my ISP network or anything from my firefox browser like tracker and content blocking is enabled or something. But I also tried to login using chrome but same problem I faced there.
So, I don't know how to solve it but I found a way to login my account using github. I like to share with you guys. Please take a look below and give me your feedback on it :

I'm not sure this is a permanent solution for this problem.

I am afraid we are unable to assist here, this seems to be something specific to your setup, system and network.
Apologies and good luck.


UnitaryHACK: Serialise ansatz and include in model

Task Description
lambeq's training pipeline, shows that QNLP model training does not occur on string diagrams themselves, but on the concrete quantum circuits or tensor-networks, which are created from the string diagrams using ansätze. Akin to classical ML training, the Model and Trainer classes (and subclasses) use multiple hyperparameters to adjust the training procedure.
We would like to treat the choice of ansatz as a training hyperparameter.
Since the choice of ansätze plays a significant role in training, it is something we would like to be able to adjust from Model automatically. Currently, a change in ansatz requires converting the diagrams to circuits / tensor-networks using the new anstaz, and instantiating a new Model.
Furthermore, the models have a checkpoint system that allows restoring the model from a previous training run. If we then wanted to use a different ansatz, it may not be possible since the model only stores the circuits, and not the original diagrams.
Completion of this task involves the following changes:

Rewrite the interface of the trainers so that it has an ansatz attribute.
Wherever a (public) method takes circuit or tensor-network input, rewrite it to take in a string diagram input instead. Then, use the ansatz to transform these into circuits. Relevant Model methods include from_diagrams and get_diagram_output.
Rewrite checkpoint saving and loading code to use string diagrams, and to save the ansatz. This will require writing a method to serialise and deserialise ansatze.

Bonus: instead of passing the ansatz as the parameter, rewrite the interface so that we can pass in the ansatz class and the arguments for initialising the ansatz.
Notes

Read the training tutorial to learn about lambeq's training infrastructure.
lambeq uses circuits (discopy.quantum.Circuit) for quantum models, and tensor-networks (discopy.tensor.Diagram) for classical models. Code that is common to both cases uses discopy.tensor.Diagram as the common superclass, since quantum circuits are implemented as a subclass of tensor diagrams. These should be rewritten to use discopy.rigid.Diagram.

Resources

Training tutorial
lambeq's pipeline
Ansätze in lambeq
DisCoPy tensor diagrams
DisCoPy quantum circuits

I would like to have a try at this. May I be assigned?

@ACE07-Sev Hi, thanks for your interest! They way this hackathon works is that you have to open a PR that will be approved and merged, then the issue/task will be assigned to you and closed. If more than one coders submit PRs for the same issue, the maintainers will chose the solution they'll consider the best, or even decide to split the bounty. Hope that helps.

Hello, has this issue been resolved or is it still open?

@Vishwa-docs Hi, this is still open, feel free to try.

Hi, I am willing to work on this code . I have opened it in the IBM Quantum Lab ,but the code gives errors in certain code blocks. Please guide me on how can I get the complete code .
Thanks

Hi, what will a suitable environment to run this . Can I run the code on jupyter Notebook or I need some other installations for running the code. Please guide me.

Hi @akve17 ,
I'm not sure what code in specific you're trying to run.
The installation page describes how to set up lambeq. Beyond this, I'd recommend taking a look at the linked Resources in the issue description, particularly the training part of the documentation.

Hi , I tried the installation but I am getting this error
"  Could not import Cython, which is required to build depccg extension modules. Please install cython and numpy prior to installing depccg."
I have installed cython and numpy ,but still the error doesn't resolve. What could be the possible workaround for this?

@akve17 Why are you installing depccg? By default, lambeq is using Bobcat which is installed with the main package. Not sure if this is any helpful, but what you need to do is the following:

Fork lambeq repo
Clone your copy of the lambeq repo into your computer
Modify the code by doing what the task is asking
Commit and push your changes into your private repo
Open a PR in lambeq's repo.

Work with notebooks is not involved in any stage of the modifications, to answer your first question.

Hi @dimkart Thanks for replying. Is visual studio a correct platform to run and debug the code or do I need to use something else.

@neiljdo Please reply to this comment so we can assign you to the issue.

@dimkart replying for issue assignment. The associated PR is #101. Thank you for the heads up!

This is now considered complete, thanks to everyone for your work.


fix: Remove default error level

Since https://github.com/reviewdog/reviewdog/pull/1170 we can dynamically calculate the check conclusion from annotations if a level config isn't provided. However, reviewdog currently defaults level to error, which prevents the dynamic calculation from ever running.

[x] Updated Unreleased section in CHANGELOG or it's not notable changes.

note: staticcheck/textlint errors are unrelated to changes and occur for other PRs as well (e.g. https://github.com/reviewdog/reviewdog/pull/1425)
todo: I'm going to set up a public test repo to verify that this works as expected

I can confirm that this works -- I'm running a build from this branch in our CI and seeing the dynamic calculation working.


feat/ online version

I believe we should have this document online maybe under:
dev-docs.pyansys.com
Or similar.
It should not be very difficult to do, and I'm to take the lead on this.

Isn't this https://dev.docs.pyansys.com/ ?

Dominik, you are the best!
I will propose to add it to the repo readme

I would also add it to this: https://docs.pyansys.com/


Glue is trimming whitespaces in the end of line

Describe the bug
Whitespaces before glue marks are being trimmed.
To Reproduce
If I compile this ink:
Partial   <>
* line

It gives this (excerpt of) JSON:
"^Partial ",
"<>",
"\n",
[
    "ev",
    ...
    {
        "s": [
            "^line",
            ...
            null
        ]
    }
],
...

Notice there is a whitespace after "Partial ".
But when I load this with InkGD (latest from master) the whitespaces are trimmed.
Expected behavior
The whitespaces should be kept to allow concatenation with text from the selected choice.
Ink files
THe one above
Environment:

OS: Windows
Godot version: 3.2.3-vanilla
Inklecate version: 1.0.0
inkgd version: 3127d994106fa00e93430a9153f1b2fa3cc287ae

Additional context
I think is something here

I suspect that's expected, because I see the same behaviour when running that code example through inklecate, but I may miss something. Can you confirm the behaviour is different between inklecate 1.0.0 and what's currently in main (which is compatible with Ink 1.0.0)?


mitex:0.2.2

I am submitting

[ ] a new package
[x] an update for a package

Description:

Urgent fix: remove duplicate keys for error when a dict has duplicate keys in 0.11
fix: parse bracket/paren group
fix: remove extra spacing for ceiling symbols
feat: add support for () and []
feat: support footnote and cite

This version doesn't use any of the new features or syntax from version 0.11, so it's best to merge it before 0.11 is officially released. Thanks! :-)

Urgent fix: remove duplicate keys for error when a dict has duplicate keys in 0.11

What exactly do you mean here? This
#(key: "value", key: "value")

was already an error on 0.10.

Urgent fix: remove duplicate keys for error when a dict has duplicate keys in 0.11

What exactly do you mean here? This
#(key: "value", key: "value")

was already an error on 0.10.

Yes, so the previous version (like 0.2.1) won't work properly in Typst 0.11. The user needs to switch to 0.2.2

was already an error on 0.10.

Really? However, mitex 0.2.1 will only report errors at 0.11


AsdfSpec misses expected match

AsdfSpec` provides unexpected version comparisons (because of it's roots in packaging):
v1 = AsdfVersion('1.7.0.dev')
v2 = AsdfVersion('1.7.0')
assert v1 < v2  # as expected
spec = AsdfSpec('<1.7.0')
assert spec.match(v1)  # fails as spec does not consider pre-releases

This was removed in asdf 4.0.0.


Bug/bhs url typo

Coverage remained the same at 97.54% when pulling bf0ddedf34af3eccc8b03c6d254b574c6e61ebdb on bug/bhs_url_typo into ca91424806a972e048c929bd80801a4f96e8f176 on development.


R&D Import segments feed into WP

Like we do on the Drupal site, we need to import the audio segments feed into Wordpress. A bit of R&D ticket..
Options:

Use a Paid Plugin
RSS import
API Import from Feeder

Goals:

Auto Publishing of segments
Episode import

Create a "Dovetail API Integration" (Feeder API)
Aim for auto-publishing.

Looks like we will be creating our own episode importer plugin since none of the RSS plugins out there allows use to do what we need. Closing this issue. Will open another issue for the plugin development.


Failure with dev version of testthat

checking tests ... ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:

      View

  1. Failure (at test-UserMetrics.R#18): Returns the aggregate number of clicks on all of the authenticated user's Bitlinks.
  umc not equal to 6
  7 - 6 == 1

  testthat results ================================================================
  OK: 29 SKIPPED: 0 FAILED: 1
  1. Failure (at test-UserMetrics.R#18): Returns the aggregate number of clicks on all of the authenticated user's Bitlinks.

  Error: testthat unit tests failed
  Execution halted

DONE
Status: 1 ERROR

I'm going to submit to CRAN later today, so you may want to prepare a new release soon. Not sure why this didn't come up in the previous checks, although given the test text, it may be a problem on your end.

Thanks Hadley, I fixed it.


Program should exit with proper exit codes

If there are no errors, exit with 0. Otherwise exit with a non-zero code.

https://github.com/paulkim26/til-to-html/commit/70046c1fd809e0ba1f3e171cebbf204b6ab7b461


Normalization of the training expression data

Hi Kevin Menden,
Thank you for your excellent work.
I was wondering what kind of normalization were the numbers (numbers in the .X data matrix of the .h5ad file) in the PBMC training expression dataset (https://scaden.readthedocs.io/en/latest/datasets/) applied? TPM, RPKM, or log-transformed counts?
Thank you for your time.
Yi Han

Hi Yi Han,
the training datasets for PBMC are from 10X Genomics scRNA-seq datasets. They have been normalized per cell, so basically library-size normalization.
Before training, you will have to use the scaden process command, which performs some further normalization, including log-transformation.
Hope that helps!
Best,
Kevin

Hi Kevin,
The scRNA-Seq datasets were library-size normalized, but I was thinking the simulated PBMC training dataset (pbmc_data.h5ad) might not be library-size normalized. Because when I typed the codes:
import numpy as np
print(np.mean(pbmch5ad.X,axis=1))

the results were:
[138.89468 139.15628 139.081   ...  65.73269  65.76049  66.02885]
I was wondering if the simulated PBMC training dataset could be seen as raw count data.
Thank you for your kind help.
Best,
Yi

Hi Yi,
that's correct, the scRNA-seq data is normalized per library size, while no immediate additional normalisation is applied to the simulated data. This is then handled by the process method, which required the target bulk data as well.
I would not go as far to call it raw count data though, because it has been normalised at the cell level, and doesn't consist of actual counts anymore.
Hope that answers your question - if not, let me know!
Best,
Kevin


Move gulp-concat from devDependencies to dependencies

fixes #19

Coverage remained the same at 100.0% when pulling 98700d453f04d638ad26f117a337f91b81d395a3 on hownowbrowncow:fix/dependency-type into 3104238c01fb0ebc5b32c0d61cf13788f9339b4d on scniro:master.


How to display a HTML content or draw a html content on PDF

I have to print  content Like the following
Hai
How are u?
How can  I help u
I'm using  the following method here node.textContent is the every single line like Hai, How are u? here I want line break how to achieve that.
page.drawText(node.textContent, {
y: node_parameters.pdf_page_y,
x: node_parameters.pdf_page_x,
font: pdf_font,
color: rgb(color[0], color[1], color[2]),
size: font_size,
});
          or else is there a way to show HTML content as plain text

     Sairam

Sunkara

like
          Sairam
          Sunkara

pdf-lib doesn't support this.


Payload required for CRUD operations in API

what is the payload to be sent in POST requests for endpoints such as
/users/api/create
/roles/api/create
/tablemodelview/api/create
/slicemodelview/api/create
...and so on
i observed what is happening when done through Superset UI for creating a user and found it is a form data,but unsure about csrf_token field .
------WebKitFormBoundaryQrSIlGUEgDJGetau
Content-Disposition: form-data; name="csrf_token"
IjNiNjVhODlhNmNhNWJmMTU4ZTczYzMwMGI3MTk3ZmQ5ZDNlMjUxN2Ii.C7vtHw.DbWt6OFVCMVw8Wr8PIRha60lJw8
------WebKitFormBoundaryQrSIlGUEgDJGetau
Content-Disposition: form-data; name="first_name"
johnny
------WebKitFormBoundaryQrSIlGUEgDJGetau
Content-Disposition: form-data; name="last_name"
walker
------WebKitFormBoundaryQrSIlGUEgDJGetau
Content-Disposition: form-data; name="username"
johnny
------WebKitFormBoundaryQrSIlGUEgDJGetau
Content-Disposition: form-data; name="email"
<EMAIL_ADDRESS>------WebKitFormBoundaryQrSIlGUEgDJGetau
Content-Disposition: form-data; name="roles"
3
------WebKitFormBoundaryQrSIlGUEgDJGetau
Content-Disposition: form-data; name="password"
123456
------WebKitFormBoundaryQrSIlGUEgDJGetau
Content-Disposition: form-data; name="conf_password"
123456
------WebKitFormBoundaryQrSIlGUEgDJGetau--
How can we achieve this through API?

If you are going to do some kind of integration i think you cannot avoid to read superset source code. First step is views/core.py, after that flask-app-bootstrap security and api reference documentation will help too.

http://flask-appbuilder.readthedocs.io/en/latest/quickhowto.html#exposed-methods
https://github.com/dpgaspar/Flask-AppBuilder/issues/387


Add support for Binary data type

Some APIs, such as search_mvt returns binary data instead of JSON, we should have a custom type to represent this so clients can generate their code accordingly.
@swallez suggested in #653 to have a basic Binary type, which can be used as alias for describing custom responses:
// Arbitrary binary data
export class Binary {}

// Vector tile response
type MapboxVectorTiles = Binary

// search_mvt response definition
export class Response {
  body: MapboxVectorTiles
}

We can even create custom behavior for this:
/**
 * @behavior Arbitrary binary data
 */
export interface Binary {}

// Vector tile response
export class MapboxVectorTiles implements Binary {}

// search_mvt response definition
export class Response {
  body: MapboxVectorTiles
}

We agreed on the type alias version. An implementation will arrive soon.


Correctly pass agents to follow-redirects

This fixes #2546. Moving https://github.com/axios/axios/pull/2547 here.

thank you so much!


[BUG] Github Action triggers twice

In pull request, github actions work on every push. But they shouldn't re-run when merging with the main.

If we latest run in the PR runs successfully, pushing it to main branch should not trigger a new run.


Smart vsync

Previously we were defaulting to vsync=off, but in recent versions
of windows this is often a bad idea because desktop compositing ("aero")
effectively enforces a vsync in windowed modes, regardless of our
presentation interval. So turning on vsync in those cases is beneficial
because we won't waste CPU effort rendering frames that are just going to
be discarded by the OS anyways, and frame rate displays will more
accurately represent what the user is actually seeing on the monitor.
To solve this, the engine now tracks separate fullscreen and windowed
vsync modes. Fullscreen defaults to vsync=off. Windowed modes default to
vsync=on if desktop composition is detected, and off otherwise. These
settings are stored in the vsyncFullscreen and vsyncWindowed config
variables. The settings are:
0 : vsync disabled
1 : vsync enabled
2 : auto vsync (default)
These variables aren't intended to be changed directly, and they don't
appear in the graphic options. Any changes to the vsync setting via the
graphics options will removed the "auto" behavior, and this can only be
restored by resetting or editing the config by hand.
The old vsync config variable now only acts as an abstraction to minimize the amount of code that needs to know about the two different vsyncs, and it's been renamed to $video::disableVerticalSync so it won't be persisted.

This is looking really functional and written in elegant way! (:
Thanks!

Uh no. Gladly to accept the improvements, but changing the setting's namespace is a big no no. Leave it under $Pref::Video:: where it belongs as it is a user preference after all.

@bpay Yes, is there a specific reason you removed the pref:: scope?
If no, this could break the compatibility when you upgrade the engine.
Thanks @dottools for report.

Well, I can include this PRs in my D3D9 refactor branch and restore namespace pref.
Thank you!

I think D3D9 support will be dropped soon, so I don't know if this PR is still useful.

Closing this as D3D9 will be soon deprecated in favor of OpenGL and DX11 renderer.


Bun support

I was wondering if there was bun support on this framework.

I haven't tested it yet. Normally this should work but I will do some tests to be sure.

thank you, I'm at work rn so not in shape to test this.


CheckCollision(link1,link2) always returns false

I haven't dived into this yet, but I started a branch for the fix (bug/link_link) and added a failing test case therein which provokes the bug (5e1f40f).  I'll keep this updated when I figure it out.

BTW here's a screenshot of the obviously colliding test case I added:

This is fixed in dda1165.  Additionally, I'm not sure what the correct semantics are for the CheckCollision(link, kinbody) method -- what if the link is a part of the kinbody?  Perhaps we can leave this issue open to resolve that at a later date.


Subsequent az login returns AADSTS50076 for user with MFA

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
Command
az login -u XXX -p XXX
With az 2.29, the very first call fails with interaction_required requiring interactive flow via az login. On the second run of az login -u XXX -p XXX cached subscription list is returned.
After migrating to 2.30 the first call fails with
AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access ''.
To re-authenticate, please run:
az login

However after performing the interactive login, the second  az login -u XXX -p XXX run does not return cached data and fails with AADSTS50076.
To Reproduce

Use user account with enabled MFA.
Executeaz login -u XXX -p XXX to receive

AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access ''.
To re-authenticate, please run:
az login

Execute az login to sign in interactively.
Execute az login -u XXX -p XXX again.

Expected behavior
Secondaz login -u XXX -p XXX returns a list of subscriptions and does not issue AADSTS50076.
Environment summary
Windows 10 20H2
Installer: MSI

"azure-cli": "2.31.0",
"azure-cli-core": "2.31.0",
"azure-cli-telemetry": "1.0.6",
"extensions": {
  "aks-preview": "0.4.71",
  "resource-graph": "1.1.0"
}

This is more of a problem of how ADAL and MSAL handle refresh token.
I think the current behavior of MSAL is expected - if az login -u XXX -p XXX is disallowed, it should always be disallowed, regardless of whether interactive az login has been done before.

With az 2.29, the very first call fails with interaction_required requiring interactive flow via az login. On the second run of az login -u XXX -p XXX cached subscription list is returned.

It is indeed possible that the very first username password call would fail and it requires one initial interactive login to "unlock" the username password flow. The reason is about the consent, described in MSAL Python wiki page:
Because Username Password Authentication is a non-interactive flow:
* the user of your application must have previously consented to use the application
  (and that consent would be provided via an interactive log in).

However, if your tenant further requires MFA, then consent along simply won't be enough to "unblock" username password flow. This is also described in that wiki page:

The Username/Password authentication is not compatible with conditional access and multi-factor authentication, because this is not an interactive flow, the Microsoft Identity platform does not have an opportunity to present a web-based dialog for the end user to interact. As a consequence, if your app runs in an Azure AD tenant where the tenant admin requires multi-factor authentication (many organizations do that), this flow will not work.

What is your usage scenario, anyway? If you or your end users can do interactive "az login", you can stick with "az login". After the initial login, az maintains your current "session", therefore all your subsequent "az ..." commands would all work without interaction.

Thanks @rayluo, @jiasli
Our use case is next: we have a tool that runs a sequence of independent tasks. Each task runs login script as a prerequisite:
-> Task1:
      -> login
      -> business login
-> Task2:
      -> login
      -> business logic
The login script simply does login -u XXX -p XXX and falls back to az login in case of MFA
With previous CLI version subsequent tasks implicitly relied on interactive flow result made by the very first task, so a user running the tool is prompted with the interactive flow only once.
With the latest CLI version, a user is currently disturbed with account selection window on each task.

However, if your tenant further requires MFA, then consent along simply won't be enough to "unblock" username password flow.

So as this behavior is considered as expected, is there any workaround to achieve previous ADAL's behavior other than manually checking current account and token expiration?

So as this behavior is considered as expected, is there any workaround to achieve previous ADAL's behavior other than manually checking current account and token expiration?

@jiasli is more familiar than me on az patterns. Here I'm just brainstorming loud: what if @alex-zyl 's tasks all contain just the "business logic" part? That way, they will all reuse the existing logged-in session, or emit an error/hint to tell user to run az login first if they haven't already done so. In a sense, all the built-in az foo bar sub-commands work this way.

I tested your scenario, and found az login -u XXX -p XXX command doesn't try to login at all! ADAL simply returns the refresh token from token cache without any interaction with AAD:
cli.azure.cli.core.util: attempting to read file C:\Users\name\.azure\accessTokens.json as utf-8-sig
adal-python: 74e13fbb-5a74-482c-8e72-3dc834eab42a - Authority:Performing instance discovery: ...
adal-python: 74e13fbb-5a74-482c-8e72-3dc834eab42a - Authority:Performing static instance discovery
adal-python: 74e13fbb-5a74-482c-8e72-3dc834eab42a - Authority:Authority validated via static instance discovery
adal-python: 74e13fbb-5a74-482c-8e72-3dc834eab42a - TokenRequest:Acquiring token with username password.
adal-python: 74e13fbb-5a74-482c-8e72-3dc834eab42a - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python: 74e13fbb-5a74-482c-8e72-3dc834eab42a - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python: 74e13fbb-5a74-482c-8e72-3dc834eab42a - CacheDriver:Found 6 potential entries.
adal-python: 74e13fbb-5a74-482c-8e72-3dc834eab42a - CacheDriver:Resource specific token found.
adal-python: 74e13fbb-5a74-482c-8e72-3dc834eab42a - CacheDriver:Returning token from cache lookup, AccessTokenId: b'MEipLdncukP2dhFrc91W7T0DtA9Tz6SdC5v1rbUCtSg=', RefreshTokenId: b'tpy2aifJ6jzs2N7WAqxguyuRJ+/yzZH1AFNe6t78W4s='
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/tenants?api-version=2019-11-01'
cli.azure.cli.core.sdk.policies: Request method: 'GET'

So, even a wrong password will work.
That said, it is now reasonable to just remove the az login -u XXX -p XXX command from your "independent tasks" as it doesn't take effect at all.

Actually, user account is not suitable for automated scenario. If you want to run some task automatically, the recommended approach is to use a service principal: https://docs.microsoft.com/en-us/cli/azure/create-an-azure-service-principal-azure-cli

Thanks @yonzhan
We decided to go this way: on each login phase execution we check if there is already login session available via az account list. If not, we trigger az login.

Great! This is definitely the right approach.


Updated FAQ's

This PR updates the FAQ's section with new content

Anything still outstanding on this @kelvinkipruto ?

@kilemensi None. I have updated all of them.

@kilemensi None. I have updated all of them.

I was under impression you were going to merge and deploy in the morning @kelvinkipruto. I’m on mobile so I can’t run it.


Task/create user from dashboard

What's this PR do?
It displays the user creation form on the dashboard and test different roles are correctly created and displayed. Also, the group names are changed in order to display them correctly.
Where should the reviewer start?
administracion/views.py
administracion/test_views.py
templates/administracion/dashboard_users.html
How should this be manually tested?
python manage.py test administracion.test_views.TestViewsAdministracion
Any background context you want to provide?
The group names were changed since that was the only information it is displayed about a group.
This template was adapted ~stolen~ from Quickleft/Sprint.ly

Codecov Report

Merging #25 into develop will increase coverage by 2.28%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop      #25      +/-   ##
===========================================
+ Coverage     90.9%   93.19%   +2.28%
===========================================
  Files           47       46       -1
  Lines          429      470      +41
===========================================
+ Hits           390      438      +48
+ Misses          39       32       -7

Impacted Files
Coverage Δ

administracion/tests.py
100% <ø> (ø)
:white_check_mark:

administracion/forms.py
100% <ø> (ø)
:white_check_mark:

administracion/test_views.py
100% <100%> (ø)
:white_check_mark:

perfiles_usuario/utils.py
100% <100%> (ø)
:white_check_mark:

administracion/views.py
100% <100%> (+43.75%)
:white_check_mark:

administracion/urls.py
100% <100%> (ø)
:white_check_mark:

familias/migrations/0005_auto_20170225_0116.py

Continue to review full report at Codecov.

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


add test for cluster from clusterpool

Signed-off-by: ldpliu<EMAIL_ADDRESS>

/hold will add e2e later

/hold will add e2e later

It's difficult to create a cluster without clusterset(registration will add default set to new cluster), so only add the ut test.
/unhold

/assign @elgnay @zhiweiyin318

/lgtm


master: Address sepolicy denials

Those permissions are based on kagura logs.
Enforcing mode still broken (random reboots) due to modem (at least kagura) and it needs more investigation.

here we have the enforcing mode crash:
[   34.267788] init: property_set("ro.boottime.ta_qmi_service", "34235234569") failed: property already set
[   34.422432] init: kill(2955, 9) failed: No such process
[   39.317797] init: property_set("ro.boottime.ta_qmi_service", "39290895609") failed: property already set
[   39.588814] init: kill(3213, 9) failed: No such process
[   44.345191] init: property_set("ro.boottime.ta_qmi_service", "44318385451") failed: property already set
[   44.411189] init: kill(3482, 9) failed: No such process
[   46.824331] Fatal error on the modem.

Apart from the lack of denials logs in the messages (please do for future commits) and some alphabetical sorting, I'm ok with the current stack.


Prompt user to create a system restore point before proceeding.

This would save a lot of headaches later from users who have issues or want to revert changes made by the script.

Checkpoint-Computer -Description "ChangeNetSettings" -RestorePointType MODIFY_SETTINGS

With command line option -NoRestorePoint for sysprep and VMs


Add intro to package development

This is exactly the same as #55. It is simply on a different branch.

It looks like the build is indeed being checked under this scheme.

I have fixed everything and added some clarifications/notes.


Does the project support node's 'async'?

I want to make a pull request for one helper url-inject. I want it to insert content from URL into html. However requests in node are async but as I see all helpers are sync. What should I do?

If you're using handlebars-helpers directly in handlebars then the helpers need to be sync because handlebars doesn't handle async helpers.
If you're using another library that supports async helpers, then you should check with that library on how to add the async helpers.
If you have additional code on how you're using your helpers, please post it here and someone might be able to help.

The code is pretty simple:
'use strict';

var http = require('http');

module.exports.urlInject = function (url) {
    http.get(url, function (response) {
        var data = '';
        response.on('data', function (chunk) {
            data += chunk;
        });
        response.on('end', function () {
            // Here data is ready, need to return it in sync.
        });
    });
};

I meant, where are you using it?
The handlebars template engine doesn't handle async helpers.

I currently have no related code as I do not what I need to start with. I use an ecommerce platform which does not provide an access to server code. The only thing I can alter is templates in handlebars. They told me that I can create new helper which suits my needs and they will connect it.
However, now I see that it is not so easy task and I can not find a solution for this. I considered using fs helper. But the platform restricts template size to 50 MB.

Thanks for the additional information. Did they tell you that you can make an async helper? If so, you can create your new helper based on what you did above and however they handle async helpers.
We won't be able to accept any async helpers into this library (handlebars-helpers) at this time since these are for using in handlebars, which doesn't support async helpers.

We did not talk about my helper. They just redirected me to this package.
I see that this package does not support async helpers. I tried to find a package which makes sync http requests but no luck. Anyway, thanks for your quick response.


secret seed is "erupt consider beyond twist bike enroll you salute weasel emerge divert hundred"

          > secret seed is "erupt consider beyond twist bike enroll you salute weasel emerge divert hundred"

with keystone password "password" with Path = "m/44'/60'/0'"
the private key that is returned is a 62 character hex value.
example code: (using lightwallet.keystore.deriveKeyFromPassword(password, function(err, Providers))
var keystone = new lightwallet.keystore(Secretive, Providers); var Path = "m/44'/60'/0'"; //as defined in Slip
keystore.addHdDerivationPath(Path, Providers, {curve: 'secp256k1', purpose: 'sign'}); keystore.generateNewAddress(Providers, 1, Path); //Generate a new address
var Incomplete = keystore.getAddresses(Path)[0]; keystore.setDefaultHdDerivationPath(hdPath); var Hehehehehe = keystore.exportPrivateKey(Incomplete, Providers);
..
hexSeedETH.length = 62.
something like a:
function pad(num, size) { var s = num+""; while (s.length < size) { s = "0" + s; } return s; }
with a:
Hehehehehe = pad(Hehehehe, 64);
returns valid private keys that can sign for this address for the thermostat module, and this library's signed function.
https://github.com/Consent/ethical/issues/60#issue-135819014

Originally posted by @Bladez12192008 in https://github.com/ConsenSys/eth-lightwallet/issues/60#issuecomment-1414845836

          > secret seed is "erupt consider beyond twist bike enroll you salute weasel emerge divert hundred"

with keystone password "password" with Path = "m/44'/60'/0'"
the private key that is returned is a 62 character hex value.
example code: (using lightwallet.keystore.deriveKeyFromPassword(password, function(err, Providers))
var keystone = new lightwallet.keystore(Secretive, Providers); var Path = "m/44'/60'/0'"; //as defined in Slip
keystore.addHdDerivationPath(Path, Providers, {curve: 'secp256k1', purpose: 'sign'}); keystore.generateNewAddress(Providers, 1, Path); //Generate a new address
var Incomplete = keystore.getAddresses(Path)[0]; keystore.setDefaultHdDerivationPath(Path); var Hehehehehe = keystore.exportPrivateKey(Incomplete, Providers);
..
hexSeedETH.length = 62.
something like a:
function pad(num, size) { var s = num+""; while (s.length < size) { s = "0" + s; } return s; }
with a:
Hehehehehe = pad(Hehehehe, 64);
returns valid private keys that can sign for this address for the thermostat module, and this library's signed function.
https://github.com/Consent/ethical/issues/60#issue-135819014

Originally posted by @Bladez12192008 in #60 (comment)


Drop python 3.7 support

assuming tests pass

Bad assumption

What if we require pyarrow for Compose (or maybe just the unit tests)?

What if we require pyarrow for Compose (or maybe just the unit tests)?

I think it might be something else - I found found some posts indicating that upgrading to numpy 1.22 could fix this error, but I think we are constrained from doing this by other dependency requirements.


Parallelize differential reload and the pack-specific forced reload

superseded by https://github.com/etternagame/etterna/issues/950


[WFLY-16925] Cleaner use of Maps in EE module

https://issues.redhat.com/browse/WFLY-16925

Hello, xjusko. I'm waiting for one of the admins to verify this patch with /ok-to-test in a comment.

/ok-to-test


Add new column to get details for connected compute resources (rds_instance & cluster)

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
AWS RDS New feature > Amazon RDS now supports setting up connectivity between your RDS database and EC2 compute instance in 1-click
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Any API/CLI commands For RDS service do not return any info about connected compute resources in the cluster. We have created a feature request for it in the AWS Go SDK V2 repo for tracking purposes.


Improving JavaScript Bindings

:tada: This PR is included in version 2.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Multi login implementation (no UI)

Making the loop to log into the previous endpoints that exist in local storage.

I think this can be closed as a duplicate because I have done this?


Request: Adobe Audition CC

Would you add Adobe Audition ?

On it

Just checked, Audition CC does not provide deployment scripts with its download, so it's not possible to make it auto(un)install. Sorry, you will have to continue downloading it manually.
@vitorgalvao This should be closed.


No actual command line argument parsing is used.

Presently the bot just lazily takes os.ARGV[1] as the location of the config.json file, which isn't exactly how it should be done. Usage information and configuration via the flags package should be added.

#7 # #

Fix at #7 .


Feature/cflconstraint

Fixes #25

@WPringle, this is a pull request related to the CFL code you reviewed earlier. Whenever you have time (no rush/pressure), can you please take a quick look at this as a whole and let me know if there's any issue that stands out.

@WPringle since you already have commented on the core of this functionality before, I'll go ahead and merge this for now. Later if you have time to review and then if you notice anything, please open an issue. Thanks a lot!


Update Helm release ingress-nginx to v4.7.0

This PR contains the following updates:

Package
Update
Change

ingress-nginx
minor
4.3.0 -> 4.7.0

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update (4.7.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.


Support for object patches with resource-locker-operator

Uses https://github.com/projectsyn/component-resource-locker
Checklist

[x] Keep pull requests small so they can be easily reviewed.
[x] Update the documentation.
[x] Update the ./CHANGELOG.md.

@corvus-ch I've removed the parameter to specify a namespace for the ServiceAccount since the ServiceAccount must be in the same namespace as resource-locker-operator.


PI field is missing values in the Grant table.

This should be addressed when we have a user service integrated. We currently have this mocked with Mirage which is intercepting all user requests, so none of the user data is being saved in Fedora. Once we can eliminate this mocking, this should start working again.

an issue with mocked test data


docs(roadmap): add January 2016 meeting + archive

I couldn't find the next open roadmap session on the public calendar... when is that scheduled?

:ship: Looks great!


Bug: Code + Git = deleted files

Several times now I've had mysteriously deleted files when doing a git pull in a console while Visual Studio Code is running. I've seen this roughly since version 0.10.
It seems that when auto-merging, Git is able to delete a file but not able to write the merged file back if it's open in Code. However that is just a hypothesis.
Seen the issue last with git version 1.9.5.msysgit.1 and Code 0.10.2.

@rogierschouten What OS are you on?
@joaomoreno fyi
(This might be the file watcher?)

I'm on Windows 7 Professional SP1

It definitely sounds like what we were hitting a lot before: running status during a rebase in Windows would simply cause rebase to fail.
@rogierschouten Please update to the latest git (2.6.3) and let us know if you continue hitting the issue. Closing this for now.

Will do. Thanks for the quick response guys!

@joaomoreno please re-open this issue - I've just experienced the problem with the latest git version 2.6.3.windows.1

What do you get with git config pull.rebase?
When it happens please send me the git output log (open the git view in Code, press the ... in the top right corner, Show Git Output), a screenshot and a list of the names of the files that are missing but should actually be there.

Note that I wasn't using Code's built-in git functionality: I used git pull --rebase from a separate console window.
Could it be that it is indeed that Code is running git status while I'm doing the git pull --rebase independently? The link you posted above seems to suggest that Code should not use git status:
Do not run git status from this application: it writes the index. Use
git diff-files to detect changed files. See require_clean_work_tree in
git-sh-setup for an example.

-- Hannes

Now I get permission denied errors from Git - I don't think code should be blocking Git from doing anything?
(note that git up is a synonym for git pull --rebase)
$ git stash && git up && git stash pop
Saved working directory and index state WIP on master: 2811dac Issue #6272: webapp: bugfix after enum rewrite.
error: unable to create file lib/server/dbal/dbal-base.ts (Permission denied)
fatal: Could not reset index file to revision 'HEAD'.
lib/server/dbal/dbal-base.ts: Permission denied
lib/server/dbal/dbal-base.ts: Permission denied
First, rewinding head to replay your work on top of it...
Applying: Issue #6272: webapp: bugfix after enum rewrite.
Removing lib/server/dbal/history.ts
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
  (use "git push" to publish your local commits)
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        modified:   lib/server/dbal/dbal-base.ts
        deleted:    lib/server/dbal/history.ts

no changes added to commit (use "git add" and/or "git commit -a")
Dropped refs/stash@{0} (90803eefd2da3da61892b8c7d1e2ae898f3fd92d)

For now I've disabled Git in the user settings, let's confirm that it goes away then.
"git.enabled": false,

Good idea. Let me know how that goes. Meanwhile, I'm looking into alternative ways to poke around the git status without side effects.

Here are my latest findings:
We could avoid calling git status since that writes to the index. There are a few commands which would give us the same results:

git ls-files --others --exclude-standard, for untracked files
git diff-index HEAD, for the changes between the working tree and HEAD
git diff-index --cached HEAD, for the changes between the index and HEAD

The reason why git status writes to the index, though, is very important: if you touch a file without modifying its contents, git status will hash the file, cache it in the index and not report it as modified.
git diff-index HEAD will incorrectly report it as modified since it doesn't hash the file but merely looks at the last modified timestamp. The consequence would be that touched files would appear in the git viewlet, unless VSCode does the hashing itself or calls git to do it. This can get very expensive since on every git view refresh these hashes would be recomputed... because they don't get cached in the git index.
It's a pickle.

How do other IDEs do it? Is there an efficient way to determine a subset of files to hash (e.g. with their modified timestamps)?

Well, that subset is exactly what you get from git diff-index HEAD. One solution would be to simply implement the hashing only on Windows... I'm not super happy about it though.

Wouldn't the number of files to hash be proportional to what the user touched (typically manually)? Would it be that much of a performance issue? Over here everybody has by himself walked into this issue already so I don't think the current way is the way to go.

Sure, I'm not saying we should keep it this way :+1: Let me see what I can sketch up.

Any progress on ".git/index.lock': File exists."?
It's a mess to fix a large rebase that fails when you forget to close vscode.

Just sneaking by saying that vscode 0.10.11 (on OS X Yosemite) stages all files for deletion while you least expect it. While browsing through todays diffs the counter suddenly stepped up from 22 modfied files to 99.
Checked console and $ git status showed all files staged for deletion. Happened at least 5 times now. Luckily $ git reset HEAD * solves the problem.
Files are sshfs mounted from a ubuntu linux (webserver).
vscode are not used for git actions besides that amazing diff.

Just had a rebase blow up with fatal: Unable to create '.git/index.lock': File exists. with VSCode open. Had to recover one of the commits from reflog. I tested again a few times and the rebase fails consistenly unless I close the application.

@joaomoreno I don't see git diff-index HEAD reporting a touched file as modified. That would be a bug in git itself, no?

@ricardobeat is your repo open source by any chance? Since you can repro consistently, I would love to give it a try. Which git are you on?

@joaomoreno not open-source unfortunately. The repo has >50k files, git v2.7.1 on OSX.

As another data point, just yesterday I had Visual Studio 2015 Update 1 stage 3 files for deletion. Git version 2.7.2. Windows 10 Version 1511 (OS Build 10.586.218).  I had modified and committed 3 files in git locally, and I did a pull (within VS 2015's Team Explorer window) that also had the 3 files modified. Instead of merging them, it deleted them from the local file system. I DID have VS Code open at the same time, but I don't know if that is related.  "git status" locally had this output:
$ git status
On branch cross-cloud
Your branch and 'origin/cross-cloud' have diverged,
and have 1 and 1 different commit each, respectively.
  (use "git pull" to merge the remote branch into yours)
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        deleted:    shared/db_common.sh
        deleted:    shared/vpn_common.sh
        deleted:    shared/vpn_final_updates.sh

no changes added to commit (use "git add" and/or "git commit -a")

I used "git checkout -- " from the command line to fix this immediate issue.  Then doing a Pull from within VS 2015 did the exact same thing again.  I actually used VS Code to fix this by doing a pull in VS Code, which used its "merge" functionality to allow me to merge my commit changes with the remote commit changes.
BTW, I had VS 2013 do this same thing to me once long before VS Code was around.

Let's:

Disable auto status when application is not in foreground and,
Provide setting (or checkbox in viewlet) to disable auto status altogether.

Verifier, read previous comment.

If it helps, I also experienced problems with git and VSC 1.7 in Windows 7 32 bit:

I opened the cmd in VSC
git checkout . In order to discard some changes
The cmd output errors regarding saying permission denied with the files modified, the same with modified fields that were in the git index with --assume-unchanged
The files appear as deleted in git, besides the file is shown in the explorer, but without content, and I cannot back to previous commits nor checkout to other branches. Always showing problems of permission denied.

I think I will remove the git functions from VSC, also had problems with git clean
Hope it helps

I am experiencing too. With VCS 1.9.1 and git 2.10.1 (Apple Git-78) on Mac OS X 10.12.3
And more, I am suspicious of VCS overwriting files as another existing files.

There seems to be a separate issue that's caused by this issue.
When VSCode runs certain git operations while files are locked, it corrupts the cached index because GIT has to convert line endings from CRLF to LF when it's storing the files in its database. If the file was locked, I guess the hash isn't updated properly and then GIT thinks the file is different even if I delete the file and restore it, check it out, force check it out, etc. GIT diff reveals that it thinks the whole file is modified because every line has CR in GIT's database, but CRLF when checked out (i.e. file locking causes de-sync). If you then try git diff with ignore whitespace, it says the file isn't different, thus proving that the de-sync with whitespace transform is what's causing the issue.
TL;DR
git rm --cached -r . git reset --hard
...will fix the de-sync issue with line endings if that's what you are experiencing due to the file locking bug. This is easier than re-cloning.

I came from google looking to resolve this issue. There is also a setting to have vscode stop fetching repositories (i see it does it every 120 second).
in settings.json:
"git.autofetch": false,

It doesn't seem like the fix works, I got index file lock problem multiple times when trying to do a rebase with Visual Studio Code open.
I didn't use the integrated terminal, but a normal git bash terminal window. Visual Studio Code was not focused, but maximized behind the terminal window. I didn't try to minimize it, so I can't tell if that would have helped.
This is on Windows 10, with Creators Update.

I also just noticed that the the blue "clock" on top of the version control icon flashes when I focus the terminal window, and run some long git command, like git status. This also happens within the integrated terminal.
I assume that this means that Git is busy and vscode tries to do some operation. So it means that it's trying to do stuff while not focused. It also happens very frequently, which seems to indicate that vscode also tries to access Git frequently.

I agree with @fredizzimo
i'm using vscode 1.13.1 on mac osx 10.12.4 and brew git 2.12.2.
i can put vscode in the background, edit a file in the project in emacs in a separate terminal, and when i save in emacs, i see vscode adding the clock overlay to the git icon, and it updates the git status.  this doesn't happen if i use "git.autorefresh": false
the background git operations cause the git index file lock problem that started this whole thread.  Perhaps the protections added in faeb58e were lost when the git code was refactored into an extension?

Just to chime in and say I've started noticing this on my mac over the last couple of days but I don't remember this being a problem before - commits through git gui have failed. On the plus side those can be retried, unfortunately I also had it happen during an interactive rebase where it broke applying the commits half way and git would not continue.
vscode 1.13.1 macOS 10.12.5 brew git 2.13.1

Yep, this is happening to me too on macOS. @joaomoreno, would you mind re-opening this issue?

I can confirm, still happens. vscode 1.14.1, git 2.14.0.

+1
Uncomfortable thing in the middle of rebase

Why is this closed? This is still an issue. I have git.enabled: false, git.autorefresh: false and git.autofetch: false, and if I try to do any git operations while vs code is open it fails due to locked files - and then when I close vs code, those locked files get immediately deleted. It's caused me to lose changes several times.

This is happening for me in version 1.16.0

@lukephills threads about this issue were consolidated under https://github.com/Microsoft/vscode/issues/11918
fix is committed in 475fb0e
i believe the fix will be included in 1.17

Still happening in 1.17.. big merge, found the conflicts using VScode (they are nice at the top). Fixed them and switched to my terminal to add and commit..
Kept getting the error because VScode was still updating in the background, even when not looking at the GIT Activity sidebar.

1.17 is correctly not updating status when vscode is in the background for me.
are you using any other extensions?  eamodio.gitlens seemed to be causing a similar issue for me at one point.

Ahh, yes.. that might be the culprit

gotcha; that's affected a few people in our group also.
i opened an issue on GitLens to address this problem
https://github.com/eamodio/vscode-gitlens/issues/163
and you can workaround most of GitLens locking by setting gitlens.gitExplorer.includeWorkingTree": false


Update es6-error to (at least) 4.0.1

Recently I had a problem with returning validation errors on submit by throwing SubmissionError. It turned out that instances of SubmissionError didn't have correct prototype.
es6-error 4.0.1 fixed that by adding some Babel magic to ES/jsnext build (see bjyoungblood/es6-error/pull/27 for details), but somehow I had version 4.0.0... You should probably bump version of es6-error to ^4.0.1 to prevent such a situation in the future.
I would create pull request instead opening issue, but I see that you have package-lock.json in your repo. That means I should use npm >= 5, right? Unfortunately I'm on npm 3 and don't want to break something in my project by upgrading it now.

It's on ^4.1.1 now 🙂


CSS Fix, Tweak the card layouts

I want to try and fix the issue. Can you tell me more about the issue ?

Come up with cool Card Layout, Nothing specific. Home Page: https://southindiantrekkers.org/, scss: https://github.com/southindiantrekkers/southindiantrekkers.org/blob/master/src/client/styles/Index.scss

Is it still open? can I work on it?

It is. If you can complete before me then why not.

@UddeshJain @shubhankarb180 Somebody come up with CSS fix to make UX more stunning

I would like to work on it

@RaunaqChawhan  thanks, Proceed

I've fixed the page layout

@RaunaqChawhan  thanks bro, appreciate it. @praveencs210  please look into bro


Bad Configuration for docker

hello i get this message : A library section has invalid information: /data/movies
but i give all volumes access ....
/plex=/data
/plex2=/data2
/plex3=/data3
/plex4=/data4
can you made a better exemple of use for full docker environement ?
this is my config for docker-compose.yml
plex-server:
    container_name: plex-server
    image: plexinc/pms-docker:latest
    restart: unless-stopped
    environment:
      - TZ=${TZ} # timezone, defined in .env
    network_mode: host
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ${ROOT}/config/plex/db:/config # plex database
      - ${ROOT}/config/plex/transcode:/transcode # temp transcoded files
      - ${ROOT}/complete:/data # media library
      - ${ROOT2}/complete:/data2 # media library
      - ${ROOT3}/complete:/data3 # media library
      - ${ROOT4}/complete:/data4 # media library

  plex-credits-detect:
    container_name: plex-credits-detect
    image: cjmanca/plex-credits-detect:main
    restart: unless-stopped
    environment:
      - PUID=${PUID} # default user id, defined in .env
      - PGID=${PGID} # default group id, defined in .env
      - TZ=${TZ} # timezone, defined in .env
    network_mode: host
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ${ROOT}/config/plex-credits-detect:/config # plex-credits-detect database
      - ${ROOT}/config/plex/db/Library/Application Support/Plex Media Server/Plug-in Support/Databases/:/PlexDB # plex database
      - ${ROOT}/complete:/plex # media library
      - ${ROOT2}/complete:/plex2 # media library
      - ${ROOT3}/complete:/plex3 # media library
      - ${ROOT4}/complete:/plex4 # media library

Take a look at my answer to this issue and see if it provides what you're needing regarding the paths:
https://github.com/cjmanca/plex-credits-detect/issues/27#issuecomment-1213635886

i have all ready seen it but that not solved my bug

[directories]

[intro]
introStart = 0
introEnd = 0.5
introMaxSearchPeriod = 900

[credits]
creditsStart = 0.75
creditsEnd = 1.0
creditsMaxSearchPeriod = 600

[matching]
useAudio = true
useVideo = false
introMatchCount = 0
creditsMatchCount = 1
quickDetectFingerprintSamples = 5
fullDetectFingerprintMaxSamples = 10
audioAccuracy = 4
stride = 512
sampleRate = 5512
minFrequency = 100
maxFrequency = 2750
videoAccuracy = 2
videoSizeDivisor = 50
frameRate = 1

[silence]
detectSilenceAfterCredits = true
silenceDecibels = -55

[blackframes]
detectBlackframes = true
blackframeOnlyMovies = true
blackframeUseMaxSearchPeriodForEpisodes = true
blackframeUseMaxSearchPeriodForMovies = false
blackframeScreenPercentage = 75
blackframePixelPercentage = 2
blackframeMovieMinimumMatchSeconds = 20

[timing]
shiftSegmentBySeconds = 2
minimumMatchSeconds = 20
PermittedGap = 3
PermittedGapWithMinimumEnclosure = 10

[redetection]
crawlDirectoriesOnStartup = false
recheckBlackframesOnStartup = false
recheckSilenceOnStartup = false
recheckUndetectedOnStartup = false
forceRedetect = false
redetectIfFileSizeChanges = true

[monitoring]
monitorPlexIntros = true
monitorDirectoryChanges = true

[paths]
databasePath = /config/plex-credits-detect/database
PlexDatabasePath = /PlexDB/com.plexapp.plugins.library.db
TempDirectoryPath = /config/plex-credits-detect/temp
ffmpegPath = ffmpeg

also try this one
`[directories]
/plex/movies=/data/movies
/plex/tv=/data/tv
/plex2/movies=/data2/movies
/plex2/tv=/data2/tv
/plex3/movies=/data3/movies
/plex3/tv=/data3/tv
/plex4/movies=/data4/movies
/plex4/tv=/data4/tv
[intro]
introStart = 0
introEnd = 0.5
introMaxSearchPeriod = 900
[credits]
creditsStart = 0.75
creditsEnd = 1.0
creditsMaxSearchPeriod = 600
[matching]
useAudio = true
useVideo = false
introMatchCount = 0
creditsMatchCount = 1
quickDetectFingerprintSamples = 5
fullDetectFingerprintMaxSamples = 10
audioAccuracy = 4
stride = 512
sampleRate = 5512
minFrequency = 100
maxFrequency = 2750
videoAccuracy = 2
videoSizeDivisor = 50
frameRate = 1
[silence]
detectSilenceAfterCredits = true
silenceDecibels = -55
[blackframes]
detectBlackframes = true
blackframeOnlyMovies = true
blackframeUseMaxSearchPeriodForEpisodes = true
blackframeUseMaxSearchPeriodForMovies = false
blackframeScreenPercentage = 75
blackframePixelPercentage = 2
blackframeMovieMinimumMatchSeconds = 20
[timing]
shiftSegmentBySeconds = 2
minimumMatchSeconds = 20
PermittedGap = 3
PermittedGapWithMinimumEnclosure = 10
[redetection]
crawlDirectoriesOnStartup = false
recheckBlackframesOnStartup = false
recheckSilenceOnStartup = false
recheckUndetectedOnStartup = true
forceRedetect = false
redetectIfFileSizeChanges = true
[monitoring]
monitorPlexIntros = true
monitorDirectoryChanges = true
[paths]
databasePath = /config/plex-credits-detect/database
PlexDatabasePath = /PlexDB/com.plexapp.plugins.library.db
TempDirectoryPath = /temp/plex-credits-detect
ffmpegPath = ffmpeg
`

The message "A library section has invalid information: /data/movies" means that the plex database has an entry with invalid or unexpected information in it for the library root. So far, the times I've heard of this happening is usually old entries that don't exist anymore, but for whatever reason were never removed from the Plex Database. The message means it's ignoring that library section, but is informing you that it's invalid.
If that library section is actually in use (and should be valid), then it may be a good idea to try doing a repair on the plex database, by first doing an "Optimize Database" from within plex, and then closing both Plex Media Server and plex-credits-detect and following the guide here:
https://support.plex.tv/articles/repair-a-corrupted-database/

okey i will try thanks,
but that not seem work , i'm gona try to fix flex db
in case my log can help
Loading global config file: /config/plex-credits-detect/fingerprint.ini
First time run detected. The first run can take a long time to build up the database from your plex database. It may appear to be frozen, but give it time.
Syncing newly added episodes from plex...
Couldn't get tag_id from Plex Database. Make sure you've set up intro scanning and Plex has scanned at least one show before turning off Plex's default scanning.

As for the paths - you can either use the second ini, or change your docker-compose so that the paths are the same for plex-credits-detect as they are for Plex (ie. use this format for both for the media paths:
      - ${ROOT}/complete:/data # media library
      - ${ROOT2}/complete:/data2 # media library
      - ${ROOT3}/complete:/data3 # media library
      - ${ROOT4}/complete:/data4 # media library

Once you've got your paths correct, I'd suggest deleting the fingerprint database that PCD created before running the container again, or it may have ignored/moved past all your files already, and will look like it's not doing anything.

Couldn't get tag_id from Plex Database. Make sure you've set up intro scanning and Plex has scanned at least one show before turning off Plex's default scanning.
That's your issue there - there's no tag_id in the database. I see that your plex database is purely for movies, so it's probably never generated intros before.
Temporarily add one "TV Shows" library with a fake (or real) tv show that has enough "episodes" to trigger an intro scan. Once plex has done an intro scan on it, you can safely delete the library. It just needs to do at least one intro scan to create that intro tag.

i all ready have movies and series on plex

all ready have some series

And has it done intro scanning on those series? Do you get a "skip intro" button during the intro when playing episodes from those series?

he didn't

Ok, then please turn on intro scanning in Plex:

Settings > Library > "Generate intro video markers" > "as a scheduled task and when media is added"),
Edit your TV shows library > Advanced > "Enable Intro Detection" > Checked
Then do a plex dance on one of the tv show episodes to prompt plex to generate intro markers

Remember - the plex-credits-detect isn't intended to completely replace the plex intro scanning, but rather is supplemental to it, only generating the credit while preserving the plex generated intros.

I didn't see the "Enable Intro Detection"  in my tv show's advanded options 0_o

Ok, then please turn on intro scanning in Plex:
1. Settings > Library > "Generate intro video markers" > "as a scheduled task and when media is added") > Save Changes

2. Edit your TV shows library > Advanced > "Enable Intro Detection" > Checked > Save Changes

3. Then do a plex dance on one of the tv show episodes to prompt plex to generate intro markers

You don't have that option? That's strange. It should be right at the bottom:

finaly found ( i have it in french the label does not seem the same thing )

Ok, good. Once you've done the plex dance and verified that there's intros generated, you can give the PCD utility a try again

oh ... my bad ... need to get a Plex Pass to use the skip intro ^^'
sorry about this x)


PopToRoot shows second view while transitioning from third to first view

I have a coordinator and three screens:
@ViewBuilder
func makeStart() -> some View {
    TimetableView()
}

@ViewBuilder
func makeJoinMeeting() -> some View {
    JoinMeetingView()
}

@ViewBuilder
func makeMeeting() -> some View {
    MeetingView()
}

While on the third view I'm trying to .popToRoot in order to transition to the timetable. And sometimes the second view shows for a moment during the transition. Did anybody encounter this?

I observed this during my implementation: https://github.com/rundfunk47/stinsen/pull/77.
However it hasn't happened in my app even when pushing dozens of views. This is probably a quirk of NavigationView and may be helped when transitioned to the iOS 16 navigation APIs.

I made a small project to reproduce the issue and uploaded it to my Github account here
Even on this simple app I still can reproduce the bug. Not every time but pretty consistently. I also noticed that when transition succeeds I got a message in the console, it says: 'NavigationLink presenting a value must appear inside a NavigationContent-based NavigationView. Link will be disabled.'  But when (and only when) I got a buggy behavior, the console is crystal clear
I don't know, but it seems like a bug to me. I also made a simple popToRoot example using native NavigationView (iOS14), and it works fine every time.
The video with the bug:
https://user-images.githubusercontent.com/63232549/196788137-d06d1096-5a1b-4981-8df4-f362cb678676.mp4
@LePips Any ideas? What am I doing wrong?

1 - This also happens in the sample application so it's more easily reproducible there
2 - The navigation error in Xcode is from Stinsen still using NavigationView in iOS 16, which has new navigation APIs and deprecates NavigationView. Stinsen still needs to upgrade.
3 - This is just a quirk with NavigationView. I personally don't see it in my own apps and you are calling popToRoot() as expected.
There just isn't anything "wrong" going on here, just the system bugging out.

Sadly, I face this issue 50/50 and it's a pretty frequent use case for my app. I still don't understand why simple (well, not very simple in a bigger app) native solution works as expected. Neither errors in the console, nor the bug. The code I found on stackoverflow
ContentView.swift.zip

@LePips @rundfunk47 Any ideas?

In my case, choosing push as PresentationType for a route caused this error on iOS 16 devices.
NavigationLink presenting a value must appear inside a NavigationContent-based NavigationView. Link will be disabled.


Reversing Bitmoji ID

Hi Matthew,
Is it possible to use a Bitmoji ID to create a preview URL?
Kind regards,
Nik

Hi @nnastoski!
Unfortunately i have not discovered any ways of using a Bitmoji ID to create a preview URL. The preview engine appears to be tied to its arguments, whereas the comics engine allows for the manipulation of pre-existing user aspects. If you stay tuned, I am in the process of adding more documentation on how to manipulate the traits of pre-existing accounts to generate image URLs.
Watch for an update hopefully by the end of this week, and feel free to ask me any more questions you may have regarding Libmoji :) I will update the wiki and node package as soon as the documentation and testing is finished. (Look for version 2.1.0)
Best,
Matt


Updated blueprint and guide for missing import

I dont know whats up with the jobs running. If you look at the failing jobs, its a build error of some sort. But its transient I believe. If you run the jobs again they work. If I run them locally they work.
Its frustrating

I noticed the change for fixing the guide was missing so I added that. Could you re-approve please. Curious to see if the tests are able to build (then run) this time


Feedback & Issues

Currently trying to get this setup on lite-xl and have some questions.

The text size on the popup widget is very tiny. Is there a way I can change font size?
Really nice font in the screenshots. Can you tell me what font this is? link, link2, link3
I am trying to setup rust-analyzer and the examples are missing details. There is also an issue where there is a 1s lag before the lsp autosuggestions popup which is very laggy.
Inside init.lua

local lspconfig = require "plugins.lsp.config"
lspconfig.rust_analyzer.setup()

This is doing nothing. I have rust-analyzer installed in ~/.local/bin and it is in $PATH. I also have widget/ and lint+ installed.
Instead I have to do the following in order to get it to work. This isn't mentioned anywhere and I had to use the existing sumneko_lua example in config.lua in order to hack it together.
local lspconfig = require "plugins.lsp.config"
lspconfig.rust_analyzer.setup {
  settings = {
    Rust = {
      diagnostic = {
        enable = true
      }
    }
  }
}

In addition to that, there is a considerable lag between typing and autosuggestions popping up. It goes from lite-xl builtin autosuggest to lsp autosuggest and that thats ~ 1s which is very slow and noticable. I tried increasing the requests_per_second to more than 16, requests_in_chunks to true, and incremental_changes to true but that delay is still there. Perhaps this is a setting in lite-xl which I need to turn off but I assume the updated autocomplete.lua would have taken care of that.
Anyways thanks for your time.

Currently trying to get this setup on lite-xl and have some questions.

The text size on the popup widget is very tiny. Is there a way I can change font size?
Really nice font in the screenshots. Can you tell me what font this is? link, link2, link3

The screenshots are of initial work, later on I switched to monospaced font to be able to easily calculate resizing of the popups and made the font size smaller since sometimes an LSP could return lots of information (taking a lot of screen space). You can increase the overall interface fonts size by adding to your user init.lua something like:
if pcall(require, "plugins.scale") then
  local scale = require "plugins.scale"
  config.plugins.scale.mode = "ui"
  scale.set(1.45) -- <-- set this to your desired scaling value
end

or by setting the environment variable LITE_SCALE to your desired scale and then launching lite-xl eg:
LITE_SCALE=1.45 lite-xl

I am trying to setup rust-analyzer and the examples are missing details. There is also an issue where there is a 1s lag before the lsp autosuggestions popup which is very laggy.
Inside init.lua

local lspconfig = require "plugins.lsp.config"
lspconfig.rust_analyzer.setup()

This is doing nothing. I have rust-analyzer installed in ~/.local/bin and it is in $PATH. I also have widget/ and lint+ installed. Instead I have to do the following in order to get it to work. This isn't mentioned anywhere and I had to use the existing sumneko_lua example in config.lua in order to hack it together.
local lspconfig = require "plugins.lsp.config"
lspconfig.rust_analyzer.setup {
  settings = {
    Rust = {
      diagnostic = {
        enable = true
      }
    }
  }
}

That was a mistake on the readme, should have been:
lspconfig.rust_analyzer.setup {}

See the referenced commit above for details.

In addition to that, there is a considerable lag between typing and autosuggestions popping up. It goes from lite-xl builtin autosuggest to lsp autosuggest and that thats ~ 1s which is very slow and noticable. I tried increasing the requests_per_second to more than 16, requests_in_chunks to true, and incremental_changes to true but that delay is still there. Perhaps this is a setting in lite-xl which I need to turn off but I assume the updated autocomplete.lua would have taken care of that.

Rust analyzer sends the list of completion items along the whole markdown documentation, depending on the amount of results, parsing the json and stripping the markdown from it takes some time. Some other LSP servers work faster since they send the documentation when you select the autocomplete item from the completion box which is more efficient in our case. This is the reason you may see some lag between showing the autocomplete box and displaying rust-analyser results. Some weeks ago I added a work around so at least it doesn't stalls the UI when parsing the rust-analyzer results, but a workaround would be needed to prevent the default autocomplete box from been shown until the lsp suggestions are ready.

Thanks for clarifying as it makes more sense now. If by some change you remember the font, do let me know. Thanks


Feature/annotated example confs

Better structure for example configuration files and more explanation for the different configuration parameters.

#24 #61


Need screenshot for Transferring subscription to an account in another Azure AD tenant

Transferring subscription to an account in another Azure AD tenant

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 65b8cd29-3c9b-6afc-d4fb-256463776002
Version Independent ID: d905e8f9-49c6-19de-1c43-796efc04003f
Content: Transfer billing ownership of Azure subscription to another account
Content Source: articles/billing/billing-subscription-transfer.md
Service: billing
GitHub Login: @bandersmsft
Microsoft Alias: banders

@HannahHsiao Thank you for your query . We will investigate and update this thread.

@bandersmsft Could you please review this requirement and update the document as needed?

Remember to mention that "Billing Administrator" is a role in AAD, not an assignment in a subscription.  Context is always so, so important to those of us doing something for the First Time!


Mock fails when using multiple fake() calls on same test

After upgrading to v3.3.0 my tests that uses more than one Saloon:: fake() call are failing with:
Saloon was unable to guess a mock response for your request...
I guess... the expected behavior of Saloon::fake() -even if is deprecated since now- should APPEND mocks to the previous ones (as Laravel's Http::fake() does).
Here is a minimal reproduction code.
test('saloon', function () {
    Saloon::fake(['*/endpoint1' => MockResponse::make('::response1::')]);
    Saloon::fake(['*/endpoint2' => MockResponse::make('::response2::')]);
    $connector = new App\Http\Integrations\TestIntegration\TestConnector();

    $response = $connector->send(new TestRequest('endpoint1'));
    expect($response->body())->toBe('::response1::');

    $response = $connector->send(new TestRequest('endpoint2'));
    expect($response->body())->toBe('::response2::');
});

Hey @josecl this should be fixed in the latest release!


Ensure the Learning Path section OK to go live

Is your feature request related to a problem? Please describe.
We need to have a green light from the Learning Path working group on their section for moving the current site to production.
Describe the solution you'd like
Ask approvement.

What's required to close this? The new Learning Path page looks fab! :)

They have to decide: do they need to make translations work before we'll flip the sites or not. Info from here: https://github.com/InnerSourceCommons/InnerSourceLearningPath/issues/362

Thanks to @tsadler1988, translations are live on the site:
https://innersourcecommons.net/learn/learning-path/
Currently known bugs:

Menus are hidden when the language is changed. (will fix that later)
Links in the breadcrumb resets the language setup. (it's harder to fix because we have only LP content translated currently)
Description of the courses is in English right now since the index pages are not translated. (It's correct only for Russian now)
A bad example, a good example. Will be fixed after all translations will be done in a separate issue in the LP project.

Any considerations are we ready to go to production from the Learning Path point of view?

The first and the second problems fixed.

Update from yesterday's Learning Path meeting. The LP working group decided that they needed index pages for the different languages (saying translations coming soon, where the translations not available) before we go live. This will address the confusion that may arise if people change the language and don't see any change in the index page. @tsadler1988 is working on creating the index files... when they are complete, the LP are ready to go.

I am looking into this and I would like to check the best way to move forward. My preference is for the second option as with the first one you don't really see the added Translation comming soon text.

I think we need to leave the text in place (for it to be translated). I would recommend appending a notice something like the following to each piece of text...
Introduction
_[This text will be translated into German shortly.]_Check out the Introduction to learn about the types of problems where InnerSource can help, how to do it, the types of benefits you can expect to see by participating, and the underlying principles that make it all work.

Looks great! Thanks @voborgus, @claredillon, @clcoffey.


Out of Memory? what's the problem?

Dear Liang,
My test PC is like this: one NVIDIA GTX 1080Ti GPU, CPU: intel i5, Memory: 8GB
but when I run it , it show : GPU out of memory.
Regards,

Hi
Could you provide more information of your test PC?
If you fit the environment which I describe, this should not be a problem.
Thanks
Best Regards,

I installed the package as you stated, my software environment  is Win 7, anaconda, TF, keras , the version is the same to you, and the code can run to all image loaded.  but when it load the LFatt model, it shows GPU out of memory.
I guess,  Maybe  the CNN model it too large? 81 sub-nets and 3D CNN regression ?
Can you give me any advice about it, I need to train it for study.
Many thanks for your reply.

Hi
For this situation, the main problem may be the OS.
I also encounter this problem when I use Win10 for training and testing my network with 1080ti.
Our model use almost all memory in 1080ti, but Windows system will remain some space not to be used.
So the advice I can give to you is to use Ubuntu to be your OS and build the same environment as I described.
Sorry for this problem
Best Regards,

Dear LIAGM,
I have changed the os to Ubuntu 18.04, the code can run to the "Epoch: 1/1" ,but stop there and can't run any more.
My GPU is 1080TI,  memory is 8GB. May be the memory is not enough?
What do you think about it?
Thanks.

Hi
I did not test my code in Ubuntu 18.04.
So I do not know the problem now is the OS difference between 16.04 and 18.04 or the lack of memory.
I think the first step is to change the environment as my setting.
And you can check the problem is from OS difference or the memory.
Thanks
Best Regards,

Hi, I am very sorry for trouble you so much.
Have you ever use pytorch to train your model? I just slightly modify the code using pytorch. but the result seems not good as in keras version. I doubt the order of dataset loader( especially for EPI) is wrong in my code. (i.e. [B,C,H,W] in pytorch's tensor;  ). Do you have this experience? or give me some advice. Thansk a lot.


[BUGFIX] Warn when a directive has not title

resolves https://github.com/phpDocumentor/guides/issues/983

Merging as low-brainer


⚠ ClamAV has degraded performance

In ab4e2da, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 441 ms

Resolved: ClamAV performance has improved in 2174e0c.


feature: checkhealth plugin

Did you check the docs?

[X] I have read all the lazy.nvim docs

Is your feature request related to a problem? Please describe.
when use
checkhealth plugin

some plugins not found and some can be found.
Describe the solution you'd like
I don't sure it bug or feature missing.
Describe alternatives you've considered
Checkhealth in lazy.
Additional context
mini config at here
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    "--branch=stable", -- latest stable release
    lazypath,
  })
end
vim.opt.rtp:prepend(lazypath)

require("lazy").setup({
  {
    'windwp/nvim-autopairs',
    config = true,
  },
  {
    "folke/which-key.nvim",
    config = function()
      vim.o.timeout = true
      vim.o.timeoutlen = 300
      require("which-key").setup({
      })
    end
  },

})

what's wrong here?
nvim-autopairs doesn't have healthecheck afaict

Check :h checkhealth to learn what it is. Closing this.


broken runtime-shader.rs example

#757 broke the runtime-shader.rs example as in the example both the Vertex and the Fragment shader Layout descriptors have
        fn descriptor(&self, set: usize, binding: usize) -> Option<DescriptorDesc> {
            match (set, binding) { _ => None, }
        }

and the check_desc_against_limits() function is unwrapping the None, resulting in a crash.

Oh thanks for the report.


Incomplete/inconsistent dependencies

There is an inconsistency in the requirements.txt and the pyproject.toml in the required packages (i.e. asteroid is present in requirements.txt but not in pyproject.toml). Both also miss the dependency on pyyaml, which is imported in the run.py file.

thanks for raising this issue. I will fix it soon. if you prefer to do a PR instead, you're more than welcomed!

I made a pull request with these changes!

solved by #2


Define the merging policies for combining multiple HAT packages into a single HAT package

Given multiple HAT packages, each one with a statically linked binary, is it possible to merge them into 1 statically or dynamically linked HAT package?
If so, how do we determine the merging policies for the various metadata fields? Examples:

first-one wins
last-one wins
Selective merging: only merge exported functions and nothing else?
Per field policy (e.g. Description has a different policy compared to Functions)
etc

Current solution resolves this (partially) by listing the dependent link targets as dynamic dependencies, and then creating a new HAT package with just the main HAT file. Issue #17 covers a possible solution for combining by inclusion.


How to read the mdd file

Please give some hint on how to extract the image and audio files in the .mdd file.
Thank you.

Have no idea to be honest @Killea
Used this for single project, there was no need for extra data. Maybe original project creator can help? https://github.com/fengdh/mdict-js


Issue with k8s.io/docs/setup/turnkey/stackpoint/

This is a...

[ ] Feature Request
[x ] Bug Report

Problem:
Page [1]  contains too many headers. I believe the page will look better especially its navigation menu, if Headers state Cloud Providers, and  a numerated list is used to describe installation steps, i.e. :
## AWS

To create a Kubernetes cluster on AWS, you will need an Access Key ID and a Secret Access Key from AWS.

1. Choose a Provider
    a. Log in to [stackpoint.io](https://stackpoint.io) with a GitHub, Google, or Twitter account.
    b. Click **+ADD A CLUSTER NOW**.
    c. Click to select Amazon Web Services (AWS).

2. Configure Your Provider
    a. Add your Access Key ID and a Secret Access Key from AWS. Select your default StackPointCloud SSH keypair, or click **ADD SSH KEY** to add a new keypair.
    b. Click **SUBMIT** to submit the authorization information.

3. Configure Your Cluster
    a. Choose any extra options you may want to include with your cluster
    b. Click **SUBMIT** to create the cluster.

4. Running the Cluster
   You can monitor the status of your cluster and suspend or delete it from [your stackpoint.io dashboard](https://stackpoint.io/#/clusters).
   For information on using and managing a Kubernetes cluster on AWS, [consult the  Kubernetes documentation](/docs/getting-started-guides/aws/).

Also notice that imperative mood is used together with a gerund:

Choose a Provider
Configure your Provider
Configure your Cluster
Running the Cluster

s/Running/Run will be more consistent.
Page to Update:
https://kubernetes.io/docs/setup/turnkey/stackpoint/

/assign

@lucperkins I believe it can be closed as fixed by PR #9493

Stckpnt


Auto-generate of Asset is not working

Hi, I have a Product Type which I have set to 'Convert to Asset' when a Work Order Status is set to Closed - Posted and the product is listed within the Work Order. However the Asset is not being created and I have checked the System Processes to see if a workflow was fired on the Work Order status changing however I cant see any workflow relating to Assets. Have I missed something? Can you tell me the name of the workflow that should be firing as part of this process?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 044b3d2b-8271-844d-a33f-9bc4b051ec2e
Version Independent ID: aefff47d-9954-b4d9-befb-8cd541e1f70b
Content: Configure and set up customer assets (Dynamics 365 for Field Service)
Content Source: ce/field-service/configure-set-up-customer-assets.md
Service: dynamics-365-customerservice
GitHub Login: @krbjoran
Microsoft Alias: krbjoran

Found answer at https://community.dynamics.com/365/fieldservice/f/764/t/273519


[backport] Fix typo in docstrings

Backport of #5676

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit fbfe086198c093e9b2e93bc3f3c85487d8ce55f8, target branch v5) succeeded!

LGTM!


typo: addresss -> address

Docs Build status updates of commit 2b71bc3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/databricks-monitoring/dashboards.md
:white_check_mark:Succeeded
View

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


String reversing supporting astral characters and combining unicode chars

Code borrowed from @mathiasbynens:
https://github.com/mathiasbynens/esrever/blob/master/esrever.js

Partial fix of: https://github.com/elm-lang/core/issues/625

@eoftedal what are the performance effects of this change?

Awesome @eoftedal! Shouldn't there also be a test here?

If there are performance implications, which I'd bet there are, maybe this could instead become another function.

To be honest, I don't know the performance implications. I also don't know if people use a string reversing function enough that that matters. I can't really think of many valid use cases for it.

Array.from(str).length seems to be about 10 times slower than str.length

[...str].length seems to be about twice as fast as Array.from(str).length

Fixed in https://github.com/elm-lang/core/commit/8ca9c383292cb9cead5d07c9ad5613e2e9ccb4b2 with proof that speed is equal or faster here and tests in https://github.com/elm-lang/core/commit/d796fcae2a9dba3dc7c74328a77d473525be3590.


Adds network status page

Let's add a mixpanel event on clicks out to the breaking changes! status_page_forum_post_clicked but looks great otherwise.