Task: Integrate visualfsharp --> fsharp --> FSharp.Compiler.Service

As mentioned on twitter.  One of the tasks of the F# core engineering group is to regularly integrate from http://github.com/Microsoft/visualfsharp --> http://github.com/fsharp/fsharp --> http://github.com/fsharp/FSharp.Compiler.Service, and also to publish new nuget packages for FSharp.Compiler.Service.
This issue is opened to cover this instance of this task.  It's not for a discussion about why we do things like this - it's for actually doing it :)
Right now Microsoft/visualfsharp contains a bunch of extra commits which need to be integrated in. Some of these are "alignments" which brought back some of changes from fsharp/fsharp and fsharp/FSharp.Compiler.Service. Others are bug fixes and feature work.  Others are changes in the Visual F# IDE tools which are not included in fsharp/fsharp or fsharp/FSharp.,Compiler.Service.  Our job is to do the integration, reconcile the conflicts and submit the PRs.
Volunteers are @rojepp, @silverspoon, Fabian Romero, Chet Husk, @brodyberg. I'll take you through how to do these integrations by doing it live on a skype group screen share session, likely on Saturday or Monday, for whoever is available, Please send me your skype ID via reply, email or DM on twitter.
thanks!
don

I am Andrea here (not silverspoon) you can find me as Andrea BatCat on skype, Monday is better for me (great if around lunch time)

I DM'd my info to Don, but I can be available Saturday or Monday.  I'm on GMT-6 and am flexible with my hours.

I also DM'd Don. Today is better for me, packed schedule on Monday. Please record it anyway, if possible. :)

Thanks everyone.  Today has slipped by, I'll aim to do this on Monday. We'll leave full instructions one way or another :)

Available Monday - Pacific time though. Happy to adjust if possible. Also available through the week.

Ok, waiting for updates.

Some personal things came up today, I'll aim to do this Tuesday. I suggest 5pm BST.

It is good for me. Cheers.

Works for me.

can you add a link, I might or might not be able to make it (I m travelling
at the moment)
Andrea
www.roundcrisis.com
On 5 October 2015 at 22:44, Brody Berg<EMAIL_ADDRESS>wrote:

Works for me.
—
Reply to this email directly or view it on GitHub
https://github.com/fsharp/fsharp/issues/494#issuecomment-145677012.

Ditto, I probably won't be able to make it.

Make that 1715 BST, I'll ping the skype ids I have :)

minor suggestion:
Skype doesn't have a recording feature natively, but it's possible and easy to create a google 'hangout on air' that has screen sharing and is recorded/backed up to YouTube automatically.  It also has a nice feature where you can choose only one or more apps to share the screen of, or your entire desktop.
Just an idea, since these meetings are valuable and may contain information others could use.

I took some notes from the screencast below, and Fabian suggested I share them.  Enjoy:
notes for migration from microsoft/visualfsharp => fsharp/fsharp
Things that are removed

all tests under tests/fsharpqa

though there are some binaries that are left (long term remove these?)

delete everything under vsintegration/

these are the VS IDE integrations, not needed for the xplat repository

fsharp.languageservice.compiler is a MS-internal version of FCS
the windows-specific update.cmd and runtests.cmd aren't necessary
anything related to salsa testing library

lib that MS uses to test the VS integrations, not needed for xplat repository

root/unittests are visualstudio-specific and use the salsa library, not needed for the xplat repository

Everything else

removal of the TypeProvider authorization dialog
test renames
whitespace alignments
it's ok to make an in-progress pull request and ask for clarification on problem areas

Great notes, Chester, thanks!
tis 6 okt 2015 20:44 Chester Husk III<EMAIL_ADDRESS>skrev:

I took some notes from the screencast below, and Fabian suggested I share
them. Enjoy:
notes for migration from microsoft/visualfsharp => fsharp/fsharp Things
that are removed

all tests under tests/fsharpqa

though there are some binaries that are left (long term remove
these?)

delete everything under vsintegration/

these are the VS IDE integrations, not needed for the xplat
repository

fsharp.languageservice.compiler is a MS-internal version of FCS
the windows-specific update.cmd and runtests.cmd aren't necessary
anything related to salsa testing library

lib that MS uses to test the VS integrations, not needed for
xplat repository

root/unittests are visualstudio-specific and use the salsa library,
not needed for the xplat repository

Everything else

removal of the TypeProvider authorization dialog
test renames
whitespace alignments
it's ok to make an in-progress pull request and ask for
clarification on problem areas

—
Reply to this email directly or view it on GitHub
https://github.com/fsharp/fsharp/issues/494#issuecomment-145960317.

Cool notes, thanks! Could you please add a version of those via a PR to https://github.com/fsharp/fsharp/blob/master/README.md#development-notes?  Perhaps also update the CI notes there too?

Certainly.  I'll send a PR later tonight or tomorrow.

As an aside, the following long-term tasks were discussed too

light up more of the fsharpqa tests on Mono
light up more of the fsharp tests on Mono
Don said this eliding was indicative of some Mono bugs and that he had trimmed them down to minimal repros.  I'm trying to find those but no luck yet so we may need to recreate them

@baronfel Super.  If you want to reorganize the README.md material in anyway (e.g. separate DEVGUIDE.md or the like) then feel free to do so in the PR

it would be awesome to know if there are other things to do what are those? and or if we should have another Skype session

I'll open a few github "Task" issues :)

@Andrea there is this one: https://github.com/fsharp/fsharp/issues/499 :)

nice, I'll try linux as I don't apple :D
Andrea
www.roundcrisis.com
On 13 October 2015 at 21:15, Don Syme<EMAIL_ADDRESS>wrote:

@Andrea https://github.com/Andrea there is this one: #499
https://github.com/fsharp/fsharp/issues/499 :)
—
Reply to this email directly or view it on GitHub
https://github.com/fsharp/fsharp/issues/494#issuecomment-147839315.

Closing for now (though the integration needs to be done again)


xPSDesiredStateConfiguration: Multiple AppVeyor jobs

Pull Request (PR) description

Changes to xPSDesiredStateConfiguration

In AppVeyor CI the tests are split into three separate jobs, and also
running tests on two different build worker images (Windows Server
2012R2 and Windows Server 2016). The common tests are run on only
one of the build worker images (Windows Server 2012R2). Helps with
issue #477.

@mhendric @PlagueHO I send in this PR if this is of any interest. If not then please close it.
This Pull Request (PR) fixes the following issues
Helps with issue #477.
Closes #403
Task list

[x] Added an entry under the Unreleased section of the change log in the README.md.
Entry should say what was changed, and how that affects users (if applicable).
[ ] Resource documentation added/updated in README.md.
[ ] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[x] Unit tests added/updated. See DSC Resource Testing Guidelines.
[x] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[x] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

@johlju , first, sorry for being all indecisive on this one. But after working on #515 and utilizing my free AppVeyor account to check for errors, I'm totally OK with adding multiple images. When I utilize my free account, I'm generally checking to see if I hit any build/test errors, or if the output is what I expected it to be. If I do see something unexpected, I'll go try to fix it, and submit my changes, and won't wait for the current build to finish. Even if the jobs were to run sequentially, I'd have a pretty good idea after the first set of Unit and Integration tests whether the overall build is going to run as expected without having to wait for the second set of Unit and Integration tests to finish. All that being said, my vote is to add the multiple images.
On the topic of multiple images though, I wonder if the newest image should be executed first (when running sequentially)? I'm not sure what's more common these days (2012 R2 or 2016), but I think it would make sense to have the more common build run first.

No worries. Sorry I did not have time to answer you until now, been a busy week. I think it is good that we test on multiple images, there might be scenarios that we don't think of until the integration tests run on a specific OS. As you say, there is no need to wait for the full test suit to run finished before sending in a PR. If there is errors after sending in a PR those are probably pretty minor so a few additional commits is not a problem (IMHO). If there are more wpork it as easy closing the PR, and continue working "offline", and then reopen the PR and all the new commits will be added automatically. Although, rebasing should only been done while the PR is open, otherwise the PR "breaks" and cannot reopen.

I will put the latest OS to run first. Sounds like a good plan.

@PlagueHO I have done the requested changes, except change the script to load the module the same way. I can't publish my Reviewable comments for some reason, see isssue https://github.com/Reviewable/Reviewable/issues/613.
Hers is my comments:

Please retract the comments if I haven't been able to publish the comments until next time you review.

@PlagueHO I reverted the change to MSFT_xRemoteFile.Tests.ps1 where I replace $global with $script. It takes more changes to that test file than is the scope for this PR. Let's do that in another PR. 😄

Now it deploys on the job number that is set in appveyor.yml.
Job 1-4 do not deploy: https://ci.appveyor.com/project/johlju/xpsdesiredstateconfiguration/builds/22075321/job/l6ix4xh03su3b8ol#L2951
Job 5 deploy: https://ci.appveyor.com/project/johlju/xpsdesiredstateconfiguration/builds/22075321/job/en2b9a2t789x0s6c#L2657

Here we go! :grin:


fix: add past relations to Pokemon/Type

Pull Request Template
Checks and guidelines

[x] Have you checked that there aren't other open Pull Requests for the same update/change?
[x] Linting passed lint and lint:tsc
[ ] Tests added (if needed)
[ ] Tests passed test:dev
[ ] Build passed build

Type of change

[x] Bug fix
[ ] New feature
[ ] Improvement
[ ] Breaking change
[ ] Documentation update
[ ] Security

Describe the changes
I've added the past_damage_relations to the Type interface (and a TypeRelationsPast interface), as described in the api-documentation (https://pokeapi.co/docs/v2#types)

Hey @MrKarbrador, thanks for your input!
Can you also update the docs with the new typings that you added?
Than I'll soon merge your PR

Hey, thank you for the response. The dev-branch does not have the docs should i redo the PR on the master?


Enable support for HTTP communication between components ECFLOW-1957

Codecov Report
Attention: Patch coverage is 22.92994% with 121 lines in your changes missing coverage. Please review.

Project coverage is 47.06%. Comparing base (fca83b6) to head (92016f8).

Files with missing lines
Patch %
Lines

libs/server/src/ecflow/server/Server.hpp
16.66%
25 Missing :warning:

libs/base/src/ecflow/base/HttpClient.cpp
0.00%
23 Missing :warning:

Viewer/ecflowUI/src/ServerListDialog.cpp
0.00%
15 Missing :warning:

libs/server/src/ecflow/server/ServerMain.cpp
40.00%
12 Missing :warning:

Viewer/ecflowUI/src/ServerHandler.cpp
0.00%
10 Missing :warning:

Viewer/ecflowUI/src/ServerItem.cpp
0.00%
9 Missing :warning:

Viewer/ecflowUI/src/ServerList.cpp
0.00%
8 Missing :warning:

libs/client/src/ecflow/client/ClientInvoker.cpp
12.50%
7 Missing :warning:

libs/server/src/ecflow/server/ServerOptions.cpp
61.53%
5 Missing :warning:

libs/client/src/ecflow/client/ClientOptions.cpp
50.00%
2 Missing :warning:

... and 5 more

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #121      +/-   ##
===========================================
- Coverage    47.12%   47.06%   -0.07%
===========================================
  Files         1182     1180       -2
  Lines        93344    93421      +77
  Branches     14706    14725      +19
===========================================
- Hits         43992    43970      -22
- Misses       49352    49451      +99

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Setting the badge account with $message->withApnsConfig(ApnsConfig::new()->withBadge(123)) does not work

Describe the bug
I'm trying to set the badge count on iOS using the code example shown in the documentation for Notification Sounds. (code shown below)
The problem is that using ->withApnsConfg() is not actually changing the payload; when I check the value of $messages in XDebug, the payload isn't modified.
Installed packages
asm89/stack-cors                         2.2.0             Cross-origin resource sharing library and stack middleware
beste/clock                              3.0.0             A collection of Clock implementations
beste/in-memory-cache                    1.1.0             A PSR-6 In-Memory cache that can be used as a fallback implementation and/or in tests.
beste/json                               1.4.0             A simple JSON helper to decode and encode JSON
brick/math                               0.12.1            Arbitrary-precision arithmetic library
chi-teck/drupal-code-generator           3.6.0             Drupal code generator
chillerlan/php-qrcode                    4.4.1             A QR code generator with a user friendly API. PHP 7.4+
chillerlan/php-settings-container        3.2.0             A container class for immutable settings objects. Not a DI container.
christian-riesen/otp                     2.7.0             One Time Passwords, hotp and totp according to RFC4226 and RFC6238
composer/installers                      2.2.0             A multi-framework Composer library installer
composer/semver                          3.4.0             Semver library that offers utilities, version constraint parsing and validation.
consolidation/annotated-command          4.10.0            Initialize Symfony Console commands from annotated command class methods.
consolidation/config                     2.1.2             Provide configuration services for a commandline tool.
consolidation/filter-via-dot-access-data 2.0.2             This project uses dflydev/dot-access-data to provide simple output filtering for applicati...
consolidation/log                        3.1.0             Improved Psr-3 / Psr\Log logger based on Symfony Console components.
consolidation/output-formatters          4.5.0             Format text by applying transformations provided by plug-in formatters.
consolidation/robo                       4.0.6             Modern task runner
consolidation/self-update                2.2.0             Provides a self:update command for Symfony Console applications.
consolidation/site-alias                 4.1.0             Manage alias records for local and remote sites.
consolidation/site-process               5.4.0             A thin wrapper around the Symfony Process Component that allows applications to use the Si...
cweagans/composer-configurable-plugin    2.0.0             Provides a lightweight configuration system for Composer plugins.
cweagans/composer-patches                2.0.0-beta2       Provides a way to patch Composer packages.
defuse/php-encryption                    2.4.0             Secure PHP Encryption Library
dflydev/dot-access-data                  3.0.2             Given a deep data structure, access data by dot notation.
doctrine/annotations                     1.14.3            Docblock Annotations Parser
doctrine/deprecations                    1.1.3             A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to ...
doctrine/lexer                           2.1.1             PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
drupal/alternative_user_emails           1.0.0-alpha4      Store alternative email addresses for users.
drupal/core                              10.2.6            Drupal is an open source content management platform powering millions of websites and app...
drupal/core-composer-scaffold            10.2.6            A flexible Composer project scaffold builder.
drupal/core-vendor-hardening             10.2.6            Hardens the vendor directory for when it's in the docroot.
drush/drush                              12.5.2            Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army k...
e0ipso/shaper                            1.2.4             Lightweight library to handle in and out transformations in PHP.
egulias/email-validator                  4.0.2             A library for validating emails against several RFCs
fig/http-message-util                    1.1.5             Utility classes and constants for use with PSR-7 (psr/http-message)
firebase/php-jwt                         6.10.1            A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the ...
gapple/structured-fields                 2.1.1             Library for Structured Field Values for HTTP
google/auth                              1.39.0            Google Auth Library for PHP
google/cloud-core                        1.58.1            Google Cloud PHP shared dependency, providing functionality useful to all components.
google/cloud-storage                     1.42.0            Cloud Storage Client for PHP
google/common-protos                     4.6.0             Google API Common Protos for PHP
google/gax                               1.33.0            Google API Core for PHP
google/grpc-gcp                          0.4.0             gRPC GCP library for channel management
google/longrunning                       0.4.2             Google LongRunning Client for PHP
google/protobuf                          4.27.0            proto library for PHP
grasmash/expander                        3.0.0             Expands internal property references in PHP arrays file.
grasmash/yaml-cli                        3.2.1             A command line tool for reading and manipulating yaml files.
gravitypdf/querypath                     3.2.3             PHP library for HTML(5)/XML querying (CSS 4 or XPath) and processing (like jQuery) with PH...
grpc/grpc                                1.57.0            gRPC library for PHP
guzzlehttp/guzzle                        7.8.1             Guzzle is a PHP HTTP client library
guzzlehttp/promises                      2.0.2             Guzzle promises library
guzzlehttp/psr7                          2.6.2             PSR-7 message implementation that also provides common utility methods
html2text/html2text                      4.3.1             Converts HTML to formatted plain text
justinrainbow/json-schema                5.2.13            A library to validate a json schema.
kreait/firebase-php                      7.11.0            Firebase Admin SDK
kreait/firebase-tokens                   5.1.0             A library to work with Firebase tokens
laminas/laminas-escaper                  2.13.0            Securely and safely escape HTML, HTML attributes, JavaScript, CSS, and URLs
laminas/laminas-feed                     2.22.0            provides functionality for creating and consuming RSS and Atom feeds
laminas/laminas-stdlib                   3.19.0            SPL extensions, array utilities, error handlers, and more
lcobucci/clock                           3.2.0             Yet another clock abstraction
lcobucci/jwt                             5.3.0             A simple library to work with JSON Web Token and JSON Web Signature
league/commonmark                        2.4.2             Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-...
league/config                            1.2.0             Define configuration arrays with strict schemas and access values with dot notation
league/container                         4.2.2             A fast and intuitive dependency injection container.
masterminds/html5                        2.9.0             An HTML5 parser and serializer.
matomo/device-detector                   6.3.1             The Universal Device Detection library, that parses User Agents and detects devices (deskt...
mck89/peast                              1.16.2            Peast is PHP library that generates AST for JavaScript code
monolog/monolog                          3.6.0             Sends your logs to files, sockets, inboxes, databases and various web services
mtdowling/jmespath.php                   2.7.0             Declaratively specify how to extract elements from a JSON document
mustangostang/spyc                       0.6.3             A simple YAML loader/dumper class for PHP
nette/schema                             1.3.0             📐 Nette Schema: validating data structures against a given Schema.
nette/utils                              4.0.4             🛠  Nette Utils: lightweight utilities for string & array manipulation, image handling, ...
nikic/php-parser                         5.0.2             A PHP parser written in PHP
oomphinc/composer-installers-extender    2.0.1             Extend the composer/installers plugin to accept any arbitrary package type.
opis/json-schema                         2.3.0             Json Schema Validator for PHP
opis/string                              2.0.1             Multibyte strings as objects
opis/uri                                 1.1.0             Build, parse and validate URIs and URI-templates
paragonie/constant_time_encoding         2.7.0             Constant-time Implementations of RFC 4648 Encoding (Base-64, Base-32, Base-16)
paragonie/halite                         5.1.2             High-level cryptography interface powered by libsodium
paragonie/hidden-string                  2.2.0             Encapsulate strings in an object to hide them from stack traces
paragonie/random_compat                  9.99.100          PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
paragonie/sodium_compat                  2.0.1             Pure PHP implementation of libsodium; uses the PHP extension if it exists
pear/archive_tar                         1.5.0             Tar file management class with compression support (gzip, bzip2, lzma2)
pear/console_getopt                      1.4.3             More info available on: http://pear.php.net/package/Console_Getopt
pear/pear-core-minimal                   1.10.15           Minimal set of PEAR core files to be used as composer dependency
pear/pear_exception                      1.0.2             The PEAR Exception base class.
phootwork/collection                     3.2.2             The phootwork library fills gaps in the php language and provides better solutions than th...
phootwork/lang                           3.2.2             Missing PHP language constructs
phpdocumentor/reflection-common          2.2.0             Common reflection classes used by phpdocumentor to reflect the code structure
phpdocumentor/reflection-docblock        5.4.1             With this component, a library can provide support for annotations via DocBlocks or otherw...
phpdocumentor/type-resolver              1.8.2             A PSR-5 based resolver of Class names, Types and Structural Element Names
phpowermove/docblock                     4.0               PHP Docblock parser and generator. An API to read and write Docblocks.
phpstan/phpdoc-parser                    1.29.0            PHPDoc parser with support for nullable, intersection and generic types
platformsh/config-reader                 2.4.1             Small helper to access Platform.sh environment variables
psr/cache                                3.0.0             Common interface for caching libraries
psr/clock                                1.0.0             Common interface for reading the clock.
psr/container                            2.0.2             Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher                     1.0.0             Standard interfaces for event handling.
psr/http-client                          1.0.3             Common interface for HTTP clients
psr/http-factory                         1.1.0             PSR-17: Common interfaces for PSR-7 HTTP message factories
psr/http-message                         2.0               Common interface for HTTP messages
psr/log                                  3.0.0             Common interface for logging libraries
psy/psysh                                0.12.3            An interactive shell for modern PHP.
ralouphie/getallheaders                  3.0.3             A polyfill for getallheaders.
ramsey/collection                        2.0.0             A PHP library for representing and manipulating collections.
ramsey/uuid                              4.7.6             A PHP library for generating and working with universally unique identifiers (UUIDs).
rize/uri-template                        0.3.6             PHP URI Template (RFC 6570) supports both expansion & extraction
rrssb/rrssb-plus                         0.5.5             Ridiculously Responsive Social Sharing Buttons Plus
sebastian/diff                           4.0.6             Diff implementation
softcreatr/jsonpath                      0.9.0             JSONPath implementation for parsing, searching and flattening arrays
spomky-labs/cbor-php                     3.0.4             CBOR Encoder/Decoder for PHP
spomky-labs/pki-framework                1.2.1             A PHP framework for managing Public Key Infrastructures. It comprises X.509 public key cer...
stripe/stripe-php                        14.8.0            Stripe PHP Library
symfony/console                          6.4.7             Eases the creation of beautiful and testable command line interfaces
symfony/css-selector                     6.4.7             Converts CSS selectors to XPath expressions
symfony/dependency-injection             6.4.7             Allows you to standardize and centralize the way objects are constructed in your application
symfony/deprecation-contracts            3.5.0             A generic function and convention to trigger deprecation notices
symfony/error-handler                    6.4.7             Provides tools to manage errors and ease debugging PHP code
symfony/event-dispatcher                 6.4.7             Provides tools that allow your application components to communicate with each other by di...
symfony/event-dispatcher-contracts       3.5.0             Generic abstractions related to dispatching event
symfony/filesystem                       6.4.7             Provides basic utilities for the filesystem
symfony/finder                           6.4.7             Finds files and directories via an intuitive fluent interface
symfony/http-foundation                  6.4.7             Defines an object-oriented layer for the HTTP specification
symfony/http-kernel                      6.4.7             Provides a structured process for converting a Request into a Response
symfony/mailer                           6.4.7             Helps sending emails
symfony/mime                             6.4.7             Allows manipulating MIME messages
symfony/polyfill-ctype                   1.29.0            Symfony polyfill for ctype functions
symfony/polyfill-iconv                   1.29.0            Symfony polyfill for the Iconv extension
symfony/polyfill-intl-grapheme           1.29.0            Symfony polyfill for intl's grapheme_* functions
symfony/polyfill-intl-idn                1.29.0            Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
symfony/polyfill-intl-normalizer         1.29.0            Symfony polyfill for intl's Normalizer class and related functions
symfony/polyfill-mbstring                1.29.0            Symfony polyfill for the Mbstring extension
symfony/polyfill-php56                   1.20.0            Symfony polyfill backporting some PHP 5.6+ features to lower PHP versions
symfony/polyfill-php72                   1.29.0            Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
symfony/polyfill-php80                   1.29.0            Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions
symfony/polyfill-php81                   1.29.0            Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions
symfony/polyfill-php83                   1.29.0            Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions
symfony/polyfill-uuid                    1.29.0            Symfony polyfill for uuid functions
symfony/process                          6.4.7             Executes commands in sub-processes
symfony/property-access                  7.0.7             Provides functions to read and write from/to an object or array using a simple string nota...
symfony/property-info                    7.0.7             Extracts information about PHP class' properties using metadata of popular sources
symfony/psr-http-message-bridge          6.4.7             PSR HTTP message bridge
symfony/routing                          6.4.7             Maps an HTTP request to a set of configuration variables
symfony/serializer                       6.4.7             Handles serializing and deserializing data structures, including object graphs, into array...
symfony/service-contracts                3.5.0             Generic abstractions related to writing services
symfony/string                           6.4.7             Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and gra...
symfony/translation-contracts            3.5.0             Generic abstractions related to translation
symfony/uid                              7.0.7             Provides an object-oriented API to generate and represent UIDs
symfony/validator                        6.4.7             Provides tools to validate values
symfony/var-dumper                       6.4.7             Provides mechanisms for walking through any arbitrary PHP variable
symfony/var-exporter                     7.0.7             Allows exporting any serializable PHP data structure to plain PHP code
symfony/yaml                             6.4.7             Loads and dumps YAML files
tijsverkoyen/css-to-inline-styles        2.2.7             CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/...
twig/twig                                3.10.3            Twig, the flexible, fast, and secure template language for PHP
web-auth/cose-lib                        4.3.0             CBOR Object Signing and Encryption (COSE) For PHP
web-auth/metadata-service                4.8.6             Metadata Service for FIDO2/Webauthn
web-auth/webauthn-lib                    4.8.6             FIDO2/Webauthn Support For PHP
webflo/drupal-finder                     1.3.0             Helper class to locate a Drupal installation.
webmozart/assert                         1.11.0            Assertions to validate method input/output with nice error messages.

### PHP version and extensions

```shell
composer                 2.7.6    Composer package
composer-plugin-api      2.6.0    The Composer Plugin API
composer-runtime-api     2.2.2    The Composer Runtime API
ext-bcmath               8.3.7    The bcmath PHP extension
ext-bz2                  8.3.7    The bz2 PHP extension
ext-calendar             8.3.7    The calendar PHP extension
ext-ctype                8.3.7    The ctype PHP extension
ext-curl                 8.3.7    The curl PHP extension
ext-date                 8.3.7    The date PHP extension
ext-dba                  8.3.7    The dba PHP extension
ext-dom                  20031129 The dom PHP extension
ext-exif                 8.3.7    The exif PHP extension
ext-ffi                  8.3.7    The FFI PHP extension
ext-fileinfo             8.3.7    The fileinfo PHP extension
ext-filter               8.3.7    The filter PHP extension
ext-ftp                  8.3.7    The ftp PHP extension
ext-gd                   8.3.7    The gd PHP extension
ext-gettext              8.3.7    The gettext PHP extension
ext-gmp                  8.3.7    The gmp PHP extension
ext-hash                 8.3.7    The hash PHP extension
ext-iconv                8.3.7    The iconv PHP extension
ext-intl                 8.3.7    The intl PHP extension
ext-json                 8.3.7    The json PHP extension
ext-ldap                 8.3.7    The ldap PHP extension
ext-libxml               8.3.7    The libxml PHP extension
ext-mbstring             8.3.7    The mbstring PHP extension
ext-mysqli               8.3.7    The mysqli PHP extension
ext-mysqlnd              0        The mysqlnd PHP extension (actual version: mysqlnd 8.3.7)
ext-odbc                 8.3.7    The odbc PHP extension
ext-openssl              8.3.7    The openssl PHP extension
ext-pcntl                8.3.7    The pcntl PHP extension
ext-pcre                 8.3.7    The pcre PHP extension
ext-pdo                  8.3.7    The PDO PHP extension
ext-pdo_dblib            8.3.7    The pdo_dblib PHP extension
ext-pdo_mysql            8.3.7    The pdo_mysql PHP extension
ext-pdo_odbc             8.3.7    The PDO_ODBC PHP extension
ext-pdo_pgsql            8.3.7    The pdo_pgsql PHP extension
ext-pdo_sqlite           8.3.7    The pdo_sqlite PHP extension
ext-pgsql                8.3.7    The pgsql PHP extension
ext-phar                 8.3.7    The Phar PHP extension
ext-posix                8.3.7    The posix PHP extension
ext-pspell               8.3.7    The pspell PHP extension
ext-random               8.3.7    The random PHP extension
ext-readline             8.3.7    The readline PHP extension
ext-reflection           8.3.7    The Reflection PHP extension
ext-session              8.3.7    The session PHP extension
ext-shmop                8.3.7    The shmop PHP extension
ext-simplexml            8.3.7    The SimpleXML PHP extension
ext-soap                 8.3.7    The soap PHP extension
ext-sockets              8.3.7    The sockets PHP extension
ext-sodium               8.3.7    The sodium PHP extension
ext-spl                  8.3.7    The SPL PHP extension
ext-sqlite3              8.3.7    The sqlite3 PHP extension
ext-sysvmsg              8.3.7    The sysvmsg PHP extension
ext-sysvsem              8.3.7    The sysvsem PHP extension
ext-sysvshm              8.3.7    The sysvshm PHP extension
ext-tidy                 8.3.7    The tidy PHP extension
ext-tokenizer            8.3.7    The tokenizer PHP extension
ext-xml                  8.3.7    The xml PHP extension
ext-xmlreader            8.3.7    The xmlreader PHP extension
ext-xmlwriter            8.3.7    The xmlwriter PHP extension
ext-xsl                  8.3.7    The xsl PHP extension
ext-zend-opcache         8.3.7    The Zend OPcache PHP extension
ext-zip                  1.22.3   The zip PHP extension
ext-zlib                 8.3.7    The zlib PHP extension
lib-bz2                  1.0.8    The bz2 library
lib-curl                 8.8.0    The curl library
lib-curl-libssh2         1.11.0   curl libssh2 version
lib-curl-securetransport 3.3.0    curl (securetransport) openssl version (3.3.0)
lib-curl-zlib            1.2.12   curl zlib version
lib-date-timelib         2022.10  date timelib version
lib-date-zoneinfo        2024.1   zoneinfo ("Olson") database for date
lib-fileinfo-libmagic    543      fileinfo libmagic version
lib-gd                   2.3.3    The gd library
lib-gmp                  6.3.0    The gmp library
lib-iconv                1.11     The iconv library
lib-icu                  74.2     The ICU unicode and globalization support library
lib-icu-cldr             44.1     ICU CLDR project version
lib-icu-unicode          15.1.0   ICU unicode version
lib-icu-zoneinfo         2023.3   zoneinfo ("Olson") database for icu
lib-ldap-openldap        2.6.7    OpenLDAP version of ldap
lib-libsodium            1.0.19   The libsodium library
lib-libxml               2.9.13   libxml library version
lib-libxslt              1.1.35   The libxslt library
lib-libxslt-libxml       2.9.13   libxml version libxslt is compiled against
lib-mbstring-libmbfl     1.3.2    mbstring libmbfl version
lib-mbstring-oniguruma   6.9.9    mbstring oniguruma version
lib-openssl              3.3.0    OpenSSL 3.3.0 9 Apr 2024
lib-pcre                 10.43    The pcre library
lib-pcre-unicode         15.0.0   PCRE Unicode version support
lib-pdo_pgsql-libpq      16.3     libpq for pdo_pgsql
lib-pdo_sqlite-sqlite    3.45.3   The pdo_sqlite-sqlite library
lib-pgsql-libpq          16.3     libpq for pgsql
lib-sqlite3-sqlite       3.45.3   The sqlite3-sqlite library
lib-zip-libzip           1.10.0   The zip-libzip library
lib-zlib                 1.2.12   The zlib library
php                      8.3.7    The PHP interpreter
php-64bit                8.3.7    The PHP interpreter, 64bit
php-ipv6                 8.3.7    The PHP interpreter, with IPv6 support

### Steps to reproduce the issue.

```shell
# Insert the commands issued in the terminal if they are needed
# to reproduce the issue. Otherwise, delete this code block.

// Insert the PHP code to reproduce the issue. Please ensure that it is code that
// can be copy pasted to reproduce it.
    $notification = Notification::create('Test Title', 'This is a test message.');
    $message_array = ['notification' => $notification, 'token' => 'valid-ios-token' ];
    $badge_count = 25;
    $message = CloudMessage::fromArray($message_inputs);

    $badge_apns_config = ApnsConfig::new()->withBadge($badge_count);
    // When I check $badge_apns_config in Xdebug, the ApnsConfig has a badge count of 25.
    $message->withApnsConfig($badge_apns_config);
    // When I view $message, apparently the payload has not been modified to include the badge count.

Error message/Stack trace
-

Additional information
No response

$message is an immutable object and returns a new instance of itself; the original message remains unchanged
$message = $message->withApnsConfig($badge_apns_config);

should work.

Thank you so much! That did the trick.


Stability in comparison to original SeqNMF (matlab code)

Hello, I am curious as to whether your lab verified the performance of this Python port with the original implementation of SeqNMF in matlab. I ask because I am experiencing very poor stability in repeated trials for some k, and I am not sure whether to assign this behavior to the SeqNMF algorithm itself or to this port. Thank you.

Hi @J-Fo-S, this port was a very quick thing I put together...it's not debugged or tested.  I'm thrilled that it actually runs!  I tried to do as direct a port as possible (just translating MATLAB to Python line-by-line), but it's very likely that I've introduced problems.
I'm not actively developing this, but if you end up running any tests, I'd be grateful if you could post the results (either to this issue, or in a new issue).  And/or if you feel up to fixing any issues that you find, please consider submitting a pull request!

Thanks for the reply @jeremymanning . Right now I use the matlab version for different data, but if/when I can merge the two, I'll report what I find. I will tentatively say that tinkering with the regularization parameters seem to help to a degree, but it's only been a few runs. Cheers,


EntityUtils clean ups and internal refactoring

EntityUtils clean ups and internal refactoring. If this is OK, I'll do something similar for 4.5.x if needed.

I will have a look at this tomorrow.


Devenv takes a long time to run the first time

Describe the bug
In the all current versions of MSVC (2017 and 2019), the first time devenv runs it goes through some internal 'new user experience' work that takes 3-8 minutes. Since this time is outside of the control of users would it be possible to run devenv when building the environments so users don't have to constantly pay the cost?
Virtual environments affected

[ ] macOS 10.15
[ ] Ubuntu 16.04 LTS
[ ] Ubuntu 18.04 LTS
[x] Windows Server 2016 R2
[x] Windows Server 2019

Expected behavior
Using devenv to build a project or solution should start compiling right away instead of just idling for many minutes.
Actual behavior
Unfortunately my repo is currently private, but from what I can gather using devenv over msbuild on any solution or project should cause this. In my case I can't use msbuild because of how the projects are setup.
The following image shows the problem, devenv is executed at line 28 but doesn't even show the startup banner for 8 minutes.

Thanks for reporting. @kudaba do you have a sample first devenv command line that you run and causes this to happen? We might be able to warmup the instance ahead of time.

Sure, here's a trimmed down version of my job:
  Windows:
    runs-on: ${{ matrix.os }}
    env:
      MSBUILD_PATH: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\devenv.com
      SLN_PATH: path\to\application.sln
    strategy:
      matrix:
        os: [windows-latest]
    steps:
    - uses: actions/checkout@v1
      with:
        submodules: recursive
    - name: Setup Nuget.exe
      uses: warrenbuckley/Setup-Nuget@v1
    - name: nuget restore
      shell: cmd
      run: nuget restore "%SLN_PATH%"
    - name: compile debug
      shell: cmd
      run: |
        "%MSBUILD_PATH%" "%SLN_PATH%" /build debug
    - name: compile release
      shell: cmd
      run: |
        "%MSBUILD_PATH%" "%SLN_PATH%" /build release

And updated outputs showing the time between nuget and the first compile:

And the time between the first and second compile

@kudaba sorry for the delay, I'm working on this now and gathering data for the Visual Studio team to help out here.

I gathered some perfviews and sent them to the VS team who confirmed this is due to MEF composition on startup. Running devenv /updateconfiguration should alleviate it. We already have code that should be running this but apparently it's not doing the trick so we should investigate why.

I have tested builds of some my solutions in Canary builds and I didn't find any big delays. 'devenv /updateconfiguration' is executed now when MMS provisioner runs on VM, and perhaps it already fixed this issue.
Please test it once again.
If you still get this issue, please provide your solution for test building.

I went through a bunch of recent builds, and at first it looked like it dropped from 3 minutes to 1 minute for a while, but the 3 recent builds show some pretty erratic behavior. I have 2 devenv jobs per build and the initial devenv launch timing is as follows:
Mon, 16 Mar 2020 06:07:48 GMT - 1 sec, 3 min
Mon, 16 Mar 2020 06:06:20 GMT - 3 min, 1 min
Mon, 16 Mar 2020 05:42:29 GMT - 3 min, 1 min
Only one case was it fast (the most recent), but all others were either almost exactly 1 minute (+- 4 seconds) or 3 minutes (+- 20 seconds).

Hello @kudaba , we have tweaked VS a bit.
Could you check one more time?

Sure: 4 builds had the following timings in seconds between the first and second executions of visual studio:

First
Second

60
8

114
6

87
9

68
7

It's a small sample set but seems to be heading in the right direction.

Hello,
Our latest result (reducing VS initialization time to 1-1.5 minutes) was achieved by invocation devenv.exe /updateconfiguration during deployment. It does first VS initialization and improves build time.
Unfortunately, we don't see more ways to improve it because it seems that remain time comes from VS execution (probably, initialization of solution or something similar)
I am going to close this issue for now. Please let us know if you see other ways to improve it.

It's a lot better than before, thanks for taking the time to look into this. I can imagine the rest of the cost is probably just spinning up from the HD into the ram cache, etc, etc. This still saves a lot of minutes per run.

This started acting up again taking 5+ and sometimes over 10 minutes for the initial execution to run, compared to other platforms that complete their entire build process in just over a minute.

Hello @kudaba. We will take a look.

Hello @kudaba, I've investigated the issue but unfortunately wasn't able to reproduce the mentioned 5+ minutes delay. All my pipelines pass first build step (build debug) in 2-3 minutes and I guess it is expected for the devenv tool since it performs initialization for the first project run on machine (e.g. https://github.com/nikolai-frolov/image-testing/runs/4433619975?check_suite_focus=true). Probably this delay can actually depend on project size. Anyway I'm not sure if we can do something here, since it's related to devenv tool which is a part of Visual Studio and external for us. I can suggest you to use msbuild instead: it allows restore packages and build project much faster and it's already available in Windows images. Please find example pipeline which does the same but really much faster: https://github.com/nikolai-frolov/image-testing/runs/4445726711?check_suite_focus=true
    steps:
    - uses: actions/checkout@v2
      with:
        submodules: true
    - name: Add msbuild to PATH
      uses<EMAIL_ADDRESS>    - name: msbuild restore
      shell: cmd
      run: |
        msbuild /t:restore "%SLN_PATH%"
    - name: compile debug
      shell: cmd
      run: |
        msbuild "%SLN_PATH%" /p:Configuration=Debug
    - name: compile release
      shell: cmd
      run: |
        msbuild "%SLN_PATH%" /p:Configuration=Release

That seems to be working so far. I can't remember if there was a reason I needed to use devenv over msbuild (I'm building a c++ project so who knows).

I still have the same problem: It took 10 minutes before the build even started on the windows-2022 image.
@nikolai-frolov: What I'm using (and @kudaba also seems to use) is devenv (Visual Studio in C:\Program Files\Microsoft Visual Studio\2022\Enterprise), not msbuild

I am seeing the same problem

snippet from the yml file.
    $devcom = 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\devenv.com'
    echo $devcom
    echo '>>> Does the executable exist ....'
    Test-Path -Path $devcom

    $helpargs = 'addin_selector.sln /?   /out log.txt '
    echo '>>> These are the TEST arguments I will pass ....'
    echo $helpargs
    echo '>>> Call the executable...'
    Start-Process -FilePath $devcom -ArgumentList  $helpargs  -NoNewWindow -Wait

    $myargs = 'addin_selector.sln /build Release /Project addin_selector_installer\Installer.vdproj '
    echo '>>> These are the BUILD arguments I will pass ....'
    echo $myargs
    echo '>>> Call the executable...'
    Start-Process -FilePath $devcom -ArgumentList  $myargs  -NoNewWindow -Wait

note I can't use msbuild as suggested as I am building a vdproj file.

We too can't use msbuild and are building a solution with dtproj (SSIS) via dev env and notice the same delay building in Azure DevOps with the same images.


Update getstarted.html.erb

https://payments-platform.atlassian.net/browse/PP-12321
This is the changes which have been raised by XL Bully around the confusion in who can use which PSP provider

Closing - replacing with this: https://github.com/alphagov/pay-product-page/pull/718


Top level suggestions for tsconfig schema do not make sesne

Refs: #9744
insiders, os x

Have a myjson.json with the following content

| trigger intelli-sense here
{
"$schema": "http://json.schemastore.org/tsconfig"
}

trigger intelisense outside of the object, notice bogu proposals
I am only getting this if I choose the tsconfig schema so the problem might be with the schema and not with us, but still creating issue so you are aware

fixed. Now you get just text proposals... :-(


Please add support for Metal as GPU accelerator

Support Metal as GPU accelerator
It would be great to add support for Metal as GPU accelerator for Numba to speed up Python on macOS machines.

Thanks for the request - adding a new target to Numba is quite a lot of work for the initial implementation, and there is a continued maintenance workload for each target. I'm not a core maintainer, but I find it hard to foresee this being added in the near-term without significant extra development effort joining the project.
Do you have some use cases in mind that would really benefit from a Metal target?

@gmarkall, thanks for your reply!
I develop mainly on macOS, and project, I'am currently involved in and developed for macOS/Linux, would benefit greatly if there is a possibility to speed up code using iGPU/eGPU.
I was able to speed up my code using GPU on Linux and want to achieve the same on mac.

I did some casual research on this, and was unable to figure out how to target Metal using LLVM directly.  The Apple docs did not make it very clear how to use Metal in a JIT fashion the same way as OpenCL or NVVM.  The docs may have improved since I checked, so if someone can find an example of another project doing this, it would definitely help.

@seibert, maybe this could help?
https://github.com/gzorin/LLAIR

Adding support for Metal will significantly help a broad class of Mac and Numba users. I am Ph.D. student specialised in physics. Having Numba GPU accelerator on my Mac (m1 pro) will help me parallize “Time Dependent Schrodinger Equation”!
I wish I can add this feature myself, but this is way beyond my knowledge and experiance.

I would still love to see this, but 18 months later, there still is not a good option (that I've found in my semi-yearly searching).  Apple does not seem to be interested in anyone being able to target their GPUs except by writing Metal C++, so they don't expose the LLVM API directly.  (The above LLAIR project still requires you generate code in the C++-based Metal Shading Language.)  Numba doesn't have any support for emitting C++-style code from a backend (rather than LLVM instructions).

Hello, I am sure I'm not qualified to write metal shader but in some documentation of Metal API it seems like you can create MTLLibrary object directly in swift at runtime using makeLibrary function. I'm not sure if this is possible but technically, you can connect a compiled metal shader with python through swift (see noppoMan/python-metal-benchmark]. So maybe if the makeLibrary function is invoke through swift from python, it can be compiled on the fly?

Yeah, that part makes sense.  The hard part is translating Numba's generated code, which comes out of the compiler pipeline in some variant of LLVM IR (very low level), into the Metal Shader Language, which is C++-based (much higher level).  See the Numba architecture docs for examples of how this looks.
There have been LLVM IR to C backend projects in the past, but this would be a quite a research project.  The frustrating part is that Apple internally does have an LLVM IR-based backend for Metal, but they don't document it anywhere and reverse engineering it would be a different research project.

Okay, please correct me if I'm wrong
So the problem is there is no known way to convert numba's LLVM IR code to metal GPU shader target. So I think it is right now next to impossible for anyone to compile an efficient code for metal GPU (except Apple)
This blog's result suggest that for the most part metal bitcode is very similar to the compiled LLVM IR code. Maybe this is just a pipe dream, but maybe it might be possible to construct a compiled unoptimized metal bitcode from LLVM IR by adding a few header, and valid format

Yes, this is correct, and this is why I described this as a "research project".  :)  If someone figures this out, that would be a big step.

I just want to propose another use case. I'm a PhD student dealing with point cloud data. Previously, I designed some python scripts with number cuda.jit to process the data in parallel, which reduced the process time from one hour (xeon) to 40 seconds (Quadro P4000). However, it was always painful when the GPU memory reached cap. We had several different solutions, including cut the data, got three more Quadro P4000 for STI. Eventually, with so many efforts and funding, we could only have 4*8GB CUDA memory. But now, the M1 Max has a total of 64GB memory(for both CPU and GPU though) with only 140W power consumption. The support for Metal as GPU accelerator can help us migrate our codes to the Apple Silicon platform smoothly and we can develop new algorithms that can still function on the traditional Nvidia computers as long as we switch the<EMAIL_ADDRESS>back to<EMAIL_ADDRESS>I also considered migrating everything onto Tensorflow because Apple says that Tensorflow is officially supported, but our algorithms are not machine learning and most of the parts could not benefit from the accelerated operations provided by Tensorflow.

Will this work?

Convert Python -> numba -> LLVM-IR
Convert LLVM-IR -> SPIR-V (KhronosGroup/SPIRV-LLVM-Translator)
Run SPIR-V on vulkan backend KhronosGroup/SPIRV-Tools
Convert vulkan backend API to metal API KhronosGroup/MoltenVK

All of KhronosGroup projects are available on homebrew

SPIRV-LLVM-Translator brew install spirv-llvm-translator
SPIRV-Tools brew install spirv-tools
MoltenVK brew install molten-vk

Pytorch now supports Metal GPU on M1 Mac, with the help of the Apple team. Please see if you can get assistance from the macOS&Silicon designers. I really want to see how this feature will benefit from the unified memory. The copy_to_host and to_device functions shall be significantly speeded up.

We don't have any special contacts with the Apple developer teams, but if someone out there does, please let us know.  :)
I should note that PyTorch is using Metal the way Apple documents, with ahead-of-time compiled C++ kernels.  As mentioned above, Numba needs a just-in-time compiler interface based on LLVM IR in order for a target to work.  As of now, Apple has not announced such a thing.  (WWDC is in a little over two weeks, so we can always hope, of course.)

I'm not sure if this helps, but someone says that the Metal api itself is actually LLVM: https://github.com/gfx-rs/javelin/issues/4
It sounds like: We don't compile on the device. Don't know the details. "It just works"

Hi It's me again, use this to submit feature request:https://www.apple.com/feedback/macos.html

I think our best bet is figuring out how Julia did this: https://github.com/JuliaGPU/Metal.jl
(I'm still not sure how it works, since it seems to delegate most of the work to other parts of Julia's GPU compiler.)

I also would love to have this feature, but I completely understand that it requires time and resources to add it.
Just as a reference, taichi-lang (https://www.taichi-lang.org/) was able to have CUDA, Vulkan, and Metal support at compilation time. In the current project I am working on, I use Numba for the majority of the code, but I am using Taichi for their Autodiff and GPU processing in critical steps (they are far from mature for the entire project). It is a bit annoying to deal with two packages with a big overlap, but that is an alternative while the folks from Numba focus (correctly) on where there will be more users and higher impact.

I think this fork from Julia https://github.com/JuliaGPU/llvm-metal contains a Metal shader backend, I can't test it so not sure if it works.

Hey,
Just want to bring some fresh air here since there hasn't been any update for a while. The following is from ChatGPT:
Me: How is MPS performance from Apple? Does numba support MPS acceleration?
ChatGPT: MPS (Metal Performance Shaders) is a set of low-level APIs for performing computations on Apple devices that use Metal, the company's GPU (graphics processing unit) framework. MPS can be used to accelerate a wide range of computations, including image and video processing, machine learning, and data compression. According to Apple, MPS can provide significant performance improvements compared to using the CPU alone, especially on devices with powerful GPUs.
Numba is an open-source just-in-time (JIT) compiler for numerical Python code. It can be used to accelerate Python code running on a wide range of platforms, including macOS. Numba supports a variety of backends for code execution, including CPU, CUDA, and OpenCL. However, Numba does not currently have built-in support for MPS acceleration.
Therefore, if you wish to use MPS acceleration with Numba you would have to create a custom CUDA kernel using the MPS API and invoke it using Numba CUDA.
Me: create a custom CUDA kernel using the MPS API and invoke it using Numba CUDA
ChatGPT:
Creating a custom CUDA kernel using the MPS API and invoking it using Numba CUDA would involve the following general steps:
Create a new Metal compute function that performs the computation you want to accelerate using MPS.
Use the MPS API to create an MPSComputeCommandEncoder, which is used to encode the Metal compute function and other GPU commands into a command buffer.
Use the MPS API to configure the input and output textures for the compute function, and to set any other parameters or resources that the function needs.
Use the Numba CUDA API to create a CUDA kernel that invokes the Metal compute function.
Use Numba CUDA to allocate GPU memory and transfer data between the CPU and GPU.
Use the Numba CUDA kernel to launch the computation on the GPU.
Use the Numba CUDA API to retrieve the results from the GPU and transfer them back to the CPU.
It's important to note that MPS is only available for Apple devices, so this would not work on other platforms or devices. Also, implementing this solution would require a deep understanding of both the MPS and Numba CUDA APIs and a good understanding of GPU programming.

Just want to bring some fresh air here since there hasn't been any update for a while.

Pasting nonsense from ChatGPT simply wastes the time of maintainers and anyone else who takes an interest in this issue - it doesn't bring fresh air. Please do not add ChatGPT transcripts to issues in open-source projects.

Hi there,
Just checking in whether there is any development being done on this topic? It would be a great help to me if this is implemented!
Regards.

There's none that I'm aware of. It would be a significant amount of work so I don't expect this will be likely to change unless someone shows up to do or support a large part of it.

This would be great to have!

Any progress
I want cuda to metal translation in vm on MacOS

Not sure if you have seen this, Apple releases this so called Metal Shader Converter with macOS 14 Ventura: https://developer.apple.com/metal/shader-converter/, the description says "Metal shader converter converts shader intermediate representations in LLVM IR bytecode into bytecode suitable to be loaded into Metal. It’s available as a library and a standalone executable. All the functionality exposed through the library interface is available via the standalone executable." From what I read from this thread, @thipokKub in 2021 mentioned that "there is no known way to convert numba's LLVM IR code to metal GPU shader target". Can this new Metal Shader Converter make some changes?

It appears that it converts DXIL, which is a subset of LLVM 3.7 IR. I would guess that this exists in support of the Game Porting Toolkit, so I'm not optimistic about it making a straightforward conversion for the IR that Numba generates. If you want to experiment and post some results converting Numba-generated IR using the Shader Converter, then that would be illuminating though.

In case it matters, I just discovered that the Metal Performance Shaders (MPS) framework only supports single-precision numbers. Sadly, for my use case, this is a deal breaker 😢


Add missing std includes

ReleaseNote
Compatibility (major, minor, patch, build):  build
Jira ticket: na
Release Notes Comment: Fix build errors due to missing std includes
Special Notes: Currently fails to build with newer compilers, need to add in the includes for some of the standard library types used.
Look or Scene Setup Change: No

This looks good to me.

Note this pull request was closed as an unintended side-effect of our removal of the release branch.   Please feel free to file a new pull request against the main branch, If these changes are still relevant.  Thank you!


Keep getting this publish error???

Hello Max, I keep getting this error when I try to publish my CMS, and I hardly made any changes to the spreadsheet settings. I put some dummy text in for the blog. I'm getting this error: TypeError: Cannot call method "getLastColumn" of null after publishing. Thoughts? Thank you.

Non issue, I had the wrong Sheet name


Extract event from coeffects in the same place as in db-handler->inte…

…rceptor
A good principle to follow in designing anything is to make things that are the
same look the same, and things that behave differently look differently.
db-handler->interceptor and fx-handler->interceptor are very similar. Their
only difference is that the latter calls the handler-fn with all coeffects and
assoces the result to the :effects key directly, whereas the former calls the
handler-fn with just the db from inside the coeffects, and assoces the result
to just the db in the effects.
However the code of these two functions slightly differed in where the event
and the db resp. the whole coeffect was extracted from the context. Eliminate
that difference so that it is clearer what's different and what's the same about
these two functions.

Thanks @mbertheau and apologies for the delay in getting to this.


Support read-only sessions

Description

A button to start a new read-only session is placed in the model card
The button will load all models that match the project and tool (version) of the loaded model

NB. Read-only models only apply to models available from a git repository.
Resolves #issue
Testing
How were the changes tested?
Checklist

[x] My code follows the guidelines of this project: CONTRIBUTING.md
[x] I updated the documentation with the new functionality
[x] I went through the code and removed all print statements, breakpoints and unused code
[x] Error handling for all possible scenarios has been implemented
[x] I've add logging for all relevant operations
[x] I added the appropriate labels to this PR (enhancement/bug/documentation, effort, priority)

Current state (13.10.2022)

Backend is working with limitations. It works only with one model: the first model that matches the requested tool/version.
The frontend is working with fixed data: project is "default" and the tool is Capella 5.2.

What needs to be done still:

[ ] Update the "readonly" docker image to support multiple repositories
[ ] It's now clear that, when the "create session" button is hit something's happening. It needs some feedback
[ ] With me, the state keeps hanging in a "prepare" state. Not sure what happens there.

The editing of the readonly docker image template is not handled.

A general comment, I think in this case there should be no alembic merge since there is no need to support migrations of the diverging histories (since there is no production environment that currently uses the intermediate alembic commits of v2). I’d advise for a rebase, then for a manual chaining of the migrations without merges.

I’d advise for a rebase, then for a manual chaining of the migrations without merges.

Not again :see_no_evil: !

When Guacamole is unreachable, some GuacamoleError (⁉) are raised. This should be excepted or replaced with fastapi.HTTPException at some point.

When Guacamole is unreachable, some GuacamoleError (⁉) are raised. This should be excepted or replaced with fastapi.HTTPException at some point.

Nope. This is nothing that a user should see (as the installation itself is broken then) and you need to contact an administrator anyway.


VCR middleware

TBD

I have tackled this differently in #103

@grantspeelman @MUTOgen closing, per #103.

@justin808 #103 has to be used in a very specific way.
This only works when you start the Rails server with a single worker and single thread
This could be a viable alternative approach to the problem.

@MUTOgen any new feedback on this one?

@justin808 Nothing specific to mention.
We use this version in Cypress tests, about 12 fixtures so far, primarily for online ordering and POS-related stuff.
AFAIR, we use multiple workers and threads. So, as @grantspeelman said, this might be a problem switching to the current gem implementation.

@MUTOgen should we close this one?

Let's keep this branch until client migration


change public names to more intelligent defaults

This addresses #36 and is based on #86

merged: 00ebdc2b6a3aec11b99d8fd3bfec0d98cb8d3137


Cpp for doc algo

I have postponed some files to another pr because

they don't really fit to this pr title
I need a "map" able to use capturing lambdas or object functions with states, to achieve linspace, interval (matlab colon operator) or tchebytchev_points views.
@DenisYaroshevskiy :
Is it difficult to suppress the no-state restriction ?

changes done

views::reverse - maybe we want it as well? I approved either way.


Add VICTOROPS to valid notification channel types

Victorops was left out as a valid type, but appears in the REST API output.

I don't think the Travis failure is due to me. Can someone confirm?

@jyaworski: You're right that the Travis failure was not your fault. There's some private API keys necessary for the Travis tests to run, and they don't get copied out when people fork the repo, so the tests are always doomed to fail on a fork. I tested out your changes from here and they worked fine, so I'm going ahead and merging. Thanks for the contribution!


Team Page button on the navbar is not working

@SahityaRoy Can I work on the issue?

@SahityaRoy can you assign this issue to me?


Modularise istgt_lu_disk_execute(CONN_Ptr, ISTGT_LU_CMD_Ptr)

Write functions and macros for opcodes in the function istgt_lu_disk_execute
Signed-off-by: mittachaitu<EMAIL_ADDRESS>

Locally It is compiled without any errors anyway, I will check the errors and fix the errors


Unable to use component with Laravel Nova

Hi,
I'm trying to use your component into laravel Nova without success.
Can you help?
Regards
WARNING in ./node_modules/v-idle/build/vidle.esm.js 3:12-27
export 'defineComponent' (imported as 'defineComponent') was not found in 'vue-demi' (possible exports: Fragment, KeepAlive, Suspense, Teleport, Transition, TransitionGroup, Vue, Vue2, hasInjectionContext, install, isVue2, isVue3, version)

WARNING in ./node_modules/v-idle/build/vidle.esm.js 36:22-25
export 'ref' (imported as 'ref') was not found in 'vue-demi' (possible exports: Fragment, KeepAlive, Suspense, Teleport, Transition, TransitionGroup, Vue, Vue2, hasInjectionContext, install, isVue2, isVue3, version)

WARNING in ./node_modules/v-idle/build/vidle.esm.js 37:20-23
export 'ref' (imported as 'ref') was not found in 'vue-demi' (possible exports: Fragment, KeepAlive, Suspense, Teleport, Transition, TransitionGroup, Vue, Vue2, hasInjectionContext, install, isVue2, isVue3, version)

WARNING in ./node_modules/v-idle/build/vidle.esm.js 38:20-23
export 'ref' (imported as 'ref') was not found in 'vue-demi' (possible exports: Fragment, KeepAlive, Suspense, Teleport, Transition, TransitionGroup, Vue, Vue2, hasInjectionContext, install, isVue2, isVue3, version)

WARNING in ./node_modules/v-idle/build/vidle.esm.js 39:22-25
export 'ref' (imported as 'ref') was not found in 'vue-demi' (possible exports: Fragment, KeepAlive, Suspense, Teleport, Transition, TransitionGroup, Vue, Vue2, hasInjectionContext, install, isVue2, isVue3, version)

WARNING in ./node_modules/v-idle/build/vidle.esm.js 40:19-22
export 'ref' (imported as 'ref') was not found in 'vue-demi' (possible exports: Fragment, KeepAlive, Suspense, Teleport, Transition, TransitionGroup, Vue, Vue2, hasInjectionContext, install, isVue2, isVue3, version)

WARNING in ./node_modules/v-idle/build/vidle.esm.js 41:22-25
export 'ref' (imported as 'ref') was not found in 'vue-demi' (possible exports: Fragment, KeepAlive, Suspense, Teleport, Transition, TransitionGroup, Vue, Vue2, hasInjectionContext, install, isVue2, isVue3, version)

WARNING in ./node_modules/v-idle/build/vidle.esm.js 42:22-25
export 'ref' (imported as 'ref') was not found in 'vue-demi' (possible exports: Fragment, KeepAlive, Suspense, Teleport, Transition, TransitionGroup, Vue, Vue2, hasInjectionContext, install, isVue2, isVue3, version)

WARNING in ./node_modules/v-idle/build/vidle.esm.js 43:31-34
export 'ref' (imported as 'ref') was not found in 'vue-demi' (possible exports: Fragment, KeepAlive, Suspense, Teleport, Transition, TransitionGroup, Vue, Vue2, hasInjectionContext, install, isVue2, isVue3, version)

WARNING in ./node_modules/v-idle/build/vidle.esm.js 119:8-17
export 'onMounted' (imported as 'onMounted') was not found in 'vue-demi' (possible exports: Fragment, KeepAlive, Suspense, Teleport, Transition, TransitionGroup, Vue, Vue2, hasInjectionContext, install, isVue2, isVue3, version)

WARNING in ./node_modules/v-idle/build/vidle.esm.js 126:16-24
export 'nextTick' (imported as 'nextTick') was not found in 'vue-demi' (possible exports: Fragment, KeepAlive, Suspense, Teleport, Transition, TransitionGroup, Vue, Vue2, hasInjectionContext, install, isVue2, isVue3, version)

WARNING in ./node_modules/v-idle/build/vidle.esm.js 134:8-23
export 'onBeforeUnmount' (imported as 'onBeforeUnmount') was not found in 'vue-demi' (possible exports: Fragment, KeepAlive, Suspense, Teleport, Transition, TransitionGroup, Vue, Vue2, hasInjectionContext, install, isVue2, isVue3, version)

WARNING in ./node_modules/v-idle/build/vidle.esm.js 146:15-16
export 'h' (imported as 'h') was not found in 'vue-demi' (possible exports: Fragment, KeepAlive, Suspense, Teleport, Transition, TransitionGroup, Vue, Vue2, hasInjectionContext, install, isVue2, isVue3, version)

ERROR in ./node_modules/vue-demi/lib/index.mjs 2:0-105
Module not found: Error: Can't resolve<EMAIL_ADDRESS>in '/opt/eom/nova-components/NovaIdle/node_modules/vue-demi/lib'
Did you miss the leading dot in 'resolve.extensions'? Did you mean '[".*",".wasm",".mjs",".js",".jsx",".json",".vue"]' instead of '["*",".wasm",".mjs",".js",".jsx",".json",".vue"]'?

@scramatte can you provide a repository with some basic code?


2961: Fix app crash for scaleX on svg

Short description

Fix app crash for scaleX on svg.
Proposed changes

Upgrade react-native-svg.
Side effects

None.
Testing

See issue.
Resolved issues

Fixes: #2961.

It works as expected on your branch, the app does not crash, but also for me it does not crash on main.


[Bug]: handler function in default configuration does not use correct parameters

First, thanks for the plugin! I was excited to see the PR to Org for this. Also, I realize this is brand-new and that I may have used the tool wrong, so I apologize if the error I discuss below is my fault.
The handler function given in the README configuration appears to receive a table containing the title and items, not as separate or denested items. See the GIF below.
In the first part, I use my keybindings (<leader>oa) to access Org's menu. Given an error, I check the messages to see the output of the print statement I include, which displays that title and items are within the first parameter, a table. Changing the parameters to the handler as well as the open call, the menu opens correctly.

Hi! I'm very sorry, I was busy implementing virtual indents and completely forgot about the menu. I'll fix it now!

Please, try this configuration snippet:
local Menu = require("org-modern.menu")

require("orgmode").setup({
  ui = {
    menu = {
      handler = function(data)
        Menu:new({
          window = {
            margin = { 1, 0, 1, 0 },
            padding = { 0, 1, 0, 1 },
            title_pos = "center",
            border = "single",
            zindex = 1000,
          },
          icons = {
            separator = "➜",
          },
        }):open(data)
      end,
    },
  },
})

That works, thanks! I apologize that I opened this while you were still working on it, btw


Publish to DockerHub

Could you please publish edannenberg/gentoo-bb to Docker Hub to make it easier for others to use this?

Setup a Docker Hub account and repository.
docker push edannenberg/gentoo-bb

Images from this repo are pushed monthly to gentoobb on docker hub. I'm afraid automated docker hub builds are not possible due to the 2 phased build used to produce the final image.

I guess if any of the nested/sub docker build proposals make it through docker hub auto builds should be possible in theory. Would probably lose the ability to utilize the binary package cache though, plus I would feel kinda dirty to offload this rather heavy lifting to docker hub servers.
Feel free to reopen if you got any further questions.


[DRAFT] Feature/153 asset switcher choose loader

Gave ability to choose loader on switching assets.

This PR requires more discussion. OnHold NOW

closing this as it need a lot more robust solution. Issue in backlog pypeclub/pype#153

closing this as it need a lot more robust solution. Issue in backlog pypeclub/pype#153


issue #1445 - Add language registry utility

This change is to validate codes against the subtags registered in the IANA registry when the field is bound to the "http://hl7.org/fhir/ValueSet/all-languages" value set. Previous to this change, the codes were only validated to check if they were syntactically well-formed, and would validate successfully even if they did not match any subtag registered in the IANA registry.
Signed-off-by: Troy Biesterfeld<EMAIL_ADDRESS>

LGTM
minor editor point
fhir-model/src/main/resources/language-subtag-registry only a new minor point... that would be to have this with a file type *.txt

Since the language-subtag-registry file from IANA itself doesn't have .txt suffix, and there's already a file, modelClasses, in fhir-model/src/main/resources that also doesn't have a .txt suffix, it would OK to leave it off.  I can certainly change it if required.

LGTM
minor editor point
fhir-model/src/main/resources/language-subtag-registry only a new minor point... that would be to have this with a file type *.txt

Since the language-subtag-registry file from IANA itself doesn't have .txt suffix, and there's already a file, modelClasses, in fhir-model/src/main/resources that also doesn't have a .txt suffix, I thought it would OK to leave it off. I can certainly change it if required.

I don't think it is strictly required. There are instances where Java leverages resource files that are plain text but do not include the *.txt suffix.

LGTM
minor editor point
fhir-model/src/main/resources/language-subtag-registry only a new minor point... that would be to have this with a file type *.txt

Since the language-subtag-registry file from IANA itself doesn't have .txt suffix, and there's already a file, modelClasses, in fhir-model/src/main/resources that also doesn't have a .txt suffix, I thought it would OK to leave it off. I can certainly change it if required.

I don't think it is strictly required. There are instances where Java leverages resource files that are plain text but do not include the *.txt suffix.

absolutely,  just meant this comment as a method to facilitate easy association with an editor


Response change with io.ReadFull in go-scale

requires: https://github.com/spacemeshos/go-scale/pull/21

bors try

bors try

bors try

bors try

bors try

bors try

bors merge


ut: add test for Snapshot

part of #26

GitHub action doesn't seem to run automatically 🥲. @Xuanwo

GitHub action doesn't seem to run automatically 🥲. @Xuanwo

Thanks for the feedback. I will check with the INFRA team.

Hi, it should be work now. Please try push a new commit or a new PR, thanks!

Hi, it should be work now. Please try push a new commit or a new PR, thanks!

It works!

Thank you for this PR. However, I would prefer to see a test that can serialize/deserialize actual snapshot files. The current PR only tests simple get/set operations, which are already covered by TypedBuilder.

Hi, I have add serde_json for the serialize/deserialize test, PTAL 👀


deepstream5.1 error

jetpack4.5.1
deepstream5.1
(deepstream-test5-analytics:12296): GLib-CRITICAL **: 10:35:04.686: g_strchug: assertion 'string != NULL' failed
(deepstream-test5-analytics:12296): GLib-CRITICAL **: 10:35:04.687: g_strchomp: assertion 'string != NULL' failed
** WARN: <create_pipeline:1141>: Num of Tiles less than number of sources, readjusting to 2 rows, 1 columns
Warning: 'input-dims' parameter has been deprecated. Use 'infer-dims' instead.
** ERROR: main:1088: Failed to set pipeline to PAUSED
Quitting
ERROR from sink_sub_bin_sink2: Could not configure supporting library.
Debug info: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvmsgbroker/gstnvmsgbroker.c(388): legacy_gst_nvmsgbroker_start (): /GstPipeline:pipeline/GstBin:sink_sub_bin2/GstNvMsgBroker:sink_sub_bin_sink2:
unable to connect to broker library
ERROR from sink_sub_bin_sink2: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
Debug info: gstbasesink.c(5265): gst_base_sink_change_state (): /GstPipeline:pipeline/GstBin:sink_sub_bin2/GstNvMsgBroker:sink_sub_bin_sink2:
Failed to start
App run failed

Did you follow the README? https://github.com/NVIDIA-AI-IOT/deepstream-occupancy-analytics#run

The problem has been solved, bin / Jetson / libnvds_ msgconv.so Source code?

For the msgconv updates please check the webinar content.

The problem has been solved, bin / Jetson / libnvds_ msgconv.so Source code?

Hi, how did you solve it? I want to replicate the same for DS-5.1 Thanks


In welcome.blade.php. Show a text stating whether DB connection is successful

Seeing that Laravel is used mostly for applications that require a DB connection. Won't it be useful to put in some code to do a DB connection and then display the result of the DB connection in the welcome.blade.php instead of letting user put in their own code later to attempt the DB connection

Are you referring to some kind of quick-start guide on the welcome view? I don't think this is necessary.

Not really. Just a text saying 'Connection to database successful' or 'Error connecting to database due to'. I mention this because when someone creates a new app and sets up the DB connection, they normally go to welcome.blade.php to see if it is ok. Then they must write additional code to do a query and then the person will know if the database settings are correct. If the person sees the database connection successful message, then the person will know his database settings are correct and proceed to write his code

I still think it isn't necessary - you should be checking the connection settings yourself anyway.
Going to let @GrahamCampbell chime in on this now.

I don't think this will be accepted for the same reason the default / route doesn't load sessions. So we look good on benchmarks. Thanks for the idea though.

No worries. I understand the rational behind the reason


Determine namespace(s) to use for "utility" classes.

Our "utility" classes are currently in the namespace google::cloud::internal.  This is fairly unwieldy to type, but attempting to abbreviate it also has issues.

using-declarations can result in ADL problems (this was actually seen with make_unique with a C++17 compiler).
writing internal::foo tends not to work because individual projects have their own more deeply nested internal namespaces (e.g. google::cloud::spanner::internal).

It would be nice to have a short namespace (similar to std or absl) so we can name these types unambiguously and without too much cruft.
We should also update/eliminate existing using declarations in this project and others (i.e. spanner).

Is there something actionable here?  Are we going to do something?

The pattern we're using now is:

google::cloud::foo (the main product namespace)
google::cloud::foo_inernal (internal bits; a peer of the public namespace)
google::cloud::foo_mocks (optional public namespace for mocks; again a peer of the public namespace)

I don't think it's worth re-namespacing our existing libraries (Spanner, Bigtable, GCS) to match this pattern. But new products (like Pub/Sub), including generated ones, should use this scheme.
At this point, I don't think there's any further work for this issue. Closing.

we could rename our existing libraries and use aliases so we can migrate slowly.


Better documentation for docker builds

When running docker builds, there are 2 main ways for task authors to provide docker daemons to their build containers:

Using a sidecar. This is documented in our examples, our sidecar docs, and in the catalog, although the catalog task is broken. We could do a better job of explaining how the sidecar can communicate with the steps (options are via the network or by mounting the socket onto both containers) and how to use TLS for the network option. We could also improve documentation on debugging docker build tasks with sidecars, since the logs will default to the step container, saying something like "Cannot connect to the Docker daemon at tcp://localhost:2376. Is the docker daemon running?", when the real issue may be in the sidecar container. Lastly, we should explain that any docker commands that need to share a daemon must happen in the same task, since it's a common mistake to start with multiple tasks and have to rewrite.

Using the host's docker daemon. This is documented in task docs and docs on volume mounts. We explain that this is "very unsafe", but I think more details are needed for cluster operators around the security concerns. Specifically, this is unsafe because the container may be able to write to the host's filesystem and affect other builds running on the same host, and even if a VM is created for each build, the build may be able to affect the pipelines controller. I believe this can be sandboxed using nested virtualization (@skaegi has mentioned using kata containers for this purpose), so we should have more information than just saying it's unsafe and not to do it. We should also explain that doing this requires privileged pods, and how to configure that, and some more detail on how this works on different platforms (e.g. where can you find the docker socket on minikube?).

The biggest problem with option 2 IMO is that the Task author needs to understand how Tekton is being run to know if they can (safely) use it, and they wouldn't be able to port the Task between platforms. I'm not sure whether this is a problem we can address in Tekton or not, and whether it's a valid reason for encouraging use of option 1.
Another useful piece of documentation would be how to write a CI pipeline with Tekton for a codebase that uses docker-compose for integration tests; i.e. how to translate a docker compose integration test into a Task with a sidecar.
Note: I know we typically encourage folks to use kaniko or alternatives, but docker builds are still very common in CI and kaniko isn't a drop-in replacement, so I think providing good documentation for docker builds is important.

/remove-lifecycle stale


Git cannot clone private GitHub repositories

When I try to clone a private GitHub repository, Git gives me this error message:
<class 'dulwich.errors.GitProtocolError'>: unexpected http response 401
I have not tried SSH.
No problems with public repositories.

The only way you can clone a private GitHub repo is Github App on Desktop or downloading the zip from the GitHub website. If they allowed you to clone it via command line, anyone with the repo name would just clone it and get access

SSH won't work either

You can clone a private repository by using this url:
<EMAIL_ADDRESS>

true I didn't know anything ab. git last year cuz I had only used it to clone public repos 💀


Compiler macro for #'vect causes problems for vectors of lists

(vect (list 'foo)) breaks in compiled code on SBCL because the compiler-macro declares (list 'foo)dynamic-extent at the same time as it declares the temporary list for passing to make-array dynamic-extent.
This is a very particular edge case, and one that can be easily solved by users without any change to vect, but it is very surprising when you're not expecting it. At the very least, a note in the docs would be appreciated.
As a side note, this is reproducible at the repl by wrapping the example above in a lambda, as in ((lambda () (vect (list 'foo)))). The result is a vector containing junk data.

It's kind of you to call it an edge case, but no, it's definitely a bug.
I'll fix it ASAP, but that might not be till Monday, so if it's urgent I'd be happy to merge a pull request that removes the offending dynamic-extent declaration.


cleanup: refactor and use bicopy everywhere

See commit message.

I think the common behavior in all 3 cases is that we start an endless io.Copy() in both directions. The copy is not expected to complete in normal conditions. This is the case for vz/network_darwin.go, I' not sure about the other 2, maybe port forwarding may end earlier in normal conditions.
In the vz network case, the copy should stop only when the vm is shutting down, or if socket_vmnet crashed or terminated. In this case we want to log an error or warning message about the peer closing the socket. Any other error should be logged as an error. In base case we want to log the issue immediately without a delay, so we don't lose errors.
When one of the io.Copy() goroutines fail, we want to other to fail immediately. I'm not sure this is ensured by current code. This should fixed and tested before we unify the implementation.
When both io.Copy() finished, we already logged the error, so there is nothing to return to the caller, even if we have a caller waiting for the result.
Usually saving the first error (synchronized with a lock or atomics) and returning it will be more helpful than returning 8 possible errors joined. After something fail, the next errors are usually just noise. If we can ensure that the second copy fail immediately when the first fail, we can return the first error to the caller and the caller can log it. This will be more useful for a library since different callers may want to use different loggers. May not be relevant to lima use case.
If we improve bicopy we want to share them with upstream. Did you open upstream issues for the problems you are trying to fix in bicopy?

If we improve bicopy we want to share them with upstream. Did you open upstream issues for the problems you are trying to fix in bicopy?

I'm just removing features we aren't using. If they need early cancellation that's just fine.

If we improve bicopy we want to share them with upstream. Did you open upstream issues for the problems you are trying to fix in bicopy?

I'm just removing features we aren't using. If they need early cancellation that's just fine.

Good reason why this is not relevant to upstream.

Looks like I caught a test flake - I don't see bicopy in the stack trace.
TestGetPorts/loadBalancer_service
2024-12-03T23:19:21.6922190Z panic: test timed out after 10m0s

Looks like I caught a test flake - I don't see bicopy in the stack trace.

I've triggered a re-run, but I'm waiting for approval from another reviewer before merging; not going to work my way through 72 comments... 😄


State how to find out what properties are required for a managed connector

I'm needing to build ARM templates including managed connector and need the "parameterValues". These don't export so the docs should help find these values.

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

ID: 283ea333-d9a1-50c6-581c-753131c88f5a
Version Independent ID: 45207a34-a98b-8214-3364-61a62fbada4a
Content: Connectors for Azure Logic Apps - Azure Logic Apps
Content Source: articles/connectors/apis-list.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

@stephlocke Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

Hi @stephlocke,
Have you tried downloading the template by using Visual Studio or exporting the entire resource group that contains the resource definitions for both the logic app and connection resources? Here are links to more info:

Create Azure Resource Manager templates to automate deployment for Azure Logic Apps
Single and multi-resource export to a template in Azure portal

I'll also add the appropriate links to the Connectors for Logic Apps topic and this topic: Overview: Automate deployment for Azure Logic Apps by using Azure Resource Manager templates.

If there are literally no docs on what parameters are needed per connector then the docs should state that you need to create a version and then download it. That's a really subpar experience IMO though.
Additionally, I don't think the export template functionality actually downloads the requisite sections.
When I download them I don't see the bits I uploaded, chiefly:
                "parameterValues": {
                    "apiKey": "[listKeys(variables('cognitiveServiceName'),'2016-02-01-preview').key1]",
                    "siteURL": "[reference(variables('cognitiveServiceName'),'2016-02-01-preview').endpoint]"
                }


Feature/support log tracing across services

Unintended

Please disregard this PR. Apparently git tracking on my forked repo was not setup properly!

Hiya, @brettfishman :)

Hey, @andrewhao ! :)


Rename static library suffix for Windows MSVC

Change the static library extension to .lib for MSVC.
See #290

LGTM @cody271


zeppelin - update example for 1.11

https://github.com/dcos/examples/tree/master/zeppelin
Pick any open and unassigned issue in the list of GitHub issues and assign it to yourself by leaving a comment here in the issue. Then update the example by following these steps:

[ ] Fork the examples repo on GitHub.
[ ] On a new branch, make a copy of latest example directory (mostly 1.10 or 1.9) for your package and name it 1.11.
[ ] Test the example on a DC/OS 1.11 cluster. As you test, replace the old screenshots with new ones and make any necessary corrections to the example.
[ ] Feel free to also improve the instructions.
[ ] Add a link to your newly created 1.11 example to the README.md file for your package's directory.
[ ] Report your results:

If the example works out of the box, or you are able to correct it, open a PR with your changes (including the example itself and its addition to the README.md file) and add it to the issue.
If you can’t get your example to work, add a detailed description of what went wrong on the issue (you still get stickers!).

When you’re done, email<EMAIL_ADDRESS>with the following information:
Subject: 1.11 Example Testing - [Service Name]
Body:

Your name
GitHub Issue link
Your Twitter handle, if you have one
Community Slack handle if you have one
Mailing address (for the stickers)

The Community team shepherd will review your PR and either work with you to make modifications or just merge it if it looks good.

I can do it.

https://github.com/dcos/examples/pull/347

This update has been merged, thanks again @josepedro! :tada:


Make the cluster check ignore stale hosts

We live in the cloud, man.
Stale hosts are going to be around all the time, I think we should not count them.

is there no context where we'd want to keep this logic? i'm fine if it goes but we could make it a flag like with silenced hosts.

What if a host that knows it's leaving the rota intentionally, silences itself first?
If we don't count stale hosts, we will no longer be able to detect situation when a host wants to report result of a check but can't due to a problem (vs a host that is leaving the rota intentionally, in which case it simply doesn't want to report result of the check anymore).

@keymone I think we still want to print them out for context about the calculation. On the extreme side we could just report "OK or CRIT", on the other extreme we print out all the input data that went into the calculation. This is me leaning towards that extreme. That way when we get the alert we can ask "why isn't X showing up, oh because it stale and ignored."
@somic silencing could work, but I would be worried about a long-term silence and re-using hostnames in aws?

I am wondering whether sensu removes stashes when we delete a client... Doesn't look like it at first sight - https://github.com/sensu/sensu/blob/master/lib/sensu/api/routes/clients.rb#L113

This work was done as part of #158 (and #159 and #160).


Add applicant tracking API interface

Description
Add Bamboozled::API::ApplicantTracking to implement applicant tracking API.
Documentation for the API: https://www.bamboohr.com/api/documentation/ats.php

Add lib/bamboozled/api/applicant_tracking.rb and spec
Add fixtures for endpoints used
Include reference in lib/bamboozled.rb and lib/bamboozled/base.rb

Related Issue
https://github.com/Skookum/bamboozled/issues/62
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Note: Rubocop complains about params option hash for some methods, these should be included in Style/OptionHash exceptions

Hey @danhealy thanks for this PR, it's looking good!  I just wanted to check, are you able to see the travis CI failures?
Looks like it's a rubocop error, and then using #dig on a hash in one of the tests.  We run the tests on ruby 2.2 so dig isn't a method yet.

@danhealy
Yes I agree with what you said about the rubocop error.  Go ahead and disable that with the rubocop disable comment.

LGTM! Good addition, and a great PR. Thanks @danhealy!