Investigate: OpenSSF Best Practices Badges - Check if dockerhub and Git cryptographically signs our releases

In order to fully validate the silver level of OpenSSF Best Practices Badges for our project and for security reasons, we have to check if dockerhub and Git cryptographically signs our releases.
Here are the requirement to meet:
The project MUST cryptographically sign releases of the project results intended for widespread use, and there MUST be a documented process explaining to users how they can obtain the public signing keys and verify the signature(s). The private key for these signature(s) MUST NOT be on site(s) used to directly distribute the software to the public. If releases are not intended for widespread use, select "not applicable" (N/A). [signed_releases]
The project results include both source code and any generated deliverables where applicable (e.g., executables, packages, and containers). Generated deliverables MAY be signed separately from source code. These MAY be implemented as signed git tags (using cryptographic digital signatures). Projects MAY provide generated results separately from tools like git, but in those cases, the separate results MUST be separately signed.
It is SUGGESTED that in the version control system, each important version tag (a tag that is part of a major release, minor release, or fixes publicly noted vulnerabilities) be cryptographically signed and verifiable as described in signed_releases. [version_tags_signed]
Here is the questionnaire :
https://bestpractices.coreinfrastructure.org/en/projects/4795?criteria_level=1
If it is a small issue; fix directly, if this is more work; create new Github issues.

Todo: build infrastructure make it work

@pascalwilbrink : We can generate checksums / sha's automatically via a GH action:
https://github.com/marketplace/actions/generate-checksum


Use new [full] extra when installing DLite

Since version 0.4.0 DLite can only be installed with the required dependencies by using the full extra when installing.
Either this should be implemented or the sub-dependencies should become direct dependencies in this repository.

See also SINTEF/dlite#629

I don't see any issue with this. The requirements file in the TEM demo works out of box.
It provides everything you need to run a demo with OTEAPI and DLite without depending on dlite-python[full].

See this comment

DLite without [full] works fine


0.3.2 release tag

Hi, any chance you could push a new release tag for those of us who have to use Bower? Copy & pasting this should do the trick:
git checkout master
git tag -a v0.3.2 -m 'version 0.3.2'
git push origin v0.3.2

Thanks

Ah, sorry about that. Tagged: https://github.com/padolsey/operative/releases/tag/0.3.2

:+1:


realtime: Bump Realtime image to 2.29.15

What kind of change does this PR introduce?
Bump Realtime image to 2.29.15

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 61.17%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
5
11.76%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
7056

Relevant Lines:
11535

💛  - Coveralls


Add more information about binding objects in BindableProperty instances

This page shows how to bind scalar values like string and double etc. But it would be incredibly helpful to show how binding an object works or if this is the appropriate thing to do. Some additional guidance on bindable properties would go a long way to clearing up confusion.

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

ID: b054a909-6f7f-0b32-5059-eb5c8a9b366b
Version Independent ID: 723af07b-8f4e-ebe3-a520-99cdcf5efc5a
Content: Xamarin.Forms Bindable Properties - Xamarin
Content Source: docs/xamarin-forms/xaml/bindable-properties.md
Product: xamarin
Technology: xamarin-forms
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Microsoft support for Xamarin will end on May 1, 2024 for all Xamarin SDKs including Xamarin.Forms. In preparation for this, all issues and PRs in this repository are being closed.
.NET MAUI is the replacement for Xamarin.Forms, and it's documentation can be found here.


NOT CONNECTING TO CLIENT

I made tons of different rat files and when ever i would use them on a vm or my own pc a client doesn't come up I don't know what I'm doing wrong but I would think its something to do with when Im building the file. if you think you can help dm leadz7309 on discord. thank you

im guessing ur IP config is wrong

you were right it worked on my vm but now when i tried to use it on my friends vm it didnt work

you were right it worked on my vm but now when i tried to use it on my friends vm it didnt work

thats not because of ur ip config only, you have to port forward, i reccomend checking out ngrok or another service that can help with port forwarding

you were right it worked on my vm but now when i tried to use it on my friends vm it didnt work

can you DM me as well when you figure it out. Discord: mindandass

can anyone pls help me i dont know how to solve my port works fine

can anyone pls help me i dont know how to solve my port works fine

The issue is on your end. A user posted a workaround above.

Any fix. Anyone to help me? If you can, add me at theonewhowatchess.

does anyone know what ip to put in? also does anyone know how to port forward becasue im new to xeno


Use uv in Makefile and CI

Follow up to https://github.com/pydantic/pydantic-core/pull/1545

Putting a pause on this for now, will resume tomorrow

I don't think we should need those .txt files with the updates to pyproject.toml - I was using the install groups successfully 👍

I think the codspeed fix might be that we need to add back the install python

🎉
@sydney-runkle, if you are happy with this being good enough, let's merge and iterate any small improvements in follow ups.

@sydney-runkle @davidhewitt did you try the uv run maturin develop commands in this PR?
They seem to always fail for me on another project:
📦 Including license file "/Users/samuel/code/rtoml/LICENSE"
🍹 Building a mixed python/rust project
🔗 Found pyo3 bindings
🐍 Found CPython 3.11 at /Users/samuel/code/rtoml/.venv/bin/python
📡 Using build options features, bindings from pyproject.toml
   Compiling pyo3-build-config v0.21.2
   Compiling pyo3-macros-backend v0.21.2
   Compiling pyo3-ffi v0.21.2
   Compiling pyo3 v0.21.2
   Compiling pyo3-macros v0.21.2
   Compiling rtoml v0.11.0 (/Users/samuel/code/rtoml)
    Finished `release` profile [optimized] target(s) in 6.69s
📦 Built wheel for CPython 3.11 to /var/folders/s6/mh0x1z6d6mqclzdtv72zgx_40000gn/T/.tmpES6rcu/rtoml-0.11.0-cp311-cp311-macosx_11_0_arm64.whl
💥 maturin failed
  Caused by: pip install in /Users/samuel/code/rtoml/.venv failed running ["-m", "pip", "--disable-pip-version-check", "install", "--no-deps", "--force-reinstall", "/var/folders/s6/mh0x1z6d6mqclzdtv72zgx_40000gn/T/.tmpES6rcu/rtoml-0.11.0-cp311-cp311-macosx_11_0_arm64.whl"]: exit status: 1
--- Stdout:

--- Stderr:
/Users/samuel/code/rtoml/.venv/bin/python: No module named pip
---


Detect Git State

The problem
No response
Describe the solution you'd like
Spaceship should detect these Git states are active:

rebase
merge
revert
am
am_or_rebase
cherry_pick
bisect

Describe alternatives you've considered
No response
Documentation and adoption
No response

@denysdovhan, Let's take merge for example, The merge state would only be active when there is a conflict, right?


Upload file to CouchDB

I'm trying to upload an image with the following code:
$scope.onFileSelect = function(ins, files) {
  _.each(files, function(file) {
    var fileReader = new FileReader();
    fileReader.onload = function(e) {
      $timeout(function() {
        file.previewUrl = e.target.result;
      });
    };
    fileReader.readAsDataURL(file);
    $upload.upload({
      url: projectRepository.attachmentUrl(ins, file.name),
      method: "PUT",
      file: file,
    }).progress(function (evt) {
      console.log(evt);
    }).success(function(data) {
      // ...
    }).error(function(data) {
      console.log(data);
    });
  });
};

I'm uploading the file to CouchDB (which I don't think matters since CouchDB doesn't do any processing on the file) and the uploaded file end up with the content type "application/json". I fixed that by setting the headers manually with
headers: { "Content-Type": file.type },

And outcommenting the line in the angular-file-upload source that sets the content type to undefined. This fixes the content type, and sets it correctly according to the filetype but the uploaded file still ends up on the server in some corrupted form that won't show correctly in the browser.

I have a scenario in which i have the file upload control in a popup
If I select a.jpg for one item then when i try to add files for the second item and i select a.jog again it doesn't upload the file since this file was already posted to the server for the first item, is there any workaround for this if i can reinitialize the control or maybe some other workaround?


No longer able to use "--" to terminate option flags

qpdf no longer allows standard GNU-style termination of option lists by using a -- indicating that anything after is NOT supposed to be an option flag. For example using the filename -in.pdf:
qpdf --compression-level=9 -- -in.pdf out.pdf

This results in an error:

qpdf: unrecognized argument --

For help:
  qpdf--help=usage       usage information
  qpdf--help=topic       help on a topic
  qpdf--help=--option    help on an option
  qpdf--help             general help and a topic list

This is expected to treat all arguments after the literal -- as filenames, like it did at the time of release 10.5.0.
Doing a bisect, I believe this was a regression introduced in ac0060ac38ecf4fa380f49fd1e40ebaabb479596.
The help message is also wonkily-formatted.

Treating all arguments after -- as non-options was never intended and was never implemented. What was in fact happening (which I didn't even realize) was that -- was simply ignored except when used to terminate subparsers (--pages, --encrypt, and a few others). Note that qpdf does not follow gnu argument conventions.
I'm not sure whether I should re-introduce the unintentional behavior of ignoring -- as it was never documented behavior. I didn't even know it did that, actually.

What seems wonky to you about the help? It looks as intended to me. Can you point out what specifically you see as wonky? Note that, as with CLI, there is no intention to conform to gnu conventions.

If it turns out that people were relying on this behavior, I will probably have to release 10.6.2 with an immediate fix.

What's wonky about the help message is that it tells you to run qpdf--help=usage which isn't a valid command. It should be qpdf --help=usage. There's a missing space.

I am fixing both issues and releasing it as 10.6.2 along with another fix that is needed for pikepdf, so you can expect this to be fixed in the next day or two. Thanks for reporting it. I honestly had no idea qpdf was ignoring a bare -- at the top level of arg parsing, and I guess I lost the functionality when I completely refactored argument parsing.

No problem-o. Thanks for responding so quickly. 🥇


Make website use IBM Plex fonts

Font identity is important in the overall design of a website. IBM has released Plex, a branding font for all of IBM that is also open source and available on GitHub. I've taken the liberty of setting the default font for the website to IBM Plex Sans and the default monospaced font to IBM Plex Mono.
One thing I forgot to do is add sans-serif and monospaced as fallbacks. Whoops! I'll probably add that later, I have to go right now! It should be fine regardless: the fonts are included, and they should always load.

I think this is a great change. It will increase the readability of the repository and create a distinct visual identity.

I'm going to close this.  As pretty and free as the font is (an it is!), I don't love the idea of shipping the font files with the repo.  I'm totally open to other font changes in the future.


Undocumented jQuery dependency.

There is a dependency on jquery to get this to work, and not only jquery, but that you let jquery define $ in the global scope. This dependency should either be documented or removed.

How is dependency, not work for me!

To make this work, I supposed to add jquery
Gem file
gem 'jquery-rails'
Application.js
And here we need to load the jquery.js
//= require jquery3
//= require jquery_ujs
//= require social-share-button
...


Incorrect type name generation in the ContentPage with BlazorWebView item templates

The file gets generated with the type name Page suffixed whereas, within those files, the actual type name and its reference in the constructor are not suffixed with Page.

For example:
dotnet new maui-bwv-cs -n Home

Output:
Filename: HomePage.cs
Type name: Home (without the suffix)

The fix for this issue is made available in the template package release v5.0.1


feat: allow enable/disable option for icons

Checklist

[X] Used only camelCase variable names.
[X] If functionality is added or modified, also made respective changes to the
README.md (the .txt file is auto-generated and does not need to be modified).

This feature allows someone to enable or disable the use of icons in their configuration without having to manually set the value of each hint to "". This is helpful when someone is using an un-patched font, or one that doesn't contain icons.

Thanks for the PR, but why not just set the icons to "" if you want to disable them?

I initially found myself looking for an option to enable/disable, but given there's only a few options I have to change to remove icons it's not too much of a hassle if it doesn't get merged. Just thought I'd add it in!

I see. I think for the sake of keeping the plugin as minimal as possible, I think "" should suffice to disable them.
Other plugins may have a separate toggle, but that's probably cause they simply have a lot of icons.


Pv and Npv functions along with respective tests

This PR is regarding the addition of Pv and Npv functions. Test cases regarding the same have been added.
Npv takes the second parameter as an array of float as opposed to using variadic functions. This was done as testing variadic functions is cumbersome at present ( javascript handles this using the spread syntax so any array can be unpacked and passed accordingly).
Kindly review my code for improvements.

Hi @thsubaku9,
Thanks for your contribution!
The examples are missing. Please add those in Readme and example_reducing_utils_test.go .

Hi @thsubaku9,
Thanks for your contribution!
The examples are missing. Please add those in Readme and example_reducing_utils_test.go .

Sorry for the delay. I believe things should be in order now

Sorry for the delay. I believe things should be in order now

Sorry about that (；一_一)

Alright, I think that is it?

Thanks for your contribution @thsubaku9  !🎉
I really appreciate it 🙂

Thank you for your time and patience 🙂


Automate terminology is unclear

We need a better explanation of what this does for users.
There is (I think) an expectation that any and all changes (including config) to a service will be auto-applied when automated. Tracking latest images seemed less expected?
needs some investigation and talking with users.

User feedback on locked and automated here: https://github.com/weaveworks/flux/issues/370
And, thoughts on what should be allowed for automated services here: https://github.com/weaveworks/flux/issues/356

I don't think this is a problem any more since Flux's role as a tool is more clearly defined now. All changes to a manifest in the user's git repo will be automatically applied ('synced') to their cluster.


DotNetCoreCLI test does not honor conditions on multi-target framework

Note
Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo
For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
If you have an issue or request for the Azure Pipelines service, use developer community instead:
https://developercommunity.visualstudio.com/spaces/21/index.html )
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: DotNetCoreCLI
list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
Environment

Server - Azure Pipelines

Agent - hosted: ubuntu-latest, macos-latest, and windows-latest

Issue Description
I have a test csproj with target frameworks like this:
  <PropertyGroup>
    <TargetFrameworks>net6.0</TargetFrameworks>
    <TargetFrameworks Condition="'$(TestAllNetVersions)' == 'true'">$(TargetFrameworks);netcoreapp3.1;net5.0;net7.0</TargetFrameworks>
  </PropertyGroup>

The idea is to only test for the different frameworks on pipeline only. I verified the test runs locally: when it's false only .NET 6 tests are run, when it's true all versions are run.
We have yaml definition like this:
- task: DotNetCoreCLI@2
  inputs:
    command: test
    projects: 'test/**/*.csproj'
    arguments: '--configuration ${{ parameters.configuration }} -p:TestAllNetVersions=true'

However the DotNet task only runs tests for .NET 6, ignoring the passed in property.
If we remove the condition on TargetFrameworks altogether, I verified the task runs tests for all versions.
You can find our code here: https://github.com/microsoft/DacFx/blob/7124fe38bd27b105e25c06cb781bf4aa51609288/builds/template-steps-build-test.yml#L111
Task logs
2022-10-21T18:56:43.4177871Z ##[section]Starting: .NET Test
2022-10-21T18:56:43.4211097Z ==============================================================================
2022-10-21T18:56:43.4212412Z Task         : .NET Core
2022-10-21T18:56:43.4213121Z Description  : Build, test, package, or publish a dotnet application, or run a custom dotnet command
2022-10-21T18:56:43.4213957Z Version      : 2.210.0
2022-10-21T18:56:43.4215015Z Author       : Microsoft Corporation
2022-10-21T18:56:43.4215998Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/dotnet-core-cli
2022-10-21T18:56:43.4216767Z ==============================================================================
2022-10-21T18:56:43.9110657Z Info: .NET Core SDK/runtime 2.2 and 3.0 are now End of Life(EOL) and have been removed from all hosted agents. If you're using these SDK/runtimes on hosted agents, kindly upgrade to newer versions which are not EOL, or else use UseDotNet task to install the required version.
2022-10-21T18:56:46.3912173Z [command]/opt/hostedtoolcache/dotnet/dotnet test /home/vsts/work/1/s/test/Microsoft.Buld.Sql.Tests/Microsoft.Build.Sql.Tests.csproj --logger trx --results-directory /home/vsts/work/_temp --configuration Debug -p:TestAllNetVersions=true
2022-10-21T18:56:46.3914159Z   Determining projects to restore...
2022-10-21T18:56:47.3329293Z   Restored /home/vsts/work/1/s/test/Microsoft.Buld.Sql.Tests/Microsoft.Build.Sql.Tests.csproj (in 493 ms).
2022-10-21T18:56:47.3373905Z   1 of 2 projects are up-to-date for restore.
2022-10-21T18:56:47.4955792Z /opt/hostedtoolcache/dotnet/sdk/7.0.100-rc.2.22477.23/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(257,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/home/vsts/work/1/s/test/Microsoft.Buld.Sql.Tests/Microsoft.Build.Sql.Tests.csproj::TargetFramework=net6.0]
2022-10-21T18:56:48.0261346Z   Microsoft.Build.Sql -> /home/vsts/work/1/s/src/Microsoft.Build.Sql/bin/Debug/netstandard2.1/Microsoft.Build.Sql.dll
2022-10-21T18:56:48.0357000Z   Using DacFx version '160.6161.0'
2022-10-21T18:56:49.4529022Z /opt/hostedtoolcache/dotnet/sdk/7.0.100-rc.2.22477.23/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(221,5): warning NU5048: The 'PackageIconUrl'/'iconUrl' element is deprecated. Consider using the 'PackageIcon'/'icon' element instead. Learn more at https://aka.ms/deprecateIconUrl [/home/vsts/work/1/s/src/Microsoft.Build.Sql/Microsoft.Build.Sql.csproj]
2022-10-21T18:56:49.4535819Z   Successfully created package '/home/vsts/work/1/s/src/Microsoft.Build.Sql/bin/Debug/Microsoft.Build.Sql.1.0.0.nupkg'.
2022-10-21T18:56:49.9551365Z   Microsoft.Build.Sql.Tests -> /home/vsts/work/1/s/test/Microsoft.Buld.Sql.Tests/bin/Debug/net6.0/Microsoft.Build.Sql.Tests.dll
2022-10-21T18:56:49.9741718Z   Copied SDK package from '../../src/Microsoft.Build.Sql/bin/Debug/Microsoft.Build.Sql.1.0.0.nupkg' to '/home/vsts/work/1/s/test/Microsoft.Buld.Sql.Tests/pkg/'
2022-10-21T18:56:49.9920454Z   Copied SDK package from '../../src/Microsoft.Build.Sql/bin/Debug/Microsoft.Build.Sql.1.0.0.nupkg' to '/home/vsts/work/1/s/test/Microsoft.Buld.Sql.Tests/pkg/'
2022-10-21T18:56:50.0423778Z Test run for /home/vsts/work/1/s/test/Microsoft.Buld.Sql.Tests/bin/Debug/net6.0/Microsoft.Build.Sql.Tests.dll (.NETCoreApp,Version=v6.0)
2022-10-21T18:56:50.2185943Z Microsoft (R) Test Execution Command Line Tool Version 17.4.0 (x64)
2022-10-21T18:56:50.2188336Z Copyright (c) Microsoft Corporation.  All rights reserved.
2022-10-21T18:56:50.2257366Z
2022-10-21T18:56:50.3693265Z Starting test execution, please wait...
2022-10-21T18:56:50.4246938Z A total of 1 test files matched the specified pattern.
2022-10-21T18:57:49.5177102Z Results File: /home/vsts/work/_temp/_fv-az105-760_2022-10-21_18_57_00.trx
2022-10-21T18:57:49.5179140Z
2022-10-21T18:57:49.5256823Z Passed!  - Failed:     0, Passed:     9, Skipped:     0, Total:     9, Duration: 57 s - Microsoft.Build.Sql.Tests.dll (net6.0)
2022-10-21T18:57:52.8679731Z Result Attachments will be stored in LogStore
2022-10-21T18:57:52.9268559Z Run Attachments will be stored in LogStore
2022-10-21T18:57:53.0855993Z Info: Azure Pipelines hosted agents have been updated and now contain .Net 5.x SDK/Runtime along with the older .Net Core version which are currently lts. Unless you have locked down a SDK version for your project(s), 5.x SDK might be picked up which might have breaking behavior as compared to previous versions. You can learn more about the breaking changes here: https://docs.microsoft.com/en-us/dotnet/core/tools/ and https://docs.microsoft.com/en-us/dotnet/core/compatibility/ . To learn about more such changes and troubleshoot, refer here: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/build/dotnet-core-cli?view=azure-devops#troubleshooting
2022-10-21T18:57:53.0916645Z ##[section]Async Command Start: Publish test results
2022-10-21T18:57:53.3537958Z Publishing test results to test run '1484802272'.
2022-10-21T18:57:53.3578854Z TestResults To Publish 9, Test run id:1484802272
2022-10-21T18:57:53.3626217Z Test results publishing 9, remaining: 0. Test run id:<PHONE_NUMBER>
2022-10-21T18:57:54.3395003Z Published Test Run : https://msdata.visualstudio.com/SQLToolsAndLibraries/_TestManagement/Runs?runId=1484802272&_a=runCharts
2022-10-21T18:57:54.5980385Z ##[section]Async Command End: Publish test results
2022-10-21T18:57:54.5982798Z ##[section]Finishing: .NET Test

Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
[Insert error from the logs here for a quick overview]

I'm also experiencing this issue. I want to add that it's a great mechanism to simply ignore issues just to let a bot 'complete' them although the issue has note even been investigated. I wonder why users should give feedback just for it to be ignored.
Why do I write this? Because I've had seen this in the past a dozen times with Microsoft-related software: Nothing happens and because of that, the issue is closed.


[fix][doc] Fix links to find older PIPs

Modifications
@tisonkun has added automatic labeling, so now we can easily find PIP PRs based on PIP label, so link was updated to make it easier to find the next number to use for next PIP someone will write.
Also updated prefix matching existing rules of template naming, as discussed.
Verifying this change

[ ] Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[x] doc
[ ] doc-required
[ ] doc-not-needed
[ ] doc-complete

I'll merge https://github.com/apache/pulsar/pull/20560 first.

Merging..
This has already reached consensus. Thank @asafm to update the docs.


[Bug?] Trying to join a consumer group indefinitely

If this is a bug report, please fill out the following:

Version of Ruby: 2.6.3p62
Version of Kafka: 2.4.1 (heroku-kafka:standard-0)
Version of ruby-kafka: 1.1.0

Please verify that the problem you're seeing hasn't been fixed by the current master of ruby-kafka.
Doesn't seem like it has been fixed.
Steps to reproduce
Restart a consumer process (in Heroku). It only happens sometimes, and so far we only noticed it when the restart is initiated by Heroku instead of a normal deploy but it could just be by chance.
Expected outcome
The consumer would start, join the group, and start processing messages.
Actual outcome
The consumer stays in a loop trying to join the consumer group but fails indefinitely until it is restarted manually.
It starts by retrying like this:
2020-07-19T00:27:31.74778+00:00 host app kafka_consumer.1 - Joining group `performance_stats_es`
2020-07-19T00:27:31.747875+00:00 host app kafka_consumer.1 - Fetching cluster metadata from kafka+ssl://ec2-redacted.compute-1.amazonaws.com:9096
2020-07-19T00:27:32.038725+00:00 host app kafka_consumer.1 - Discovered cluster metadata; nodes: ec2-redacted.compute-1.amazonaws.com:9096 (node_id=0), ec2-redacted.compute-1.amazonaws.com:9096 (node_id=2), ec2-redacted.compute-1.amazonaws.com:9096 (node_id=3)
2020-07-19T00:27:33.864019+00:00 host app kafka_consumer.1 - There are no partitions to fetch from, sleeping for 5s
2020-07-19T00:27:38.864331+00:00 host app kafka_consumer.1 - There are no partitions to fetch from, sleeping for 5s
2020-07-19T00:27:42.356492+00:00 host app kafka_consumer.1 - [join_group] Timed out while waiting for response 2
2020-07-19T00:27:42.356803+00:00 host app kafka_consumer.1 - Connection error while trying to join group `performance_stats_es`; retrying...
2020-07-19T00:27:43.358034+00:00 host app kafka_consumer.1 - Joining group `performance_stats_es`

Then like this:
2020-07-19T00:28:18.136462+00:00 host app kafka_consumer.1 - Joining group `performance_stats_es`
2020-07-19T00:28:18.136569+00:00 host app kafka_consumer.1 - Fetching cluster metadata from kafka+ssl://ec2-redacted.compute-1.amazonaws.com:9096
2020-07-19T00:28:18.413302+00:00 host app kafka_consumer.1 - Discovered cluster metadata; nodes: ec2-redacted.compute-1.amazonaws.com:9096 (node_id=0), ec2-redacted.compute-1.amazonaws.com:9096 (node_id=2), ec2-redacted.compute-1.amazonaws.com:9096 (node_id=3)
2020-07-19T00:28:18.866894+00:00 host app kafka_consumer.1 - There are no partitions to fetch from, sleeping for 5s
2020-07-19T00:28:20.818791+00:00 host app kafka_consumer.1 - Joined group `performance_stats_es` with member id `ruby-kafka-06797ce5-c8eb-4ae1-b560-b271cea0599a`
2020-07-19T00:28:23.867229+00:00 host app kafka_consumer.1 - There are no partitions to fetch from, sleeping for 5s
2020-07-19T00:28:28.867534+00:00 host app kafka_consumer.1 - There are no partitions to fetch from, sleeping for 5s
2020-07-19T00:28:30.819315+00:00 host app kafka_consumer.1 - [sync_group] Timed out while waiting for response 3
2020-07-19T00:28:30.819636+00:00 host app kafka_consumer.1 - Connection error while trying to join group `performance_stats_es`; retrying...
2020-07-19T00:28:31.820809+00:00 host app kafka_consumer.1 - Joining group `performance_stats_es`

Later on it will also starting printing, while still trying to join the group:
2020-07-19T00:35:28.896276+00:00 host app kafka_consumer.1 - Reached max fetcher queue size (100), sleeping 1s

Which is odd because I wouldn't expect it to fetch messages if it fails to join the consumer group. Regardless, no messages are processed.
When we eventually restart the process, the SIGTERM signal terminates the fetcher thread but it still continues to try to join the consumer group until it is SIGKILL'ed.
The new process only manages to join the consumer group a couple of minutes after the previous process is SIGKILL'ed. Here is an example when that happens and from there it behaves as expected.
2020-07-19T00:40:48.629825+00:00 host app kafka_consumer.1 - Joining group `performance_stats_es`
2020-07-19T00:40:48.629905+00:00 host app kafka_consumer.1 - Fetching cluster metadata from kafka+ssl://ec2-redacted.compute-1.amazonaws.com:9096
2020-07-19T00:40:48.90397+00:00 host app kafka_consumer.1 - Discovered cluster metadata; nodes: ec2-redacted.compute-1.amazonaws.com:9096 (node_id=0), ec2-redacted.compute-1.amazonaws.com:9096 (node_id=2), ec2-redacted.compute-1.amazonaws.com:9096 (node_id=3)
2020-07-19T00:40:50.938604+00:00 host app kafka_consumer.1 - There are no partitions to fetch from, sleeping for 5s
2020-07-19T00:40:55.938981+00:00 host app kafka_consumer.1 - There are no partitions to fetch from, sleeping for 5s
2020-07-19T00:40:59.204298+00:00 host app kafka_consumer.1 - [join_group] Timed out while waiting for response 2
2020-07-19T00:40:59.204653+00:00 host app kafka_consumer.1 - Connection error while trying to join group `performance_stats_es`; retrying...
2020-07-19T00:41:00.204938+00:00 host app kafka_consumer.1 - Joining group `performance_stats_es`
2020-07-19T00:41:00.205048+00:00 host app kafka_consumer.1 - Fetching cluster metadata from kafka+ssl://ec2-redacted.compute-1.amazonaws.com:9096
2020-07-19T00:41:00.498095+00:00 host app kafka_consumer.1 - Discovered cluster metadata; nodes: ec2-redacted.compute-1.amazonaws.com:9096 (node_id=0), ec2-redacted.compute-1.amazonaws.com:9096 (node_id=2), ec2-redacted.compute-1.amazonaws.com:9096 (node_id=3)
2020-07-19T00:41:00.939355+00:00 host app kafka_consumer.1 - There are no partitions to fetch from, sleeping for 5s
2020-07-19T00:41:01.267279+00:00 host app kafka_consumer.1 - Joined group `performance_stats_es` with member id `ruby-kafka-71107678-ed6c-47cd-85a5-d6f08f8d761b`
2020-07-19T00:41:01.267292+00:00 host app kafka_consumer.1 - Chosen as leader of group `performance_stats_es`

(I will check how a normal restart behaves and see if there is anything interesting in the logs to compare with these ones.)
Should the client have a configuration to terminate itself if it can't join a group after a number of attempts? Anything else I can do to help understand what is happening here?
It appears to be a concurrency issue but I can't pinpoint where or why.

Are you doing something funky with threads?

We initialize a consumer, subscribe to a few topics, and then call each_batch and schedule Sidekiq jobs from the messages. So nothing funky with threads.
I think this started to happen after we upgraded to 1.1.0. There are at least two PRs that make changes around that area, e.g. #818 #817. Although, it is possible it was an Heroku issue since it seems to fail due to timeouts and we haven't had any issues for a full week now.
Nevertheless, the client behaviour is not great. The thread that joins the consumer group just loops forever and when consumer.stop is called the thread still doesn't exit and the process needs to be SIGKILL.
Since it is impossible to avoid network errors I was wondering if having a maximum number of attempts when trying to join a consumer group would be a good thing? In our use case, if the process died after failing to join the consumer group, it would then restart and hopefully join the group successfully after. It would avoid having to manually restart it.

We effectively "solved" this by terminating a consumer that fails to join a group after a certain amount of time so it auto-restarts. Not pretty but it does the trick.
Thread.new do
  sleep 10.minutes
  next if consumer.instance_variable_get(:@group).member?

  consumer.stop
  exit 1
end


[Bug]: Shopify theme init is not working

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
Theme
Expected behavior
By running command shopify theme init i get this error every time , i have re installed  node, ruby dev kit , git, and shopify cli  to ensure my system is working properly but getting this error again and again. Here it is for your reference--
Actual behavior
Receiving objects:  33% (7722/23398), 14.20  │B | 222.00 KiB/s error: RPC failed; curl 18      │98), 14.37 MiB | 233.00 KiB/s │  transfer closed with outstanding read data remaining                                                              │ │  error: 7436 bytes of body are still expected                                                                      │ │  fetch-pack: unexpected disconnect while reading sideband packet                                                   │ │  fatal: early EOF                                                                                │ │  fatal: fetch-pack: invalid index-pack output
Verbose output

2024-04-10T04:10:13.552Z: Unable to log analytics event - no information on executed command
2024-04-10T04:10:13.558Z: Reporting handled error to Bugsnag: Cloning into 'G:/Next projects/Shopify Theme/OxiBT'...
remote: Enumerating objects: 23360, done.
remote: Counting objects: 100% (105/105), done.
remote: Compressing objects: 100% (62/62), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 2554 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

Reproduction steps
1.Checked my node
2.Checked my ruby version
3.Checked shopify cli version
to ensure everything installed properly
Operating System
Windows 11
Shopify CLI version (check your project's package.json if you're not sure)
Current Shopify CLI version: 3.58.2
Shell
Git bash
Node version (run node -v if you're not sure)
Node.js v20.11.1
What language and version are you using in your application?
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x64-mingw-ucrt]

is there anyone who could help??

If you don't mind kindly let have few discussions on the theme issue so kindly follow me back so we can discuss


[FR] The community version provides support for file read and write pages, which can record read and write operations on files. Users can view key information such as the time of file read and write, the writer, and the file path, so that they can promptly detect and handle abnormal behavior.

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Viewing from the process perspective: monitor the files that the process has accessed, and monitor the file size. If the file size and the process's I/O read/write rate operate within specified values, an alert will be triggered to avoid exceeding the lifespan of the SSD hard drive.
The community version provides support for file read and write pages, which can record read and write operations on files. Users can view key information such as the time of file read and write, the writer, and the file path, so that they can promptly detect and handle abnormal behavior.
Use case

Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

具体想要什么样的面板、展示什么内容详细的说一下

i want panel and table like bellow:    how to generate sql ？where to perform ？

Process Name
Process ID
Signal Source
Event Type
Event Information
File Path
Start Time
End Time

mysqld
2123
IO
Write
process runc (170781) wrote 6 bytes and took 7ms
/var/local/mysql/xx.data
2023-09-21 15:08:35.362653
2023-09-21 15:08:35.370104

mysqld
2123
IO
Read
process runc (170781) read 600 bytes and took 7ms
/var/local/mysql/xx.data
2023-09-21 15:08:35.362653
2023-09-21 15:08:35.370104


[WIP][CARBONDATA-1608]Support Column Comment for Create Table

add column comment during carbon create table and when table is described if comment is not mentioned, default comment will be null
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[*] Make sure the PR title is formatted like:
[CARBONDATA-<Jira issue #>] Description of pull request

[*] Make sure to add PR description including
-create carbon table with column comment is added in this PR, previously there was no option for column comment, now it has been added
-for implementing this, the parser has been edited to get column comment and instead of checking its encoding technique to display in desc sql, we can just show the comment for that specific column if any, if there are no comment for the columns, the default value is null
- the root cause/problem statement
- What is the implemented solution

[*] Any interfaces changed?
NONE

[*] Any backward compatibility impacted?
NONE

[*] Document update required?
NONE

[*] Testing done

test cases are added for this
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[*] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/1300/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/1301/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/664/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/1302/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/665/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/673/

@manishgupta88 please review

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/1310/

@jackylk please review

@gvramana please review

@ravipesala please review

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1171/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/1748/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1176/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/1752/


Efficient collision detection?

On the one hand, iterating all entities to check for collision detection could be expressed as an elegant and concise rule. On the other hand, the naive rule will be grossly inefficient in the presence of many entities moving on each tick, leading to O(n^2) checks. What would be the recommendation? Is there an efficient ruleset to use, or should collision detection have its own implementation and just be fed data from the session?
I reckon uniform grid might be expressed as a ruleset and still be relatively efficient:

Have a rule that derives which entities present in which cells.
Have another rule that checks collisions for all entities spotted in the same cell.

What do you think? Would expressing it as a ruleset introduce significant overhead? Are there any other options?

Yeah I think you just need to partition your entities so you can skip unnecessary collision checks. I'm not sure what you mean by "expressing it as a ruleset" though, maybe rephrase that.

By "expressing it as a ruleset", I meant something that relies on joins to aggregate information. E.g. something like having
[id1 :entity-type t1]
[id1 :grid-position p]
[id2 :entity-type t2]
[id2 :grid-position p]

in :what and then maybe checking for actual collision in :when and then inserting derived fact about it in :then.
As opposed to having just
[id :entity-type t]
[id :grid-position p]
[:global :grid-content grid-content] ;; map of grid cell to entities spotted there

and doing all the checking inside the rule that is interested in finding out if the entity is colliding / is blocked by smth.

If you're going to do it the first way I definitely recommend collecting things in derived facts to reduce the number of joins, like explained here.


Showing "Given,When,Then" steps in output of the tests

Hi all,
I started using cypress-cucumber-preprocessor recently and I'm really fond of it!
I have a question when executing the scenario's. I would like to see the actual "Given, When, Then" steps in the main output of the tests. It now shows the scenario titles in the output (also in the terminal) and the steps are somewhat hidden inside the actual step behind a log-command. Is this normal behaviour or am I missing something?

Note that I am using the "Given" step in the Background in the example above.

Hey, thanks!
:-)
Unfortunately, this is caused by:
https://github.com/TheBrainFamily/cypress-cucumber-preprocessor/pull/44
We don't have control over when cypress clears out things like local storage/sessions/cookies , having all steps treated as a separate scenario (to show nicely in the cypress UI) was causing cypress to reset the state between them, which was a no-go.
Once cypress allows for changing the way it behaves (which is coming, supposedly), we will be able to revert that change

So is this feature now released with the latest version? If so, how can I see this report?


Optimize repository for use with Octane

So that this package works with Laravel Octane, we need to replace any dependency injection of the container, HTTP request and config repository with lazy loading injections. As per these docs:
https://laravel.com/docs/8.x/octane#dependency-injection-and-octane

And here's the missing piece that I thought was inevitable that they'd have to introduce... new container singletons that are flushed before handling a new HTTP request or queued job, via the scoped() method on the container:
https://laravel.com/docs/8.x/container#binding-scoped

I'd love to see octane support with this package.  has there been any traction on this?

No, haven't had time yet to do this as I've had very little Open Source time recently. If someone had time to help out, this issue might be good for PRs? The first step with this issue is to identify which singletons need to be modified to either scoped() bindings or to follow the pattern suggested in the Octane docs linked above.

I've made these changes, and they will be included in the 2.0 release. I believe they should work with Octane, but as I'm not using Octane it's a bit difficult to tell for sure. If anyone is using Octane and can give the 2.0 release a go when it's tagged, that'll be appreciated!

I can test this out on 2.0 when tagged. Just @ me.

@plunkettscott are you able to test out before I tag 2.0?
You can install by setting your minimum-stability to dev in composer.json then running:
composer require laravel-json-api/laravel:^2.0 --no-update
composer up laravel-json-api/*

Looks good. I haven't been able to inspect for memory leaks or anything yet, but if I notice them I'll report them.


The release contains a trojan RDN/Generic.dx with McAfee AV. False positive ?

No it doesn't.  So it can be interesting for you to submit your file to McAfee to to fix that.
Greetings to you and your family.

McAfee is a cheap knockoff. Stop using the free version and get a real Antivirus.

It's the enterprise version with virus definition update every 15 minutes. So I won't be the last person with that issue.

McAfee is crapware period.
https://www.virustotal.com/file/2320b5b2c88ec6234df56273367adf982c330fa5a8a4deca4606853c0866f872/analysis/1505555330/
Notice how all the real AntiVirus's say it's clean?
And just so you are aware, GitHub is an OPEN SOURCE forum which means that anything and everything has it's source code available to the public for viewing. Now I dare you to look through the source code of my GitHub Portable and tell me where you see any malicious code.
It's people like you who don't know anything about anything who give us small time developers a bad name. Do some research before you make a outlandish accusation like that again.

I had a doubt because you uploaded an exe file on your repo.

I have been using the Portable (who is a reliable source as well) and so far I have not been infected by anything, even running it out of any virtual environment.
I have sent the same portable to various other Anti-Virus companies for a scan, which leads to nothing.
Regards

Thanks @DoomStorm

@tsenay I'd like to apologies for my rough response above. To my defense, however, I want you to know that I have no patience for things like this. Saying someone's work has a virus can really hinder a man's credibility for anything else he might develop.

I also should be more factual. I’m not a frequent user of Windows, I mostly work on Linux. So I Learned today that antivirus are not accurate. Linux rules!!


add TypeInfo, Serialize to CallType

@tdelabro can we clear the cache and run the test again, I don't understand why its failing, works fine locally.

After referring to pathfinder implementation for Simulate transaction, I think it would make more sense to create our own CallType enum. So closing this PR for now, will reopen if something changes.


Documentation doesn’t' reflect the changes added in version 2.5.1

[ X] I have checked that the [CLI documentation][cli-docs] and [API documentation][api-docs] doesn't solve my issue

Description of the Issue
Version 2.5.1 has been deployed but the documentation is still reflecting 2.4.0 commands e.g. there is no reference of the trash:restore commands.
Versions Used
Box CLI: 2.5.1
Operating System: Mac Catalina
Steps to Reproduce
Error Message, Including Stack Trace

#193


fix fix no error url when broker data quality error (#35643)

Proposed changes
cherry-pick from #35643

run buildall

run buildall


Appears to build to static URLs making it unmovable to another URL or service

The "yarn build" generates static HREFs (or incorrect HREFs) in the index.html restricting the JS App from being moved to another URL.
Output of index.html after yarn build:
<!doctype html>IP Studio Web

Resolved by adjusting "homepage" in package.json file
Changed package.json:
"homepage": "http://ipstudio-master.rd.bbc.co.uk/ips-web/", to
"homepage": ".",


Remove deprecated io/ioutil package

Follow-up to the commit:

ccad9e7 ("Remove deprecated io/ioutil package (#37)")

Signed-off-by: Krzysztof Wilczyński<EMAIL_ADDRESS>

Related to: https://github.com/app-sre/gabi/pull/37


Enhancement - organizer info to CalendarEvent

Providing organizer (email) info along with title, description, attendees, etc in Calendar retrieveEvents would be very useful as action like sending an email to organizer may be required by apps. Hope this could be added. Thx

This should be added now. If you feel there's something missing, feel free to open an issue and looking into submitting a PR


"Invalid block type found"

I created a tar file using the tar -cf command like it says on the Light-Untar-for-iOS documentation. When I run:
NVHTarGzip.shared().unTarFileAtPath(path, toPath: destinationPath, completion: { (error:NSError!) -> Void in
println("Finished (error)")
})
I get an error back with Code = 1 "Invalid block type found". I can't figure out what I'm doing wrong, any suggestions?

I defaulted back to the Light-Untar-for-iOS, and it worked. So not sure why this one wouldn't do it.

I tried to run unTarGzipFileAtPath on the file downloaded below and it gives "Invalid block type found" error too. Nothing was being output in the output path. I am not sure why.
https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.deu.tar.gz

Same for me, generated a tar.gz on my mac and get an error:
2015-10-28 09:21:35.834 monexio[9061:3116037] Error untarring Error Domain=io.nvh.targzip.tar.error Code=1 "Invalid block type found" UserInfo={NSLocalizedDescription=Invalid block type found}

This error manifested for me with tar/gzip files generated on the Mac with embedded .DS_Store files in the folder structure.
The solution was to remove the .DS_Store files, or to add the following just after line 234 in NVHTarFile.m (just after  case 'g':)...
 case ' ': // .DS_Store filea manifest with an empty string as it's type.

Hope this helps.


Font : Boomer ; Letter : e

i want to write code for letter e
font : e

@ahmad-kaif you working on this?


Spark/YARN Symbol 'type ammonite.interp.InterpAPI' is missing from the classpath.

Almond with Spark/Yarn giving error
I am using Almond via Docker image almondsh/almond:0.6.0-scala-2.12.8
Following the spark.ipynb example notebook I am getting errors when start Spark with YARN:
Load deps:
import $ivy.`org.apache.spark::spark-sql:2.4.3` // Or use any other 2.x version here
import $ivy.`sh.almond::almond-spark:0.4.0`

import org.apache.spark.sql._

Same with 0.5.0, but using 0.4.0 as there was an issue with ammonite-spark which required Ammonite 1.6.7 which is closer to what 0.4.0 uses... didn't help
val spark = {
  NotebookSparkSession.builder()
    .master("yarn")
    .config("spark.executor.instances", "3")
    .config("spark.executor.memory", "2g")
    .getOrCreate()
}

give:
cmd1.sc:104: Symbol 'type ammonite.interp.InterpAPI' is missing from the classpath.
This symbol is required by 'value org.apache.spark.sql.NotebookSparkSession.interpApi'.
Make sure that type InterpAPI is in your classpath and check for conflicting dependencies with `-Ylog-classpath`.
A full rebuild may help if 'NotebookSparkSession.class' was compiled against an incompatible version of ammonite.interp.
import _root_.org.apache.spark.sql.{
       ^cmd1.sc:2: could not find implicit value for parameter interpApi: ammonite.interp.InterpAPI
  NotebookSparkSession.builder()
                              ^Compilation Failed

I have the Hadoop conf dir mounted as a volume from the Resource manager container at /etc/hadoop/conf, and the environment variable YARN_CONF_DIR pointing to this directory.
Spark standalone mode does not work either.

Solved by assuring that the version of Almond loaded in the Notebook matches the installed version.
I guess an update to the doc's would solve this issue 8)
For example with Almond 0.6.0
import $ivy.`org.apache.spark::spark-sql:2.4.3`
import $ivy.`sh.almond::almond-spark:0.6.0`

import org.apache.spark.sql._

The version is automatically kept up to date in the regular docs: https://almond.sh/docs/usage-spark
For the example notebooks we might be able to add some templating mechanism but it's a bit more involved, so we still have to do it manually yet.
Keeping this open until we've updated the example notebook. @spmp feel free to submit a PR there if you'd like.

PR in https://github.com/almond-sh/examples/pull/14


[#1398] fix(mr)(tez): Make attempId computable and move it to taskAttemptId in BlockId layout. (#1418)

What changes were proposed in this pull request?
Before this PR, in MR and TEZ engine:

attemptId is in sequenceNo of BlockId instead of taskAttemptId.
attempId is fixed 6 bit.

After this PR:

attemptId is in taskAttemptId. This is more reasonable.
attempId is calculated from max num of allowed failures and whether speculative execution is enabled.

Why are the changes needed?
Fix: #1398
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing UT and integrated tests.

LGTM+1


Error when defining a custom_metric in the Trainer

Trainer fails when you define a custom_metric, even for small models and small batch sizes. I tried different metrics as well, but it always fails. If you remove the custom_metric everything works well. My suspicion is that it uses GRPC under the hood and the message buffer is limited to 4194304 bytes. If that is the case, maybe you can provide a custom way to redefine this value: i.e: Via env vars?
File "/home/ubuntu/Optimum/optimvenv/lib/python3.8/site-packages/torch_xla/core/xla_model.py", line 1224, in mesh_reduce
   return torch_xla._XLAC._xla_rendezvous(get_ordinal(), tag, payload, replicas)
   return torch_xla._XLAC._xla_rendezvous(get_ordinal(), tag, payload, replicas)
RuntimeError: tensorflow/compiler/xla/xla_client/mesh_service.cc:377 : **Failed to meet rendezvous 'nested_gather': Received message larger than max (250042240 vs. 4194304) (8)**
RuntimeError: tensorflow/compiler/xla/xla_client/mesh_service.cc:377 : Failed to meet rendezvous 'nested_gather': Received message larger than max (250042240 vs. 4194304) (8)
   return torch_xla._XLAC._xla_rendezvous(get_ordinal(), tag, payload, replicas)
RuntimeError: tensorflow/compiler/xla/xla_client/mesh_service.cc:377 : Failed to meet rendezvous 'nested_gather': Received message larger than max (250042240 vs. 4194304) (8)
   xdata = rendezvous(tag, bio.getvalue())
 File "/home/ubuntu/Optimum/optimvenv/lib/python3.8/site-packages/torch_xla/core/xla_model.py", line 1176, in rendezvous

Code to replicate the problem.
import os
import math
import torch
from evaluate import load
from datasets import load_from_disk

import transformers
from transformers import AutoTokenizer
from transformers import DataCollatorForLanguageModeling
from transformers import AutoModelForCausalLM, TrainingArguments
from optimum.neuron import TrainiumTrainer as Trainer

bf16=True
num_epochs=1
block_size = 128
output_dir='output'
learning_rate=5e-5
per_device_eval_batch_size=2
per_device_train_batch_size=2
model_id='bert-base-uncased'
dataset_path='datasets/eli5'

perplexity = load("perplexity", module_type="metric")

def compute_metrics(eval_pred):
    predictions, labels = eval_pred
    predictions = predictions[:, 0]
    return perplexity.compute(predictions=predictions, references=labels)

if __name__=='__main__':
    os.environ['TOKENIZERS_PARALLELISM'] = 'false'

    train_dataset=load_from_disk(os.path.join(dataset_path, 'train'))
    eval_dataset=load_from_disk(os.path.join(dataset_path, 'eval'))

    tokenizer = AutoTokenizer.from_pretrained(model_id)
    tokenizer.pad_token_id = 0

    data_collator = DataCollatorForLanguageModeling(tokenizer=tokenizer, mlm=False)

    model = AutoModelForCausalLM.from_pretrained(model_id,trust_remote_code=True)
    training_args = TrainingArguments(
        evaluation_strategy="epoch",
        learning_rate=learning_rate,
        weight_decay=0.01,
        bf16=bf16,
        num_train_epochs=num_epochs,
        output_dir=output_dir,
        overwrite_output_dir=True,

        per_device_train_batch_size=per_device_train_batch_size,
        per_device_eval_batch_size=per_device_eval_batch_size,
        logging_dir=f"{output_dir}/logs",
        logging_strategy="steps",
        logging_steps=500,
        save_strategy="epoch",
        save_total_limit=2,
    )

    trainer = Trainer(
        model=model,
        args=training_args,
        train_dataset=train_dataset,
        eval_dataset=eval_dataset,
        data_collator=data_collator,
        compute_metrics=compute_metrics
    )

    trainer.train()

    eval_results = trainer.evaluate()
    print(f"Loss: {eval_results['eval_loss']}")

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Thank you!

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Thank you!

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Thank you!

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Thank you!

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Thank you!

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Thank you!

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Thank you!

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Thank you!


gridsome build 0.5.0 throws error, 0.5.8 does not

Description
If I build my project with gridsome build where grisome has the version 0.5.0 I receive an error message, if I build the same project with gridsome version 0.5.8  the build process is frozen after the Compile assets step.
Expected result
The error message should occur in both versions.
Actual result
The error message in the 0.5.0 build is:
Gridsome v0.5.0

Initialize - 1.24s
Load sources - 0.24s
Create GraphQL schema - 0.26s
Set up routes - 0s
Generate code - 0.02s
Bootstrap finish - 1.76s
Run GraphQL (32 queries) - 0.14s
Compile assets - 21.75s
Failed to render /mein-better-hr/self-checks
ReferenceError: self is not defined
    at Object.<anonymous> (node_modules/whatwg-fetch/fetch.js:2:0)
    at __webpack_require__ (webpack/bootstrap:19:0)
    at Module.<anonymous> (assets/js/app.123f8d61.js:5127:84)
    at __webpack_require__ (webpack/bootstrap:19:0)
    at Module.<anonymous> (assets/js/app.123f8d61.js:78078:21)
    at __webpack_require__ (webpack/bootstrap:19:0)
    at Module.<anonymous> (src/.temp/routes.js:17:34)
    at __webpack_require__ (webpack/bootstrap:19:0)
    at Object.<anonymous> (assets/js/app.123f8d61.js:67520:18)
    at __webpack_require__ (webpack/bootstrap:19:0)

In gridsome 0.5.8 the build process is frozen:
Gridsome v0.5.8

Initialize - 1.24s
Load sources - 0.22s
Create GraphQL schema - 0.3s
Set up routes - 0s
Generate code - 0.02s
Bootstrap finish - 1.79s
Run GraphQL (32 queries) - 0.13s
Compile assets - 13.75s

Environment

Libs:
- gridsome version:0.5.0 and 0.5.8
- @gridsome/cli version: 0.0.9

For Tooling issues:
- Node version: 11.15.0
- Platform:  MacOS 10.14.4

Further debugging with the gridsome 0.5.0 version showed a problem with a non SSR compatible library, in this case with MongoDB Stitch Browser SDK:
Gridsome v0.5.0

Initialize - 1.6s
Load sources - 0.27s
Create GraphQL schema - 0.27s
Set up routes - 0s
Generate code - 0.02s
Bootstrap finish - 2.17s
Run GraphQL (32 queries) - 0.15s
Compile assets - 9s
Failed to render /mein-better-hr/self-checks
ReferenceError: self is not defined
    at Module../node_modules/whatwg-fetch/fetch.js (node_modules/whatwg-fetch/fetch.js:2:0)
    at __webpack_require__ (webpack/bootstrap:19:0)
    at Module../node_modules/mongodb-stitch-browser-core/dist/esm/core/internal/net/BrowserFetchTransport.js (node_modules/mongodb-stitch-browser-core/dist/esm/core/internal/net/BrowserFetchTransport.js:1:0)
    at __webpack_require__ (webpack/bootstrap:19:0)
    at Module../node_modules/mongodb-stitch-browser-core/dist/esm/index.js (node_modules/mongodb-stitch-browser-core/dist/esm/index.js:1:0)
    at __webpack_require__ (webpack/bootstrap:19:0)
    at Module../node_modules/mongodb-stitch-browser-sdk/dist/esm/index.js (node_modules/mongodb-stitch-browser-sdk/dist/esm/index.js:1:0)
    at __webpack_require__ (webpack/bootstrap:19:0)
    at Module../src/login-service.js (assets/js/app.daf3a88e.js:85226:84)
    at __webpack_require__ (webpack/bootstrap:19:0)

Futher testing with the different versions resulted in:

Two used non-SSR libraries was not included in the correct way.
After I have corrected the use of the libraries I can build with version `0.5.0'.
In version 0.5.1' and above (I tried '0.5.1', '0.5.2', '0.5.3 and the actual ' 0.5.8' ) the build get stuck after Compile assets.
This behavior is described in #366, the solution with vue-router does not solve my problem.

Thanks for testing all this :) Are you able to test your project with the latest code in the master branch too? You need to follow the contribution guide to set up your project within the core repo locally.

NP, I will test it with the latest code from the master branch on Saturday.

The master branch was published earlier today as 0.6. So you can test the latest version instead :)

@hjvedvik Sorry, this week I have no time ... Hopefully on next weekend 😉

I have camelCased fields in all of my GraphQL schemas, so I can't do any more tests with 0.6.x until APIs for letting plugins define their own schemas with custom resolvers are implemented.

Oh, I see. Which source plugins are you using?

I use @gridsome/source-filesystem

hi @hjvedvik any news for this issue?

I don't think the @gridsome/source-filesystem is going to camel case the field names It will just use the original name from the source. It was a breaking change in 0.6 because plugins need to have full control over this :)
But we are working on some methods which will allow you to define the schema yourself in a simple way if you want to have one casing in front-matter but another casing in the schema for example.

Hi @hjvedvik any progress on methods which will allow me to define the schema in a simple way if I want to have one casing in front-matter but another casing in the schema?

Hi @hjvedvik, I see your comment on https://github.com/gridsome/gridsome/issues/471#issuecomment-497703058, IMHO this could solve my problem, too.

@vorti2 Almost done :) I working in this PR #509

Have also got this error coming up when I try to build a page that includes VueMapbox:
ReferenceError: self is not defined
Not sure if there's something I need to do to ask gridsome to handle this component, is it related?

@tbredin: I'm currently experiencing the same issue when using the mapbox-gl package while running the gridsome build command. Would you be able to share the configuration which you mention?

@havardl , @tbredin Try run it inside  component or in mounted()

Hi @tomtev, I'm not sure if I'm missing something here, but when I require mapbox-gl inside mounted() as it says in the docs, I still get an error when running gridsome build. Here's the code and error output:
main.js:
import Vue from "vue";
import mapboxgl from "mapbox-gl";
export default function(Vue, { router, head, isClient }) {
  Vue.component("Layout", Layout);
  Vue.prototype.mapboxgl = mapboxgl;
}

MapBox.vue:
  mounted() {
    window.mapboxgl = require('mapbox-gl');
    this.map = new this.mapboxgl.Map(mapOptions);
  }

Error:
Gridsome v0.7.7
...
Could not generate HTML for "/404/":
ReferenceError: self is not defined
    at assets/js/app.333d20f1.js:1525:5342
    at define (node_modules/mapbox-gl/dist/mapbox-gl.js:22:0)
    at assets/js/app.333d20f1.js:1529:1
    at assets/js/app.333d20f1.js:1500:26
    at Object.<anonymous> (node_modules/mapbox-gl/dist/mapbox-gl.js:6:1)
    at __webpack_require__ (webpack/bootstrap:25:0)
    at Module.<anonymous> (assets/js/app.333d20f1.js:31993:17)
    at __webpack_require__ (webpack/bootstrap:25:0)
    at Object.<anonymous> (assets/js/app.333d20f1.js:2796:18)
    at __webpack_require__ (webpack/bootstrap:25:0)

@havardl not sure if this is it or not but, shouldn't you check you're running on the client before trying to do anything with window? https://gridsome.org/docs/client-api/#process-injections

@havardl and @tbredin I'm experiencing the same issue... How did you manage to resolve the issue?
I imported the mapbox-gl library inside main.js. Then, I referenced window.mapboxgl = require("mapbox-gl"); inside the mounted() hook of my map component.
I also wrapped my map component inside a <ClientOnly></ClientOnly> tag.
But I still get a ReferenceError: self is not defined error on build.

Did somebody get this sorted? Running into the same problem.

Following input from @tomtev, I resolved it with the following setup in my map component file:
data: function() {
 return {
  map: null
  }
},
mounted() {
 window.mapboxgl = require('mapbox-gl');
 const map = (this.map = new window.mapboxgl.Map(mapOptions));
}


Yay Swiss DB

Hi there,
Just started playing with Swiss DB today and having some fun. I might have a pull request or two to submit in a bit but I first want to make sure that I get basic things working first.
One problem I'm running into is that I'm not sure how to browse my database! Do you recommend a tool (sqlite browser)? Also I can't find my database. I see people sayings its in /data/data/... but I don't have a /data folder that I can find so I'm not sure where to start.
Thanks for the great tool, I really like what I see and hope I can contribute some code.
-KC

Hey @KCErb
To browse the database, connect adb and run sqlite through the terminal as described here:
or pull the file and open it in a Sqlite browser (there are a few.):
http://stackoverflow.com/questions/19194576/how-to-view-the-sqlite-database-in-device-android

Hi @jsilverMDX I got the basics of my app working and have a few thoughts comments and questions on SwissDB. I'm going to submit some of these as pull requests and won't be offended if you reject them. I'll open others as separate issues.
Thanks for your help and yes, I'd like an invite to RubyMotion Android Slack. I didn't know it existed!

Hey @KCErb that's great! Glad you were able to get it operational. I'll be
waiting to check out the PRs! Likely they will be modified and accepted
instead of outright rejected.  :)
On Wed, Oct 14, 2015 at 3:10 PM, KC Erb<EMAIL_ADDRESS>wrote:

Closed #5 https://github.com/jsilverMDX/SwissDB/issues/5.
—
Reply to this email directly or view it on GitHub
https://github.com/jsilverMDX/SwissDB/issues/5#event-435730282.

Hey @KCErb I got the link for you. You can sign up at
motioneers.herokuapp.com. There's an Android, iOS, TVOS and general room.
Thanks
On Wed, Oct 14, 2015 at 3:25 PM, Jonathan Silverman<EMAIL_ADDRESS>wrote:

Hey @KCErb that's great! Glad you were able to get it operational. I'll be
waiting to check out the PRs! Likely they will be modified and accepted
instead of outright rejected.  :)
On Wed, Oct 14, 2015 at 3:10 PM, KC Erb<EMAIL_ADDRESS>wrote:

Closed #5 https://github.com/jsilverMDX/SwissDB/issues/5.
—
Reply to this email directly or view it on GitHub
https://github.com/jsilverMDX/SwissDB/issues/5#event-435730282.

BTW the heroku app is broken :(

I'm asking around. I swear that link used to work lol
On Sat, Oct 17, 2015 at 11:27 AM, KC Erb<EMAIL_ADDRESS>wrote:

BTW the heroku app is broken :(
—
Reply to this email directly or view it on GitHub
https://github.com/jsilverMDX/SwissDB/issues/5#issuecomment-148936555.


Gabriella/implement calendar class

Fix #180
To be added:
Modify storage class

Codecov Report

Merging #182 into master will decrease coverage by 0.54%.
The diff coverage is 51.02%.

@@             Coverage Diff              @@
##             master     #182      +/-   ##
============================================
- Coverage     70.06%   69.52%   -0.55%
- Complexity      529      540      +11
============================================
  Files            79       80       +1
  Lines          1677     1726      +49
  Branches        206      217      +11
============================================
+ Hits           1175     1200      +25
- Misses          447      469      +22
- Partials         55       57       +2

Impacted Files
Coverage Δ
Complexity Δ

...in/java/seedu/address/model/calendar/Calendar.java
48.93% <48.93%> (ø)
11.00 <11.00> (?)

src/main/java/seedu/address/model/Planus.java
93.75% <100.00%> (+0.41%)
14.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9823f5f...ce81949. Read the comment docs.

Code copied and merged into addSubclassForTask. Refer to #197


Large Size Contribution of pdfrx Framework in iOS Build

Hello,
First of all, thank you for this great plugin and for the effort you’ve put into maintaining it!
I’ve noticed that the pdfrx.framework contributes significantly to the size of my iOS app bundle (approximately 5 MB), making it one of the largest dependencies in my project.

Is there any way to optimize the framework’s size?  Any guidance or recommendations would be greatly appreciated.

Currently, pdfrx uses only a part of pdfium and we can "potentially" remove unused functions.
But I didn't try it and don't know how much I can reduce the total size anyway.
The key is the table defined here.
I'm just grepped pdfrx_pdfium.dart with pdfium.FPDF[^(]+ and it lists the following functions actually used so far:
FPDF_InitLibraryWithConfig
FPDF_LoadDocument
FPDF_LoadMemDocument
FPDF_LoadCustomDocument
FPDF_GetLastError
FPDF_GetLastError
FPDF_GetPageCount
FPDF_GetDocPermissions
FPDF_GetSecurityHandlerRevision
FPDFDOC_InitFormFillEnvironment
FPDF_LoadPage
FPDF_GetPageWidthF
FPDF_GetPageHeightF
FPDFPage_GetRotation
FPDF_ClosePage
FPDFDOC_ExitFormFillEnvironment
FPDFDOC_ExitFormFillEnvironment
FPDF_CloseDocument
FPDFBookmark_GetFirstChild
FPDFBookmark_GetTitle
FPDFBookmark_GetTitle
FPDFBookmark_GetDest
FPDFBookmark_GetFirstChild
FPDFBookmark_GetNextSibling
FPDFBitmap_CreateEx
FPDF_LoadPage
FPDFBitmap_FillRect
FPDF_RenderPageBitmap
FPDF_FFLDraw
FPDF_ClosePage
FPDFBitmap_Destroy
FPDF_LoadPage
FPDFText_LoadPage
FPDFLink_LoadWebLinks
FPDFLink_CountWebLinks
FPDFLink_CountRects
FPDFLink_GetRect
FPDFLink_CloseWebLinks
FPDFText_ClosePage
FPDF_ClosePage
FPDFLink_GetURL
FPDFLink_GetURL
FPDF_LoadPage
FPDFPage_GetAnnotCount
FPDFPage_GetAnnot
FPDFAnnot_GetRect
FPDFPage_CloseAnnot
FPDF_ClosePage
FPDFAnnot_GetLink
FPDFLink_GetDest
FPDFLink_GetAction
FPDFAction_GetType
FPDFAction_GetDest
FPDFAnnot_GetLink
FPDFLink_GetAction
FPDFAction_GetType
FPDFAction_GetURIPath
FPDFAction_GetURIPath
FPDF_LoadPage
FPDFText_LoadPage
FPDFText_CountChars
FPDFText_ClosePage
FPDF_ClosePage
FPDFText_GetCharBox
FPDFText_GetText
FPDFDest_GetDestPageIndex
FPDFDest_GetView

I'll test how much we can reduce the size by referencing only these functions.

Contrary to my expectations, the result is not so good; 5051528 -> 5000904. It does not reduce the size...
So, it's too hard to reduce the binary size... pdfium itself is large.

The other way to reduce the total size of pdfrx is to replace pdfium with CGPDFDocument. But is's hard way. I should rewrite almost all pdfium related code for iOS/macOS...


About modal pattern

Can be converted from angular-patternfly:
http://www.patternfly.org/angular-patternfly/#/api/patternfly.modals.component:pfAboutModal
Pattern:
http://www.patternfly.org/pattern-library/communication/about-modal/

This available now


.

Hello @zhouyuchong thanks for the new update, but getting the error no module
from kbds.util.fdfs_util.fdfs_util import FastDfsUtil
ModuleNotFoundError: No module named 'kbds.util.fdfs_util'

Hello @syedmustafa54 I think the problem is @zhouyuchong forgot to comment  this line  comment that line and check the code.

@syedmustafa54 you can delete this line since there is no need to import this package. I'm using fastfdfs to upload images and npy files to server.


[feat] allow using Vite's strict.port option

Closes https://github.com/sveltejs/kit/issues/2467
This delegates port checking to Vite and allows you to set strict.port: false. I set the strict.port default to true, which is different than Vite's default value for backwards compatibility
The server startup message is printed twice, but that will be fixed when we upgrade to Vite 2.6. That upgrade will remove their startup message and leave only ours
This doesn't touch preview mode for now. It may be possible to use the Vite server in preview mode as well, but that would be blocked by an upgrade to Vite 2.6

Is there any cleanup we can do now - or would stuff like removing port-authority as a dependency happen after we also (hypothetically) switch to using Vite's server for preview as well?

Yeah, I don't think we could remove port-authority yet since it's still used in preview mode. Not sure if you had any other ideas for cleanup, but I don't think there's a whole lot more we could do at the moment


Added translation to max count photos message and portuguese translations

Need this one

@williamxsp - You can use now.
Happy Coding :)

how i can use this?


Make buyAssetAccount & sellAssetAccountId numbers across all swapper inputs

Overview
Make buyAssetAccount & sellAssetAccountId numbers across all swapper inputs
also rename them to sellAssetAccountNumber
References and additional details
see swapper useages in web & lib
Acceptance Criteria
Make buyAssetAccount & sellAssetAccountId numbers and rename them to sellAssetAccountNumber and buyAssetAccountNumber
Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

made a bounty
https://github.com/shapeshift/lib/issues/679


Add a GitHub Action

New Feature request
Summary
Add a GitHub Action on Marketplace to do all tasks above
Description
Be able to build any manifests, build custom stub, and finally build the phar

Prototype is already available (on private beta stage).
Here are some screenshots for teaser
Workflow graph

Artifacts built

Job Summary

Active Development was stopped with last version 3.5.1; No more features will be added to this project.


Issue & Task Tracking List

Summary
This issue is used to Track the tasks and issues from the other upstream or OCP projects.
Issue & Task List

[ ] https://github.com/intel/intel-data-center-gpu-driver-for-openshift/issues/29

[ ]  QAT firmware integration into OCP

I'd suggest to use Projects but it's up to you
Thanks for your reminder.
Just noticed that Github has this project feature for people to manage the project tasks. :-)

However
This tracking List is only used by us to track the issues or tasks filed in the other projects. You know after we triage and root cause some bugs to a specific project, we will file an issue in that project, and then just add one item to the checklist.  So we can track all the upstream or OCP issues and tasks we care about very easily.


🐛 BUG: Uncaught ReferenceError: global is not defined

Which Cloudflare product(s) does this pertain to?
Workers/Other, Wrangler
What version of Wrangler are you using?
2.13.0
What operating system are you using?
MacOs
Describe the Bug
I am trying to use node-jose package in my typescript worker. Everything seems to work locally but when I try to publish the changes with wrangle it throws Uncought ReferenceError: global is not defined
><EMAIL_ADDRESS>deploy
> wrangler publish

 ⛅ wrangler 2.13.0
--------------------
Total Upload: 1557.05 KiB / gzip: 273.26 KiB

✘ [ERROR] A request to the Cloudflare API (/accounts/<id>/workers/scripts/<worker>) failed.

  Uncaught ReferenceError: global is not defined
    at index.js:39952:7 in node_modules/node-jose/lib/index.js
    at index.js:15:50 in __require2
    at index.js:48105:32
   [code: 10021]

  If you think this is a bug, please open an issue at:
  https://github.com/cloudflare/workers-sdk/issues/new/choose

// packaget.json
{
  "name": "cloudflare-worker",
  "version": "0.0.0",
  "devDependencies": {
    "@cloudflare/workers-types": "^4.20230307.0",
    "@types/node-jose": "^1.1.10",
    "wrangler": "2.13.0"
  },
  "private": true,
  "scripts": {
    "start": "wrangler dev --local",
    "deploy": "wrangler publish"
  },
  "dependencies": {
    "fast-xml-parser": "^4.1.3",
    "itty-router": "^3.0.11",
    "moment": "^2.29.4",
    "node-jose": "^2.2.0"
  }
}

// index.ts
import { JWK, JWS } from "node-jose";
const handler: ExportedHandler<Env> = {
  fetch: async (req) => {
    const jwks = await fetch(
      "https://firebaseappcheck.googleapis.com/v1beta/jwks",
      {
        headers: {
          "content-type": "application/json;charset=UTF-8",
        },
      }
    );
      const keystore = await JWK.asKeyStore(awaitjwks.json());
      ...
  },
};

export default handler;

Hello 👋 ,
I appreciate the report, as an alternative we do have WebCrypto support. I will also raise this internally to see if there is something that can be support in our Node compatibility work.
@irvinebroque

The package is listed as supported node modules https://workers.cloudflare.com/works.

Thanks for raising that! We'll update that page. In the meantime, our up to date documentation for nodejs compatibility is at https://developers.cloudflare.com/workers/runtime-apis/nodejs/

Is there an update on this? I'm running into the exact same issue, but I don't see the documentation change on the referenced at https://workers.cloudflare.com/works and I can't get my code to build when following the instructions here: https://developers.cloudflare.com/workers/runtime-apis/nodejs/
I did

Set the correct compat flag in wrangler.toml
Called wrangler dev --experimental-local

I still get the following error on startup:
Delegating to locally-installed<EMAIL_ADDRESS>over global<EMAIL_ADDRESS>Run `npx wrangler dev --experimental-local` to use the local version directly.

 ⛅ wrangler 2.20.0
--------------------
Using vars defined in .dev.vars
Your worker has access to the following bindings:
- Vars:
  - FIREBASE_PROJECT_ID: "(hidden)"
  - FIREBASE_CLIENT_EMAIL: "(hidden)"
  - FIREBASE_PRIVATE_KEY_ID: "(hidden)"
  - FIREBASE_PRIVATE_KEY: "(hidden)"
  - FIRESTORE_API_URL: "(hidden)"
[NPXI] @miniflare/tre not available locally. Attempting to use npx to install temporarily.
[NPXI] Installing... (npx --prefer-offline -y -p<EMAIL_ADDRESS>[NPXI] Installed into /Users/alexmiller/.npm/_npx/cd4aba8655b5922f/node_modules.
[NPXI] To skip this step in future, run: npm install --save-dev<EMAIL_ADDRESS>[mf:wrn] The latest compatibility date supported by the installed Cloudflare Workers Runtime is "2023-05-12",
but you've requested "2023-05-15". Falling back to "2023-05-12"...
service core:user:auth: Uncaught ReferenceError: global is not defined
  at index.js:34199:7 in node_modules/node-jose/lib/index.js
  at index.js:18:50 in __require2
  at index.js:34376:32
✘ [ERROR] The Workers runtime failed to start. There is likely additional logging output above.

May I know if you are able to fix this? am facing same issue.

fwiw I was able to get this working by doing https://github.com/cloudflare/workers-sdk/issues/4256#issuecomment-1774217573


[core/ FEAT] Early version of pack / unpack int4 / int2 weights in uint8

What does this PR do?
Currently the int4 and int2 are stored in a int8 tensor which makes it not that memory efficient when quantizing the model
This PR introduces a new feature which is int4 / int2 weights packing in int32 in order to be more memory efficient at inference.
TODOs

[ ] expose a implement a faster version of unpck in C++ and use that method instead of the python version
[x] Implement tests

Draft for now
cc @dacorvo @SunMarc

I have refactored the pack / unpack methods to avoid iterating over the output rows:
https://github.com/huggingface/quanto/commit/16781a88ac835b9618cba77d15ac38adffb29841
I have also added a check to avoid packing if the input row is not a multiple of 8 // bits, and added more tests:
https://github.com/huggingface/quanto/commit/684aff6a854ebb77c08597de5405d7f89019fcf1
Feel free to cherry-pick those commit or just adapt them.

I have solved the last two issues:

use power-of-two mul / div instead of lshift / rshift on MPS devices: f61b83dfb69263370772a259d010068e65d65a53
correctly set shape when data tensor is packed: 8f59e0b810953c381e9e2e86384d73356cddac9f

With that last change, I am able to run the MNIST example with int4 packed weights, reaching:

an accuracy of 93 % without fine-tuning,
an accuracy of 95 % after fine-tuning (QAT).
Being able to run QAT on int4 weights with packed tensors is no small feat: I don't know many python libraries that support that (bitsandbytes with qlora maybe ?).


GitHub Pull Requests extension is making too many requests to GitHub

I am receiving this notification:
The GitHub Pull Requests extension is making too many requests to GitHub. This indicates a bug in the extension. Please file an issue on GitHub and include the output from "GitHub Pull Request".
When I open a pull request, the extension makes many requests to GitHub. This causes delays and errors in Visual Studio Code.
I have tried restarting Visual Studio Code and uninstalling and reinstalling the GitHub Pull Requests extension, but the problem persists.
I hope you can help me resolve this issue.

I'm still learning how to use GitHub. This is happening when I open Visual Studio Code and go to the "Source control" section. The text I mentioned in my first message appears below at that moment. I'll try to send you a screenshot. Please let me know how to proceed depending on what you need.

Getting the same, I am suspecting the reason is that I have many folders (15) open in the workspace, and that this plugin is querying PRs for all of them too quickly?

Getting the same, I am suspecting the reason is that I have many folders (15) open in the workspace, and that this plugin is querying PRs for all of them too quickly?

 I've removed this error for non-enterprise repos. The error was intended to prevent too many requests in too short a time, but it has turned out to be too noisy. The new version with the error removed should be available later today.


Delete protocol

When we delete a document from a local repo, all it does set the local handle to a deleted state, emit an event and remove from local storage.
While there is a test to ensure that a deleted document can be refetched, I don't think this works as expected. For example, while we remove the local handle from the cache, we don't delete the local synchronizer, nor do we inform the network that we have have deleted the document.
I would suggest that we should remove the local synchronizer and probably inform the network of the deletion. Relevant peers should then remove the peer from their list of peers to synchronize with. This is if particular relevance to a sync server, which would otherwise look to continue syncing changes it receives from elsewhere.
At some point we should add a hook which a peer can use to determine if there is anything else which should be done with a delete message. For example, if you deleted in one tab, you might want to delete in a service worker and all other tabs but just stop syncing from your sync server.

Also worth writing a test to check that if a document (which has not previously been synched with another peer) has been deleted, that it cannot be requested by another peer.


Fix commits save

Description
Fix sql statment for psql
FIXES: THEEDGE-2648
Type of change
What is it?

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[ ] Refactor

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.01 :tada:

Comparison is base (c6ff59b) 58.14% compared to head (72a12a0) 58.15%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1944      +/-   ##
==========================================
+ Coverage   58.14%   58.15%   +0.01%
==========================================
  Files          71       71
  Lines       10082    10085       +3
==========================================
+ Hits         5862     5865       +3
  Misses       3701     3701
  Partials      519      519

Impacted Files
Coverage Δ

pkg/clients/imagebuilder/client.go
71.64% <100.00%> (+0.22%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[COURSE] Add Cambridge: Semantics of Programming Languages

@PKUFlyingPig Have fixed the format errors mentioned with the review in the new commit. Please have a check.


build: Turn on "treat warnings as errors" on Win

Address compiler warnings:

Suppress warnings for inconsistently redefined snprintf
on Windows with Visual Studio < 2015.  Warnings for
preprocessor redefinitions are still enabled on VS 2015
because snprintf is not redefined on VS 2015.

Turn off "changed behavior" warning with Visual Studio < 2015
for using initializers in constructors.  MSFT "fixed" some
forms of these initializers so that they clear members instead
of just leaving them alone.  Since clearing is usually desired,
this isn't a problem in most cases.  But if an object is
reinstantiated on top of an existing object, via placement new
for example, the clearing may not be desired if the first object's
data was meant to be preserved.  We don't count on this behavior.

Suppress linker warning for linking the loader in debug build on
Windows.  This warning is for mismatched runtime libraries and
causes extra code to be linked in only for debug builds.  Ignoring
the warning is generally regarded as better than the alternatives.

Change-Id: I8b0e311d3c80a8dd9ac0cc95f764ed1123efa86f

Pushed to master


CLOUDP-164972: Migrate Atlas CLI "Projects" Client to v2 SDK Client

Proposed changes

Jira ticket: CLOUDP-164972

Closes #[issue number]
Checklist

[ ] I have signed the MongoDB CLA
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added any necessary documentation in document requirements section listed in CONTRIBUTING.md (if appropriate)
[ ] I have addressed the @mongodb/docs-cloud-team comments (if appropriate)
[ ] I have updated test/README.md (if an e2e test has been added)
[ ] I have run make fmt and formatted my code

Further comments

Closing Investigative PR.


(maint) Distribute JSON schemas from Puppet Forge

We now have proxies set up to distribute the JSON schemas from
forgeapi.puppet.com. This updates the documentation for using the JSON
schemas and the references to bolt-transport-definitions.json to
reflect this change.
!no-release-note

CLA signed by all contributors.

Needs a rebase


Please invite me to the GitHub Community Organization

Please invite me to the GitHub Community Organisation.

Name: Navachethan Murugeppa

Discord Username(if exists): Navachethan#5533

Additional Context:   I came across this open source organization in github recommended repositories.

  I am a noob in the world of open source so would like to join open source organizations and learn their culture of working together across the globe and more specifically the skills to manage people with different diversities in thought and culture that enhances the quality of open source, and apply the same with my peer organization. I would like to put in my thoughts as well and put effort to work with teams and be a part of open source community soon. Thank you

Hi, @Navachethan-Murugeppa
You are yet to accept the invitation sent to your email address. Please do so now because it expires.


Fix timezone metadata inference on parquet load

[ ] Tests added / passed
[ ] Passes flake8 dask

Will not pass until https://github.com/dask/fastparquet/pull/411 is merged and released
Fixes #4640 (but not very elegantly!)

Does anyone know in which version of pyarrow timezones were added to the metadata?

I believe this PR is fine from the codecov perspective. I'm still trying to understand what's going on with codecov, and I think it doesn't like PRs that don't have it's configuration file in it for some reason.
@martindurant would you mind merging current master in your branch so we can see if that solves codecov's complaints?

It looks like Travis never returned its status here, it's been waiting for completion for about 12h now, but all tests have passed. Don't hold this due to that or codecov, go ahead and merge once reviewers are good ok with the changes.

Would someone like to review this? I'll probably merge this evening if no one speaks.


Seems to crash on Arrow functions

Using arrow functions with Babel as my transpiler.  Running esdoc, I'm getting an error using code like this.
this.getIframe = (what) => {     ...code here... };
Get this error:
this.getIframe = (what) => {
                        ^^
SyntaxError: Unexpected token =>

@soluml Hi! Thanks for this issue.
Please tell me repository url or minimum code for reproducing this issue.


Add 1fichier

What is the purpose of this change?
Add download support for 1Fichier
Was the change discussed in an issue or in the forum before?
Checklist

[x] I have read the contribution guidelines.
[ ] I have added tests for all changes in this PR if appropriate.
[ ] I have added documentation for the changes if appropriate.

[x] I'm done, this Pull Request is ready for review :-)

Looks like you are making great progress - well done :-)
How does 1fichier work? Can you upload and download files to it? I don't really understand what it is for!
What sort of account do you need to try this?
This appears to have upload support too now?
Did you try running the integration tests?  Can you add a fichier_test.go file?

You could upload to it, but I didnt got it to work. So this is just a readOnly remote for it, for downloading "MyFiles" and SharedFolders. You need an account that has access to an API Key.

Ah I see...
We can't run the integration tests until we can read and write to the backend.
What do you think about having a go at writing too?

I already started it but the docs aren't really good and I didn't got it to work

I already started it but the docs aren't really good and I didn't got it to work

My preference would be not to merge this until we have write support.  We can't run the integration tests without write support and without the integration tests we haven't exercised the backend properly :-(
Would you like me to help with the upload routines?  Where did you get to?

I added the functions for the API but didnt got the authentication and upload itself to work.

is there any progress on this?

Ooof forgot i used master here....

Going to reopen it from a different branch


20 new paintings

About the PR

Adds 20 new paintings adapted from public domain medieval paintings, all are CC-0.

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

:cl:

add: Added 20 new paintings!

these paintings look too highres imo

in game scs, hard to get good lighting on walls, but as you can see with the ones to the north, they look good from below.


v3-rc0: npm i @ionic/cli-plugin-cordova tells me I need to npm install -g ios-deploy ios-sim on Windows

What version of the CLI are you using? Output of ionic --version
3.0.0-rc.0
Short description of the problem:
PS C:\Users\Jan\Documents\rc0test> npm install --save-dev @ionic/cli-plugin-cordova

><EMAIL_ADDRESS>postinstall C:\Users\Jan\Documents\rc0test\node_modules\@ionic\cli-plugin-cordova
> node ./bin/postinstall

You will need to install the following global dependencies in order to use this plugin.
npm install -g ios-deploy ios-sim

<EMAIL_ADDRESS>C:\Users\Jan\Documents\rc0test
`--<EMAIL_ADDRESS>  `--<EMAIL_ADDRESS>    +--<EMAIL_ADDRESS>    `--<EMAIL_ADDRESS>      `--<EMAIL_ADDRESS>
I don't think this is useful on Windows, right?
Post the output of ionic info below please
global packages:
@ionic/cli-utils : 1.0.0-rc.0
Ionic CLI        : 3.0.0-rc.0

local packages:
@ionic/app-scripts              : 1.3.6
@ionic/cli-plugin-ionic-angular : 1.0.0-rc.0
Ionic Framework                 : ionic-angular 3.1.1

System:
Node       : v6.10.2
OS         : Windows 10
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed

You installed an old version. It no longer says that.

Ah, because I just did what the other error message said...


Bracket ) at the end of a link is excluded from link

Example input: https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)
Result: https://www.owasp.org/index.php/Cross-site_Scripting_(XSS is a link, the last ) is a plain text.

It seems, I got wrong with whitelisting link endings because it should rather be blacklisting some common punctuation characters which can be used alongside the links.
Regarding parentheses, github's parser only includes the closing link(s) in the end if they are forming pairs with some unclosed opened parentheses in the same link. I suppose I should support the same behaviour.
Some examples:
((https://www.owasp.org/index.php/Cross-site_Scripting_((XS)S))))
https://www.owasp.org/index.php/Cross-site_Scripting_XSS))))
https://www.owasp.org/index.php/Cross-site_Scripting_(XSS](
https://www.owasp.org/index.php/Cross-site_Scripting_(XSS]:
[https://www.owasp.org/index.php/Cross-site_Scripting_(XSS]]
https://www.owasp.org/index.php/Cross-site_Scripting_(XSS][📭

Fixed in master, ` and ] are still disallowed at the end of the links because of architectural difficulties. Hope these is not used too much.


running pagermon completely offline?  is this possible

I was testing and got everything up & running fine using PagermonPI v0.3.11 image.. but only when connected to the network/internet, is this normal?  (I am running Pi4 w/small monitor attached not accessing remotely)
I wanted to test this mobile and also at a location with no internet available - is there anyway that pagermon can be run offline from bootup w/o a network present?
I install it as outlined, everything is fine but if attempt to boot without any network present, it just stops at chromium saying 'this site cant be reached... refused to connect' and just sits there.
** If I plug in my network cable and boot, it goes to browser, says same thing but then refreshes automatically and everything works perfect...  always get that "refused to connect" first either way, but it starts after a refresh automatically and everythings good.
I re-installed a couple times, thinking I made an error, but same results every time.
Perhaps pagermon requires a network connection to start?  (Or did I just miss something in the installation thats preventing me from booting -without- a network present)
Note:  I can boot with the network cable plugged in, and once everything is up and running, I can UNPLUG the network and everything is fine and works perfect offline, but it wont start running without a network cable plugged in.
Is a feature request that might be useful to others also? Or am I just setup wrong..
Amazing development.. thanks for everyones hard & dedicated work.

This should work... what URL is chrome trying to connect to? If it's listening on <IP_ADDRESS> then it should be fine. I haven't tried running the raspi image - going from Docker would definitely work since it would simulate a network internally

the default for ubuntu, so in theory also raspbian, is to have a loopback interface, which binds <IP_ADDRESS>
this should work fine as long as you are using the url http://<IP_ADDRESS>:3000
i know from my own testing (lightning blew up my modem), that it works fine on a network with no internet. but i have a lot of local services that use <IP_ADDRESS> without issue.
i suspect you are using pagermonpi or whatever host name in chromium.
Either that, or you have chromium opening before pagermon server has finished starting. that would definitely explain the "refused" response, because the port would be closed. I actually have a maintenance script that runs once a week where i need to monitor when the server is available. Here's how I do that:
# The /auth/login is important, or the request will redirect and your while loop will be indefinite
serverurl=http://<IP_ADDRESS>:3000/auth/login
while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' $serverurl)" != "200" ]]; do echo "Waiting for Server..."; sleep 5; done
# Do some stuff here, like open chromium

I don't believe loading the front end is possible without internet - all the libraries are included from CDN's

I don't believe loading the front end is possible without internet - all the libraries are included from CDN's

Ah yes, you would need to put your own copies of fontawesome, jquery ect and edit the templates. that would be it though right?

I don't believe loading the front end is possible without internet - all the libraries are included from CDN's

Ah yes, you would need to put your own copies of fontawesome, bootstrap, jquery ect and edit the templates. that would be it though right?

Yes, this would work - anything in https://github.com/pagermon/pagermon/blob/master/server/themes/default/views/global/header.ejs
needs to be replicated locally.
You could cheat this by creating a new theme with offline libraries instead of updating the default theme