as

Search Slashdot

Search Slashdot stories




as

FFmpeg Devs Boast of Up To 94x Performance Boost After Implementing Handwritten AVX-512 Assembly Code

Anton Shilov reports via Tom's Hardware: FFmpeg is an open-source video decoding project developed by volunteers who contribute to its codebase, fix bugs, and add new features. The project is led by a small group of core developers and maintainers who oversee its direction and ensure that contributions meet certain standards. They coordinate the project's development and release cycles, merging contributions from other developers. This group of developers tried to implement a handwritten AVX512 assembly code path, something that has rarely been done before, at least not in the video industry. The developers have created an optimized code path using the AVX-512 instruction set to accelerate specific functions within the FFmpeg multimedia processing library. By leveraging AVX-512, they were able to achieve significant performance improvements -- from three to 94 times faster -- compared to standard implementations. AVX-512 enables processing large chunks of data in parallel using 512-bit registers, which can handle up to 16 single-precision FLOPS or 8 double-precision FLOPS in one operation. This optimization is ideal for compute-heavy tasks in general, but in the case of video and image processing in particular. The benchmarking results show that the new handwritten AVX-512 code path performs considerably faster than other implementations, including baseline C code and lower SIMD instruction sets like AVX2 and SSSE3. In some cases, the revamped AVX-512 codepath achieves a speedup of nearly 94 times over the baseline, highlighting the efficiency of hand-optimized assembly code for AVX-512.

Read more of this story at Slashdot.




as

Oil Giant BP is Killing 18 Hydrogen Projects, Chilling the Nascent Industry

An anonymous reader shares a report: Tucked inside a 32-page earnings report, oil and gas giant BP revealed it was killing 18 early-stage hydrogen projects, a move that could have a chilling effect on the nascent hydrogen industry. The decision, along with the sale of the company's U.S. on-shore wind power operations, will save BP $200 million annually and help boost its bottom line. The hydrogen industry, which has relied on oil and gas companies both financially and through lobbying efforts, is preparing for a grimmer outcome. BP has been a supporter of hydrogen. The company's venture capital arm has invested in several green hydrogen startups, including Electric Hydrogen and Advanced Ionics. Earlier this year, BP said it would develop "more than 10" hydrogen projects in the U.S., Europe, and Australia. Now, BP is scaling back those plans, saying it'll develop between five and ten projects. The company is keeping quiet about which ones will receive the green light.

Read more of this story at Slashdot.




as

New Mac Mini Has Modular Storage, 256GB Model Will Have Faster SSD

According to a partial teardown video of Apple's new Mac mini, the new machine features modular storage that can be removed. "As we saw with the Mac Studio, however, replacing the modular storage is complicated," notes MacRumors. The teardown also reveals two 128GB storage chips in the 256GB model, enabling faster SSD speeds comparable to higher-capacity versions. From the report: The criticism surrounding Apple's decision to use a single 256GB chip in some base-model Macs a few years ago primarily came from a vocal contingent of tech enthusiasts, and the average customer is unlikely to even notice the slower speeds in common day-to-day tasks. Nevertheless, it appears that customers who do want the fastest SSD speeds do not need to worry about which storage capacity they choose when ordering the new Mac mini.

Read more of this story at Slashdot.




as

Can AI-Enabled Thermostats Create a 'Virtual Power Plant' in Texas?

Renew Home says they're building a "virtual power plant" in Texas by "enabling homes to easily reduce and shift the timing of energy use." Thursday they announced a 10-year project distributing hundreds of thousands of smart thermostats to customers of Texas-based power utility NRG Energy, starting next spring. (Bloomberg calls them "AI-enabled thermostats that use Alphabet Inc.'s Google Cloud technology.") The ultimate goal? "Create a nearly 1-gigawatt, AI-powered virtual power plant" — equivalent to 1.9 million solar panels, enough to power about 200,000 homes during peak demand. One NRG executive touted the move as "cutting-edge, AI-driven solutions that will bolster grid resilience and contribute to a more sustainable future." [Residential virtual power plants] work by aggregating numerous, small-scale distributed energy resources like HVAC systems controlled by smart thermostats and home batteries and coordinating them to balance supply and demand... NRG, in partnership with Renew Home, plans to offer Vivint and Nest smart thermostats, including professional installation, at no cost to eligible customers across NRG's retail electricity providers and plans. These advanced thermostats make subtle automatic HVAC adjustments to help customers shift their energy use to times when electricity is less constrained, less expensive, and cleaner... Over time, the parties expect to add devices like batteries and electric vehicles to the virtual power plant, expanding energy savings opportunities for customers... Through the use of Google Cloud's data, analytics, and AI technology, NRG will be able to do things like better predict weather conditions, forecast wind and solar generation output, and create predictive pricing models, allowing for more efficient production and ultimately ensuring the home energy experience is seamless for customers. Google Cloud will also offer "its AI and machine learning to determine the best time to cool or heat homes," reports Bloomberg, "based on a household's energy usage patterns and ambient temperatures." It was less than a year ago that Renew Home was formed when Google spun off the load-shifting service for its "Google Nest" thermostats, which merged with load-shift management startup OhmConnect. Bloomberg describes this week's announcement as "Three of the biggest names in US home energy automation... coming together to offer some relief to the beleaguered Texas electrical grid." But they point out that 1 gigawatt is roughly 1% of the record summer demand seen in Texas this year. Still, "The entire industry has been built to serve the peak load on the hottest day of the year," said Rasesh Patel, president of NRG's consumer unit. "This allows us to be a lot more smarter about demand in shaving the peak."

Read more of this story at Slashdot.




as

Slashdot: Hardware









as

Community News: Latest PECL Releases (09.10.2024)

Latest PECL Releases:

  • opentelemetry 1.1.0beta3
    See https://github.com/open-telemetry/opentelemetry-php-instrumentation/releases/tag/1.1.0beta3

  • xpass 1.0.0
    - first GA release
  • mongodb 1.19.4
    ## What's Changed * Use full-report convenience action for SSDLC reports by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1589 * PHPC-2381: Allow releasing pre-release versions through the release automation by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1590 * Revamp evergreen builds and add tags for pull requests by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1593 * Add tag checks aliases by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1596 * PHPC-2409: Update to libmongoc 1.27.4 by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1600 * PHPC-2405: Update to libmongocrypt 1.10.1 by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1602 * Reduce amount of evergreen config includes by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1612 * PHPC-2422: Update libmongoc to 1.27.5 by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1619 * PHPC-2420: Compare Int64 instances without casting by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1617 * PHPC-2429: Fix UTCDateTime with negative timestamps by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1623 * Update to libmongoc 1.27.6 by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1627 * Update GitHub Actions job names by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1632

    Full Changelog: https://github.com/mongodb/mongo-php-driver/compare/1.19.3...1.19.4

  • datadog_trace 1.3.1
    ## Tracer

    Fixed

    • Fix DD_AUTOLOAD_NO_COMPILE #2833
    • Loader: Use the same version number as for other extensions #2838
    • Consider ifunc symbols also defined Datadog/libdatadog#609
    • Fix crash with double parent key in tracestate #2837
    • Fix #2831: Failure with LTO #2839

    Internal

    • Avoid using non-bundled rust git dependencies #2827
  • timezonedb 2024.2
    Updated to version 2024.2 (2024b)
  • phpy 1.0.8
    - Added argument_as_object configuration item - Add Helper::printTraceback() - Support windows platform - Support Python class as parent class of PHP class
  • opentelemetry 1.1.0beta2
    See https://github.com/open-telemetry/opentelemetry-php-instrumentation/releases/tag/1.1.0beta2
  • xlswriter 1.5.7
    - Fix: insertDate memory leak.
  • rpminfo 1.1.1
    - display author and license in phpinfo - drop support for librpm < 4.13
  • ev 1.2.0
    - Support for PHP versions older than 8 has been dropped. Maintaining compatibility with multiple PHP versions (5, 7, and 8) has become increasingly difficult. Recent changes in PHP 8.3 have further complicated the build scripts. Additionally, as PHP releases older than 8.1 are now officially unsupported, it has become challenging to continue supporting PHP 5 and 7. - Fixed #51: Building statically with PHP 8.3.10 fails with an "unknown" PHP version.




as

Community News: Latest PECL Releases (09.17.2024)

Latest PECL Releases:

  • win32service 1.1.0beta2
    * Add object Win32ServiceRightInfo

    • Add function win32_read_right_access_service()
    • Add function win32_read_all_rights_access_service()
    • Add function win32_add_right_access_service()
    • Add function win32_remove_right_access_service()
    • Add function win32_add_service_env_var()
    • Add function win32_remove_service_env_var()
    • Add function win32_get_service_env_vars()
    • Add function win32_set_service_pause_resume_state()
    • Some function are now disabled if PHP not run in Windows service context. See PHP Information.
    • Use the gen_stub.php to generate arginfo header.

    The binary is also available here: https://github.com/win32service/win32service/releases/tag/v1.1.0-beta1

  • win32service 1.1.0beta1
    * Add object Win32ServiceRightInfo * Add function win32_read_right_access_service() * Add function win32_read_all_rights_access_service() * Add function win32_add_right_access_service() * Add function win32_remove_right_access_service() * Add function win32_add_service_env_var() * Add function win32_remove_service_env_var() * Add function win32_get_service_env_vars() * Add function win32_set_service_pause_resume_state() * Some function are now disabled if PHP not run in Windows service context. See PHP Information. * Use the `gen_stub.php` to generate arginfo header.

    The binary is also available here: https://github.com/win32service/win32service/releases/tag/v1.1.0-beta1

  • xpass 1.1.0RC1
    - add crypt_gensalt(?string $prefix = null, int $count = 0): ?string {} - add crypt_preferred_method(): ?string {} - add crypt_checksalt(string $salt): int {} - add CRYPT_PREFIX_* and CRYPT_SALT_* constants
  • protobuf 4.28.1
    * See github.com/protocolbuffers/protobuf/releases/tag/v28.1 for release notes.




as

Community News: Latest PECL Releases (09.24.2024)

Latest PECL Releases:

  • redis 6.1.0RC2
    Sponsors

    Audiomack - https://audiomack.com Open LMS - https://openlms.net Avtandil Kikabidze - https://github.com/akalongman Ty Karok - https://github.com/karock Object Cache Pro for WordPress - https://objectcache.pro

    --- 6.1.0RC2 ---

    Fixed:

    • Fixed a SIGABRT error in PHP 8.4 [a75a7e5a] (Michael Grunder)
    • Clean up code for unsupported versions of PHP [37cebdd7] (Remi Collet)
    • Add SessionHelpers.php to package.xml[e9474b80] (Remi Collet)
    • 8.4 implicit null fix, bump version [bff3a22e, 30c8f90c] [Remi Collet]

    Changed:

    • Raised minimum supported PHP version to 7.4 [8b519423] (Michael Grunder)

    Removed:

    • Removed erroneously duplicated changelog entries [40c89736] (Michael Grunder)

    Tests/CI:

    • Move to upload artifacts v4 [9d380500] (Michael Grunder)

    Added:

    • Added composer.json to support PIE (PHP Installer for Extensions) [b59e35a6] (James Titcumb)

    --- 6.1.0RC1 ---

    Fixed:

    • Fix random connection timeouts with Redis Cluster. [eb7f31e7] (Jozsef Koszo)
    • Fix argument count issue in HSET with associative array [6ea5b3e0] (Viktor Djupsjobacka)
    • SRANDMEMBER can return any type because of serialization. [6673b5b2] (Michael Grunder)
    • Fix HRANDFIELD command when WITHVALUES is used. [99f9fd83] (Michael Grunder)
    • Allow context array to be nullable [50529f56] (Michael Grunder)
    • Fix a macOS (M1) compiler warning. [7de29d57] (Michael Grunder)
    • GETEX documentation/updates and implentation in RedisCluster [981c6931] (Michael Grunder)
    • Refactor redis_script_cmd and fix to flush subcommand. [7c551424] (Pavlo Yatsukhnenko)
    • Update liveness check and fix PHP 8.4 compilation error. [c139de3a] (Michael Grunder)
    • Rework how we declare ZSTD min/max constants. [34b5bd81] (Michael Grunder)
    • Fix memory leak if we fail in ps_open_redis. [0e926165] (Michael Grunder)
    • Fix segfault and remove redundant macros [a9e53fd1] (Pavlo Yatsukhnenko)
    • Fix PHP 8.4 includes [a51215ce] (Michael Grunder)
    • Handle arbitrarily large SCAN cursors properly. [2612d444, e52f0afa] (Michael Grunder)
    • Improve warning when we encounter an invalid EXPIRY in SET [732e466a] (Michael Grunder)
    • Fix Arginfo / zpp mismatch for DUMP command [50e5405c] (Pavlo Yatsukhnenko)
    • RedisCluster::publish returns a cluster_long_resp [14f93339] (Alexandre Choura)
    • Fix segfault when passing just false to auth. [6dc0a0be] (Michael Grunder)
    • the VALUE argument type for hSetNx must be the same as for hSet [df074dbe] (Uladzimir Tsykun)
    • Other fixes [e18f6c6d, 3d7be358, 2b555c89, fa1a283a, 37c5f8d4] (Michael Grunder, Viktor Szepe)

    Added:

    • Compression support for PHP sessions. [da4ab0a7] (bitactive)
    • Support for early_refresh in Redis sessions to match cluster behavior [b6989018] (Bitactive)
    • Implement WAITAOF command. [ed7c9f6f] (Michael Grunder)

    Removed:

    • PHP 7.1, 7.2, and 7.3 CI jobs [d68c30f8, dc39bd55] (Michael Grunder)

    Changed:

    • Fix the time unit of retry_interval [3fdd52b4] (woodong)

    Documentation:

    • Many documentation fixes. [eeb51099] (Michael Dwyer)
    • fix missing code tags [f865d5b9] (divinity76)
    • Mention Valkey support [5f1eecfb] (PlavorSeol)
    • Mention KeyDB support in README.md [37fa3592] (Tim Starling)
    • Remove mention of pickle [c7a73abb] (David Baker)
    • Add session.save_path examples [8a39caeb] (Martin Vancl)
    • Tighter return types for Redis::(keys|hKeys|hVals|hGetAll) [77ab62bc] (Benjamin Morel)
    • Update stubs [4d233977, ff305349, 12966a74, a4a283ab, 8f8ff72a] (Michael Grunder, Takayasu Oyama, Pavlo Yatsukhnenko)
    • Fix config.m4 when using custom dep paths [ece3f7be] (Michael Grunder)
    • Fix retry_internal documentation [142c1f4a] (SplotyCode)
    • Fix anchor link [9b5cad31] (Git'Fellow)
    • Fix typo in link [bfd379f0] (deiga)
    • Fix Fedora package url [60b1ba14, 717713e1] (Dmitrii Kotov)
    • Update Redis Sentinel documentation to reflect changes to constructor in 6.0 release [dc05d65c] (Pavlo Yatsukhnenko)

    Tests/CI:

    • Avoid fatal error in test execution. [57304970] (Michael Grunder)
    • Refactor unit test framework. [b1771def] (Michael Grunder)
    • Get unit tests working in php-cgi. [b808cc60] (Michael Grunder)
    • Switch to ZEND_STRL in more places. [7050c989, f8c762e7] (Michael Grunder)
    • Workaround weird PHP compiler crash. [d3b2d87b] (Michael Grunder)
    • Refactor tests (formatting, modernization, etc). [dab6a62d, c6cd665b, 78b70ca8, 3c125b09, 18b0da72, b88e72b1, 0f94d9c1, 59965971, 3dbc2bd8, 9b90c03b, c0d6f042] (Michael Grunder)
    • Spelling fixes [0d89e928] (Michael Grunder)
    • Added Valkey support. [f350dc34] (Michael Grunder)
    • Add a test for session compression. [9f3ca98c] (Michael Grunder)
    • Test against valkey [a819a44b] (Michael Grunder)
    • sessionSaveHandler injection. [9f8f80ca] (Pavlo Yatsukhnenko)
    • KeyDB addiions [54d62c72, d9c48b78] (Michael Grunder)
    • Add PHP 8.3 to CI [78d15140, e051a5db] (Robert Kelcak, Pavlo Yatsukhnenko)
    • Use newInstance in RedisClusterTest [954fbab8] (Pavlo Yatsukhnenko)
    • Use actions/checkout@v4 [f4c2ac26] (Pavlo Yatsukhnenko)
    • Cluster nodes from ENV [eda39958, 0672703b] (Pavlo Yatsukhnenko)
    • Ensure we're talking to redis-server in our high ports test. [7825efbc] (Michael Grunder)
    • Add missing option to installation example [2bddd84f] (Pavlo Yatsukhnenko)
    • Fix typo in link [8f6bc98f] (Timo Sand)
    • Update tests to allow users to use a custom class. [5f6ce414] (Michael Grunder)
  • APCu 5.1.24
    - Make compatible with PHP 8.4. - apc.php: Preserve search parameter when deleting entry. - apc.PHP: Allow arbitrary search regex.
  • gRPC 1.67.0RC1
    - gRPC Core 1.67.0 update
  • protobuf 4.27.5
    * See github.com/protocolbuffers/protobuf/releases/tag/v27.5 for release notes.
  • protobuf 3.25.5
    * See github.com/protocolbuffers/protobuf/releases/tag/v25.5 for release notes.
  • protobuf 4.28.2
    * See github.com/protocolbuffers/protobuf/releases/tag/v28.2 for release notes.




as

Community News: Latest PECL Releases (10.01.2024)

Latest PECL Releases:

  • protobuf 4.29.0RC1
    * See github.com/protocolbuffers/protobuf/releases/tag/v29.0-rc-1 for release notes.

  • datadog_trace 1.3.2
    ## Tracer

    Fixed

    • Fix crash with git metadata injection
  • xpass 1.1.0
    - add crypt_gensalt(?string $prefix = null, int $count = 0): ?string {} - add crypt_preferred_method(): ?string {} - add crypt_checksalt(string $salt): int {} - add CRYPT_PREFIX_* and CRYPT_SALT_* constants
  • zip 1.22.4
    - compatibility with 8.4 - add ZipArchive::ER_TRUNCATED_ZIP added in libzip 1.11
  • msgpack 3.0.0
    * Add support for PHP-8.1 Enums * merges #173 * fixes #171 * Add support for APCu * merges #162, #93 * Add OPT_ASSOC for roundtrip serialization of map. * merges #58
  • mongodb 1.20.0
    ## What's Changed * Master is now 1.20-dev by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1550 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1553 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1554 * PHPC-2386: Fix build config output without libmongocrypt by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1557 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1563 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1564 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1566 * Bump mongodb-labs/drivers-github-tools from 1 to 2 by @dependabot in https://github.com/mongodb/mongo-php-driver/pull/1568 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1569 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1570 * Revert "Bump mongodb-labs/drivers-github-tools from 1 to 2" by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1571 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1574 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1576 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1578 * PHPC-2395: Fetch Atlas connectivity URIs from AWS Secrets Manager by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1579 * Merge v1.19 into master by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1581 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1580 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1585 * PHPC-2398: Use server_id methods for libmongoc 1.28+ by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1582 * PHPC-2401: Support QEv2 range protocol by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1583 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1588 * PHPC-2254: Relax server selection timeout error message pattern by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1587 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1591 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1592 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1594 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1597 * PHPC-2376: Test against MongoDB 8.0 by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1598 * Fix version computation for libmongoc development versions by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1599 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1601 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1603 * PHPC-1489: Deprecate integer readPreference constants by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1604 * PHPC-2347: Deprecate BSON functions by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1607 * Fix failing tests on x86 systems by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1609 * PHPC-2349, PHPC-2411: Deprecate unused exception classes by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1608 * PHPC-2414, PHPC-2415: Update wire versions for MongoDB 8.0 compatibility by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1610 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1613 * PHPC-2286 Implement `UTCDateTime::toDateTimeImmutable` by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/1611 * PHPC-1957 Add tests for out-of-range `UTCDateTime` values by @GromNaN in https://github.com/mongodb/mongo-php-driver/pull/1614 * Use drivers-evergreen-tools for Windows testing by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1615 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1620 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1621 * PHPC-2421, PHPC-2428: Update bundled dependencies by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1622 * PHPC-2434: Add PHP 8.4 to GitHub Actions by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1625 * PHPC-2420: Initial composer.json for pie support by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1624 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1626 * Merge v1.19 into master by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1629 * PHPC-2403: Remove optional sparsity and trimFactor options by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1628 * Merge v1.19 into v1.20 by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1633 * PHPC-2412: Deprecate CursorId class by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1616 * Fix exception message expectation on MongoDB latest by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1637 * Validate composer.json as part of CI workflows by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1636 * Update merge-up config by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1641 * PHPC-2443: Deprecate string argument and accept Int64 instances in UTCDateTime constructor by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1643 * PHPC-2413: Use new distros for RHEL ppc and Z by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1647 * PHPC-2442: Deprecate getServer, add getHost and getPort to APM events by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1644 * Merge v1.19 into v1.20 by @mongodb-php-bot in https://github.com/mongodb/mongo-php-driver/pull/1649 * PHPC-2350: Implement JSON methods for PackedArray by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1645 * Update archive names for Windows builds by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1655 * Remove usage of deprecated E_STRICT by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1668 * PHPC-2448: Update to libmongoc 1.28.0 by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1673 * PHPC-2452: Warn if --with-openssl-dir is used by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1677 * PHPC-2453: Deprecation notice for Query "modifiers" option by @jmikola in https://github.com/mongodb/mongo-php-driver/pull/1680 * Drop RHEL 7.6 from evergreen testing by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1682 * PHPC-2456: Correctly dereference arrays in type maps by @alcaeus in https://github.com/mongodb/mongo-php-driver/pull/1683

    Full Changelog: https://github.com/mongodb/mongo-php-driver/compare/1.19.4...1.20.0




as

Community News: Latest PECL Releases (10.08.2024)

Latest PECL Releases:

  • uuid 1.2.1
    - MacOS support (Sean Molenaar)

    • fix for util-linux/libuuid 2.40 and uuid_time64
  • yaml 2.2.4
    Bugs Fixed: - #85: PHP 8.4.0 beta4 test yaml_parse_file_002.phpt fails (andypost) - emit.c: fix -Wsign-compare (bd808) - #75: yaml_parse_file does not set &$ndoc as expected (tomterl) - Fix [-Wincompatible-pointer-types] warning (remicollet)
  • redis 6.1.0
    Sponsors

    Audiomack - https://audiomack.com Open LMS - https://openlms.net Avtandil Kikabidze - https://github.com/akalongman Ty Karok - https://github.com/karock Object Cache Pro for WordPress - https://objectcache.pro

    --- 6.1.0 ---

    NOTE: There were no changes to C code between 6.1.0RC2 and 6.1.0

    Documentation:

    • Update package.xml to make it clearer that we support many key-value stores [52e69ede] (Remi Collet)
    • Fix redis.io urls [0bae4bb0] (Vincent Langlet)

    Tests/CI:

    • Fix 2 tests with redis 6.2 [cc1be322] (Remi Collet)

    --- 6.1.0RC2 ---

    Fixed:

    • Fixed a SIGABRT error in PHP 8.4 [a75a7e5a] (Michael Grunder)
    • Clean up code for unsupported versions of PHP [37cebdd7] (Remi Collet)
    • Add SessionHelpers.php to package.xml[e9474b80] (Remi Collet)
    • 8.4 implicit null fix, bump version [bff3a22e, 30c8f90c] [Remi Collet]

    Changed:

    • Raised minimum supported PHP version to 7.4 [8b519423] (Michael Grunder)

    Removed:

    • Removed erroneously duplicated changelog entries [40c89736] (Michael Grunder)

    Tests/CI:

    • Move to upload artifacts v4 [9d380500] (Michael Grunder)

    Added:

    • Added composer.json to support PIE (PHP Installer for Extensions) [b59e35a6] (James Titcumb)

    --- 6.1.0RC1 ---

    Fixed:

    • Fix random connection timeouts with Redis Cluster. [eb7f31e7] (Jozsef Koszo)
    • Fix argument count issue in HSET with associative array [6ea5b3e0] (Viktor Djupsjobacka)
    • SRANDMEMBER can return any type because of serialization. [6673b5b2] (Michael Grunder)
    • Fix HRANDFIELD command when WITHVALUES is used. [99f9fd83] (Michael Grunder)
    • Allow context array to be nullable [50529f56] (Michael Grunder)
    • Fix a macOS (M1) compiler warning. [7de29d57] (Michael Grunder)
    • GETEX documentation/updates and implentation in RedisCluster [981c6931] (Michael Grunder)
    • Refactor redis_script_cmd and fix to flush subcommand. [7c551424] (Pavlo Yatsukhnenko)
    • Update liveness check and fix PHP 8.4 compilation error. [c139de3a] (Michael Grunder)
    • Rework how we declare ZSTD min/max constants. [34b5bd81] (Michael Grunder)
    • Fix memory leak if we fail in ps_open_redis. [0e926165] (Michael Grunder)
    • Fix segfault and remove redundant macros [a9e53fd1] (Pavlo Yatsukhnenko)
    • Fix PHP 8.4 includes [a51215ce] (Michael Grunder)
    • Handle arbitrarily large SCAN cursors properly. [2612d444, e52f0afa] (Michael Grunder)
    • Improve warning when we encounter an invalid EXPIRY in SET [732e466a] (Michael Grunder)
    • Fix Arginfo / zpp mismatch for DUMP command [50e5405c] (Pavlo Yatsukhnenko)
    • RedisCluster::publish returns a cluster_long_resp [14f93339] (Alexandre Choura)
    • Fix segfault when passing just false to auth. [6dc0a0be] (Michael Grunder)
    • the VALUE argument type for hSetNx must be the same as for hSet [df074dbe] (Uladzimir Tsykun)
    • Other fixes [e18f6c6d, 3d7be358, 2b555c89, fa1a283a, 37c5f8d4] (Michael Grunder, Viktor Szepe)

    Added:

    • Compression support for PHP sessions. [da4ab0a7] (bitactive)
    • Support for early_refresh in Redis sessions to match cluster behavior [b6989018] (Bitactive)
    • Implement WAITAOF command. [ed7c9f6f] (Michael Grunder)

    Removed:

    • PHP 7.1, 7.2, and 7.3 CI jobs [d68c30f8, dc39bd55] (Michael Grunder)

    Changed:

    • Fix the time unit of retry_interval [3fdd52b4] (woodong)

    Documentation:

    • Many documentation fixes. [eeb51099] (Michael Dwyer)
    • fix missing code tags [f865d5b9] (divinity76)
    • Mention Valkey support [5f1eecfb] (PlavorSeol)
    • Mention KeyDB support in README.md [37fa3592] (Tim Starling)
    • Remove mention of pickle [c7a73abb] (David Baker)
    • Add session.save_path examples [8a39caeb] (Martin Vancl)
    • Tighter return types for Redis::(keys|hKeys|hVals|hGetAll) [77ab62bc] (Benjamin Morel)
    • Update stubs [4d233977, ff305349, 12966a74, a4a283ab, 8f8ff72a] (Michael Grunder, Takayasu Oyama, Pavlo Yatsukhnenko)
    • Fix config.m4 when using custom dep paths [ece3f7be] (Michael Grunder)
    • Fix retry_internal documentation [142c1f4a] (SplotyCode)
    • Fix anchor link [9b5cad31] (Git'Fellow)
    • Fix typo in link [bfd379f0] (deiga)
    • Fix Fedora package url [60b1ba14, 717713e1] (Dmitrii Kotov)
    • Update Redis Sentinel documentation to reflect changes to constructor in 6.0 release [dc05d65c] (Pavlo Yatsukhnenko)

    Tests/CI:

    • Avoid fatal error in test execution. [57304970] (Michael Grunder)
    • Refactor unit test framework. [b1771def] (Michael Grunder)
    • Get unit tests working in php-cgi. [b808cc60] (Michael Grunder)
    • Switch to ZEND_STRL in more places. [7050c989, f8c762e7] (Michael Grunder)
    • Workaround weird PHP compiler crash. [d3b2d87b] (Michael Grunder)
    • Refactor tests (formatting, modernization, etc). [dab6a62d, c6cd665b, 78b70ca8, 3c125b09, 18b0da72, b88e72b1, 0f94d9c1, 59965971, 3dbc2bd8, 9b90c03b, c0d6f042] (Michael Grunder)
    • Spelling fixes [0d89e928] (Michael Grunder)
    • Added Valkey support. [f350dc34] (Michael Grunder)
    • Add a test for session compression. [9f3ca98c] (Michael Grunder)
    • Test against valkey [a819a44b] (Michael Grunder)
    • sessionSaveHandler injection. [9f8f80ca] (Pavlo Yatsukhnenko)
    • KeyDB addiions [54d62c72, d9c48b78] (Michael Grunder)
    • Add PHP 8.3 to CI [78d15140, e051a5db] (Robert Kelcak, Pavlo Yatsukhnenko)
    • Use newInstance in RedisClusterTest [954fbab8] (Pavlo Yatsukhnenko)
    • Use actions/checkout@v4 [f4c2ac26] (Pavlo Yatsukhnenko)
    • Cluster nodes from ENV [eda39958, 0672703b] (Pavlo Yatsukhnenko)
    • Ensure we're talking to redis-server in our high ports test. [7825efbc] (Michael Grunder)
    • Add missing option to installation example [2bddd84f] (Pavlo Yatsukhnenko)
    • Fix typo in link [8f6bc98f] (Timo Sand)
    • Update tests to allow users to use a custom class. [5f6ce414] (Michael Grunder)
  • memcached 3.3.0RC1
    - Add #515 option to locally enforce payload size limit - Add #539 zstd support - Add #540 compression_level option - Mark password as a sensitive param for PHP 8.2 - Fix Windows PHP 8 compatibility - Fix #518 Windows msgpack support - Fix #522 signed integer overflow - Fix #523 incorrect PHP reflection type for Memcached::cas $cas_token - Fix #546 don't check key automatically, unless client-side verify_key is enabled - Fix #555 incompatible pointer types (32-bit)
  • xdebug 3.4.0beta1
    Fri, Oct 04, 2024 - Xdebug 3.4.0beta1

    = Fixed bugs:

    • Fixed issue #2261: Send control socket location in init packet
    • Fixed issue #2281: PHP 8.4 support
  • mailparse 3.1.8
    - PHP 8.4 compatibility
  • mailparse 3.1.7
    - PHP 8.4 compatibility
  • opentelemetry 1.1.0
    See https://github.com/open-telemetry/opentelemetry-php-instrumentation/releases/tag/1.1.0




as

Community News: Latest PECL Releases (10.15.2024)

Latest PECL Releases:

  • datadog_trace 1.4.1
    ## Tracer

    Fixed

    • Fix: MongoDBIntegration condition typo #2884
    • Fix crash in profiler when span stack switch causes GC run #2885
    • Support build with disabled zend signals #2886
    • Send git tags via remote config #2890
    • Fix memory leak with sidecar trace sender #2875

    Profiling

    Fixed

    • Fix profiler ZTS build on alpine #2887

    Application Security Management

    Fixed

    • AppSec: improve behavior with empty DD_SERVICE/DD_ENV #2888
  • datadog_trace 1.4.0
    ## Tracer

    The default value for datadog.trace.cli_enabled is now set to true (except for composer), meaning that CLI processes will be traced by default.

    Added

    • Dynamic configuration #2796
    • Dynamic instrumentation #2796
      • Can be enabled with datadog.dynamic_instrumentation.enabled=1.
    • Exception replay #2796
      • Can be enabled with datadog.exception_replay_enabled=1.
    • Track peak memory usage in root span metrics #2840

    Changed

    • Enable sidecar trace sender on PHP 8.3 #2729
    • Optimize sending traces via sidecar Datadog/libdatadog#598
    • Add new ini config datadog.crashtracking_enabled #2850
    • Add ionCube to the list of incompatible extensions + add INI setting to ignore incompatible extensions #2858
    • Enable CLI by default #2871

    Fixed

    • Crashtracker: fix a use-after-free error #2843
    • Fix curl integration race condition #2847
    • Fix memory leak with sidecar trace sender #2875
    • OpenTelemetry: Missing addLink method and Fiber handling #2849
    • Mongodb: Deprecated exception in v1.20+ #2870
    • Fix leaking sidecar sessions Datadog/libdatadog#642
    • Implement deadlock watchdog for sidecar Datadog/libdatadog#647

    Internal

    • Fix testsuite flakiness #2841, #2846, #2848, #2867
    • Fix telemetry metric name Datadog/libdatadog#666

    SSI Loader changes

    • Add SSI requirements.json file #2813
    • Disable the tracer in case of a potential incompatibility (extension/jit) #2853

    Profiling

    Internal

    • bump to Rust 1.76 #2876

    Application Security Management

    Changed

    • Move helper to sidecar remote config #2864

    Fixed

    • Fix improper symbol exports in appsec ext/helper #2854
    • Remove gid from socket/lock path of helper #2855
    • appsec ext: retry on connection refused #2860
    • Fix orderly helper appsec shutdown #2859

    Internal changes

    • Add appsec benchmarks #2791
  • selinux 0.6.1
    - fix implicit nullable parameters
  • oauth 2.0.9
    * Fix PHP-8.3 deprecations * Fix PHP-8.4 compatibility




as

Community News: Latest PECL Releases (10.22.2024)

Latest PECL Releases:

  • swoole 5.1.5
    - Fix the need to use zend_ini_parse_quantity to parse string numbers for PHP versions greater than 8.2. @matyhtf

    • Fix an occasional resource unavailability issue when coroutineizing pdo_pgsql. @NathanFreeman
    • Fix header file reference issues when coroutineizing pdo_pgsql. @NathanFreeman
    • Fix incorrect relative path checks to avoid bypassing path validation. @matyhtf
    • Fix incorrect concurrency count caused by process restarts in high-concurrency environments. @matyhtf
    • Sync some related code for php8.3 curl. @NathanFreeman
    • Fix core test errors in the process module. @NathanFreeman
    • In SWOOLE_BASE mode, all connections should be closed during the PHP RSHUTDOWN phase. @matyhtf
    • Optimize kernel code. @matyhtf
  • datadog_trace 1.4.2
    ## Tracer

    Changed

    • Disable sidecar sending on lambda #2904

    Fixed

    • Fix exception property offset computation for PHP 8.1+ #2901
    • Prevent Laravel Queue hooks from stacking up #2899
    • Fix crash with missing name in span in debug mode #2893
    • Restrict remote config path to a definite 31 chars DataDog/libdatadog#676

    Application Security Management

    Changed

    • Update event obfuscation regex #2897

    Fixed

    • Fix abort() call on appsec helper unload #2900
  • pinpoint_php 0.6.0
    ## 0.6.0 2024-10-21 - release asynchronous version
  • awscrt 1.2.7
    pick up release from upstreams
  • memcached 3.3.0
    - Add #515 option to locally enforce payload size limit - Add #539 zstd support - Add #540 compression_level option - Mark password as a sensitive param for PHP 8.2 - Upgrade Windows libmemcached to v1.1.4 - Fix Windows PHP 8 compatibility - Fix #518 Windows msgpack support - Fix #522 signed integer overflow - Fix #523 incorrect PHP reflection type for Memcached::cas $cas_token - Fix #546 don't check key automatically, unless client-side verify_key is enabled - Fix #555 incompatible pointer types (32-bit)
  • gRPC 1.67.0
    - gRPC Core 1.67.0 update
  • imap 1.0.3
    - Build fixes for PHP 8.4. - Report extension version in phpinfo() output.




as

Community News: Latest PECL Releases (10.29.2024)

Latest PECL Releases:

  • win32service 1.1.0beta3
    * Fix memory leak on Win32ServiceRightInfo username and domain.

    The binary is also available here: https://github.com/win32service/win32service/releases/tag/v1.1.0-beta3

  • rdkafka 6.0.4
    ## Improvements - Added OAUTHBEARER support. New methods: RdKafkaConf::setOauthbearerTokenRefreshCb(), RdKafka::oauthbearerSetToken(), RdKafka::oauthbearerSetTokenFailure() (#546, #547, @cb-freddysart, @scorgn) - Added incremental rebalance support. New methods: RdKafkaKafkaConsumer::incrementalAssign(), RdKafkaKafkaConsumer::incrementalUnassign() (#541, @ikeberlein) - Added RdKafka::getControllerId() (#554, @qkdreyer)

    Bugfixes

    • Add private constructor on Metadata classes (#531, @arnaud-lb)

    Other Changes

    • Improve KafkaErrorException message (#555, @arnaud-lb)
  • protobuf 4.29.0RC2
    * See github.com/protocolbuffers/protobuf/releases/tag/v29.0-rc-2 for release notes.
  • pinpoint_php 0.6.1
    ## 0.6.1 2024-10-23 - release asynchronous version https://github.com/pinpoint-apm/pinpoint-c-agent/pull/692
  • couchbase 4.2.4
    Enhancements ============
    • PCBC-832: Management API - Analytics Management (#177).

    • Core updated to 1.0.3. Release notes: https://docs.couchbase.com/cxx-sdk/current/project-docs/sdk-release-notes.html#version-1-0-3-22-october-2024

    Fixes

    • PCBC-1009: do not use IS_RESOURCE in function signatures.

    • PCBC-1010: use explicit nullable types where applicable to avoid deprecation warning in PHP 8.4.

    • Fix SearchQuery API docs link in API reference.

  • protobuf 4.28.3
    * See github.com/protocolbuffers/protobuf/releases/tag/v28.3 for release notes.




as

Community News: Latest PECL Releases (11.05.2024)

Latest PECL Releases:

  • parallel 1.2.5
    - fix memleaks and crashes with PHP 8.2, 8.3 and 8.4 (still crashes in 8.1) - thanks Arnaud Le Blanc

    • fix refcounts to make develop branch stable again - thanks to Arnaud Le Blanc
    • fix double runs in CI
  • rdkafka 6.0.5
    ## Bug fixes - Fix php 7.0 build (#563, @arnaud-lb) - Fix x32 build (#565, @arnaud-lb) - Fix segmentation fault in setOauthbearerTokenRefreshCb when sasl.oauthbearer.config is unset (#568, @scorgn)
  • ibm_db2 2.2.2
    - Support for PHP 8.4 - Update header version




as

Community News: Latest PECL Releases (11.12.2024)

Latest PECL Releases:

  • xlswriter 1.5.8
    - Fix: insertDate format.

    • Feat: format rotation.
  • brotli 0.15.2
    - fix: argument format of type - fix: incompatible pointer type
  • gRPC 1.68.0RC1
    - gRPC Core 1.68.0 update
  • zstd 0.14.0
    - feat: output handler (PHP 8.0+) - feat: minimum system libzstd library version to 1.4.0 - update: built-in zstd library to 1.5.6
  • brotli 0.15.1
    - fix: output handler




as

Apple Intelligence will help AI become as commonplace as word processing


When Apple’s version of AI, branded as Apple Intelligence, rolls out in October to folks with the company’s latest hardware, the response is likely to be a mix of delight and disappointment. The AI capabilities on their way to Apple’s walled-garden will bring helpful new features, such as textual summaries in email, Messages and Safari; image creation; and a more context-aware version of Siri. But as Apple Intelligence’s beta testing has already made clear, the power of these features falls well below what is on offer from major players like OpenAI, Google, and Meta. Apple AI won’t come close to…

This story continues at The Next Web

Or just read more coverage about: Apple




as

Apophis: a European space mission gets up close with an asteroid set to brush by Earth


The European Space Agency has given the go-ahead for initial work on a mission to visit an asteroid called (99942) Apophis. If approved at a key meeting next year, the robotic spacecraft, known as the Rapid Apophis Mission for Space Safety (Ramses), will rendezvous with the asteroid in February 2029. Apophis is 340 metres wide, about the same as the height of the Empire State Building. If it were to hit Earth, it would cause wholesale destruction hundreds of miles from its impact site. The energy released would equal that of tens or hundreds of nuclear weapons, depending on the…

This story continues at The Next Web




as

How wasted heat from our bodies could generate green energy


If you’ve ever seen yourself through a thermal imaging camera, you’ll know that your body produces lots of heat. This is in fact a waste product of our metabolism. Every square foot of the human body gives off heat equivalent to about 19 matches per hour. Unfortunately, much of this heat simply escapes into the atmosphere. Wouldn’t it be great if we could harness it to produce energy? My research has shown this would indeed be possible. My colleagues and I are discovering ways of capturing and storing body heat for energy generation, using eco-friendly materials. The goal is to…

This story continues at The Next Web