Make create config use the Trash repo templates

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
As a user, I'd like the ability to create my default recyclarr.yml from a combination of the premade Recyclarr configuration files located in the official TRaSH repository here:

Sonarr
Radarr

An example of the CLI experience for this might be:
# Without `--templates`, it would list your local configs instead
> recyclarr config list --templates

Sonarr:
- sonarr-web-1080p
- sonarr-web-4k

Radarr:
- radarr-remux-web-1080p
- radarr-remux-web-4k

> recyclarr config create -t sonarr-web-1080p -t radarr-remux-web-1080p
[INF] Created 'recyclarr.yml' from templates

The general flow the user would take:

Use the config list --templates command to list the available configuration templates for each service in the Trash repo.
Use config create -t to specify one or more template names to use to create a default recyclarr.yml.

Implementation Notes

When two or more templates are specified, those get concatenated together to form one final recyclarr.yml file.
The existing -c option should allow the user to specify a custom location for the created file.
TBD: Possibly issue an error/warning if the user tries to use templates from the same service?

Trash Repo Changes

Centralize all the templates under 1 parent directory (e.g. docs/recyclarr/templates)
Create a new templates.json file at the root of that directory that describes the following for each template YAML file:

A display name to be used in the CLI when users run config list --templates
The relative path from the directory containing the templates.json file to the template YAML file.
A boolean flag that determines if this particular template should be rendered in the config list --templates output (mainly for SQP templates).

Add a new entry to the metadata.json file at the root of the Trash repo which will include a path to the templates directory (in the previous example that would be docs/recyclarr/templates).

This all looks good to me. I did remember that the main guide templates aren't actually detailed in the guide anywhere just yet, so these could be moved without issue. The SQP ones are linked via pins at the top of the relevant Discord channels, but again these could be changed.
I'll pick up both these points about relocating files with Trash though.

@rcdailey - we can centralise the config files at /docs/recyclarr-configs. Would you want/need subfolders for Radarr/Sonarr, or just lump them all in one folder?
I can do a PR for the file relocations, I'll need some help with the json files though as I've no idea how to do these, haha!

The file structure under /docs/recyclarr-configs is up to you. The templates.json I mentioned in my OP states that the paths to each file will be under there, so you could put them wherever you want. As an example:
/docs/recyclarr-configs/
├── templates.json
├── config1.yml
├── config2.yml
├── more-configs/
│   └── config3.yml
└── other-configs/
    └── config4.yml

The templates.json would have:
[
  {
    "template": "config1.yml",
    "display_name": "Config 1"
  },
  {
    "template": "config2.yml",
    "display_name": "Config 2"
  },
  {
    "template": "more-configs/config3.yml",
    "display_name": "Config 3"
  },
  {
    "template": "other-configs/config4.yml",
    "display_name": "Config 4"
  }
]

Since you offered to do the work, I'd also make sure to update the metadata.json too, as well as its schema, so that Recyclarr can find the templates.json file from the root of the repo. If you aren't comfortable with this change, I can open a PR for it later once I get closer to working on this. At that time, I'm also happy to do the templates.json too, if you want.

So if I understand correctly, metadata.json would look a bit like this:
{
  "$schema": "metadata.schema.json",
  "json_paths": {
    "radarr": {
      "custom_formats": ["docs/json/radarr/cf"],
      "qualities": ["docs/json/radarr/quality-size"],
      "naming": ["docs/json/radarr/naming"]
      "templates": ["docs/recyclarr-configs/radarr"]
    },
    "sonarr": {
      "release_profiles": ["docs/json/sonarr/rp"],
      "custom_formats": ["docs/json/sonarr/cf"],
      "qualities": ["docs/json/sonarr/quality-size"],
      "naming": ["docs/json/sonarr/naming"]
      "templates": ["docs/recyclarr-configs/sonarr"]
    }
  }
}

Then have 2x templates.json files - one under docs/recyclarr-configs/radarr and another under docs/recyclarr-configs/sonarr?

Nope, simpler than that:
metadata.json:
{
  "$schema": "metadata.schema.json",
  "json_paths": {
    "radarr": {
      "custom_formats": ["docs/json/radarr/cf"],
      "qualities": ["docs/json/radarr/quality-size"],
      "naming": ["docs/json/radarr/naming"]
    },
    "sonarr": {
      "release_profiles": ["docs/json/sonarr/rp"],
      "custom_formats": ["docs/json/sonarr/cf"],
      "qualities": ["docs/json/sonarr/quality-size"],
      "naming": ["docs/json/sonarr/naming"]
    },
    "recyclarr": {
      "templates": "docs/recyclarr-configs"
    }
  }
}

metadata.schema.json:
{
  "$schema": "https://json-schema.org/draft-07/schema",
  "$id": "https://raw.githubusercontent.com/TRaSH-/Guides/master/metadata.schema.json",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "$schema": { "type": "string" },
    "json_paths": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "radarr": { "$ref": "#/$defs/radarr" },
        "sonarr": { "$ref": "#/$defs/sonarr" },
        "recyclarr": { "$ref": "#/$defs/recyclarr" }
      }
    }
  },
  "$defs": {
    "paths_object": {
      "type": "array",
      "items": { "type": "string" }
    },
    "radarr": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "custom_formats": { "$ref": "#/$defs/paths_object" },
        "qualities": { "$ref": "#/$defs/paths_object" },
        "naming": { "$ref": "#/$defs/paths_object" }
      }
    },
    "sonarr": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "custom_formats": { "$ref": "#/$defs/paths_object" },
        "release_profiles": { "$ref": "#/$defs/paths_object" },
        "qualities": { "$ref": "#/$defs/paths_object" },
        "naming": { "$ref": "#/$defs/paths_object" }
      }
    },
    "recyclarr": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "templates": { "type": "string" }
      }
    }
  }
}

Then have 2x templates.json files - one under docs/recyclarr-configs/radarr and another under docs/recyclarr-configs/sonarr?

No to this as well. You'll follow my previous post for this. No need for two template json files.


img and/or open graph parsing

Understandably not a desired feature, but I appreciate link/og parsing found in apps like slack and hipchat. Happy to work on it, but looking for some feedback on if this is wanted before I spend some time on it.

+1 to gifs/pngs/jpgs for starters
would be nice to have a 'embed-media' module that matched strings for media urls, then turned them into embed html. bonus points if it can verify they are valid images before rendering (e.g. render to invisible canvas and make sure it loads correctly)

since we have markdown now all you need to do is transform .jpg, .png, .gif into ![meta](url)

Yeah I think that work for now. To provide a decent experience like slack (verifying a valid url and what not) message parsing would need be async and was more work than I could put in to it last night haha.

Thoughts from last night:
message = richMessage(message)

// parse <a> from rendered html
// check for first valid embed (or just grab the first url and if it doesn't work then ¯\_(ツ)_/¯
parseEmbeds(message, cb (err, embed) {
  // embed could share the same structure as a message { text: 'url', html: 'embed html' }
  message = richMessage.mergeMessages(message, embed)
  render()
})

Loading/parsing indicator
Ensuring embed renders below relevant message and not at the bottom of all merged messages

some node tools for oembed parsing/lists of oembed URLs:

https://github.com/punkave/oembetter
https://github.com/inspiredjw/oembed-auto/blob/master/src/oembedList.json
https://github.com/Doist/media-parser/blob/master/lib/media-parser.js
https://github.com/Singly/hallway/blob/7a5fadc8e2d550dd374f85d8e17e0b4447e0b1aa/lib/services/links/oembed.js (the embed.ly API key in this file still works... haha)

This issue was moved to moose-team/rich-message#2


US913065: Update to latest base image release

Ticket: https://internal.almoctane.com/ui/entity-navigation?p=131002/6001&entityType=work_item&id=913065

CI Build Link:
https://sou-jenkins2.swinfra.net/job/FileAnalysisSuite/job/FileAnalysisSuite~restadapter-filesystem~US913065~CI


Rust cross-compilation support

@alekseysidorov made an overlay that would be nice to support also out of the box for devenv users.

Should be addressed with https://github.com/cachix/devenv/pull/900

Example on devenv.sh


Merge main into f/model-serving and solve conflicts

Merge main into f/model-serving and solve conflicts

/approve

/lgtm

/lgtm

/approve


Campaign | Icons: area definition

Approximate definition from Lastenheft:

Prototype: https://www.figma.com/proto/7wE0Iveas3GGb8u4oL0714/App-Design-Mitglieder-App-(1)-(Copy)?node-id=2685-14627&t=b8swD5IOAFfZ0OSo-1

Exact color code needs to be defined.
Question: Do we really want to define areas ("Bereiche") as a layer or would it be ok to indicate street sections (as in previous app)? @leagerndt

Color suggestions here: https://github.com/verdigado/gruene_app/issues/272#issuecomment-2460254947

areas in my party district: pink
areas in other party districts: grey

Please provide exact hex codes. @leagerndt @JuliaFreitagBGSt


(Urgent) Find alternative to Pastebin for large messages

Pastebin API limit is causing errors in RDSS quick-muting functionality for large messages.
To fix, find an alternative to Pastebin API (for example, a way to post an attachment to Discord and obtain its link) to include in the formatted ;mute String.

I'm searching for alternatives, however, if you're a pro member you can contact Pastebin and they will increase the limit free of charge.

Merged fix to master. Version 1.2.0 removes Pastebin implementation in favor of Discord's own attachments.


Fixing the merge conflict in the Learning_Pathway_Index.csv file

Fixed the merge conflict after merging the Pull Requests

@manishkr1754 thanks for this, can we proceed with the updates to the various places, including Kaggle Dataset (along with adding the necessary metadata json to the dataset)

@manishkr1754 thanks for this, can we proceed with the updates to the various places, including Kaggle Dataset (along with adding the necessary metadata json to the dataset)

Yes, we can. Will let you know once done.


Update test_approxDstns.py

Just a typo.

Merging once checks finish (hopefully no illegal invisible characters added to the comment).


Update puppeteer-core and ws

Update puppeteer-core and ws to fix a DoS vulnerability warnning:
https://github.com/websockets/ws/releases/tag/8.17.1
https://github.com/puppeteer/puppeteer/pull/12605
https://www.cve.org/CVERecord?id=CVE-2024-37890

thank you very much for the PR

Hi @SamuelScheit, thanks for merging this fix. Is there a chance we can release a new version for this?

yes, sorry for the delay.
It is now published in the latest version:
npm i<EMAIL_ADDRESS>


[CONF-2022] Add venue sponsor SP Digital

@tanhauhau @perwyl @serverwentdown possible to expedite this?

Choose one. Since we do not have that many sponsors, possible to use the first one?

Is there a specific URL to use? If not I'll default to https://www.spdigital.sg/

That will work thanks!

Sorry no, realised I put it to https://www.spdigital.sg/about-us.html instead


Not working after add provider

Hi,
When I added "adonis-v5-elasticsearch/providers/ElasticProvider" to .adonisrc.json
It gives me this error.

Hello this package is not maintained anymore for the time being. I must update it to Adonis 5. Are you using Adonis 5?


token detail - add links to swap and lp

What would you like to be added:

For DST, add option to Swap and LP from Token Detail page. Since they're always swapping from DFI.
For LP, they should have an option to Add LP or Remove LP from Token Detail page

Why is this needed:

need your inputs on this @jtlntno-cake


HLW8032 does not increment the KWh counter.

HLW8032 does not increment the KWh counter.

Fixed in the latest version.


Added support for building ePub

This change supports building ePub copies of the book.
The ePub format is helpful for rendering dynamically according to the device's screen estate, and can improve readability.

My mistake, can you check again?


Support for adding/updating BGP community values on virtual networks

Is your feature request related to a problem? Please describe.
This feature request is for CLI support for a new ExpressRoute/virtual network feature that allows a user to set a BGP community value on their virtual network. This will associate the custom value to the virtual network via the NRP schema, at which point the ExpressRoute gateway will include the custom value in the routing information for packets sent back to on-premises. This enables users to see which virtual network their traffic is coming from in the case of complicated Azure networking setups.
Describe the solution you'd like
We would like to be able to set the custom BGP community value on a virtual network at creation time, or be able to update an existing virtual network with a new BGP community value.
Describe alternatives you've considered
We already have PowerShell support for adding a value upon virtual network creation (see the -BgpCommunity field listed here) and update the value by changing the property $vnetvariable.BgpCommunities.VirtualNetworkCommunity and using Set-AzVirtualNetwork.
Additional context
Minimum API Version: 2020-06-01
Swagger: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/virtualNetwork.json
Feature Status: Not released, can test by working with Tanu Balla (taballa) to enable feature flags on subscription
ETA: Aiming for Public Preview by Ignite Nov21

network


Correction for raw affiliation Ivey Business School, Western University

Correction needed for raw affiliation Ivey Business School, Western University
raw_affiliation_name: Ivey Business School, Western University
new_rors: 02grkyz14
previous_rors: 02agqkc58
works_examples: W4385500373;W4319780198;W4380238241;W4382997894;W4388446871;W4385901157;W4322581703;W4387788543;W4319658696;W4386994206;W4319988037
contact: 6ebaed20fa740f82a1af4bb2b1cca64d:082095bbcbd964ea @ uwo.ca

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


handle connection being closed while streaming logs

When the connection is closed, if the time since the last activity is less than a minute, finish.
Otherwise, ask again for logs starting from just after we last saw activity.

Note: although the OpenShift Origin API docs say {{since}}, it's actually {{sinceSeconds}}. I think the documentation online is out of date.

Tested here. I have a build image that alternately sleeps 6mins and 16mins. Now the verbose output from watching a build from this build image looks like this:
Sat May 21 16:19:44 UTC 2016
sleeping for 6 mins
Sat May 21 16:25:44 UTC 2016
sleeping for 16 mins
2016-05-21 17:32:23,961 - osbs.http.curl - DEBUG - transfer closed with outstanding read data remaining
2016-05-21 17:32:23,962 - osbs.http.curl - DEBUG - Closing connection 0
2016-05-21 17:32:23,962 - osbs.http - DEBUG - end of the stream
2016-05-21 17:32:23,962 - osbs.http - DEBUG - cleaning up
2016-05-21 17:32:23,963 - osbs.core - DEBUG - connection closed after 399s
2016-05-21 17:32:23,963 - osbs.core - DEBUG - fetching logs starting from 398s ago
2016-05-21 17:32:24,265 - osbs.http.curl - DEBUG -   Trying <IP_ADDRESS>...
2016-05-21 17:32:24,487 - osbs.http.curl - DEBUG - Connected to api.devops-osbs.openshift.com (<IP_ADDRESS>) port 443 (#0)
2016-05-21 17:32:24,716 - osbs.http.curl - DEBUG - skipping SSL peer certificate verification
2016-05-21 17:32:24,942 - osbs.http.curl - DEBUG - ALPN/NPN, server did not agree to a protocol
2016-05-21 17:32:24,942 - osbs.http.curl - DEBUG - SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
2016-05-21 17:32:24,942 - osbs.http.curl - DEBUG - Server certificate:
2016-05-21 17:32:24,942 - osbs.http.curl - DEBUG - 	subject: CN=*.devops-osbs.openshift.com,O=Red Hat Inc.,L=Raleigh,ST=North Carolina,C=US
2016-05-21 17:32:24,943 - osbs.http.curl - DEBUG - 	start date: Mar 29 00:00:00 2016 GMT
2016-05-21 17:32:24,943 - osbs.http.curl - DEBUG - 	expire date: Apr 03 12:00:00 2017 GMT
2016-05-21 17:32:24,943 - osbs.http.curl - DEBUG - 	common name: *.devops-osbs.openshift.com
2016-05-21 17:32:24,943 - osbs.http.curl - DEBUG - 	issuer: CN=DigiCert SHA2 High Assurance Server CA,OU=www.digicert.com,O=DigiCert Inc,C=US
2016-05-21 17:32:24,943 - osbs.http.out - DEBUG - GET /oapi/v1/namespaces/osbs-qa01/builds/docker-hello-world-sleep-6/log/?follow=1&sinceSeconds=398 HTTP/1.1
2016-05-21 17:32:24,943 - osbs.http.out - DEBUG - Host: api.devops-osbs.openshift.com
2016-05-21 17:32:24,943 - osbs.http.out - DEBUG - User-Agent: PycURL/<IP_ADDRESS> libcurl/7.43.0 NSS/3.22 Basic ECC zlib/1.2.8 libidn/1.32 libssh2/1.6.0 nghttp2/1.7.1
2016-05-21 17:32:24,943 - osbs.http.out - DEBUG - Accept: */*
2016-05-21 17:32:24,943 - osbs.http.out - DEBUG - Authorization: Bearer [...]
2016-05-21 17:32:24,943 - osbs.http.out - DEBUG - Connection: close
2016-05-21 17:32:24,943 - osbs.http.out - DEBUG - Cache-Control: b'no-cache'
2016-05-21 17:39:04,962 - osbs.http.curl - DEBUG - Empty reply from server
2016-05-21 17:39:04,962 - osbs.http.curl - DEBUG - Connection #0 to host api.devops-osbs.openshift.com left intact
2016-05-21 17:39:04,962 - osbs.http - DEBUG - cleaning up
2016-05-21 17:39:04,963 - osbs.core - DEBUG - connection closed after 800s
2016-05-21 17:39:04,963 - osbs.core - DEBUG - fetching logs starting from 799s ago
2016-05-21 17:39:10,376 - osbs.http.curl - DEBUG -   Trying <IP_ADDRESS>...
2016-05-21 17:39:10,603 - osbs.http.curl - DEBUG - Connected to api.devops-osbs.openshift.com (<IP_ADDRESS>) port 443 (#0)
2016-05-21 17:39:10,832 - osbs.http.curl - DEBUG - skipping SSL peer certificate verification
2016-05-21 17:39:11,059 - osbs.http.curl - DEBUG - ALPN/NPN, server did not agree to a protocol
2016-05-21 17:39:11,059 - osbs.http.curl - DEBUG - SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
2016-05-21 17:39:11,059 - osbs.http.curl - DEBUG - Server certificate:
2016-05-21 17:39:11,059 - osbs.http.curl - DEBUG - 	subject: CN=*.devops-osbs.openshift.com,O=Red Hat Inc.,L=Raleigh,ST=North Carolina,C=US
2016-05-21 17:39:11,059 - osbs.http.curl - DEBUG - 	start date: Mar 29 00:00:00 2016 GMT
2016-05-21 17:39:11,059 - osbs.http.curl - DEBUG - 	expire date: Apr 03 12:00:00 2017 GMT
2016-05-21 17:39:11,059 - osbs.http.curl - DEBUG - 	common name: *.devops-osbs.openshift.com
2016-05-21 17:39:11,060 - osbs.http.curl - DEBUG - 	issuer: CN=DigiCert SHA2 High Assurance Server CA,OU=www.digicert.com,O=DigiCert Inc,C=US
2016-05-21 17:39:11,060 - osbs.http.out - DEBUG - GET /oapi/v1/namespaces/osbs-qa01/builds/docker-hello-world-sleep-6/log/?follow=1&sinceSeconds=799 HTTP/1.1
2016-05-21 17:39:11,060 - osbs.http.out - DEBUG - Host: api.devops-osbs.openshift.com
2016-05-21 17:39:11,060 - osbs.http.out - DEBUG - User-Agent: PycURL/<IP_ADDRESS> libcurl/7.43.0 NSS/3.22 Basic ECC zlib/1.2.8 libidn/1.32 libssh2/1.6.0 nghttp2/1.7.1
2016-05-21 17:39:11,060 - osbs.http.out - DEBUG - Accept: */*
2016-05-21 17:39:11,060 - osbs.http.out - DEBUG - Authorization: Bearer [...]
2016-05-21 17:39:11,060 - osbs.http.out - DEBUG - Connection: close
2016-05-21 17:39:11,060 - osbs.http.out - DEBUG - Cache-Control: b'no-cache'
2016-05-21 17:41:44,636 - osbs.http.in - DEBUG - HTTP/1.1 200 OK
2016-05-21 17:41:44,636 - osbs.http.in - DEBUG - Cache-Control: no-store
2016-05-21 17:41:44,637 - osbs.http.in - DEBUG - Content-Type: text/plain
2016-05-21 17:41:44,637 - osbs.http.in - DEBUG - Date: Sat, 21 May 2016 16:41:44 GMT
2016-05-21 17:41:44,637 - osbs.http.in - DEBUG - Connection: close
2016-05-21 17:41:44,637 - osbs.http.in - DEBUG - Transfer-Encoding: chunked
2016-05-21 17:41:44,637 - osbs.http - DEBUG - raw headers: b'HTTP/1.1 200 OK\r\nCache-Control: no-store\r\nContent-Type: text/plain\r\nDate: Sat, 21 May 2016 16:41:44 GMT\r\nConnection: close\r\nTransfer-Encoding: chunked'
Sat May 21 16:41:44 UTC 2016
sleeping for 6 mins

LGTM, thank you!


User input validation & docstring update

Type of change

[ ] Added new project
[ ] Bug fix
[x] New features
[x] Enhanced documentation

Changes proposed in this pull request

Project name: Loan Calculator

Short description: Initially the game failed to evaluate invalid user input so with the updated code the user input is validated, test case is also added with docstring update.

Checklist

[x] The code is Python 3 compatible
[x] I have added relevant comments in my file to make code understandable
[x] I have added my project in a folder which includes all the necessary files

Please maintain project directory structure


Look up exhibitions on single exhibition pages with the new typed fetcher

Chipping away at https://github.com/wellcomecollection/wellcomecollection.org/issues/7363 and https://github.com/wellcomecollection/wellcomecollection.org/issues/7302
While looking at this, I'm pretty sure the UiExhibition type is redundant now, and we could flip everything over to Exhibition – but it'll be much easier to do that once the entire codebase is checked with TypeScript, so I'm not going to do that just now.

You're quite right – looks like I was doomsaying for nothing

🎉


Switch to building unifi_exporter binary in Dockerfile so automated D…

…ocker Hub builds can happen. Closes #26

https://hub.docker.com/r/cmsj/unifi_exporter/ is an example automated build using this version of Dockerfile.

Makes sense to me, thanks!


Creating Custom 404 page

Hi @jahnvisahni31
Is your feature request related to a problem? Please describe.
The current 404 error page on DesignDeck lacks a visually appealing design and doesn’t match the overall branding of the site. Additionally, the page's navigation bar doesn’t align with the rest of the website, creating a disjointed user experience. This inconsistency can leave visitors frustrated and cause them to abandon the site, especially when they encounter a broken link or incorrect URL.
Describe the solution you'd like
I propose designing a custom 404 page that aligns with DesignDeck’s branding and offers a user-friendly experience. The page would feature a clean, visually engaging layout with the following elements:

A playful or creative error message that reflects the brand's tone.
A navigation bar consistent with the rest of the website.
A prominent call-to-action button encouraging users to go back to the homepage or explore other parts of the site.
A visually captivating design that reduces frustration and adds some personality to the error page.

Describe alternatives you've considered
One alternative is to use a standard template for the 404 page, but this would miss the opportunity to engage users and keep them on the site. Another option is to include a search bar on the error page to help users find the content they were looking for. Both could be combined with the design, though the latter might clutter the simple aesthetic I have in mind.
Additional context
A screenshot of the current 404 page and a comparison to DesignDeck's landing and other internal pages will help illustrate the inconsistency and the need for a cohesive design.

go ahead @dev129

Hi @jahnvisahni31

just completed the wireframe design, I shall now start the design of the page.

Hi @jahnvisahni31 , this is the final design , please approve this so that I can launch a PR for it.

Hi @jahnvisahni31 , shall I launch the PR now ? I am waiting for your apptoval

Yes sure


copy files not working

For the past couple of weeks, I've been experiencing an issue where attempting to copy files to either the "compared" or "original" folder doesn't trigger any action. Both folders are located on my computer. I've tested this with PHP, JS, CSS, and image files, but nothing happens when trying to copy.
The functionality to choose between compared files when they exist in both folders works fine.
The issue only occurs when the file exists in one folder but not the other.
Please advise on how to resolve this or if any further troubleshooting steps are required.
in the output panel i get this log:
{
"errno": -4058,
"code": "ENOENT",
"syscall": "stat",
"path": "c:\xampp56\htdocs\vivisalutedario\c:\app\Console\Commands\MailInattivitaTelelavoro.php"
}
Thank you

Thanks for reporting @webDaeve
I wonder if it's the same as #162 . Can you paste here your vscode environment information?

This one?
Version: 1.94.2 (user setup)
Commit: 384ff7382de624fb94dbaf6da11977bba1ecd427
Date: 2024-10-09T16:08:44.566Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19045
-Dario Vimercati
Web Designer & Developer
P.IVA<PHONE_NUMBER>5
[https://3lf2h.img.bh.d.sendibt3.com/im/2032375/63127b8f0336a9aa4a776c08daaac464dd55914c3e5722bdea6a578751fd1a36.jpg?e=kTqq8IThH0l-wVd57rpiW5klWCFAcwzpS2uKpaPISPW72tscsvnlc4Vp8kcRvMqSsCwbw8WEAjQ1ta0cVRynODm4loZH40l0yLDlcRWsW5tMmCeN77SZF9NHVjom4ZfvN4c5R1ODyEPLgAJx7kPQQJuzPJq47DQdT2Sy_82TrS6e6zWLqZtUcAcU85A-tXHy7o26NhWjky2A0ej5a3TYAVfUm7gibV-uCtCvMsZB9Q4tMJ09bt6KST8CLgC4aJkPi6vUbOjWtS-23o58VDfsP5Jm3zsrlQrNEKcAMbPY5MDwUJO8BIdi3NOTWBkTGwOBMyN-GTjWirUgF-LWNp4HP43W6gxAME7SpbTAZUbgxstDXH1XIzL9Un-C8MAhqnM3A8WEqeSKD0Gs]

From: Mosh Feu @.>
Sent: 22 October 2024 20:42
To: moshfeu/vscode-compare-folders @.>
Cc: Daeve @.>; Mention @.>
Subject: Re: [moshfeu/vscode-compare-folders] copy files not working (Issue #164)
Thanks for reporting @webDaevehttps://github.com/webDaeve
I wonder if it's the same as #162https://github.com/moshfeu/vscode-compare-folders/issues/162 . Can you paste here your vscode environment informationhttps://code.visualstudio.com/docs/supporting/FAQ#:~:text=On Windows and Linux%2C go,has the version format 'major.?
—
Reply to this email directly, view it on GitHubhttps://github.com/moshfeu/vscode-compare-folders/issues/164#issuecomment-2430224117, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQD6QLRHSPKBA4FF6W5AAJ3Z422CTAVCNFSM6AAAAABQKEVYJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZQGIZDIMJRG4.
You are receiving this because you were mentioned.Message ID: @.***>

I experience the same issue, not being able to copy. It used to work in the old version where I had to right-click and select copy..
in the new one with icons, it is not working.
my env details:
Version: 1.94.2 (user setup)
Commit: 384ff7382de624fb94dbaf6da11977bba1ecd427
Date: 2024-10-09T16:08:44.566Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22631

I'm working on getting windows and I'll check that
It's probably somewhere here
https://github.com/moshfeu/vscode-compare-folders/blob/d9fd84a636e798c14d90356abff72913fe45a30b/src/providers/foldersCompareProvider.ts#L271-L274
so if anyone get a chance to check this too, it would be great
In the meantime, you can downgrade to the previous version, I think it's started in the latest version

Same as #162

I think I fixed it.
Can you try this test version?
compare-folders-0.25.1.vsix.zip

you did it! thanks a lot

Thank you :)
New version just published

Hi,
It looks like 'copy file' is not as fast as it need to be. Right now I am trying to copy a file from my local folder to compared folder but it is taking so much time. I think it is because after each copy folders are re-compared. But we just need to remove copied file from view to make it more efficient.
copyToFolder(uri: Uri, direction: 'to-compared' | 'to-me') {
    try {
      const [folder1Path, folder2Path] = pathContext.getPaths();
      const [from, to] =
        direction === 'to-compared' ? [folder1Path, folder2Path] : [folder2Path, folder1Path];
      const { root, dir, base } = path.parse(from);
      const pathWithoutSchema = dir.replace(root, '');
      const fileCopiedRelativePath = uri.fsPath.replace(pathWithoutSchema, '').replace(base, '');
      const fromPath = path.join(from, fileCopiedRelativePath);
      const toPath = path.join(to, fileCopiedRelativePath);
      copySync(fromPath, toPath);
      this.refresh(false);
    } catch (error) {
      log(error);
    }
  }

Thanks @noumanhabib, moved the discussion to https://github.com/moshfeu/vscode-compare-folders/discussions/175


Prepare 0.3.0 release of RAL and HAL

All builds and publish dry-runs look OK at this point. I updated the release steps to better order the process.
I removed the documentation keys from both Cargo.toml files. Neither key pointed to a valid page on docs.rs, and it sounds like crates.io will automatically provide the link if we don't specify it.
Closes #59.

Pending #63.


table_view_builder

the table_view_builder takes some time to render data after pushing a row into the table using the push_back function.
like so:
widgets::table_view_builder::specs(*this, main_page_name_ + "/main_tab/coupons/coupons_table")
.data().push_back({ { "#", "7"}, {"Date", "10-June-20"}, {"Issued to", "new"}, {"Serial Number", "added-for-testing"}});
And if you saying values that are determined on runtime, the table sometimes doesn't render the data.

According to the documentation, after making changes to UI elements you need to call the .update() method of the form class for the changes to be reflected as soon as possible, otherwise they will only come into effect the next time you move your mouse over the form or the next time a timer is called etc. Therefore, call the update() method explicitly.


Schematron from ant doesn't respect class path definitions for file

What steps will reproduce the problem?
1. Running the schematron task without saxon defined in the system classpath

See
http://stackoverflow.com/questions/23132201/setting-ant-classpath-in-build-xml
for someone [else]'s description of and proposed solution to the problem.

This is an issue when you can't define the classpath for saxon ahead of running
an ant script.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 20 Jul 2014 at 3:43

Moved to Schematron/ant-schematron#3.


Wrong file name?

Step 5 says..

WEB_API_URL=http://localhost:3000 node app/index.js. See note below*.

but inside app folder, index.js doesn't exists, is named index.ts

Whoops! That is indeed a typo. Thanks for bringing it to our attention. Try this instead:
WEB_API_URL=http://localhost:3000 node app/index.js

I have updated the documentation accordingly.


Create and test z/OS developer and test setups

Create and test developer and test setups for z/OS and write the documentation. This will require help from external supporters of the project who can provide access to a z/OS system.

We will not support Cobol Check development on z/OS. We want to support execution of Cobol Check on z/OS. I'm closing this item and will create two new items to call out development tasks we need to complete in order to support execution on z/OS - one using JZOS and one using Zowe.


Activate Slide via ajax has to activate other lines

When a related agenda item is activated, the related object is activated. This has to be make visible in ajax request.
The same if an related object is activated, also the agenda item has to be set to active in a ajax request

This issue is invalid for the current angularjs template code. So closed.


[FEATURE] Test for input-text(modify, pretty, maxlength, prefix)

Max length only for user input data, not for Form Model.
Pretty/Modify try to throw exceptions.
Prefix- just check


Bug - needs more inspection

Hi, i found an issue when i tried to crate webpack alias
i had to use overrideCracoConfig instead of overrideWebpackConfig
more details:
https://github.com/HasanAyan/craco-plugin-react-hot-reload/pull/3/commits/267905a1b5105ff52763288bb7077fceefe452a7#diff-168726dbe96b3ce427e7fedce31bb0bcR42
https://github.com/HasanAyan/craco-plugin-react-hot-reload/pull/3/commits/41d8e30a1b76516b73795e7ee5d93175a29e342f#diff-168726dbe96b3ce427e7fedce31bb0bcR29
if i used overrideWebpackConfig version directly in craco config, it was working, but in plugin it does not
i will try to inspect problem in few days

Hi @serus22
Thank you, let me know what you find out.

Hi @serus22
Any news on this?

Closing this issue since there is no comments for 25 days


add rest of treatments to treatment meta-table

Have left as string as there are over 300 and could potentially be more


use bibtex in permutations.py

convert references in mne/stats/permutations.py to use footcite / footbibliography

I'll work on this one.

I'll work on this


Fix embedding bag gpu kernel

Description
Brief Description of the PR:
Fixes # (issue)
Type of change

[x] Bug fix
[ ] New Tutorial
[ ] Updated or additional documentation
[ ] Additional Testing
[ ] New Activation and the changes conform to the activation contribution guidelines
[ ] New Callback and the changes conform to the callback contribution guidelines
[ ] New Image addition and the changes conform to the image op contribution guidelines
[ ] New Layer and the changes conform to the layer contribution guidelines
[ ] New Loss and the changes conform to the loss contribution guidelines
[ ] New Metric and the changes conform to the metric contribution guidelines
[ ] New Optimizer and the changes conform to the optimizer contribution guidelines
[ ] New RNN Cell and the changes conform to the rnn contribution guidelines
[ ] New Seq2seq addition and the changes conform to the seq2seq contribution guidelines
[ ] New Text addition and the changes conform to the text op contribution guidelines

Checklist:

[ ] I've properly formatted my code according to the guidelines

[ ] By running Black + Flake8
[ ] By running pre-commit hooks

[ ] This PR addresses an already submitted issue for TensorFlow Addons
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] This PR contains modifications to C++ custom-ops

How Has This Been Tested?
If you're adding a bugfix or new feature please describe the tests that you ran to verify your changes:
*

@rocketknight1
You are owner of some files modified in this pull request.
Would you kindly review the changes whenever you have the time to?
Thank you very much.

Is there anything else you want me to add after this PR, such as documentation on the Combiner argument? I still want to make sure this layer gets maintained, it'll just be a bit slow because I don't really have time during the work week!

Please add combiner document.

Sure, where should it go? Should it just describe the function of the combiner argument?

Sure, where should it go? Should it just describe the function of the combiner argument?

yes


Implementation Plan: Staging Elasticsearch reindex DAGs for both potential index types

Description

This issue is for tracking the drafting of an implementation plan in correspondence with the one noted in the search relevancy sandbox project proposal: Staging Elasticsearch reindex DAGs for both potential index types (these will be subsets of the full data refresh).
From the project plan:

This plan will describe the DAG or DAGs which will be used to create/update both the proportional-by-provider and production-data-volume indices.

It will also describe the mechanism by which maintainers can rapidly switch index the staging API uses. This could be done in two separate ways: a DAG which allows changing the primary index alias or a set of changes to the API which would allow queries to specify which index they use. The implementation plan should explore and describe both options.

There was some discussion on this in #1107 (link), from @zackkrida and @sarayourfriend:

(Zack)
Feels quite important to me and like it may be a bit under-explained by this proposal. As written, the proposal seems to suggest that the DAGs would be used to allow for creating a new staging index that replaces the default, "live" index the staging API is pointed at. Is that correct?
Alternatively, I can see a lot of value in having DAGs that allow for creating and updating staging indices with different qualities, but having a mechanism that allows developers to switch between them much more rapidly, perhaps even a query param-based solution (which would allow, for example, to switch indices via a checkbox on the staging.openverse.org/preferences page).
To put this all another way, I'm wondering if requirement #5 should be a bit more specific in terms of what "easily" means.
...
(Madison)
That's a great point, but I actually think this would be a good thing to determine in the implementation plan! It was my intention to have a single alias (like production, at least at the current moment) and allow maintainers to swap between these aliases. However, I do quite like the idea of an API setting which might allow dynamically changing which index is used at query time! That would bring increased complexity to the plan and the project that I wasn't initially considering, but if we scope it out as part of the plan, potentially starting with the rapid swapping but laying out a plan for what changing the index at query time might look like, we could even add that capability down the line outside of the bounds of this specific effort!
...
(Sara)
FWIW, if anyone is looking at this later during implementation planning, this probably doesn't need to be more complicated than a query parameter that determines the index, but we'd need to be careful to juggle things in light of https://docs.openverse.org/projects/proposals/detecting_sensitive_textual_content/20230308-implementation_plan_filtering_and_designating_results_with_sensitive_textual_content.html

@krysal since you're working on this, I wanted to surface this comment to you: https://github.com/WordPress/openverse/pull/1154#issuecomment-1574443019
It might be something we want to think about as part of this IP, or at least issues created for this IP.


Improve contribution guidance

This is an attempt to give better guidance to people trying to participate and contribute to OTelSvc.
The goal is to guide the efforts to issues that we already identified and triaged on the repo.
Side note: there is no clear distinction, at this point between, help wanted and up-for-grabs labels: help wanted is the standard for OC and OTel but up-for-grabs is also mentioned for OC and popular in other repos. Perhaps as we triage we could use help wanted to "harder" ones and up-for-grabs for the more straightforward ones.

Thanks!


add GossipConfig & DNSControllerGossipConfig

fixes #46

This looks good, you probably need to take this into consideration when validating a cluster now :)

This looks good, you probably need to take this into consideration when validating a cluster now :)

Thanks @eddycharly! can you elaborate on the validation part?

If i'm not mistaken we are using https://github.com/kubernetes/kops/blob/master/pkg/validation/validate_cluster.go which should already have the gossip validation logic...
Maybe there's nothing else to do 🤔
I never worked with gossip so i don't know much about it TBH.

ahh, good point! indeed as I recall cluster validation now uses kops native validation
https://github.com/terraform-kops/terraform-provider-kops/commit/3aa08ab2c617cf930098c5fcd7897996efbf7e80

Hey @sl1pm4t 👋🏼 hope you'd have a chance to take a look?

thanks folks!

@sl1pm4t, @eddycharly
looking at #33 & #34, I wonder if I should have done the same here? do we need to bump the schema version for the cluster resource & datasource?

@dkulchinsky iirc you don't need to bump the version if you only add fields 🤷
did you try your changes ?

@dkulchinsky iirc you don't need to bump the version if you only add fields 🤷
did you try your changes ?

not yet, will give it a go next week and report back

@sl1pm4t @eddycharly rolling this out now in our sandbox cluster and looks like it's working as expected 👍🏼
cluster spec change was applied and control-plane nodes are rolling out now.
for reference, I've added this block to the cluster spec to switch to memberlist gossip protocol as primary.
  gossip_config {
    protocol = "memberlist"
    listen   = "<IP_ADDRESS>:4000"
    secondary {
      protocol = "mesh"
      listen   = "<IP_ADDRESS>:3999"
    }
}

  dns_controller_gossip_config {
    protocol = "memberlist"
    listen   = "<IP_ADDRESS>:3993"
    seed     = "<IP_ADDRESS>:4000"
    secondary {
      protocol = "mesh"
      listen   = "<IP_ADDRESS>:3998"
    }
}

confirmed that the dns-controller picked up the correct settings:
Containers:
  dns-controller:
    Args:
      --watch-ingress=false
      --dns=gossip
      --gossip-protocol=memberlist
      --gossip-listen=<IP_ADDRESS>:3993
      --gossip-seed=<IP_ADDRESS>:4000
      --gossip-protocol-secondary=mesh
      --gossip-listen-secondary=<IP_ADDRESS>:3998
      --gossip-seed-secondary=<IP_ADDRESS>:4000
      --zone=sbx-awsuse2.k8s.local
      --internal-ipv4
      --zone=*/*
      -v=2

also protokube has the correct flags set:
/opt/kops/bin/protokube --bootstrap-master-node-labels=true --channels=s3://<bucket>/addons/bootstrap-channel.yaml --cloud=aws --cluster-id=<cluster>.k8s.local --containerized=false --dns-internal-suffix=internal.<cluster>.k8s.local --gossip-listen-secondary=<IP_ADDRESS>:3999 --gossip-listen=<IP_ADDRESS>:4000 --gossip-protocol-secondary=mesh --gossip-protocol=memberlist --gossip=true --master=true --node-name=<id> --v=4 --zone=sbx-awsuse2.k8s.local

Thanks @dkulchinsky ! That's awesome 🎉

Thanks a lot @eddycharly 😄
I did hit a snag towards the end of the process and not sure how to tackle it 😬
I summarized the details in https://github.com/terraform-kops/terraform-provider-kops/issues/68, would appreciate your thoughts/suggestions 🙏🏼


Extend realtime .proto to match bindings of v3.1 of GTFS-ServiceChanges.

See https://github.com/google/transit/issues/113#issuecomment-577715581

This can be closed - a proof-of-concept PR is open at https://github.com/MobilityData/transit/pull/47 with these changes.


Failed to parse map file

Your HunterPie is outdated. If you live in China, GFW is probably blocking your connection to my server to get the latest files. You'll have to update it manually.
https://api.hunterpie.com/v1/version/latest

Im chinese user ,After the update is completed, the "failed to parse map file" issue still exists and cannot be used normally, still displaying this:"failed to parse map file"

@Ashesonee  the newest version is <IP_ADDRESS>


analogWrite(board.pwm_pins[i], 0.25, 100) does not work on Pin 1, 14 and 16.

analogWrite(board.pwm_pins[i], 0.25, 100);

Signal with latest code.


prog: preserve resource arg direction during squashing

Currently, we override it to DirIn. At the same time, if other calls continue using the resource, it should actually be DirInOut.
Reported-by: John Miller<EMAIL_ADDRESS>

Please add a test with what's currently failing.

This is de-facto covered by this extra check
https://github.com/google/syzkaller/pull/4217/files#diff-5469086cd8d9b6b3032d1ad5469dbd866a81a07a99d61c5197c8f83ffdc7b2d9R169-R171
Without all the other code, it fails with
$ ./tools/syz-env go test -vet=off ./prog -short
gcr.io/syzkaller/env:latest
--- FAIL: TestNoGenerate (0.98s)
    testutil.go:33: seed=1695224415489555915
panic: call ioctl$AUTOFS_DEV_IOCTL_PROTOVER: result arg 'ANYRES32' is DirIn, but is used 6 times [recovered]
        panic: call ioctl$AUTOFS_DEV_IOCTL_PROTOVER: result arg 'ANYRES32' is DirIn, but is used 6 times

I can add a separate test though.


fix path to example in test commands of Linux install

Hello,
I've just installed and tested Dynaωo 1.6.0 on Linux using instructions from https://dynawo.github.io/install/.
The example test command:
$> ./dynawo.sh jobs-with-curves sources/examples/DynaWaltz/IEEE14/IEEE14_GeneratorDisconnections/IEEE14.jobs

fails because there is no remove upper level folder "source" in the zipped binary distribution: the "examples" folder is instead at the upper level.
Other than that, it works!

Thanks!


[FEAT]: Multiline Flashcard separator using a html comment

Is your feature request related to a problem? Please describe.
This is purely a visual improvement.
This would hide the separator in reading view, and fade out in editing view
Describe the solution you'd like
Allow comments to be recognized for multiline separator
i.e.
Question
<!--?-->
Answer

Additional context
Currently the inline separator actually works with comments!
The entire comment could be a separator or it could be included inside a comment

I forgot to test the markdown comment
Using %%?%% as the separator works for multiline flashcards


Soldering pins to Current Sensor

Soldering header pins to the INA 169.

[ ] 5 male header pins
[ ]  Terminal block

IMG_9109.pdf
IMG_9110.pdf

Let me know if I should redo all the connections if they look too bad.

Going to test I2C connections to make sure soldering was done correctly.

Re-did soldering on the current sensor: looks neater.
cuurentSensorTop.pdf
cuurentSensorBottom.pdf

@wecodewithmichaelmccloskey Reviewed in class. Looks good.


App Crashes "No Photos or Media found on Device"

Describe the bug
Sometimes it happens when I open the app, immediately, sometimes it happens when I click gallery, sometimes when I hit the camera folder. If it gets into the camera folder all the thumbnails are black.
The app instantly closes out and a little popup says "No photos or media found on device"
When this happens, sometimes after trying like 50 times itll start working again. Often it gets further but still crashes. I feel like deleting photos from within another app triggers it. Soemtimes nkthing triggers it. Often I have to restart the phone to get it working.
I can still access the menu and trigger a sync.
To Reproduce
Steps to reproduce the behavior:

Open the app
See error

Expected behavior
I mean, it doesnt crash.
Screenshots

Smartphone (please complete the following information):

Device: Galaxy S23 Ultra
OS: Android 13
Version: v2.9.0

Additional notes: clearing cache does not fix. Logging out and in does not fix.

I think those crash reports on Google Play Console recently came from you. I have read the crash logs, have no idea yet what went wrong, since crashes happen in Android Framework and the cause is "No Such Method", kind of weird.

That's very strange. Let me know if you'd like me to try anything. I'm fairly familiar with the Android system and installing APKs and stuff

Are you using a stock Samsung ROM, or you twists it a bit? All the crash report I got are related to the new Gallery function, did you launch Les Pas from it's Gallery launcher shortcut? Do you encounter crash when you are using features other than the Gallery, like creating albums etc.?

A new load of crash logs coming in from Google Play console, seems all related to missing the common storage volume 'external_primary'.

Interesting. On my S23 Ultra theres no support for external storage.
This is now always happening. Sometimes it will loa into the app for a moment, but no pictures load, it's all black icons. I tried to take a screenshot in the app but it said "Cannot take screenshot of content"

The Samsung rom is stock, as I received it. Im not sure about shortcuts. I open Les Pas, click Gallery, click Camera, or any other foler, and in any subfoler from Gallery when I open the folder all the icons go black (including the gallery subfolders which showed previews of the photos in the folder before clicking there, and it crashes after a moment.

Please try revoking the Image and Video access permission and grant it again. See if this would help.

I did that. Opened the app, it prompted for access and promptly crashed again after I accepted.

So far, all logs show that crashes happened deep down Android's framework code base, and all related to MediaStore access being denied. Various test machine here in my lab running Android 13 don't have this behavior, I don't have Samsung phone though. Suspect that there are some very specific system settings which trigger these crashes. Settings like work profile restriction, Samsung KNOX settings etc.

Another crash log just pop up on my Google Play console. Seems like this bug is affecting release 2.9.1 on the same device too.

ah so that is samsung knox

This is something new for me. Need to do some research on Knox API if it exists.

Keep me posted. If you want me to test anything please let me know!
Perhaps in the meantime it'd be worth posting an app that is just the sync part. Not sure how easy that would be to do. Your sync works so much better than the official nextcloud one and it still works as long as I dont open the gallery

it still works as long as I dont open the gallery

Do you mean the background sync can read your secret folder while the Gallery module can't? If that's the case, it will be very interesting.

No, it cannot read the secret folder, and there's no indication it's there when browsing it. It's not a browsable folder as far as I know, and even if it was it's all encrypted.
I believe it's a virtual machine basically, because you can add apps to it and it runs in a separate instance and the two have no access to each other unless you move a file between them.

Curious if there are any updates on this issue. I'm sure you're busy, I'd just love to use this app!
It did seem to work well for the first day or so too.

I'm having a vacation with my kids right now. There are won't be any updates until early next month.

I flicked through Samsung's API document on Knox secure folder, as far as I can tell, it's NOT feasible. Sorry.

Interesting. It's crazy that Knox breaks the app so much being in a totally separate OS image. Hopefull Samsung fixes that or better documents it at some point.
Sorry to have bothered you on your vacation. Enjoy your time with your kids!

This bug might be fixed in release 2.9.2. Please test and report.


ingress/rbac: allow any downstream principal to access the service

Description:
Since ingress policies are not based on service accounts, traffic
policy routes derived from ingress rules should not enforce RBAC
policies based on the downstream's service account.
This change adds support to wildcard the allowed service accounts
for an ingress route so that the corresponding RBAC policy
can create a rule that allows any downstream principal.
This is required for ingress to work with routesV2 and RBAC
per route policies.
Signed-off-by: Shashank Ram<EMAIL_ADDRESS>
Affected area:

New Functionality      [ ]
Documentation          [ ]
Install                [ ]
Control Plane          [X]
CLI Tool               [ ]
Certificate Management [ ]
Networking             [ ]
Metrics                [ ]
SMI Policy             [ ]
Security               [ ]
Tests                  [ ]
CI System              [ ]
Performance            [ ]
Other                  [ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
No

I love the readability that comes with .IsEmpty() and thank you for adding these well-written comments - great documentation!

Thanks for the super quick review @draychev!


🐛 [firebase_auth] Phone Authentication not working. Error:- Invalid request fields in play_integrity_token

Bug report
When triggering an otp with a valid phone number, it throws an error saying, this app is not authorized to use Firebase Authentication. Please verify that the correct package name, SHA-1, and SHA-256 are configured in the Firebase Console.  [Invalid request fields in play_integrity_token]
I have added the SHA-1 and SHA-256 keys as well in the firebase console.
Steps to reproduce
Steps to reproduce the behavior:

Create a new flutter project
Run flutterfire configure, to add firebase to the app
trigger an otp with a valid number.

Source code: https://github.com/webstar-code/test-firebase-otp
Screenshots:

Output

Package Versions

Hi @webstar-code, what device are you testing on? Physical or Emulator?
Can you also check this SO post to see if it helps? https://stackoverflow.com/a/53513327

See this: #11133

I have tested it on a physical device again and it is working now, it seems it got auto-resolved

Closing this since the issue has been resolved.


librealsense2: 2.31.0-1 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository librealsense2 to 2.31.0-1:

upstream repository: https://github.com/IntelRealSense/librealsense.git
release repository: https://github.com/IntelRealSense/librealsense2-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.9.0
previous version for package: 2.30.0-2

Holding for Kinetic sync.


Missing data source for wikitables2 experiment

I'm getting an error due to a URL now resolving in a 404. Any chance you have an alternate URL?

~/pnp (wikitables2*) $ ./experiments/wikitables/scripts/download_data.sh
URL transformed to HTTPS due to an HSTS policy
--2019-01-01 13:07:40--  https://cs.stanford.edu/~ppasupat/research/h-strict-all-matching-lfs.tar.gz
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving cs.stanford.edu (cs.stanford.edu)... <IP_ADDRESS>
Connecting to cs.stanford.edu (cs.stanford.edu)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-01-01 13:07:41 ERROR 404: Not Found.

I see fixtures here: https://github.com/allenai/allennlp/tree/dcd1d25e3f3dd0f672de32403080d75bcfe005b9/allennlp/tests/fixtures/data/wikitables
but I'm not sure what the intended structure of this missing zip files is, so I'm not sure what the correlation between these two sources are.

Thanks for pointing it out! I've updated the URL in the script.


bevy_reflect: Opt-out attribute for TypePath

Objective
Fixes #9094
Solution
Takes a bit from this comment as well as a comment from @soqb.
This allows users to opt-out of the TypePath implementation that is automatically generated by the Reflect derive macro, allowing custom TypePath implementations.
#[derive(Reflect)]
#[reflect(type_path = false)]
struct Foo<T> {
    #[reflect(ignore)]
    _marker: PhantomData<T>,
}

struct NotTypePath;

impl<T: 'static> TypePath for Foo<T> {
    fn type_path() -> &'static str {
        std::any::type_name::<Self>()
    }

    fn short_type_path() -> &'static str {
        static CELL: GenericTypePathCell = GenericTypePathCell::new();
        CELL.get_or_insert::<Self, _>(|| {
            bevy_utils::get_short_name(std::any::type_name::<Self>())
        })
    }

    fn crate_name() -> Option<&'static str> {
        Some("my_crate")
    }

    fn module_path() -> Option<&'static str> {
        Some("my_crate::foo")
    }

    fn type_ident() -> Option<&'static str> {
        Some("Foo")
    }
}

// Can use `TypePath`
let _ = <Foo<NotTypePath> as TypePath>::type_path();

// Can register the type
let mut registry = TypeRegistry::default();
registry.register::<Foo<NotTypePath>>();

Type Path Stability
The stability of type paths mainly come into play during serialization. If a type is moved between builds, an unstable type path may become invalid.
Users that opt-out of TypePath and rely on something like std::any::type_name as in the example above, should be aware that this solution removes the stability guarantees. Deserialization thus expects that type to never move. If it does, then the serialized type paths will need to be updated accordingly.
If a user depends on stability, they will need to implement that stability logic manually (probably by looking at the expanded output of a typical Reflect/TypePath derive). This could be difficult for type parameters that don't/can't implement TypePath, and will need to make heavy use of string parsing and manipulation to achieve the same effect (alternatively, they can choose to simply exclude any type parameter that doesn't implement TypePath).

Changelog

Added the #[reflect(type_path = false)] attribute to opt out of the TypePath impl when deriving Reflect

I gave this a spin, and I guess #[reflect_value] also works with #[reflect_value(type_path = false)], since I was able to get my tests passing with bevy_rand. Works nicely for my use case! So if this merges for 10.1, then this will unblock bevy_rand's upgrade path for sure.

overall this LGTM, this works to resolve one issue but if this is merged with type path part 2 as it is it will be a stability hole (using std::any::type_name).

Yeah. Maybe if we want to be super clear, I could add a warning in the docs to let users know that this is generally recommended against.
But yeah, for any type that can't effectively be (de)serialized, I don't think type name stability will be a major issue.

overall this LGTM, this works to resolve one issue but if this is merged with type path part 2 as it is it will be a stability hole (using std::any::type_name).
i wonder if (soon in the future) we could add an associated constant like the following:
trait TypePath {
    const TYPE_PATH_IS_STABLE: bool = false;
}

which would let us to panic upon (de)serialization.

The issue with that is a library like bevy_rand becomes unusable in the future in its current state, because rand types don't implement TypePath and newtyping will basically be forced onto users. I would like to avoid that if possible, else if not possible, I'd have to resort to macros to remove some of that boilerplate. Not ideal in my eyes for something that should be plug and play.

i agree that this fix is absolutely necessary for bevy_rand, however that implies that the types cannot ever have a stable type path.
i feel very strongly that we should not allow serialisation on types that do not have stable type path, so we cannot allow serialisation on the type with the offending error in bevy_rand. is that a dealbreaker?

i feel very strongly that we should not allow serialisation on types that do not have stable type path, so we cannot allow serialisation on the type parameter with the offending error in bevy_rand. is that a dealbreaker?

Yes, because being able to serialise/deserialise the PRNG is a huge part of being able to store/send/reload a game's state (including its PRNG states) for determinism. Implementing a replay feature that is able to replay a game's 'random' parts, like crits, rolls, etc, requires that you are able to serialise/deserialise the PRNG, and bevy_rand component/resource types rely on the type parameter to determine which kind of PRNG is being used. For something like ChaCha8Rng, it's not just the seed you need to serialise, but also the stream and word position values. Different PRNGs have different states (WyRand is pretty much just a u64 value, ChaCha is a 256-bit state, etc), so to be able to ensure when we have multiple clients synced to the same exact PRNG state, or loading a saved game, that we are initialising the game state (PRNG included) to be exactly what was saved. Not including the type means we are having a lossy conversion, or are straight-up unable to save/restore PRNGs.
So in summary, for bevy_rand, we can't not avoid serialising/deserialising the part that isn't TypePath stable, otherwise it pretty much kills the point of the crate.

Ultimately though, if it must be no other way, then bevy_rand will have to be a very different sort of crate. It won't be a nice generic shim to plug any PRNG in, I'd have to provide concrete types, but that does mean bevy_rand won't be plug and play with the rest of the rand ecosystem, it would only support the PRNGs that I implement types for. But this also makes it not so nice for anything that tries to bring in external types from other rust crates into bevy.

It should be noted that the example in the original post can be achieved in Bevy 0.11.0 already, you just have to manually implement Reflect instead of deriving it. This PR just allows you to disable the automatic implementation of TypePath when you derive Reflect. It doesn't introduce any stability issues that aren't already there.
Here's the same example working with Bevy 0.11.0 by implementing Reflect manually: https://gist.github.com/paul-hansen/c47f6af05732c0c03230fad5027f55e4
I think this PR could also be helpful for cases where there might be another crate that implements a stable type path and we want to implement TypePath using the methods that crate provides. So I don't really see this PR as solely helping negative use cases.
That said, I'm thinking I'll probably not use this for LWIM after all as serializing input maps is a core feature so it would benefit from the stability that TypePath brings for the same reasons that Bevy does. (I'm open to discussion on this though. Feel free to use the LWIM PR)


feat(#16): :sparkles: Provide your own environment variables for uptrace container

This PR gives ability to set your own environment variables for uptrace container
structure is compatible with https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/
Closes #16

Thanks. TBH I don't see why we need to define env variables in uptrace.env instead of changing uptrace.config directly, but I don't mind having this.

@vmihailenco for example if we need to provide Postgres password - we ask uptrace to use value from secrets, instead of deploying another helm release. If we have secret manager like "doppler" it's really usefull. Also i don't like to share secrets in my org repository :D


Question: promql with label_values

Hi,
I have a question (Grafana Cloud Pro with plugin 3.4.0)
I have created a variable of type query, promql, a "label value" query type, with a particular label from a metric. Selected Multi Value and Include all with a custom (.+), this works just fine, however adding a Panel, selecting "Variable to display" and type "minimize" (the only 2 changes to my panel) does not show any value available. I wonder if I am doing something wrong?
Here's my config: https://pastebin.com/HLWWsC92
Thank you

@nickgrafana Thank you for your question
A similar issue with #192
All Grafana Cloud instances have Scenes dashboards enabled by default which introduced breaking changes for the dashboard events used in the Variable panel and other plugins.
Please, take a look at comment 192-issue

PR https://github.com/grafana/grafana/pull/93327 was merged and updated in Grafana Cloud and main branch targeted for Grafana 11.3


Is pyhandleclient.py superfluous?

Seems to be a duplicate of handleclient.py but with less code. Is this a leftover from earlier implementation attempts?
https://github.com/EUDAT-B2SAFE/PYHANDLE/blob/d1b0f2fbe186f47d6909362156a27c675930d675/pyhandle/pyhandleclient.py#L1

The pyhandleclient has been separated from the handlientclient to solve a circular import issue. The code can be optimized to avoid duplicate methods.

OK, that explained it to me. Now I see that the concrete client classes inherit from this 'abstract' class and how that would create a circular dependency otherwise. Thanks!


[APP-798] add key to ProfileCardPills render method

Was getting this error when ProfileCardPills was used
Warning: Each child in a list should have a unique "key" prop.

Check the render method of `ProfileCardPills`.

This just fixes that.

I'm not 100% sure that will product a unique key, actually. A labeler could assign multiple labels to something. The question is just whether all of them would show.
The safer move would be to distill down the key with a utility function in lib/moderation.ts. This is off the top of my head, you'll need to tune it up (types will guide ya)
export function getModerationCauseKey(cause: ModerationCause): string {
  const source = cause.source.type === 'labeler' ? cause.source.labeler.did : cause.source.type === 'list' ? cause.source.list.uri : 'user'
  if (cause.type === 'label') {
    return `${source}:label:${cause.label.val}`
  }
  return `${source}:${cause.type}
}

Yes, let me create a function to do that

Went ahead and added it


[bug]: Trojan identified by Windows Defender in vanilla InvokeAI installation (Codeformer.pth)

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
6GB
What happened?
Windows Defender is identifying a trojan in the Codeformer.pth module included in the default installations of InvokeAI. (it's also included in the default installation of Automatic1111 Webui).
Scanning the file itself does not return a result. However unarchiving the file and scanning the resulting folder flags up two files.
You can test this yourself by unarchiving the Codeformer.pth file, and scanning the extracted folder with Windows Defender. (using Windows 10 here)
Trojan:Win32/Sirefef!cfg
\models\codeformer\archive\data\94338023080784
\models\codeformer\archive\data\94338067080304
This issue has been replicated with at least one other user.
Screenshots
No response
Additional context
No response
Contact Details
No response

Thanks for the report. Did the A1111 codeformer model also trigger the AV?

Yes, it does (reported by another user this morning in Discord)

Yes, A111 also had exactly the same scan result (also a fresh install, the day before). The same two files identified.

so can one just go in there and delete them? or will that cause a bunch of problems?

You can delete the files, however don't try to use the "codeformer" face
restoration feature. It will crash without its models. You can use GFPGAN
if you need face restoration. Frankly, Stable Diffusion models do faces
really well now and I haven't had to use face restoration for some time.

—
Reply to this email directly, view it on GitHub
https://github.com/invoke-ai/InvokeAI/issues/2773#issuecomment-1442713383,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA3EVO2TZIDSTR6SJDQN53WZAM7JANCNFSM6AAAAAAVF2N6AI
.
You are receiving this because you were assigned.Message ID:
@.***>

FYI
94338023080784
https://www.virustotal.com/gui/file/9cdbea152c4e9160dec5d922cd6b70cbd7c8c6b855d2b4bb87c64d11ac754f58?nocache=1
94338067080304
https://www.virustotal.com/gui/file/ced21996122c236d79a15bce8f249563291a5c281f50f870cfcf99ce65c6e833?nocache=1

FWIW, the general consensus seems to be that this is a false positive.
It is not an InvokeAI-created file; it comes from a face restoration model called CodeFormer.
I don't have Windows available, but clamav (whose database is mostly windows virus definitions) does not detect anything:
Scanning /home/bat/invokeai/models/codeformer/codeformer.pth
/home/bat/invokeai/models/codeformer/codeformer.pth: OK

----------- SCAN SUMMARY -----------
Known viruses: 8653721
Engine version: 0.103.6
Scanned directories: 1
Scanned files: 1
Infected files: 0
Data scanned: 0.00 MB
Data read: 359.19 MB (ratio 0.00:1)
Time: 8.399 sec (0 m 8 s)
Start Date: 2023:02:25 10:28:47
End Date:   2023:02:25 10:28:55

Seems only Windows Defender detects this while other AV do not flag it.
I think users will need to decide for themselves if they want to have this file on their system or not. Deleting it means you cannot use CodeFormer for face restoration.

This is still an issue


More Node updates

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Github Actions is shifting off Node 16 but Github hasn't patched ... some of its own actions, including:
https://github.com/actions/upload-artifact/issues/444
https://github.com/actions/download-artifact/issues/230


Issue on page /scenarios/command_line.html

(msmaro) apple@appledeMacBook-Pro msmaro % maro project new
Traceback (most recent call last):
File "/Users/apple/miniconda3/envs/msmaro/bin/maro", line 5, in
from maro.cli.maro import main
File "/Users/apple/miniconda3/envs/msmaro/lib/python3.6/site-packages/maro/cli/maro.py", line 11, in
from maro import version
ImportError: cannot import name 'version'

used conda  to  create a clean py38  env, then install pymaro from source, fixed it.


Pseudo-Cl in small field-of-views

I have a full-sky map with a resolution of NSIDE=512. The sky-map contains temperature fluctuations of foreground structure obtained from simulations. In the following figures you can see that the full-sky measurement of Cl^TT using Healpy (thick black line) is close to the linear theory (filled red curve which takes cosmic variance into account) at large angles.
If one however masks out ever larger fractions of the sky, gradually shrinking the field-of-view (fov),  a strange behavior is observed. I demonstrate it here using 100 partial skies of random orientation (colorful thin lines) with 60x60deg^2, 35x35deg^2, and 20x20deg^2 fov to measure pseudo-Cl^TT using Pymaster. Each mask was apodized with a 2.5 degree width.

Please note that the figures show the absolute value of the measured Cl^TT (since they contain negative values which would be missing from the log-plot).
One can observe that the small multipoles are the first to suffer, since the fov is too small to reliably measure them. Also the variance increases since one can potentially point at over- or under-dense regions. However I am surprised that in total the measured pseudo-Cl increase compared to the ground-truth.
Can you explain this observation in more detail?
I would be very grateful.

I came across this work which seems to have found a way to cope with heavily masked sky maps:
Partial CMB maps: bias removal and optimal binning of the angular power spectrum
Would it be of interest for the community to implement this method into NaMaster/Pymaster? If so I would be happy to join forces.

Hi @Christovis
sorry, I don't understand the first plots. Can you explain what the coloured lines are? Have they been computed with NaMaster? The code should be able to give you unbiased power spectra regardless of how small the unmasked sky is.

Hi,
yes the colorful thin lines are the measurements done with NaMaster (using the python wrapper) of partial-sky maps where only a small fraction of the full-sky is un-masked. I have created 100 realizations of these partial-sky measurements each pointing in a different random direction on the sky. Interestingly I obtain the same result with Healpix.

Let me know if I should provide more information or if you were able to replicate this behavior.


R&D Point source stops generating points.

Description
At times the point source for the R&D console stops working and points stop getting generated automatically over time. Usually occurs after a power outage or the server or a console gets wrenched.
Reproduction
Usually occurs after the power goes out, or if the console or point source gets moved or unwrenched/rewrenched. Also occurs at round start at times.
Screenshots

Additional context
Not sure if the issue had already been reported.
Sometimes the problem is fixed by moving the server/console to a different room.
Can sometimes be fixed by editing vv.


[Bug]: only the overlay is displayed

What happened?
When I click FallGuysStats.exe to launch it, only the overlay is displayed from the last update and there is no way to display the tracker menu. In addition, the message if I want to launch my game is also shifted to the left on my PC
Platform
Epic Games

Do you use wallpaper engine?

Do you use wallpaper engine?

What do you mean Wallpaper engine?

You need to explain the situation in detail so I can understand.

You need to explain the situation in detail so I can understand.

When I launch fall guys tracker, only the overlay is displayed and even by clicking on this software at the bottom, it considers that it is currently running

Up?

The file that would prevent the tracker menu from being displayed is data.db for some reason does not display it. someone would explain why i have this issue please


Add system.out.println test

Added a test method for the system.out.println content.

Merge

great idea


Incorrect regex with parentheses

This lexer:
#[derive(Logos, Debug, PartialEq)]
enum Token {
    #[end] End,
    #[error] Error,

    #[regex = "a(a)+"] Aaa,
}

incorrectly matches a single a. Changing the regex to aa+ makes it work correctly.

This should be fixed with 0.10.0-rc3, please re-open if it happens again.


Try configuring non-blocking on incoming/outgoing connectors before c…

…onnecting
We were unconditionally setting blocking=false (non-blocking) just after binding or connecting to the socket.
This was the source of some strange and hard to reproduce ioctl failures on Windows. My suspicion is that we are opening a socket, connecting with it and then before we set non-blocking, something is using the socket in a way that prevents us from setting non-blocking.
This change moves the non-blocking setup to before the connect/bind, so there is no opportunity for anything else to use the socket.
refs #30208
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test this

I've triggered the following builds:

Pull Request Feedback (Trigger) (Check)

Build Scan

The following builds have failed:

Pull Request Feedback (Trigger) (Check)

Build Scan

@bot-gradle test this

Sorry some internal error occurs, please contact the administrator @gradle/bt-developer-productivity

@bot-gradle test this

Sorry some internal error occurs, please contact the administrator @gradle/bt-developer-productivity

@bot-gradle merge


Can't we make versioning while updating!

@nassor This only works in case of .save its not working in .update

the .update operation is "atomic" and is hooked in a different way by Mongoose.
I still trying looking an approach to solving this. (looking for help for that)
https://github.com/nassor/mongoose-history/tree/refactoring

Is there any forecast to implement functionality in .update?

Not yet. We completely depend on mongoose for that, and what mongoose does on the updates as atomic operation without returning the new document back on the hooks.


Reorganize file(s) - different naming conventions

Now it's:

ObjectType ObjectNumber ObjectNameTrimmed

another setting could be

ObjectType ObjectNumber - Object Name Not Trimmed

from the readme:

CRS.FileNamePattern: The pattern of the filename for non-extension objects..  These vars can be used:

<ObjectType>
<ObjectTypeShort> - a short notation of the object type.
<ObjectId>
<ObjectName>

CRS.FileNamePatternExtensions: The pattern of the filename for extension objects.  These vars can be used:

<ObjectType>
<ObjectTypeShort> - a short notation of the object type.
<ObjectId>
<ObjectName>
<BaseName>
<BaseId> - If you want this to work, you need to put the Id in comment after the base name, like this example:

tableextension 50100 "Just Some Table Extension" extends Customer //18
{
    fields
    {
        // Add changes to table fields here
        field(50100;"Just Some field";Code[10]){
            TableRelation="Just Some Table"."No.";
        }
    }

}

CRS.FileNamePatternPageCustomizations: The pattern of the filename for page customizations.  These vars can be used:

<ObjectType>
<ObjectTypeShort> - a short notation of the object type.
<ObjectName>
<BaseName>
<BaseId> - same remarks as above!


Python Code

Thanks for your great work, I would like to ask if there is a python code for the dataset evaluation process as I have not learned R language.

Thanks! But we provide code only in R.
If you want to read the data structures, however, we use the "Simple Features" standard: https://en.wikipedia.org/wiki/Simple_Features
From what I understand, one Python implementation of this standard is the GDAL Python package, so you should be able to read the segmentations with this package: https://pypi.org/project/GDAL/

Thank you for your patience in answering, I will try it now, thank you again!


Text render resolution

This patch changes the text glyph atlas to render at the displays physical resolution fixing scaling artifacts that exist when running at scaling factors other than 1. It addresses issue #1116.
It accomplishes this by adding a scaleing factor to the sprite sheet rendering pipeline. This is added via a new resource node, though it could also probably be merged into the existing TextureAtlasSprite resource node.
This improves text quality, but there still appears to some glyph placement issues that could be resolved in this PR or another one.

Ideally we don't need to send the scale factor to the gpu. Thats extra data transfer that isn't required. I think we should do that work on the cpu if we can.

Ideally we don't need to send the scale factor to the gpu. Thats extra data transfer that isn't required. I think we should do that work on the cpu if we can.

I suppose the transformation matrix passed to the shader could be reworked to be in physical coordinates for text rendering. Is that what you are getting at?

I suppose the transformation matrix passed to the shader could be reworked to be in physical coordinates for text rendering. Is that what you are getting at?

Not quite. One way to go about it is:

the matrix should continue to be in logical coordinates
the texture atlas shader shouldn't need to be touched at all
the text layout could happen in "logical" space operating under the assumption that text is unscaled
the text glyphs could be generated at scale_factor * font_size instead of  font_size (giving them the "correct" scale factor despite being positioned using the "logical" scale.
set the sprite transform scale to inverse_scale_factor to ensure the sprites are rendered at the correct size

At least ... I think that would work?

I tried that route initially, but couldn't get it to work. The details are a little fuzzy right now, but it came down to the scale affecting placement of the glyphs making it tricky to get the transform right. It should be possible, but I think it comes down to reproducing physical coordinates one way or another.
I choose this rout since I figured it would be useful for sprite sheets to be able to scale the sprites similar to the same capability for non-sprite-sheet sprites. I choose to pass a scaling factor instead of an explicit size, which makes it inconsistent though.

Yeah my only major hangup with this impl is the extra data passed to the shader. If you can eliminate that / use the existing shader without making changes to it, then the other details matter less to me.

Nice! Glad this ended up being a relatively straightforward impl. I made a few small changes:

removed the TextureAtlasScale component and binding as they are no longer used
removed the Text2d component you added as a distinguisher in favor of the MainPass component. It works just as well (at least from what I can tell). I'm just generally biased toward fewer components.
removed the print line.

I think is is good to go, but feel free to comment on any of the changes.

Thanks for cleaning it up. I had considered using the MainPass but thought it might cause problems with a potential future use of text components such as maybe text3d. We can certainly cross that bridge if it comes up at that point though.


Snap editor edges when using four editors

I often work in VS Code with four editor panes open in a 2x2 grid. To get a better look at a file, I sometimes drag one of the horizontal edges. It'd be nice to be able to drag the edge back to nearly the same height as the other, and have it snap to exactly line up with the other edge, making the four dividing edges meet at a single point once again.

Have you tried just using View > Editor Layout > Grid (2x2)? This will lock each pair of sashes always.

Oh good! Then I can do any resizing I want and just View > Editor Layout > Grid (2x2) to get back to equal sizes.


Refactoring GIF pl.TrainResult is (deprecated) Gif needs to be updated.

📚 Documentation
The example gif showing refactoring needs to be updated as the reference to pl.TrainResult has been deprecated.

Thanks!

Duplicate of https://github.com/PyTorchLightning/pytorch-lightning/issues/4227

Duplicate of https://github.com/PyTorchLightning/pytorch-lightning/issues/4227


Format and test

@karllhughes @lchemaly1 I tried the latest code and tests still fail.

@mraible yes these tests are meant to fail. It's done on purpose, since in the tutorial we have put failed tests. There is no issues here.

After re-reading the blog post, I see that you're correct. I expected everything to pass since it's a test.
No worries, we can run with this.


[embedded] Add support for ManagedBuffer to Embedded Swift

This makes ManagedBuffer available and usable in Embedded Swift, by:

Removing an internal consistency check from ManagedBuffer that relies on metatypes.
Making the .create() API transparent (to hoist the metatype to the callee).
Adding a AllocRefDynamicInst simplification to convert alloc_ref_dynamic to alloc_ref, which removes a metatype use.
Adding tests for the above.

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test


The agent name is wrong and the agent address is really 'foo'

[Enter feedback here]
In the documentation is specified the agent name as 'Edge Health Probes'. This is wrong the agent name is 'Edge Health Probe' without the S.
I also would say that the agent address is 'foo.mydomain.com' where foo is not a random name, but is really 'foo'.
This drove me crazy, because I thought it was in my code somewhere 'foo'. I wasted literally days.
It is a very bad idea to call an agent 'foo'.
So, please specify in the documentation that you have had a really bad idea, and the agent address is 'foo'
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f35a0b39-ab2f-ba8a-0907-e0f3a6b69135
Version Independent ID: 0e6c8267-a911-9c6b-0522-3ec96753b3ef
Content: Azure Front Door - backend health monitoring
Content Source: articles/frontdoor/front-door-health-probes.md
Service: frontdoor
GitHub Login: @duongau
Microsoft Alias: duau

Thanks for the feedback! I have assigned the issue to the content author to investigate this and update the document as appropriate.

@DrEight could you please show us the logs that you're looking at that is showing the "foo" part that you're referring to. I reached out to our devs and was told no where in our code for the health probe does that name appears. Thank you.

I don't have logs, I discovered the 'foo' agent attaching the debugger to the AppService behind the azure front door.
To solve the problem I created a middleware that ignore this call, and I can guarantee that it is called a lot.
This is my middleware actually in testing.
How can I help you more ?
`public class IgnoreHealthProbe

{

   private readonly RequestDelegate m_next;

   public IgnoreHealthProbe(RequestDelegate next)

   {

       m_next = next;

   }

   public async Task Invoke(HttpContext httpContext)

   {

       string host = httpContext.Request.Headers["X-Forwarded-Host"].ToSafeString();

       if (!string.IsNullOrWhiteSpace(host))

       {

           // the call that start with foo is from the agent 'Edge Health Probe'. We can ignore this call

           if (!host.ToLowerInvariant().StartsWith("foo"))

           {

               await m_next(httpContext);

           }

       }

       else

       {

           await m_next(httpContext);

       }

   }

}`

#reassign: jessie-jyy

@DrEight I have forwarded your information to our Dev team and they were not able to find any related information in the health probe code named "foo". If you need further assistance on this matter, please open a service request with our support to further investigate this with you. Thank you for your contribution, for now I will be archiving this issue. #please-close


App window overlaps to other monitors and under the taskbar when in fullscreen mode

OS: Windows 10
Issue Descriptions: When in fullscreen mode using multiple monitors, the app will consistently display a white "bar" on the right side of any monitors to the left of the one being used for GPM. Additionally, the bottom of the window overlaps under the taskbar, which is noticeable when the taskbar is set to "transparent". This issue applies no matter what theme is being used.
Both are in the screenshot below, let me know if you have any more questions!

Upstream
https://github.com/electron/electron/issues/5267


change logger time encoder to ISO

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 [...]
Time encoder in latest release (v1.0.3), zapcore.RFC3339TimeEncoder, which is default value from controller runtime library, is not trivial to track the failure time in real world.
So, we should change it to ISO 8601 format.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

done by commit https://github.com/foundation-model-stack/multi-nic-cni/commit/3d8806a574abfd16668f71f18462732be668ed8d


React tutorial should be 'Babelified'

According to this React blog post React Tools are being depreciated in favor of Babel. React tutorial currently uses React Tools and needs to be updated.

That would only affect the preprocessor sequence and not the actual code itself. Jest code should still be written in ES5, if i am correct

It seems that babel-jest could be a solution to the problem.

It probably wouldn't be a bad thing to at least have a babel example with babel-jest since I know at least for us we use babel/es6 for everything we can. We could have an example here and babel-jest could be improved to give better documentation to go from there.

Oh yeah, we actually updated the documentation but I haven't yet had time to push the update to the website!

updated: http://facebook.github.io/jest/docs/tutorial-react.html#content
we should probably revamp the docs a little bit :)


HTTP::Server parallel downloads

I'm working on an http service that serves big files. I noticed, that parallel downloads are not possible. The process serves only one file at a time, all other downloads are waiting until the previous downloads finish. How can I stream multiple files at the same time?
require "http/server"

server = HTTP::Server.new(3000) do |context|
  context.response.content_type = "application/data"
  f = File.open "bigfile.bin", "r"
  IO.copy f, context.response.output
end

puts "Listening on http://<IP_ADDRESS>:3000"
server.listen

Request one file at a time:
$ ab -n 10 -c 1 <IP_ADDRESS>:3000/

[...]
Percentage of the requests served within a certain time (ms)
  50%      9
  66%      9
  75%      9
  80%      9
  90%      9
  95%      9
  98%      9
  99%      9
 100%      9 (longest request)

Request 10 files at once:
$ ab -n 10 -c 10 <IP_ADDRESS>:3000/

[...]
Percentage of the requests served within a certain time (ms)
  50%     52
  66%     57
  75%     64
  80%     69
  90%     73
  95%     73
  98%     73
  99%     73
 100%     73 (longest request)

The problem here is that both File#read and context.response.output will never block. Crystal's concurrency model is based on cooperatively scheduled fibers, where switching fibers only happens when IO blocks. Reading from the disk using nonblocking IO is impossible which means the only part that's possible to block is writing to context.response.output. However, disk IO is a lot lot slower than network IO on the same machine, meaning that writing will never block because ab is reading at a rate much faster than the disk can provide data, even from the disk cache. This example is practically the perfect storm to break crystal's concurrency.
In the real world, it's much more likely that clients of the service will reside over the network from the machine, making the response write occasionally block. Another solution would be to use a threadpool to implement nonblocking file IO, which is what libuv does. Perhaps crystal will switch to libuv over libevent sometime in the future, a lot of the literature online seems to say it's a superior library.

@RX14 is crystal already switched from libuv to libevent?

Thank you, that helps. I found a way to block (and yield) while reading big files:
def copy_in_chunks(input, output, chunk_size = 4096)
  size = 1
  while size > 0
    size = IO.copy(input, output, chunk_size)
    Fiber.yield
  end
end

File.open("bigfile.bin", "r") do |file|
  copy_in_chunks(file, context.response)
end

@akzhan I meant to move to libuv. I haven't looked into libevent vs libuv very much but the current libevent API uses callbacks to schedule the fibers, not sure how changing to libuv would change much.

@RX14 unrelated to this discussion but Crystal moved to libevent because libuv doesn't allow a multithreaded event loop (i.e. have any thread resume any fiber).
Calling Fiber.yield to pass to any pending fiber is the correct solution; a multithreaded pool would still be bloated with N parallel downloads (with N = threadpool size).

@ysbaddaden ah I see that makes sense

Hi! Some weeks ago we met @luislavena in Buenos Aires and he gave us a great idea: start using StackOverflow as KB for Crystal, by asking and answering questions that flow in through Crystal's community channels (IRC, Google Groups, GitHub, etc.).
This issue was a perfect example for that so I captured it: https://stackoverflow.com/questions/44802809/how-can-i-stream-multiple-files-at-the-same-time-using-httpserver/44802810#44802810
Thanks everyone for participating 🙏


ENH: Update Autoscoper modernizing CUDA integration

This commit updates the Autoscoper project by replacing the deprecated^1 FindCUDA CMake module with the more robust and first-class support for CUDA language. The changes leverage the following key features introduced in various CMake versions:

3.8: Support by the Makefile Generators and the Ninja generator on Linux, macOS, and Windows See https://cmake.org/cmake/help/latest/release/3.8.html#cuda\

3.9: Support by the Visual Studio Generators for VS 2010 and above. See https://cmake.org/cmake/help/latest/release/3.9.html#languages

3.17: Introduction of FindCUDAToolkit See https://cmake.org/cmake/help/latest/release/3.17.html#modules and https://cmake.org/cmake/help/latest/module/FindCUDAToolkit.html#module:FindCUDAToolkit

3.18: A CMAKE_CUDA_ARCHITECTURES variable was added to specify CUDA output architectures. See https://cmake.org/cmake/help/latest/release/3.18.html#variables and https://cmake.org/cmake/help/latest/policy/CMP0104.html#policy:CMP0104

3.19: If CUDA compiler detection fails with user-specified CMAKE_CUDA_ARCHITECTURES or CMAKE_CUDA_HOST_COMPILER, an error is raised. See https://cmake.org/cmake/help/latest/release/3.19.html#other-changes

3.20: The CUDAARCHS environment variable was added for initializing CMAKE_CUDA_ARCHITECTURES. Useful in cases where the compiler default is unsuitable for the machine's GPU. See https://cmake.org/cmake/help/latest/release/3.20.html#languages

3.23: The CMAKE_CUDA_ARCHITECTURES variable and associated CUDA_ARCHITECTURES target property now support the all, and all-major values for CUDA toolkit 7.0+. See https://cmake.org/cmake/help/latest/release/3.23.html#variables

List of Autoscoper changes:
$ git shortlog 7df4365..22b1a41e0 --no-merges
Jean-Christophe Fillion-Robin (4):
      COMP: Update minimum CMake version from 3.8 to 3.17.5
      COMP: Modernize CUDA integration using FindCUDAToolkit CMake module
      COMP: Update minimum CMake version from 3.17.5 to 3.20.6
      COMP: Initialize list of CUDA architectures for maximum compatibility

@NicerNewerCar  After you confirm configuring and building the extension successfully discover the CUDA toolkit, I will integrate the corresponding Autoscoper changes^1 and updated the repository URL and SHA referenced in this pull request. If you installed CUDA along with the "Visual Studio Integration" module, it should find the latest one by default.
Note that when using the Visual Studio generator, specifying CUDACXX will not work and instead it is expected to specify -T cuda=X.Y or -T cuda=$env:CUDA_PATH_vXX_X as you initially indicated in https://github.com/BrownBiomechanics/Autoscoper/pull/238#pullrequestreview-1789611561

@jcfr The extension was able to find the specified version of CUDA

@amymmorton  With this recent update, we are explicitly compiling the CUDA kernel for all architecture from 5.0 to 8.0. This means that if you are running Autoscoper on systems with these CPUs, there will be no JIT compilation the kernel explicitly build for it will be used:

Maxwell
Pascal
Volta
Turing
Ampere

References:

https://github.com/BrownBiomechanics/Autoscoper/commit/22b1a41e0b7b6a2de330f436d8834d1a0b96a3ac
https://docs.nvidia.com/cuda/archive/11.8.0/cuda-c-best-practices-guide/index.html#building-for-maximum-compatibility
https://arnon.dk/matching-sm-architectures-arch-and-gencode-for-various-nvidia-cards/
https://cmake.org/cmake/help/latest/policy/CMP0104.html#policy:CMP0104
https://cmake.org/cmake/help/latest/release/3.23.html#variables


IN operator missing

Hi Team,
IN operator is not in CSE Rules Syntax. Kindly add. Thanks.
https://help.sumologic.com/docs/cse/rules/cse-rules-syntax/
Slack Message

@JainM6 looks like Peter is pushing this to a JIRA request for a syntax update, so closing


Does Apple approve apps that use this technique?

Just wanted to know if anyone has tried to get an app approved that uses this technique or one like it.

+1


Kodi appendix not working correctly

@rogierslag @avandeursen we (team-kodi) also created an appendix and added that to the repository (link) but as you can see upon opening it you don't get a nice webpage.
Should I also add a YAML to this page as well? And should the format be different because I assume the appendix should not show up in the table of content?

Yup you need YAML front page matter to ensure github renders it!

Seems to work now, but you have link to http://delftswa.github.io/chapters/kodi/appendix.html
Also I see some HTML in the generated html. Can you check whether this is correct?


Adding monitoring orchestration in the controller to collect metrics for Telemetry.

Following the addition of metrics to forklift-controller, this PR adds monitoring orchestration to add the ability to collected data and expose it for OpenShift-Monitor. These changes include the addition of different resources such as  Service, the ServiceMonitor, and various labels needed for the metrics collection.

CI issue was fixed, CR changes in progress.

Remove all the rules setup since it is redundant, and move all the monitoring orchestration under metrics. This should simplify the PR. It was tested on OpenShift to ensure all the metrics are exposed.

PR was rebased after merging https://github.com/kubev2v/forklift/pull/916.

Following the addition of metrics to forklift-controller, this PR adds monitoring orchestration to add the ability to collected data and expose it for OpenShift-Monitor. These changes include the addition of different resources such as Service, the ServiceMonitor, and various labels needed for the metrics collection.

to collect data*

Moved all the relevant resource creation for monitoring to be managed by the operator rather than the controller.


Fix for #377 (Jadx in Windows open with list)

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


Proper cancellation for perform_action

Currently when a task cancellation happens while a perform_action is going on, RMF will immediately trigger the finished callback which does not give the underyling perform_action implementation an opportunity to respond to the cancellation before new commands get issued.
Ideally the underlying perform_action implementation should be able to block further execution of any commands until it is able to finish any cleanup behavior that it needs to do. We should endeavor to provide an API that lets users set a cancellation callback for their action, and the perform_action event will not trigger its finished callback until the cancellation callback has finished running.

Fixed by #392


django.utils.translation.ugettext_lazy() deprecation warning

I noticed when I was running tests that I get:
custom_auth/tests/test_viewsets.py::UserViewSet::test_get_user_fail_wrong_token
  /usr/local/lib/python3.8/site-packages/rest_framework_simplejwt/authentication.py:97: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
    'detail': _('Given token not valid for any token type')

so I guess the old functions that are in the deprecation processa are still in the codebase
Pip freeze:
Django==3.0.3
djangorestframework==3.11.0
djangorestframework-simplejwt==4.4.0
I am happy to contribute to clearing these warnings if nobody works on this

Haven't checked the commit history long enough, but it seems like this issue is already solved? When I take a look in master branch, I see that SimpleJWT is using gettext_lazy instead of ugettext_lazy... Wait until the next release, and the deprecation warning should disappear.

Hey @Andrew-Chen-Wang you are totally right: the change is already there. Thanks