Dart2js failures for some NNBD tests

For the following test (this is not the complete list just a part but all failures are very similar) dart2js fails
co19/LanguageFeatures/nnbd/type-aliases/extension_method_resolution_A01_t06
co19/LanguageFeatures/nnbd/type-normalization/norm_A11_t01
co19/LanguageFeatures/nnbd/type-normalization/norm_A12_t01
co19/LanguageFeatures/nnbd/type-normalization/norm_A13_t01
co19/LanguageFeatures/nnbd/type-normalization/norm_A14_t01
co19/LanguageFeatures/nnbd/type-normalization/norm_A15_t01
/=========================================================================================================================================================================\
| dart2js-hostasserts-strong-linux-x64-chrome:co19/LanguageFeatures/nnbd/type-aliases/extension_method_resolution_A01_t06 is new and failed (RuntimeError, expected Pass) |
\=========================================================================================================================================================================/

--- Command "dart2js" (took 03.000428s):
DART_CONFIGURATION=ReleaseX64NNBD sdk_nnbd/bin/dart2js_developer --enable-experiment=non-nullable,nonfunction-type-aliases --enable-experiment=non-nullable,nonfunction-type-aliases --test-mode --packages=/b/s/w/ir/.packages /b/s/w/ir/tests/co19/src/LanguageFeatures/nnbd/type-aliases/extension_method_resolution_A01_t06.dart --null-safety --libraries-spec=sdk_nnbd/lib/libraries.json --platform-binaries=out/ReleaseX64NNBD/ --out=/b/s/w/ir/out/ReleaseX64NNBD/generated_compilations/dart2js/tests_co19_src_LanguageFeatures_nnbd_type-aliases_extension_method_resolution_A01_t06/extension_method_resolution_A01_t06.js

exit code:
0

stdout:
Compiled 8,145,072 characters Dart to 93,503 characters JavaScript in 3.43 seconds
Dart file /b/s/w/ir/tests/co19/src/LanguageFeatures/nnbd/type-aliases/extension_method_resolution_A01_t06.dart compiled to JavaScript: out/ReleaseX64NNBD/generated_compilations/dart2js/tests_co19_src_LanguageFeatures_nnbd_type-aliases_extension_method_resolution_A01_t06/extension_method_resolution_A01_t06.js

--- Command "chrome" (took 97ms):
/b/s/w/ir/tools/sdks/dart-sdk/bin/dart pkg/test_runner/bin/launch_browser.dart chrome http://<IP_ADDRESS>:45177/root_build/generated_tests/dart2js-chrome/tests_co19_src_LanguageFeatures_nnbd_type-aliases_extension_method_resolution_A01_t06/test.html?crossOriginPort=44125

Runtime window.onerror:
window.onerror called:

http://<IP_ADDRESS>:45177/root_build/generated_compilations/dart2js/tests_co19_src_LanguageFeatures_nnbd_type-aliases_extension_method_resolution_A01_t06/extension_method_resolution_A01_t06.js:1117:
Uncaught TypeError: Cannot read property 'Object' of undefined

Deobfuscated error and stack:
<no error message found>
    at window.onerror called:                                         unparsed
    at <fn>                                                           out/ReleaseX64NNBD/generated_compilations/dart2js/tests_co19_src_LanguageFeatures_nnbd_type-aliases_extension_method_resolution_A01_t06/extension_method_resolution_A01_t06.js 1117
    at Uncaught TypeError: Cannot read property 'Object' of undefined unparsed

exit code:
0

--- To debug locally, run:
/b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/pkg/test_runner/bin/http_server.dart -p 45177 -c 44125 --network <IP_ADDRESS> --build-directory=/b/s/w/ir/out/ReleaseX64NNBD/ --runtime=chrome --packages=/b/s/w/ir/.packages

--- Re-run this test:
python tools/test.py -n dart2js-hostasserts-strong-linux-x64-chrome --dart2js-batch co19/LanguageFeatures/nnbd/type-aliases/extension_method_resolution_A01_t06

/========================================================================================================================================================\
| dart2js-hostasserts-strong-linux-x64-chrome:co19/LanguageFeatures/nnbd/type-normalization/norm_A11_t01 is new and failed (RuntimeError, expected Pass) |
\========================================================================================================================================================/

--- Command "dart2js" (took 03.000695s):
DART_CONFIGURATION=ReleaseX64NNBD sdk_nnbd/bin/dart2js_developer --enable-experiment=non-nullable --enable-experiment=non-nullable --test-mode --packages=/b/s/w/ir/.packages /b/s/w/ir/tests/co19/src/LanguageFeatures/nnbd/type-normalization/norm_A11_t01.dart --null-safety --libraries-spec=sdk_nnbd/lib/libraries.json --platform-binaries=out/ReleaseX64NNBD/ --out=/b/s/w/ir/out/ReleaseX64NNBD/generated_compilations/dart2js/tests_co19_src_LanguageFeatures_nnbd_type-normalization_norm_A11_t01/norm_A11_t01.js

exit code:
0

stdout:
Hint: When run on the command-line, the compiled output might require a preamble file located in:
  <sdk>/lib/_internal/js_runtime/lib/preambles.
Compiled 8,091,930 characters Dart to 144,693 characters JavaScript in 3.69 seconds
Dart file /b/s/w/ir/tests/co19/src/LanguageFeatures/nnbd/type-normalization/norm_A11_t01.dart compiled to JavaScript: out/ReleaseX64NNBD/generated_compilations/dart2js/tests_co19_src_LanguageFeatures_nnbd_type-normalization_norm_A11_t01/norm_A11_t01.js

--- Command "chrome" (took 93ms):
/b/s/w/ir/tools/sdks/dart-sdk/bin/dart pkg/test_runner/bin/launch_browser.dart chrome http://<IP_ADDRESS>:35223/root_build/generated_tests/dart2js-chrome/tests_co19_src_LanguageFeatures_nnbd_type-normalization_norm_A11_t01/test.html?crossOriginPort=40425

Runtime window.onerror:
window.onerror called:

http://<IP_ADDRESS>:35223/root_build/generated_compilations/dart2js/tests_co19_src_LanguageFeatures_nnbd_type-normalization_norm_A11_t01/norm_A11_t01.js:1362:
Uncaught TypeError: Cannot read property 'Object' of undefined

Deobfuscated error and stack:
<no error message found>
    at window.onerror called:                                         unparsed
    at <fn>                                                           out/ReleaseX64NNBD/generated_compilations/dart2js/tests_co19_src_LanguageFeatures_nnbd_type-normalization_norm_A11_t01/norm_A11_t01.js 1362
    at Uncaught TypeError: Cannot read property 'Object' of undefined unparsed

exit code:
0

--- To debug locally, run:
/b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/pkg/test_runner/bin/http_server.dart -p 35223 -c 40425 --network <IP_ADDRESS> --build-directory=/b/s/w/ir/out/ReleaseX64NNBD/ --runtime=chrome --packages=/b/s/w/ir/.packages

--- Re-run this test:
python tools/test.py -n dart2js-hostasserts-strong-linux-x64-chrome --dart2js-batch co19/LanguageFeatures/nnbd/type-normalization/norm_A11_t01

fyi - @fishythefish @rakudrama

These are NNBD strong mode failures, so this is currently expected. FWIW https://dart-review.googlesource.com/c/sdk/+/143360 will fix ~8000 of these.

Should be resolved by 1ac89cd5b3ed6dde5830fc3c3b8c14a07ee79916. Feel free to (re)open an issue if there are more specific failures I should look into, but the work on strong mode is still ongoing and we don't expect all the tests to be passing while we're still burning down issues.


Using quartodoc build --watch with pyshiny seems to trigger a rebuild loop

From pairing with @wch, when we ran quartodoc build --watch:

it did trigger when we changed the source
after the re-build, another re-build was triggered
this created an infinite loop of rebuilding

It looks like the issue may be caused by the watcher including python cache files (e.g. __pycache__)

I'm looking into this now

I cannot repro this issue.  Can you with me repro this?  Steps I tried:
Install the library and run the command
git clone https://github.com/machow/quartodoc.git
pip install -e .
cd docs
quartodoc build --watch

In a separate window, I opened quartodoc/ast.py and added
def foo(): pass

When I did this, quartodoc did not go into an infinite loop.  I can only guess that the issue might be some kind of idiosycratic thing you are seeing with __pycache__ in another library which I can try to ignore, but either way it would be great if you could provide an example that was fully reproducible.

merged!


Add job_retry parameter to td query operators

td>, td_wait>, td_wait_table> and td_for_each> operators support job_retry parameter which  is used for count of retry upon failure.
https://github.com/treasure-data/digdag/search?q=job_retry&unscoped_q=job_retry
It's better to be explained in documentation.

@kamikaseda Thanks for your document improvements. Basically it looks like good.
But I can't confirm maximum retry count is really 10. Please wait for my confirmation.

@yoyama Yes, you are correct. There is no limitation. But our TD Console has a list of retry count as bellow. So I though it's better to write 0 to 10 as recommended values. (I think 10 is enough basically....)
https://t.gyazo.com/teams/treasure-data/a27125366981c706eb28acc57a341f02.png

@kamikaseda Oh, I understand. But even though  retry count is not limited actually, this explanation may be confused.
How about remove "From 0 to 10 times ," and add another explanation which we recommend retry number should be less than 10?

@yoyama Sounds good to me. I've modified that point.

@kamikaseda Thanks to update. Could you confirm the ".. note::" will be displayed as intended?

@yoyama Surely, ".. note::" didn't work in md. I've modified to simple comment.


Remove THREE.js dependency

As it looks like we're working towards removing THREE.js as a dependency (#22).This issue breaks that out into its own issue with a listing of sketches so we can update progress.
I am unsure of the state of Ken's replacement for THREE.js, so I'll leave it to others as to how to proceed.

[x] flyers.js
[ ] hypershape.js
[x] lathe.js (already has a non-THREE.js counterpart in lathe2.js)
[x] leviathan.js
[x] molecule.js
[ ] net.js
[x] octopus.js
[ ] planet.js
[ ] raytrace.js
[ ] slice.js
[x] spiky.js
[ ] stickman.js
[x] tactonic.js
[x] tentacle.js
[x] testskin.js
[ ] zabacus.js
[ ] ikbody.js (via sketchlibs/ikBody.js)

What is the status on this effort?

Still open for contribution. The ones that are checked off above have been either migrated or removed, but the unchecked ones still use THREE.js.


Spec: V2 Ecommerce Events - Missing Product Product List Viewed and Product List Filtered

Cannot find any ecommerce tracking in index.js that as code for https://segment.com/docs/spec/ecommerce/v2/#product-list-viewed or https://segment.com/docs/spec/ecommerce/v2/#product-list-filtered
These would need to map to https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#product-impression
Was this left out on purpose if yes why?
Thanks
Nick

@SegmentBot a reply on this would be appreciated.
Thanks,
Nick

Hey Nick — ditto #35: this was not left out on purpose, but was added to the spec without adding support in the integration. Will leave this open until we get a chance to get the integration up to spec.

Closed by https://github.com/segment-integrations/analytics.js-integration-google-analytics/pull/46


V0.3.2

Fix engine tag. Should no longer include extraneous texts caused by notations.
Add unit tests

https://github.com/sharkusmanch/playnite-pcgamingwiki-metadata-provider/issues/12


Firebase Rules - .indexOn is forced to be an object when a string or an array of strings is required

Describe the issue you are experiencing
Firebase Rules requires that the ".indexOn" value be a string or an array of strings.
This line of code passes a JSON_FORCE_OBJECT option that forces the entire JSON to exist as an object. This causes the API call to fail if you have ".indexOn" values in a PHP array.
This is what Firebase expects.
{
    "rules": {
        "meet_1": {
            "value1": {
                ".indexOn": [
                    "cd"
                ]
            },
            "value2": {
                ".indexOn": [
                    "pb"
                ]
            },
            "value3": {
                ".indexOn": [
                    "he",
                    "hr",
                    "hh"
                ]
            }
        }
    }
}

This is what JSON_FORCE_OBJECT is doing. Firebase returns Error saving rules: Invalid indexOn expression. Must be either a string or an array of strings
{
    "rules": {
        "meet_1": {
            "value1": {
                ".indexOn": {
                    "0": "cd"
                }
            },
            "value2": {
                ".indexOn": {
                    "0": "pb"
                }
            },
            "value3": {
                ".indexOn": {
                    "0": "he",
                    "1": "hr",
                    "2": "hh"
                }
            }
        }
    }
}

I am not sure if the JSON_FORCE_OBJECT is necessary for other reasons?
Installed packages
abraham/twitteroauth                   0.7.4              The most popular PHP library for use with the Twitter OAuth REST API.
beberlei/doctrineextensions            v1.2.6             A set of extensions to Doctrine 2 that add support for additional query functions available in MySQL and Oracle.
behat/transliterator                   v1.3.0             String transliterator
brick/math                             0.8.15             Arbitrary-precision arithmetic library
brightcove/api                         2.1                Brightcove PHP API Wrapper
composer/xdebug-handler                1.4.2              Restarts a process without Xdebug.
dms/phpunit-arraysubset-asserts        v0.2.0             This package provides ArraySubset and related asserts once deprecated in PHPUnit 8
doctrine/annotations                   1.10.3             Docblock Annotations Parser
doctrine/cache                         1.10.1             PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, apc, mongodb and oth...
doctrine/collections                   1.6.5              PHP Doctrine Collections library that adds additional functionality on top of PHP arrays.
doctrine/common                        2.13.3             PHP Doctrine Common project is a library that provides additional functionality that other Doctrine projects depend on such as better reflectio...
doctrine/data-fixtures                 1.4.3              Data Fixtures for all Doctrine Object Managers
doctrine/dbal                          2.10.2             Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.
doctrine/doctrine-bundle               2.1.0              Symfony DoctrineBundle
doctrine/doctrine-fixtures-bundle      3.3.1              Symfony DoctrineFixturesBundle
doctrine/doctrine-migrations-bundle    3.0.1              Symfony DoctrineMigrationsBundle
doctrine/event-manager                 1.1.0              The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.
doctrine/inflector                     1.4.3              PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.
doctrine/instantiator                  1.3.1              A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer                         1.2.1              PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
doctrine/migrations                    3.0.1              PHP Doctrine Migrations project offer additional functionality on top of the database abstraction layer (DBAL) for versioning your database sch...
doctrine/orm                           v2.7.3             Object-Relational-Mapper for PHP
doctrine/persistence                   1.3.7              The Doctrine Persistence project is a set of shared interfaces and functionality that the different Doctrine object mappers share.
doctrine/reflection                    1.2.1              The Doctrine Reflection project is a simple library used by the various Doctrine projects which adds some additional functionality on top of th...
doctrine/sql-formatter                 1.1.0              a PHP SQL highlighting library
egulias/email-validator                2.1.25             A library for validating emails against several RFCs
elastic/transport                      v8.1.0             HTTP transport PHP library for Elastic products
elasticsearch/elasticsearch            v8.2.2             PHP Client for Elasticsearch
emag-tech-labs/rabbitmq-bundle         2.1.1              Integrates php-amqplib with Symfony & RabbitMq. Formerly php-amqplib/rabbitmq-bundle, oldsound/rabbitmq-bundle.
escapestudios/symfony2-coding-standard 3.11.0             CodeSniffer ruleset for the Symfony 2+ coding standard
fig/http-message-util                  1.1.5              Utility classes and constants for use with PSR-7 (psr/http-message)
firebase/php-jwt                       v6.2.0             A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.
friendsofsymfony/jsrouting-bundle      2.6.0              A pretty nice way to expose your Symfony2 routing to client applications.
fzaninotto/faker                       v1.9.1             Faker is a PHP library that generates fake data for you.
gedmo/doctrine-extensions              v2.4.41            Doctrine2 behavioral extensions
google/apiclient                       v2.12.6            Client library for Google APIs
google/apiclient-services              v0.252.0           Client library for Google APIs
google/auth                            v1.21.0            Google Auth Library for PHP
google/cloud-core                      v1.46.0            Google Cloud PHP shared dependency, providing functionality useful to all components.
google/cloud-firestore                 v1.14.0            Cloud Firestore client for PHP
google/cloud-storage                   v1.27.1            Cloud Storage Client for PHP
google/common-protos                   2.1.0              Google API Common Protos for PHP
google/crc32                           v0.1.0             Various CRC32 implementations
google/gax                             v1.12.2            Google API Core for PHP
google/grpc-gcp                        v0.2.0             gRPC GCP library for channel management
google/protobuf                        v3.21.1            proto library for PHP
grpc/grpc                              1.42.0             gRPC library for PHP
guzzlehttp/guzzle                      7.4.3              Guzzle is a PHP HTTP client library
guzzlehttp/oauth-subscriber            dev-master 8d6cab2 Guzzle OAuth 1.0 subscriber
guzzlehttp/promises                    1.5.1              Guzzle promises library
guzzlehttp/psr7                        2.3.0              PSR-7 message implementation that also provides common utility methods
j7mbo/twitter-api-php                  1.0.6              Simple PHP Wrapper for Twitter API v1.1 calls
kamranahmedse/php-geocode              dev-master 21d182d A wrapper around the Google Geocoding API to get different details such as latitude, longitude, country, city, district, postcode, town and str...
kevinpapst/adminlte-bundle             3.2.3              Admin theme bundle for Symfony 4+ based on AdminLTE 2.4 with FOSUserBundle support
knplabs/knp-snappy                     v1.2.1             PHP5 library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage.
knplabs/knp-snappy-bundle              v1.7.0             Easily create PDF and images in Symfony2 by converting Twig/HTML templates.
kreait/clock                           1.2                A PHP 7.0 compatible clock abstraction
kreait/firebase-bundle                 2.1.0              Symfony Bundle for the Firebase Admin SDK
kreait/firebase-php                    5.26.2             Firebase Admin SDK
kreait/firebase-tokens                 1.16.1             A library to work with Firebase tokens
laminas/laminas-code                   3.4.1              Extensions to the PHP Reflection API, static code scanning, and code generation
laminas/laminas-eventmanager           3.2.1              Trigger and listen to events within a PHP application
laminas/laminas-zendframework-bridge   1.0.4              Alias legacy ZF class names to Laminas Project equivalents.
lcobucci/clock                         2.0.0              Yet another clock abstraction
lcobucci/jwt                           4.1.5              A simple library to work with JSON Web Token and JSON Web Signature
league/csv                             9.5.0              Csv data manipulation made easy in PHP
league/fractal                         0.14.0             Handle the output of complex data structures ready for API output.
microsoft/azure-storage-blob           1.5.3              This project provides a set of PHP client libraries that make it easy to access Microsoft Azure Storage Blob APIs.
microsoft/azure-storage-common         1.5.2              This project provides a set of common code shared by Azure Storage Blob, Table, Queue and File PHP client libraries.
monolog/monolog                        2.7.0              Sends your logs to files, sockets, inboxes, databases and various web services
mtdowling/jmespath.php                 2.6.1              Declaratively specify how to extract elements from a JSON document
myclabs/deep-copy                      1.9.5              Create deep copies (clones) of your objects
nelmio/alice                           3.7.1              Expressive fixtures generator
ninsuo/symfony-collection              2.1.33             A jQuery plugin that manages adding, deleting and moving elements from a Symfony collection
ocramius/package-versions              1.9.0              Composer plugin that provides efficient querying for installed package versions (no runtime IO)
ocramius/proxy-manager                 2.8.0              A library providing utilities to generate, instantiate and generally operate with Object Proxies
pdepend/pdepend                        2.8.0              Official version of pdepend to be handled with Composer
phar-io/manifest                       1.0.3              Component for reading phar.io manifest information from a PHP Archive (PHAR)
phar-io/version                        2.0.1              Library for handling version information and constraints
php-amqplib/php-amqplib                v2.11.3            Formerly videlalvaro/php-amqplib.  This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.
php-http/discovery                     1.14.2             Finds installed HTTPlug implementations and PSR-7 message factories
php-http/httplug                       2.3.0              HTTPlug, the HTTP client abstraction for PHP
php-http/promise                       1.1.0              Promise used for asynchronous HTTP requests
phpdocumentor/reflection-common        2.1.0              Common reflection classes used by phpdocumentor to reflect the code structure
phpdocumentor/reflection-docblock      5.1.0              With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.
phpdocumentor/type-resolver            1.2.0              A PSR-5 based resolver of Class names, Types and Structural Element Names
phploc/phploc                          6.0.2              A tool for quickly measuring the size of a PHP project.
phpmd/phpmd                            2.8.2              PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD.
phpseclib/phpseclib                    2.0.37             PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.
phpspec/prophecy                       v1.10.3            Highly opinionated mocking framework for PHP 5.3+
phpunit/php-code-coverage              8.0.2              Library that provides collection, processing, and rendering functionality for PHP code coverage information.
phpunit/php-file-iterator              3.0.2              FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-invoker                    3.0.1              Invoke callables with a timeout
phpunit/php-text-template              2.0.1              Simple template engine.
phpunit/php-timer                      3.1.4              Utility class for timing
phpunit/php-token-stream               4.0.2              Wrapper around PHP's tokenizer extension.
phpunit/phpunit                        9.1.5              The PHP Unit Testing framework.
predis/predis                          v1.1.1             Flexible and feature-complete Redis client for PHP and HHVM
psr/cache                              1.0.1              Common interface for caching libraries
psr/container                          1.0.0              Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher                   1.0.0              Standard interfaces for event handling.
psr/http-client                        1.0.1              Common interface for HTTP clients
psr/http-factory                       1.0.1              Common interfaces for PSR-7 HTTP message factories
psr/http-message                       1.0.1              Common interface for HTTP messages
psr/link                               1.0.0              Common interfaces for HTTP links
psr/log                                1.1.4              Common interface for logging libraries
psr/simple-cache                       1.0.1              Common interfaces for simple caching
ralouphie/getallheaders                3.0.3              A polyfill for getallheaders.
ramsey/collection                      1.0.1              A PHP 7.2+ library for representing and manipulating collections.
ramsey/uuid                            4.0.1              A PHP library for generating and working with universally unique identifiers (UUIDs).
riverline/multipart-parser             2.0.9              One class library to parse multipart content with encoding and charset support.
rize/uri-template                      0.3.4              PHP URI Template (RFC 6570) supports both expansion & extraction
rtheunissen/guzzle-log-middleware      v1.0.0             Guzzle middleware to log requests and responses
sebastian/code-unit                    1.0.3              Collection of value objects that represent the PHP code units
sebastian/code-unit-reverse-lookup     2.0.1              Looks up which function or method a line of code belongs to
sebastian/comparator                   4.0.2              Provides the functionality to compare PHP values for equality
sebastian/diff                         4.0.1              Diff implementation
sebastian/environment                  5.1.1              Provides functionality to handle HHVM/PHP environments
sebastian/exporter                     4.0.1              Provides the functionality to export PHP variables for visualization
sebastian/finder-facade                2.0.0              FinderFacade is a convenience wrapper for Symfony's Finder component.
sebastian/global-state                 4.0.0              Snapshotting of global state
sebastian/object-enumerator            4.0.1              Traverses array structures and object graphs to enumerate all referenced objects
sebastian/object-reflector             2.0.1              Allows reflection of object attributes, including inherited and non-public ones
sebastian/phpcpd                       5.0.2              Copy/Paste Detector (CPD) for PHP code.
sebastian/recursion-context            4.0.1              Provides functionality to recursively process PHP variables
sebastian/resource-operations          3.0.1              Provides a list of PHP built-in functions that operate on resources
sebastian/type                         2.1.0              Collection of value objects that represent the types of the PHP type system
sebastian/version                      3.0.0              Library that helps with managing the version number of Git-hosted PHP projects
sendgrid/php-http-client               3.1.0              HTTP REST client, simplified for PHP
sendgrid/sendgrid                      5.0.9              This library allows you to quickly and easily send emails through SendGrid using PHP.
sensio/framework-extra-bundle          v5.5.6             This bundle provides a way to configure your controllers with annotations
snc/redis-bundle                       3.2.3              A Redis bundle for Symfony
squizlabs/php_codesniffer              3.5.5              PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.
stella-maris/clock                     0.1.4              A pre-release of the proposed PSR-20 Clock-Interface
stof/doctrine-extensions-bundle        v1.4.0             Integration of the gedmo/doctrine-extensions with Symfony2
stripe/stripe-php                      v5.9.2             Stripe PHP Library
symfony/amqp-messenger                 v5.1.2             Symfony AMQP extension Messenger Bridge
symfony/asset                          v5.1.2             Symfony Asset Component
symfony/browser-kit                    v5.1.2             Symfony BrowserKit Component
symfony/cache                          v5.1.2             Symfony Cache component with PSR-6, PSR-16, and tags
symfony/cache-contracts                v2.1.2             Generic abstractions related to caching
symfony/config                         v5.1.2             Symfony Config Component
symfony/console                        v5.1.2             Symfony Console Component
symfony/css-selector                   v5.1.2             Symfony CssSelector Component
symfony/debug-bundle                   v5.1.2             Symfony DebugBundle
symfony/dependency-injection           v5.1.2             Symfony DependencyInjection Component
symfony/deprecation-contracts          v2.5.1             A generic function and convention to trigger deprecation notices
symfony/doctrine-bridge                v5.1.2             Symfony Doctrine Bridge
symfony/doctrine-messenger             v5.1.2             Symfony Doctrine Messenger Bridge
symfony/dom-crawler                    v5.1.2             Symfony DomCrawler Component
symfony/dotenv                         v5.1.2             Registers environment variables from a .env file
symfony/error-handler                  v5.1.2             Symfony ErrorHandler Component
symfony/event-dispatcher               v5.1.2             Symfony EventDispatcher Component
symfony/event-dispatcher-contracts     v2.1.2             Generic abstractions related to dispatching event
symfony/expression-language            v5.1.2             Symfony ExpressionLanguage Component
symfony/filesystem                     v5.1.2             Symfony Filesystem Component
symfony/finder                         v5.1.2             Symfony Finder Component
symfony/flex                           v1.14.5            Composer plugin for Symfony
symfony/form                           v5.1.2             Symfony Form Component
symfony/framework-bundle               v5.1.2             Symfony FrameworkBundle
symfony/http-foundation                v5.1.2             Symfony HttpFoundation Component
symfony/http-kernel                    v5.1.2             Symfony HttpKernel Component
symfony/inflector                      v5.1.2             Symfony Inflector Component
symfony/intl                           v5.1.2             A PHP replacement layer for the C intl extension that includes additional data from the ICU library.
symfony/lock                           v5.1.2             Symfony Lock Component
symfony/mailer                         v5.1.11            Helps sending emails
symfony/messenger                      v5.1.2             Symfony Messenger Component
symfony/mime                           v5.1.2             A library to manipulate MIME messages
symfony/monolog-bridge                 v5.1.2             Symfony Monolog Bridge
symfony/monolog-bundle                 v3.6.0             Symfony MonologBundle
symfony/options-resolver               v5.1.2             Symfony OptionsResolver Component
symfony/phpunit-bridge                 v5.1.2             Symfony PHPUnit Bridge
symfony/polyfill-ctype                 v1.17.1            Symfony polyfill for ctype functions
symfony/polyfill-intl-grapheme         v1.17.1            Symfony polyfill for intl's grapheme_* functions
symfony/polyfill-intl-icu              v1.17.1            Symfony polyfill for intl's ICU-related data and classes
symfony/polyfill-intl-idn              v1.22.1            Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
symfony/polyfill-intl-normalizer       v1.17.1            Symfony polyfill for intl's Normalizer class and related functions
symfony/polyfill-mbstring              v1.26.0            Symfony polyfill for the Mbstring extension
symfony/polyfill-php72                 v1.22.1            Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
symfony/polyfill-php73                 v1.17.1            Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions
symfony/polyfill-php80                 v1.26.0            Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions
symfony/polyfill-php81                 v1.26.0            Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions
symfony/process                        v5.1.2             Symfony Process Component
symfony/property-access                v5.1.2             Symfony PropertyAccess Component
symfony/property-info                  v5.1.2             Symfony Property Info Component
symfony/redis-messenger                v5.1.2             Symfony Redis extension Messenger Bridge
symfony/routing                        v5.1.2             Symfony Routing Component
symfony/security-bundle                v5.1.2             Symfony SecurityBundle
symfony/security-core                  v5.1.2             Symfony Security Component - Core Library
symfony/security-csrf                  v5.1.2             Symfony Security Component - CSRF Library
symfony/security-guard                 v5.1.2             Symfony Security Component - Guard
symfony/security-http                  v5.1.2             Symfony Security Component - HTTP Integration
symfony/sendgrid-mailer                v5.1.11            Symfony Sendgrid Mailer Bridge
symfony/serializer                     v5.1.2             Symfony Serializer Component
symfony/service-contracts              v2.1.2             Generic abstractions related to writing services
symfony/stopwatch                      v5.1.2             Symfony Stopwatch Component
symfony/string                         v5.1.2             Symfony String component
symfony/templating                     v5.1.2             Symfony Templating Component
symfony/translation                    v5.1.2             Symfony Translation Component
symfony/translation-contracts          v2.1.2             Generic abstractions related to translation
symfony/twig-bridge                    v5.1.2             Symfony Twig Bridge
symfony/twig-bundle                    v5.1.2             Symfony TwigBundle
symfony/validator                      v5.1.2             Symfony Validator Component
symfony/var-dumper                     v5.1.2             Symfony mechanism for exploring and dumping PHP variables
symfony/var-exporter                   v5.1.2             A blend of var_export() + serialize() to turn any serializable data structure to plain PHP code
symfony/web-link                       v5.1.2             Symfony WebLink Component
symfony/web-profiler-bundle            v5.1.2             Symfony WebProfilerBundle
symfony/workflow                       v5.1.2             Symfony Workflow Component
symfony/yaml                           v5.1.2             Symfony Yaml Component
theseer/fdomdocument                   1.6.6              The classes contained within this repository extend the standard DOM to use exceptions at all occasions of errors instead of PHP warnings or no...
theseer/tokenizer                      1.1.3              A small library for converting tokenized PHP source code into XML and potentially other formats
twig/twig                              v2.12.5            Twig, the flexible, fast, and secure template language for PHP
twilio/sdk                             6.15.1             A PHP wrapper for Twilio's API
webimpress/safe-writer                 2.0.1              Tool to write files safely, to avoid race conditions
webmozart/assert                       1.9.0              Assertions to validate method input/output with nice error messages.
willdurand/jsonp-callback-validator    v1.1.0             JSONP callback validator.
PHP version and extensions
composer               2.3.7    Composer package
composer-plugin-api    2.3.0    The Composer Plugin API
composer-runtime-api   2.2.2    The Composer Runtime API
ext-apc                5.1.19   The apc PHP extension
ext-apcu               5.1.20   The apcu PHP extension
ext-bcmath             7.4.23   The bcmath PHP extension
ext-calendar           7.4.23   The calendar PHP extension
ext-ctype              7.4.23   The ctype PHP extension
ext-curl               7.4.23   The curl PHP extension
ext-date               7.4.23   The date PHP extension
ext-dom                20031129 The dom PHP extension
ext-exif               7.4.23   The exif PHP extension
ext-ffi                7.4.23   The FFI PHP extension
ext-fileinfo           7.4.23   The fileinfo PHP extension
ext-filter             7.4.23   The filter PHP extension
ext-ftp                7.4.23   The ftp PHP extension
ext-gd                 7.4.23   The gd PHP extension
ext-gettext            7.4.23   The gettext PHP extension
ext-grpc               1.39.0   The grpc PHP extension
ext-hash               7.4.23   The hash PHP extension
ext-iconv              7.4.23   The iconv PHP extension
ext-imap               7.4.23   The imap PHP extension
ext-json               7.4.23   The json PHP extension
ext-libxml             7.4.23   The libxml PHP extension
ext-mbstring           7.4.23   The mbstring PHP extension
ext-mysqli             7.4.23   The mysqli PHP extension
ext-mysqlnd            0        The mysqlnd PHP extension (actual version: mysqlnd 7.4.23)
ext-openssl            7.4.23   The openssl PHP extension
ext-pcntl              7.4.23   The pcntl PHP extension
ext-pcre               7.4.23   The pcre PHP extension
ext-pdo                7.4.23   The PDO PHP extension
ext-pdo_mysql          7.4.23   The pdo_mysql PHP extension
ext-phar               7.4.23   The Phar PHP extension
ext-posix              7.4.23   The posix PHP extension
ext-protobuf           3.17.3   The protobuf PHP extension
ext-readline           7.4.23   The readline PHP extension
ext-reflection         7.4.23   The Reflection PHP extension
ext-session            7.4.23   The session PHP extension
ext-shmop              7.4.23   The shmop PHP extension
ext-simplexml          7.4.23   The SimpleXML PHP extension
ext-sockets            7.4.23   The sockets PHP extension
ext-sodium             7.4.23   The sodium PHP extension
ext-spl                7.4.23   The SPL PHP extension
ext-sysvmsg            7.4.23   The sysvmsg PHP extension
ext-sysvsem            7.4.23   The sysvsem PHP extension
ext-sysvshm            7.4.23   The sysvshm PHP extension
ext-tokenizer          7.4.23   The tokenizer PHP extension
ext-xdiff              2.1.0    The xdiff PHP extension
ext-xml                7.4.23   The xml PHP extension
ext-xmlreader          7.4.23   The xmlreader PHP extension
ext-xmlwriter          7.4.23   The xmlwriter PHP extension
ext-xsl                7.4.23   The xsl PHP extension
ext-zend-opcache       7.4.23   The Zend OPcache PHP extension
ext-zip                1.15.6   The zip PHP extension
ext-zlib               7.4.23   The zlib PHP extension
lib-curl               7.68.0   The curl library
lib-curl-libssh        0.9.3    curl libssh version
lib-curl-openssl       <IP_ADDRESS>  curl OpenSSL version (<IP_ADDRESS>)
lib-curl-zlib          1.2.11   curl zlib version
lib-date-timelib       2018.04  date timelib version
lib-date-zoneinfo      0        zoneinfo ("Olson") database for date
lib-fileinfo-libmagic  537      fileinfo libmagic version
lib-gd                 2.3.0    The gd library
lib-iconv              2.31     The iconv library
lib-libsodium          1.0.18   The libsodium library
lib-libxml             2.9.12   libxml library version
lib-libxslt            1.1.34   The libxslt library
lib-libxslt-libxml     2.9.10   libxml version libxslt is compiled against
lib-mbstring-libmbfl   1.3.2    mbstring libmbfl version
lib-mbstring-oniguruma 6.9.4    mbstring oniguruma version
lib-openssl            <IP_ADDRESS>  OpenSSL 1.1.1f  31 Mar 2020
lib-pcre               10.36    The pcre library
lib-pcre-unicode       13.0.0   PCRE Unicode version support
lib-zip-libzip         1.7.3    The zip-libzip library
lib-zlib               1.2.11   The zlib library
php                    7.4.23   The PHP interpreter
php-64bit              7.4.23   The PHP interpreter, 64bit
php-ipv6               7.4.23   The PHP interpreter, with IPv6 support
On which operating system(s) does the issue occur?

[X] Linux
[ ] MacOS
[ ] Windows

Steps to reproduce the issue.
use Kreait\Firebase;

$factory = (new Firebase\Factory())
    ->withServiceAccount('/path/to/firebase_credentials.com')
    ->withDatabaseUri('https://my-project.firebaseio.com')
;

$db = $factory->createDatabase();

$baseRuleArr = [
    "rules" => [
        "meet_1" => [
            "value1" => [
                ".indexOn" => [
                    "cd",
                ]
            ],
            "value2" => [
                ".indexOn" => [
                    "pb",
                ]
            ],
            "value3" => [
                ".indexOn" => [
                    "he",
                    "hr",
                    "hh",
                ]
            ]
        ]
    ]
];

$db->updateRules(RuleSet::fromArray($baseRuleArr));

Error message/Stack trace
In DatabaseApiExceptionConverter.php line 64:
5:29: Invalid indexOn expression. Must be either a string or an array of strings
In RequestException.php line 113:
Client error: PUT https://[FIREBASE_URL]/.settings/rules resulted in a 400 Bad Request response:
Additional information
No response

Thank you for the detailed description (and also for becoming a sponsor, it's very much appreciated ❤). Do you have the possibility to upgrade to the 4.0 release of the bundle? I see you're on version 2.1 of the bundle which is limited to using the 5.x release of the SDK.
If not, I'll backport the fix to the 5.x branch once it's done 🤞

The fix is now deployed as 5.26.3 and 6.4.1 🥳
If you don't update the bundle, a composer update -W should pull in the new release 🤞
Thanks again for your support (and for reporting the issue)!

Thank you so much for the quick fix and for backporting it. And you are most welcome! Thank you for creating (and maintaining!) and excellent open source product.


[SPARK-31290][SQL][R] Add back the deprecated R APIs

What changes were proposed in this pull request?
Add back the deprecated R APIs removed by
https://github.com/apache/spark/pull/22843/
https://github.com/apache/spark/pull/22815
These APIs are
sparkR.init
jsonFile
parquetFile
registerTempTable
saveAsParquetFile
unionAll
createExternalTable
dropTempTable

Why are the changes needed?
Amend Spark's Semantic Versioning Policy
Does this PR introduce any user-facing change?
Yes
The removed R APIs are put back.
How was this patch tested?
Add back the removed tests

cc @HyukjinKwon @felixcheung

Test build #120517 has started for PR 28058 at commit 69e2953.

Merged build finished. Test PASSed.

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

Test build #120517 has finished for PR 28058 at commit 69e2953.

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

Merged build finished. Test PASSed.

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

Do we need to add back saveAsParquetFile? Seems it is not added back in scala? Also, do we need to add back this sparkR.init, sparkRSQL.init, sparkRHive.init?

Also cc @mengxr @falaki Could you take a look?

If we have added these back to Scala, adding them to R seems good.

cc @marmbrus

They don’t have 1:1 to Scala. Some R APIs are older and long since removed even in Scala before 3.0.
I’m fine with this change if this is what the community has agreed on.

If they have already been removed prior to 3.0 and nobody has said anything, I don't think we should add those back in.

Just to clarify things, what the community agreed on is the rubric added at https://spark.apache.org/versioning-policy.html.
Some APIs listed here, jsonFile, parquetFile and saveAsParquetFile were removed in Scala and PySpark before Spark 3.0. I skimmed nobody complained in user mailing list by keyword search.
One last thing is, SparkR dropped RDD support. So I don't think it also makes sense to add jsonRDD.

@huaxingao, seems like we roughly agreed upon excluding jsonFile, parquetFile and saveAsParquetFile. jsonRDD seems not making sense to add back since SparkR dropped RDD support officially. Can we remove these four in this PR?

Test build #120563 has started for PR 28058 at commit 754f938.

Merged build finished. Test PASSed.

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

Test build #120563 has finished for PR 28058 at commit 754f938.

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

Merged build finished. Test PASSed.

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

@huaxingao, don't forget to update PR description :-)

It seems more complicated than I though. Let me try to clarify the current status here:
jsonFile and parquetFile

Scala side, jsonFile, parquetFile were removed at https://github.com/apache/spark/pull/10559 and recovered at https://github.com/apache/spark/pull/13637 in the same Spark 2.0.
PySpark side, they were removed at https://github.com/apache/spark/pull/10559 and were not recovered afterwards.
SparkR side, they were never removed

jsonRDD

SparkR made RDD API as private APIs as of SPARK-7230; RDD related APIs are supposed to be removed as they are uesless.

saveAsParquetFile

Scala side saveAsParquetFile was removed at https://github.com/apache/spark/pull/10559
PySpark side, they were removed at https://github.com/apache/spark/pull/10559.
SparkR side, they were never removed.

I skimmed user-mailing list with keyword search, and I found no complaints. This implies, no complaints found about:

jsonFile, parquetFile and jsonRDD missing in PySpark from Spark 2.0
saveAsParquetFile in Scala and PySpark from Spark 2.0

So, I guess it's fine to don't add jsonFile, parquetFile, jsonRDD and saveAsParquetFile back.

TR;DL: from my rough investigation, I think it's fine to don't add jsonFile, parquetFile, jsonRDD and saveAsParquetFile because:

people don't quite care about jsonFile, parquetFile, jsonRDD and saveAsParquetFile.
jsonFile and parquetFile don't exist in PySpark.
jsonRDD is useless as RDD APIs became private in SparkR.
saveAsParquetFile does not exist in Scala and PySpark sides.

WDYT @falaki and @mengxr?

Test build #120567 has started for PR 28058 at commit ce5969b.

Merged build finished. Test PASSed.

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

Test build #120567 has finished for PR 28058 at commit ce5969b.

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

Merged build finished. Test PASSed.

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

I discussed offline with @marmbrus. Looks we're fine to exclude these four above.
Merged to master and branch-3.0.

Thank you all for the help!


Allow specifying file name for uploaded files

Similar to Nova, I want to be able to specify a custom filename for uploaded files. Use cases:

Store the file with the original filename
Use a field on the model (e.g. slug or id) to set the filename

This is how it works for Nova:
File::make('icon')
    ->storeAs(function (Request $request) {
        $slug = Str::slug($request->input('slug'));
        $file = $request->file('icon');

        return $slug.'.'.$file->getClientOriginalExtension();
    }),

Instead of working with the request object, I believe we can only use the Livewire $record? Which when when creating a record is an array but when updating is a model instance. Please let me know if there is a better way to handle this. I also wasn't sure where to place the logic (form builder or admin panel), since a resource is always involved.
This is how it would look like with my changes:
Components\FileUpload::make('icon')
    ->storeAs(function (UploadedFile $file, ParameterBag $input) {
        return $input->get('slug').'.'.$file->getClientOriginalExtension();
    }),

Thanks for your work on this 🙏
I think it's a bit tricky to implement this feature neatly in v1, so I will take your work here and manipulate it into a feature for v2, where it will be much easier. Of course you could always create a custom field and use this in your own app.
Hope that's ok!

Updated the PR

Thanks!

This feature has been implemented already in upcoming v2 btw - you can use saveUploadedFileUsing() to customise save behaviour, including setting a custom filename.
https://github.com/laravel-filament/filament/blob/2.x/packages/forms/src/Components/FileUpload.php#L297-L325


can’t reload page when on anything other than home page

Pull request opened for this ticket.

Merged in now.


gulp-sass not using globally install node modules

First off, I've searched through similar problems in the issues list, and I really hesitated to create a new issue, but every solution I tried did not work.  I am trying to install gulp-sass on a SmartOS machine, and the way in which it is trying to install node-sass is not working (since there is no node-sass package for sunos).
I have looked at https://github.com/dlmanning/gulp-sass/wiki/Update-to-the-latest-Gulp-Sass and all related docs.  Usually the issue is node-sass or libsass not getting installed properly, but I've already fought that issue https://github.com/sass/libsass/pull/1782
With that said, here's my info
# npm -v
3.6.0
# node -v
v5.6.0
# npm config get prefix
/opt/local
# npm list -g --depth=0
/opt/local/lib
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
As you can see, node-sass is indeed installed globally.
Here is gulp-sass still trying to install it the usual way

# npm install gulp-sass
npm WARN deprecated<EMAIL_ADDRESS>this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained. Upgrade to<EMAIL_ADDRESS>npm WARN deprecated<EMAIL_ADDRESS>graceful-fs version 3 and before will fail on newer node releases. Please update to<EMAIL_ADDRESS>as soon as possible.
npm WARN deprecated<EMAIL_ADDRESS>This package has been renamed. Use<EMAIL_ADDRESS>npm WARN deprecated<EMAIL_ADDRESS>This package has been renamed. Use<EMAIL_ADDRESS>npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g

><EMAIL_ADDRESS>install <redacted>/node-sass
> node scripts/install.js

Cannot download "https://github.com/sass/node-sass/releases/download/v3.4.2/sunos-x64-47_binding.node":

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location
      try setting a proxy via HTTP_PROXY, e.g.

      export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

      npm config set proxy http://example.com:8080

><EMAIL_ADDRESS>postinstall <redacted>/spawn-sync
> node postinstall

><EMAIL_ADDRESS>postinstall <redacted>/node-sass
> node scripts/build.js

... lots of resulting failure

So, how can I convince gulp-sass to use the globally installed version of things so it doesn't try to fetch a tarball that doesn't exist?
Thanks for the help.

I don't believe npm allows global packages to be used a dependencies. This
is an npm issue/feature and not related or fixable by gulp-sass.
On Feb 17, 2016 6:35 AM, "Jared Morrow"<EMAIL_ADDRESS>wrote:

First off, I've searched through similar problems in the issues list, and
I really hesitated to create a new issue, but every solution I tried did
not work. I am trying to install gulp-sass on a SmartOS machine, and the
way in which it is trying to install node-sass is not working (since there
is no node-sass package for sunos).
I have looked at
https://github.com/dlmanning/gulp-sass/wiki/Update-to-the-latest-Gulp-Sass
and all related docs. Usually the issue is node-sass or libsass not getting
installed properly, but I've already fought that issue sass/libsass#1782
https://github.com/sass/libsass/pull/1782
With that said, here's my info
npm -v
3.6.0
node -v
v5.6.0
npm config get prefix
/opt/local
npm list -g --depth=0
/opt/local/lib
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>As you can see, node-sass is indeed installed globally.
Here is gulp-sass still trying to install it the usual way
npm install gulp-sass
npm WARN deprecated<EMAIL_ADDRESS>this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained. Upgrade to<EMAIL_ADDRESS>npm WARN deprecated<EMAIL_ADDRESS>graceful-fs version 3 and before will fail on newer node releases. Please update to<EMAIL_ADDRESS>as soon as possible.
npm WARN deprecated<EMAIL_ADDRESS>This package has been renamed. Use<EMAIL_ADDRESS>npm WARN deprecated<EMAIL_ADDRESS>This package has been renamed. Use<EMAIL_ADDRESS>npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g

<EMAIL_ADDRESS>install /node-sass
node scripts/install.js

Cannot download "https://github.com/sass/node-sass/releases/download/v3.4.2/sunos-x64-47_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
  export HTTP_PROXY=http://example.com:1234

or configure npm proxy via
  npm config set proxy http://example.com:8080

<EMAIL_ADDRESS>postinstall /spawn-sync
node postinstall

<EMAIL_ADDRESS>postinstall /node-sass
node scripts/build.js

... lots of resulting failure
So, how can I convince gulp-sass to use the globally installed version of
things so it doesn't try to fetch a tarball that doesn't exist?
Thanks for the help.
—
Reply to this email directly or view it on GitHub
https://github.com/dlmanning/gulp-sass/issues/442.

@xzyfer well that is an unfortunate feature of npm then :).  I'll keep thinking of a way to work around this I guess.  Thanks.

This functionality already exists in gulp-sass, although it appears very under documented.
You should be able to do something like the following:
var gulp = require('gulp');
var sass = require('gulp-sass');
var mySass = require('node-sass'); // Your globally installed Sass compiler

// The Magic!
// From https://github.com/dlmanning/gulp-sass/blob/master/index.js#L186
sass.compiler = mySass;

gulp.task('sass', function () {
  return gulp.src('./sass/**/*.scss')
    .pipe(sass().on('error', sass.logError))
    .pipe(gulp.dest('./css'));
});

Give that a try

@snugug the bigger issue is that npm will simply fail because node-sass
won't install on sunos.
You could try installing the gulp-sass beta, which uses the node-sass beta
with the sunos patches. The node-sass installer should fallback to local
compliation once the download fails.
On Feb 17, 2016 9:46 AM, "Sam Richard"<EMAIL_ADDRESS>wrote:

Give that a try
—
Reply to this email directly or view it on GitHub
https://github.com/dlmanning/gulp-sass/issues/442#issuecomment-184905668
.

@xzyfer okay, I'll try that method.  It is very curious that the -g option even exists if dependencies can't even use them, but that is certainly a loaded question for a different day.
I'll let you know if beta does the right thing and falls back to building from source (which did work on the global install).

@jaredmorrow global dependencies are resolved by require as @snugug noted. However they are not used in the resolution processing during installs.
Global dependencies exist mostly as a way to use node packages and system tools, like bower, david and npm itself.

@xzyfer and @Snugug thanks for the help.  The beta of gulp-sass did indeed fallback and build node-sass from source, which did work.  So going with the beta solved my issues.  Sorry I wasn't aware about the local v. global in regards to dependencies.  Of all the docs I read trying to figure out this issue, that was never stated.  Thanks for the help.


Add Validation to Inventory

    at some point we should consider some validation here, make sure that we have values for all the required attributes and send messages when we run into structures that don't have values for those attributes

Originally posted by @rnugent3 in https://github.com/HydrologicEngineeringCenter/HEC-FDA/pull/667#discussion_r1034775961

this has been completed


Add magic newtypes to corpus

The arbitrary instances for these types generate complete nonsense half of the time, and corpus strings the other half of the time. When shrinking a nonsense input, the corpus is returned. When shrinking something in the corpus, the empty list is returned.
The nice thing about this is that you are testing with all sorts of random data, but 99% of errors will be caught by muppets, so for counterexamples that what we want to see if possible.

:godmode:

Nice. :100:

looks pretty cool :+1:

niice :goat:

Should be handy :100:


Minor cosmetic change.

This is a small cosmetic change to the README file. You can preview the result at my fork.

@marios-zindilis thanks for the change!


[SPARK-42011][CONNECT][PYTHON] Implement DataFrameReader.csv

What changes were proposed in this pull request?
This PR implements DataFrameReader.csv alias in Spark Connect.
Why are the changes needed?
For API feature parity.
Does this PR introduce any user-facing change?
This PR adds a user-facing API but Spark Connect has not been released yet.
How was this patch tested?
Unittest was added.

Updated the PR, tests will start passing once #39553 is merged, as its using path: PathOrPaths

That PR is merged. Mind retriggering the test?

Merged to master.


Added status to cluster yaml template.

/sig multicluster
/cc @perotinus

@gyliu513 Thank you! Does this also need to be added to the example files, or do they work as-is?

https://github.com/kubernetes/cluster-registry/blob/master/examples/cluster.yaml
https://github.com/kubernetes/cluster-registry/blob/master/examples/cluster-two.yaml

Thanks @perotinus , yes, we should also update the samples as you mentioned, new commits updated.

/lgtm
/approve


Insert odf metadata in output

Add metadata to describe:

the source FinalWriter (.fw) document

source filename
dates (created / last modified?)
SHA ?
any pre-exisitng FW metadata

author
???

the tools used to make the automatic conversion

fw2odf
https://github.com/hornc/fw2odf
version
dev git SHA
date converted ?

See OpenDocument V1.3 schema for Metadata section for available fields:
https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#__RefHeading__1415064_253892949

Unfortunately it looks like odfpy explicitly overwrites the generator field with its own version string, which is the main one I wanted to use:
https://github.com/eea/odfpy/blob/574f0fafad73a15a5b11b115d94821623274b4b0/odf/opendocument.py#L568-L578


fix: optimize isNullAt

Which issue does this PR close?
Part of #679 and #670
Rationale for this change
This PR improves the isNullAt performance
What changes are included in this PR?
The new isNullAt  method uses the OR operator instead of the if clause
How are these changes tested?
Existing tests

SF=100
Before

After

cc @andygrove @comphead @huaxingao @viirya

Thanks


Run Keccakf16 only on CI.

On my machine, the newly added keccakf16 reparse test needs too much machine stack space, when run without the pr-tests profile. Since the pr-tests profile needs way longer to compile, I usually run my tests with the default profile.
This PR excludes the keccakf16 test from running outside of a CI environment.

If an env var you have to set is good enough for you, you can try instead setting RUST_MIN_STACK=16777216 or some other size.

but it will be more complicated to implement properly, won't it?

cool, it works, thanks!


Upper-Bounded Wildcards

Hey everyone, hoping someone can help clarify my confusion regarding the most recent lecture!
In the case of upper-bounded wildcards, for example this method signature from the lecture 7 slide 15:
<R> ImList<R> map(Function<? super T, ? extends R> mapper) { }
For the wildcard <? extends R>, how do we know what R is, in order for map() to return an ImList<R>? For example, if we pass in a Function<Fastfood, CheeseBurger>, couldn't R be anything that is super to CheeseBurger? Such as Fastfood/Burger/Object? So what kind of ImList<> would this return?
I hope my question makes sense. Thanks!

Not sure if I understand your question correctly.
You need to define R first before deciding ? extends R... From my understanding of your question, you seem to think of it as ? extends R decides what R is.
So for the case <Burger> ImList<Burger> map<Function<FastFood, CheeseBurger> mapper>, here R refers to Burger class, so <? extends R> can be anything extends Burger, including CheeseBurger. The function will then return ImList<Burger>.


Use new borders in vectiles for carto display

Broken out from #35:

Use borders ingested in #46 in carto display, dealing with double overlap borders, so hard to use dashed lines, so skip those

Since we're using OpenMapTiles OSM-Bright style now and not yet scoped for implementing new style, we assume this is where that change will need to be made.

Per discussion on May 22, Seth expects this to "just work" -- once #46 is done the resulting borders should just appear. Will leave this open for validating

And indeed it does "just work" -- See June 10 commits for this work https://github.com/OpenHistoricalMap/openmaptiles/commit/9799ecc7dfa9756faf36f33791161e6a1d5dca3c


Hover highlighting not retained when clicking scrollbar or signs

When clicking signs or dragging scrollbars, the hover highlighting is not retained (except if the scrollbars/signs are for the topleft window).
Hover highlighting requires that mousemoveevent is set.
This might relate to Neovim #24078, but occurs even when redrawstatus! is not called.
https://github.com/dstein64/nvim-scrollview/assets/541289/bccbf96f-68af-4ac0-ba32-7af664934891

Fixed in 8a04e2043f1d2582a5de1a7d97ff53e9e87c9d5f.


[Resolves #142] Provide camel-lucene integration

retest this please

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/wildfly-camel-pullreq/140/
Test FAILed.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/wildfly-camel-pullreq/141/
Test PASSed.


failure to recognize dotty instance

Dotty on windows cmd runs fine the first time, but when I change something and try to incrementally compile, it looks like zinc fails here: https://github.com/sbt/zinc/blob/f3825fb66ca72eebbbc7ee9a4f96fa919ff522b0/internal/zinc-classpath/src/main/scala/sbt/internal/inc/ScalaInstance.scala#L256
at least, it fails with that message.
in mingw so far so good.

Dotty support is implemented by https://github.com/lampepfl/dotty's sbt plugin and the compiler bridge, so it might be better to report this there?

I don't know exactly, I just reported where I traced the error to.
Do you mean I should support there? Or what are you asking me exactly?

Yes. Please report this error to Dotty repo instead including the full stacktrace of the error.


Clean up AreaManager.__build_frame()

AreaManager.__build_frame() is massive. Split it up into smaller functions.

Actually don't do this, it's fine.


fix: display full lightning address, is trimmed if too long

We are already trimming with f-ellipsis.

There was an issue with this still where it was pushing the follower button off the screen but i dont seem to be seeing it on this build..

Looks ok


Access Type Selection

Hi. In first thx for your project. I want to ask you about "Access Type" menu. I choose "Within Selected Hours" but how can I edit or change this hours settings?

Hello @araziforum,
I taught that i could quickly implement these settings but i am afraid that the most of the access type option currently not implemented.  Sorry for the inconvenience,  i should remove them until it's done.

Thx for your very fast response. I hope you will succeed in your work. Have a nice day.

@omersiar Hocam anladığım kadarıyla Türksünüz. Bunun Türkçe olanından yapmak mümkün müdür?


use lora_plan library

Can we swap out the implementation of the functions in the pp_lorawan module, and remove the resulting dead code?
Also, is packet-purchaser still on the latest for the lib?


Clear Kafka's buffer if an invalid message is found.

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Category:

Bug Fix

Short description:
Clearing the data buffer from the previous read operation that was completed with an error
Detailed description:
Problems may be due to incorrectly formed messages in the Kafka stream or due to inconsistency of the message scheme with the table schema in the database (such as inconsistency between the types of UInt and Int)

Perhaps this error is described in these tasks.
https://github.com/yandex/ClickHouse/issues/5957
https://github.com/yandex/ClickHouse/issues/4616
https://github.com/yandex/ClickHouse/issues/2480

Thank you for the fix - will review it tomorrow in more detail

@abyss7 Tomorrow?

Today?

@abyss7 ?


Join with Blank() bug fix

Issue https://github.com/microsoft/Power-Fx/issues/2796.

✅ No public API change.


Load data via Globus JS SDK, plot with Python

Inspired by @rpwagner's https://rpwagner.github.io/globus-sdk-javascript-ex-01/, here using pandas to parse JSON and make a plot via PyScript. Yes, I like Python.
https://zonca.github.io/globus-sdk-javascript-ex-01/
If useful I can clean it up and contribute a Pull Request to the examples.

This is cool @zonca – I wasn't aware of PyScript, but can see how an example referencing it would be useful for the community.
I'm going to add a section in our examples for community contributed examples and will include a reference to your repository (with your approval).

@jbottigliero, @zonca also wrote up a short description of the demo if you want to link to that or share it elsewhere.


Firewall policy threatIntelMode  should use deny

Existing rule
No response
Suggested rule
Added rule for Azure Firewall policy for base policy to use threatIntelMode set to deny.
Ignore non base policies except if the non-base policy explicitly sets the threatIntelMode.
Pillar
Security

Hi @BernieWhite, I'd like to give this a try.
As a start:
I can tell that the firewall can have this directly configured by https://learn.microsoft.com/en-us/azure/templates/microsoft.network/firewallpolicies?pivots=deployment-language-bicep#firewallpolicypropertiesformat, but I'm not sure if that creates a fundamental base policy with that only, or if it adds it on the associated base policy if specified together with https://learn.microsoft.com/en-us/azure/templates/microsoft.network/firewallpolicies?pivots=deployment-language-bicep#subresource only.
Or should we only focus on the Microsoft.Network/firewallPolicies resource type?
To me it looks like this can be configured for both resource types, but I'm not sure.

Hi @BenjaminEngeset, threatIntelMode can be set in Azure Firewall (Microsoft.Network/azureFirewalls) referred to as classic policies and Azure Firewall Policies (Microsoft.Network/firewallPolicies).
The suggest approach is to use Azure Firewall Policies.
When using Azure Firewall Policies they can be inherited by chaining multiple policies together although this isn't required and it's always applicable.
i.e.

Base policy

Policy 1
Policy 2

A policy is inherited from another policy by setting properties.basePolicy.id.
The intent of this rule is to only apply to Microsoft.Network/firewallPolicies and base policy that do not have properties.basePolicy.id set.

For a base policy the properties.threatIntelMode should be set to deny.
There is already a rule for classic managed rules called Azure.Firewall.Mode so let call this rule Azure.Firewall.PolicyMode.


Support complex surrounding

Some languages has more than one character for surrounding.
For example
F#: let array1 = [| 1; 2; 3 |]
Nemerle: <[ $a ]> or linq <# from a in b select a #>
Python:
“””
Doc string
“””
Other examples can be brought if needed.
Please  support this too.

As an F# user, I must👍this! We have not only comments (*...*) (these are handled by VS), but also arbitrary double-backquoted Unicode identifiers¹'² ``...``,   attributes [<...>], arrays [|...|], anonymous records {|...|}, half-bananas (|HalfBanana|_|), full bananas (|Full|Banana|)³, interpolated  typed quotations <@...@> and interpolated untyped quotations <@@...@@>—the latter of which rudely kills, right on the spot, the budding pattern “anything two-character goes, as long as it's more or less symmetric”⁴...
Oh, and the strings! We have the sane, boring quoted strings, the farthing (@) single and double quoted interpolated strings, one-buck ($) single quoted interpolated strings, two-buck ($$) triple quoted interpolated strings... and perhaps even worse more. Inserting paired {...} over a selection inside such a string would be helpful and appreciated indeed. Sometimes it's not too obvious  where they've tangled.

¹ E.g., a pattern very common in naming unit tests, e.g.,
[<UnitTest>]
let ``"yields falsehood when preceded by its quotation" yields falsehood when preceded by its quotation`` =
   . . .

² ...but on a second thought, is there anything wrong, after all, with the naming of this function?
let ``tío, ¡ay, Dios!, ¿por qué se te ve tan triste?``(@): 'ξ->'ξ = (@) >> (@)

³ I'm struggling to remember when I've declared a banana correctly from the first attempt, closing it with the | on both sides inside the parentheses. It's not impossible that such a thing simply never happened.
⁴ j/k, of course. Rly, we first fight to exhaustion about adding (or not) any new syntax at all, then, having recovered a bit, jump back into the ring to fight about the choice of particular characters.


[Suggestion] model.createAndSave should return Document, and should support nested stuff

I think the model.createAndSave method should at least return the Document.
The model and document should be able to handle nested objects, and array of nested objects.
This is how I implemented mine:
https://github.com/dxgi/typesafe
https://github.com/dxgi/typesafe/blob/master/src/test/index.ts

I will think about the benefits of returning the document itself as for now im focusing on finishing the search functionality.
About nested objects, they should already be supported everywhere (even on search), if the problem is whithin the types not showing them, then i made a mistake when i was remaking them.
About supporting array of objects im still searching for possible solutions, curretly the problem is that i havent found a way to implement it properly on RediSearch without some hacky solution (like creating a new key for them)


Cannot pass basedir when using CLI

Hello. basedir option is required to resolve «absolute» includes. It works when I'm using Jade via JS API, but not works when I'm using CLI. Looks like CLI isn't passing any --basedir down to options and to resolvePath.

--basedir isn't an option. Use -O '{"basedir": "<bleh>"}'

@TimothyGu, thanks, I've simply switched to JS API for now, it is OK for my pipeline. Any reason why --basedir shouldn't be implemented directly?

I don't see any reason why it can't be added.  Please open an issue on the cli repo if you want it :+1:

Thanks, I'll adress my CLI-related issues and PRs there, then. One question. Why the org is named Pug? I don't know any Pug JS, I know Jade.

See #2184

interesting, I fix it too.
#pugjs/pug-cli/18
this is very very useful when we need add script in jade/pug command in package.json.
if you want add script in your package.json, you have to escape quote.

    "jade": "jade  -E jinja --obj {\"basedir\":\\\"../\\\"} ../",

it looks very very ugly! am I  right ?

@ForbesLindesay, @TimothyGu there's no activity at CLI repo for two weeks, so I ping here. :bell:

@9nix00 THANK YOU I've been trying to figure out how to escape the quotes properly. Why three back slashes??

@chharvey, the first two escapes becomes one backslash after JSON is parsed, and the third one escapes the quotation mark. Then the one backslash escapes the quotation mark when the shell is invoked.
I'll merge the CLI change soon.

Fixed in<EMAIL_ADDRESS>


[RPC] RPC Server deployment

I don't think this needs to be automated for our initial devnet date.

I believe it does - its a critical part of a functional devnet. Its already done on gcp (https://github.com/MystenLabs/sui-operations/pull/12) and shouldn't be at all difficult to include in the AWS deployment.

This is done now.  Functional RPC server is at gateway.devnet.sui.io


infracost: 0.9.4 -> 0.9.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/infracost/versions.
meta.description for infracost is: "Cloud cost estimates for Terraform in your CLI and pull requests"
meta.homepage for infracost is: "https://infracost.io"
meta.changelog for infracost is: "https://github.com/infracost/infracost/releases/tag/v0.9.5"
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/3s13v206lqk54frfhy2cyq2x8slml7ii-infracost-0.9.5/bin/infracost passed the binary check.

1 of 1 passed binary check by having a zero exit code.

0 of 1 passed binary check by having the new version present in output.

found 0.9.5 with grep in /nix/store/3s13v206lqk54frfhy2cyq2x8slml7ii-infracost-0.9.5

found 0.9.5 in filename of file in /nix/store/3s13v206lqk54frfhy2cyq2x8slml7ii-infracost-0.9.5

directory tree listing: https://gist.github.com/f22ffd6d86115b461dd5ca7b6c75b7c6

du listing: https://gist.github.com/c95458e8832196af783f605c1dd33fbe

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
infracost

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3s13v206lqk54frfhy2cyq2x8slml7ii-infracost-0.9.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A infracost https://github.com/r-ryantm/nixpkgs/archive/3059ee0c49745f5f5352bb1eaae5604289fd1311.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3s13v206lqk54frfhy2cyq2x8slml7ii-infracost-0.9.5
ls -la /nix/store/3s13v206lqk54frfhy2cyq2x8slml7ii-infracost-0.9.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

infracost

Maintainer pings
cc @davegallant @06kellyjac @kalbasit for testing.

Code looks good to me


Remove hard-coded base URLs for VSTS

This task is listed as working for on-premise TFS.  However, looking at the code of the task, the base URLs are hard-coded to VSTS URLs.  Can this task be updated to function for on-premise?

I updated the task to only work on VSTS. This was an error on my site. I did not yet have the opportunity to test on TFS. You are welcome to do a pul request and I can provide you with the VSIX to test it locally..

hardcoded VSTS urls fixed. On prem not

Won't Fix


Improve promisification by detecting types

Async functions that can be promisified do not always end in _async/_begin and _finish. An example of this is the new Gtk.FileDialog class, with the function open being asynchronous (Even with this PR, the function still isn't being generated correctly, but given that the docs have the same problem, this is likely not limited to this project).
Instead, check to see if the async function ends with a Gio.AsyncReadyCallback and if the finish function has a return type as well as exactly one parameter of type AsyncResult.

@CharlieQLe Thank you, a test seem to fail, looks like signals are converted to promises here?
For example:
Error: @types/Gjs/Camel-1.2.d.ts(2656,11): error TS2430: Interface 'NetworkService' incorrectly extends interface 'Service'.
  Types of property 'connect' are incompatible.
    Type '{ (sigName: "notify::connectable", callback: ($obj: NetworkService, pspec: ParamSpec) => void): number; (io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<...> | null): void; (sigName: "notify::host-reachable", callback: ($obj: NetworkService, pspec: ParamSpec) => void): number; (io_...' is not assignable to type '{ (io_priority: number, cancellable: Cancellable | null, callback: AsyncReadyCallback<this> | null): void; (io_priority: number, cancellable: Cancellable | null): Promise<...>; (sigName: "notify::connection-status", callback: ($obj: Service, pspec: ParamSpec) => void): number; (sigName: "notify::display-name", callb...'.
      Types of parameters 'sigName' and 'io_priority' are incompatible.
        Type 'number' is not assignable to type '"notify::connectable"'.

Can you check what's going on here? I guess here methods are promisified that cannot be promisified. Can you check this out? As soon as I have time I can take a closer look myself, but right now I don't have that time.

Seems like some of the modules have an async connect function that unfortunately matches the name of the existing GObject connect function. The only solution I can really think of is to avoid generated promisified connect functions. This is probably fine, since the GJS docs do not mention these async functions.

@CharlieQLe Thank you, can you also check if contains_email and add_timezone should actually be overloaded with the promisified version? If so, I can see if I can fix that conflict

@CharlieQLe Thank you, can you also check if contains_email and add_timezone should actually be overloaded with the promisified version? If so, I can see if I can fix that conflict

It should, but BookBackendSync and the other Sync interfaces actually uses the same function name as the async contains_email and add_timezone for their synchronous functions. BookBackend does provide a synchronous function for contains_email though (same goes for CalBackend), so perhaps we could avoid generating BookBackendSync and the other offending interfaces? If we do go down that route, we should supply the generator with a list of blacklisted modules, interfaces, classes, and functions in order to make this more generic for any GIR files that would need it. I don't use these libraries though, so I don't entirely know if the Sync interfaces provide any extra functionality that the non-Sync ones don't already provide.

I think this is relevant here :eyes: https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/28

Vala has also some heuristics to discover begin/finish functions. but a lot is manually downstream annotated through metadata: https://www.vala-project.org/doc/vala/GIDL_metadata_format.html
For example, there are the following relevant properties in the metadata:

async - Force async function, even if it doesn't end in _async
finish_name - Sets custom asynchronous finish function.

The metadata files of Vala can be found here: https://gitlab.gnome.org/GNOME/vala/-/tree/main/vapi/metadata
We may be able to parse this metadata when parsing the gir files as well.


pull request for e2e test at 01/16/2017 20:56:15

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Automatic DST switching

In order to be able to leave the clock running 24x7x365 without any maintenance, I suggest to implement automatic DST detection and switching.
Several options exist:

Using an external service

Reimplement: Putting a timezone JSON on the clock and allow selection of current TZ

Using a library to implement the switch

?

Check once an hour if DST has changed

Will have a look what's the best here. I know that e.g. https://github.com/nayarsystems/posix_tz_db provides a json file with all necessary data, which could be used via configTzTime() in the ClockDrv module.

Implemented the possibility to use the POSIX timezone string. Currently there is no drop-down where to choose the timezone, but may come in the future. Currently the settings are generic, without exceptions in the corresponding HTML code. Have to think about how to integrate it there.

Unfortunately the usage of timezone strings causes now in the SunrisePlugin a problem with the conversion from gmt to localtime.
The problem is in the newlib, where localtime() is located. Issue opened: https://github.com/espressif/newlib-esp32/issues/8

Fixed in https://github.com/espressif/crosstool-NG/releases/tag/esp-2022r1-RC1


Add fullyqualified action names and limits to activation (Only for actions, not for triggers and rules)

Add view to return all activations that have been triggered  by actions

PG2#75 is running

closed for https://github.com/openwhisk/openwhisk/pull/1233


Wrong reference in documentation

Very minor issue: It seems to me that there is a wrong reference in the documentation, concretely in the "Advanced Tutorial" (https://particles-sequential-monte-carlo-in-python.readthedocs.io/en/latest/notebooks/advanced_tutorial_ssm.html) when talking about smoothing: At the very bottom of the page, readers are referenced to the book, chapter 11.6. I think this should be chapter 12.5, where the information filter and the two-filter smoother are explained.

Thanks! Now fixed in both master and experimental, and readthedocs has been updated as well.


fix(cookie): set same-site attribute

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite will be required soon.

0ab00f7fca5c304e9cc4d747cb0b908c74e7172d


Question on the result

How do you actually get a result shown in gmm-best.png. I mean, among several algorithms, which one did you use to get the best result. By just running your codes (e.g. tf_gmm_diag.py, tf_gmm_full.py, tf_gmm_grad, tf_gmm.py), they mostly give incomplete result as below.

Is gmm sensitive to initial mean assignment?

Hello,
Sorry for the late answer, I somehow missed your question. GMM (as well as K-Means) is indeed quite sensitive to initial mean assignments. So, if the initial mean values don't cover all the clusters in the data, t's quite hard for the algorithm to properly reassign them. What people frequently do in practice to circumvent this is finding the initial mean assignment using cheaper K-Means, and then running an EM to train a GMM (see Bishop's "PRML", page 438).
The results shown in the "gmm-best.png" are the best results obtained from a series of tf_gmm.py runs (which is kind of manifested in the file name :)).
Hope this helps!


Add ability to show and hide markers by namespace

Aside from my one comment, this looks good.  You can probably also remove the reference to lunar from the .travis.yml script.


Error in broadcast.php

Hi!
I am trying to install talk-example. I did everything what is on git but i have this... What can I do?
In env I have:
PUSHER_APP_ID=
PUSHER_KEY=
PUSHER_SECRET=

please update your config file with latest Talk version (v2.2.1)


Fix names of ServiceContainerMetric resource

Wrong names in plural. Set to singular.

It is working correctly with dataclay:2.19. I have added instances and deleted them. The only issue is that the endpoint does not appear in resource-collections in api/cloud-entry-point. I cannot why, so this can be merged at least to start working on the resource, and later check what is happening.


bug: Unresolved type imports in /lib/activitypub/types.d.ts

Issue

Type imports OrderedCollection and Collection are not exported from /lib/activitystreams/types

https://github.com/musakui/fedi/blob/9fa92c60cc71cc9bf3b7c1c115d81241bc78f903/lib/activitypub/types.d.ts#L1-L7
Notes

Maybe these were supposed to be BaseCollection and OrderedCollectionFields?

yeah, I just realized earlier too. should be fixed (i hope)


Fluid cows in Stalls causing dramatic FPS loss

Currently running 1.1.8 Version
System Specs :
CPU: AMD Ryzen 7 1700x
RAM : 16GB DDR4 Corsair Vengance(6 allocated to client 8 to server 2 free)
GPU: Nvidia GTX 970
The Issue is that on what seems to be a random per cow issue , and only when in their stalls, if you try to pipe the fluids out your frame rates just plummet. I've been able to replicate it on several cows and at first I thought it was Tinkers Construct casting Basins but alas i was sadly wrong. then when i just started removing cows the lag vanished. put the same cow in boom lag. so as a temp fix I've just removed the troubled cows and I have tried replacing the stalls and piping , as well as different pipes from different mods, same result. I've also tried deleting the trouble cows and spawning replacements in to have the same effect. I've also tried Reloading the Chunks manually also fruitless. Normally i'd chalk it up to just a bug with the stalls but its not all of them, I think that's the weirdest bit. As for the pipes im using Its Ender IO's Ender fluid pipes then into a Tinkers Basin hoppered out into barrels, as a temp thing i don't have an ME yet stop judging me. I really like this mod Especially for things like Stone block hopefully this gives you something to look at and it helps, I've only had it happen with about 10ish cows give or take.
Anyways Cheers
-MaxiNus_

Also having this issue. Proof of the dramatic FPS drop just 1 random cow can give:

60 -> 14/16 with just 1 additional cow.
Tried a few different layouts to reduce lag, but all of them still produce this issue.
Will continue to test over the next few days, as I'd really like to get this fluid system set up somehow...

I added in todo hiding render cow in stall.

Try 1.1.16 version.
In config: category "Client" -> "HideFluidLayerCow" -> set to true.

They are just being rendered as normal cows now...
This is on ftb stoneblock v 1.4.0.

Oh.. Disable fluid layers not fix problem..
Could u join to discord and write me in DM, I send private version without register render for tests?
Because I not want test version to Curse.

I too am having this same issue on my server. Had to move all my cows to a compact room to alleviate the drop for now.

I believe #11 and #13 may have the same root cause - as you can see at the top left, there are a lot of chunk updates which would result in the chunk being rebuilt constantly to render which would lower FPS as this is done in the render thread.

Try 1.1.17 version. I think this fixed.

Closed. In code: fixed. Not tested because TS not send any answer.


reversing the input string

Pull Request Type
What kind of change does this PR introduce?
[ ] Solved an issue/task
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:
What is the current behavior?

Issue Number: [Insert Issue Number (if applicable)]
What is the new behavior?

Other information

Looks that there's no code committed to this PR. Can you commit the files again for me to review?

Sorry for inconvenience I'll do it again.
On Fri, 5 Jul, 2024, 1:24 pm Niko Hoffrén, @.***> wrote:

@.**** requested changes on this pull request.
Looks that there's no code committed to this PR. Can you commit the files
again for me to review?
—
Reply to this email directly, view it on GitHub
https://github.com/fork-commit-merge/fork-commit-merge/pull/2332#pullrequestreview-2160164805,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BHZ7IOQSKURINH3RB3Y4BOLZKZGLHAVCNFSM6AAAAABKL7NWMCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDCNRQGE3DIOBQGU
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

i have re committed the changes can you please check ??

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out our forkcommitmerge.io website repository. The repository contain real issues that you can help to resolve or create some of your own if you see any bugs or want to add new features to the site, etc. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Pass the image layers as a Vector

This PR is the result of a long winding issue when calling the client.push function from
within tokio::spawn.
The specific error was:
error: implementation of `Iterator` is not general enough
  --> src/tester.rs:54:5
   |
54 |     res
   |     ^^^ implementation of `Iterator` is not general enough
   |
   = note: `Iterator` would have to be implemented for the type `std::slice::Iter<'0, ImageLayer>`, for any lifetime `'0`...
   = note: ...but `Iterator` is actually implemented for the type `std::slice::Iter<'1, ImageLayer>`, for some specific lifetime `'1`

and
error: implementation of `FnOnce` is not general enough
  --> src/tester.rs:54:5
   |
54 |     res
   |     ^^^ implementation of `FnOnce` is not general enough
   |
   = note: closure with signature `fn(&'0 ImageLayer) -> [async block@Client::push::{closure#0}::{closure#0}::{closure#0}]` must implement `FnOnce<(&ImageLayer,)>`, for any lifetime `'0`...
   = note: ...but it actually implements `FnOnce<(&ImageLayer,)>

or
error: higher-ranked lifetime error
   --> src/client.rs:92:5
    |
92  | /     async move {
93  | |         if *auth != RegistryAuth::Anonymous {
94  | |             client
95  | |                 .auth(&image, auth, oci_distribution::RegistryOperation::Push)
...   |
99  | |         client.push(&image, &layers, config, auth, manifest).await
100 | |     }
    | |_____^

warning: `registry-load-tester` (lib) generated 2 warnings
error: could not compile `registry-load-tester` due to previous error; 2 warnings emitted

Only once I found this specific rust issue: https://github.com/rust-lang/rust/issues/89976 did it make sense that
this was the issue.

Can you show a snippet of the code under tester.rs that triggered the error?

I can't seem to find the code or replicate so I'm happy to remove this PR for now and if it comes back, I'll make a better example.


fix wiki typos

https://github.com/LMAX-Exchange/disruptor/wiki/Introduction
In fact the only real difference between the 2 is that the Sequence
implement all of the concurrent algorithms used for fast, correct passing
More details are available
There is no specific code representation of the Event
Cheers, thanks for the library

Fixed, thanks.


Using .where in a query

Currently have a functioning 'get restaurants' function, which returns all restaurants in a radius using geofirestore. Awesome. But when I add a .where() clause to the query, it stops working. The .limit() on it's own works fine - has anyone tried this yet, and have they managed to get it working?
Code here:
export const getRestaurants = params => {
  const { location } = params;
  function getQuery() {
    return new Promise((resolve, reject) => {
      const results = [];

      const geoQuery = restaurantsRef.query({
        center: new firebase.firestore.GeoPoint(location[1], location[0]),
        radius: 1.5,
        query: ref => ref.where('approved', '==', true).limit(25),
      });
      geoQuery.on('key_entered', ($key, result) => {
        result.$key = $key;
        results.push(result);
      });
      geoQuery.on('ready', () => {
        resolve(results);
      });
    });
  }

  return getQuery().then(res => res);
};

Error here:

Also worth pointing out the link https://geofirestore.com/examples/ is broken, so no examples!

I have not actually noticed any issue like that, are you getting an error? There is now an error listener you can use (which could be helpful, but you'll have to update to version 2.4.0).
geoQuery.on('error', (error) => {
    console.log(error.message);
});

As a side note, the example thing doesn't work and isn't necessarily intended to(?) It's something that needs to be done at some point. Anyway the only examples available are here =>
Viewers App
Spittin Hot Geofirestore
Keep in mind they're made with version 3.0.0 in mind.

Ah yes I do get an error - Uncaught Error in onSnapshot: Error: The query requires an index. You can create it here:
Unfortunately, the link provided does not work. I assume the index is required because geofirestore is filtering the store by location, and then we're having the chained .where on top. Have you had to create an index for geofirestore before? I've made plenty of indexes but i'm not sure exactly what geofirestore is looking for when it does its filtering, so wouldn't know what to put in the index.. @MichaelSolati

The link should work, as it's produced by Firebase (not geofirestore).
But this library actually uses an indexed collection for testing (meaning yes, you can do a deep index).
So here we have the index you see below, and that works fine:
{
  "indexes": [
    {
      "collectionId": "tests",
      "fields": [
        { "fieldPath": "d.count", "mode": "ASCENDING" },
        { "fieldPath": "g", "mode": "ASCENDING" }
      ]
    }
  ]
}

You could do something like that.


Filter everything you're involved bring me back to issues.

Description
Each time, I clicked on the filter "everything you're involved" while i'm at pull requests brings me back to issues.

It seems like is:pr is missing.
It would be also great, if I'm at closed issues/pr is:closed, it should be persist after clicking on the filter, instead just always going to is:open.
How to replicate the issue + URL
https://github.com/refined-github/refined-github/pulls
Extension version
24.2.8
Browser(s) used
Edge 121.0.2277.128

See https://github.com/refined-github/refined-github/pull/7325#issuecomment-2030018403


FW-151 Add skynet config that verifies that github workflow is successful

This adds a skynet config that verifies that the github workflow is successful this means that if the tests fail this will cause the release pipeline to fail with the current setup if the github workflow fails the pipeline will continue on like everything is fine when things could be very broken. This is a temporary fix with the hope that pipelines/CID will be able to just check the github workflow run instead of needing this.

Security Insights

(2) Vulnerable direct dependencies were detected
1 vulns in ansi-regex < 4.1.1 via yarn.lock
1 vulns in glob-parent < 5.1.2 via yarn.lock

Action Items

Review dependencies for available updates
See this Splunk dashboard for more CVE details
Review PR for security impact; comment "security review required" if needed or unsure
Verify aviary.yaml coverage of security relevant code

Questions or Comments? Reach out on Slack: #support-infosec.

@Workiva/release-management-p ready for merge.


Prevent resubmission

Just a really small improvement. I accidentally hit the same command twice, meaning I submitted the same (wrong) answer twice. So I had to wait 1min before submitting the correct one. You could check if an answer was submitted before and catch it

This has now been implemented in 0.2.1 (please update)

Works!