Restoring MS Teams Meeting Caused Black Screens & Frozen System for 2 Minutes

Microsoft PowerToys version
0.82.0
Installation method
GitHub, PowerToys auto-update
Running as admin
No
Area(s) with issue?
General
Steps to reproduce
I was in a Microsoft Teams call. Because I was sharing my screen, the meeting window minimized itself into a miniature window. The issue occurred when I clicked on the button in that miniature window that restores it to full size.
✔ Expected Behavior
When I clicked on that button, I expected the window to be restored to full size.
❌ Actual Behavior
When I clicked on that button, all three of my monitors turned black. My primary monitor was the only one that had something other than pure black: a tiny window whose borders were squeezed so tightly together that I could not gather any information about what application the window belonged to. My PC was completely unresponsive to keyboard and mouse inputs, but I was still able to communicate with other meeting participants by voice. After about 2 minutes, everything went back to normal. The meeting window had been restored to its full size. Furthermore, a PowerToys error window appeared, suggesting that I file a bug. The log file is attached.
2024-07-10.txt
Other Software
Microsoft Teams version 24152.415.2975.367, client version 49/24061318408.

this may be a duplicate of /dup https://github.com/microsoft/PowerToys/issues/31226 which has an attempted fix commited


Unknown return type: class java.lang.Long when calling Date#getTime

After injecting the Date class  and the Long class I get an Unknown return type: class java.lang.Long when calling Date#getTime
V8 v8 = V8.createV8Runtime();
V8JavaAdapter.injectClass(Long.class, v8);
V8JavaAdapter.injectClass(Date.class, v8);
v8.executeVoidScript("var d = new Date(); var time = d.time;");

I also tried to inject long.class instead of Long.class but the result was the same

Hi @newk5 !
What happens if you use d.getTime() in your example instead of d.time? I have a suspicion there is a bug in the way we automatically convert Java getters and setters to JavaScript properties.

😢 Ok! I will look into this some more today; thank you for submitting this issue!

Thanks! Btw I went looking for the line that is throwing this error in J2V8 (https://github.com/eclipsesource/J2V8/blob/7d1944c76c7a58bc3117dfafa49bc2ec74d3c3fc/src/main/java/com/eclipsesource/v8/V8.java#L884) and I found it interesting that it's checking whether the value is an instance of Integer, Double, Boolean, Float and String, but not Long. Not sure what this means in relation to the V8Adapter but maybe It'll help detecting where the issue is 😛

I noticed! A new build of the V8-adapter is now available in Maven Central as version 1.58 which fixes this issue.
J2V8 chooses to represent all large numbers as Doubles because JS internally uses 64-bit floating point numbers for everything...even integers! The latest build fixes this issue by upcasting Long and Float data to Double data. It is not perfect, and may produce some interesting numbers...but it does address the issue in the most JS-native way we have at the moment.
Let me know if you find any more issues!

Oh I see. Thanks, all working now!


Deprecate Mean and MeanData

Fixes https://github.com/census-instrumentation/opencensus-java/issues/1094
/cc @dinooliva

Codecov Report

Merging #1101 into master will decrease coverage by 0.13%.
The diff coverage is 40.74%.

@@             Coverage Diff              @@
##             master    #1101      +/-   ##
============================================
- Coverage      81.6%   81.46%   -0.14%
  Complexity     1179     1179
============================================
  Files           184      184
  Lines          5571     5580       +9
  Branches        514      514
============================================
  Hits           4546     4546
- Misses          885      894       +9
  Partials        140      140

Impacted Files
Coverage Δ
Complexity Δ

...main/java/io/opencensus/stats/AggregationData.java
78.57% <0%> (-17.09%)
1 <0> (ø)

...src/main/java/io/opencensus/stats/Aggregation.java
80.95% <0%> (-19.05%)
1 <0> (ø)

...xporter/stats/signalfx/SignalFxSessionAdaptor.java
96.22% <100%> (ø)
14 <0> (ø)
:arrow_down:

...porter/stats/prometheus/PrometheusExportUtils.java
98.41% <100%> (ø)
10 <0> (ø)
:arrow_down:

...pi/src/main/java/io/opencensus/stats/ViewData.java
87.5% <100%> (ø)
7 <0> (ø)
:arrow_down:

.../opencensus/contrib/zpages/StatszZPageHandler.java
93% <100%> (ø)
45 <0> (ø)
:arrow_down:

...ncensus/contrib/grpc/metrics/RpcViewConstants.java
99.67% <100%> (ø)
1 <0> (ø)
:arrow_down:

...rter/stats/stackdriver/StackdriverExportUtils.java
86.56% <100%> (ø)
29 <0> (ø)
:arrow_down:

.../io/opencensus/implcore/stats/MutableViewData.java
98.06% <100%> (ø)
16 <0> (ø)
:arrow_down:

...io/opencensus/contrib/zpages/RpczZPageHandler.java
72.94% <22.22%> (ø)
26 <0> (ø)
:arrow_down:

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 d6e8a79...96cb086. Read the comment docs.

Looks like AppVeyor is having some difficulties connecting to maven. I saw another AppVeyor failure in another PR. I'll do a dummy push to run AppVeyor test again later today.

Finally got CI working...


Dependency graph error

When executing 'npm run ios' I come across this error below after it starts running the packager on a local port
Error watching file for changes: EMFILE
{"code":"EMFILE","errno":"EMFILE","syscall":"Error watching file for changes:","filename":null} Error: Error watching file for changes: EMFILE     at exports._errnoException (util.js:1020:11)     at FSEvent.FSWatcher._handle.onchange (fs.js:1420:11)
It then crashes the iPhone simulator on my MacBook

How can I fix these issues?

Hi @watrick, I am glad you found a solution. If you are still experiencing errors, please let us know by opening a new issue.


Migrated Borer to 1.7.2 and added FiniteDuration codec

(Removed the link to issue #22 coz then merging this PR would close the issue: this PR only relates to #22, but does not close it)


[Connect-DbaInstance] Failure | Unable to load adalsql.dll (Authentication=ActiveDirectoryPassword). Error code: 0x2.[Bug]

The fix to the below issue is to place adalsql.dll in the System32 folder.... guessing that azure automation runs in x86 context.

Download the ADAL msi https://www.microsoft.com/en-us/download/details.aspx?id=48742 (choose ENU\x64\adalsql.msi)
Type: msiexec.exe /a “[Path to downloaded file]\adalsql.msi”/qb TARGETDIR=”[Export directory]” <- make sure the folder is empty
Copy the [Export directory]\Windows\system32\adalsql.dll to C:\Windows\system32 folder.

ISSUE:
Try to use dbatools on a azure hybrid worker ... it will fail with the below ... even with the latest version installed and set-executionpolicy unrestricted
[Connect-DbaInstance] Failure | Unable to load adalsql.dll (Authentication=ActiveDirectoryPassword). Error code: 0x2.

Steps to Reproduce

Expected Behavior

Actual Behavior

Environmental information
🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
Please provide the output of the below script
doesnt matter
SQL Server:
Azure SQL

We removed support of this last year because the full being packaged with the module effected user's experience in VS Code.

sounds like a ticket should have been opened with MS to fix vs code instead.

Not much use as it is likely an extension in Code that caused the issue. So many could be also using the DLL as well.
It was not popular enough at the time to work out the full issue in the module. As of now I'm not aware of many trying to use the module for this auth type.


ListPullRequestsWithCommit doesn't seem to return open/close PRs associated with a commit

I recently used ListPullRequestsWithCommit to get PRs associated with commit, but it looks like only merged PRs are returned by the github api?
Few links testing the api call in commits in this repo
Working on Merged PR: https://github.com/google/go-github/pull/2238
Not working, Open PR: https://github.com/google/go-github/pull/2032
Github API docs(should update this link as well I think): https://docs.github.com/en/rest/reference/commits#list-pull-requests-associated-with-a-commit
any solution is appreciated, for now, maybe updating the docs wrt the function is a good start?
Using https://pkg.go.dev/github.com/google/go-github/v37/github
This can also be a github api issue fwiw
thanks!

this only works with open PRs from different branches in the same repo, not from forks I think


[Feature Request]: Support for DeepInfra

Feature Description
DeepInfra is pay per use service like OpenAI but way cheaper - 50% cheaper than gpt3.5-turbo for llama 2
Right now they support openai python api.
So I tried to test my luck, what happens if you use it with llama-index.
llm = OpenAI(model="meta-llama/Llama-2-70b-chat-hf")
service_context = ServiceContext.from_defaults(llm=llm)

You get this trace of error -
-> service_context = ServiceContext.from_defaults(llm=llm)

[llama_index/indices/service_context.py:168]
prompt_helper = prompt_helper or _get_default_prompt_helper(
--> 168     llm_metadata=llm_predictor.metadata,
    169     context_window=context_window,
    170     num_output=num_output,
    171 )

[llama_index/llm_predictor/base.py:119]
--> 119     return self._llm.metadata

[llama_index/llms/openai.py:113]
--> 113         context_window=openai_modelname_to_contextsize(self._get_model_name()),

[llama_index/llms/openai_utils.py:192]
--> 192     raise ValueError(
ValueError: Unknown model: meta-llama/Llama-2-70b-chat-hf. Please provide a valid OpenAI model name.Known models are: gpt-4, gpt-4-32k, gpt-4-0613, gpt-4-32k-0613, gpt-4-0314, gpt-4-32k-0314, gpt-3.5-turbo, gpt-3.5-turbo-16k, gpt-3.5-turbo-0613, gpt-3.5-turbo-16k-0613, gpt-3.5-turbo-0301, text-davinci-003, text-davinci-002, gpt-3.5-turbo-instruct, text-ada-001, text-babbage-001, text-curie-001, ada, babbage, curie, davinci, gpt-35-turbo-16k, gpt-35-turbo

Reason
DeepInfra seems like it is fairly new to the game.
Value of Feature
Their product is great! and it is much cheaper than gpt-4 with similar performance. As they add more models to their endpoints I imagine more and more people start using them as a better and cheaper alternative to OAI's GPT.

@shauryr you maybe need to change the api_base parameter to point to deepinfra?

yup I did that above this.

I am interested in this as well, llama_index with deepInfra - llama 2 model...
The following code snippet from deepInfra working fine but want the integration from llama_index. Can we get this feature ASAP?
`
import openai
import os
Point OpenAI client to our endpoint
openai.api_key = "#"
openai.api_base = "https://api.deepinfra.com/v1/openai"
chat_completion = openai.ChatCompletion.create(
model="meta-llama/Llama-2-70b-chat-hf",
messages=[{"role": "user", "content": "Hello"}],
)
print(chat_completion.choices[0].message.content)
`

Closing this as I believe this can be implemented using OpenAILike https://github.com/run-llama/llama_index/blob/main/llama_index/llms/openai_like.py


Fix Toggling not working properly in IMenuMod/ICustomMenuMod and back button not working properly

Fix for #67

Merged, don't know why it didn't auto-close.


Add useNativeQueryExplain in sql query context documentation

Fixes #12924.

Description
Added the missing sql query context flag to the documentation.
This PR has:

[x] been self-reviewed.
[x] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

Thank you for your contribution @Mihaylov93

this got merged without running through travis and it appears to be failing spellcheck in other PRs:
    ../docs/querying/sql-query-context.md
       45 | in plan generated by Calcite.|druid.sql.planner.useNativeQueryExplain on the Broker (default: False

https://github.com/apache/druid/pull/12936 There is this PR too

I've opened #12940 to fix travis

ah. The fact that PR becomes green, without travis running, is really annoying. thanks for fixing it, @clintropolis.


Fatal Error - Please Help

After adding the YouTube plugin to the plugins folder, going to my website, and typing in 'youtube.com,' I got this error: Fatal error: Uncaught Error: Class 'YoutubePlugin' not found in /storage/ssd3/627/2620627/public_html/index.php:89 Stack trace: #0 {main} thrown in /storage/ssd3/627/2620627/public_html/index.php on line 89

which YouTube plugin are you added to your plugins folder?

The default one, I believe. Also while you're here, I was wondering why some websites don't work correctly using the proxy. Does it not support javascript or something? Some websites' buttons don't seem to work.

Where are you getting this default plugin from? Here?
https://github.com/Athlon1600/php-proxy-plugin-cache

Does it not support javascript or something? Some websites' buttons don't seem to work.

That depends on just how complex the site is, because every web-proxy has to "proxify" all parts of the page - images, links, etc...  that tends to break some of javascript's logic on that page. That is just how it is with all web proxies.

No, I’m not
On Sat, Sep 16, 2017 at 5:04 PM Athlon1600
<
mailto:Athlon1600<EMAIL_ADDRESS>
wrote:

a, pre, code, a:link, body { word-wrap: break-word !important; }
Where are you getting this default plugin from? Here?
https://github.com/Athlon1600/php-proxy-plugin-cache
Does it not support javascript or something? Some websites' buttons don't seem to work.
That depends on just how complex the site is, because every web-proxy has to "proxify" all parts of the page - images, links, etc... that tends to break some of javascript's logic on that page. That is just how it is with all web proxies.
—
You are receiving this because you authored the thread.
Reply to this email directly,
https://github.com/Athlon1600/php-proxy-app/issues/61#issuecomment-330002648
, or
https://github.com/notifications/unsubscribe-auth/AXos7BTDBy_IShpcRwQHqAlUQneFRy2Iks5sjGINgaJpZM4O8g_Y
.

Paste me the contents of that plugin here then.

This is where I got it, didn't you make it? https://github.com/Athlon1600/php-proxy-plugin-bundle

Yes, but that is meant to be installed with composer. I think there is an issue with namespaces here. Removing "namespace Proxy\Plugin;" from YoutubePlugin.php should make it all work.

I'm a little confused. What is the process for installing just the YouTube plugin and fixing that issue?

All of those plugins are installed by default. It's up to you to decide which ones you want enabled or not. Look here:
https://github.com/Athlon1600/php-proxy-app/blob/master/config.php#L23
Every plugin below "// site specific plugins below" line comes from "php-proxy-plugin-bundle" package. If you don't want any of them except for youtube, then remove them from that array.

Wait so I don't even need to download the plugin package thing?
On Sun, Sep 17, 2017 at 3:19 PM, Athlon1600<EMAIL_ADDRESS>wrote:

All of those plugins are installed by default. It's up to you to decide
which ones you want enabled or not. Look here:
https://github.com/Athlon1600/php-proxy-app/blob/master/config.php#L23
Every plugin below "// site specific plugins below" line comes from
"php-proxy-plugin-bundle" package. If you don't want any of them except for
youtube, then remove them from that array.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Athlon1600/php-proxy-app/issues/61#issuecomment-330098104,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXos7LkZfsbgapfSGKporhkKABs3TpdSks5sjZsIgaJpZM4O8g_Y
.

Also, I was wondering if there was any way to modify the script to open the
proxified page in a new tab, instead of just redirecting. I am trying to
use the proxy site in an iframe that is only like 125 px tall, so not
enough room to display the proxified page, just the url bar and go button.
On Sun, Sep 17, 2017 at 3:49 PM, Sam G<EMAIL_ADDRESS>wrote:

Wait so I don't even need to download the plugin package thing?
On Sun, Sep 17, 2017 at 3:19 PM, Athlon1600<EMAIL_ADDRESS>wrote:

All of those plugins are installed by default. It's up to you to decide
which ones you want enabled or not. Look here:
https://github.com/Athlon1600/php-proxy-app/blob/master/config.php#L23
Every plugin below "// site specific plugins below" line comes from
"php-proxy-plugin-bundle" package. If you don't want any of them except for
youtube, then remove them from that array.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Athlon1600/php-proxy-app/issues/61#issuecomment-330098104,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXos7LkZfsbgapfSGKporhkKABs3TpdSks5sjZsIgaJpZM4O8g_Y
.

Wait so I don't even need to download the plugin package thing?

It's downloaded and installed automatically if you do it via composer. Check the "require" block:
https://github.com/Athlon1600/php-proxy-app/blob/master/composer.json
I'm pretty sure it's the same if you use pre-installed version of php-proxy:
https://www.php-proxy.com/download/php-proxy.zip

Also, I was wondering if there was any way to modify the script to open the proxified page in a new tab, instead of just redirecting. I am trying to use the proxy site in an iframe that is only like 125 px tall, so not enough room to display the proxified page, just the url bar and go button.

Something like this would probably work:
Go to php-proxy-app's config.php file and change url_mode parameter to 0:
$config['url_mode'] = 0;

that way you can link directly to any proxified URL like this:
your-site.com/php-proxy-app/index.php?q=http://www.yahoo.com
Then, inside your iframe form, make your form open a window upon submit that shows the proxified page of whatever site user put inside the URL field of that form. Like this:
$(your_form).onsubmit(function(){
    var url = $("#url").val();
    var proxy_url = 'your-site.com/php-proxy-app/index.php?q=' + url;
    window.open(proxy_url, '_blank');
    return false;
});

I assumed my fix solved your issue.


Update cmake.mingwSearchDirs documentation

          @bobbrow Without the default value, the description isn't sufficient to understand the format of the setting, e.g. setting

"cmake.mingwSearchDirs": [
        "C:\\msys64\\mingw64\\bin"
    ]

doesn't work. The "\bin" has to be removed. It may be helpful to others if the description included an example or something.
Originally posted by @sean-mcmanus in https://github.com/microsoft/vscode-cmake-tools/issues/2942#issuecomment-1414719064

Sure, we could do that or fix it so that it works with bin in the path.

@bobbrow Either seems fine to me.


reflector: add some helper function to the store

Signed-off-by: Eliad Peller<EMAIL_ADDRESS>Motivation
When using the reflector as local cache it's a bit expensive to clone the whole store when looking for a specific resource (assuming you don't know the ObjectRef in advance)
Solution
add some helper functions to the store struct to help finding a specific resource, and determining the current store size.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@3a3f77f). Click here to learn what that means.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1111   +/-   ##
=======================================
  Coverage        ?   72.59%
=======================================
  Files           ?       65
  Lines           ?     4867
  Branches        ?        0
=======================================
  Hits            ?     3533
  Misses          ?     1334
  Partials        ?        0

Impacted Files
Coverage Δ

kube-runtime/src/reflector/store.rs
96.34% <100.00%> (ø)

thanks for the quick review!


Can't upload image

Hi Alex
Installed ok but when I try to add an image, there is no way to select an image. The standard image select check box is missing. So can't use it at the moment...
Cheers
Graham

Hi Graham,
Thanks for the report.
I think I remember seeing something similar come up in vanilla Mezzanine recently – it might be related. I'll try to find it and let you know.
Alex

ok doky let me know if I can help in any way
G

Alex, Graham,
I just ran into this issue as well.  Turns out that in templates/filebrowser/index.html, you are including 'filebrowser/include/tableheader.html' and 'filebrowser/include/filelisting.html' but you put the overrides in filebrowser/includes.  Either moving the two files to .../include/... or changing index.html to use .../includes/... fixes the issue for me.
Thanks,
Andrew

Hi Letteka
Great! I just changed the folder name to 'include' from 'includes' and that seemed to work.
I still have one issue though (which may or may not be related). I am unable to select an image.

I have a workaround, by viewing the image I can get the URL and then paste that in.
But definitely usable now.
Thanks
G

Thanks for the fix Andrew! Sorry I haven't had time to have a look at this. I'll push an update soon.

Thanks Graham, good to know.

Hi Alex
I am just wondering if you could humour me for a moment....
I looking to get started co-operating with github. So what I would like to try is forking and then changing the folder name and then doing a pull request. Would that be ok?
g

I'd love that Graham, go for it!
if you need any help let me know.

ok well I have done that....

Fixed in eaf95cea1ac362b0974d299a564c5b3ca46489e0. I've created a new issue for the "can't select an image" problem: #4

looks like I've got a job then :-)
g
On 19/03/15 16:44, Alex Hill wrote:

Fixed in eaf95ce
https://github.com/AlexHill/tinymezzce4/commit/eaf95cea1ac362b0974d299a564c5b3ca46489e0.
I've created a new issue for the "can't select an image" problem: #4
https://github.com/AlexHill/tinymezzce4/issues/4
—
Reply to this email directly or view it on GitHub
https://github.com/AlexHill/tinymezzce4/issues/2#issuecomment-83300938.

Yeah. FYI I realised why I couldn't replicate this - in my project I had the relevant files in a correctly-named include directory in another app, left over from before I broke out the TinyMCE4 support into a separate app. Duh!


land_detector: shut up if started correctly

Commit message says it all.

Thanks! Sorry about the slight oscillation on master. On the upside release_v1.0.0 is super stable and extremely well tested 8).


[folding] JSX cant collapse blog of code in 1.25.1

blog of code in JSX can collapse before v 1.24 but in the present can't, give it back to our

Duplicate of #53939


More fixes and 'frenchy' tweaks (guidelines/invitefriend/landing/legalese sections).

Also added some comments about TODO’s or not-so-good translations…

Thanks, @lucsurr!
@yianni3000 may you have a look at this one?
(if approved, comments should be stripped out before merging)

@joaocunha, you obviously manage your codebase as you like, but any strong reason to strip comments out? I put them here because I thought that was valuable info for other/future translators…

@lucsurr comments on data files create extra complexity for the parsers, which is always good to avoid. I'd rather move them to GitHub issues. Do you mind?

@joaocunha Ah makes sense, moving them to GitHub issues sounds good then. :)

@joaocunha  I have reviewed the changes they look very good. Thanks agaaaaaain @lucsurr ! Did not know what to do about comments :/

Created french translation issue, will update patch to nuke comments now. ;)

@lucsurr merci beaucoup!

@joaocunha to be honest I am kind of on the fence, I feel like the comments that @lucsurr made for good discussion in context. But, I also understand why moving them into issues is also a good idea.
But I don't think we should have a hard in fast rule about leaving comments in the translation file because it makes it easier for the next person who contributes to get context so to not re-invent the wheel or waste there time. Especially when we are trying to get a feel for a specific language.
P.S. For the longest time I was also going to suggest we add URLs to the translation file to make it easy for people to find the page associated with the section of the YAML file... you know what.. I will add that as an issue! :-p

@johnbaku I see where you are coming from. I just think the cons outnumber the pros.
As I posted over Basecamp:

Comments on data files are usually just noise - stuff that could be either discussed on the Pull Request (style preferences) or converted into actionable GitHub issues (TODOs). That's my motivation for thumbing down comments.

Debating over translations is really common - hardcore enthusiasts/purists could endlessly debate over every single line (and for good reason). That kind of noise is detrimental, not only because it will increase the file size, but because even the comments themselves would have to be tweaked as we fine tune the translations. That kind of information is better stored and discussed over issues, IMO.
Also, having 1:1 number of lines among the files is a positive thing. It's really easy to spot if something went wrong with a merge.

Moving this discussion to #48.


armhf release

Could you please compile it for armhf(banana pi, 32bit, ARMv7 Processor rev 3 (v7l), Mediatek Cortex-A7)?
I used to use streamripper, but from this year on my favourite radio station can't be ripped anymore through this way!
I should test your application!
Thank you in advance!

There's no real need for a compile here. You can try it by installing Java JRE 8 or later and then download i.e. radiorecorder-1.5.8-bin.tar.bz2
The platform-specific packages are just a bundle of Java JRE + radioracorder application.
May be you can give the tar.bz2 a try? Feedback is welcome!
Providing packages for less-popular platforms will require some changes to the process. I don't yet want to do that :).


Users continue to be authenticated past access token expiry

I don't know if this is expected behaviour, but it seems wrong.
If you authenticate a user using this library, the user will retain a logged in session indefinitely (depending on your django session settings).
Should the user not be automatically logged out when the access token expires?

How long the token is valid for and how you decide to configure your sessions is in my opinion two different things in an MVC app. In restful (DRF) APIs, the token is validated on each request, but this is not true for sessions.

I can see an argument for that position, and you are right, in the DRF each request is authenticated.
However, if you're coming from the point of view of knowing that access tokens expire, it is somewhat surprising that authenticating with a JWT doesn't expire.
I wonder if there shouldn't be a middleware that's checking expiry and using refresh tokens to update the access token?

Alternatively, a middleware that redirects you back through login at/near the expiry.
Presumably either would be optional addons so that we preserve the current behaviour for existing installations.

I don't see why this has to be implemented? Set session time out to the same time as expiration of the token and everything is solved?

Typical access token expiry is very short. I think the default is 1 hour for ADFS.
This is what the refresh token is for, so you can transparently refresh your access token.
This also means that any claims/permissions/roles/whatever in the access token get automatically refreshed.

Any further thoughts on this issue?

Typical access token expiry is very short. I think the default is 1 hour for ADFS.
This is what the refresh token is for, so you can transparently refresh your access token.
This also means that any claims/permissions/roles/whatever in the access token get automatically refreshed.

@daggaz I'm still a bit confused here. Why does any of this relate to a session? I could see us benefiting from a docs change to let a user know to change their session timeout to slightly exceed their refresh token period, but I don't see the need for us to change something as I currently understand it.

So, there's these benefits:

tokens are renewed, and groups therefor renewed, without the user having to log out and in again
the user won't be redirected to ADFS once an hour (depending on company settings) if session is set to match token expiry
sessions can match the token.

And on the other side:

If you're signed in to ADFS, the redirect don't require you to log in again.
You can just set the session to be as long as you'd like, but this would obviously mean the user has to log out and in to refresh groups, and won't match the expiry of the token.

How ever, normally, these things are handled by the frontend asynchronous in the background. I'm not sure how to implement this beautifully. You're suggesting if a request goes through a session, check the token, if expiring, refresh it?

I've added a PR with something I think works.
Lemme know what you think.
Tests will follow.

Updated PR with complete set of tests, and fixed up a few other things I found along the way.

Not updated docs. I'm not sure if you want to make this an optional addon, or add it to the standard setup instructions.
One thing to point out, is that if you are using the LoginRequiredMiddleware, the new adfs_refresh_middleware should go first so that when the refresh token (not the access token) expires and you are logged out, your will be correctly redirected to login.

Hi,
thanks for creating the library, looks really good!
However, the missing refresh token is a dealbreaker for using it right now because we require up-to-date access tokens to query a downstream service.
I saw that the PR is stale since a year. Any changes that this will get merged soon?
I would also be happy to contribute and fix remaining issues if any are open.

I imagine you could take over the PR and implement the changes suggested by @JonasKs and myself.


Further frontend performance optimisations

Another small round of tricks to improve the performance of the sanitize_ir utility and the FP frontend to reduce the frontend processing time for large input subroutines. Primarily, this PR focuses on using fast in-place transformers for the necessary IR sanitisation and avoid using the explicit rescoping for the FParser frontend by attaching the scopes on first IR node creation.
In more detail:

Use an on-the-fly `Transformer to do inline-comment attachment
Make all transformers used during sanitisation use inplace=True
Avoid calling rescope_symbols on the finalised IR when creating subroutines

On the pathological test case we the following improvements:
# On main
In [2]: with config_override({'log-level': 'perf'}):
   ...:     Sourcefile.from_file("apl_arpege_parallel.F90")
[Loki::Frontend] Executed sanitize_input in 0.12s
[Loki::FP] Executed parse_fparser_source in 7.41s
[Loki::Frontend] Executed sanitize_ir in 0.25s
[Loki::Frontend] Executed sanitize_ir in 5.70s
[Loki::Frontend] Executed sanitize_ir in 0.94s
[Loki::FP] Executed parse_fparser_ast in 19.30s
[Loki::Sourcefile] Constructed from apl_arpege_parallel.F90 in 26.83s

# with this PR
In [2]: with config_override({'log-level': 'perf'}):
   ...:     Sourcefile.from_file("apl_arpege_parallel.F90")
[Loki::Frontend] Executed sanitize_input in 0.12s
[Loki::FP] Executed parse_fparser_source in 7.76s
[Loki::Frontend] Executed sanitize_ir in 0.09s
[Loki::Frontend] Executed sanitize_ir in 2.13s
[Loki::Frontend] Executed sanitize_ir in 0.47s
[Loki::FP] Executed parse_fparser_ast in 9.32s
[Loki::Sourcefile] Constructed from apl_arpege_parallel.F90 in 17.27s

Integration note: PR is currently passing ECphysics regression, but not local test base. Will attempt to fix local tests ASAP, but filing draft now to trigger test base. Initial bulk-parse in EC-physics also seems to improve with this.

With #241, #242 and #245 merged, can this be closed?

Yes, indeed this had been done via separate PRs.


VSCode support

Just for your info, I created a feature request to support pyink in VSCode: https://github.com/microsoft/vscode-python/issues/20099
Having auto-formatting for open-source Google projects will be a huge improvement for external contributors!

It looks like they're recommending creating an custom pyink extension in that issue.

Given our goal is to remove as many Pyink patches as possible and converge to Black, and there is a workaround to use Pyink instead of Black in VS Code, it's unlikely we'll create a custom extension (it will just be almost identical to https://marketplace.visualstudio.com/items?itemName=ms-python.black-formatter).
I'll update documentation to mention the workaround.


feat: add mousedown and mouseup events

Hello,
I have added mousedown and mouseup features with small example.
Admir

Hello @adieuadieu, your welcome. I am glad.
I have updated docs as you have suggested, if something needs to be changed I am more than willing to do it.
Thanks.

Yes, no problems at all. I am glad that you are willing to lead me through those changes.

Something is wrong, one moment

Ok, I have resolved conflicts.

Thank you too!


Request to release version 0.7.3 that includes fix of broken tests

There is a fix for an issue where some tests failed on version 0.7.2: https://github.com/haskell-servant/servant-elm/issues/62. However, there is no release tag with this change yet.
These failed tests breaks builds when using nix as tests are run in the build step resulting in this library being considered "broken" in nixpkgs. This also seem to affect stackage as mentioned here: https://github.com/commercialhaskell/stackage/issues/5988
Would it make sense to create a new version on this commit?

Done: https://hackage.haskell.org/package/servant-elm-0.7.3


Tail doesn't acept negative values for -n or -c

The GNU tail utility allows negative values for the -n and -c options, these are treated as if they were positive numbers. For example:
$ echo<PHONE_NUMBER> >/tmp/test_tail
$ tail -c 5 /tmp/test_tail
6789
$ tail -c -5 /tmp/test_tail
6789

I will try to take care of that.


Iterative Phase Estimation Bugfix

Summary
Bugfix for the issue mentioned here: #9280.
Details and comments
Fixed algorithm to build the correct circuit, and added tests for the situations where the old iterative phase estimation algorithm was failing.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Shion Fukuzawa seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Shion Fukuzawa seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @woodsp-ibm, do you have any pointers on what may be causing the CI to fail, and what I might need to fix? It looks like it's timing out after an hour on the docs test which I haven't really touched.

@shifubear this looks like a timeout not related to your PR, we'll just re-run the checks which should fix the problem.
@jlapeyre could you have a look at this fix, as you know the phase estimators best? 🙂

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 84.643%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
64174

Relevant Lines:
75817

💛  - Coveralls

@shifubear For the CLA, which is needed to be signed/agreed for any contribution to be accepted, github needs to recognize the account via the email in your commits - this would be from your git config and it seems it does not match any email your shifubear github account has. This message above has more info https://github.com/Qiskit/qiskit-terra/pull/9289#issuecomment-1352357987 - the simplest solution is to add whatever that email is to the account.

@shifubear As I commented https://github.com/Qiskit/qiskit-terra/pull/9289#issuecomment-1370147695 the email in the commits does not match any github account - its a MacBook-Pro local email looking at the commits. (The name/email comes from the git config used when this was committed from the machine you used.) The CLA needs to be agreed for this to move forwards.

@woodsp-ibm I've tried to add my email to my workspace and make a new commit, but it seems like that didn't do the trick... Is there a way to work around this and add the email to older commits? If not, maybe I can open a new PR with the same changes.

@shifubear When you say "workspace" you mean to your "github account"? You followed the instructions in the CLA message above about adding the email, the one in your git config that was used for these commits, to your githib account, and it still does not work? This usually fixes things for people. You can of course re-do this in a new PR first though changing your local git config on the machine you are using to set the email in that to one that is associated with your github account.

hi @shifubear are you still working on this?

Hi @javabster, it has been resolved in a new PR that is referenced in this thread so it is safe to close.

In that case, I will close it, but let me know if there is any issue.


Perfomance broadcast

50 clients * 60 requests per second
My repo for info
https://github.com/Edisoni/uWebsocketServer

What does this have to do with uWebSocket?

No, it`s on server side,
just run server and open link for profiling,
node --inspect main.js

and run stress test
node main.js

Well since the time is spent in onmessage  I would guess that this code is what is caused your performance issue:
    client.onmessage = function(e) {
        if (typeof e.data === 'string') {

        } else {
            var data = ProtoPlayer.decode(new Uint8Array(e.data));
            if (data.uid == client.uid) {
                client.x = data.x;
                client.y = data.y;
            }
        }
    };

But it`s just bot(client), but broadcast on server is slow

@Edisoni: What is it you don't understand? The code I posted is probably what is causing it to be slow. I don't think this has anything to do with uws...

You must be blocking the event-loop right about here: var data = ProtoPlayer.decode(new Uint8Array(e.data));


Adding sort to processed applications page

Adding simple sort options to processed page.
https://triadmoj.atlassian.net/browse/RST-175

these commits are already included on #756


Remove unused imports from all files in java

It would be very helpful if there was a feature to remove unused imports from all the files just like there is one to remove from one file using shift + alt + O.
Thanks!

/extJava


弹窗打开内容会抖动，官方的demo上content内容在打开后会抖动

[ ] I'm sure this does not appear in the issue list of the repository

Basic Info

Package Name And Version<EMAIL_ADDRESS>Browser: chrome<IP_ADDRESS>
Reproduction Link: https://arco.design/vue/component/modal#function

一样，遇到同样问题了


ubuntu builds are broken after cmake

@davidebeatrici , can you please have a look as well ?
https://launchpad.net/~paskal-07/+archive/ubuntu/softethervpn/+build/14949862
(or use debuild -i -us -uc -b from root folder)
patch -f < debian/makefile.patch
can't find file to patch at input line 3
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|--- Makefile	2014-02-04 21:20:33.422762017 +0000
|+++ Makefile.old	2014-02-04 21:20:10.298761727 +0000
--------------------------
No file to patch.  Skipping patch.

after patch is removed, there are still issues:
The Makefile is generated. Run 'make -C tmp' to build SoftEther VPN.
if [ x86_64 = 'i686' ]; then echo -e "1\n1\n" | ./configure; fi
if [ x86_64 = 'armv6l' ]; then echo -e "1\n1\n" | ./configure; fi
if [ x86_64 = 'armv5tel' ]; then echo -e "1\n1\n" | ./configure; fi
if [ x86_64 = 'aarch64' ]; then echo -e "1\n2\n" | ./configure; fi
if [ x86_64 = 'armv7l' ]; then echo -e "1\n1\n" | ./configure; fi
dh override_dh_auto_configure
make[1]: Leaving directory '/home/ilia/softethervpn'
 fakeroot debian/rules binary
dh binary
   dh_testroot
   dh_prep
	rm -f -- debian/softether-vpnbridge.substvars debian/softether-vpnclient.substvars debian/softether-vpncmd.substvars debian/softether-vpnserver.substvars
	rm -fr -- debian/.debhelper/generated/softether-vpnbridge/ debian/softether-vpnbridge/ debian/tmp/ debian/.debhelper/generated/softether-vpnclient/ debian/softether-vpnclient/ debian/.debhelper/generated/softether-vpncmd/ debian/softether-vpncmd/ debian/.debhelper/generated/softether-vpnserver/ debian/softether-vpnserver/
   debian/rules override_dh_auto_install
make[1]: Entering directory '/home/ilia/softethervpn'
mkdir -p usr/bin
make install
make[2]: Entering directory '/home/ilia/softethervpn'
make[2]: *** No rule to make target 'install'.  Stop.
make[2]: Leaving directory '/home/ilia/softethervpn'
debian/rules:16: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 2
make[1]: Leaving directory '/home/ilia/softethervpn'
debian/rules:8: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
debuild: fatal error at line 1152:
dpkg-buildpackage -rfakeroot -us -uc -ui -i -b failed

it seems we should add debuild -i -us -uc -b to .travis.yml instead of dh build-arch

@chipitsine  Can you add a launchpad badge on the readme file?

do you mean "currently builds are broken, but we do not see that, so add badge"?
I could not find launchpad badge

Mazbe we can create our own:
https://github.com/badges/shields

By the way, builds are still broken.

yep. I'm digging into ubuntu package build process. please hold on.

superceded by https://github.com/SoftEtherVPN/SoftEtherVPN/issues/572


nixos-rebuild: adding a space to time.timeZone breaks NixOS

Issue description
An invalid timezone value can cause NixOS to crash.
Steps to reproduce

Add time.timeZone = "America/Los Angeles" to /etc/nixos/configuration.nix
nixos-rebuild switch

The window manager will crash if it is running, and in three out of four attempts to reproduce, the system will become unresponsive.  After doing a hard reboot, starting up with the default configuration will cause systemd to freeze:
[ 12.725406 ] systemd[1456]: Failed to execute /etc/systemd/system-generators/cpufreq.service: Permission denied
.... # many more like the above
[ 13.110838 ] systemd[1]: Failed to load default target: No such file or directory
[ 13.110960 ] systemd[1]: Failed to load rescue target: No such file or directory
[!!!!!!] Failed to load rescue target, freezing.
[ 13.111562 ] systemd[1]: Freezing execution

Recovering the system requires booting into a previous configuration.
Technical details

System: 16.09.892.cc29d3d (Flounder)
Nix version: nix-env (Nix) 1.11.4
Nixpkgs version: "16.09.892.cc29d3d"

Maybe something like
diff --git a/nixos/modules/config/timezone.nix b/nixos/modules/config/timezone.nix
index 39a4504..4ea75f2 100644
--- a/nixos/modules/config/timezone.nix
+++ b/nixos/modules/config/timezone.nix
@@ -41,9 +41,12 @@ in
     systemd.globalEnvironment.TZDIR = tzdir;

     environment.etc.localtime =
-      { source = "/etc/zoneinfo/${config.time.timeZone}";
-        mode = "direct-symlink";
-      };
+      let
+        tzFile = builtins.replaceStrings [" "] ["_"] config.time.timeZone;
+      in
+        { source = "/etc/zoneinfo/${tzFile}";
+          mode = "direct-symlink";
+        };

     environment.etc.zoneinfo.source = tzdir;

could help?

time.timeZone should be made a types.enum or at least have a check function that check the value set is a valid timezone.

@dunn can this issue be closed?
PR #30258 will prevent it from now on.

I guess so! Thank you all!


be able to click on old rfc's and load them

this allows you to be able click on old rfc entries and load them up.

there are some other minor last second fixes in here, so please forgive not creating new pull requests for those.


Enhance emoji picker

Add search to the custom emoji picker and maybe also add standard emojis to it. Generally make it usable with a lot of emojis.

Emoji picker has been removed.


feat(Interstitial): add focus mgmt to component

Overview

This PR adds focus management to our Interstitial components. Basically, when an Interstitial pops up, the focus will be moved to the heading of that Interstitial. This mimics the way Links works when using screen readers.
I will also make it explicit in the description for this component that it provides focus management and that only one interstitial should be rendered at a time.

PR Checklist

[ ] Related to designs:
[x] Related to JIRA ticket: LX-4518
[ ] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.3.8-alpha.45086a.0@codecademy/gamut-labs@7.6.4-alpha.45086a.0@codecademy/gamut@19.8.1-alpha.45086a.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-illustrations@0.3.8-alpha.45086a.0@codecademy/gamut-labs@7.6.4-alpha.45086a.0@codecademy/gamut@19.8.1-alpha.45086a.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ff4df869b215c1ac7dd7233--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://5ff4df869b215c1ac7dd7233--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://5ff4e550ea6fa22627c9bc8e--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://5ff4e550ea6fa22627c9bc8e--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.3.8-alpha.6fb3f4.0@codecademy/gamut-labs@7.6.4-alpha.6fb3f4.0@codecademy/gamut@19.8.1-alpha.6fb3f4.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-illustrations@0.3.8-alpha.6fb3f4.0@codecademy/gamut-labs@7.6.4-alpha.6fb3f4.0@codecademy/gamut@19.8.1-alpha.6fb3f4.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-illustrations@0.3.8-alpha.3369df.0@codecademy/gamut-labs@7.6.4-alpha.3369df.0@codecademy/gamut@19.8.1-alpha.3369df.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-illustrations@0.3.8-alpha.3369df.0@codecademy/gamut-labs@7.6.4-alpha.3369df.0@codecademy/gamut@19.8.1-alpha.3369df.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ff4e7c816e5d6265a928f46--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://5ff4e7c816e5d6265a928f46--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.3.9-alpha.0e6a50.0@codecademy/gamut-labs@7.6.5-alpha.0e6a50.0@codecademy/gamut@19.8.2-alpha.0e6a50.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-illustrations@0.3.9-alpha.0e6a50.0@codecademy/gamut-labs@7.6.5-alpha.0e6a50.0@codecademy/gamut@19.8.2-alpha.0e6a50.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ff5e1e0efedb11242ec3a79--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://5ff5e1e0efedb11242ec3a79--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.3.9-alpha.775576.0@codecademy/gamut-labs@7.6.5-alpha.775576.0@codecademy/gamut@19.8.2-alpha.775576.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-illustrations@0.3.9-alpha.775576.0@codecademy/gamut-labs@7.6.5-alpha.775576.0@codecademy/gamut@19.8.2-alpha.775576.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ff5f62b8e93ac09f459ef60--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://5ff5f62b8e93ac09f459ef60--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.3.9-alpha.9e0c67.0@codecademy/gamut-labs@7.6.5-alpha.9e0c67.0@codecademy/gamut@19.8.2-alpha.9e0c67.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-illustrations@0.3.9-alpha.9e0c67.0@codecademy/gamut-labs@7.6.5-alpha.9e0c67.0@codecademy/gamut@19.8.2-alpha.9e0c67.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ff695789dc17143696415fb--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://5ff695789dc17143696415fb--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.3-alpha.93a3e2.0@codecademy/gamut-labs@7.10.2-alpha.93a3e2.0@codecademy/gamut@19.10.2-alpha.93a3e2.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.3-alpha.93a3e2.0@codecademy/gamut-labs@7.10.2-alpha.93a3e2.0@codecademy/gamut@19.10.2-alpha.93a3e2.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6002301301aff12dccdc7086--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://6002301301aff12dccdc7086--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.4-alpha.74606e.0@codecademy/gamut-labs@7.10.4-alpha.74606e.0@codecademy/gamut@19.10.3-alpha.74606e.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.4-alpha.74606e.0@codecademy/gamut-labs@7.10.4-alpha.74606e.0@codecademy/gamut@19.10.3-alpha.74606e.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6007153131a9423d2cf58977--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://6007153131a9423d2cf58977--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.4-alpha.5355e1.0@codecademy/gamut-labs@7.10.4-alpha.5355e1.0@codecademy/gamut@19.10.3-alpha.5355e1.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.4-alpha.5355e1.0@codecademy/gamut-labs@7.10.4-alpha.5355e1.0@codecademy/gamut@19.10.3-alpha.5355e1.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6007178d2d238c3a4a965bb9--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://6007178d2d238c3a4a965bb9--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.4-alpha.ff4424.0@codecademy/gamut-labs@7.10.4-alpha.ff4424.0@codecademy/gamut@19.10.3-alpha.ff4424.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.4-alpha.ff4424.0@codecademy/gamut-labs@7.10.4-alpha.ff4424.0@codecademy/gamut@19.10.3-alpha.ff4424.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.4-alpha.e3a98a.0@codecademy/gamut-labs@7.10.4-alpha.e3a98a.0@codecademy/gamut@19.10.3-alpha.e3a98a.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.4-alpha.e3a98a.0@codecademy/gamut-labs@7.10.4-alpha.e3a98a.0@codecademy/gamut@19.10.3-alpha.e3a98a.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60071c0318447343bb5953ab--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://60071c0318447343bb5953ab--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.4-alpha.d3a4e7.0@codecademy/gamut-labs@7.10.4-alpha.d3a4e7.0@codecademy/gamut@19.10.3-alpha.d3a4e7.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.4-alpha.d3a4e7.0@codecademy/gamut-labs@7.10.4-alpha.d3a4e7.0@codecademy/gamut@19.10.3-alpha.d3a4e7.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://600722d7ced2c060f42a8ee4--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://600722d7ced2c060f42a8ee4--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/eslint-config@3.1.1-alpha.b52bc1.0@codecademy/gamut-illustrations@0.4.4-alpha.b52bc1.0@codecademy/gamut-labs@7.10.4-alpha.b52bc1.0@codecademy/gamut@19.10.3-alpha.b52bc1.0@codecademy/macros@1.1.2-alpha.b52bc1.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/eslint-config@3.1.1-alpha.b52bc1.0@codecademy/gamut-illustrations@0.4.4-alpha.b52bc1.0@codecademy/gamut-labs@7.10.4-alpha.b52bc1.0@codecademy/gamut@19.10.3-alpha.b52bc1.0@codecademy/macros@1.1.2-alpha.b52bc1.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://600726d434af4847fb52d066--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://600726d434af4847fb52d066--gamut-preview.netlify.appDeploy Logs


Can i run your tiny-yolov4 on this repo,  i see tiny-yolov4.weights but this repo seem not have code to run with

Hi @GloryVu! Thank you for your interest in my work! This repository does not include the code required to run the tiny and large YOLOv4 models. To use these models, please download the weights and follow the inference tutorial provided in the official Darknet repository.


Allow running multiple steps within one job

I would like to run multiple steps for specific reporting, like in the screenshot. However, this is currenlty not possible because at the second step an error pops up complaining that firely.terminal already is installed.

Run<EMAIL_ADDRESS>Run if $INPUT_DOTNET_VALIDATION_ENABLED; then
Run if $INPUT_DOTNET_VALIDATION_ENABLED; then
DOTNET_VERSION: 3.1.416
Run if $INPUT_DOTNET_VALIDATION_ENABLED; then
Tool 'firely.terminal' is already installed.
Error: Process completed with exit code 1.

This can be solved in other ways... So I will close it for now.


Check configured beneficiary

Make beneficiary required in the configuration file.
Give a better error message when the schema given to check_config
doesn't exists.

@dincho There is no "default" beneficiary, this is just an example. But I see your point, the user may copy past it... we could make it more obvious this is an example value.


how to train other models

Hello,
Your model performs excellently, thank you. However, I am still interested in understanding how to train other models, such as for pink hair or dreadlocks. What should I pay attention to when collecting a training dataset? I would greatly appreciate any effective advice you can provide.
Thank you!

Hi, if I understand correctly, you are talking about the way to create a model that would provide new edits. However, our approach does not give new editings, it is related to how to invert the image into stylegan latent space in a way that it can be correctly edited by other editing methods (such as InterfaceGAN, Deltaedit and e.t.c.). If your goal is to find new editing directions, better check StyleClip, DeltaEdit  or StyleEntity.


Feat/kernels support 25

This pull request addresses issue #28  by implementing a new feature in Pyccel that allows users to define custom GPU kernels. The syntax for creating these kernels is inspired by Numba.
 You need to ensure that any functions that should be compatible with C (everything which doesn't need a __device__ tag or similar) is inside a extern 'C' block.


chore(main): release finalbiome-impex 0.2.0

:robot: I have created a release beep boop
0.2.0 (2022-12-23)
Features

bootstrap (c7f6392)
export game details to the network (056f19e)
fa import/export (816c82c)
game details export impl (239e61c)
nfa import/export (e65989d)
onboard assets import/export (81233be)
org members import/export (02edbae)

Bug Fixes

added token for ci (a7c934f)
ci speed up (23aa6ef)
releate ci (8e27aea)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/finalbiome/finalbiome-impex/releases/tag/finalbiome-impex-v0.2.0 :sunflower:


How to run app in background?

How to run app in background?

This is how you can run the sidecar only: https://github.com/dapr/cli#running-sidecar-only
Then you can start your app independently.

@yamajik closing this issue for now. please open a new issue / re-open this issue if you have questions / join the Dapr Discord server.


How do i get this to work with python 2.7?

When i press ALT+R to run the script, i get an error saying
_Unable to find command: python
Are you sure PATH is configured correctly?
_
I thought it was a problem with Atom at first but it turns out its an issue with the package. What should i do? i'm very new to this.

This is a duplicate of #127. Closing.


Update obsidian-bookmarks extension to allow subdirectories in bookmarks folder

Description

This is a simple change to:

Search for bookmarks in subfolders below the configured Bookmarks subfolder
Allow search bookmarks filtering by subfolder (similar to the existing tags filtering)
Allow required tags: required tags are automatically added to all saved bookmarks. Only notes with any required tag are shown during search.

Screencast

My Subfolder config:

Image of the directory and files inside:

Search results including file from subfolder:

Dropdown filter options include directories:

Results after filtering by directory:

Showing Required Tags
Vault structure:

Note 1 contains no tags:

Note 2 contains bookmark tag:

Test 1: No required tags

All results appear in search:

Test 2: Require bookmark tag

Only Note 2 appears in search:

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

@pernielsentikaer Thanks for the initial review. I've mostly wrapped up my wishlist of new features and bug requests to the core functionality of the extension in this pull requests. It's much faster and can integrate with the structure of an entire obsidian vault now.
I have some bigger changes planned (integration with the raycast browser extension), and integration with raycast AI which I'll add in separate pull requests.

@Dru89 If you get a chance in the next few days, could you have a look or let us know if you won't be able to? I'd like to add some additional features, but this pull request is already quite large, and I'm hesitant to keep adding. Lmk how I can help your review!


Fix lfs_gstate_hasmove always return 0 if bool is defined as uint8_t.

static inline bool lfs_gstate_hasmove(const lfs_gstate_t *a) {
return lfs_tag_type1(a->tag);
}
if bool is defined as uint8_t, this function always return 0. This is caused by  truncate return value of uint16_t to uint8.
I have also notice other functions may have the same bug, they are:
lfs_gstate_getorphans
lfs_gstate_hasorphans
I am not sure about them though.
Signed-off-by: 田昕<EMAIL_ADDRESS>

Need your review @geky
Especially I need your opinion on following functions:
lfs_gstate_getorphans
lfs_gstate_hasorphans

Hi @XinStellaris, sorry about the late response. Thanks for creating a PR.
This is a bit of a puzzle, the fix seems obvious but I'm hesitant to accept it. I'm assuming this is caused by a non-standard compiler? In c99 any non-zero value should be converted to true here. Out of curiosity what compiler/target are you using?
It seems like an easy fix, but using a non-compliant compiler is fragile. There may be other bugs hidden by compiler differences like this one. And future littlefs changes could introduce these hidden bugs in the future without some sort of check in CI.
Unfortunately adopting a pre-c99 standard loses too many quality-of-life features, some which also help prevent bugs. So littlefs sticks to c99 at the risk of less compiler support. It would be valuable to also have a c89 compliant codebase, perhaps using some sort of C->C compiler, but that is out of scope for now.

I am using RISC-V, target board is esp32c3.
Yes we didn't use C99 bool in our case, but it can be enabled.
We will enable C99 bool in the future.
As for now, I think it is acceptable to leave a closed pr here without merging. Hope this PR will warn others using C89 that their code will not work properly(In our case, the whole littlefs will fall into unrecoverable state)

Hi @XinStellaris, just an FYI, this cropped up again in #772, so I've added an explicit assert to hopefully prevent others from running into this in the future: https://github.com/littlefs-project/littlefs/pull/801


Can't Invoke NSimage image in method SwiftOCRInstance.recognize!

AS I am trying to make a server side SwiftOCR
when I convert the image data into image it returns the Exact image but When I'm trying to parse the Image in SwiftOCRInstace.recognize method it does not Convert the Image and Return null string
my code is as below:
let newImage = NSImage(data: user.image)
     let newImage1 = OCRImage(newImage)
        let swiftOCRInstance = SwiftOCR()

        swiftOCRInstance.recognize((newImage)!){ recogniseString in
        print(recogniseString)

        }

I'm facing same problem, it doesn't work, only prints

Using low GPU priority for background rendering.


Update to 1.19.16

Issue #, if available:
Description of changes:

Bumped version to 1.19.16
Updated patches

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Squashed and edited commit message

I'll update checksums


Enable cgroup job metrics

In galaxy_job_metrics_plugins in all.yml cgroups are not enabled.  I've tried switching this on on dev in the past but this change never made it to production because the figures being returned for the cgroup job metrics were not credible (the figure of memory used for a job would consistently be the memory for the whole machine).  There is some configuration required on the workers, possibly in the slurm configuration to enable the cgroups measurements to result in useful numbers.

ref https://github.com/usegalaxy-au/infrastructure/pull/1374

Done now thanks to @nuwang !


masOS $SHELL variable still /bin/zsh

Issue Type: Bug
I have installed bash using brew and desire that to be my default shell. I hvae run chsh -s /opt/homebrew/bin/bash to set my default shell for my user and my /etc/shells looks like this:
/bin/bash
/bin/csh
/bin/dash
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh
/usr/local/bin/pwsh
/opt/homebrew/bin/bash

When I open a new terminal in VSCode and run echo $SHELL it get /bin/zsh and my $PATH variable includes the $PATH config from my .zshrc file. This is not the desired outcome. I would expect the default system shell to be used as the base.
Is there a hardcoded shell for VSCode? if not why is it not honoring the default system config. If so, why? This does nto really give me the flexibility to have different shell environemnts and control of my dev environment.
VS Code version: Code 1.69.2 (3b889b090b5ad5793f524b5d1d39fda662b96a2a, 2022-07-18T16:32:39.000Z)
OS version: Darwin arm64 21.5.0
Restricted Mode: No

System Info

Item
Value

CPUs
Apple M1 Max (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
32.00GB (0.43GB free)

Process Argv
--crash-reporter-id 3b79998c-1229-4c1d-aecf-9aa62998845e

Screen Reader
no

VM
0%

Extensions (26)

Extension
Author (truncated)
Version

markdown-mermaid
bie
1.14.2

vscode-markdownlint
Dav
0.47.0

vscode-eslint
dba
2.2.6

xml
Dot
2.5.1

gitlens
eam
12.1.2

EditorConfig
Edi
0.16.4

gitlab-workflow
Git
3.47.2

go
gol
0.35.1

terraform
has
2.23.0

vscode-drawio
hed
1.6.4

jsonnet
hep
0.1.0

prettify-json
moh
0.0.3

vscode-docker
ms-
1.22.1

python
ms-
2022.10.1

vscode-pylance
ms-
2022.7.40

jupyter
ms-
2022.6.1201981810

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.9

remote-containers
ms-
0.241.3

makefile-tools
ms-
0.5.0

powershell
ms-
2022.6.3

vscode-commons
red
0.0.6

vscode-yaml
red
1.9.1

scala
sca
0.5.5

markdown-preview-enhanced
shd
0.6.3

shellcheck
tim
0.19.6

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
pylanb8912cf:30529770
vsclangdc:30486549
841h4636:30534993

I am also getting issues with this. For me I want to use zsh but VS-Code insists on using sh. My workaround is to add "terminal.integrated.defaultProfile.osx": "zsh", to the settings.
What is worse is that even though the terminal uses zsh, the git-commands that I run through VS-Code do not use the correct shell. So if I press "Commit" in the source control tab VS-Code runs git commit using sh i the background.
We run some git hooks that don't work in my sh-shell (only in zsh) and therefore I get errors when I try to commit.

Here is my debug information:
Version: 1.70.0
Commit: da76f93349a72022ca4670c1b84860304616aaa2
Date: 2022-08-04T04:39:20.716Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 21.6.0

I also use a Mac M1 processor (specifically Apple M1 Pro)

is it also /bin/zsh for the second terminal you create?

So for me. When I open a "bash" terminal in VSCode it a bash session, however, as mentioned above, it seems to be a subshell of zsh regardless of changing the system default to bash and to top it off the .zshrc file is evaluated for the parent shell and then the .bashrc is being evaluated and the subshell inherits the ENV variables from the parent shell. This is not the desired functionality. At the least VSCode should use the default shell of the user as it's base shell and better yet it will just spin up the desired shell based on the configured selection, not as a subshell. also, the mentioned "bash" ENZv variable $SHELL is not set to the appropriate shell, rather it is to the parent.

is it also /bin/zsh for the second terminal you create?

My system default is /bin/zsh
Whenever I open a new terminal in VS-Code it opens /bin/sh (before changing any settings)
I have changed the default in settings so that new terminals open /bin/zsh
Git-commands in VS-Code (not terminal) still uses /bin/sh

My teammate got the exact same problem at the same time, which was around two-three weeks ago.
Here is my settings file:

Settings file
{
  "workbench.colorTheme": "Default Dark+",
  "editor.formatOnSave": true,
  "window.restoreFullscreen": true,
  "[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "workbench.sideBar.location": "right",
  "workbench.startupEditor": "none",
  "editor.minimap.enabled": false,
  "gitlens.hovers.currentLine.over": "line",
  "gitlens.codeLens.enabled": false,
  "gitlens.currentLine.enabled": false,
  "githubPullRequests.fileListLayout": "tree",
  "git.autofetch": true,
  "editor.experimental.stickyScroll.enabled": true,
  "[typescript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "terminal.integrated.defaultProfile.osx": "zsh",
  "[typescriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "githubPullRequests.terminalLinksHandler": "github",
  "window.zoomLevel": 1,
  "[json]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  }
}

When vscode starts up, we run $SHELL -ilc to source the environment in which to create the terminal. This only happens when you open VS Code from the dock.
Can you try to reproduce the issue when you:

close all windows and open it from the dock
close all windows and run code from an external terminal to launch it

@meganrogge I also used "terminal.integrated.defaultProfile.osx" to set my default to "bash" and it now uses the appropriate shell, however the docs indicate to me that this is being deprecated or not the desired way to configure shells in VSCode. I will remove that setting and try what you recommend and see respond back with results.

me too.

I can reproduce this issue in an external terminal (Iterm), so believe this is set by macOS somehow. @Tyriar pls lmk if you have other thoughts.


Fix rare crash

Fixes https://github.com/allaboutapps/DataSource/issues/35

Released https://github.com/allaboutapps/DataSource/releases/tag/8.1.2


Use generics

Description
Provide a brief description of the PR's purpose here.
Todos
Notable points that this PR has either accomplished or will accomplish.

[ ] TODO 1

Questions

[ ] Question1

Status

[ ] Ready to go

Codecov Report

Merging #77 (d2093c4) into main (89578fd) will decrease coverage by 42.33%.
The diff coverage is 69.23%.

Additional details and impacted files


Qt6 awesomeness

Minor code tweaks to support building TerraFirma with Qt 6.0.3.
Tested with macOS 11.2.3 "Big Sur":
qmake CONFIG+=sdk_no_version_check
gmake -j8
open ./terrafirma.app

This is related to Issue #117


Re-implementation of RewardFunction.java to incorporate Java 8 features

Re-implemented RewardFunction.java
to incorporate
Java8 features:functional interfaces and lambda expressions

@ctjoreilly  @RuedigerLunde
Please review this PR and let mw know if you want changes in the PR.

@samagra14 yes, after making the PR I noticed the same. But I am not able to make changes in 4e branch. There are not configuration files for IDE(in my case, I am using Intellij) so I am not able to switch branch to 4e.
Do you know how can we contribute to 4e branch?

@guptavaibhav18197 Please go through these instructions.

@samagra14 thanks for the link


assert_that! macro doesn't allow function calls

Using Spectral 0.5.2
Below, the line assert_that!(line.get_delta_x()).is_equal_to(2); is commented out, because if uncommented, the code fails to compile.
struct Line {
  x0: i32,
  y0: i32,
  x1: i32,
  y1: i32,
}

impl Line {
  fn get_delta_x(&self) -> i32 {
    return (self.x1 - self.x0).abs();
  }
}

#[test]
fn assert_that_macro_allows_func_call() {
  let line = Line { x0: 1, y0: 2, x1: 3, y1: 5 };
  assert_that(&line.get_delta_x()).is_equal_to(2);
//  assert_that!(line.get_delta_x()).is_equal_to(2);  <-- This one!
}

Uncommented, you get a message like:
error: no rules expected the token `(`
  --> tests/sandbox.rs:60:32
   |
60 |   assert_that!(line.get_delta_x()).is_equal_to(2);
   |                                ^

Hey, thanks for raising this, and for the code example as well.
This should definitely be supported, so I'll fix up the macro declarations.


serve static hook error

Reproduce Scenario (including but not limited to)
Steps to Reproduce
add a hook, serve-static: echo serve-static
aio app run
Environment Info

  System:
    OS: macOS 12.5
    CPU: (10) x64 Apple M1 Max
    Memory: 748.13 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 14.20.0 - ~/.nvm/versions/node/v14.20.0/bin/node
    Yarn: Not Found
    npm: 6.14.17 - ~/.nvm/versions/node/v14.20.0/bin/npm
  Virtualization:
    Docker: 20.10.17 - /usr/local/bin/docker
  npmGlobalPackages:
    @adobe/aio-cli-next: 8.3.0-pre.2022-09-08.sha-d5666ea8

  Proxies:
    http: (not set)
    https: (not set)
  CLI plugins:
    core:
      @adobe/aio-cli-next 8.3.0-pre.2022-09-08.sha-d5666ea8
      @adobe/aio-cli-plugin-app 9.1.1
      @adobe/aio-cli-plugin-app-templates 1.2.0
      @adobe/aio-cli-plugin-auth 3.0.1
      @adobe/aio-cli-plugin-certificate 1.0.1
      @adobe/aio-cli-plugin-config 4.0.1
      @adobe/aio-cli-plugin-console 4.0.1
      @adobe/aio-cli-plugin-events 2.0.2
      @adobe/aio-cli-plugin-info 3.0.1
      @adobe/aio-cli-plugin-runtime 6.0.1
      @adobe/aio-cli-plugin-telemetry 1.0.2
      @oclif/plugin-autocomplete 1.3.0
      @oclif/plugin-help 5.1.12
      @oclif/plugin-not-found 2.3.1
      @oclif/plugin-plugins 2.1.0
      @oclif/plugin-warn-if-update-available 2.0.4
    user:
    link:

Logs taken while reproducing problem
serve-static
  yeoman:generator Queueing generator undefined with generator version 5.7.0
  yeoman:generator Queueing #initializing with options { priorityName: 'initializing', queueName: 'initializing', cancellable: true, run: false, auto: true, taskName: 'initializing' }
  yeoman:generator Queueing #writing with options { priorityName: 'writing', queueName: 'writing', cancellable: true, run: false, auto: true, taskName: 'writing' }
  yeoman:environment Queueing conflicts task
  yeoman:generator Running #initializing
✖ An error occured while running #initializing
  @adobe/aio-cli-plugin-app:runDev:error unexpected error, cleaning up...
  @adobe/aio-cli-plugin-app:cleanup:debug stopping action watcher...
  @adobe/aio-cli-plugin-app:actions-watcher:debug stopping action watcher...
  @adobe/aio-cli-plugin-app:error Error: Missing option for generator: frontend-url
  @adobe/aio-cli-plugin-app:error     at AddVsCodeConfig._processForFrontend (/Users/jessem/.nvm/versions/node/v14.20.0/lib/node_modules/@adobe/aio-cli-next/node_modules/@adobe/generator-aio-app/generators/add-vscode-config/index.js:217:13)
  @adobe/aio-cli-plugin-app:error     at AddVsCodeConfig.initializing (/Users/jessem/.nvm/versions/node/v14.20.0/lib/node_modules/@adobe/aio-cli-next/node_modules/@adobe/generator-aio-app/generators/add-vscode-config/index.js:245:12)
  @adobe/aio-cli-plugin-app:error     at Object.<anonymous> (/Users/jessem/.nvm/versions/node/v14.20.0/lib/node_modules/@adobe/aio-cli-next/node_modules/yeoman-generator/lib/index.js:1091:23)
  @adobe/aio-cli-plugin-app:error     at /Users/jessem/.nvm/versions/node/v14.20.0/lib/node_modules/@adobe/aio-cli-next/node_modules/run-async/index.js:49:25
  @adobe/aio-cli-plugin-app:error     at new Promise (<anonymous>)
  @adobe/aio-cli-plugin-app:error     at /Users/jessem/.nvm/versions/node/v14.20.0/lib/node_modules/@adobe/aio-cli-next/node_modules/run-async/index.js:26:19
  @adobe/aio-cli-plugin-app:error     at /Users/jessem/.nvm/versions/node/v14.20.0/lib/node_modules/@adobe/aio-cli-next/node_modules/yeoman-generator/lib/index.js:1092:9
  @adobe/aio-cli-plugin-app:error     at new Promise (<anonymous>)
  @adobe/aio-cli-plugin-app:error     at AddVsCodeConfig.executeTask (/Users/jessem/.nvm/versions/node/v14.20.0/lib/node_modules/@adobe/aio-cli-next/node_modules/yeoman-generator/lib/index.js:1063:12)
  @adobe/aio-cli-plugin-app:error     at runLoop.add.once (/Users/jessem/.nvm/versions/node/v14.20.0/lib/node_modules/@adobe/aio-cli-next/node_modules/yeoman-generator/lib/index.js:1043:14)
Error: Missing option for generator: frontend-url
    at Object.error (/Users/jessem/.nvm/versions/node/v14.20.0/lib/node_modules/@adobe/aio-cli-next/node_modules/@oclif/core/lib/errors/index.js:28:15)
    at Run.error (/Users/jessem/.nvm/versions/node/v14.20.0/lib/node_modules/@adobe/aio-cli-next/node_modules/@oclif/core/lib/command.js:104:23)
    at Run.handleError (/Users/jessem/.nvm/versions/node/v14.20.0/lib/node_modules/@adobe/aio-cli-next/node_modules/@adobe/aio-cli-plugin-app/src/BaseCommand.js:47:10)
    at Run.catch (/Users/jessem/.nvm/versions/node/v14.20.0/lib/node_modules/@adobe/aio-cli-next/node_modules/@adobe/aio-cli-plugin-app/src/BaseCommand.js:34:10)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async Run._run (/Users/jessem/.nvm/versions/node/v14.20.0/lib/node_modules/@adobe/aio-cli-next/node_modules/@oclif/core/lib/command.js:85:13)
    at async Config.runCommand (/Users/jessem/.nvm/versions/node/v14.20.0/lib/node_modules/@adobe/aio-cli-next/node_modules/@oclif/core/lib/config/config.js:272:25)
    at async Object.run (/Users/jessem/.nvm/versions/node/v14.20.0/lib/node_modules/@adobe/aio-cli-next/node_modules/@oclif/core/lib/main.js:76:5)

The naive fix is not to generate the vscode config if frontEndUrl is empty, but the user might want to debug backend actions as well.
The better fix is in generator-aio-app where based on the app config (app.hasFrontEnd) we either generate the launch configuration for Chrome debugging, or not. So therefore we need to determine if serve-static hook is set, is that effectively app.hasFrontEnd === false? The serve-static hook might serve a front end, but there is no way for our hook runner to know about the url. @purplecabbage  thoughts?

This may be naïve, but I figured if a developer has a hook for serve-static set then they want to modify the behavior of serving static assets, implying that there are static assets to serve? i.e app.hasFrontEnd === true
As an aside, looking at this diagram, would it be correct for us to skip this hook altogether if there are no static assets to serve?

I +1 Michael's comment with an addition: console.log a warning that the hook will not be applied.
Actually the same approach should be taken for backend only hooks and so on

+1 what @MichaelGoberling and @moritzraho said

We are already skipping the hook if we don't have a front end, that is not the problem I am facing.
The problem is strictly if the serve-static hook is set, logically to the vscode config generator, there is no front end to configure for, since there is no way to know this info, thus app.hasFrontEnd (to the vscode config generator only) is effectively false.

Although we don't provide a warning when we skip it however

Sorry @shazron, my original answer was naïve. Looking at the diagram again, it seems serve-static will run in place of us serving static assets. Thus, we as the plugin won't be serving any static assets and it seems to us there is no front end. So I agree app.hasFrontEnd === false in this scenario.
If we wanted to support chrome debugging of custom-served web assets, we'd have to introduce a mechanism for hook implementers to return data, in this scenario a frontEndUrl, but that seems out of scope.

PR #617


pdf_writer.py not properly configured for mac

mac doesn't have .exe's either. is this properly configured?
if platform == "linux":
call(
["xelatex",
"-output-directory", str(Path(output_directory).resolve()),
"-jobname", filename, doc],
stdout=open(devnull, "wb"))
else:
call(['xelatex.exe',
'-output-directory',
str(Path(output_directory).resolve()),
'-job-name=' + filename,
doc],
stdout=open(devnull, "wb"))

@bkoatz See #4
(Thanks for the tickets by the way!!)


some videos are not working with youtube-dl

Hi , i tried to download this video by youtube-dl on ubuntu server
my last version is 6/3/2016 the latest update
https://www.youtube.com/watch?v=xo1VInw-SKc
downloading via mp3 working 100% but the links of it are not working
when i click on the link  i have white page
my command line
youtube-dl  -j  https://www.youtube.com/watch?v=xo1VInw-SKc
example white page link : https://r18---sn-tt17dn7r.googlevideo.com/videoplayback?mime=video%2Fmp4&itag=22&nh=IgpwcjAxLnl5ejA2KgkxMjcuMC4wLjE&expire=1457453582&upn=oIV9E5GmJsI&lmt=1455859442194728&ratebypass=yes&sver=3&source=youtube&key=yt6&ip=*******&mn=sn-tt17dn7r&mm=31&ms=au&id=o-AIKwWvOzUTNxmfkZtmvxOh8APMr8-lWy-IIvSoKaq5e8&pl=23&mv=m&mt=1457431882&sparams=dur%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&gcr=ca&requiressl=yes&ipbits=0&fexp=9407060%2C9416126%2C9420452%2C9422596%2C9423661%2C9423662&initcwndbps=6622500&dur=422.812&signature=BEC4219A6E5FE0EEE0FB6BEAC09EC957EEA6257B.49D1A15007A93E3D4BB9F00E615FC5F02971B697
System config: []
[debug] User config: []
[debug] Command-line args: [u'https://www.youtube.com/watch?v=6CVVd9RB7CI', u'-j', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.03.06
[debug] Python version 2.7.6 - Linux-3.13.0-71-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 9.18-6, avprobe 9.18-6, ffmpeg N-78590-g5590ab4, ffprobe N-78590-g5590ab4
[debug] Proxy map: {}
WARNING: Your copy of avconv is outdated and unable to properly mux separate video and audio files, youtube-dl will download single file media. Update avconv to version 10-0 or newer to fix this.
{"upload_date": "20160217", "protocol": "https", "creator": null, "format_note": "hd720", "height": 720, "like_count": 74137, "duration": 423, "fulltitle": "GF BF VIDEO SONG | Sooraj Pancholi, Jacqueline Fernandez ft. Gurinder Seagal | T-Series", "player_url": "//s.ytimg.com/yts/jsbin/player-en_US-vflteKQR7/base.js", "id": "6CVVd9RB7CI", "view_count": 13968431, "playlist": null, "title": "GF BF VIDEO SONG | Sooraj Pancholi, Jacqueline Fernandez ft. Gurinder Seagal | T-Series", "_filename": "GF BF VIDEO SONG _ Sooraj Pancholi, Jacqueline Fernandez ft. Gurinder Seagal _ T-Series-6CVVd9RB7CI.mp4", "format": "22 - 1280x720 (hd720)", "ext": "mp4", "playlist_index": null, "dislike_count": 21267, "average_rating": 4.10833930969, "abr": 192, "uploader_url": "http://www.youtube.com/user/tseries", "subtitles": {}, "age_limit": 0, "annotations": null, "webpage_url_basename": "watch", "acodec": " mp4a.40.2", "display_id": "6CVVd9RB7CI", "automatic_captions": {}, "description": "Gulshan Kumar Presents, a T-Series & Remo D'Souza Ent. Pvt. Ltd production, Bhushan Kumar's GF BF Video Song starring Jacqueline Fernandez & Sooraj Pancholi featuring Gurinder Seagal. The song is sung by Gurinder Seagal & Jacqueline Fernandez in the lyrics & composition of Gurinder Seagal.\n\ud83d\udc49Click to SHARE on Facebook - http://bit.ly/GFBFvideoSong\n\ud83d\udc49Click to TWEET - http://bit.ly/TweetGFBFsong\n\n\nSONG : GF BF\nSINGERS  :  GURINDER SEAGAL , JACQUELINE FERNANDEZ\nMUSIC  :  GURINDER SEAGAL\nLYRICS  :  GURINDER SEAGAL\nPROGRAMMER : ALAN SAMPSON\nMIXED & MASTERED BY VINOD VERMA\nDIRECTED BY  REMO D\u2019SOUZA\nEditor - Nitin FCP\nDOP- Vijaya Kumar Arora\nMUSIC ON T-SERIES\n\nBuy it on iTunes - https://geo.itunes.apple.com/in/album/gf-bf-single/id1085429507?ls=1&app=itunes\n\nListen it on Hungama - http://www.hungama.com/#/music/album-gf-bf-songs/17347960\n\nFor caller tunes :\nGF BF - Sanson Mein http://bit.ly/1O6hm3s\nGF BF - Main Tera Baby http://bit.ly/240A4oS\nGF BF - Jaoon Kahan http://bit.ly/1PGZwpN\nGF BF http://bit.ly/1o9gS85\n\nEnjoy and stay connected with us!!\n\nSubscribe to T-Series Channel for unlimited entertainment\nhttp://www.youtube.com/user/tseries?sub_confirmation=1\n\nCircle us on G+\nhttp://www.google.com/+tseriesmusic\n\nLike us on Facebook\nhttp://www.facebook.com/tseriesmusic\n\nFollow us on\nhttp://www.twitter.com/tseries\n\nFollow us on\nhttp://www.instagram.com/tseries.official\n\nFind us on\nhttp://pinterest.com/tseries\n\n----------------------------------------\u00ad------\n\nSet \"GF BF - Sanson Mein\" as your caller tune - sms GFBF1 To 54646\nSet \"GF BF - Main Tera Baby\" as your caller tune - sms GFBF2 To 54646\nSet \"GF BF - Jaoon Kahan\" as your caller tune - sms GFBF3 To 54646\nSet \"GF BF\" as your caller tune - sms GFBF4 To 54646\n_______________________________________\n\nOperator Codes :\n\n1. GF BF - Sanson Mein\n\nVodafone Subscribers Dial<PHONE_NUMBER>\nAirtel Subscribers Dial<PHONE_NUMBER>640\nReliance Subscribers SMS CT 64273796 to 51234\nIdea Subscribers Dial<PHONE_NUMBER>51\nTata DoCoMo Subscribers dial<PHONE_NUMBER>351\nAircel Subscribers sms DT 5853581\u00a0 To 53000\nBSNL (South / East) Subscribers sms BT 7376351 To 56700\nBSNL (North / West) Subscribers sms BT 5853581 To 56700\nVirgin Subscribers sms TT 7376351 To 58475\nMTS Subscribers sms CT 5853605 to 55777\nTelenor Subscribers dial<PHONE_NUMBER>0\nMTNL Subscribers sms PT 7376351 To 56789\nsms GFBF1 To 54646\n\n\n2. GF BF - Main Tera Baby\n\nVodafone Subscribers Dial<PHONE_NUMBER>\nAirtel Subscribers Dial<PHONE_NUMBER>563\nReliance Subscribers SMS CT 64273795 to 51234\nIdea Subscribers Dial<PHONE_NUMBER>32\nTata DoCoMo Subscribers dial<PHONE_NUMBER>332\nAircel Subscribers sms DT 5853580\u00a0 To 53000\nBSNL (South / East) Subscribers sms BT 7376332 To 56700\nBSNL (North / West) Subscribers sms BT 5853580 To 56700\nVirgin Subscribers sms TT 7376332 To 58475\nMTS Subscribers sms CT 5853604 to 55777\nTelenor Subscribers dial<PHONE_NUMBER>9\nMTNL Subscribers sms PT 7376332 To 56789\n\n3. GF BF - Jaoon Kahan\nVodafone Subscribers Dial<PHONE_NUMBER>\nAirtel Subscribers Dial<PHONE_NUMBER>062\nReliance Subscribers SMS CT 64273794 to 51234\nIdea Subscribers Dial<PHONE_NUMBER>46\nTata DoCoMo Subscribers dial<PHONE_NUMBER>346\nAircel Subscribers sms DT 5853579\u00a0 To 53000\nBSNL (South / East) Subscribers sms BT 7376346 To 56700\nBSNL (North / West) Subscribers sms BT 5853579 To 56700\nVirgin Subscribers sms TT 7376346 To 58475\nMTS Subscribers sms CT 5853603 to 55777\nTelenor Subscribers dial<PHONE_NUMBER>8\nMTNL Subscribers sms PT 7376346 To 56789\n\n4.GF BF\n\nVodafone Subscribers Dial<PHONE_NUMBER>\nAirtel Subscribers Dial<PHONE_NUMBER>641\nReliance Subscribers SMS CT 64273793 to 51234\nIdea Subscribers Dial<PHONE_NUMBER>52\nTata DoCoMo Subscribers dial<PHONE_NUMBER>352\nAircel Subscribers sms DT 5853578\u00a0 To 53000\nBSNL (South / East) Subscribers sms BT 7376352 To 56700\nBSNL (North / West) Subscribers sms BT 5853578 To 56700\nVirgin Subscribers sms TT 7376352 To 58475\nMTS Subscribers sms CT 5853602 to 55777\nTelenor Subscribers dial<PHONE_NUMBER>7\nMTNL Subscribers sms PT 7376352 To 56789", "tags": ["gf bf song", "gf bf video", "gf bf video song", "gf bfJacqueline Fernandez", "Jacqueline Fernandez gf bf song", "sooraj pancholi gf bf song", "Jacqueline Fernandez", "Sooraj Pancholi", "gurinder seagal", "new hindi songs", "new bollywood songs", "latest hindi songs", "hindi songs", "gf bf tseries", "gf", "bf", "album song", "album", "jacqueline fernandez songs", "sooraj pancholi songs", "jacqueline fernandez new song", "new songs 2016", "2016 new songs", "t series", "bollywood", "indian", "songs", "song", "video", "hd songs", "hd", "1080 HD"], "requested_subtitles": null, "start_time": null, "uploader": "T-Series", "format_id": "22", "uploader_id": "tseries", "categories": ["Music"], "thumbnails": [{"url": "https://i.ytimg.com/vi/6CVVd9RB7CI/maxresdefault.jpg", "id": "0"}], "license": "Standard YouTube License", "alt_title": null, "url": "https://r18---sn-tt17dn7r.googlevideo.com/videoplayback?mime=video%2Fmp4&itag=22&nh=IgpwcjAxLnl5ejA2KgkxMjcuMC4wLjE&expire=1457453582&upn=oIV9E5GmJsI&lmt=1455859442194728&ratebypass=yes&sver=3&source=youtube&key=yt6&ip=1004&mn=sn-tt17dn7r&mm=31&ms=au&id=o-AIKwWvOzUTNxmfkZtmvxOh8APMr8-lWy-IIvSoKaq5e8&pl=23&mv=m&mt=1457431882&sparams=dur%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&gcr=ca&requiressl=yes&ipbits=0&fexp=9407060%2C9416126%2C9420452%2C9422596%2C9423661%2C9423662&initcwndbps=6622500&dur=422.812&signature=BEC4219A6E5FE0EEE0FB6BEAC09EC957EEA6257B.49D1A15007A93E3D4BB9F00E615FC5F02971B697", "extractor_key": "Youtube", "vcodec": "avc1.64001F", "http_headers": {"Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7", "Accept-Language": "en-us,en;q=0.5", "Accept-Encoding": "gzip, deflate", "Accept": "text/html,application/xhtml+xml,application/xm

actually  most of the videos are not working
there is a problem with the decoding ( cipher signature )

Remove -j in order to let youtube-dl download the video. If you are using another program to download, please refer to our FAQ.

i need to get all json data because that i used -j

@badrsh
The video you posted works for me (all the format links).

white page

I get this mostly when a video is blocked in my country. Try this trick:
Replace:

https://r18---sn-tt17dn7r.googlevideo.com/...

With:

https://redirector.googlevideo.com/...

Unblocks videos for me, no more white page.


Error validation on date picker also highlights the nested select controls

If the date picker is marked as invalid, the select controls in the calendar control also get the error states. This is incorrect

Resolved


modal doesn't not open correctly on Blackberry z10

Hi guys,
The modal doesn't seem to open/render properly under BlackBerry Z10 device.. it is halfcut off.
Any help is appreciated!
Thanks,
Vince

i figured out the issue.. blackberry is failing on the transform css3 attribute..
transform:translate(-50%, -50%);
we need to add the following
-webkit-transform: translate(-50%, -50%);
can we get this added?
Thanks,
Vince


python3:x64-osx build failure

Host Environment

OS: macos Bigsur
Compiler: revision

To Reproduce
Steps to reproduce the behavior:
./vcpkg install socket-io-client:x64-osx
Failure logs
clang: warning: -framework CoreFoundation: 'linker' input unused [-Wunused-command-line-argument]
Python/ast.c:3688:5: warning: code will never be executed [-Wunreachable-code]
PyErr_SetString(PyExc_SystemError, "unhandled import name condition");
^~~~~~~~~~~~~~~
./Modules/getpath.c:809:49: warning: incompatible pointer types passing 'unsigned long *' to parameter of type 'uint32_t ' (aka 'unsigned int ') [-Wincompatible-pointer-types]
else if(0 == _NSGetExecutablePath(execpath, &nsexeclength) &&
^~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach-o/dyld.h:98:54: note: passing argument to parameter 'bufsize' here
extern int _NSGetExecutablePath(char buf, uint32_t bufsize)                 __OSX_AVAILABLE_STARTING(__MAC_10_2, __IPHONE_2_0);
^
./Modules/posixmodule.c:9221:15: error: implicit declaration of function 'sendfile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = sendfile(in, out, offset, &sbytes, &sf, flags);
^
make: *** [Modules/posixmodule.o] Error 1
make: *** Waiting for unfinished jobs....
1 warning generated.
------------ console logs ----------------------
-- Downloading https://github.com/python/cpython/archive/v3.8.3.tar.gz...
-- Extracting source /usr/local/Cellar/vcpkg/2020.11-1/libexec/downloads/python-cpython-v3.8.3.tar.gz
-- Using source at /usr/local/Cellar/vcpkg/2020.11-1/libexec/buildtrees/python3/src/v3.8.3-43b03f2bf0.clean
-- Configuring x64-osx-rel
-- Building x64-osx-rel
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:142 (message):
Command failed: make install -j 9
Working Directory: /usr/local/Cellar/vcpkg/2020.11-1/libexec/buildtrees/python3/src/v3.8.3-43b03f2bf0.clean-x64-osx-release
See logs for more information:
/usr/local/Cellar/vcpkg/2020.11-1/libexec/buildtrees/python3/make-build-x64-osx-release-out.log
/usr/local/Cellar/vcpkg/2020.11-1/libexec/buildtrees/python3/make-build-x64-osx-release-err.log
Call Stack (most recent call first):
ports/python3/portfile.cmake:150 (vcpkg_execute_build_process)
scripts/ports.cmake:135 (include)
Error: Building package python3:x64-osx failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with ./vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: python3:x64-osx
Vcpkg version: 2020.06.15-unknownhash

The python3 port has been updated since this post. Could you update vcpkg and try again?

@sai-cartly ,Thanks for posting this issue,I have successfully installed socket-io-client: x64-osx in OSX environment following your steps. You can update your vcpkg and reinstall it. If there are still problems, please attach your error log. Thank you!

Getting a different error
Building package python3[core]:x64-osx...
Could not locate cached archive: /Users/saimatam/.cache/vcpkg/archives/4f/4f54db883683de02a27ed8e67550f466bf2eab23.zip
-- Using cached /usr/local/Cellar/vcpkg/2020.11-1/libexec/downloads/python-cpython-v3.8.3.tar.gz
-- Extracting source /usr/local/Cellar/vcpkg/2020.11-1/libexec/downloads/python-cpython-v3.8.3.tar.gz
-- Using source at /usr/local/Cellar/vcpkg/2020.11-1/libexec/buildtrees/python3/src/v3.8.3-43b03f2bf0.clean
-- Configuring x64-osx-rel
-- Building x64-osx-rel
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:142 (message):
Command failed: make install -j 9
Working Directory: /usr/local/Cellar/vcpkg/2020.11-1/libexec/buildtrees/python3/src/v3.8.3-43b03f2bf0.clean-x64-osx-release
See logs for more information:
/usr/local/Cellar/vcpkg/2020.11-1/libexec/buildtrees/python3/make-build-x64-osx-release-out.log
/usr/local/Cellar/vcpkg/2020.11-1/libexec/buildtrees/python3/make-build-x64-osx-release-err.log
Call Stack (most recent call first):
ports/python3/portfile.cmake:150 (vcpkg_execute_build_process)
scripts/ports.cmake:135 (include)
Error: Building package python3:x64-osx failed with: BUILD_FAILED

Python3 was updated to 3.9.0 last week, which should fix big sur compatibility. Please update vcpkg to the latest master.

@sai-cartly ，You recreate a folder, then clone vcpkg and rebuild，If it still doesn't work, please provide a complete error log

PS D:\vcpkg> .\vcpkg install python3:x64-windows
Computing installation plan...
The following packages will be built and installed:
python3[core]:x64-windows
Detecting compiler hash for triplet x64-windows...
Could not locate cached archive: C:\Users\chuyj\AppData\Local\vcpkg\archives\66\663e5ef850aa0860a73e02d0eb95e0b62874be81.zip
Starting package 1/1: python3:x64-windows
Building package python3[core]:x64-windows...
-- Using cached D:/vcpkg/downloads/python-cpython-v3.9.0.tar.gz
-- Extracting source D:/vcpkg/downloads/python-cpython-v3.9.0.tar.gz
-- Using source at D:/vcpkg/buildtrees/python3/src/v3.9.0-e901d4bfb3.clean
-- Building D:/vcpkg/buildtrees/python3/src/v3.9.0-e901d4bfb3.clean-Lib-Win/PCBuild/pythoncore.vcxproj for Release
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:106 (message):
Command failed: msbuild D:/vcpkg/buildtrees/python3/src/v3.9.0-e901d4bfb3.clean-Lib-Win/PCBuild/pythoncore.vcxproj /p:Configuration=Release /t:Rebuild /p:Platform=x64 /p:PlatformToolset=v140 /p:VCPkgLocalAppDataDisabled=true /p:UseIntelMKL=No /p:WindowsTargetPlatformVersion= /p:VcpkgManifestInstall=false /m
Working Directory: D:/vcpkg/buildtrees/python3/x64-windows-rel
Error code: 1
See logs for more information:
D:\vcpkg\buildtrees\python3\build-x64-windows-rel-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_build_msbuild.cmake:122 (vcpkg_execute_required_process)
ports/python3/portfile.cmake:56 (vcpkg_build_msbuild)
scripts/ports.cmake:136 (include)
Error: Building package python3:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: python3:x64-windows
Vcpkg version: 2020.11.12-nohash

@chuyanjuncn ，Can you provide me with this log：D:\vcpkg\buildtrees\python3\build-x64-windows-rel-out.log
I can successfully build in the window10 environment

Microsoft (R) 生成引擎版本 14.0.25420.1
版权所有(C) Microsoft Corporation。保留所有权利。
time 2020/11/26 13:48:02。
1>project“D:\vcpkg\buildtrees\python3\src\v3.9.0-e901d4bfb3.clean-Lib-Win\PCBuild\pythoncore.vcxproj”on node 1 上(Rebuild target)。
1>D:\vcpkg\buildtrees\python3\src\v3.9.0-e901d4bfb3.clean-Lib-Win\PCBuild\python.props(111,31): error MSB4184: can not calculate express“[System.Version]::Parse('')”。Version string too long or too short。 [D:\vcpkg\buildtrees\python3\src\v3.9.0-e901d4bfb3.clean-Lib-Win\PCBuild\pythoncore.vcxproj]
1>generated project“D:\vcpkg\buildtrees\python3\src\v3.9.0-e901d4bfb3.clean-Lib-Win\PCBuild\pythoncore.vcxproj”(Rebuild target) operation  - failar。
generation failar。
   “D:\vcpkg\buildtrees\python3\src\v3.9.0-e901d4bfb3.clean-Lib-Win\PCBuild\pythoncore.vcxproj”(Rebuild target) (1) ->
     D:\vcpkg\buildtrees\python3\src\v3.9.0-e901d4bfb3.clean-Lib-Win\PCBuild\python.props(111,31): error MSB4184: can not calculate express“[System.Version]::Parse('')”。Version string too long or too short。 [D:\vcpkg\buildtrees\python3\src\v3.9.0-e901d4bfb3.clean-Lib-Win\PCBuild\pythoncore.vcxproj]

0 warning
1 error

using time 00:00:00.04

@chuyanjuncn ，This problem does not seem to be a vcpkg problem, it may be related to VS, you can try to upgrade your VS2017 first, and then try again

thanks. I will try again

Here is the error in the log:
./Modules/posixmodule.c:9221:15: error: implicit declaration of function 'sendfile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = sendfile(in, out, offset, &sbytes, &sf, flags);
              ^
clang: warning: -framework CoreFoundation: 'linker' input unused [-Wunused-command-line-argument]
1 error generated.
make: *** [Modules/posixmodule.o] Error 1
make: *** Waiting for unfinished jobs....
clang: warning: -framework CoreFoundation: 'linker' input unused [-Wunused-command-line-argument]
1 warning generated.

@sai-cartly Are you certain that you have updated to the latest vcpkg master by executing git pull && ./bootstrap-vcpkg.sh in the terminal? From the error log you have posted, your vcpkg is still building Python 3.8.3, which does not support macOS Big Sur. Compare with line 9221 of posixmodule.c in Python 3.9.0, which does support macOS Big Sur,
@chuyanjuncn and @JonLiu1993, this issue is about macOS Big Sur. I think Windows discussion should happen in a new issue. Thanks.

@Hoikas -- You are right.
I used vcpkg to install python3 on  MacOS Catalina and succeeded.
I created a new folder vcpkg and downloaded sources from github and built vcpkg
Next I used ./vcpkg install python3  on MacOS Big Sur and it worked !
Here is the log below
`-- Installing x64-osx-dbg done
-- Installing: /Users/saimatam/soft2/vcpkg/packages/python3_x64-osx/share/python3/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: /Users/saimatam/.cache/vcpkg/archives/c4/c4eb0d53ef11052918cc111e3d28e2eb95e6e88e.zip
Building package python3[core]:x64-osx... done
Installing package python3[core]:x64-osx...
Installing package python3[core]:x64-osx... done
Elapsed time for package python3:x64-osx: 4.742 min
Total elapsed time: 9.087 min
saimatam@Sais-MacBook-Pro vcpkg %
`

Great news! 😄

You can close this issue as resolved.

@Hoikas ,thank you for your help