[FancyZones Editor]: FancyZones editor window does not adapt 225% resize mode setting.

Microsoft PowerToys version
"0.35.0"
Running as admin

[ ] Yes

Area(s) with issue?
FancyZones Editor
Steps to reproduce
Test Environment:
OS: Windows 10 Build 21354.1
App version: 0.35.0
App name: PowerToys
Screen Reader: Narrator
Tool: Accessibility Insight for Windows
Pre-Requisite:

Go to settings > Display settings > Set the resolution to 1280*768.
Set the slider value to maximum i.e. 225% (Settings -> Ease of access -> text scaling) and Apply.

Repro Steps

Launch 'PowerToys' application.
Application will get open with default list item 'General' selected.
Navigate to 'FancyZones' at the left side of the pane and activate it.
Now navigate to 'Launch layout editor' button and activate it.
FancyZones editor window will get open.
Observe the issue.

User Impact: Priority-1
If any application does not support resizing of text without loss of content or functionality, the users with mild visual disabilities who scales the text instead of using the assistive technology would be impacted as zooming will not work as desired.
MAS Reference:
https://microsoft.sharepoint.com/:w:/r/sites/accessibility/_layouts/15/Doc.aspx?sourcedoc={5BE8E205-7508-414C-A273-657770321DA0}&file=MAS 1.4.4 – Resize Text.docx&wdLOR=cD434D0F2-F515-4FD8-B4DA-BA99282968ED&action=default&mobileredirect=true&cid=e8a7e0cb-a049-4c6a-b020-862f20088e4c
MAS1.4.4_Edit zone editor window not adapting resize setting.zip
✔ Expected Behavior
FancyZones editor window should adapt 225% resize mode setting.
❌ Actual Behavior
FancyZones editor window does not adapt 225% resize mode setting.
Other Software
No response

Related issue with Settings > Display > Scale and layout

Set resolution to "Recommended" (e.g. 3840x2400)
Set scale and layout to 225% or less (when recommended is 300%).
Activate FancyZones

Expected Behavior:
FancyZones editor layout and actual layout are adjusted to Scale and layout settings.
Actual Behavior:
FancyZones editor layout appears correctly but actual layout is shrunk proportional to the scale.

I believe this is blocked until we port FZE to UWP.
Ability to scale text for accessibility was initially added to UWP, but then was implemented in WPF as a patch (?).
The crucial difference between the implementations is that the text elements with FontSize property are not affected by system font scaling setting value in WPF apps, while they are affected in UWP apps. That could be tested easily by creating blank UWP/WPF apps with a following element:
<TextBlock Text="THE TEXT" FontSize="24"/>

and then changing the system-wide font scaling and observing the (lack of) changes.
In FZE we also use ui:WindowHelper.UseModernWindowStyle="True", which, among other things, sets default sizes for all TextBlock elements.
Even if we don't rely on ModernWPF default styles and reinvent them ourselves, we'll need to have a way to subscribe to font scale change events. It's easy in UWP, since it has UISettings.TextScaleFactorChanged event, but we'll have to rely on, as far as I understand, an undocumented registry value for that in WPF. Then we could use VisualTreeHelper to traverse the whole app's tree to set new FontSizes manually for all required elements. The other alternative is to inherit from TextBlock,Label... etc. standard control classes and create an event channel which would be raise events triggered by registry value changes.
I don't think any of the options described above are worth it, though I'm not a WPF expert, so I might be missing something here.
cc: @crutkas @niels9001

Yeah, I've always struggled with scaling and WPF. A lot of that solves itself by moving to WinUI / XAML Islands.

I guess it's because the editor is missing an app.manifest file where dpi awareness has to be declared.
Example https://github.com/fluentribbon/Fluent.Ribbon/blob/develop/Fluent.Ribbon.Showcase/app.manifest
You should be able to just copy that file and replace Fluent.Rbbon with something else.

Thanks for the suggestion! I've tried coping <application xmlns="urn:schemas-microsoft-com:asm.v3"> to our app.manifest but it didn't  have any effect. I guess that's because the system option is not directly related to dpi, but to accessibility?

Ah, my fault. I thought DPI = scale. Never used the slider for text and even forgot that it exists.

Hello @crutkas
Kindly provide component's URL or code pen or any other details from where the UI and other components were picked such that, such that partner team can identify the component.

see https://github.com/microsoft/PowerToys/issues/10766#issuecomment-936944597
https://github.com/dotnet/wpf/issues/5405

This issue is not reproducible after changing the DPI method setting(custom scaling to 200%). Hence closing this bug.


fix(firebase messaging, android):  update getParcelableExtra() for Android 33.

Description
Countermeasures for the deprecation of the 'getParcelableExtra(String key)' method in Android API version 33.
ref: https://developer.android.com/sdk/api_diff/t-beta2-incr/changes/android.content.Intent
Related Issues
Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR. Note that you'll have to prefix the issue numbers with flutter/flutter#.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] The analyzer (melos run analyze) does not report any problems on my PR.
[ ] I read and followed the Flutter Style Guide.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

this issue is still happening to me


Add owner to oid mismatch rollbar trace

Self explanatory :)
CR @javitonino please!

Logging master approves :shipit:

:joy:


ZSMIO5 School

@pozytywnyozdobka Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

You can provide us with any of the following as the proof:

A copy of instruction (a hard-copy or electronic one) given to you by the school that tells you to use an email address in this email domain
An URL of a page at the official school website that says that students use this email domain
A reference to a recognized journal where an article was published by someone from the school, with explicit affiliation to the school, and e-mail address from the email domain
A WHOIS data that link the email domain to the school somehow
A copy of official letter from the school representative saying that the school provides e-mail addresses in this domain to the students
Anything else that can prove this fact in similar way, i.e. can be verified independently.

@pozytywnyozdobka You might miss my previous comment. Please react.

@pozytywnyozdobka I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for your understanding!


Add user management documentation

@davisein, @rchakra1, @amwatson1s, please review

@davisein, @rchakra1, @amwatson1s, could you please review? Thanks!

Waiting on requested reviews

Hey @davisein, @rchakra1, @amwatson1s, could you please review? Thanks!

looks good


additional index APIs

Adding the following APIs to the index interface in c_api:

faiss_Index_merge_from() - making the existing merge_from() from the faiss namespace part of the c_api.
faiss_Index_reconstruct_batch() - making the existing reconstruct_batch() from faiss namespace to be part of c_api.

Adding a new API to the IndexIVF interface in c_api:

faiss_IndexIVF_set_direct_map() - making the existing set_direct_map() API of the IndexIVF interface from faiss namespace to the c_api, which will help in supporting add_with_ids() for the IVF family of indexes usign the C APIs.

Github won't let me approve me approve this, because I raised the PR with @Thejas-bhat 's commits :|
This looks good, merging.


Floating WhatsApp-Help-desk button with opening-hours-widget

As a "user"
I want to see the WhatsApp/Help-desk button prominently with opening-hours,
So that I see whether the help-desk would be available right now.

See also: https://www.figma.com/file/aK5YxTteydm08nKWWIeWMy/510-HIA?node-id=912%3A6314
Details

When de data (WhatsAppNumber, HelpDeskOpeningHours) is available, the button should be visible 'collapsed' by default.
The icon should change from "left-pointing" to "right-pointing"
The text-label + opening-hours should be clickable to open the WhatsApp-link (in a new window)
The WhatsApp-link should be of the format: https://wa.me/31600000000
(optonal?) When clicking/tapping 'outside' the widget, it should 'collapse'/go off-screen

To Do

[ ] Create a new FloatingHelpDeskButton-component
[ ] Prepare/get data of opening-hours
[ ] Add toggle logic
[ ] (?) Add animations

WhatsApp button also needed on the landing page

WhatsApp button also needed on the landing page

It is possible to include the WhatsApp(or Telegram, or phone) contact-option as a configurable thing on the 'instance level'.
Changing the number or 'turning the button on/off' will require a code-change, instead of only a change in the sheet.
We could also get to the situation where the landing-page-button has a different number from the region-page-button... But that is just something to keep in mind I think...
@JLijftogt I also wonder; Is this design (with the interactive-sliding-widget-thing) still relevant?
Or would a 'simpler' shape also work, for example:

So it would be a (not too high) fixed positioned footer?
This would save some hassle/complexity in building a 'togglable' widget (of which the functionality could be missed by visitors, so they would never see the opening hours etc..)...


Registry API Command Versioning

This is a revival of @withoutboats' PR (https://github.com/rust-lang/cargo/pull/4747) with a few other changes. I can split this up if necessary. This includes the following:

Add commands to config.json in the index which indicates which version of each command the registry supports. Example:
{
    "dl": "https://crates.io/api/v1/crates",
    "api": "https://crates.io",
    "commands": {
        "publish":  ["v1"],
        "yank":     ["v1"],
        "search":   ["v1"],
        "owner":    ["v1"],
        "login":    ["v1"]
    }
}

If commands is not specified, it defaults to v1.

Change registry commands (publish/yank/owner/login) to work the same as search works – the index is only updated if the config file is missing. None of those commands appear to actually use the index directly and are only interested in the config file. The likelyhood of the config file changing is small. This is probably the riskiest change and worthy of discussion.

Rewrite of login command:

In order to check the API version, it needs the config file, which means the index will be downloaded if it is not available.
The --host flag is deprecated/unused. It wasn't used for much before. Now, the interactive part that asks for the token will use {api}/me as the URL in the interactive message.
--registry supports interactive entry of the token (does not require it on the command line).
Displays a message after saving the token (fixes #5868).
Because login now requires an index, some of the tests had to be updated.

Fix so that if api is missing from the config, it will display a nice error message instead of panicking with unwrap.

r? @dwijnand
(rust_highfive has picked a reviewer for you, use r? to override)

Note: the Travis issue is due to https://github.com/rust-lang-nursery/mdBook/issues/852.  I'll look into changing the installed version of mdbook to 0.1.7, which is what we actually use, and doesn't have this problem.

This all looks and sounds great to me, thanks so much! r=me with CI sorted out

@bors r=alexcrichton

:pushpin: Commit ca49031019574a3cd0fa908ec795971cc5b7bf02 has been approved by alexcrichton

:hourglass: Testing commit ca49031019574a3cd0fa908ec795971cc5b7bf02 with merge 84442f7dffb001c98b46fb3c281077717ec77607...

Thanks for seeing this through! We need to make sure we patch rust-lang/crates.io-index before this lands in nightly or no one will be able to publish from the latest nightly.

We need to make sure we patch rust-lang/crates.io-index before this lands in nightly or no one will be able to publish from the latest nightly.

I changed it so that it defaults to "v1" if not specified, so no indexes need to be changed. If/when new commands are added, or old ones are changed, then it will need to be updated.

A few ways:

If api is not specified, no operations are supported.
If a command list is empty, it is not supported. Example: https://github.com/rust-lang/cargo/pull/6442/files#diff-7fc902d482d8c7c7207ef7484fd757d5R621

It seems a bit odd for the "default value" to be ["v1"] instead of []. I don't know how many custom registries are out there, but it seems to me like disrupting them now would make more sense than having a surprising default here. Why not?

@bors r-
It seemed to me the least disruptive choice. This would also impact anyone who has a crates.io development environment.  But that's a fair question, and it's just deferring the disruption until we add/change a command.  I'll switch it to be required.

:sunny: Test successful - status-appveyor, status-travis
State: approved= try=False

Hm, taking a closer look, I'm more concerned about removing the defaults.  If someone updates Cargo and runs login, search, yank, owners, or publish --no-verify, it will fail because the index won't get updated with the new values.  They'll need to run some other command to update the index first, which is unpleasant and confusing.
This is a bit of a pickle.  Ideally Cargo could force an update of the index whenever it is upgraded.  However, there's nowhere convenient to track that.
One alternative is to keep these defaults, and figure out what to do in the future when a new API command is added.  Perhaps that new command could unconditionally update the index, or do something smarter.
Another idea is to drop this PR, and just rely on the endpoint for versioning.  If Cargo wants to use a new version, it could try that (/api/v2/crates/new) and if that 404's, fall back to v1.  New commands could have the same behavior (404, report that it can't be done).  After thinking about it for a while, this is my preference.
Thoughts?

Hm that's a good point about updating crates.io's own index, I don't personally feel too strongly here and if others are ok with 404 fallbacks and behaviors that seems reasonable to me!

Closing in favor of #6466.


Move SierraRecord into the common lib

Make this model available to the bib/item merger. Spun out as a separate patch from #1215.

Since this is a mechanical change, I’ll merge as soon as tests pass.


October 2018 meetup

[ ] Speaker
[ ] Sponsor
[ ] Confirm venue
[ ] Meetup post
[ ] Blog post
[ ] Tweet
[ ] Order pizza
[ ] Record stats
[ ] Invoice sponsor

Hello! I would love to speak at next week's meetup if you don't have a speaker lined up. Here's my proposed abstract!

An Event-ful Evening with JavaScript
Handling events like clicks and keypresses as users interact with your content is essential for any web app. Learn the fundamentals of how events work in JavaScript, including:

an introduction to the DOM Event specification
how to attach event listeners (there's so many ways!)
how event propagation works, what "bubbling" and "capturing" mean, and why you should care
the differences between preventDefault, stopPropagation, and return false (and when you should use each one!)

Whether you're just learning JavaScript or are an experienced front-end developer, you'll walk away with a deeper familiarity with events. You'll be able to implement event listeners with confidence and debug with clarity!
This talk is adapted from an Ember.js-specific talk, Deep Dive on Ember Events.


Fix for "race" in analyze-local-images

Hey,
I've been playing with the analyze-local-images in contrib and kept getting a race whereby the image files e,g layer.tar were being sent to clair before they were untarred and available for analysis.
Essentially piping the output from docker save to ```tar`` needs to be flushed to ensure the output is untarred correctly.
To reproduce -
docker images
REPOSITORY             TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
quay.io/coreos/clair   latest              2ca9be911bd5        24 hours ago        786.2 MB

Run a new instance of clair
markdv@ubuntu:~/go/src/github.com/coreos/clair$ ./clair --db-type=bolt --db-path=/home/markdv/clair-db/database2
2015-11-24 07:11:20.627997 I | database: database at /home/markdv/clair-db/database2 does not exist yet, creating it
2015-11-24 07:11:20.632615 I | api: starting Health API on port 6061.
2015-11-24 07:11:20.633070 I | api: starting API on port 6060.
2015-11-24 07:11:20.634306 I | updater: updater service started. lock identifier: 787369ca-280e-4ed4-98aa-b929ddedbfad
2015-11-24 07:11:20.635345 I | updater: updating vulnerabilities
2015-11-24 07:11:20.635424 I | updater/fetchers: fetching Ubuntu vulneratibilities
2015-11-24 07:11:20.635484 I | updater/fetchers: fetching Debian vulneratibilities
2015-11-24 07:11:20.635618 E | updater/fetchers: could not branch Ubuntu repository: exec: "bzr": executable file not found in $PATH. output:
2015-11-24 07:11:20.635653 E | updater: an error occured when fetching update 'Ubuntu': could not download requested ressource.
2015-11-24 07:11:20.635673 I | updater/fetchers: fetching Red Hat vulneratibilities
2015-11-24 07:11:46.302874 I | api: 201 POST /v1/layers (953.019484ms)
2015-11-24 07:11:46.306420 I | api: 201 POST /v1/layers (2.637382ms)
2015-11-24 07:11:46.466191 I | api: 201 POST /v1/layers (158.338878ms)
2015-11-24 07:11:46.616736 I | api: 201 POST /v1/layers (149.732335ms)
2015-11-24 07:11:46.708107 I | api: 201 POST /v1/layers (90.681721ms)
2015-11-24 07:11:46.712467 I | api: 201 POST /v1/layers (3.643571ms)
2015-11-24 07:11:46.716839 I | api: 201 POST /v1/layers (3.88098ms)
2015-11-24 07:11:46.717794 E | worker: layer ee6698face90f6d8c5f245a27684a626c276f41cb40ac0869478865ebe13d4af: failed to extract data from /tmp/analyze-local-image-598531890/ee6698face90f6d8c5f245a27684a626c276f41cb40ac0869478865ebe13d4af/layer.tar: the resource cannot be found
2015-11-24 07:11:46.717889 I | api: 404 POST /v1/layers (359.461µs)

Run the analyze-local-images using the image id 2ca9be911bd5
Getting image's history
Analyzing 25 layers
- Analyzing 5679b9b90e0939cfc7943db37daceb22006f76d9a774fdf46b898827d0eeff37 at /tmp/analyze-local-image-598531890/5679b9b90e0939cfc7943db37daceb22006f76d9a774fdf46b898827d0eeff37/layer.tar
- Analyzing ea6bab360f5604439718bbcbc77b7dabc43b137a97e4fc193a8ca4f9ef25b6ad at /tmp/analyze-local-image-598531890/ea6bab360f5604439718bbcbc77b7dabc43b137a97e4fc193a8ca4f9ef25b6ad/layer.tar
- Analyzing 0f062bc856621abde5e76ca7fcb8a1915e3fb89f4aa9b0bf42df0e67d9054397 at /tmp/analyze-local-image-598531890/0f062bc856621abde5e76ca7fcb8a1915e3fb89f4aa9b0bf42df0e67d9054397/layer.tar
- Analyzing 1db7de304924df3141ab63c868d0512845b42c159e17f84c6ab4381d998f0030 at /tmp/analyze-local-image-598531890/1db7de304924df3141ab63c868d0512845b42c159e17f84c6ab4381d998f0030/layer.tar
- Analyzing 47eb4899f9cf97198db98af4a602417605bb3be31ef52262d6d4501bb2cbb79c at /tmp/analyze-local-image-598531890/47eb4899f9cf97198db98af4a602417605bb3be31ef52262d6d4501bb2cbb79c/layer.tar
- Analyzing e5d9392dfecd51a33f75ca27431306dd3754a84706fc4ee9c9dd8979d3e4ddfe at /tmp/analyze-local-image-598531890/e5d9392dfecd51a33f75ca27431306dd3754a84706fc4ee9c9dd8979d3e4ddfe/layer.tar
- Analyzing 9938bfbcc53e68c07a8ed3121dfded0978ac1ab20535b2a18aeaf6c0f75c1c5b at /tmp/analyze-local-image-598531890/9938bfbcc53e68c07a8ed3121dfded0978ac1ab20535b2a18aeaf6c0f75c1c5b/layer.tar
- Analyzing ee6698face90f6d8c5f245a27684a626c276f41cb40ac0869478865ebe13d4af at /tmp/analyze-local-image-598531890/ee6698face90f6d8c5f245a27684a626c276f41cb40ac0869478865ebe13d4af/layer.tar
2015/11/24 07:11:46 - Could not analyze layer: Got response 404 with message {"Message":"the resource cannot be found"}

Notice on both sides fail with "/tmp/analyze-local-image-598531890/ee6698face90f6d8c5f245a27684a626c276f41cb40ac0869478865ebe13d4af/layer.tar"
Examining the file system at a later point shows the item is there.
My fix is two fold -

Close the pipe which will flush to tar
Added a simple retryer to ensure the layer exists on disk before requesting analysis.

To reproduce I ran Clair with a new database to ensure the layer is inspected.
I think this fixes https://github.com/coreos/clair/issues/27
I hope this makes sense,
Mark

Hello,
Good catch, forgot that when I hacked it.
I believe that this https://github.com/coreos/clair/commit/aaf88c38380e0f5c77b0987cca956c55c0cb10a6 would fix in a simple manner. Can you confirm?

Hello,
Good catch, forgot that when I hacked it.
I believe that this https://github.com/coreos/clair/commit/9391417b2d2761918c1a6f6f165fe1a35275cfb7 would fix in a simple manner. Can you confirm?

Works for me and you are correct - a simpler solution.
Do you want to close my pull request?
Thanks
Mark

Thanks for your contribution!


[release-1.18] istioctl: fix pc ecds

This is an automated cherry-pick of #48526

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio_release-1.18
f0ac4945e50fdd2661cfdf072b9e6b9f2ed8433c
link
true
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test unit-tests-arm64


[BUG] console.clear() events included in save_text() output, resulting in garbage

Describe the bug
console.clear() events are included in save_text() output, resulting in garbage which is likely not intended.
To Reproduce
from rich.console import Console

console = Console(record=True)
console.clear()
console.print("What is love?")
console.save_text("test.txt")

Results in a text file with:
What is love?

Platform
ZSH (via VS Code's integrated terminal), rich 4.1.0

Please try v4.2.0

Works there. Thanks for the fast turnaround!


GUVNOR-2205: Syntax highlighting for WID and DSL

See https://issues.jboss.org/browse/GUVNOR-2205

http://github.com/droolsjbpm/drools-wb/commit/a109166ae


Remove the use of fs.access

Fixes: https://github.com/zeit/next.js/issues/626
Now we don't need to do: fs.access

Why was it there in the first place?

@rauchg Oh forgot to mention that.
To fix this issue: https://github.com/zeit/next.js/issues/626
Earliar, this is not possible due to since the way how serveStatic method was written.


wp-secrets.php is not persisted and only generated when the volume is empty

Hi @TrafeX, thanks for this great image. After a first investigation, it looks muuuuch better than the official ones.
When migrating a few sites from https://hub.docker.com/_/wordpress to this image, I noticed an issue with the secrets which is already outlined in #36. As this was closed long time ago and didn't receive any update, I decided to open this here.
So, the persistent volume is mounted to /var/www/wp-content, but the secrets are in /usr/src/wordpress/wp-secrets.php which is NOT part of the volume. When updating or recreating the container, the file reverts to the original state without secrets defined:
docker-compose exec wordpress bash -l
curl -f https://api.wordpress.org/secret-key/1.1/salt/ >> /usr/src/wordpress/wp-secrets.php
exit
docker-compose up -d --force-recreate wordpress
docker-compose exec wordpress bash -l
cat /usr/src/wordpress/wp-secrets.php

Output of last command shows:
<?php
/** Generated file based on https://api.wordpress.org/secret-key/1.1/salt/ */

This is obviously missing the secrets. Besides --force-recreate this also happens when pulling a new image version or changing an environment variable for the container.
Same issue happens with a copied-over volume as described in https://github.com/TrafeX/docker-wordpress/issues/36#issuecomment-1570325428 -- however in contrast to @mdbraber I think secrets should NOT be regenerated during image updates but persisted and manually rotated.
I now considered setting the constants from https://api.wordpress.org/secret-key/1.1/salt/ as environment variables because they are currently passed to define in wp-config.php. However, if this ticket is fixed, this would lead to warnings, so maybe this combination is something to keep in mind when fixing it.

I think setting it with environment variables would be a really good option. Preventing errors would be relatively simple, either via a conditional on the import in wp-config.php or on the actual generation in entrypoint.sh.

@bb This should now be fixed when you pull in the latest tag. Would be nice if you can give it a try, I'll tag it in a release after some more testing.

@TrafeX thanks for following up on this. I reviewed the PR #50 and like your approach with persisting+symlinking the file and regenerating whenever the file does not exist.
I'm not completely happy with the approach of checking if any of the variables exist, though. While this is way better than before, I'd say it should be all-or-none of the environenment variables. If e.g. $AUTH_KEY is defined but $SECURE_AUTH_KEY is not, it should e.g. not start up at all but print an error message. But currently it will start up and not generate the wp-secrets file.
However, personally I'm not using this anymore, so I don't really care. I moved on in a similar direction like  @henrygd's fork and the official wordpress images, i.e. I'm not only persisting wp-content but the whole wordpress installation.


feat: add topic field

add topic field to control which repo to be added
log: add topic field

/merge


Issue #134: Export as CAS: only get document id if really necessary

What is in the PR?
During CAS export for a document, only get the document identifer if really necessary i.e. the typesystem is not supplied and/or an older product version is used.
How to test manually
Check that the CAS export still works.

Codecov Report

Merging #135 (425fdef) into dev (234196f) will decrease coverage by 0.08%.
The diff coverage is 60.00%.

: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
@@            Coverage Diff             @@
##              dev     #135      +/-   ##
==========================================
- Coverage   92.24%   92.16%   -0.08%
==========================================
  Files          16       16
  Lines        2167     2171       +4
==========================================
+ Hits         1999     2001       +2
- Misses        168      170       +2

Impacted Files
Coverage Δ

averbis/core/_rest_client.py
86.62% <60.00%> (-0.14%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Notification on top of Obsidian doesn't snooze despite clicking snooze

As a user
and a task reminder pops up
and the user is viewing obsidian
When the user closes the popup
OR
When the user selects a time value (eg 15mins)
And the window disappears
THEN within 10seconds to 30seconds, the same popup appears addressing the same task and the same note (as per file address).
--
if silencing/snoozing is reattempted, the popup keeps appearing; my solution was to disable the plugin.

Please provide the TODO and setting to reproduce.

I've observed this problem too, although it comes back from snooze in a few seconds, and no matter how many times I re-snooze it keeps popping up a window that blocks the interface.
Unless  I snooze until tomorrow or complete.
It always catches me an inopportune moment so I have not been able to come up with evidence.  I'll try to stop and gather next time it happens.

Sorry for the inconvenience.
Can you tell me the which format you are using? (Default / Tasks Plugin / Kanban Plugin)

Also, please check if you are using latest version(1.0.8).

I just updated to 1.0.8 today so we'll see.
I have all of the task formats enabled, but the primary reminder format is the plugin's format.
I do use the tasks plugin, and I also use the daily rollover plugin.

@ackstorm23 Thank you for the info.  If the issue has reproduced, I will fix soon.


how to cross-compile and build statically linked binaries

suggested via slack by @mholt
reference for myself: https://labs.ctl.io/small-docker-images-for-go-apps/ and https://medium.com/iron-io-blog/an-easier-way-to-create-tiny-golang-docker-images-7ba2893b160

+1

Make sure to cover cgo for compiling things like sqlite3.

Some suggestions:
Gox makes cross compiling (non cgo apps) a breeze.
Alpine linux makes small linux container images much easier.  Apparently the official images are moving in that direction.


How to Export grid to Excel in MVC

Mr NonFactors NiHao !
How to export grid to excel while including the search criteria?
I really like your work ! ：）

你好,
You got here almost in time, I need to make an excel export for one of my clients, so if you can wait for a week or two I may be able to provide an actual "copy paste" example in documentation page. Because it's not easy to, given the current implementation.

谢谢!
Really looking forward tooooo  ^o^

Added example to documentation page.
Basically you need to create grid inside the controller, and not in the view.
I used EPPlus as excel library, but you could use anything else, if you like.
If you don't have any special requirements for exported file, you can write a shared helper to iterate all grid columns and it's data and use it from any controller.

tks

Can you add an example for export in Razor Pages version of asp.net core? @Muchiachio
It would be of great help.. Thanks in Advance!

It's the same concept @ruchit-patel, two actions, one for loading the page and other one for export.
And index page has a model of the grid as in mvc example.

Ohh Thanks A Lot @Muchiachio .. It helped me a lot

Ohh and one more thing.. can i generate a table to export with data from multiples tables in database?

It doesn't matter how many tables do you use in a query grid just renders what you pass to it's columns.

I don't know how you are doing, but it's usually a select statement into a class, for example
context.Set<Person>().Select(person => new FullPersonInfoModel
{
    Name = person.Name,
    Address = person.MainAddress.Street + " " + person.MainAddress.HouseNumber,
    LastEmployed = person.Employements.OrderByDescending(emp => emp.Date).FirstOrDefault()
});

where main address and employments are joined tables and grid uses FullPersonInfoModel as a model.

Ohh.. got it @Muchiachio. Thanks a lot for helping!


Strange "agent" error with some websites

I'm encountering some weird error when trying to capture certain websites.
As an example: https://www.onpe.tv/
As one can see on the herokuapp demo, it returns the following error
{"error":[{"message":"\"agent\" is not allowed to be empty","path":"agent","type":"any.empty","context":{"key":"agent"}}]}

I'm having the same error on my own machine with phantom 2.1.1 installed

@boogheta Could you please provide an example of URL to Manet server which I can test?

https://manet.herokuapp.com/?open=&address=&url=https%3A%2F%2Fwww.onpe.tv%2F&width=&height=&zoom=&quality=&delay=&format=&js=on&images=on&selector=&callback=&agent=&user=&password=&headers=&clipRect=&engine=

I think it happened because you used empty parameters in the request (ex: &selector=&callback=&agent=&user=&password=&headers=&clipRect=&engine=).

Oups sorry wrong example url sorry and wrong error message indeed, went too fast :/
So it does behave differently on heroku and on our instance, and both seem unsatisfying:

On Heroku it works, although the screenshot says the server is in a country that cannot access the website: https://manet.herokuapp.com/?url=https://www.onpe.tv/&width=500&clipRect=0,0,1024,768&quality=0.3  Do you know where the herokuapp server is hosted?
On our instance, the screenshot is not generated, and manet crashes with the following error (corrected above) :

{"error":"Error while sending image file: ENOENT: no such file or directory, stat '/tmp/4379c56e0dfb2442324bfff66228173a77e351e6.png'"}

Sorry for long response, I had a lot of things to do.. Did you try to use --level=debug to get some additional logs?

well now I can't reproduce it anymore... So let's forget about it for now, I'll reopen if encountered again, thanks!


Add support for Observable emitting additional "thunkservables"?

Okay... so I just coined a term "thunkservable"... which is a function that returns an observable.
Anyhow, should we support something like this?
let secondAction = () => Observable.of({ type: 'ACTIONS_DONE' });
let firstAction = () => Observable.interval(1000).mapTo(secondAction);

dispatch(firstAction);

cc/ @jayphelps


Self relations generated children types are wrong

Bug description
Using sqlite default prisma provider...
Consider the following model with self relation...

Here is the generated type...

=> Type of children should be mvp_data[ ] and not string.
How to reproduce

Create this above model in Prisma schema.

Import generated type in your project with
import type { mvp_data } from "@prisma/client"

Notice how children type is string instead of mvp_data[ ]

Expected behavior
Type should be
mvp_data = {     id: string;     label: string;     status: number;     progress: number;     children: mvp_data[ ]; }
Prisma information
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema

generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "sqlite"
  url      = env("DATABASE_URL")
}

model mvp_data {
  id       String     @id @default(uuid())
  label    String
  status   Int        @default(0)
  progress Float      @default(0)
  parentId String?
  parent   mvp_data?  @relation("ParentChild", fields: [parentId], references: [id])
  children mvp_data[] @relation("ParentChild")
}
```ts

Environment & setup

OS: Windows
Database: SQLite
Node.js version: 20.5.1

Prisma Version
5.3.1

I can not reproduce the issue with the provided schema, neither on 5.3.1 nor on 5.9.0-dev.
Generated type for me is:

It is expected that relationships are not included in generated types by default, so mvp_data should not include field children at all.
@Zebnastien could you provide a reproduction repository where we could see it happen?
Thank you!

Hey @Zebnastien  ,
Did you get a chance to have a look at my previous comment? It'd be helpful for us to move your issue forward.
Without further information, we'll have to close this issue. Thank you 🙏

Hi, sorry for the delay.
I will try this weekend.

Ok, I tried all my best to reproduct this bug but I did not success.
I got same result of you:

So I guess it was my fault. I think we can close this issue.
Sorry for the time and thank you for your consideration 👍🏼


header bar: Move the main menu to the left.

On vanilla GNOME systems, having the menu on the left looks nicer because it balances against the close button on the right.

Is not a problem that when you leave the setup view the button will be on the right again?

The latest commit should fix that.

Hmm, but know it will look weird when the "Mark all as Read" button appear, I should have been clearer about my doubts 😅.

Oh, okay, I didn't consider that.
I guess we could move the mark all read button to the right, but that's also weird. Feel free to close the PR if you think this change isn't worth it.


fix drag-and-drop in viewtree as well as site creation for SS 3.3+

not compatible with SS <3.3

Is there something in particular that doesn't work in 3.2 for site creation using a form? I'm a bit hesitant to rely on a direct get request for site creation is all.

I couldn't get it to work properly and adding a form in that button row broke the layout. So I opted for the simpler option...

It's SS 3.3 and up though. 3.2 should still work.

Hi Marcus,
How do you want me to proceed here? Do you have a better solution?
Cheers, Flo

Hi @nyeholt
I have amended the PR to use the form as requested. also rebased.
Cheers, Flo

Sorry, I missed the notification when it came through - thanks heaps for this!

no problem. can you please tag a release with this? cheers

Hey guys, can we get this released ASAP, have a client site that really needs this implemented: https://github.com/silverstripe-australia/silverstripe-multisites/issues/70

this is fixed and tagged as release 3.0.0


Configuration for Logging

On initial startup using microsoft logging, I see the the redis connection information.
I would like to see the trace logic of the decision making when I addorupdate or get, but am not seeing it.  Any suggestions?
Thanks
My project.json
"Microsoft.Extensions.Logging": "1.0.0-rc1-final",
"Microsoft.Extensions.Logging.Console": "1.0.0-rc1-final",
"Microsoft.Extensions.Logging.Debug": "1.0.0-rc1-final",
"CacheManager.StackExchange.Redis": "0.8.0",
"CacheManager.Serialization.Json": "0.8.0",
"CacheManager.SystemRuntimeCaching": "0.8.0",
"CacheManager.Microsoft.Extensions.Configuration": "0.8.0-beta-1219",
"CacheManager.Microsoft.Extensions.Logging": "0.8.0-beta-1219"
my startup.cs
public void ConfigureServices(IServiceCollection services)
{
//https://github.com/MichaCo/CacheManager
var cache = CacheFactory.Build("cacheName", settings => settings
.WithMicrosoftLogging(f => f
.AddConsole(minLevel: LogLevel.Debug)
.AddDebug(minLevel: LogLevel.Debug)
)
.WithJsonSerializer()
.WithUpdateMode(CacheUpdateMode.Full)
.WithSystemRuntimeCacheHandle("inProcessCache") //use local cache and sync with redis
.And
.WithRedisConfiguration("redis", config =>
{
config.WithAllowAdmin()
.WithDatabase(0)
.WithEndpoint("redistest", 6379);
})
.WithMaxRetries(1000)
.WithRetryTimeout(100)
.WithRedisBackplane("redis")
.WithRedisCacheHandle("redis", true)
.WithExpiration(ExpirationMode.Sliding, TimeSpan.FromMinutes(30)) /allow 30 minutes unused cache before blast/
.EnableStatistics().EnablePerformanceCounters()
);
services.AddSingleton<ICacheManager>(serviceProvider => cache);
}

See this example: https://github.com/MichaCo/CacheManager/blob/dev/samples/CacheManager.Examples/Program.cs#L89
For some reason, the rc1 release of MS Logging uses Debug level as Verbose. They changed it already in rc2 so until rc2 is released and I upgraded the logging package, you have to use debug as the minimum log level to get verbose log messages.
For some strange reason, in rc1, you also have to set the min log level of the logger factory to Debug, otherwise it will not log those messages (this will change in rc2, too)
Try add f.MinimumLevel = LogLevel.Debug; within the WithMicrosoftLogging builder

That worked. I had seen that information, but I put the minimum level in the wrong place. Here is my startup.cs settings for anyone else who has run in to this issue. Thanks for the quick response.
//https://github.com/MichaCo/CacheManager
var cache = CacheFactory.Build("cacheName", settings => settings
.WithMicrosoftLogging(f =>
{
f.MinimumLevel = LogLevel.Debug;
f.AddConsole(minLevel: LogLevel.Debug);
f.AddDebug(minLevel: LogLevel.Debug);
})
.WithJsonSerializer()
.WithUpdateMode(CacheUpdateMode.Full)
//.WithSystemRuntimeCacheHandle("inProcessCache").And //use local cache and sync with redis
.WithRedisConfiguration("redis", config =>
{
config.WithAllowAdmin()
.WithDatabase(0)
.WithEndpoint("redistest", 6379);
})
.WithMaxRetries(1000)
.WithRetryTimeout(100)
//.WithRedisBackplane("redis").WithRedisCacheHandle("redis", true)
.WithRedisCacheHandle("redis", false)
.WithExpiration(ExpirationMode.Sliding, TimeSpan.FromMinutes(30)) /allow 30 minutes unused cache before blast/
//.EnableStatistics().EnablePerformanceCounters()
);
services.AddSingleton<ICacheManager>(serviceProvider => cache);


macos: creating a key fails

	key := sks.FromLabelTag("label:key")

	signer, err := sks.NewKey(key.Label(), key.Tag(), true, false, nil)
	if err != nil {
		panic(err)
	}

panic: sks: error while generating key pair with label "label" and tag "key": CFError -34018

goroutine 1 [running]:
main.main()
        /Users/amir/Projects/aaomidi/tpm-ssh-agent/main.go:16 +0x244

Hey @aaomidi,
-34018 error is a missing entitlement error. To use Secure Enclave on mac your app should be signed with a specific entitlement. More information can be found here.

Oops thank you so much for that, sorry that the bug report ended up being a support request D:


fix_json_dependency

The newrelic_plugin gem depends on json gem and that had a recent upgrade which requires ruby 2
By pinning json to an older version then we can install on ruby 1.9

I suggest dropping the json gem dependency in favor of standard ruby json library.
Imho json performance is not relevant for newrelic plugins, at least not for the usual usage (collecting a handful of metrics and reporting them every now and then).
The downside of depending on json gem (besides version breaks) is that every user of a ruby newrelic plugin has to install the necessary build libraries for this c-extension to be successfully installed. This is no problem for ruby devs as we always use them. But for people only wanting to use the plugin it's really annoying. The bundle install step produces error messages which are hard to understand for unexperienced users.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


in train.py, if config.inference['normalize'] is True, transform estimates after demix

When the new parameter in config.inference, normalize, was added in this commit, logic was added to valid.py and inference.py to remove the normalization transformation from estimates. In train.py, the logic to transform mix was added, however, nothing was added for estimates.
https://github.com/ZFTurbo/Music-Source-Separation-Training/blob/54bd7259dca5864bd38c7962ec36d05579aba7e7/train.py#L182-L212
Would this affect the SDR calculation in sdr_val = sdr(references, estimates)[0]?

I added normalize only to support one model (SCNet) for inference. I didn't change training to support normalization.

how use training for stem separation?


Fixed expansion panels demo text in dark theme.

Changed the text styling to make use of the current theme so that
it doesn't break when the user selects the dark theme.

It would be good to make local final vars for Theme.of() and the two text styles.
LGTM


Broken Links fix.

When adjusting the queries found here : https://github.com/KnowWhereGraph/knowwheregraph-lite/commit/6c542c485284da26de0b8c60a64c963a8c674145  to add to the queries documentation, some of them had broken links.
Queries with these numbers : 7b
8c
10b
11b
12b
13b
I have left blank spaces for them .

@antreac I have made the fixes to the queries that you have mentioned including 7b. The updated queries can be found in the query document here https://docs.google.com/document/d/1BV68cDKvi98xtoxemcHeDGfez6crF4lXskhHgkF_8aY/edit
Please let me know if there are any other issues.


Applied recent updates from master

Address issues
https://github.com/onaio/OpenMapKit/issues/12
https://github.com/onaio/OpenMapKit/issues/13
https://github.com/onaio/OpenMapKit/issues/14
https://github.com/onaio/OpenMapKit/issues/15
https://github.com/onaio/OpenMapKit/issues/16

Changes in branch deprecated


Remove Sync-Over-Async within ResolveAddresses()

Calling async code from synchronous methods and simply blocking on the returned task has unnecessary overheads compared to just calling the synchronous overloads.
Switches ResolveAddresses() to use the synchronous version of Dns.GetHostEntry()

This was implemented in such way because in .net core 1.0 there was only async version.


Check for proper handling of --name argument for helics apps

Describe the bug
Setting the federate name for the echo app didn't work -- the second copy of the echo app still exited with an error due to a duplicate federate name.
What is the expected behavior?
The --name argument should have changed the federate name so both copies would be able to connect.
To Reproduce

Start broker with -m 2
Launch echo app instance 1
Launch echo app instance 2 with --name "echo2" as an argument

Environment (please complete the following information):

Operating System: Windows
HELICS version: 2.0 beta 2

At some point, we should probably go through the command line options accepted so that the flags accepted are consistent among different helics binaries (ex: broker takes -t for the core type, helics_app takes a number of other flags for the core type, but -t isn't one of them; less duplicate options with different names might be less confusing for new users).


grub module: Add support for scaleable menu fonts

Motivation for this change
The default grub font is too small to be legible on some hidpi displays. This makes it possible to specify a TrueType or OpenType font at any point size, and it will automatically be converted to the format the Grub uses.  If font is left blank, the default is to continue using the normal grub default as before.

If there are no objections I'm going to merge this in a day or two.


Update MigrationTask class to be an abstract class

Following on from #9426, making MigrationTask class abstract.

Well, it's green (in travis)

I suspect this needs rebasing - I've tried, but I can't push to the chrometoaster repo :(

Rebased.

Thank you :-)


Add a way to view all logs instead of info warn

Hi, @ibadia !
Thanks for your feedback. Could you, please, explain more detailed what did you mean exactly?
Onlogs provide you with possibility to see all logs with all statuses and it is applied by default when you use application unless you choose some exact status using UI

Closing, as no details was provided


Opening new files open in Preview pane

Issue Type: Bug
Open .MD file
Open preview window
Single click another MD file
File opens in the preview pane
I expect it to open the pane holding the .MD file.  That way I can see the preview for any MD file I click on.  But the way it works now I have open another preview pane, which means I have 3.  Or I have to drag the MD file to the pane where the first MD file is.
In the end I want my preview to take place in the same pane, but it doesn't work that way by default today.
VS Code version: Code 1.25.1 (1dfc5e557209371715f655691b1235b6b26a06be, 2018-07-11T15:43:53.668Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz (4 x 2494)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: enabledvideo_encode: enabledvpx_decode: unavailable_softwarewebgl: enabledwebgl2: enabled

Memory (System)
7.91GB (1.84GB free)

Process Argv
C:\Program Files\Microsoft VS Code\Code.exe

Screen Reader
no

VM
0%

Extensions (8)

Extension
Author (truncated)
Version

gc-excelviewer
Gra
2.1.24

r
Iku
0.6.0

r-lsp
Iku
0.0.7

cpptools
ms-
0.17.6

csharp
ms-
1.15.2

mono-debug
ms-
0.15.8

PowerShell
ms-
1.8.1

vscode-arduino
vsc
0.2.18

See the markdown preview documentation: https://code.visualstudio.com/Docs/languages/markdown#_dynamic-previews-and-preview-locking
The preview shows the active file by default, but can be locked to a single file


porting feature from issue-3260

Description
Porting feature Return processing token when cloning project: https://github.com/DependencyTrack/dependency-track/pull/3260

Addressed Issue
Porting features from v4.11, working on overall issue: https://github.com/DependencyTrack/hyades/issues/1190
Additional Details
Haven't run any specific tests on this, if CI tests are not sufficient let me know and I can look into what testing was done for this too.
Checklist

[x] I have read and understand the contributing guidelines
[ ] This PR fixes a defect, and I have provided tests to verify that the fix is effective
[ ] This PR implements an enhancement, and I have provided tests to verify that it works as intended
[ ] This PR introduces changes to the database model, and I have added corresponding update logic
[ ] This PR introduces new or alters existing behavior, and I have updated the documentation accordingly

thanks for the tip @nscuro , i amended the commit with the original committer as a coauthor. lmk if anything else needs changing!


Pipeline configurations

Before this goes into production, are there any changes that were made on dev branches over the last few days that need to be merged in?

Yes, I've incorporated the changes, thanks.


CI profiled builds too

The CI failures might be exposing real issues since this is building so much more than before...

Indeed. I was hoping to rule some things out with https://github.com/reflex-frp/reflex-platform/pull/603, but there might be other obelisk-only failures that have sneaked through.


updating cleaning multiple zones

[X] Bug fix (non-breaking change which fixes an issue)
[ ] UI Feature
[ ] Refactor/Code Cleanup
[ ] Docs
[ ] Capability implementation for existing core capability
[ ] New robot implementation

Description (Type A)
Fixed a bug on triggering zone/s cleaning button from the old frontend

I close this PR because the old frontend are gone


"k8s-integration-tests" target fails

Expected Behavior

make k8s-integration-tests to pass.
Current Behavior

make k8s-integration-tests fails right after start (see logs)
Noticed also that nsm-admission-webhook pod is not cleaned properly and left running after a failure.

Every 2.0s: kubectl get pods -o wide                                                                                dimitrovr-a01.vmware.com: Tue Feb 26 11:33:10 2019

NAME                                    READY     STATUS    RESTARTS   AGE       IP          NODE
nsm-admission-webhook-f78fd5b95-h4qkm   1/1       Running   0          1m        <IP_ADDRESS>   kube-worker

Failure Information (for bugs)

Additional info:

For reference, I tried running an older state I had using an older branch from a couple of weeks where make k8s-integration-tests succeeds.

Steps to Reproduce

Checkout latest master
make vagrant-start
Wait to setup
source scripts/vagrant/env.sh
make k8s-integration-tests

Context

Kubernetes Version: v1.13.3
etc.

Failure Logs

Every 2.0s: kubectl get pods -o wide                                                                                dimitrovr-a01.vmware.com: Tue Feb 26 11:32:35 2019

NAME                                    READY     STATUS    RESTARTS   AGE       IP          NODE
icmp-responder-nse1                     0/1       Pending   0          37s       <none>      <none>
nsm-admission-webhook-f78fd5b95-h4qkm   1/1       Running   0          44s       <IP_ADDRESS>   kube-worker
nsmd-dataplane-kube-master              1/1       Running   0          41s       <IP_ADDRESS>   kube-master
nsmd-kube-master                        3/3       Running   0          41s       <IP_ADDRESS>   kube-master

--- FAIL: TestNscDiesSingleNode (66.01s)
    k8s.go:373:
        Expected
            <int>: 1
        to equal
            <int>: 0
FAIL
FAIL    github.com/networkservicemesh/networkservicemesh/test/integration       66.188s
?       github.com/networkservicemesh/networkservicemesh/test/integration/nsmd_test_utils       [no test files]
?       github.com/networkservicemesh/networkservicemesh/test/kube_testing      [no test files]
?       github.com/networkservicemesh/networkservicemesh/test/kube_testing/crds [no test files]
?       github.com/networkservicemesh/networkservicemesh/test/kube_testing/pods [no test files]
make: *** [k8s-integration-tests] Error 1

@rdimitrov Are you still seeing this issue?

@edwarnicke Hey, Ed, unfortunately, I won't be able to look at it until next week as I'm skiing this one 🎿
If there's someone else that wants to resolve it, feel free to take it 👍

The issue can be considered as closed 👍
Part of it is no longer reproducible, fixed with https://github.com/networkservicemesh/networkservicemesh/pull/808 or covered in https://github.com/networkservicemesh/networkservicemesh/issues/812.


Some keys in insert mode doesn't work after loadview command

Describe the bug
After i call the ':loadview' command (manually or with vim.api.nvim_command('au BufWinEnter * loadview')), enter key and arrow keys stops working. It gives the error;
E5108: Error executing lua .../nvim-cmp/lua/cmp/utils/keymap.lua:261: attempt to index local 'definition' (a nil value)

My setup;
-- init.lua

local servers = { 'pyright', 'rust_analyzer', 'tsserver', 'cssls', 'vuels' }
for _, lsp in ipairs(servers) do
	require('lspconfig')[lsp].setup {
		capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
	}
end

cmp.setup({
	snippet = {
		expand = function(args)
			require('luasnip').lsp_expand(args.body)
		end,
	},
	mapping = {
		['<C-u>'] = cmp.mapping.scroll_docs(-4),
		['<C-d>'] = cmp.mapping.scroll_docs(4),
		['<C-Space>'] = cmp.mapping.complete(),
		['<C-e>'] = cmp.mapping.close(),
		['<CR>'] = cmp.mapping.confirm({ select = true }),
	},
	sources = {
		{ name = 'nvim_lsp' },
		{ name = 'luasnip' },
		{ name = 'buffer' },
	}
})

...

I installed nvim-cmp via paq.
My init.lua is here

To Reproduce

Call :loadview
Press Enter or Arrow Keys.

I tried commenting out all the mappings and disabling luasnip but i couldn't find the reason. I tried adding a if definition == nil then return statement to keymap.lua, it hided the error but keys still doesn't work.

Please update plugin...

Updating the plugin then cleaning the .local/share/nvim/view folder fixed it, thanks.


Change the Background color of the Team Messiah Panel to Light Pink - For OSDW 2017

From @kashifzaidi1 on January 25, 2017 10:27
Change the Background color of the Team Messiah Panel to Light Pink
Copied from original issue: codeforpakistan/Messiah-Web#63

❤ 💚 💙 💛 💜


chore(deps): update common-dev-assets digest to 83cdc50

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
e991e92 -> 83cdc50

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

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

This PR has been generated by Renovate Bot.

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


Rubocop 1.48

Does a general bundle update in order to ensure that not only Rubocop is updated, but also Rubocop extensions.
Fixes an offense of a new cop.
Updates Rubcop todo file

Note: Total offense count continues to inch down (although remaining high) mostly thanks to @nimmolo.

Coverage: 93.578%. Remained the same when pulling 05a9898b0cebbd71d4b76a45405a97f37c131534 on jdc-rubocop-1_48 into 8b0189f093f6345c5f5512e6f21496efd762b283 on main.


fix: compatible safari layers button svg

fix issue https://github.com/excalidraw/excalidraw/issues/8001
MDN

Hi. Completely forgot about this issue, thanks!
But, maybe we can just use a CSS transform instead? Much simpler! I've double checked if it works in Safari 15 in this branch and it seems fine: https://github.com/excalidraw/excalidraw/compare/master...dwelle/fix-icons-safari
Since you put in the effort, feel free to adapt this PR and we'll merge! Also, please run yarn test:update to update the test snapshots afterward.

Thanks. I have update the test snapshots.

Thanks. I've simplified the code as mentioned in https://github.com/excalidraw/excalidraw/pull/8020#issuecomment-2111883691
We're good to go!


Issue compiling

Hi, I'm trying to compile the .jar file by running ./gradlew build, and I'm getting some errors:
> Task :compileJava FAILED
/home/sunder/program-src/nekodetector/src/main/java/me/cortex/jarscanner/Detector.java:66: error: ')' expected
        if (a instanceof TypeInsnNode aa) {
                                     ^
/home/sunder/program-src/nekodetector/src/main/java/me/cortex/jarscanner/Detector.java:66: error: not a statement
        if (a instanceof TypeInsnNode aa) {
                                      ^
/home/sunder/program-src/nekodetector/src/main/java/me/cortex/jarscanner/Detector.java:66: error: ';' expected
        if (a instanceof TypeInsnNode aa) {
                                        ^
/home/sunder/program-src/nekodetector/src/main/java/me/cortex/jarscanner/Detector.java:69: error: ')' expected
        if (a instanceof MethodInsnNode aa) {
                                       ^
/home/sunder/program-src/nekodetector/src/main/java/me/cortex/jarscanner/Detector.java:69: error: not a statement
        if (a instanceof MethodInsnNode aa) {
                                        ^
/home/sunder/program-src/nekodetector/src/main/java/me/cortex/jarscanner/Detector.java:69: error: ';' expected
        if (a instanceof MethodInsnNode aa) {
                                          ^
/home/sunder/program-src/nekodetector/src/main/java/me/cortex/jarscanner/Detector.java:72: error: ')' expected
        if (a instanceof InsnNode aa) {
                                 ^
/home/sunder/program-src/nekodetector/src/main/java/me/cortex/jarscanner/Detector.java:72: error: not a statement
        if (a instanceof InsnNode aa) {
                                  ^
/home/sunder/program-src/nekodetector/src/main/java/me/cortex/jarscanner/Detector.java:72: error: ';' expected
        if (a instanceof InsnNode aa) {
                                    ^
9 errors

FAILURE: Build failed with an exception.

Is there anything that I'm missing? I'm not too familiar with building Java applications so apologies if there's an obvious fix.
Also if it's relevant, the default java version on my machine is Java 11 (maybe it's an issue with the wrong version?).

that's an issue with the java version, i had that issue too running the snapshot build, just download the newest java version and you'll be fine


Strip 80/443 in getBucketLocationRequest

There was the PR #709 with it, but works only partly.
Currently it works only with workaround by specifying us-east-1 region (minio.NewWithRegion(...))
With this patch you can just do minio.New(...) and all will work flawlessly.

@L11R   Thanks for raising the PR but still i could not replicate your issue.  With port 443 and HTTPS i was able to upload the object on minio with minio.New(...).
Gist here give the details.](https://gist.github.com/sinhaashish/fd3818d85c03672a69535fe90296dd16).
What is Server: nginx/1.15.8 in your gist file. Are you using any load balancer?
Some more info from you would help to replicate then review the PR.

@sinhaashish Yes, we are using Nginx as reverse proxy. All as described in your official guides.
Well, my I don't know why you cannot reproduce it. It's pretty obviously that minio-go library created different URLs in different cases. In our case with and without port. That's why we have different signatures and error. I don't know, how to fix it from server side.

@sinhaashish oh, seems like I got it. I saw you example. You pass just an IP here: minio.New("<IP_ADDRESS>", ...
I didn't try it. Is it okay to just pass domain or IP here (we use domain)? I will it try tomorrow at work.
Anyway I still think that code is currently not consistent. Why we somewhere strip it and somewhere not?

@sinhaashish okay, I tried to pass domain only. And yeah, it works. So problem resolved in my case. But I still worry for inconsistent code behavior.


"Test Connection" button

I've seen several Jenkins plugins with a "Test Connection" button. See the Gerrit Trigger for an example.
That would definitely be useful in this plugin to make sure you have the correct settings. I was trying to set this up and apparently specified an invalid channel. It took me a while to figure that out, since it is only in the system log, not the build log.

I don't actively develop this project.  However, I am now maintaining pull requests and releases.  Contributions are welcome!

Coming fix to do that...

If you would like to be invited to https://jenkins-slack-plugin.slack.com/ for testing then just ask.

This was released in 1.7 however it does not currently work.  Please follow issue #51 for updates on when the fix is in for this issue.  I'm closing this issue so #51 will be where you should follow updates.

It DOES work in the general settings section

On 2015-02-24, at 16:38, Sam Gleske<EMAIL_ADDRESS>wrote:
This was released in 1.7 however it does not currently work. Please follow issue #51 for updates on when the fix is in for this issue. I'm closing this issue so #51 will be where you should follow updates.
—
Reply to this email directly or view it on GitHub.


Add prefix matching for paths

The path matching in the first-party git resource supports either globs or prefixes, which allows you to filter to a subdirectory of a repository without exhaustively listing dir/*, dir/*/*, dir/*/*/*, ....
This PR adds a simple prefix matching in addition to the current glob-based matching, to support this use-case of matching on a whole subdirectory.

As a note, I've built my fork, published it as tulip/github-pr-resource, and deployed it to my Concourse instance. It appears to work as intended.

I've pushed an update that changes the behavior slightly to match if the prefix lines up with a directory separator -- so the path foo/bar will not match foo/barbaz, but it will match foo/bar or foo/bar/baz. Do you think that's reasonable behavior?


Research what country users can't watch South Park CC

Some countries cant see episode in http://southpark.cc.com/. We need to know those countries.
Save country codes list to database and use it in code

Australia

US

Germany => http://www.southpark.de

UK (Ireland, England, Scotland, Wales, North Ireland) => http://www.southparkstudios.co.uk/

I'm dropping this feature, because most of our current users are from those countries and the whole internet hates Kisscartoon..


Problem with typing

Firstly is there any IRC channel where I can go and ask questions? I have looked everywhere and have run out of options, so I will ask here if I may? I am refactoring previously working code over to having promises, and I am trying to understand what is going on and how to fix a typing error. To qualify, I am actually a Product Manager that studied CS that is working on my side project, so bare with me.
In my code: I have this execution flow of Promises as shown in this gist.
I can see that the nested promises are called but not recognised in the outer promise chain, as the Always executes before the nested promises do.  And whilst executing the nested promises the: self.saveUserProfilePictureToFirestore(user: user, profileImage: image).then function never returns a promise from its closure, it just hangs. I believe this is because I need to make that initial call to the nested promises with a with return self.makeFacebookGraphRequest(accessToken: token).then. But when I do I get "Unexpected non-void return value in void function" error message on the last nested .then, I have tried all types of things and even got a mobile dev from work to try and help me and he too couldn't figure it out.
What am I missing here?

Hi @nateuni,
Technically, we have a chat on Gitter. There's a corresponding badge about that in Readme. But you're more than welcome to post your questions as issues here.
Try to place a return statement in front of self.makeFacebookGraphRequest:
// ...
}.then { token, document in
  if document?.exists == false {
    return self.makeFacebookGraphRequest(accessToken: token).then { user in
      return self.downloadFacebookProfilePictureAsImage(userModel: user)
    }.then { user, image in
// ...

Ideally, you want to refactor that nested piece into a separate function to avoid nesting promises, then use it approximately like so:
// ...
}.then { token, document in
  return document?.exists ? self.dismiss(animated: true, completion: nil) : self.loginUser(with: token)
}.catch { error in
// ...

Thanks.

So I made this changes:
}.then { (arg) in                 let (token, document) = arg                 return document?.exists ? self.dismiss(animated: true, completion: nil) : self.createNewUserAccount(token: token)
But I still get Unexpected non-void return value in void function. I have tried:

Wrapping the dismiss in the function that returns a promise.
Having Promise return types

Maybe my functions aren't setup correctly:
internal func createNewUserAccount(token: AccessToken) -> Promise<Void> {         return Promise { fulfill, reject in             return self.makeFacebookGraphRequest(accessToken: token).then { user in                 // this goes to facebook gets the user details and instantiates a User model                 // returns a Promise<User>                 return self.downloadFacebookProfilePictureAsImage(userModel: user)                 // this goes and gets a profile image from facebook for the given user and returns it as a UIImage                 }.then { user, image in                     // BUG IN THIS FUNCTION!!                     return self.saveUserProfilePictureToFirestore(user: user, profileImage: image)                     // TODO: this should return the URL for where is was saved! (currently this is two seperate functions)                 }.then { user in                     //BUG ??NEVER REACHED!!                     return self.getProfilePictureUrlFromFirestoreForUser(user: user)                 }.then { user, imageUrl in                     // this takes in a user model and creates a Firebase user record                     return self.createNewUserDocumentAsDictionary(user: user, avatarUrl: imageUrl)                 }.then { user, userDictionary in                     // TODO: Jimmy to make sabe signup date on BE.                     return self.saveUserDocumentToFirestore(user: user, data: userDictionary)                 }.then {                     // Continue sign in flow                     fulfill(())                     self.performSegue(withIdentifier: "TermsViewController", sender: self)             }         }     }

What do you get for the following code?
}.then { token, document in
  document?.exists
      ? wrap { self.dismiss(animated: true, completion: $0) }
      : self.createNewUserAccount(token: token)
}.catch { error in

private func createNewUserAccount(token: AccessToken) -> Promise<Void> {
  return makeFacebookGraphRequest(accessToken: token).then { user in
    self.downloadFacebookProfilePictureAsImage(userModel: user)
  }.then { user, image in
    self.saveUserProfilePictureToFirestore(user: user, profileImage: image)
  }.then { user in
    self.getProfilePictureUrlFromFirestoreForUser(user: user)
  }.then { user, imageUrl in
    self.createNewUserDocumentAsDictionary(user: user, avatarUrl: imageUrl)
  }.then { user, userDictionary in
    self.saveUserDocumentToFirestore(user: user, data: userDictionary)
  }.then {
    self.performSegue(withIdentifier: "TermsViewController", sender: self)
  }
}

Note: when a closure has only one statement, it can technically skip the return statement.
If you still have compiler error, please, specify at which line it occurred.

I will show both functions together as maybe it will give more context and I left the comments in about the return types.
    /// this is called when the user clicks the login button.
    private func flow(){
        //this gets valid facebook token for the app
        loginToFacebook().then {token in
            // returns Promise<AccessToken>
            // with the token we can sign into Firebase
            return self.signIntoFirebase(accessToken: token)
            // returns Promise<AccessToken>
        }.then { token in
            // we need to token to get the userId for the logged in user
            return self.getUserDocumentFromFirebase(userId: token.userId!)
            // returns Promise<(AccessToken, DocumentSnapshot?)>
        }.then { token, document in
            return document?.exists ? self.dismiss(animated: true, completion: nil) : self.createNewUserAccount(token: token)
        }.catch { error in
            self.log.error(error.localizedDescription)
        }.always {
            Dependency.dismissHud(self.hud, "Test title", "Test message text", 3)
        }
    }

    private func createNewUserAccount(token: AccessToken) -> Promise<Void> {
        return makeFacebookGraphRequest(accessToken: token).then { user in
            self.downloadFacebookProfilePictureAsImage(userModel: user)
            }.then { user, image in
                self.saveUserProfilePictureToFirestore(user: user, profileImage: image)
            }.then { user in
                self.getProfilePictureUrlFromFirestoreForUser(user: user)
            }.then { user, imageUrl in
                self.createNewUserDocumentAsDictionary(user: user, avatarUrl: imageUrl)
            }.then { user, userDictionary in
                self.saveUserDocumentToFirestore(user: user, data: userDictionary)
            }.then {
                self.performSegue(withIdentifier: "TermsViewController", sender: self)
        }
    }

Currently with that code I get this error: Closure tuple parameter '(AccessToken, DocumentSnapshot?)' does not support destructuring for the }.then { token, document in line. Xcode give me a automated fix which results in the tuple being converted like:
}.then { (arg) in

                let (token, document) = arg
                return document?.exists ? self.dismiss(animated: true, completion: nil) : self.createNewUserAccount(token: token)
        }.catch { error in

That gets rid of that error. When I do this change that you suggested:
}.then { token, document in
  document?.exists
      ? wrap { self.dismiss(animated: true, completion: $0) }
      : self.createNewUserAccount(token: token)
}.catch { error in

I get Result values in '? :' expression have mismatching types 'Promise<Any?>' and 'Promise<Void>' with self.createNewUserAccount(token: token) underlined.

Would it help if you specify the return type explicitly?
It should be Promise<Void>, but not Promise<Any?>.
}.then { (token, document) -> Promise<Void> in
  document?.exists
      ? wrap { self.dismiss(animated: true, completion: $0) }
      : self.createNewUserAccount(token: token)
}.catch { error in

I have no idea how saveUserDocumentToFirestore() does what it does under the hood. Perhaps it must be called on a background dispatch queue, because it blocks the caller (main) queue in that putData() you've mentioned?
Doesn't seem there's a need of a pending promise anywhere.

I will try playing around with where it is dispatched.
Even with
}.then { (arg) -> Promise<Void> in
            let (token, document) = arg
            document?.exists
                ? wrap { self.dismiss(animated: true, completion: $0) }
                : self.createNewUserAccount(token: token)
        }.catch { error in

Fro : self.createNewUserAccount(token: token) I still get Result values in '? :' expression have mismatching types 'Promise<Any?>' and 'Promise<Void>'

I still don't understand why the Always is getting called before self.createNewUserAccount(token: token) and all the nested promises have finished.
    private func flow(){
        loginToFacebook().then {token in
            return self.signIntoFirebase(accessToken: token)
        }.then { token in
            return self.getUserDocumentFromFirebase(userId: token.userId!)
        }.then { token, document in
            return document?.exists ? self.dismiss(animated: true, completion: nil) : self.createNewUserAccount(token: token)
        }.catch { error in
            self.log.error(error.localizedDescription)
        }.always {  //<-- This executes before self.createNewUserAccount(token: token) finishes.
            Dependency.dismissHud(self.hud, "Test title", "Test message text", 3)
        }
    }

    private func createNewUserAccount(token: AccessToken) -> Promise<Void> {
        return makeFacebookGraphRequest(accessToken: token).then { user in
            self.downloadFacebookProfilePictureAsImage(userModel: user)
            }.then { user, image in
                self.saveUserProfilePictureToFirestore(user: user, profileImage: image)
            }.then { user in
                self.getProfilePictureUrlFromFirestoreForUser(user: user)
            }.then { user, imageUrl in
                self.createNewUserDocumentAsDictionary(user: user, avatarUrl: imageUrl)
            }.then { user, userDictionary in
                self.saveUserDocumentToFirestore(user: user, data: userDictionary)
            }.then {
                self.performSegue(withIdentifier: "TermsViewController", sender: self)
        }
    }

Awesome!
Do you mind to share the code snippet with the fix?
At least the one where you specified the return type.
Thanks.

Sure.
Here was the issue that I found for the Firebase Storage. Lesson: update yours pods.
As for the typing:
 private func flow(){
        self.log.info("->")
        loginToFacebook().then {token in
            return self.signIntoFirebase(accessToken: token)
        }.then { token in
            return self.getUserDocumentFromFirebase(userId: token.userId!)
        }.then { (arg) -> Promise<Void> in
            let (token, document) = arg
            if document?.exists == true {
                return wrap { self.dismiss(animated: true, completion: $0) }
            } else {
                return self.createNewUserAccount(token: token)
            }
        }.catch { error in
            self.log.error(error.localizedDescription)
        }.always {
            Dependency.dismissHud(self.hud, "", "", 1.5)
        }
        self.log.info("<-")
    }

    private func createNewUserAccount(token: AccessToken) -> Promise<Void> {
        hud.textLabel.text = "Creating new user account"
        self.log.info("<>")
        return makeFacebookGraphRequest(accessToken: token).then { user in
            self.downloadFacebookProfilePictureAsImage(userModel: user)
        }.then { user, image in
            self.saveUserProfilePictureToFirestore(user: user, profileImage: image)
        }.then { user in
            self.getProfilePictureUrlFromFirestoreForUser(user: user)
        }.then { user, imageUrl in
            self.createNewUserDocumentAsDictionary(user: user, avatarUrl: imageUrl)
        }.then { user, userDictionary in
            self.saveUserDocumentToFirestore(user: user, data: userDictionary)
        }.then {
            self.performSegue(withIdentifier: "TermsViewController", sender: self)
        }
    }


Login fails when not setting server manually

I tried to login to plex but it failed with the following error messages:

When setting the servers address and port manually it works.
If needed I can send a log but I don't know how to access it.
Plex Server Version <IP_ADDRESS>28
Plex Rich Presence Version 1.6

Hello,
looks like an error with the XML deserialization.
You should be able to export the logs by opening the log window & clicking the export button at the top of it

I'm not getting the same error messages but same issue, works if I set manually. Auto-login returns the following:
21:16:58.286 [JavaFX-Launcher] INFO  o.s.b.SpringApplication - Starting application on DESKTOP-QGF2D6J with PID 15728 (C:\Users\xxxx\Downloads\plex-rich-presence-1.6.jar started by seanf in C:\Users\xxxx\Downloads)
21:16:58.297 [JavaFX-Launcher] INFO  o.s.b.SpringApplication - No active profile set, falling back to default profiles: default
21:17:00.032 [JavaFX-Launcher] INFO  o.s.b.SpringApplication - Started application in 2.191 seconds (JVM running for 3.433)
21:17:01.549 [RPC-Callback-Handler] INFO  f.a.p.v.MainViewModel - Connected to Discord RPC
21:17:01.755 [AWT-EventQueue-0] INFO  f.a.p.c.TrayIconController - Tray icon initialized
21:17:02.254 [JavaFX Application Thread] INFO  f.a.p.v.MainViewModel - Logging in
21:17:06.993 [RxIoScheduler-2] INFO  f.a.p.v.MainViewModel - Obtaining Plex servers...
21:17:07.367 [RxIoScheduler-2] ERROR f.a.p.v.MainViewModel - Obtain plex server failed : Failed to find any plex servers.

I don't seem to be able to get debug level logging either.  Used the below command:
java -jar plex-rich-presence-1.6.jar -Dlogging.level.root=DEBUG
Am I doing something wrong? (highly likely)
I use two plex servers, one on the device I'm running this program on, another on a raspberry pi. I'm the owner of both.

Okay thank you both for your precise feedback.
I have little time this month to work on this project but I will next month.
Sorry for the inconvenience !

Okay thank you both for your precise feedback.
I have little time this month to work on this project but I will next month.
Sorry for the inconvenience !

No apology necessary, appreciate the quick reply.

I have a similar issue, but I instead get a problem with it fetching my plex servers, error below
[INFO] Obtaining Plex servers...
[INFO] Obtaining user info...
[INFO] Successfully logged in as: Jaynator495
[ERROR] Error getting sessions failed : Connection reset

Looks like an error when connecting to your plex server, is it reachable from your machine ?

Looks like an error when connecting to your plex server, is it reachable from your machine ?

Yes, however I can only connect to either of my 2 plex servers on the same machine it's hosted on. If I specify any IP other than <IP_ADDRESS>, it pops up with that error. This includes the local IP instead of localhost IP. Meanwhile I can open plex web to all of the IPs I entered just fine


No fbcunn

created a version that does not require fbcunn

LookupTableGPU is faster.
It would be the best to add HierarchicalSoftmax . It should speed up everything by the factor of ~2.

Thanks for the great example Wojciech! We just needed something that can run on our Mac OS X laptops to create our own packages.

I wanted to create a new branch and submit a new pull request for a NEW branch, but am not sure how to do it yet ;-)


corruption after 0.4.158 update

after updating to v.0.4.158 this error pops up

if i select "yes", cairo shell stops(Error: cairo has stopped working) and if select "no" the above error shows up again and if i click "no" again" this error comes

but if select no the first error backs. OS: windows 7 ultimate x64 with latest updates installed.

It looks like you got a partial update. Could you please exit Cairo, then reinstall 0.4.158 from here?

Can we confirm if this is still an issue or if any other users experienced it as well?


Bash completion file does not need to be executable, it has no shebang

The executable bit is stripped anyway when the RPM package is built.
TODO:

[ ] Write new tests or update the old ones to cover new functionality. -- I do not consider that worth it.
[ ] Update doc-strings where appropriate. -- not appropriate
[ ] Update or write new documentation in packit/packit.dev. -- not appropriate

RELEASE NOTES BEGIN
Packit Bash completion file is no longer needlessly executable.
RELEASE NOTES END

rebased


[FTU] - Add front end to the app.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
What is the feature request?
It will makebusers job much easier if the app has frontend which can make use of app much more pleasant and userfriendly.
Enter Here.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
In future we may add more features and maybe able to deploy it on the web.

I see. However as you know I'm not so much of a expert Coder so I may have you handle it. If there is a necessity for HTML or CSS, you can look at my repository on HTML.

I see. However as you know I'm not so much of a expert Coder so I may have you handle it. If there is a necessity for HTML or CSS, you can look at my repository on HTML.

I decided to add it to my HTML login page! If you want, you may go to my account and see the repository. We should discuss this more in the Conversations tab.

I decided to add it to my HTML login page! If you want, you may go to my account and see the repository. We should discuss this more in the Conversations tab.

I actually don't mind this idea but I didn't have the feeling to take it that far. We can still continue with this but we might need more manpower.

I actually don't mind this idea but I didn't have the feeling to take it that far. We can still continue with this but we might need more manpower.

I think we should leave it for now.
What do you think?

I think we should leave it for now.
What do you think?

Yeah, we leave it for now.

Yeah, we leave it for now.

Maybe when more people find this repository then will work on this. By the way, we country do you live in?

Maybe when more people find this repository then will work on this. By the way, we country do you live in?

I am from india and you?

I am from india and you?

Singapore

Singapore

Your English is quite good :D

Your English is quite good :D

We indians learn it from childhood like i am studying in english from when i was 11

We indians learn it from childhood like i am studying in english from when i was 11

It's widely spoken in india

It's widely spoken in india

Oh... I see

Oh... I see

You have a youtube channel listed in your profile but it shows 404

You have a youtube channel listed in your profile but it shows 404

And yeah i think this issue should be closed for now

And yeah i think this issue should be closed for now

Yeah I have a YouTube channel but I don't what happened to it

You have a youtube channel listed in your profile but it shows 404

Yeah I have a YouTube channel but I don't what happened to it

You have a youtube channel listed in your profile but it shows 404

It's kinda dead though haha

It's kinda dead though haha

Haha

Haha

It's actually dead because I am working on GitHub repositories now. Though I need more people to recognise the repositories.

It's actually dead because I am working on GitHub repositories now. Though I need more people to recognise the repositories.

Do you contribute to other projects?
Like except yours?
Thats a good way to get noticed.

Do you contribute to other projects?
Like except yours?
Thats a good way to get noticed.

Do you contribute to other projects?
Like except yours?
Thats a good way to get noticed.

Ahhh I see.. I don't know which repositories to work on though.

Do you contribute to other projects?
Like except yours?
Thats a good way to get noticed.

Ahhh I see.. I don't know which repositories to work on though.

By the way which state of India I want to see the time difference.

By the way which state of India I want to see the time difference.

Gujarat

Gujarat

Just

Do you contribute to other projects?
Like except yours?
Thats a good way to get noticed.

Ahhh I see.. I don't know which repositories to work on though.

Just go to issues at top and search lable:'lable-name'
Language:'language-name'

Just

Do you contribute to other projects?
Like except yours?
Thats a good way to get noticed.

Ahhh I see.. I don't know which repositories to work on though.

Just go to issues at top and search lable:'lable-name'
Language:'language-name'

Just

Do you contribute to other projects?
Like except yours?
Thats a good way to get noticed.

Ahhh I see.. I don't know which repositories to work on though.

Just go to issues at top and search lable:'lable-name'
Language:'language-name'

Thanks!

Just

Do you contribute to other projects?
Like except yours?
Thats a good way to get noticed.

Ahhh I see.. I don't know which repositories to work on though.

Just go to issues at top and search lable:'lable-name'
Language:'language-name'

Thanks!

For start you can search 'begginer' or 'good first issue' for lable

For start you can search 'begginer' or 'good first issue' for lable

Something like label:"Good first issue" language:Python

Something like label:"Good first issue" language:Python

@rutvikpadhiyar000 please check on #14 thanks!

@rutvikpadhiyar000 please check on #14 thanks!


www.couriermail.com.au

Checklist

[x] I'm reporting a new site support request
[x] I've verified that I'm running youtube-dl version 2019.11.05
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that none of provided URLs violate any copyrights
[x] I've searched the bugtracker for similar site support requests including closed ones

Example URLs

https://www.couriermail.com.au/news/queensland/full-list-of-alerts-and-evacuations-for-bushfires/news-story/ca318b6b127eec26e30c18199f1ff1ac
Description

Plays in Firefox.  youtube-dl fails with "Not Found"

URL from #23025:
https://www.news.com.au/national/queensland/bushfires-tear-through-homes-and-rage-through-to-saturday-morning-live-updates/news-story/ee562f9338946141e80b34210426c2b0


[FLAVA]Use the ckpt loading helper function instead of PretrainedMixin

Stack from ghstack (oldest at bottom):

-> #366
#365

Differential Revision: D41142482

Codecov Report
Base: 93.43% // Head: 93.19% // Decreases project coverage by -0.24% :warning:

Coverage data is based on head (30ae738) compared to base (ae70afe).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@                   Coverage Diff                   @@
##           gh/ankitade/14/base     #366      +/-   ##
=======================================================
- Coverage                93.43%   93.19%   -0.25%
=======================================================
  Files                       55       55
  Lines                     3262     3262
=======================================================
- Hits                      3048     3040       -8
- Misses                     214      222       +8

Impacted Files
Coverage Δ

torchmultimodal/models/flava/model.py
95.55% <100.00%> (ø)

torchmultimodal/utils/common.py
83.80% <0.00%> (-7.62%)
:arrow_down:

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 at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@deankita has imported this pull request.  If you are a Meta employee, you can view this diff on Phabricator.

@deankita has imported this pull request.  If you are a Meta employee, you can view this diff on Phabricator.

@deankita has imported this pull request.  If you are a Meta employee, you can view this diff on Phabricator.


UnixPb: Install Cronie and Bzip2

[x] commit message has one of the standard prefixes
[ ] faq.md updated if appropriate
[ ] other documentation is changed or added (if applicable)
[ ] playbook changes run through VPC or QPC (if you have access)
[ ] VPC/QPC not applicable for this PR
[ ] for inventory.yml changes, bastillion/nagios/jenkins updated accordingly

Cronie is needed for crontab tasks.
Without bzip2, the expat tarball will not extract

it is strange, the expat task in SLES.yml has been there for years, if it could not extract by missing bzip2, how it worked before.
do you have an issue or failed test/run that can be referred to?

TASK [Common : Extract expat] **************************************************
fatal: [test-marist-sles12-s390x-2]: FAILED! => {"changed": false, "msg": "Failed to find handler for \"/tmp/expat-2.2.5.tar.bz2\". Make sure the required command to extract the file is installed. Command \"/bin/tar\" could not handle archive. Command \"/usr/bin/unzip\" could not handle archive."}

it is strange, the expat task in SLES.yml has been there for years, if it could not extract by missing bzip2, how it worked before.

Perhaps some systems come with it installed. But it is still best to ensure it gets installed
TASK [Crontab : Add cron job to apply OS updates on zypper-based systems] ******
fatal: [test-marist-sles12-s390x-2]: FAILED! => {"changed": false, "msg": "Failed to find required executable \"crontab\" in paths: /opt/csw/bin/:/usr/local/bin:/opt/homebrew/bin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"}

Same with cronie

The linter errors are due to the workflow using the latest version of the linter, as @zdtsw commented
I think resolving the linter issue should be done in a different issue/pr

is this found when you upgrade from sles12 sp3 to sp5?

is this found when you upgrade from sles12 sp3 to sp5?

I found it when I was setting up test-marist-sles12-s390x-2, sles12 sp5

is this found when you upgrade from sles12 sp3 to sp5?
wonder if it relates to vules found in Cronie and Bzip2. i dont mind adding these two, as long as it does not introduce new security concern @steelhead31 how you feel?

Im happy for both of these to be installed on sles12 sp5, had to install cronie on sles15 also, the current version installed via zypper. AFAIK, the known vulnerabilities in both have largely been fixed, or are negligible as they already require someone to have privileged access to the machine.

ping @karianna for rereview