[Macros] Add the correct RPATH flags to pure Swift host libraries

like the in-process plugin server
Also, make sure the in-process plugin server builds for Android.
@rintaro, I noticed this library leaks the builder runpath in the latest trunk toolchain for linux:
> readelf -d swift-DEVELOPMENT-SNAPSHOT-2024-07-29-a-ubi9/usr/lib/swift/host/libSwiftInProcPluginServer.so | ag runpath
 0x000000000000001d (RUNPATH)            Library runpath: [/opt/swift/5.8.1/usr/lib/swift/linux:$ORIGIN]

This pull fixed that when I built it natively on Android, along with the Bionic import.
I will submit an integration test for this new builder path once this is in.

@kateinoigakukun, would you run the CI on this?

Ping @rintaro, not sure you saw this.
@rauhul, please run the CI.

Ping @rintaro, not sure you saw this.
@rauhul, please run the CI.

I'd appreciate not being pinged for parts of the swift project I don't work on/own.
I think it would be better to bring up the access to running ci with the contributor experience group!

@swift-ci please test

I'd appreciate not being pinged for parts of the swift project I don't work on/own. I think it would be better to bring up the access to running ci

Sure thing. I remember you running the CI for me on random repos where I never even pinged you or knew that you were involved with in anyway, so I thought you wanted to help. I won't ping you for CI runs on these other repos again.

Normally the code owners should trigger the bot for you (not sure know who owns this part; perhaps Rintaro), but you can also ask @swiftlang/contributor-experience, if, say, you are not getting a timely response.
Though, really, you’ve contributed more than enough to go ahead and request CI/write access.

Linux CI failure when running the SwiftPM tests appears spurious.

@swift-ci Please smoke test

Thanks for the review, @rintaro.


Update Time::createFromTimestamp()

Description
previously not updating date even though time zone has been set
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

@totoprayogo1916 I'm not sure what the intent of this PR is.
Can you add test code?

case:
$time = new Time('now');
$timestamp = $time->timestamp;

$new_time = Time::createFromTimestamp($timestamp);
$new_time_timezone = Time::createFromTimestamp($timestamp, config('App')->appTimezone);

var_dump(
    $time->toDateTimeString(),
    $new_time->toDateTimeString(),
    $new_time_timezone->toDateTimeString()
);

and the results like:

The date doesn't change even though the timezone has been added.

@totoprayogo1916 This is complicated timezone issue.
You must add test code to show the specification.

Note, we expect all code changes or bug-fixes to be accompanied by one or more tests added to our test suite to prove the code works. If pull requests are not accompanied by relevant tests, they will likely be closed.
https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#contributions

The date doesn't change even though the timezone has been added.

What's wrong with it?

What's wrong with it?

Test added

The time is changed when specify timezone.
$time = new Time('2022/01/18 00:00:00');
$new_time = Time::createFromTimestamp($time->timestamp);
$new_time_timezone = Time::createFromTimestamp($time->timestamp, 'Asia/Jakarta');

var_dump(
    $time->getTimestamp(),
    $new_time->getTimestamp(),
    $new_time_timezone->getTimestamp()
);

int(1642485600)
int(1642485600)
int(1642460400) // <- changed

int(1642485600)
int(1642485600)
int(1642460400) // <- changed

timestamp changed, but Date not.
I posted yesterday here: https://forum.codeigniter.com/thread-81033.html

var_dump(
    $time,
    $time->timestamp,
    $new_time,
    $new_time->timestamp,
    $new_time_timezone,
    $new_time_timezone->timestamp
);

@totoprayogo1916

timestamp changed, but Date not.

I got what you mean when I saw your var_dump output.
Thanks.

The timestamp is always based on UTC, so this is a bug, right?


add remaining font modifiers: strikethrough, inverse, blink

closes #249

Pull Request Test Coverage Report for Build 1902

3 of 15 (20.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 91.798%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

terminal/termbox/cell_options.go
2
6
33.33%

cell/cell.go
0
8
0.0%

Totals

Change from base Build 1901:
-0.1%

Covered Lines:
7969

Relevant Lines:
8681

💛  - Coveralls

I can't seem to find the right spot to put the tests to cover the rest of the lines


Merging old-develop into old-master 2.8.2019 - fixing redirects

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @Whatthefoxsays,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


PF-1006: Break-glass command.

Add a hidden command terra workspace break-glass to grant Editor access to a workspace project.
Included a script to create a central BQ dataset for cataloging break-glass requests. The command writes to this dataset.
More details and example commands in CONTRIBUTING.md.

One thing we might consider, depending on (1) how urgent delivering this is and (2) whether we want to do this everywhere or just in Verily deployments… If it’s not super urgent and aimed at only Verily deployments, we could consider adding a devoted “break glass” SA and creating the BQ dataset via the Terra Plato Terraform module. This could allow us to use a single SA for break glass purposes.

@jmczerk This is currently only intended for the verily-cli deployment at the Broad, which is a "personal environment", though in practice it will work on any WSM that shares the same user projects folder (all personal envs and maybe also dev?). If we plan to eventually transition the solutions team over to Verily's devel env, then agreed we should duplicate this in Verily TF.
RE single SA: Agreed this would make the command cleaner, but would it be a maintenance burden to keep the single SA's permissions in sync with the WSM deployments it supports? (e.g. devel WSM has permissions on folder A, staging WSM on folder B. break-glass SA needs both, not sure how to pipe the folder A & B ids into the break-glass SA TF).

Does this need any additional guardrails against running this in prod/prod-like environments? OTOH requiring the app SA key (which will probably require a separate breakglass into Vault or similar for prod) might already be enough
@zloery I think we're safe from touching prod because the WSM app SAs should only have access to the folder where their user projects live. Even without break-glass, it seems bad if our dev WSM SA could mess with prod stuff. And if we ever did need break-glass in prod (unlikely to be useful on the Verily side per John C, but my understanding is this has come up in AoU so maybe possible on the Broad side), I think we should transition to building this into WSM rather than relying on Vault/CLI.

@jmczerk This is currently only intended for the verily-cli deployment at the Broad, which is a "personal environment", though in practice it will work on any WSM that shares the same user projects folder (all personal envs and maybe also dev?). If we plan to eventually transition the solutions team over to Verily's devel env, then agreed we should duplicate this in Verily TF.
RE single SA: Agreed this would make the command cleaner, but would it be a maintenance burden to keep the single SA's permissions in sync with the WSM deployments it supports? (e.g. devel WSM has permissions on folder A, staging WSM on folder B. break-glass SA needs both, not sure how to pipe the folder A & B ids into the break-glass SA TF).

Given we're aiming only at verily-cli for now, I think we should stick with what you've done.  If we decide that this is something we want to formalize for non-prod Verily environments, I think that TF-based management would have some up front cost, but shouldn't have an ongoing burden.  We now have terraform for managing the various Plato-side SA permissions on external verily-bvdp.com folders).


add command gen enums

Codecov Report
Patch coverage: 82.35% and no project coverage change.

Comparison is base (da8297d) 78.65% compared to head (92be7dd) 78.65%.

:exclamation: Current head 92be7dd differs from pull request most recent head 0dbae81. Consider uploading reports for the commit 0dbae81 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2591   +/-   ##
=======================================
  Coverage   78.65%   78.65%
=======================================
  Files         630      631    +1
  Lines       51537    51554   +17
=======================================
+ Hits        40538    40552   +14
- Misses       9011     9012    +1
- Partials     1988     1990    +2

Flag
Coverage Δ

go-1.15-386
78.68% <82.35%> (+<0.01%)
:arrow_up:

go-1.15-amd64
78.71% <82.35%> (+0.02%)
:arrow_up:

go-1.16-386
?

go-1.16-amd64
78.64% <82.35%> (-0.03%)
:arrow_down:

go-1.17-386
?

go-1.17-amd64
78.69% <82.35%> (+0.02%)
:arrow_up:

go-1.18-386
78.64% <82.35%> (+0.04%)
:arrow_up:

go-1.18-amd64
78.59% <82.35%> (-0.02%)
:arrow_down:

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

Impacted Files
Coverage Δ

net/goai/goai_shema_ref.go
70.19% <76.92%> (+0.96%)
:arrow_up:

util/gtag/gtag_enums.go
100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

加Copyright吗？
// Copyright GoFrame gf Author(https://goframe.org). All Rights Reserved.
//
// This Source Code Form is subject to the terms of the MIT License.
// If a copy of the MIT was not distributed with this file,
// You can obtain one at https://github.com/gogf/gf.

// Copyright GoFrame gf Author(https://goframe.org). All Rights Reserved.
//
// This Source Code Form is subject to the terms of the MIT License.
// If a copy of the MIT was not distributed with this file,
// You can obtain one at https://github.com/gogf/gf.

感谢提醒，我看很多文件都漏掉了，我统一加上。


Microsoft Exchange Security Review - Online workbook fails with "The name 'ESIEnvirnonment_s' does not refer to any known column, table or function"

Describe the bug
Both the "Microsoft Exchange Security Review - Online" and "Microsoft Exchange Least Privilege with RBAC - Online" workbooks of the solution "Microsoft Exchange Security for Exchange Online" fails with "The name 'ESIEnvirnonment_s' does not refer to any known column, table or function"

To Reproduce
Steps to reproduce the behavior:
Installed the solution and setup the requierements.
The runbook "Start-ESICollector" job runs without errors.

When I load the fuction ExchangeEnvironmentList it does not know about "ESIEnvironment_s"

The table ESIExchangeOnlineConfig_CL does not contain a column "ESIEnvironment_s"

[like]  Matthias Scharl reacted to your message:

From: Murali Krishna Dev Uppugunduri @.>
Sent: Thursday, January 18, 2024 4:01:34 PM
To: Azure/Azure-Sentinel @.>
Cc: Matthias Scharl @.>; Mention @.>
Subject: Re: [Azure/Azure-Sentinel] Microsoft Exchange Security Review - Online workbook fails with "The name 'ESIEnvirnonment_s' does not refer to any known column, table or function" (Issue #9757)
Hi @MatthiasScharlhttps://github.com/MatthiasScharl ,I am still working on replicating the issue as there are dependencies,so checking on it,if needed we can have a teams meeting for issue troubleshooting.
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/Azure-Sentinel/issues/9757#issuecomment-1898765103, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWQ25PZQVD5MCDXJXRVMP73YPFBN5AVCNFSM6AAAAABBYE76T2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJYG43DKMJQGM.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @MatthiasScharl ,As discussed over teams, Blocked your time tomorrow for a discussion on this issue as having queries,Please join the meeting.

Hi @v-muuppugund, I did not receive any communications from you via Teams. Not sure to whom you have talked to.

Hi @MatthiasScharl ,Apologies for the delayed response, Could you please check the table from from the log analytics work space by following the below steps

Open the log Analytics work space used in automation account -->Navigate under settings->Tables->Check the Table i.e. ESIExchangeOnlineConfig_CL is Cutom table or Custom(classic),its should be custom classic table then its not editable,if its custom table we can edit column with "ESIEnvironment_s" instead of ESIEnvironment_g.
2.Please check any data in ESIExchangeOnlineConfig_CL ,I am assuming its on first run,if no data exists then delete this table and  update the varaibles of Tenant with Tenant name from Microsoft Entra ID,please refer below screen shots for reference,

Then go Automation account ->Open Run Book->Start the job,Please refer below screen shots for reference

After the job is successful, then the table will be created in the respective log analytics with correct column as "ESIEnvironment_s"
Please let me know if you have any issues.
We have created a bug for this issue and will be working on it
https://github.com/nlepagnez/ESI-PublicContent/issues/8

HI @MatthiasScharl ,Gentle Reminder,Could you please check above steps and let us know if any issues.

Hello @v-muuppugund. The table ESIExchangeOnlineConfig_CL in my workspace is a Custom table (classic). I have deleted it and ran the collector again. The job completes with

but shows the following error

The table  ESIExchangeOnlineConfig_CL was not re-created.

Hi @MatthiasScharl ,maximum job stream limit is 1MB i.e. A single steam job cannot be more than 1MB,Please find below link for reference
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#automation-limits
Will investigate with detailed analysis and get back to you with an update,which command causing more size we need check,if needed we can have a teams meeting for the same.

Hi @MatthiasScharl , I have verified the code, but unable to replicate the issue as don't have sufficient permissions at tenant level, Could you please share couple of time slots for a team's meeting to<EMAIL_ADDRESS>

HI @MatthiasScharl ,As discussed over call,Scheduled teams meeting on monday for further trouble shooting,Please join the meeting.

Hi @MatthiasScharl ,As discussed yesterday over teams meeting,able to set up local environment for debugging the run book,today will have  one more session for troubleshooting the issue.

Hi @MatthiasScharl ,As discussed on last wednesday ,issue has fixed after local debugging from VS code and unable connect with you after wards,Please let me know when we can connect on next steps

Hi @MatthiasScharl, Hope you are doing well. Our team has waiting for your response on above comment. Thanks!

Hi @MatthiasScharl ,As discussed over teams today,will be blocking your calendar on 26/2 or 27/2 at 9:30pm IST

Hi @MatthiasScharl ,As discussed over team's call, the issue has been fixed, we are closing your issue (https://github.com/Azure/Azure-Sentinel/issues/9757). If you still need support for 	this issue, feel free to re-open at any time. Thank you for your co-operation!


Ruby 3: LoadError: cannot load such file -- rexml/document

What Ruby, Rails and RSpec versions are you using?
Ruby version: 3.0.0
Rails version: 6.1.0
RSpec version: 3.10
MacOS big sur
Observed behaviour
On a fresh Rails 6.1 app with Ruby 3.0.0, rake spec fails to run any tests with the error:
» rake spec
/Users/dluan/.rbenv/versions/3.0.0/bin/ruby -I/Users/dluan/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib:/Users/dluan/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-support-3.10.1/lib /Users/dluan/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb

An error occurred while loading ./spec/requests/cars_spec.rb. - Did you mean?
                    rspec ./spec/rails_helper.rb

Failure/Error: require File.expand_path('../config/environment', __dir__)

LoadError:
  cannot load such file -- rexml/document
# ./config/application.rb:7:in `<top (required)>'
# ./config/environment.rb:2:in `require_relative'
# ./config/environment.rb:2:in `<top (required)>'
# ./spec/rails_helper.rb:4:in `require'
# ./spec/rails_helper.rb:4:in `<top (required)>'
# ./spec/requests/cars_spec.rb:1:in `require'
# ./spec/requests/cars_spec.rb:1:in `<top (required)>'

I'm not sure if it's because I recently also upgraded my mac os to big sur, but for some reason this only breaks on fresh rails apps.
Likewise, running the test app below in Ruby 2.7.2 and 2.6.6 works just fine.
Expected behaviour
These tests pass on fresh rails 6.1 app with ruby 2.7.2.
Can you provide an example app?
rails new testapp
bundle add rspec-rails
rails generate rspec:install

Sample app here: https://github.com/dennyluan/rspec-ruby3-rails6

See https://github.com/rails/rails/pull/40281 you probably need to add rexml to your gem file.

Thanks a lot Jon!


Makecode Project continues to be removed after sharing link is generated

Describe the bug
After creating a sharing link on MakeCode Arcade, the project continues to not open and shows an error stating that the project has been removed.

We have attempted to generate new links and refreshing but this project continues to not open correctly. This applies to both the generated sharing link and the new link that appears when the project loads.
https://arcade.makecode.com/92537-64129-85725-99897
https://makecode.com/_R0kYcR8jHHWR
To Reproduce
Steps to reproduce the behavior:

Go to share project on the top right.
Click on 'share project'
Copy link, paste in a different tab.
see error.

Expected behavior
Project should open normally.
Screenshots

Desktop (please complete the following information):

OS: Windows
Browser: Firefox
Version Firefox 130.0.1

Additional context
The project remains in the queue of the creator, but cannot be shared out.

@eanders-ms  Are you able to look this up and figure out why it might have been deleted, by chance?

Hi @psmithCN. It looks like our automated content filtering system flagged the project as potentially inappropriate. This might be a false positive. Unfortunately, we don't have a way to know what triggered it, but we can remove the flag manually. Please take a moment to review the code and strings in the game to ensure there’s in fact nothing inappropriate. Once you've completed the review, let us know, and we can manually restore the share link.

Hi Eric,
Thank you so much, would you be able to share the list of strings or values that come up as inappropriate?
We don't need this resolved any more, as it seemed to self-resolve when we tried it on a different person's account a few days later, (and once it was up it was never removed) But we're still interested in why this project kept getting removed, since it could happen again.
Here's a copy of the project that kept getting removed- https://arcade.makecode.com/S04244-24229-48490-19789
Thank you again,
Polly Smith
Senior Program Manager/ Home Office (Remote)
[cid:32df736c-d3a3-4c4b-aeb7-38f524992811]
<EMAIL_ADDRESS>[cid:d6e20e85-a137-4852-ae26-a4961852a453]https://www.codeninjas.com/
@.?anonymous&ep=bwmEmailSignature>           Book time to meet with @.?anonymous&ep=bwmEmailSignature>

From: Eric Anderson @.>
Sent: Wednesday, October 2, 2024 4:11 PM
To: microsoft/pxt-arcade @.>
Cc: Polly Smith @.>; Mention @.>
Subject: Re: [microsoft/pxt-arcade] Makecode Project continues to be removed after sharing link is generated (Issue #6509)
Hi @psmithCNhttps://github.com/psmithCN. It looks like our automated content filtering system flagged the project as potentially inappropriate. This might be a false positive. Unfortunately, we don't have a way to know what triggered it, but we can remove the flag manually. Please take a moment to review the code and strings in the game to ensure there’s in fact nothing inappropriate. Once you've completed the review, let us know, and we can manually restore the share link.
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/pxt-arcade/issues/6509#issuecomment-2389944948, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUYAIIOHHSO5FJ6EVVGWHHTZZR4RDAVCNFSM6AAAAABO7XGLKWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBZHE2DIOJUHA.
You are receiving this because you were mentioned.Message ID: @.***>

I'm glad the issue has been resolved! Unfortunately, we don't receive specific details about what triggers a takedown, so I don't have that information to share.

Understood. In the project copy I sent you, is there anything that stands out as inappropriate?
Polly Smith
Senior Program Manager/ Home Office (Remote)
[cid:56fe0027-5166-4ba9-9ef3-b672fd204fc1]
<EMAIL_ADDRESS>[cid:60c66061-0a8d-41da-b559-84443490ecf9]https://www.codeninjas.com/
@.?anonymous&ep=bwmEmailSignature>           Book time to meet with @.?anonymous&ep=bwmEmailSignature>

From: Eric Anderson @.>
Sent: Thursday, October 3, 2024 9:00 AM
To: microsoft/pxt-arcade @.>
Cc: Polly Smith @.>; Mention @.>
Subject: Re: [microsoft/pxt-arcade] Makecode Project continues to be removed after sharing link is generated (Issue #6509)
I'm glad the issue has been resolved! Unfortunately, we don't receive specific details about what triggers a takedown, so I don't have that information to share.
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/pxt-arcade/issues/6509#issuecomment-2391781990, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUYAIIICJG22LPGOPJOOOETZZVSYVAVCNFSM6AAAAABO7XGLKWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJRG44DCOJZGA.
You are receiving this because you were mentioned.Message ID: @.***>

The only thing I could think of is that there were a couple areas of random-looking characters that may have changed between accounts?

It's possible that these randomly created a naughty word somewhere?

Possible! Strange that it happened multiple times. I'll keep you posted if we encounter it again, thank you!


Support Request for spooncast.net

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and am willing to share it if required

Region
No response
Example URLs
https://www.spooncast.net/jp/cast/5950201
Provide a description that is worded well enough to be understood
VoDs on spooncast.net cannot be downloaded as site is not yet supported. VoDs are purely audio with a thumbnail and are served as .m4a
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['https://www.spooncast.net/jp/cast/5950201', '-vU', '--ignore-config']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [615a84447] (linux_exe)
[debug] Python 3.10.13 (CPython x86_64 64bit) - Linux-6.1.15-1-pve-x86_64-with-glibc2.31 (OpenSSL 3.2.1 30 Jan 2024, glibc 2.31)
[debug] exe versions: ffmpeg 4.3.6-0, ffprobe 4.3.6-0
[debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2024.02.02, mutagen-1.47.0, requests-2.31.0, secretstorage-3.3.3, sqlite3-3.45.1, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1803 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
[generic] Extracting URL: https://www.spooncast.net/jp/cast/5950201
[generic] 5950201: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] 5950201: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://www.spooncast.net/jp/cast/5950201
Traceback (most recent call last):
  File "yt_dlp/YoutubeDL.py", line 1594, in wrapper
  File "yt_dlp/YoutubeDL.py", line 1729, in __extract_info
  File "yt_dlp/extractor/common.py", line 732, in extract
  File "yt_dlp/extractor/generic.py", line 2530, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.spooncast.net/jp/cast/5950201

Not sure if it just happened to me, but i got HTTP 403 Error. The result is same in browser
>curl -v "https://www.spooncast.net/jp/cast/5950201"
*   Trying <IP_ADDRESS>:443...
* Connected to www.spooncast.net (<IP_ADDRESS>) port 443
* schannel: disabled automatic use of client certificate
* ALPN: curl offers http/1.1
* ALPN: server accepted http/1.1
* using HTTP/1.1
> GET /jp/cast/5950201 HTTP/1.1
> Host: www.spooncast.net
> User-Agent: curl/8.4.0
> Accept: */*
>
* schannel: remote party requests renegotiation
* schannel: renegotiating SSL/TLS connection
* schannel: SSL/TLS connection renegotiated
< HTTP/1.1 403 Forbidden
< Content-Type: text/html
< Content-Length: 118
< Connection: keep-alive
< Server: awselb/2.0
< Date: Thu, 11 Apr 2024 13:38:39 GMT
< X-Cache: Error from cloudfront
< Via: 1.1 2f53da2ba24f7d592b0ae8ca46a81c8a.cloudfront.net (CloudFront)
< X-Amz-Cf-Pop: CGK51-P1
< X-Amz-Cf-Id: 4sStlb_KQx3OSQxFSAzn2UqYOXL1By0-VZ2twK3BTW-k2dL6a23_Ig==
<

<title>403 Forbidden</title>

403 Forbidden

Or yt-dlp log:
>python -m yt_dlp -v "https://www.spooncast.net/jp/cast/5950201"
[debug] Command-line config: ['-v', 'https://www.spooncast.net/jp/cast/5950201']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [615a84447] (source)
[debug] Lazy loading extractors is disabled
[debug] Git HEAD: 31c45e0df
[debug] Python 3.11.1 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1q  5 Jul 2022)
[debug] exe versions: ffmpeg 5.1.2-full_build-www.gyan.dev (setts), ffprobe 5.1.2-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, mutagen-1.47.0, requests-2.31.0, sqlite3-3.39.4, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1810 extractors
[generic] Extracting URL: https://www.spooncast.net/jp/cast/5950201
[generic] 5950201: Downloading webpage
ERROR: [generic] Unable to download webpage: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>)
  File "D:\HobbyistDev\dev_folder\python_proj\yt-dlp-related\hobbyist_dev_repo\yt-dlp\yt_dlp\extractor\common.py", line 734, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\HobbyistDev\dev_folder\python_proj\yt-dlp-related\hobbyist_dev_repo\yt-dlp\yt_dlp\extractor\generic.py", line 2376, in _real_extract
    full_response = self._request_webpage(url, video_id, headers=filter_dict({
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\HobbyistDev\dev_folder\python_proj\yt-dlp-related\hobbyist_dev_repo\yt-dlp\yt_dlp\extractor\common.py", line 903, in _request_webpage
    raise ExtractorError(errmsg, cause=err)

  File "D:\HobbyistDev\dev_folder\python_proj\yt-dlp-related\hobbyist_dev_repo\yt-dlp\yt_dlp\extractor\common.py", line 890, in _request_webpage
    return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query, extensions))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\HobbyistDev\dev_folder\python_proj\yt-dlp-related\hobbyist_dev_repo\yt-dlp\yt_dlp\YoutubeDL.py", line 4131, in urlopen
    return self._request_director.send(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\HobbyistDev\dev_folder\python_proj\yt-dlp-related\hobbyist_dev_repo\yt-dlp\yt_dlp\networking\common.py", line 115, in send
    response = handler.send(request)
               ^^^^^^^^^^^^^^^^^^^^^
  File "D:\HobbyistDev\dev_folder\python_proj\yt-dlp-related\hobbyist_dev_repo\yt-dlp\yt_dlp\networking\_helper.py", line 204, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\HobbyistDev\dev_folder\python_proj\yt-dlp-related\hobbyist_dev_repo\yt-dlp\yt_dlp\networking\common.py", line 335, in send
    return self._send(request)
           ^^^^^^^^^^^^^^^^^^^
  File "D:\HobbyistDev\dev_folder\python_proj\yt-dlp-related\hobbyist_dev_repo\yt-dlp\yt_dlp\networking\_requests.py", line 350, in _send
    raise HTTPError(res, redirect_loop=max_redirects_exceeded)
yt_dlp.networking.exceptions.HTTPError: HTTP Error 403: Forbidden

Possibly geo restriction? It plays in browser for me

After checking the traceroute, the ISP seems block me from the website (which i think not really a geoblock)


chore: fix samples according to service resource change

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

@telpirion I removed location from samples (#39) just to make tests pass. Feel free to put it back in this format when the comments here are resolved.


Please invite me to the GitHub Community Organization

Name
Beth
Discord Username (if applicable)
No response
Additional Context
I wanna join this ORG

It's great having you contribute to this project
If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our Discord Server and our GitHub Organisation - we help and encourage each other to contribute to open source little and often 🤓 . Any questions let us know.

Invitation sent for the GitHub Organisation. Welcome to the community 🎉#
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see, you can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/jaidevstudio/people
Like this

Tips for practising:
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps

Please check your email or organisation page 🙏


Command failed with status (127): [clang -g -std=gnu99 -O3 -Wall -Werror-impl...]

I was trying to install your tool for Elementary OS 0.4 (based on Ubuntu 16.04) with the following command:
paladini@idkXt1z12:~/Projects/1doc/intercom-export$ sudo docker-compose run compile

Then I got the following output just a few moments later from downloading Docker containers:
/mruby/code/mruby/build/mrbgems/mruby-io/include" -I"/home/mruby/code/mruby/build/mrbgems/mruby-io/include" -I"/home/mruby/code/mruby/build/mrbgems/mruby-io/include" -I"/home/mruby/code/mruby/build/mrbgems/mruby-io/include" -I"/home/mruby/code/mruby/build/mrbgems/mruby-io/include" -I"/home/mruby/code/mruby/build/mrbgems/mruby-io/include" -I"/home/mruby/code/mruby/build/mrbgems/mruby-io/include" -I"/home/mruby/code/mruby/build/mrbgems/mruby-io/include" -I"/home/mruby/code/mruby/build/mrbgems/mruby-io/include" -I"/home/mruby/code/mruby/build/mrbgems/mruby-io/include" -I"/home/mruby/code/mruby/build/mrbgems/mruby-io/include" -I"/home/mruby/code/mruby/build/mrbgems/mruby-io/include" -MMD -o "/home/mruby/code/mruby/build/host/mrbgems/intercom-export/gem_init.o" -c "/home/mruby/code/mruby/build/host/mrbgems/intercom-export/gem_init.c"
rake aborted!
Command failed with status (127): [clang -g -std=gnu99 -O3 -Wall -Werror-impl...]
/home/mruby/code/mruby/tasks/mruby_build_commands.rake:31:in `_run'
/home/mruby/code/mruby/tasks/mruby_build_commands.rake:36:in `rescue in _run'
/home/mruby/code/mruby/tasks/mruby_build_commands.rake:32:in `_run'
/home/mruby/code/mruby/tasks/mruby_build_commands.rake:88:in `run'
/home/mruby/code/mruby/tasks/mruby_build_commands.rake:123:in `block (2 levels) in define_rules'
Command failed with status (127): ["clang" -g -std=gnu99 -O3 -Wall -Werror-im...]
/home/mruby/code/mruby/tasks/mruby_build_commands.rake:33:in `_run'
/home/mruby/code/mruby/tasks/mruby_build_commands.rake:88:in `run'
/home/mruby/code/mruby/tasks/mruby_build_commands.rake:123:in `block (2 levels) in define_rules'
Tasks: TOP => compile => all => /home/mruby/code/mruby/build/host/lib/libmruby.flags.mak => /home/mruby/code/mruby/build/host/lib/libmruby.a => /home/mruby/code/mruby/build/host/mrbgems/intercom-export/gem_init.o
(See full trace by running task with --trace)

Is someone facing this issue too? There's a way to fix that or any temporary workaround to be followed?

same issue


Downstream test: remove Istanbul test workaround.

No need to tweak the tests anymore since the problem is solved upstream.
Fixes #1392

Current coverage is 100.00%

Merging #1400 into master will not affect coverage as of 31bc75c

@@            master   #1400   diff @@
======================================
  Files            1       1
  Stmts         3103    3103
  Branches       590     590
  Methods          0       0
======================================
  Hit           3103    3103
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 31bc75c

Powered by Codecov. Updated on successful CI builds.


[Feature]: Set Stack used for building Image on BuildDropletStatus

Blockers/Dependencies
No response
Background
The GET Droplet V3 API returns a stack field that indicates the root filesystem used with the buildpack, for example cflinuxfs3. Information about the stack used in the kpack build is available on the kpackImage.Status.LatestStack field. We would like to capture the same on the CFBuild.Status.BuildDropletStatus.
Add a new field stack to CFBuild.Status.BuildDropletStatus and set the value to match corresponding Kpack Image's  Status.LatestStack value
Acceptance Criteria
GIVEN that I am targeting a k8s cluster
AND that I have followed the README instructions to install the Controllers and set up the kpack Registry Credentials and staging CRs
WHEN I apply the example CFApp, CFPackage, and CFBuild resources in config/samples directory
THEN I should see all those operations succeed
WHEN I fetch the yaml for the CF Build CR after its kpack Build completes successfully
THEN I should see that it now contains the Stack used to build image under BuildDropletStatus
Dev Notes

Update the cf-k8s-api droplet_repository.go file and set the stack value.

should we still be thinking about docker builds

No, not really. There's no immediate plans to support them and the belief is that the Docker app UX on Kubernetes is already richer than what CF provides so it's unlikely to be a priority.
I wouldn't do anything that makes them outright impossible to add in the future, but I wouldn't worry too much about it either.


Added my school domain file

Added my school domain file

@BZORLU123 file/lib/domains/tr/edu/kku.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.


A11y_Azure Tools Storage Explorer_Add a resource via Azure Active Directory_Attach with Azure AD_Non-text Contrast: When the "Back" control receives the keyboard focus, the color contrast ratio of the border with respect to background is less than 3:1.

GitHubTags:#C&AI_Aug2020_BMAzure Tools Storage Explorer; #A11yWCAG2.1; #A11YTCS; #DesktopApp; #Azure Tools Storage Explorer; #WCAG1.4.11; #Win32; #A11ySev2; #Benchmark; #ColorContrast;#AI4D;#FTP;#STP;#BM-Azure Tools Storage Explorer-win32-Aug2020
Environment Details:
Application Name: Azure Tool Storage Explorer
Application version: 1.14.2
Windows Version - Windows10
Repro Steps:

Launch Storage Explorer
Navigate to "Open Connect Dialog" pane present on left side of screen and hit enter.
Select "Add a resource via Azure Active Directory(Azure AD)" radio button and hit enter on Next button.
"Attach with azure AD" screen gets opened and navigate to Next button and hit enter.
Navigate till "Back" control using tab key.
Open AI4D and check the color contrast ratio of the border with respect to the background, when the "Back" control receives the keyboard focus.

Actual:
When the "Back" control receives the keyboard focus, the color contrast ratio of the border with respect to background is less than 3:1.
This issue is also observed with the "Next" and "Cancel" control.
This issue is similar throughout the application where there are "Back", "Next" and "Cancel" controls are present.
Expected:
When the "Back" control receives the keyboard focus, the color contrast ratio of the border with respect to background should be greater than or equal to 3:1.
User Impact:
Low vision users may not able to see keyboard focus on the control.
Attachment:
https://microsoftapc-my.sharepoint.com/:i:/g/personal/v-shwarh_microsoft_com/EQhZdaSPAflEnLaBZ7vE-ZYB-MthpbKBIhgLYZI7bhjtqw?e=jzQvT5

Verified the bug in the version 1.16.0-dev
The issue is Fixed and does not reproduce.
Hence closing this issue.
Please find the below link for Closing screenshot
https://microsoftapc-my.sharepoint.com/:i:/g/personal/v-shwarh_microsoft_com/EfFyQ_jdl-BIokFTY48gUVYBw6KRGiIGGrxCYFppbo18uQ?e=TYSefa

GitHub Tags:#A11yMAS;

Github Tags:#Closed;


feat(*): migrate to kubernetes 1.5

This change is

To test in cluster:
helm init --image quay.io/adamreese/tiller:kube-1.5

FYI in my personal tests this PR fixes both https://github.com/kubernetes/helm/issues/1589 and https://github.com/kubernetes/helm/issues/1581 for me (running against Kubernetes 1.5.0-beta.3).

This resolves https://github.com/kubernetes/helm/issues/1589 for me as well 👍


feat: 🎸 support optional newline at end of translation files

This adds a boolean flag to terminate files with a newline character,
preventing the illusion of extracted keys when only the EOF character
changed.
✅ Closes: #79

Fixed in v3 by running prettier at the end of creation.


hourly (offset vs num_segments)

Hi. At 08:00 the first segments shown is 13:00
I have tried varying the num_segments but cannot get it to show any earlier forecast data.
I'm using OpenWeatherMap hourly... but is that actually 3 hourly forecast data?
num_segments: '12'
label_spacing: '2'

When using the template example to show the rest of the day I'm not able to replicate the 'Next 12 Hours' example you have at the top of your repository documentation. It appears to be showing the next two days forecast.
num_segments: |
  {{ 24 - now().hour }}
label_spacing: |
  {% set segments = 24 - now().hour %}
  {{ 4 if segments > 12 else 2 }}

How may I configure the card to display the times as per your screenshot, with AM/PM rather than 24 hour clock please?

It seems to have fixed itself... perhaps it was a glitch with OpenWeatherMap data.
Still keen to know if there's a way I may amend the 24 hour times to AM/PM please?

Glad it fixed itself. For the times, you can adjust your time format settings in your HA user settings. Click your user name in the HA sidebar and adjust the time format settings there.


GE: Get notified about new SDK versions

As there are many fixes being applied to the SDK, what is the process for being notified about a new release, along with release notes?

For the time being you can go to https://github.com/threefoldtech/jumpscaleX_core/releases

A feature to do updated will be added in 10.6, but untill you have 10.6 updates will need to be done manually

https://github.com/threefoldtech/jumpscaleX_core/issues/838
feature was added here


Ktor 2.0.0 support

Seems like there are a few breaking changes in the HttpClient initialization which prevents me from upgrading my application to Ktor 2.0.0. Would it be possible to have a branch that uses Ktor 2?

v0.4.0-beta01 will be available shortly, alternatively snapshots are available as 0.4.1-SNAPSHOT.
I'll leave this open in case others have the same question.

v0.4.0 is available and updates to the final Ktor 2 release.


Add jonathanbuchh.org to sites.yml

Important: Please read all instructions carefully.
Select the appropriate category for what this PR is about
This PR is:

[x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes
[ ] Other not listed

Do not tick a checkbox if you haven’t performed its action. Honesty is indispensable for a smooth review process.

[x] I used the uncompressed size of the site
[x] I have included a link to the GTMetrix report
[x] The domain is in the correct alphabetical order
[x] This site is not a ultra lightweight site
[x] The following information is filled identical to the data file

- domain: jonathanbuchh.org
  url: https://jonathanbuchh.org/
  size: 12.9
  last_checked: 2021-08-27

GTMetrix Report: https://gtmetrix.com/reports/jonathanbuchh.org/9XgmvAd1/

This site can be classified as lightweight as such it can not be on the list for more information please see the FAQ's


[SPARK-3168]The ServletContextHandler of webui lacks a SessionManager

@XuTingjun can you elaborate on the requirements of CAS? Are there performance costs to using a HashSessionHandler here, since it saves the session to disk periodically (IIUC)? There also seems to be a few questions that are raised by @tgravescs but are not addressed.


New Version: Ultimaker.Cura 4.13.0

[x ] Have you signed the Contributor License Agreement?
[x ] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x ] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Silent install not working see https://github.com/Ultimaker/Cura/issues/10091


Safari extension preference pane indicates Hush is not reading or transmitting content. Is this correct?

I was having problems with a website and ended up needing to disable Hush & the content blocker extension I use in Safari on MacOS 11 to finally get it to work. I did not do anything to truly nail down if Hush was the source of my problem but I did notice that the Safari Preference pane for the Hush extension states -> "Hush" does not have permission to read or transmit content from any webpages. (screenshot attached I hope).  I have not looked at this pane closely until now but I would have expected Hush to read content from a web page to do its thing.  I can say that I rarely, if ever, get the annoying consent notices so I believe Hush is working.  Also, when I run the Hush app it indicates Hush is working.
I find the message to be confusing, if it is expected perhaps adding to the note the bolded text below "Block annoying cookie and tracking consent notices while keeping your privacy and not requiring permission to read or transmit content from any webpages you visit"

Hey, I'm not involved into the development of this App, but I think I can answer that.
This is actually correct, Hush doesn't get any information about the websites you visit. Hush just generates a big list of Stuff to block (html classes to hide, urls to block). Safari uses that list to search for matches on the websites you visit.
The reason why Hush may broke a Website you were visiting is, that some pages use additional Elements besides the Cookie Banners to enforce a consent, like e.g. a transparent background or disabling the scrolling. I guess it's quite hard to detect these little changes, so sometimes you need to disable Hush for that single page.

Like @ulbrich-media says, this is indeed correct, one of the selling points of Hush, and what makes it secure & fast.


timeout is ignored at test level

I am only to get a suite level  to respond.
When I do NOT put the suite level timeout and put a
  entry,
It doesn't timeout.

What is the question/issue?
Could you share your use case?

When you have a suite with n test entries and the tests have
timeout="20000" and the suite does NOT have a timeout set and parallel is
"tests" at the suite level, the timeout is ignored at the test level. When
you set timeout at the suite level, tests that timeout fail testng and
reports aren't correctly generated.

Ok, it's a bit clearer. But could you share a minimal project we can run and the result you expect?

Will do,
Was on the road when I saw this.
Thanks,
Chris
On Fri, Aug 14, 2015, 3:39 AM Julien Herr<EMAIL_ADDRESS>wrote:

Ok, it's a bit clearer. But could you share a minimal project we can run
and the result you expect?
—
Reply to this email directly or view it on GitHub
https://github.com/cbeust/testng/issues/779#issuecomment-131006478.

Tried reproducing this in the latest codebase from master branch (Cannot use TestNG 6.12 because of the issue https://github.com/cbeust/testng/issues/1493). Cannot reproduce this issue any more.
Here's what I used
Test class sample 1
import org.testng.annotations.Test;

import java.util.concurrent.TimeUnit;

public class Issue779TestcaseSample1 {
    @Test
    public void testMethod() throws InterruptedException {
        TimeUnit.SECONDS.sleep(15);
    }
}

Test class sample 2
import org.testng.annotations.Test;

import java.util.concurrent.TimeUnit;

public class Issue779TestcaseSample2 {
    @Test
    public void testMethod() throws InterruptedException {
        TimeUnit.SECONDS.sleep(20);
    }
}

Test runner
import org.assertj.core.api.Assertions;
import org.testng.ITestNGListener;
import org.testng.ITestResult;
import org.testng.TestListenerAdapter;
import org.testng.TestNG;
import org.testng.annotations.Test;
import org.testng.xml.XmlClass;
import org.testng.xml.XmlSuite;
import org.testng.xml.XmlTest;

import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

public class Issue779TestRunner {
    @Test
    public void testMethod() {
        XmlSuite suite = new XmlSuite();
        suite.setName("suite");
        XmlTest test1 = create(suite, 16 * 1000, Issue779TestcaseSample1.class);
        test1.setName("Will_Pass_Test");
        XmlTest test2 = create(suite, 15 * 1000, Issue779TestcaseSample2.class);
        test2.setName("Will_Fail_Test");
        suite.setTests(Arrays.asList(test1, test2));
        TestNG testng = new TestNG();
        testng.setXmlSuites(Collections.singletonList(suite));
        testng.setVerbose(2);
        testng.setParallel(XmlSuite.ParallelMode.TESTS);
        TestListenerAdapter tla = new TestListenerAdapter();
        testng.addListener((ITestNGListener) tla);
        testng.run();
        Set<String> passedTests = extractTestNames(tla.getPassedTests());
        Set<String> failedTests = extractTestNames(tla.getFailedTests());
        Assertions.assertThat(failedTests).containsExactly("Will_Fail_Test");
        Assertions.assertThat(passedTests).containsExactly("Will_Pass_Test");
    }

    private static Set<String> extractTestNames(List<ITestResult> results) {
        Set<String> names = new HashSet<>();
        for (ITestResult result : results) {
            names.add(result.getTestContext().getName());
        }
        return names;
    }

    private static XmlTest create(XmlSuite suite, long timeout, Class<?> clazz) {
        XmlTest xmlTest = new XmlTest(suite);
        xmlTest.setTimeOut(timeout);
        xmlTest.setXmlClasses(Collections.singletonList(new XmlClass(clazz)));
        return xmlTest;
    }
}

Test output
PASSED: testMethod

===============================================
    Will_Pass_Test
    Tests run: 1, Failures: 0, Skips: 0
===============================================

FAILED: testMethod
org.testng.internal.thread.ThreadTimeoutException: Method rationale.emotions.issue779.Issue779TestcaseSample2.testMethod() didn't finish within the time-out 15000
	at java.lang.Thread.interrupt(Thread.java:919)
	at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:64)
	at org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:44)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)

===============================================
    Will_Fail_Test
    Tests run: 1, Failures: 1, Skips: 0
===============================================

===============================================
suite
Total tests run: 2, Failures: 1, Skips: 0
===============================================

===============================================
Default Suite
Total tests run: 1, Failures: 0, Skips: 0
===============================================

Process finished with exit code 0


[SPARK-14937][ML][Document]spark.ml LogisticRegression sqlCtx in scala is inconsistent with java and python

What changes were proposed in this pull request?
In spark.ml document, the LogisticRegression scala example uses sqlCtx. It is inconsistent with java and python examples which use sqlContext. In addition, a user can't copy & paste to run the example in spark-shell as sqlCtx doesn't exist in spark-shell while sqlContext exists.
Change the scala example referred by the spark.ml example.
How was this patch tested?
Compile the example scala file and it passes compilation.

Test build #57047 has started for PR 12717 at commit dff3b2a.

Test build #57047 has finished for PR 12717 at commit dff3b2a.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57047/
Test FAILed.

Merged build finished. Test FAILed.

retest this please.

Test build #57051 has started for PR 12717 at commit a7e3cd5.

Test build #57053 has started for PR 12717 at commit a7e3cd5.

Test build #57051 has finished for PR 12717 at commit a7e3cd5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57051/
Test PASSed.

Test build #57053 has finished for PR 12717 at commit a7e3cd5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57053/
Test PASSed.

@yanboliang  Can you take a look ? It is a simple fix. Thanks!

This looks good to me. Thanks!

LGTM too, thanks all!
Merging with master now


Clarify install process in README

For the noobs among us, the readme install process would be much better updated to:

sudo make
sudo make install

Why sudo make?

Technically doesn't have to be, my focus was more on making it obvious there are two separate commands to run (instead of c/p make sudo make install).

Understood :-)


supercollider: add plugin support; supercolliderPlugins.sc3-plugins: init at 3.11.1

Motivation for this change
This PR adds support in the supercollider package for creating symlinked and self-contained plugin derivations like some other programs in nixpkgs support. I modeled this after a few such plugin package sets I found in nixpkgs, but let me know if it could be changed to better follow desired behavior or practices.
It does require patching SuperCollider to support setting the system data and plugin directories via environment variables rather than just using the values at compile-time so that plugins can be loaded from the symlinked directories similar to how they would on other operating systems which put stuff in /usr/share/SuperCollider and /usr/lib/SuperCollider/plugins.
I've added sc3-plugins version 3.11.1 to this PR which supercedes #142626 (per https://github.com/NixOS/nixpkgs/pull/142626#issuecomment-974895312) and added a supercollider_sc3-plugins package alias (which can be renamed if needed) since combining just those two would be fairly common (e.g. newer versions of Sonic Pi require it -- I also plan to PR updates for Sonic Pi one once 4.0 comes out but this PR is a prereq for that).
I've also added two tests: one to make sure scsynth runs on NixOS (but it does not test behavior further than initialization) and one to make sure sclang runs and automatically loads specified plugins (by checking for the existence of MdaPiano from sc3-plugins).
One quick question: if I am okay to maintain the SuperCollider patch and already watch for SuperCollider updates, would you like me to add myself as a maintainer to the supercollider package as well?
cc: @mrmebelman as current maintainer
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

nixpkgs-review
Result of nixpkgs-review run on x86_64-linux 1

7 packages built:

foxdot (python39Packages.foxdot)
python38Packages.foxdot
sonic-pi
supercollider
supercolliderPlugins.sc3-plugins
supercollider_sc3-plugins
supercollider_scel

I just updated this PR to strip debug symbols for supercolliderPlugins.sc3-plugins in the share directory in addition to lib, which reduces the closure size significantly by removing references to stdenv.cc.cc
I also rebased on latest master and re-ran tests and nixpkgs-review

I just updated the PR again with two nits from nixpkgs-hammering (one for putting a comment above the patch and one for attribute order) and rebased on latest master. I also re-ran tests and nixpkgs-review to make sure there were no regressions

I've rebased on latest master again since #154497 was merged

I've split out the maintainers-list.nix update to its own commit (which seems to be convention) and rebased again on latest master while I was at it

@lilyinstarlight, sure, you can even replace me as a maintainer altogether, looks like you'll do much better :smile:

I've force-pushed again to update the maintainers (thank you @MrMebelMan!) and removed the NixOS test for now. I'll plan to make the NixOS test more worthwhile (I'll probably have it actually try to synthesize and capture something) and re-add it later

@SuperSandro2000 Do you have any other comments for review, or do you think this is acceptable to merge now? Thank you for reviewing!

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/cant-rebuild-on-nixos-unstable-because-a-package-is-marked-as-broken-should-i-fix-it-or-ditch-it/18668/1

I've remodeled the plugin wrapper implementation after more popular packages (e.g. gimp, ibus) and made it a seperate supercollider-with-plugins wrapper rather than making it automatically wrap the derivation when plugins is passed as an argument to the package
Assuming test still passes in OfBorg and @JeffreyBenjaminBrown doesn't notice issues in the testing they mentioned on Discourse, do you have other comments or think this will be good to merge now @SuperSandro2000 since the plugin wrapping is now implemented more in line with other packages?
Thank you for your help with this PR!

Assuming test still passes in OfBorg and @JeffreyBenjaminBrown doesn't notice issues in the testing they mentioned on Discourse

I'm sorry to speak up so late but I feel obligated to say that I never reached the stage of actually testing this PR. What I wrote on Discourse was only about problems building on nixos-unstable, which I was doing in order to test this, but that's as far as I got.


Partial props support + Fix for property setter not re-rendering

Hi, thank you for this package!
When using it, I found myself not wanting to map all props as attributes.
This was because they either didn't matter, or because they were objects that I didn't want JSON serialized
(e.g an object containing an URL property, when serialized, would convert such URL to a string).
With this change it should now be possible to pass something like:
{
   props: {
      myObjProp: undefined
   }
}

This won't map the prop as an attribute, but it will still allow it to be set as a normal element property.
The behavior I described was already all technically possible, the TS types just didn't allow it.
But I did find an issue where simply setting the property (when not mapped to an attribute), didn't cause a re-render, which this PR also fixes.
I did my changes on top of the cleanup branch to prevent conflicts, as I assumed it would also be merged.
Let me know if something isn't quite right, or otherwise whatever is needed to get this released.

Hey vsilvar. Thanks! Always great to hear from the community.
I'd like to hear a bit about your use case. My concern here is that this would enable the creation of a web component that doesn't define required props.
When I needed something like this in the past, I created a wrapper component that defined the actually exposed props, then turned that one into a web component.

When is this going to be released? It's been merged for a while now, but there hasn't been a release since October 23.

@soldag It has been released! It was a change to @r2wc/core so you'll need to make sure you have that updated, not necessarily @r2wc/react-to-web-component (though the easiest way may be to uninstall and reinstall this one).


[slides-regularization] theta or beta as LM Params

We're jumping a bit back in forth notatoin wise between theta/beta
I.e. in slides-2-l1l2
\begin{center}
\tiny
\begin{tabular}{ c| c c c c c c c c c c c c}
 $\lambda$ & $\beta_0$ & $\beta_1$ & $\beta_2$ & $\beta_3$ & $\beta_4$ & $\beta_5$ & $\beta_6$ & $\beta_7$ & $\beta_8$ & $\beta_9$ & $\beta_{10}$ \\
 \hline
 0.00 & 12.00 & -16.00 & 4.80 & 23.00 & -5.40 & -9.30 & 4.20 & 0.53 & -0.63 & 0.13 & -0.01 \\
 10.00 & 5.20 &1.30 & 3.70 & 0.69 & 1.90 & -2.00 & 0.47 & 0.20 & -0.14 & 0.03 & -0.00 \\
 100.00 & 1.70 & 0.46 & 1.80 & 0.25 & 1.80 & -0.94 & 0.34 & -0.01 & -0.06 & 0.02 & -0.00
\end{tabular}
\end{center}

Is a a clear rule for when to use beta and when theta? Otherwise I would suggest sticking to theta completely

elastic net has some beta's still


[WelcomeUX] Recent paths would be better truncated from left side

Testing #18091
Since the right-side is the most specific it might be better to use .../foo/bar?

I'm not sure if there is an easy way to do this. If this can't be done in CSS, we will have to measure the text and do the truncation ourselves.

Yeah after thinking about it I can't think of a nice way to do this either. It probably wouldn't have that much impact anyway due to the size of monitors these days and the fact the actual folder name is in blue. Don't worry about this one :smiley:

Yeah, I wanted to do this, too, but I couldn't think of a simple way.
Later, if this is an issue, we could apply ::before pseudo elements over the strings that add an ellipses on the left-hand side.  Then clip on the left by absolutely positioning to the right and using an internal flex box.  Sounds kind of complicated but maybe possible.


Pos Quikbooks 2019 error

Please help
Keep getting We're sorry, QuikBooks Desktop point of sale has run into a problem, please restart
Running on Windows 11

Please help Keep getting We're sorry, QuikBooks Desktop point of sale has run into a problem, please restart Running on Windows 11

Look for the folder C:\Program
Delete it
Restart QuickBooks

--
(Dialog) QuickBooks Desktop Point of Sale has run into a prob...


Compress the size of all background Images

Compress the size of all background Images

Please mention the issue number with the link.
If you don't know how to create a link refer to this-
https://github.com/skpandey885/HealhUb/blob/main/Documentation/Publish-your-changes.md

Issue No #8 ...deployed link :  https://sayan404.github.io/HealhUb/


Add onError config for pool

To handle idle pool errors
see https://github.com/brianc/node-postgres/issues/1324

Knex is not using pool from pg library and missing tests etc.


screen.css increase width

hi all. is there simply method to increase screen.css width of working area? or may be set percentage instead of pixels. may be there is already fixed file screen.css?

Define your own CSS file and rewrite rules there.

yes, but it's a bit hard for me. i guess any ready solution must be?

Please use forums for questions.


Timeline Frame when active causes high amount of CPU usage

Fixed the problem by putting event.Skip() on paint events.


Twitch Module does not create a prediction

Describe the bug
Entering all the information as described in the wiki and saving everything, message error appears when I try clicking on the predictions buttons (start, stop, etc) and nothing else happen on the preview or on Twitch.
System:

OS: Windows 10
Browser: Edge

Do you have the newest version of the twitch module installed? There have been some updates which might resolve this.
If you are on a current version I will try to reproduce the issue tonight or tomorrow.

I did a fresh install of the league-prod-kit and the League Observer software yesterday, so I guess I am on the latest version. But I can double check tonight to be sure.

If there still is a problem please make sure that you put in the user name for the twitch channel not the display name.
The user name can just be taken from the twitch channel URL

Thanks for the tip Himyu, I did try with both names yesterdau (display name with capital letters and twitch channel all in lowercase) But I'll try again tonight to be sure.

You were right there was still a bug in the code due to a hardcoded appId. I now fix that issue in the module's newest patch (1.0.5).

Good. I'll try it tonight and keep you updated!

Same error, Request failed with status 401. I updated to the latest version of the module to be sure. v1.0.5

I am sorry that it is not working for you but to get to the bottom of that problem I added a better error login to the twitch module. if you would try to install the newest version (v1.0.6) and try again and send us the error message you are receiving, we will get closer to the solution to this problem.

Don't be sorry haha! I'm also trying to help the best I can! :D I'll try it again tomorrow since I'm not home for now but thanks for the fast feedback and help! :D

Error problem :  Resquest failed with status code 401: Unautorized. Client ID is missing.
I tried a fresh install to be sure, same thing. Following the exact steps from the Wiki to be sure.

Ok on with the step is that happening exactly?

Oh sorry! Yeah when I try to start a prediction, by clicking on the green button (start a prediction) the same error appear if I click to "stop the prediction" (red button) or choose a result (but there's no result to choose from since no prediction started).
Also, when I click on the button to link my Twitch account and authorize the app to use my account, if I click on it again, I must authorize again, I dunno if it's normal or not...)

I did this in this order yes. This is why I did a fresh install to be sure that there was no older svefiles or parameter still saved somewhere.

Can you go to the plugin-config folder and check out what is in the config file for the twitch module ?

I'll check this and post it here when I'll be back home tonight.

I deployed a new patch today maybe try that out as well and see if that does anything. for you.

Everything seems to work! I'll test it during our game tonight and bring feedback.

No problem at all during the stream. Thanks! ;)

Ok perfect thanks for your feedback :)


Added Ukrainian language file

I made a translation into Ukrainian, I will be grateful if you officially add it.
My language meets all your parameters.

It is not enough to just provide translation files, you need to make some code changes for this.
You must have some development knowledge to do this, please refer to here:
https://github.com/MCSManager/MCSManager/issues/1215


[Product] make product table head sticky in specs tab

In the "Specifications & Options" tab, the product head is sticky if page is scrolled down. It should be agnostic to the table limit only, not the full page height.

@duynguyen that still open?

yes this is still open.


Disable hotkey on context

I am trying to set it so my mouse side buttons revert back to the default values when Overwatch is in front.  But this does not appear to work
def is_overwatch():
    return ahk.visible_windows.get_active().process_name == "Overwatch.exe"

overwatch_ctx = ahk.HotkeyContext(is_overwatch)
overwatch_ctx.hotkey("XButton2").disable()
overwatch_ctx.hotkey("XButton1").disable()

I also tried also no luck
overwatch_ctx.hotkey("XButton2", lambda hotkey: hotkey.disable())
overwatch_ctx.hotkey("XButton1", lambda hotkey: hotkey.disable())

I also tried
overwatch_ctx.hotkey("XButton2", ahk.send("XButton2"))
overwatch_ctx.hotkey("XButton1", ahk.send("XButton1"))

This finally worked, but it still means that AHK is sending the button
overwatch_ctx = ahk.HotkeyContext(is_overwatch)
overwatch_ctx.hotkey("XButton2", lambda : ahk.send("{XButton2}"))
overwatch_ctx.hotkey("XButton1", lambda : ahk.send("{XButton1}"))

rather than letting the OS handle

Another option is creating a "non-Overwatch" context for your XButton1 and XButton2 hotkeys.
non_overwatch_ctx = ahk.inactive_window_context(exe="Overwatch.exe")
non_overwatch_ctx.hotkey("XButton1", ...)  # Your regular hotkey
non_overwatch_ctx.hotkey("XButton2", ...)

Another option is creating a "non-Overwatch" context for your XButton1 and XButton2 hotkeys.

The problem with that approach is I have to do that for every sort of do an "and" since it's not just Overwatch that may be doing FPS.

Here's yet another option, using the ~ modifier:
overwatch_ctx = ahk.active_window_context(exe="Overwatch.exe")
overwatch_ctx.hotkey("~XButton1", lambda: None)
overwatch_ctx.hotkey("~XButton2", lambda: None)

It makes the buttons do their default action, overriding the global hotkey, and I think it passes through the original event.

I don't think any changes are needed in AutoHotkey.py, so I'll close it.


A dead link in DemoInstructions.md

Hi.  Just a report.
Following DemoInstructions.md, I accessed to the following url by clicking a link in "Use the Verifiable Credential Identity Provider" section.
https://csb-audio.pathfinder.gov.bc.ca/
The service responded with the below error page (the HTTP status code was 503, not 404).

I'm not sure if this is temporary, but if not, we have to amend the link.

We've been moving demos around.  Thanks for the note and sorry about the issue. We're looking at how to address this.


Update entrypoint script for NGC

ngc batch run accepts the user-supplied command (executable & arguments) as a single string, which is fed to the /.run_in_rapids script as one argument (e.g. ngc batch run --commandline "echo hello world" ... produces /.run_in_rapids "echo hello world"). If we exec "$@" then we end up trying to invoke an executable named "echo hello world", instead of an executable named "echo" with arguments "hello" and "world".
For a concrete example, invoking the rapids image like so:
ngc batch run --instance dgx1v.16g.1.norm --name "rapids-entrypoint" --image "nvidia/rapidsai/rapidsai:cuda10.2-base-ubuntu18.04" --result /result --commandline "echo hello world" --total-runtime 10M --use-image-entrypoint

produces the output:
/.run_in_rapids: line 4: exec: echo hello world: not found

The same happens even if we supply the same input through a json file:
{
    "aceInstance": "dgx1v.16g.1.norm",
    "aceName": "nv-us-west-2",
    "command": "echo hello world",
    "dockerImageName": "nvidia/rapidsai/rapidsai:cuda10.2-base-ubuntu18.04",
    "name": "rapids-entrypoint",
    "resultContainerMountPoint": "/result",
    "runPolicy": {
        "preemptClass": "RUNONCE",
        "totalRuntimeSeconds": 600
    },
    "useImageEntryPoint": true
}

With the proposed change the same NGC command line works as expected. It can't handle whitespace in arguments, but given the constraints of the NGC command-line interface, that would require a more involved solution.

After discussing this with @ajschmidt8 it sounds like exec "@" is a pretty established convention, and changing it would affect some of the rapids Jenkins jobs, where this syntax is used: docker run rapidsai/rapidsai-nightly bash -c "some command here". Therefore we're closing this PR.
I explained the situation to the NGC slack channel and asked if they have a workaround. We didn't hear anything back from the admins, so I assume there is no proper workaround, but @marcinz suggested skipping the image's entrypoint (as NGC does by default) and feeding the entire command, including the entrypoint script invocation, in the --commandline argument, e.g. --commandline "/.run_in_rapids echo hello world".

The way I deal with this is that I have a script that is called by the NGC command. I simply pasted in the relevant part of the .run_in_rapids script into my script, which for now seems to boil down to:
logger "Activate conda env..."
conda activate rapids

I think I forgot:
. /opt/conda/etc/profile.d/conda.sh


Converting distances to anomaly scores between 0 and 1.

Hi @Pangoraw,
How can we convert the distances to anomaly scores between 0 and 1, where 1 is for the anomalous sample and 0 for non-anomalous? For example if this is the distance matrix tensor([[0.9866],         [0.9866],         [0.9869],         ...,         [1.3533],         [1.3511],         [1.3511]]) we have of shape torch.Size([4096, 1]) for single image. How to convert these distances into a single anomaly score between 0 and 1.
Thanks

it is not really straightforward, since what constitutes an anomalous sample depends on your data/requirements. This is why most testing methods use the ROC curve metric to not have to set a classification threshold.
Consider the following, you have a sample which as an anomaly score of 1, but then you later receive a sample which can be considered even more anomalous, what should be its score?

Okay.


Complete the Pyflakes documention

Summary
Completes the documentation for the Pyflakes rules.
Related to #2646.
Test Plan
python3 scripts/generate_mkdocs.py && python3 scripts/check_docs_formatted.py

Thanks!


Show comments count in post meta area for Hexo Next theme

为 Hexo Next 主题添加文章副标题显示评论数

Coverage remained the same at 100.0% when pulling 61ee680452bbe04b9f52f21de0a6086f012bf0f1 on ehlxr:master into 3c17048b6027e095e89704ec422ebd9521cd26a0 on gitalk:master.


[WARNING] Encountered 403 Forbidden with reason "PERMISSION_DENIED"

Crash when Identity and Access Management (IAM) API is not enabled.
 OS Config service account has the required permissions.
[WARNING] Encountered 403 Forbidden with reason "PERMISSION_DENIED"
   ... fetching IAM roles: projects/my-projectTraceback (most recent call last):
  File "/opt/gcpdiag/gcpdiag/queries/iam.py", line 221, in get_project_policy
   ... executing monitoring query (project: my-project)    return ProjectPolicy(project_id)
  File "/opt/gcpdiag/gcpdiag/queries/iam.py", line 212, in __init__
    self._custom_roles = _fetch_roles('projects/' + self._project_id,
  File "/opt/gcpdiag/gcpdiag/queries/iam.py", line 58, in _fetch_roles
    response = request.execute(num_retries=config.API_RETRIES)
  File "/opt/gcpdiag/.venv/lib/python3.9/site-packages/googleapiclient/_helpers.py", line 131, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/opt/gcpdiag/.venv/lib/python3.9/site-packages/googleapiclient/http.py", line 937, in execute
    raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 403 when requesting https://iam.googleapis.com/v1/projects/my-project/roles?view=FULL&alt=json returned "Identity and Access Management (IAM) API has not been used in project<PHONE_NUMBER> before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/iam.googleapis.com/overview?project=1234567890 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.". Details: "[{'@type': 'type.googleapis.com/google.rpc.Help', 'links': [{'description': 'Google developers console API activation', 'url': 'https://console.developers.google.com/apis/api/iam.googleapis.com/overview?project=1234567890'}]}, {'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'SERVICE_DISABLED', 'domain': 'googleapis.com', 'metadata': {'consumer': 'projects/1234567890', 'service': 'iam.googleapis.com'}}]">

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/gcpdiag/bin/gcpdiag", line 65, in <module>
    main(sys.argv)
  File "/opt/gcpdiag/bin/gcpdiag", line 43, in main
    lint_command.run(argv)
  File "/opt/gcpdiag/gcpdiag/lint/command.py", line 194, in run
    exit_code = repo.run_rules(context, report, include_patterns,
  File "/opt/gcpdiag/gcpdiag/lint/__init__.py", line 351, in run_rules
    rule.prefetch_rule_future.result()
  File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 445, in result
    return self.__get_result()
  File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/gcpdiag/gcpdiag/lint/gce/err_2021_002_osconfig_perm.py", line 34, in prefetch_rule
    iam.get_project_policy(pid)
  File "/opt/gcpdiag/gcpdiag/caching.py", line 145, in _cached_api_call_wrapper
    return lru_cached_func(*args, **kwargs)
  File "/opt/gcpdiag/gcpdiag/queries/iam.py", line 223, in get_project_policy
    raise utils.GcpApiError(err) from err
gcpdiag.utils.GcpApiError: can't fetch data, reason: Identity and Access Management (IAM) API has not been used in project<PHONE_NUMBER> before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/iam.googleapis.com/overview?project=1234567890 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
[WARNING] Encountered 403 Forbidden with reason "PERMISSION_DENIED"
[WARNING] Encountered 403 Forbidden with reason "PERMISSION_DENIED"
[WARNING] Encountered 403 Forbidden with reason "PERMISSION_DENIED"
   ... still fetching logs (project: my-project, resource type: k8s_node, max wait: 112s)%

Thanks for reporting this! This issue should be fixed in the next release.


Faster implementation of Kendall tau distances

One can speed up the computation (by about 10x) of KT distances by using the definition of itertools.combinations which respects the ordering of the iterator it is passed. See https://gist.github.com/DominikPeters/92abecfc7c1ee0396ef7b0d42c3c7685

Great!   Thanks.


debugging.md: Automatically generate the sample dumps from the build bot

Keeping these automatically up to date would be amazing.

Is this still relevant? I couldn't find a debugging.md


Fix for Incompatibility with JS Strict mode

Issue #335
Description of changes: This library has been long incompatible with Strict mode. This becomes an issue when wanting to use the library in frameworks like Angular, React, Svelte, or Salesforce's Lightning Web Components. Making it compatible was fairly simple:
Each source file contained the following code at the top
var global = this;
connect = global.connect || {};

This is problematic for 2 reasons:

The use of this makes assumptions on how the library was loaded. The goal is to set a window level (global) variable, but this does not always reference window, notably when the library is included within another framework. The following change resolves this issue: var global = this || window;
At this point, connect is undefined. Without strict, this would create a global variable, but with strict, it is an error. However, since connect is immediately added as an attribute of the previously created global, there is no reason for it to be global, thus it is remedied by var connect = global.connect || {}

The last fix is left up to interpretation of whoever review this PR.
In aws-client.js, on line 2863, '2011-06-15' is defined as a property of apiLoader.services['sts'] with a getter but no setter. On line 21098, there is an attempt to set the property. As it stands now, defining the property on line 2963 is pointless as it's value is guaranteed to be overwritten, but I chose to comment out the latter instead. Please provide guidance on the reason for this code if such exists.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@stackasaur, can you please rebase your pull request with the most recent version of streams, and we will be able to merge the request after that

@vpogudina done

I can confirm this works for me in a React app i'm building...
I have cloned @stackasaur's repo, and used that via yarn add <path to repo> and now i can integrate the CCP as a React Functional component, with either useEffect or useCallback hooks to load the streams api...
Previoulsy i had to load the streams api directly in the html via
<script src="./assets/connect-streams-min.js"></script>


GitHub Actions implementation

WIP PR. This PR shows the current progress on the GitHub Actions integration. The Flask Mocking Server is feature complete. The MockServer class contains the logic to setup the server. The method "start_server" spins up a WSGI Server. The classes Authentication, LoggingService, VmonService contain the logic that the Server needs. The RequestHandler class contains the central control logic for the other classes.
The testcases are WIP. With the WSGI it is possible to spin up a non blocking Flask Server for pytest (deamon thread). An example is attached to this PR.

Mocking Server and testcases are implemented.
Currently 5 tests are failing:
in test_connection:
test_login_logout_failure:
fails, because logout just logs it's status and therefore returns 'None' (2 fails)
test_logout_success:
fails, because logout returns 'None' instead of 'False' (1 fail)
in test_metric_output:
test_vcenter_backend_down:
because the vcsa currently appends metrics data during runtime, the backend down test fails. (1 fail)
test_consecutive_runs:
because the vcsa currently appends metrics data during runtime, the backend down test fails. (1 fail)
the GitHub Actions file still needs to be implemented. This will happen the following days.

A more general note, consider using self.assertEqual, self.assertFalse etc to add error messages what is currently failing and why we expect that. For instance this is supposed to fail, because a login is missing: https://github.com/sapcc/vcsa-exporter/pull/7/files#diff-dfbf691ce15248c24632831234785fc221b10763ff99e326336d4ca328daa9d6R48
which is not really obvious if you don't have insight.

A more general note, consider using self.assertEqual, self.assertFalse etc to add error messages what is currently failing and why we expect that. For instance this is supposed to fail, because a login is missing: https://github.com/sapcc/vcsa-exporter/pull/7/files#diff-dfbf691ce15248c24632831234785fc221b10763ff99e326336d4ca328daa9d6R48
which is not really obvious if you don't have insight.

I can't really mix pytest with unittest, because there are limitations for that. I wouldn't be able to  use non-autouse fixtures or parametrization for example. Refering to: https://docs.pytest.org/en/stable/unittest.html.
What I can do however is adding custom error messages which will be shown instead of the generic ones. I presume that's the same effect you are looking for. Please contact me to get more into detail with the desired requirements.

Very solid point. If you find a way, to make failing test reasons transparent, I would be pleased 👍 . At least for the asserts, where it is not really obvious. Got to add an inline comment.

I removed the parameters, which were used for one test, reducing the testcount from 12 to 9 (3 tests, 3 parameters).
I added the tests 'test_login_failure', 'test_logout_failure', increasing the testcount to 11.
I added the test 'test_vcenter_backend_up' which increases the testcount to 12 again.
Now we expect 4 Tests to fail, 8 to succeed, because 'test_vcenter_backend_up' succeeds.


Build releases, maybe even packages?

First off, thank you for writing this!
I'd love to see either releases or maybe even distro packages. Seems like the former is a lighter lift since it can all be done with GitHub actions.

@mattn I would be very much interested in this. Would it be possible to release a binary package in github release and possibly an aur package for archlinux?
For rust packages I have automated this. You can refer to the following files.

ci.yml.For publishing to AUR, it downloads binaries from github release. You need to create an AUR account and add a ssh key, then set AUR_EMAIL, AUR_USERNAME and AUR_SSH_PRIVATE_KEY in github secrets for the project.
genpkgbuild.sh to create PKGBUILD file to create AUR package.

You already have release working for gof so you could probably use the same ci pipelines and script to create the github release.

If someone make pull-request, I'll merge it , thank you.


setuptools + pbr broken on Jython 2.7.0

I'm running into an issue using a combination of setuptools and pbr on Jython, that produces this error:
Traceback (most recent call last):
  File "setup.py", line 24, in <module>
    setup(
  File "/home/chaos/jython2.7.0/Lib/distutils/core.py", line 112, in setup
    _setup_distribution = dist = klass(attrs)
  File "/home/chaos/jython2.7.0/Lib/distutils/core.py", line 112, in setup
    _setup_distribution = dist = klass(attrs)
  File "/home/chaos/workspace/omniconf/vendor/Lib/site-packages/setuptools/dist.py", line 320, in __init__
    _Distribution.__init__(self, attrs)
  File "/home/chaos/jython2.7.0/Lib/distutils/dist.py", line 287, in __init__
    self.finalize_options()
  File "/home/chaos/workspace/omniconf/vendor/Lib/site-packages/setuptools/dist.py", line 387, in finalize_options
    ep.load()(self, ep.name, value)
  File "/home/chaos/workspace/omniconf/.eggs/pbr-3.0.0-py2.7.egg/pbr/core.py", line 98, in pbr
    _monkeypatch_distribution()
  File "/home/chaos/workspace/omniconf/.eggs/pbr-3.0.0-py2.7.egg/pbr/core.py", line 62, in _monkeypatch_distribution
    core.Distribution = dist._get_unpatched(core.Distribution)
  File "/home/chaos/workspace/omniconf/vendor/Lib/site-packages/setuptools/dist.py", line 29, in _get_unpatched
    return get_unpatched(cls)
  File "/home/chaos/workspace/omniconf/vendor/Lib/site-packages/setuptools/monkey.py", line 30, in get_unpatched
    return lookup(item)
  File "/home/chaos/workspace/omniconf/vendor/Lib/site-packages/setuptools/monkey.py", line 44, in get_unpatched_class
    base = next(external_bases)
StopIteration

All versions >= 32.3.0 are affected, which leads me to believe that this change introduced the bug.
Steps to reproduce:

Install Jython 2.7.0 (see https://github.com/LordGaav/omniconf/blob/develop/.travis.yml for steps)
Update and install pip, setuptools and virtualenv in Jython: /path/to/jython/bin/pip install -U pip setuptools virtualenv
Checkout my fork of omniconf: https://github.com/LordGaav/omniconf and checkout setuptools+pbr+jython-bug .
Create a Jython virtualenv: /path/to/jython/bin/virtualenv env and enter it.
python setup.py install will produce the error.
Do pip install setuptools==32.0.0 .
python setup.py install works as expected.

That change was made intentionally to address #889. Can you debug in the Jython environment and determine where the behavior goes awry? Is it that inspect.getmro behaves differently on Jython? What does the result of inspect.getmro(cls) look like in that context? What does cls.__bases__ look like?

Given a virtualenv with Jython 2.7.0 and these dependencies:
$ pip freeze --all
appdirs==1.4.3
packaging==16.8
pbr==3.0.0
pip==9.0.1
pyparsing==2.2.0
setuptools==35.0.1
six==1.10.0
wheel==0.29.0

I changed the method to this:
def get_unpatched_class(cls):
    """Protect against re-patching the distutils if reloaded

    Also ensures that no other distutils extension monkeypatched the distutils
    first.
    """
    print("MRO")
    print(inspect.getmro(cls))
    print("Bases")
    print(cls.__bases__)
    external_bases = (
        cls
        for cls in inspect.getmro(cls)
        if not cls.__module__.startswith('setuptools')
    )
    print("external_bases")
    print(external_bases)
    print("---")
    base = next(external_bases)
    if not base.__module__.startswith('distutils'):
        msg = "distutils has already been patched by %r" % cls
        raise AssertionError(msg)
    return base

Which produced this output when calling python setup.py install:
$ python setup.py install
MRO
(<class distutils.extension.Extension at 0x19a>,)
Bases
()
external_bases
<generator object at 0x19b>
---
MRO
(<class distutils.dist.Distribution at 0x19d>,)
Bases
()
external_bases
<generator object at 0x19e>
---
MRO
(<class distutils.cmd.Command at 0x19f>,)
Bases
()
external_bases
<generator object at 0x1a0>
---
MRO
(<class setuptools.dist.Distribution at 0x1a1>, <class setuptools.py36compat.Distribution_parse_config_files at 0x1a2>)
Bases
(<class setuptools.py36compat.Distribution_parse_config_files at 0x1a2>, <class distutils.dist.Distribution at 0x19d>)
external_bases
<generator object at 0x1a3>
---

When doing the same on Python 3.4, this is the output:
$ python setup.py install
MRO
(<class 'distutils.extension.Extension'>, <class 'object'>)
Bases
(<class 'object'>,)
external_bases
<generator object <genexpr> at 0x7ff9b616b7e0>
---
MRO
(<class 'distutils.dist.Distribution'>, <class 'object'>)
Bases
(<class 'object'>,)
external_bases
<generator object <genexpr> at 0x7ff9b5a2bf30>
---
MRO
(<class 'distutils.cmd.Command'>, <class 'object'>)
Bases
(<class 'object'>,)
external_bases
<generator object <genexpr> at 0x7ff9b5a2bfc0>
---
MRO
(<class 'setuptools.dist.Distribution'>, <class 'setuptools.py36compat.Distribution_parse_config_files'>, <class 'distutils.dist.Distribution'>, <class 'object'>)
Bases
(<class 'setuptools.py36compat.Distribution_parse_config_files'>, <class 'distutils.dist.Distribution'>)
external_bases
<generator object <genexpr> at 0x7ff9b5a084c8>
---

By the way, doesn't the cls parameter get overwritten by the new cls variable in the list comprehension?

Some more data, when checking how Jython handles cls.__module__, I changed the function to look like this:
def get_unpatched_class(cls):
    """Protect against re-patching the distutils if reloaded

    Also ensures that no other distutils extension monkeypatched the distutils
    first.
    """
    print("MRO")
    print(inspect.getmro(cls))
    print("Bases")
    print(cls.__bases__)
    external_bases = []
    for cls in inspect.getmro(cls):
        print(cls.__module__)
        if not cls.__module__.startswith('setuptools'):
            external_bases.append(cls)
    print("external_bases")
    print(external_bases)
    print("---")
    base = next(iter(external_bases))
    if not base.__module__.startswith('distutils'):
        msg = "distutils has already been patched by %r" % cls
        raise AssertionError(msg)
    return base

Which produces on Jython:
$ python setup.py install
MRO
(<class distutils.extension.Extension at 0x19a>,)
Bases
()
distutils.extension
external_bases
[<class distutils.extension.Extension at 0x19a>]
---
MRO
(<class distutils.dist.Distribution at 0x19c>,)
Bases
()
distutils.dist
external_bases
[<class distutils.dist.Distribution at 0x19c>]
---
MRO
(<class distutils.cmd.Command at 0x19d>,)
Bases
()
distutils.cmd
external_bases
[<class distutils.cmd.Command at 0x19d>]
---
MRO
(<class setuptools.dist.Distribution at 0x19e>, <class setuptools.py36compat.Distribution_parse_config_files at 0x19f>)
Bases
(<class setuptools.py36compat.Distribution_parse_config_files at 0x19f>, <class distutils.dist.Distribution at 0x19c>)
setuptools.dist
setuptools.py36compat
external_bases
[]
---

And on Python 3.4:
$ python setup.py install
MRO
(<class 'distutils.extension.Extension'>, <class 'object'>)
Bases
(<class 'object'>,)
distutils.extension
builtins
external_bases
[<class 'distutils.extension.Extension'>, <class 'object'>]
---
MRO
(<class 'distutils.dist.Distribution'>, <class 'object'>)
Bases
(<class 'object'>,)
distutils.dist
builtins
external_bases
[<class 'distutils.dist.Distribution'>, <class 'object'>]
---
MRO
(<class 'distutils.cmd.Command'>, <class 'object'>)
Bases
(<class 'object'>,)
distutils.cmd
builtins
external_bases
[<class 'distutils.cmd.Command'>, <class 'object'>]
---
MRO
(<class 'setuptools.dist.Distribution'>, <class 'setuptools.py36compat.Distribution_parse_config_files'>, <class 'distutils.dist.Distribution'>, <class 'object'>)
Bases
(<class 'setuptools.py36compat.Distribution_parse_config_files'>, <class 'distutils.dist.Distribution'>)
setuptools.dist
setuptools.py36compat
distutils.dist
builtins
external_bases
[<class 'distutils.dist.Distribution'>, <class 'object'>]
---

It does seem that inspect.getmro behaves differently on Jython than on Python 3.4. distutils.dist.Distribution is missing, which I assume is the base of setuptools.dist.Distribution .

Changing the method to this seems to fix the issue by sidestepping inspect.getmro:
def get_unpatched_class(cls):
    """Protect against re-patching the distutils if reloaded
    Also ensures that no other distutils extension monkeypatched the distutils
    first.
    """
    external_bases = (
        cls
        for cls in (cls,) + cls.__bases__
        if not cls.__module__.startswith('setuptools')
    )
    base = next(external_bases)
    if not base.__module__.startswith('distutils'):
        msg = "distutils has already been patched by %r" % cls
        raise AssertionError(msg)
    return base

I'm not sure if this introduces any other issues. inspect.getmro seems to just return a list of all base classes (including the class itself), sorted by the MRO. cls.__bases__ also seems to do this, except it doesn't include the class itself.

I don't understand why inspect.getmro isn't returning the full mro on Jython. I've tried replicating what you're seeing with a simple example and I'm unable to do so. Does the issue you have only occur when you're using pbr or can you make it happen with setuptools alone? I'd prefer to know more about the underlying cause.
I'm disinclined to accept the workaround you've provided because __bases__ and getmro return different things more than just the leading class. getmro also returns bases of bases, or at least it should. If we are to move forward with a workaround, I'd want the workaround to be implemented as a standalone adapter with documented purpose and only invoked on Jython, relying on the preferred implementation by default.

I've figured it out - it's a bug/limitation of Jython. The issue appears to be that because both distutils.dist.Distribution and setuptools.dist.Distribution are called Distribution, getmro only returns the first. You can see the same running the following on Jython:
class OtherNamespace:
	class Y:
		pass

class Y:
 pass

class Z(OtherNamespace.Y, Y):
 pass

import inspect

print(inspect.getmro(Z))

It outputs
(<class __main__.Z at 0x2>, <class __main__.Y at 0x3>)

Run it on CPython and you'll see multiple Y classes.
(<class __main__.Z at 0x10100cbb0>, <class __main__.Y at 0x10100ca78>, <class __main__.Y at 0x10100cb48>)

I've [filed an issue upstream]. At this point, I'll welcome a patch per my guidelines above.


barebones output

There may be cases where one has a full website with layout that they like and don't want to change the whole lot, however they may want to have pages where they can just copy paste generated content.
For this purpose, it might be a good idea to have an ultra-bare-bone generation process where the part they'd have to copy and paste would be easy to pick out.

seval in tests does this; could probably just wrap it a bit and export it (though it won't do pre-rendering etc).


chore: commons-fileupload version update

commons-fileupload version update

@vbonamy is it OK for you if I merge this change into 3.2.x branch too ? I'm running with this library update since several month and I didn't report a problem. This change is important as it's a security fix.


fixed the accidentally masking problem for input_ids with --do_mlm

Hi! Thanks for your open source code for SimCSE.
In your code, input_ids will be accidentally applied 15% masking if --do_mlm.
I have read your SimCSE paper carefully. In my understanding, if we add --do_mlm, input_ids is for contrastive learning and mlm_input_ids is for MLM training, so input_ids should not have the 15% masking. However, when printing out the mini-batch, input_ids also has 15% masking, and (input_ids == mlm_input_ids).all() is True. I show the results here: (103 is the mask token id of bert-base-uncased)
(Pdb) input_ids
tensor([[[  101,  2023,  3291,  ...,  1996,  4942,   102],
         [  101,  2023,   103,  ...,  1996,   103,   102]],

        [[  101, 18887,  1005,  ...,     0,     0,     0],
         [  101, 18887,  1005,  ...,     0,     0,     0]],

        [[  101, 23564,  3593,  ...,   103,  2007,   102],
         [  101, 23564,  3593,  ...,  6736,  2007,   102]],

        ...,

        [[  101,   103, 18730,  ...,     0,     0,     0],
         [  101,  1996, 18730,  ...,     0,     0,     0]],

        [[  101, 17710, 23385,  ...,  7721,  4547,   102],
         [  101, 17710, 23385,  ...,  7721,  4547,   102]],

        [[  101,  2096,  1996,  ...,     0,     0,     0],
         [  101,   103,  1996,  ...,     0,     0,     0]]], device='cuda:0')

(Pdb) mlm_input_ids
tensor([[[  101,  2023,  3291,  ...,  1996,  4942,   102],
         [  101,  2023,   103,  ...,  1996,   103,   102]],

        [[  101, 18887,  1005,  ...,     0,     0,     0],
         [  101, 18887,  1005,  ...,     0,     0,     0]],

        [[  101, 23564,  3593,  ...,   103,  2007,   102],
         [  101, 23564,  3593,  ...,  6736,  2007,   102]],

        ...,

        [[  101,   103, 18730,  ...,     0,     0,     0],
         [  101,  1996, 18730,  ...,     0,     0,     0]],

        [[  101, 17710, 23385,  ...,  7721,  4547,   102],
         [  101, 17710, 23385,  ...,  7721,  4547,   102]],

        [[  101,  2096,  1996,  ...,     0,     0,     0],
         [  101,   103,  1996,  ...,     0,     0,     0]]], device='cuda:0')

(Pdb) (input_ids == mlm_input_ids).all()
tensor(True, device='cuda:0')

As a result, I add a line inputs = inputs.clone() in the mask_tokens() function in your train.py. It should solve the problem.

Hi! Thanks for pointing this out! You are right, the inputs will be accidentally masked.


set the minSDK version to 18

flutter webrtc uses minSDK version 18 so this example app  won't run until you change the minSDK version on android

We need a smarter script to modify AndroidManifest.xml and build.gradle from the command line when creating a flutter project with project_tools.sh.
The issue is similar to #3

fixed https://github.com/cloudwebrtc/dart-sip-ua/commit/9eaa7fad96f67ee0c088798beca4b4e77fea0f48


doc: Add CONTRIBUTING.md with Developer Certification of Origin

Signed-off-by: Kumar Gala<EMAIL_ADDRESS>

I thought we wanted to pull the contribution guidelines from the wiki and add the DCO to that as well, to have everything in one page.

We probably did, but figured I'd get something out to door today.

If you ask nice, I'll pick up this task and merge the contribution guide material in as well (as a .rst file :)

@dbkinder do you picking up this change, converting it to .rst and merging it with https://github.com/zephyrproject-rtos/zephyr/wiki/Contribution-Guide?

I'd be happy to.  If you abandon/close this, I'll work on the CONTRIBUTING.rst tomorrow.

Superseded by #944