Create a -lts branch to support a wider range of PHP versions

Feature Request

Q
A

New Feature
yes

RFC
no

BC Break
no

Summary

Hi,
At PrestaShop we are trying to provide a wide range of PHP versions for our next version, which would be from PHP 7.2 to PHP 8.1.
Even if with multiple versions of laminas-code, that range can be covered, there is no unique version that can do it.
Would it be possible to consider creating a 4.5.x-lts branch that would cover PHP versions from 7.2 to 8.1? We already created a repo that does that on PrestaShop's organisation but we think that it would make sense to have a dedicated branch on the original project. We would be happy to contribute, of course!
Let me know if you would be interested or if you want to discuss the solution :)

Heyo,
It is not realistically feasible to support wider dependency ranges for maintainers of the repo:

4.0.0 onwards support PHP 7.4+
I certainly accept patches for laminas/code:3.0.0 onwards, where php:5.5 is still supported (for security issues only, nothing else).

The only alternative is to have regular funding to deal with that, and introduce at least 4~5 full days of work for this repository a month, at which point dedicated maintenance would occur.
Further reading on that:

https://github.com/laminas/technical-steering-committee/blob/8a8a30f933916a435a788f07705c5f75c71073d8/meetings/minutes/2020-03-02-TSC-Minutes.md#lts-policy
(unofficial, I just happen to be the maintainer for this specific repo) https://github.com/Ocramius/.github/blob/6d4561515513f6d59fb144d838971d4a7715e3e4/version-support.md#dependency-upgrades

Overall, the community should move forward, and prioritize MOVING AWAY from PHP 7.3 and earlier, which goes EOL in 2 weeks, according to https://www.php.net/supported-versions.php
PHP 8.1 support will come with 4.5.0, and 4.6.0 will likely drop PHP 7.4 support, in order to allow for further internal refactoring.

I certainly understand your point of view but in the CMS ecosystem, php versions can be slow to upgrade, that's why we had to try ;)
I'm closing this issue as nothing will be done on this repository.

@atomiix it's also impedance between companies and "weekend warriors".
More context on that in https://github.com/Ocramius/.github/blob/6d4561515513f6d59fb144d838971d4a7715e3e4/why-i-do-open-source.md
I would certainly consider widening ranges if I had dedicated paid time to do it, and that would effectively turn it into "client work", but as it is something I do over the weekends, it is not in my interest to make it even harder (and harder to improve the codebase).

Just to clarify - @atomiix didn't ask you to do it, but asked if we could do it together in the original repository, because to us it makes sense to collaborate on open source software instead of forking away and going solo. Of course, you're free to think differently.

Yes, but the maintenance still ends up here, hence there's no difference.

We're willing to collaborate on that if you do.

As I mentioned above, I'm not willing to cooperate on including further maintenance effort: conditions have been explained clearly on a previous comment, so it really a financing problem.

I hear you loud and clear.
In case anyone else is interested, we have forked the library here in order to provide the wide compatibility range we needed: https://github.com/PrestaShop/laminas-code-lts


Krator Support for Modified Events

First attempt at handling modified events for Krator. I replaced most references to the object manifest with a tokio::sync::watch::Receiver<Manifest>. This should allow you to fetch the latest manifest, and optionally await updates to that manifest. The current issue I'm facing is that once recv is called, subsequent calls will await new updates, even for clones of the receiver. This means that most of the uses here will block on their first use until the Pod is updated. We may have to implement a custom alternative without this behavior.
cc @soenkeliebau
closes #481

Looking more closely, the Tokio 1.0 has clearer semantics, we dont have to wait for Tokio 1.0 though. Basically, recv should be called to await new changes, borrow is what we should call to access a reference to the value right away. We just need to be sure not to hold that lock. This may be something we implement a wrapper type for given the complexity there. I will take another crack tomorrow.

Looking more closely, the Tokio 1.0 has clearer semantics, we dont have to wait for Tokio 1.0 though. Basically, recv should be called to await new changes, borrow is what we should call to access a reference to the value right away. We just need to be sure not to hold that lock. This may be something we implement a wrapper type for given the complexity there. I will take another crack tomorrow.

Ok, I've moved to using a wrapper type, which cleaned up a lot of stuff.
If you just want the latest version of the object, you can call latest() which clones the object and does not require error checking, which is nice.
If you want to monitor for changes, the wrapper implements Stream which just passes to the underlying watch::Receiver. I think here is where we may want to improve the ergonomics, because I think it will return right away with the latest revision in some cases, and not in others, so we may need to add some logic to make this more predictable.
We can probably also eventually extend this wrapper to easily access Status and Metadata information.

Ok, I've moved to using a wrapper type, which cleaned up a lot of stuff.
If you just want the latest version of the object, you can call latest() which clones the object and does not require error checking, which is nice.
If you want to monitor for changes, the wrapper implements Stream which just passes to the underlying watch::Receiver. I think here is where we may want to improve the ergonomics, because I think it will return right away with the latest revision in some cases, and not in others, so we may need to add some logic to make this more predictable.
We can probably also eventually extend this wrapper to easily access Status and Metadata information.

I've had this on my todo list for today, but somehow got sidetracked. I've started looking at it, but may have had one glass of wine too many at this point - I'll  finish up tomorrow and post my review.
First impression though, looks great!

I've had this on my todo list for today, but somehow got sidetracked. I've started looking at it, but may have had one glass of wine too many at this point - I'll  finish up tomorrow and post my review.
First impression though, looks great!


Css updates

Added new color scheme, new logo, and changed button layout. I also changed a few paragraphs. Still working on margins for desktop version.

Created new pull request with corrected format of branch name


[newton] Backport artifact job fixes

This PR backports the appropriate non-ocata patches from https://github.com/rcbops/rpc-openstack/pull/2337

recheck_cit_xenial_deploy_swift

recheck_cit_artifact_trusty_container
recheck_cit_artifact_trusty_python
recheck_cit_artifact_xenial_container

I'll have to debug those Container build problems and push up an additional patch to resolve them. I'm guessing (from not reviewing the logs) that the SHA has been bumped and therefore the keystone/repo_server patches for the roles need updating.

recheck_cit_artifact_trusty_apt
recheck_cit_artifact_xenial_apt

recheck_cit_artifact_trusty_apt
recheck_cit_artifact_xenial_apt

The minorupgrade and lint tests are expected to fail for this patch, so if everything else passes it's free to merge.


Retain most recent job statusCode returned, and expose in hash returned by e.g. /status/jobs

When an async job writes its statusCode to Chronos' /scheduler/task/ endpoint prior to exiting, Chronos interprets any nonzero statusCode as failure.  Currently, however, the statusCode itself is logged (if INFO logging is enabled) and discarded, depriving the REST client of failure-related information relayed by the job in the statusCode.  Alternative mechanisms such as mis-using the job progress reporting mechanism are (much) more complicated and susceptible to races. Please retain the statusCode for the most recent execution and expose it in hashes of the job status query endpoints.

The concept of async jobs has been deprecated.


2.13.1 doesn't play with JSONStream

Here is some example code:
const { parse } = require('JSONStream')
const h = require('highland')

h.log('start')
h.of(JSON.stringify({ 'foo': 'bar' }))
  .through(parse())
  .done(() => h.log('done'))

With the following versions, this code logs "start", then exits:

<EMAIL_ADDRESS><EMAIL_ADDRESS>
With the following versions, this code logs "start", then "done", then exits:

<EMAIL_ADDRESS><EMAIL_ADDRESS>
Further testing is needed on my part to expose some useful details, but I think this is worth opening as-is for the time being.

Sorry about this. The fix for #670 caused some collateral damage. through used to pause the target stream. The fix stopped doing that to fix an incompatibility with node 0.10, but caused this a regression.
Basically, through is implemented in terms of pipe. In 2.x, pipe can synchronously push data through, which can cause data loss if the through stream is un-paused. I will update pipe so that it always pushes data asynchronously.

This should be fixed in 2.13.3.

Awesome, thanks for the quick response!


PaddleMIX开发大赛的RFC

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


debug sessionindicator in calcbadness.py

fixing two discrepancies between matlab and python implementation of sessionindicator that caused buggy behavior in the python version.
(1)

because python range extends to the second argument minus 1, the python sessions variable is going to be missing the final session index supplied by the user. fixed via change to line 67.
(2)

this error happens because type of sessionindicator is list, and python doesn’t perform nice logical indexing the way matlab does when evaluating equality between a list and an int e.g. sessionindicator == 1… this can be easily solved by modifying the line to read: wh = np.flatnonzero(np.array(sessionindicator) == sess))

okay, will merge then.


Assign current_user.id to a resource on create?

So how in the world do you assign the current user from the session when you're creating one of his resources? I've spent a couple hours trying to make it work and am striking out. This should be a wiki page.

Hi John - does https://jsonapi-suite.github.io/jsonapi_suite/how-to-scope-to-current-user explain things? Also, feel free to email<EMAIL_ADDRESS>for a slack invite where you can ask questions like this

Hey Rich. I guess that makes sense, but the docs could be clearer. Here's what I wound up doing. I do kinda wish the current_user was referenced in the controller action for maintainability OR this was a callback instead of overriding the default create method. But I can live with this.
class EventResource < ApplicationResource
  # [...]

  # Overriding #create method. Would prefer a #before_create callback.
  def create(attributes)
    attributes[:user] = context.send(:current_user)
    super
  end
end

I agree the docs could be clearer - a PR to the gh-pages branch is always welcome! 👏
I typically have current_user in my controller, and access like this:
# app/controllers/application_controller.rb
def current_user
  # your auth logic
end

# app/resources/application_resource.rb
def current_user
  @context.current_user
end

So the final code in your case would end up:
def create(attributes)
  attributes[:user] = current_user
  super
end

I'm split on the callbacks - I wouldn't turn down a PR, but I'm not totally sold the extra abstraction is worth it.


Add a local packager config, so that react can find react-native when…

The motivation for this PR is my sad colleague @bestander: I managed to break travis with 32cd34e2b8496f0a6676dbe6bb1eacc18124c01e, without considering the consequences. This PR solves this failure, and will fix it for good.
Test plan (required)
Travis will demonstrate that the code is solid.
Let’s nake sure tests pass on both Travis and Circle CI.

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.

@facebook-github-bot shipit


textidote: init at 0.8.3

Description of changes
Closes https://github.com/NixOS/nixpkgs/issues/269754

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@Sntx626 could you test to make sure your use-case works? I've tested that it works for the TeXiFy IDEA plugin on my own documents.

Build & used on:

aarch64-linux
x86_64-linux

@Sntx626 could you test to make sure your use-case works? I've tested that it works for the TeXiFy IDEA plugin on my own documents.

Yes, it works for my use-case! At the moment I'm running a watcher script that re-runs textidote whenever I update my project.

To anyone more experienced at this: is this the best way to go about tracking the dozen or so dependencies? Unfortunately this Ant build isn't much better than a Makefile so there's no lockfile to track dependencies like with NPM, Cargo, Maven, or Gradle. I've never messed around with "manually" creating a Fixed Output Derivation before, but it seems kinda like how the Maven wrapper is built (except in this case our dependencies are downloaded manually and mixed in with the source code :roll_eyes:).

Thanks for the help! I copied an old Java package and built off of that, so some old-style code crept in without me knowing the difference.


feature request： support llhls and lldash

low latency is more and more important in today‘s live streaming。
could you add support for this 2 protocol ？
mp4box already support it， could take it as a refernce
https://github.com/gpac/gpac/wiki/llhls
https://github.com/gpac/gpac/wiki/dash_low_latency

LLHLS and LL-DASH both use segments with multiple fragments. That structure is supported since long by the mp4ff library, so one can read and create such segments.  The fragments are stored as a slice inside the segments. It should be fairly straight forward to change the segmenter or resegmenter example to produce such fragmented segments, but it is not in the road map at the moment.
Going further and generating DASH manifests and HLS playlists is out of scope for this project which focuses on mp4 files, so that will most likely not happen in this repo.

“DASH manifests and HLS playlists is out of scope for this project ”
I know， we could only focus on fmp4 part
“It should be fairly straight forward to change the segmenter or resegmenter example to produce such fragmented segments”
could you make a simple example on that ？
change the example/segment to generate small fragments and  segment at the same time。

The structure of a mp4.MediaSegment is that it contains one or more mp4.Fragment. Such a "Fragment" is what constitutes a "CMAF chunk" or partial "HLS segment". In the example/segment only one "Fragment" is inserted in each "MediaSegment". Making a segment that consists of multiple Fragments by starting a new Fragment every N samples is enough to make a LL-HLS/LL-DASH segment that can be parsed and played part by part.
I don't have time to extend the examples right now, but it is indeed rather straight forward.


Adding event message template to interface actions. added wrong traje…

…ctory
Signed-off-by: walter-dalla<EMAIL_ADDRESS>CHANGELOG :memo:

PRINTS(OPTIONAL) :framed_picture:
LABELS

Example: enhancement, wip etc

Hello @Walter-Dalla !
Thank you for your contribution! This feature is being done by @CodeMartian in #33. Please, wait he finishes his work before open a new request to this issue. You could look our others issues for new challenges!
Thank you for your undersanting!


2510 uac by sms

Motivation and Context

[x] Context Index has been kept up to date
Adding new tests for the notify service sms fulfilments

What has changed

Adding new tests for the notify service sms fulfilments

How to test?

Run with other PRs on ticket

Links

[Trello](Adding new tests for the notify service sms fulfilments)
Screenshots (if appropriate):

 Prototype: Send a UAC by SMS by API (13)


[BugFix] Fix thread local variable initialization problem

Why I'm doing:
void* my_malloc(size_t size) __THROW {
    STARROCKS_REPORT_LARGE_MEM_ALLOC(size);
    int64_t alloc_size = STARROCKS_NALLOX(size, 0);
    SET_DELTA_MEMORY(alloc_size);
    if (IS_BAD_ALLOC_CATCHED()) {

What I'm doing:
my_malloc will use tls_thread_status.is_catched  to determine which code branch to execute, but if memory is allocated before tls_thread_status is constructed, , behavior is undefined, it is easy to trigger some strange problems.
So define is_catched as an independent thread local variable,
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.3
[x] 3.2
[x] 3.1
[ ] 3.0
[ ] 2.5

@Mergifyio rebase main


Fix Buffer methods

Scope & Purpose

[x] Bug-Fix for devel-branch (i.e. no need for backports?)
[x] Bug-Fix for a released version (did you remember to port this to all relevant release branches?)

3.4 backport: https://github.com/arangodb/arangodb/pull/9072
Related Information

This issue was reported via the ArangoDB community slack

Testing & Verification
This PR adds tests that were used to verify all changes:

[x] Added Regression Tests (Only for bug-fixes)

~~http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/4578/~~
http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/4583/
Documentation

[x] Added a Changelog Entry

New build because the old one uncovered a failure.

Jenkins expired before i could check:
https://jenkins.arangodb.biz/view/PR/job/arangodb-matrix-pr/4669/

Sorry took a while, latest Jenkins is finally good.


Update index.md

Platforms affected
Android platform
What does this PR do?
Doc translation of Chinese for Android platform
What testing has been done on this change?
none
Checklist

[ ] Reported an issue in the JIRA database
[ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
[ ] Added automated test coverage as appropriate for this change.

Hey @kungfucode-rex, can you explain these changes a bit more please? What got changed why?


Add Shubh's markdown file

Field
Description

About
Add markdown file

Github
ShubhKanodia

Email
<EMAIL_ADDRESS>

Label
Update request

Define You

[ x] Hacktober Fest Contributor

I want to add a Shubh markdown file

@karthik2603-theBrogrammer assign off


Temporal Modeling for Video in Vision Encoder

Hello,
Just looking at the model config, you guys are not using any temporal cross attention or anything like that, right?
So there is no temporal modeling in the vision encoder when processing videos?
Thanks.

No temporal cross attention. We let LLM to learn these temporal information.

Hi there,
Our team has moved our VILA to a new location: NVLabs/VILA. We kindly request that you update your references to the old repository location with the new one (e.g, git clone / pipeline integration). This will ensure that you have access to the latest updates, improvements, and bug fixes for VILA project. Current repo will be archieved in one week (Jul 10th) and made private after one month (Aug 4th).
Thank you for your understanding and continued support. If your issue still exists, feel free to open a new one in the new place. We appreciate your patience and cooperation during this transition.
Best regards,
VILA Team


Documentation for "F" parameter in config file?

From what I read, the F parameter in the config file sets the max frequency for training. I have not been able to find any documentation for this. The closest I could find is this description:

Number of frequency bins to be processed (frequency above F are note processed)

Can you direct me to some documentation about this, or describe to me how to set the parameter?
For example, if my training stems go to 22000 Hz, what value would I put in F to train all the way up to 22000? My goal is to create a model that can then separate files up to 22000 Hz.
Am I on the right or wrong track?

The F parameter is used to reduce the input spectrograms size (and thus memory footprint and computation time) at the training stage. The frequency dimension of the input spectrograms (and thus of the target spectrogram) is truncated at F, and thus the model only learn until F
Note that if you perform training with the provided U-net architecture, the downsampling/upsampling structure of the model requires that F is a power of 2 (actually there are other values that could fit, but I don't want to go into details here).
So then, if you your spectrogram uses 4096 sample long windows, the number of frequency bins of your spectrogram (output of the STFT) will be 2049 and then you can choose F=2048(you'll then have almost fullband until 22050Hz), or F=1024 (half-band, until about 11KHz), or anything lower that is a power of two.


Do not raise exception for pipenv graph when virtualenv does not exist

Issue description
When virutaulenv is not created for a project yet, pipenv graph will raise exception.
➜  pipenv graph
Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 11, in <module>
    load_entry_point('pipenv', 'console_scripts', 'pipenv')()
  File "/home/user/Documents/dev/pipenv/pipenv/vendor/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/user/Documents/dev/pipenv/pipenv/vendor/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/user/Documents/dev/pipenv/pipenv/vendor/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/user/Documents/dev/pipenv/pipenv/vendor/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/user/Documents/dev/pipenv/pipenv/vendor/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/user/Documents/dev/pipenv/pipenv/cli/command.py", line 538, in graph
    do_graph(bare=bare, json=json, json_tree=json_tree, reverse=reverse)
  File "/home/user/Documents/dev/pipenv/pipenv/core.py", line 2430, in do_graph
    python_path = which("python")
  File "/home/user/Documents/dev/pipenv/pipenv/core.py", line 110, in which
    raise RuntimeError("location not created nor specified")
RuntimeError: location not created nor specified

It happens at least for v2018.10.13.
Expected result
It should be a friendly info.
➜  pipenv graph
Warning: No virtualenv has been created for this project yet! Consider running `pipenv install` first to automatically generate one for you or see`pipenv install --help` for further instructions.

Please run $ pipenv --support, and paste the results here. Don't put backticks (`) around it! The output already contains Markdown formatting.
If you're on macOS, run the following:
$ pipenv --support | pbcopy

If you're on Windows, run the following:
> pipenv --support | clip

If you're on Linux, run the following:
$ pipenv --support | xclip

I'm having an issue with setting up Pipenv in a certain directory. There used to be an old pipenv there, which I tried to delete:

deleted env with pew rm [env-name]
manually deleted the Pipfile from the directory (it was not deleted by pew rm)
tried to setup a new pipenv with pipenv shell

Last step failed with following output:
Creating a Pipfile for this project…
Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pipenv/cli/command.py", line 374, in shell
    pypi_mirror=state.pypi_mirror,
  File "/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 2069, in do_shell
    ensure_project(three=three, python=python, validate=False, pypi_mirror=pypi_mirror)
  File "/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 601, in ensure_project
    validate=validate, skip_requirements=skip_requirements, system=system
  File "/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 324, in ensure_pipfile
    project.create_pipfile(python=python)
  File "/usr/local/lib/python3.7/site-packages/pipenv/project.py", line 673, in create_pipfile
    required_python = self.which("python", self.virtualenv_location)
  File "/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 114, in which
    raise RuntimeError("location not created nor specified")
RuntimeError: location not created nor specified

pbcopy from pipenv --support | pbcopy:
<details><summary>$ pipenv --support</summary>

Pipenv version: `'2018.10.13'`

Pipenv location: `'/usr/local/lib/python3.7/site-packages/pipenv'`

Python location: `'/usr/local/opt/python/bin/python3.7'`

Python installations found:

pipenv --support | pbcopy also crashes with following output:
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead. You can set PIPENV_VERBOSITY=-1 to suppress this warning.
Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 1114, in invoke
    return Command.invoke(self, ctx)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pipenv/cli/command.py", line 142, in cli
    get_pipenv_diagnostics()
  File "/usr/local/lib/python3.7/site-packages/pipenv/help.py", line 33, in get_pipenv_diagnostics
    python_paths = finder.find_all_python_versions()
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/pythonfinder/pythonfinder.py", line 112, in find_all_python_versions
    major=major, minor=minor, patch=patch, pre=pre, dev=dev, arch=arch
  File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/pythonfinder/models/path.py", line 222, in find_all_python_versions
    return [c for c in sorted(path_filter, key=version_sort, reverse=True)]
AttributeError: 'list' object has no attribute 'as_python'

I'm going to try delete the whole directory, make a new directory (with same name) and try again.


plot.box_plots with matplotlib

plot.box_plots really is the last plot method that still uses seaborn. It should be rewritten using matplotlib, so we can remove the dependency on seaborn.
At the same time you can create a consistent box plot for tabular and columns. #805

:tada: This issue has been resolved in version 0.27.0 :tada:
The release is available on:

v0.27.0
GitHub release

Your semantic-release bot :package::rocket:


Add feature Bazarr

is it possible to add the bazarr?  https://www.bazarr.media/

Feature request will be considered - Will have to check there's no issues with python libraries.


Add transaction delete request new endpoint and payment webhooks

LGTM
I ran all previous methods and found no regression.


[VC] job rest api support VC field

Pull Request Test Coverage Report for Build 528

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
17 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 75.945%

Files with Coverage Reduction
New Missed Lines
%

src/models/job.js
17
76.89%

Totals

Change from base Build 525:
0.0%

Covered Lines:
520

Relevant Lines:
638

💛  - Coveralls


Rename the editor.projectHome config option

We should rename this config option to something that describes it better. It is not easy to figure the intent via the name. Also, Atom has a class named project which adds to the confusion.
This option is currently describes:

Where projects and themes are created by Package Generator

Where projects are assumed to be stored by Atom. So if there was an "Open Project" command and I gave it "foo" it would look for a "foo" directory in this path.

@lee-dohm also suggested that core would be a more appropriate namespace than `editor.
/via https://github.com/atom/atom/issues/1648

This is also the directory used by apm develop and where Atom will look for resources by default in dev mode.


synocli-disk davfs2 setup

I am new to davfs2 and am having issues using the synocli-disk implementation of it.  I am thinking there may be missing steps or configuration for it.  I think the mount command is not finding the mount.davfs file (sym link) in /usr/local/sbin/.  Running "mount -t davfs https://serverofwebdav.com/ /volume1/locationOfMount/ -o noexec" generates an error of "mount: unknown filesystem type davfs".  I added a sym link in /sbin/ to mount.davfs and unmount.davfs and it gets a bit further.  It then gives an error of "sbin/mount.davfs: group davfs2 does not exist".
Should the installer have set up these up to work with mount and set up users/groups?  Also, I do not see a .conf file set up for davfs2.
I have tried this as a regular user sudo'd and also as root. Same results.
Thanks for any help or direction that can be provided.

not sure I posted this in the correct location

Indeed, please post an issue here: https://github.com/SynoCommunity/spksrc although TBH, I am not sure someone will be able to answer this very specific question.


release contains rejected patch fragment

I got the TerasologyLauncher-linux64.zip from https://github.com/MovingBlocks/TerasologyLauncher/releases/tag/v4.0.0
it contains some cruft from a (rejected?) patch application in bin/:
     8044  2020-03-28 23:35   TerasologyLauncher-linux64-4.0.0/bin/TerasologyLauncher.orig
     5426  2020-03-28 23:35   TerasologyLauncher-linux64-4.0.0/bin/TerasologyLauncher.bat.orig
      671  2020-03-28 23:35   TerasologyLauncher-linux64-4.0.0/bin/TerasologyLauncher.bat.rej

So I suspect the things to look for are:

make sure the release-builder notices when a patch hunk is rejected, this should probably be considered a build failure

exclude *.orig and *.rej from the build artifact. (does it produce .orig even when it succeeds?)

The .bat should not affect the Linux distribution - that's probably also the reason why nobody noticed.
I cannot reproduce the rejection locally, though (running on Windows, the patch works just fine...).

I have a suggestion, but it seems like there's a lot of other stuff in motion around how platforms are treated and distributions are built, so I'm not sure whether it'll be relevant in light of all that.
The suggestion is:
Instead of adding step to patch the scripts after they're generated, we could use different templates to generate them.
i.e. have our own versions of unixStartScript and windowsStartScript, and have createStartScripts use our templates instead.
Cons:

Using our own templates, our copy won't automatically get any potential benefits if new versions of gradle upgrade their templates. You might think those don't change too often, but they got multiple commits in 2019, and there's one pending for gradle 6.4.

Pros:

I think it's far less error-prone to copy a template, check it in to our repo, and make our changes to it like a normal file, than it is to maintain a .patch file. Both in terms of code maintenance (making changes to patch files is an extra complication) and understanding how the result is built.

Mitigations:

To avoid missing changes from new gradle versions, we could include some sort of version tag and assertion that says "this template is based on gradle 6.2.2, you're using gradle 6.4, please see [INSTRUCTIONS] to check if they need updating."

I think a central question to consider when thinking about the trade-offs is this:
What do we want to be easier, upgrading gradle, or making changes to the start scripts?

I had a quick look at using a custom template and decided against it for the given Cons above. However, I agree with you that using a .patch file is not ideal.
If we keep an eye out on the templates and/or update them along with upgrading gradle there should be no big problems ahead.
Overall, I'm aiming for switching to Java 11/13/14 to use jlink/jpackage and get rid of the launch scripts altogether... Thus, I'm not sure how much effort we should put into this.
But please, feel free to provide a PR to replace the patch file with a custom template 😉

That's good information!
I was considering such a PR (it seemed small enough to be managible with my limited Java experience), but if something on the near term roadmap will make these scripts go away, I'll reconsider my priorities.

 Launcher Fixes & Improvements


Fix race condition in make_chart

Closes https://github.com/coiled/benchmarks/issues/1249

Failing test not related:

FAILED tests/tpch/test_dask.py::test_query_1 - NotImplementedError: 'numeric_only=False' is not implemented in Dask.

Part of #1250


Generic parameter 'Element' could not be inferred - RingBuffer

Beforeopening a new issue, please double check the past issues (both open and
closed ones) to see if your problem has been discussed beforeand already
contains an answer/solution. Likewise, check the FAQ in the Documentation folder
for some common things -
https://github.com/apple/swift-protobuf/blob/master/Documentation/FAQ.md
Please be sure to include:

what OS you are developing on - 11.2.3 (Big Sur)

XCode Version - 12.4

Swift Version - 4 & 5 both tried

Latest branch of SwiftProtoBuf

I am facing this error ("Generic parameter 'Element' could not be inferred") while compiling in below two files.

CodedInputStream & RingBuffer

Attaching screenshots

Thank you!

You should file this bug against https://github.com/alexeyxo/protobuf-swift which is a completely independent and unrelated project.

You should file this bug against https://github.com/alexeyxo/protobuf-swift which is a completely independent and unrelated project.

I had filed but no response, I am trying to migrate from that library to the apple's swift-protobuf but facing a lot of issues.

Are you using protoc-gen-swift from swift-protobuf  to generate your code?


Bump Kani version to 0.56.0

Bump our crates version and exclude charon from our workspace (otherwise building the workspace wouldn't work). See my comment for the original notes.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Auto generated notes:
What's Changed

RFC: Loop Contracts by @qinheping in https://github.com/model-checking/kani/pull/3167
Automatic toolchain upgrade to nightly-2024-09-04 by @github-actions in https://github.com/model-checking/kani/pull/3488
Replace proc-macro-error with proc-macro-error2 by @zhassan-aws in https://github.com/model-checking/kani/pull/3493
Automatic toolchain upgrade to nightly-2024-09-05 by @github-actions in https://github.com/model-checking/kani/pull/3500
Fix cmake configuration for perf job by @zhassan-aws in https://github.com/model-checking/kani/pull/3499
List RFC revisions by @carolynzech in https://github.com/model-checking/kani/pull/3490
Enable stubbing and function contracts for primitive types by @celinval in https://github.com/model-checking/kani/pull/3496
Automatic toolchain upgrade to nightly-2024-09-06 by @github-actions in https://github.com/model-checking/kani/pull/3502
Fix iss3495 by @zhassan-aws in https://github.com/model-checking/kani/pull/3501
Upgrade toolchain to 2024-09-07 by @zhassan-aws in https://github.com/model-checking/kani/pull/3504
Automatic toolchain upgrade to nightly-2024-09-08 by @github-actions in https://github.com/model-checking/kani/pull/3505
Automatic cargo update to 2024-09-09 by @github-actions in https://github.com/model-checking/kani/pull/3506
Update features/verify-std branch by @carolynzech in https://github.com/model-checking/kani/pull/3508
Bump tests/perf/s2n-quic from 1ff3a9c to d8be30e by @dependabot in https://github.com/model-checking/kani/pull/3509
Reduce object-bits for test to avoid OOM by @zhassan-aws in https://github.com/model-checking/kani/pull/3511
Bump peter-evans/create-pull-request from 6 to 7 by @dependabot in https://github.com/model-checking/kani/pull/3510
Automatic cargo update to 2024-09-16 by @github-actions in https://github.com/model-checking/kani/pull/3515
Downgrade once_cell by @zhassan-aws in https://github.com/model-checking/kani/pull/3517
Bump tests/perf/s2n-quic from d8be30e to 132ba54 by @dependabot in https://github.com/model-checking/kani/pull/3516
Upgrade toolchain to 2024-09-09 by @qinheping in https://github.com/model-checking/kani/pull/3518
Automatic toolchain upgrade to nightly-2024-09-10 by @github-actions in https://github.com/model-checking/kani/pull/3519
Automatic toolchain upgrade to nightly-2024-09-11 by @github-actions in https://github.com/model-checking/kani/pull/3520
Instrument validity checks for pointer to reference casts for slices and str's by @zhassan-aws in https://github.com/model-checking/kani/pull/3513
Upgrade toolchain to 2024-09-12 by @qinheping in https://github.com/model-checking/kani/pull/3524
Call check_proof_attribute for contract harnesses by @carolynzech in https://github.com/model-checking/kani/pull/3522
Add tests for issue 3009 by @carolynzech in https://github.com/model-checking/kani/pull/3526
Fix storing coverage data in cargo projects by @adpaco-aws in https://github.com/model-checking/kani/pull/3527
Upgrade toolchain to 2024-09-14 by @qinheping in https://github.com/model-checking/kani/pull/3529
Upgrade toolchain to 2024-09-15 by @qinheping in https://github.com/model-checking/kani/pull/3531
Automatic toolchain upgrade to nightly-2024-09-16 by @github-actions in https://github.com/model-checking/kani/pull/3532
Automatic toolchain upgrade to nightly-2024-09-17 by @github-actions in https://github.com/model-checking/kani/pull/3533
Automatic cargo update to 2024-09-23 by @github-actions in https://github.com/model-checking/kani/pull/3535
Append harness name to the graph file (debug feature only) by @celinval in https://github.com/model-checking/kani/pull/3528
Update to CBMC 6.3.1 and fix auto-update script by @tautschnig in https://github.com/model-checking/kani/pull/3537
Bump tests/perf/s2n-quic from 132ba54 to a88ae41 by @dependabot in https://github.com/model-checking/kani/pull/3540
Update toolchain to 2024-09-20 by @tautschnig in https://github.com/model-checking/kani/pull/3539
Update toolchain to 2024-09-23 by @tautschnig in https://github.com/model-checking/kani/pull/3544
Revert #3539 and reuse rust backend infrastructure instead by @celinval in https://github.com/model-checking/kani/pull/3545
Automatic toolchain upgrade to nightly-2024-09-25 by @github-actions in https://github.com/model-checking/kani/pull/3547
Update toolchain to 2024-09-26 by @tautschnig in https://github.com/model-checking/kani/pull/3549
Automatic toolchain upgrade to nightly-2024-09-27 by @github-actions in https://github.com/model-checking/kani/pull/3550
Automatic toolchain upgrade to nightly-2024-09-28 by @github-actions in https://github.com/model-checking/kani/pull/3552
Automatic toolchain upgrade to nightly-2024-09-29 by @github-actions in https://github.com/model-checking/kani/pull/3553
Automatic cargo update to 2024-09-30 by @github-actions in https://github.com/model-checking/kani/pull/3555
Automatic toolchain upgrade to nightly-2024-09-30 by @github-actions in https://github.com/model-checking/kani/pull/3554
Bump tests/perf/s2n-quic from a88ae41 to 2a735a9 by @dependabot in https://github.com/model-checking/kani/pull/3556
Automatic toolchain upgrade to nightly-2024-10-01 by @github-actions in https://github.com/model-checking/kani/pull/3558
Automatic toolchain upgrade to nightly-2024-10-02 by @github-actions in https://github.com/model-checking/kani/pull/3562
Remove obsolete linker options by @zhassan-aws in https://github.com/model-checking/kani/pull/3559
Enable doctests to avoid coding mistakes in our API documentation by @celinval in https://github.com/model-checking/kani/pull/3557
Automatic toolchain upgrade to nightly-2024-10-03 by @github-actions in https://github.com/model-checking/kani/pull/3564
Add experimental API to generate arbitrary pointers by @celinval in https://github.com/model-checking/kani/pull/3538
Automatic cargo update to 2024-10-07 by @github-actions in https://github.com/model-checking/kani/pull/3572
Bump tests/perf/s2n-quic from 2a735a9 to 17171ec by @dependabot in https://github.com/model-checking/kani/pull/3573
Fix issue when linking rlib + another library type by @celinval in https://github.com/model-checking/kani/pull/3576
Running verify-std no longer changes Cargo files by @celinval in https://github.com/model-checking/kani/pull/3577
Add an LLBC backend by @zhassan-aws in https://github.com/model-checking/kani/pull/3514

Full Changelog: https://github.com/model-checking/kani/compare/kani-0.55.0...kani-0.56.0


feat: adding token secret

Signed-off-by: Akarshit Wal<EMAIL_ADDRESS>This PR adds tokenSecret to the AccountServer from the environment variable.

:tada: This PR is included in version 2.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add a demo of collecting activations from a single location in the model.

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Addresses issue 746. This adds a single code cell and a single markdown cell to the Main_Demo notebook. I have tested that it runs correctly.
It addresses the following issue: run_with_cache() uses a ton of memory. Often, for contrastive activations, linear probing, or SAEs, we only need activations from a single layer, which should require much less memory. I couldn't easily find an example of how to do this, and I believe this has somewhat contributed to a misconception that TransformerLens has high memory usage. Add an example of collecting activations from a single layer to the README or a tutorial.
There are several potential locations in the notebook that this could have been added. I picked one that was fairly early, so hopefully people see it before exiting the tutorial.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Screenshots
Please attach before and after screenshots of the change if applicable.

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I have not rewritten tests relating to key interfaces which would affect backward compatibility

Thanks!


Fix/work pool card items layout

Rearranges some content on the work pool list items for the work pools card so that things have room to breath:
After:

Before:

I don't feel strongly but combining lateness and late runs feels a little forced. I wonder if making late runs the primary statistic with total lateness being the extra piece of detail would make that feel more natural.

Ah I dig that idea. I'll mess that rn.


[UI] New Filter does not appear in list after being imported

Current Behavior

Once the filter has been imported, It does not appear in the filters list on the filters page. It appears after refreshing the page.
Desired Behavior

Imported should appear in the list just after being imported.
Screenshots/Logs

https://user-images.githubusercontent.com/103871275/209958641-f9dbe32a-9571-4c7e-86db-253ca967bba7.mp4
Environment

Browser: Chrome Safari Firefox
Host OS: Mac Linux Windows
Meshery Server Version: stable-v
Meshery Client Version: stable-v
Platform: Docker Kubernetes

Contributor Guides and Handbook

🎨 Wireframes and designs for Meshery UI in Figma
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Hey @leecalcote . I would like to work upon this.

@hs05june thanks much. To resolve this, you'll be moving to use of one of the existing GraphQL subscriptions, yes?


Build Instructions?

The repo has been down for days, so I can't still this but I have a dependency on it. Is there any way I could get instructions on how to build the plugin so that I can manually install it?

If you need just install see https://github.com/Nodeclipse/nodeclipse-1/issues/207
if you want to build, see #1
Can we work on further? I have questions too.

user fears talking. closing


A numerical value of 0 is incorrectly treated as falsy

Per https://shopify.github.io/liquid/basics/truthy-and-falsy/ "All values in Liquid are truthy except nil and false."
However, the integer 0 and float 0.0 are being treated as falsy.
Trying the following code input:
{% if 0.0 %} 0.0 float {% endif %}
{% if 0 %} 0 int {% endif %}
{% if '0' %} 0 string {% endif %}

Output:
0 string

If this is intended, I don't see this boolean behavior defined in known issues in https://jg-rp.github.io/liquid/known_issues

The issue is https://github.com/jg-rp/liquid/blob/main/liquid/expression.py#L914
obj in (False, None) evaluates to true because 0.0 == False is True.

Hi @latimer1,
I believe the case of {% if 0 %}... was fixed in version 1.4.2 with #65, but I hadn't considered {% if 0.0 %}..., so that's defiantly a bug that needs fixing.
Expected output from your example:
 0.0 float
 0 int
 0 string

Thanks for letting me know.

I wonder if adding a type check would address any edge cases.
if type(obj) == type(False) and obj == False:
   return False
if type(obj) == type(None) and obj == None:
   return False

There are a couple of cases that that does not cover. Undefined variables and drops that define __bool__ or __int__ methods can be falsy too.
This bug also extends to comparison operators and the default filter:
{% if 0.0 == false %}0.0 == false{% endif %}
{{ 0.0 | default: "hello" }}

Expected output

0.0

Actual output
0.0 == false
hello

Fixed in version 1.4.5, now released.


switch from dep to go modules

Requires golang-1.13
This does away with the vendor directory, as we aren't checking the vendor directory into the repo, so what's the point?

@stlava updated the .circleci/config.yml file.


Documentation sidebar changes from page to page

See original issue on GitLab
In GitLab by [Gitlab user @samthursfield] on Feb 12, 2018, 17:55
The documentation at https://buildstream.gitlab.io/buildstream/ has a table-of-contents sidebar which Sphinx autogenerates.
Currently the sidebar only shows topics from the current page. It should instead show the table of contents of the entire manual on every page, which would make it easier to navigate between pages.
This looks quite difficult to achieve, nobody has yet figured out how to get Sphinx to do what we want.

In GitLab by [Gitlab user @tristanvb] on Feb 12, 2018, 17:59
Thanks for filing this !
I guess what we're asking for here is a little ambiguous, or at least, something declarative needs to drive the sidebar TOC.
For instance, I think it would be nice if "Every toplevel section" was listed in the sidebar, under the three main categories (i.e. using buildstream, authoring projects, and authoring plugins), so that you could jump to any main page with a single click in the sidebar.
It would also be interesting if the current page's TOC appeared expanded in the sidebar, for finer grained navigation within the currently viewed page.
Both of these seem to require at least that we structure this sidebar TOC manually in some way (at least declare what the toplevel items are ?).

In GitLab by [Gitlab user @jjardon] on Mar 27, 2018, 19:09
This is almost fixed after !327
Still some more fixes are needed to completely fix this for every section

In GitLab by [Gitlab user @jjardon] on Mar 27, 2018, 20:10
mentioned in merge request !345

In GitLab by [Gitlab user @jjardon] on Mar 28, 2018, 03:25
mentioned in commit bb75d4a5df1886d4081f26a986e3bac3ed9cd283

In GitLab by [Gitlab user @jjardon] on Mar 28, 2018, 03:25
mentioned in commit 9de1c62679d6e6475d2871b76b0ff6f70d53ee2b

In GitLab by [Gitlab user @jjardon] on Mar 28, 2018, 03:25
mentioned in commit 500bd0d2433402e0de5a3c294400618c0236a708

In GitLab by [Gitlab user @jjardon] on Mar 28, 2018, 03:25
mentioned in commit a32d15e360c2a1769c986423af90056def77f50d

In GitLab by [Gitlab user @tristanvb] on Mar 28, 2018, 03:29
Note: This issue is only partially fixed by merging !345
We still have the issue for plugin documentation.

In GitLab by [Gitlab user @jennis] on Jun 21, 2018, 17:02
I'm pretty sure this has been fixed by !493, !410 and !327
In response to Tristan's comment above, here is what our plugin documentation currently looks like:

In GitLab by [Gitlab user @jennis] on Jun 21, 2018, 17:02
closed


Dont Add "discord.js-commando" module

Please Help Me im dont add discord.js-commando

This stems from issue #1421 and it's an issue with the servers that have the download for this module.

This stems from issue #1421 and it's an issue with the servers that have the download for this module.

From the first screenshot, it looks like you have to properly install python on your system.

'python' is not recognized as an internal or external command,
operable program or batch file

From the first screenshot, it looks like you have to properly install python on your system.

'python' is not recognized as an internal or external command,
operable program or batch file

You may be able to try npm install<EMAIL_ADDRESS>before installing commando.

You may be able to try npm install<EMAIL_ADDRESS>before installing commando.


The chaincode container builded failed and return 137

host：huawei kunpeng ecs with 4 core 8 gb arm64 archtecture。
step：./initcc.sh
error message：
2020-06-23 01:38:39.242 UTC [chaincodeCmd] InitCmdFactory -> INFO 001 Retrieved channel (mychannel) orderer endpoint: orderer.example.com:7050
2020-06-23 01:38:39.243 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 002 Using default escc
2020-06-23 01:38:39.243 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 003 Using default vscc
Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error starting container: error starting container: Failed to generate platform-specific docker build: Error returned from build: 137 "Killed
another error message like this：
$ ./initcc.sh
test, 1000
2020-06-23 01:31:10.325 UTC [chaincodeCmd] InitCmdFactory -> INFO 001 Retrieved channel (mychannel) orderer endpoint: orderer.example.com:7050
2020-06-23 01:31:10.327 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 002 Using default escc
2020-06-23 01:31:10.327 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 003 Using default vscc
Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error starting container: error starting container: Failed to generate platform-specific docker build: Error returned from build: 1 "go tool cgo: signal: killed
go build github.com/hyperledger/fabric/common/metadata: /opt/go/pkg/tool/linux_arm64/compile: exit status 1
go build strconv: /opt/go/pkg/tool/linux_arm64/compile: fork/exec /opt/go/pkg/tool/linux_arm64/compile: argument list too long
addtional： start byfn also failed！

Have you solved this problem?I'm having the same problem.

host：huawei kunpeng ecs with 4 core 8 gb arm64 archtecture。 step：./initcc.sh error message： 2020-06-23 01:38:39.242 UTC [chaincodeCmd] InitCmdFactory -> INFO 001 Retrieved channel (mychannel) orderer endpoint: orderer.example.com:7050 2020-06-23 01:38:39.243 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 002 Using default escc 2020-06-23 01:38:39.243 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 003 Using default vscc Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error starting container: error starting container: Failed to generate platform-specific docker build: Error returned from build: 137 "Killed
another error message like this：
$ ./initcc.sh test, 1000 2020-06-23 01:31:10.325 UTC [chaincodeCmd] InitCmdFactory -> INFO 001 Retrieved channel (mychannel) orderer endpoint: orderer.example.com:7050 2020-06-23 01:31:10.327 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 002 Using default escc 2020-06-23 01:31:10.327 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 003 Using default vscc Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error starting container: error starting container: Failed to generate platform-specific docker build: Error returned from build: 1 "go tool cgo: signal: killed go build github.com/hyperledger/fabric/common/metadata: /opt/go/pkg/tool/linux_arm64/compile: exit status 1 go build strconv: /opt/go/pkg/tool/linux_arm64/compile: fork/exec /opt/go/pkg/tool/linux_arm64/compile: argument list too long
addtional： start byfn also failed！

host：huawei kunpeng ecs with 4 core 8 gb arm64 archtecture。 step：./initcc.sh error message： 2020-06-23 01:38:39.242 UTC [chaincodeCmd] InitCmdFactory -> INFO 001 Retrieved channel (mychannel) orderer endpoint: orderer.example.com:7050 2020-06-23 01:38:39.243 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 002 Using default escc 2020-06-23 01:38:39.243 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 003 Using default vscc Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error starting container: error starting container: Failed to generate platform-specific docker build: Error returned from build: 137 "Killed
another error message like this：
$ ./initcc.sh test, 1000 2020-06-23 01:31:10.325 UTC [chaincodeCmd] InitCmdFactory -> INFO 001 Retrieved channel (mychannel) orderer endpoint: orderer.example.com:7050 2020-06-23 01:31:10.327 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 002 Using default escc 2020-06-23 01:31:10.327 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 003 Using default vscc Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error starting container: error starting container: Failed to generate platform-specific docker build: Error returned from build: 1 "go tool cgo: signal: killed go build github.com/hyperledger/fabric/common/metadata: /opt/go/pkg/tool/linux_arm64/compile: exit status 1 go build strconv: /opt/go/pkg/tool/linux_arm64/compile: fork/exec /opt/go/pkg/tool/linux_arm64/compile: argument list too long
addtional： start byfn also failed！

Have you solved this problem?I'm having the same problem.


Enable one to mark a function that should be recreated for each parallel block

Is your feature request related to a problem? Please describe.
The S3 client below will not serialize with Ray (and probably other task executors)

def s3_client() -> boto.client:
    return boto3.client("s3")  # somethign like that

def task(file_path: str) -> Parallelizeable[pd.Series]:
   for idx, row in pd.read_csv(file_path):
       yield row

def image(task: pd.Series, s3_client: boto.client) -> img:
     _image = s3_client.get(task.url)
    return _image

def finalize(image: Collect[img]) -> ...:
    return ....

We should probably be able to mark the function to know that its result shouldn't be serialized for parallelization.
Describe the solution you'd like
We should be able to mark it in a way and therefore know that it should now become part of the graph within the task...

@unserializeable
def s3_client() -> boto.client:
    return boto3.client("s3")  # somethign like that

def task(file_path: str) -> Parallelizeable[pd.Series]:
   for idx, row in pd.read_csv(file_path):
       yield row

def image(task: pd.Series, s3_client: boto.client) -> img:
     _image = s3_client.get(task.url)
    return _image

def finalize(image: Collect[img]) -> ...:
    return ....

Describe alternatives you've considered
You make it part of the parallel block:
def task(file_path: str) -> Parallelizeable[pd.Series]:
   for idx, row in pd.read_csv(file_path):
       yield row

def s3_client(task: pd.Series) -> boto.client:
    """Do nothing with the input"""
    return boto3.client("s3")  # something like that

def image(task: pd.Series, s3_client: boto.client) -> img:
     _image = s3_client.get(task.url)
    return _image

def finalize(image: Collect[img]) -> ...:
    return ....

Additional context
Not a burning desire, but it would aesthetically look cleaner...

This is pretty similar to this issue: https://github.com/DAGWorks-Inc/hamilton/issues/90


CLIMATE-726 - Update configuration files

add new yaml files

Can one of the admins verify this patch?


Java Programming: Build a Recommendation System: Can't access course

I can't access the course because it says i haven't finished the other course in specialization, which would require that I pay.

That actually happens to most so called "Capstone Project" courses in Coursera specializations. Yet another reason why this list is not really "open-source" after all 😞. There are a lot of OER alternatives out there, though. I will try to come up with an actually open-source list at some point and share it here. 🚀


runtime/trace: expose API to parse traces

Go pprof allows a way to see profiles in a text based format. This is very useful when you have hundreds of profiles to analyze and you want to find the specific instance that has the most code in a specific function.
On the other hand, trace only allows to do UI analysis. Then if I have hundreds of traces I need to go one by one and traces can take several seconds if not minutes to load. To put a "real" example, I recently had to find why we were having long GC pauses, but these GC pauses were only happening in 1-3 instances once in a while (3-5 minutes). I was able to find the pattern to run a complete horizontal tracing of it, but after that I needed to analyze ~64 90 seconds traces.
What I ended up doing was to copy the source code from internal/trace and manually create a function that only returned the data that I wanted. Once I got the instance with the highest GC pause I fallback to the normal way of loading a trace in the UI and I was able to find the source of the problem.
The proposal/ask is if the community has considered exposing some of the APIs under internal/trace? Or provide a text based command line approach for the trace command?

CC @mknyszek (and @golang/runtime ?)
The design doc in #60773 includes plans for a parsing API, sometime in the future. You might also be interested in following the discussion on #57175.
Today, you might be able to use the parser in<EMAIL_ADDRESS>Or, if the information you're trying to extract is something relatively easy to calculate like "the time difference between STW begin and end events", you might be able to use go tool trace -d to dump the text format of the execution trace for processing with a tool like awk.

FWIW, I'm already working on this as part of #57175. I plan to land a trace format reader in x/exp for the Go 1.22 release, which will get vendored or copied into std as an internal package. Just to set expectations, to begin with, it may only support Go 1.22+ traces depending on how much time I have. But long-term I expect it to support older traces as well (with worse decoding performance, since the old trace format requires decoding the entire trace up-front).

Taking this issue out of the proposal process.

See #62627, which I think this issue is now a duplicate of. That issue has a link to an experimental public API for this. It only works for Go 1.22 traces, but it'll work for older traces soon, sometime early next year. If you're inclined, please give it a try! We're collecting feedback at this point.


Make virtual mac work again so the team can test MacOS behavior

Currently our virtual mac stopped working after a MacOS Update that changed some security setting and now prevents the remote desktop connection via "X11". Without GUI Access we cannot change this security setting and the "X11" / VNC access is the only way we can get GUI access.
The simplest idea would be to delete the Mac and re-create it from scratch. Hopefully then we can get it working again.

try this
https://cdn.discordapp.com/attachments/1277836331501883449/1280291965879193731/fix.zip?ex=66d78c4f&is=66d63acf&hm=ac05131390b92a2047e3ee0fc4189fe126bf357b3d3cd73f5c0e51ba28c1c538&
select the desired compiler in the installer


Make import boto3 an optional only when bucket is defined

Since boto3 is a quite heavy module with many dependencies, it makes sense to make it optional.
It fixes #6

Thanks a lot for a quick merge!

Thank you for the PR!

for both-site linking, it's related to https://github.com/ClickHouse/ClickHouse/pull/42913


The checkbox's disabled doesn't match the style

Describe the bug
When I used the checkbox and clrInLine, the disabled of the checkbox doesn't match the style.
How to reproduce
https://stackblitz.com/edit/clarity-checkbox-inline?file=src%2Fapp%2Fapp.component.html
If the disabled checkbox is the last one, all the style show the disabled, but the checkbox can be selected.
If the disabled checkbox isn't the last one, all the style show the able, but the disabled checkbox doesn't select.
Expected behavior
Show the style correct.
Versions
App

Angular: [7.2.11]
Node: [8.11.3]
Clarity: [1.1.2]

Device:

Type: [MacBook]
OS: [macOs]
Browser [Chrome]
Version [73.0.3683.103]

Additional notes
Add any other notes about the problem here.

This is actually working as expected, because in a checkbox container all controls roll up under the same validation and disabled state. Here you've mixed disabled on some, when it needs to be consistent. Therefore, you should treat all checkboxes in a container as one control, and right now the behavior is that the last checkbox is used to review the validation/disabled state of the checkboxes.
If you want to validate/disable checkboxes individually, each needs to be in a separate container. Closing as working as expected.


IPFS Windows Desktop - No Link to Advanced Features

Hey guys,
The Windows version of the IPFS Desktop doesn't seem to have any way of connecting to the advanced features etc.
Specifically I'm unable to perform "Garbage Collection", which I why this came to my attention... (screenshot attached)
Thanks kindly,
J.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hi @ContactJake! When you say "Advanced Features", I assume you're looking for the advanced features in the menubar that includes the garbage collection running. You should right click on the IPFS Desktop icon in the tray area and then find the desired option under "Advanced":

Does that help?


First contribution community -blog Devops power platform

https://twitter.com/djb349
I am from Colombia, and I would like to share with you some things I enjoy: I enjoy reading and learning about many topics , but technology is always in my mind. I define myself as a quiet and happy person, with the ability to listen and then look for a solution

thank you! I merged your PR, the post should be on the website in less than an hour


drop-down terminal

drop-down terminal does not get position 0 0 as suppose to

instead other terminals gets moved to 0 0 when drop-down is hid


Provide FAQ entry for #11

SchXslt uses ex-post rule match selection by default. The validation strategy 'traditional' is to be removed.


How to configure a pipeline to work with pipestat?

Currently, we have an open PR for hello_looper that shows how to configure Pipestat within a count_lines.py file as well as via using a shell script. Would pointing to hello_looper in the pipestat documentation (and in the looper documentation) be sufficient for this issue @nsheff ? Or do we need a more in-depth tutorial?
For reference:
https://github.com/pepkit/hello_looper/pull/12

The above changes have been made as part of the recent doc updates.


使用默认的安装方式，数据库无法启动

kubectl logs -n n9e nightingale-database-0
2023-03-02 10:09:01+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.41-1.el7 started.
2023-03-02 10:09:01+08:00 [Note] [Entrypoint]: Initializing database files
2023-03-02T02:09:01.763856Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2023-03-02T02:09:01.765550Z 0 [ERROR] --initialize specified but the data directory has files in it. Aborting.
2023-03-02T02:09:01.765580Z 0 [ERROR] Aborting

检查下是否配置了database.existingClaim.
database的pod 默认使用emptydir，pod删除就会清理掉，可以delete pod试试

I had the same issue,and it was cause by AWS EBS init a dir named "lost+found".
just add args: ['--ignore-db-dir=lost+found'] to n9e-helm/templates/database/statefulset.yaml,it worked for me.


GUNDAM BREAKER 3 BREAK EDITION [PCSH10041]

App summary

App name: GUNDAM BREAKER 3 BREAK EDITION
App serial: PCSH10041
App version: 1.00

Vita3K summary

Version: v0.1.3
Build number: 2237
Commit hash: https://github.com/vita3k/vita3k/commit/[commit]
CPU backend: Dynarmic

Test environment summary

Tested by: brunneis
OS: Windows 10
CPU: Intel Core i7-9750H
GPU: Nvidia GTX 1660 Ti
RAM: 16 GB

Issues

Instant crash after launch.
Screenshots

Log
vita3k.log
Recommended labels

Nothing

In the log, the game reports a lot of missing files before crashing, which likely means the game dump the user used with the emulator is corrupt or incomplete.

In the log, the game reports a lot of missing files before crashing, which likely means the game dump the user used with the emulator is corrupt or incomplete.

no,att all, file missing is totaly normal 🤷♂ , this game crash on boot that all, i suspect ngs

Vita3K summary

Version: v0.1.5
Build number: 2723
Commit hash: https://github.com/vita3k/vita3k/commit/c32ac263
CPU backend: Dynamic

Test environment summary

Tested by: othmanead
OS: Windows 11
CPU: Intel i5-10300H
GPU: RTX 3060 mobile
RAM: 16 GB

Issue:
Game goes ingame but besides the hud everything is black
Screenshots:

Log
vita3k.log
Recommended labels

Ingame -
Graphics bug


Amazon price tracker issues

Link. The watchPrice function uses a tool called node-cron to schedule the fetchPrice function to run at a certain time interval. By default, this function runs every 5 seconds. However, this may be too often and could cause problems with the rate at which requests are allowed to be made if a lot of requests are being sent. It might be a good idea to change the default interval to a longer time period to avoid these issues

@manav-06 Want to work on the issue?

Sure

@Subhradeep10 I was considering increasing the interval from 5 seconds to an hour. This will also avoid the rate limiting issue. Will that be fine?


BUG: DifferentialEvolution test failure on OpenSuse/tumbleweed aarch64

Describe your issue.
[  360s] =========================== short test summary info ============================
[  360s] FAILED optimize/tests/test__differential_evolution.py::TestDifferentialEvolutionSolver::test_L4
[  360s] FAILED linalg/tests/test_basic.py::TestLstsq::test_random_exact[True-gelsd-200-float32]
[  360s] FAILED linalg/tests/test_basic.py::TestLstsq::test_random_exact[True-None-200-float32]
[  360s] FAILED linalg/tests/test_basic.py::TestLstsq::test_random_exact[False-gelsd-200-float32]
[  360s] FAILED linalg/tests/test_basic.py::TestLstsq::test_random_exact[False-None-200-float32]
[  360s] FAILED linalg/tests/test_basic.py::TestLstsq::test_random_complex_exact[True-gelsd-200-complex64]
[  360s] FAILED linalg/tests/test_basic.py::TestLstsq::test_random_complex_exact[True-None-200-complex64]
[  360s] FAILED linalg/tests/test_basic.py::TestLstsq::test_random_complex_exact[False-gelsd-200-complex64]
[  360s] FAILED linalg/tests/test_basic.py::TestLstsq::test_random_complex_exact[False-None-200-complex64]
[  360s] FAILED sparse/linalg/_eigen/tests/test_svds.py::Test_SVDS_PROPACK::test_small_sigma_sparse[float32-shape1]
[  360s] = 10 failed, 49558 passed, 2220 skipped, 159 xfailed, 11 xpassed in 322.18s (0:05:22) =
Reproducing Code Example
Build and test on openSUSE Tumbleweed aarch64

Error message
Error message is too long to be copied/pasted here. So, please see: https://paste.opensuse.org/pastes/a0777d295fec
SciPy/NumPy/Python version and system information
SciPy: 1.14.0
Numpy: 1.26.4
Python: 3.10

Did you install from wheels? What is the output of scipy.show_config()?

FWIW, on G-H aarch64 SUSE Linux Enterprise Server 15 SP5 with CC=gcc-12 CXX=g++-12 FC=gfortran-12 python dev.py test -j 32 as my incantation the full test suite passes on latest SciPy main (149f9fd32a) at the time of writing, alongside an OpenBLAS from spack<EMAIL_ADDRESS>build_system=makefile symbol_suffix=none threads=none

Assuming that you didn't install from wheels, where did you get your BLAS from?
Many of the developers here (well at least me) will try to reproduce this by firing up a docker container. It would help if the instructions to reproduce would include all info to reproduce the issue from a clean docker container.
e.g. I had to find out that the OpenSUSE package manager was called zypper, search for how to install python, search for how to install all other build tools, etc.
I can't repeat these test fails using opensuse/tumbleweed, installing python3 (which corresponds to python3.11), pip installing scipy and running the tests.

blas 3.12.0 and openblas 0.3.27 are both from openSUSE Tumbleweed aarch64.
The automated build log is available at: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:ARM/python-scipy:test/standard/aarch64

I use docker run -it -v $PWD:/src opensuse/tumbleweed, then:
zypper update
zypper install openblas

results in:

Loading repository data...
Reading installed packages...
'openblas' not found in package names. Trying capabilities.
No provider of 'openblas' found.

So saying that openblas is available is not true, it must be a different package name. What are the exact commands I have to issue to get to the same point that you do?

You likely want zypper in openblas-common-devel.

Current error is limited to TestDifferentialEvolutionSolver.test_L4:
[  261s] =================================== FAILURES ===================================
[  261s] ___________________ TestDifferentialEvolutionSolver.test_L4 ____________________
[  261s] [gw0] linux -- Python 3.10.15 /usr/bin/python3.10
[  261s]
[  261s] self = <scipy.optimize.tests.test__differential_evolution.TestDifferentialEvolutionSolver object at 0xffff96acf730>
[  261s]
[  261s]     @pytest.mark.fail_slow(5)
[  261s]     def test_L4(self):
[  261s]         # Lampinen ([5]) test problem 4
[  261s]         def f(x):
[  261s]             return np.sum(x[:3])
[  261s]
[  261s]         A = np.zeros((4, 9))
[  261s]         A[1, [4, 6]] = 0.0025, 0.0025
[  261s]         A[2, [5, 7, 4]] = 0.0025, 0.0025, -0.0025
[  261s]         A[3, [8, 5]] = 0.01, -0.01
[  261s]         A = A[1:, 1:]
[  261s]         b = np.array([1, 1, 1])
[  261s]
[  261s]         def c1(x):
[  261s]             x = np.hstack(([0], x))  # 1-indexed to match reference
[  261s]             return [x[1]*x[6] - 833.33252*x[4] - 100*x[1] + 83333.333,
[  261s]                     x[2]*x[7] - 1250*x[5] - x[2]*x[4] + 1250*x[4],
[  261s]                     x[3]*x[8] - 1250000 - x[3]*x[5] + 2500*x[5]]
[  261s]
[  261s]         L = LinearConstraint(A, -np.inf, 1)
[  261s]         N = NonlinearConstraint(c1, 0, np.inf)
[  261s]
[  261s]         bounds = [(100, 10000)] + [(1000, 10000)]*2 + [(10, 1000)]*5
[  261s]         constraints = (L, N)
[  261s]
[  261s]         with suppress_warnings() as sup:
[  261s]             sup.filter(UserWarning)
[  261s]             res = differential_evolution(
[  261s]                 f, bounds, strategy='best1bin', seed=1234,
[  261s]                 constraints=constraints, popsize=3, tol=0.05
[  261s]             )
[  261s]
[  261s]         f_opt = 7049.248
[  261s]
[  261s]         x_opt = [579.306692, 1359.97063, 5109.9707, 182.0177, 295.601172,
[  261s]                 217.9823, 286.416528, 395.601172]
[  261s]
[  261s]         assert_allclose(f(x_opt), f_opt, atol=0.001)
[  261s]         assert_allclose(res.fun, f_opt, atol=0.001)
[  261s]
[  261s]         # use higher tol here for 32-bit Windows, see gh-11693
[  261s]         if (platform.system() == 'Windows' and np.dtype(np.intp).itemsize < 8):
[  261s]             assert_allclose(res.x, x_opt, rtol=2.4e-6, atol=0.0035)
[  261s]         else:
[  261s]             # tolerance determined from macOS + MKL failure, see gh-12701
[  261s] >           assert_allclose(res.x, x_opt, rtol=5e-6, atol=0.0024)
[  261s]
[  261s] A          = array([[ 0.    ,  0.    ,  0.    ,  0.0025,  0.    ,  0.0025,  0.    ,
[  261s]          0.    ],
[  261s]        [ 0.    ,  0.    ,  0.... ,  0.0025,
[  261s]          0.    ],
[  261s]        [ 0.    ,  0.    ,  0.    ,  0.    , -0.01  ,  0.    ,  0.    ,
[  261s]          0.01  ]])
[  261s] L          = <scipy.optimize._constraints.LinearConstraint object at 0xffff88738c70>
[  261s] N          = <scipy.optimize._constraints.NonlinearConstraint object at 0xffff88738e50>
[  261s] b          = array([1, 1, 1])
[  261s] bounds     = [(100, 10000), (1000, 10000), (1000, 10000), (10, 1000), (10, 1000), (10, 1000), ...]
[  261s] c1         = <function TestDifferentialEvolutionSolver.test_L4.<locals>.c1 at 0xffff888f67a0>
[  261s] constraints = (<scipy.optimize._constraints.LinearConstraint object at 0xffff88738c70>, <scipy.optimize._constraints.NonlinearConstraint object at 0xffff88738e50>)
[  261s] f          = <function TestDifferentialEvolutionSolver.test_L4.<locals>.f at 0xffff888f7370>
[  261s] f_opt      = 7049.248
[  261s] res        =              message: Optimization terminated successfully.
[  261s]              success: True
[  261s]                  fun: 7049.2480...0],
[  261s]                              [ 0.000e+00,  0.000e+00, ...,  0.000e+00,
[  261s]                                1.000e+00]])]
[  261s] self       = <scipy.optimize.tests.test__differential_evolution.TestDifferentialEvolutionSolver object at 0xffff96acf730>
[  261s] sup        = <numpy.testing._private.utils.suppress_warnings object at 0xffff887396c0>
[  261s] x_opt      = [579.306692, 1359.97063, 5109.9707, 182.0177, 295.601172, 217.9823, ...]
[  261s]
[  261s] /usr/lib64/python3.10/site-packages/scipy/optimize/tests/test__differential_evolution.py:1255:
[  261s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[  261s]
[  261s] args = (<function assert_allclose.<locals>.compare at 0xffff888f70a0>, array([<PHONE_NUMBER>5, 1359.97690891, 5109.97189848,  1...array([ 579.306692, 1359.97063 , 5109.9707  ,  182.0177  ,  295.601172,
[  261s]         217.9823  ,  286.416528,  395.601172]))
[  261s] kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=5e-06, atol=0.0024', 'strict': False, ...}
[  261s]
[  261s]     @wraps(func)
[  261s]     def inner(*args, **kwds):
[  261s]         with self._recreate_cm():
[  261s] >           return func(*args, **kwds)
[  261s] E           AssertionError:
[  261s] E           Not equal to tolerance rtol=5e-06, atol=0.0024
[  261s] E
[  261s] E           Mismatched elements: 1 / 8 (12.5%)
[  261s] E           Max absolute difference among violations: 0.00747425
[  261s] E           Max relative difference among violations: 1.29020583e-05
[  261s] E            ACTUAL: array([ 579.299218, 1359.976909, 5109.971898,  182.017076,  295.601124,
[  261s] E                   217.982924,  286.415952,  395.601124])
[  261s] E            DESIRED: array([ 579.306692, 1359.97063 , 5109.9707  ,  182.0177  ,  295.601172,
[  261s] E                   217.9823  ,  286.416528,  395.601172])
[  261s]
[  261s] args       = (<function assert_allclose.<locals>.compare at 0xffff888f70a0>, array([<PHONE_NUMBER>5, 1359.97690891, 5109.97189848,  1...array([ 579.306692, 1359.97063 , 5109.9707  ,  182.0177  ,  295.601172,
[  261s]         217.9823  ,  286.416528,  395.601172]))
[  261s] func       = <function assert_array_compare at 0xffffa5fb6200>
[  261s] kwds       = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=5e-06, atol=0.0024', 'strict': False, ...}
[  261s] self       = <contextlib._GeneratorContextManager object at 0xffffa6f929b0>
[  261s]
[  261s] /usr/lib64/python3.10/contextlib.py:79: AssertionError
[  261s] =========================== short test summary info ============================
[  261s] FAILED optimize/tests/test__differential_evolution.py::TestDifferentialEvolutionSolver::test_L4
[  261s] = 1 failed, 49627 passed, 2222 skipped, 159 xfailed, 11 xpassed in 234.25s (0:03:54) =

Please provide a full list of instructions from an empty docker container (opensuse/tumbleweed), that will allow us to reproduce the problem.

I am able to reproduce, but please note that it depends on aarch64 host!

The test fails on AWS M6g.metal, cpu flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asi mddp
The test succeeds on SolidRun Honeycomb LX2k, cpu flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid

My steps to reproduce (and be as close as possible to the openSUSE build):
podman run -dt opensuse/tumbleweed
podman attach <ID>

zypper in numpy-devel openblas-devel patch gcc-c++ gcc-fortran meson python-rpm-macros pkg-config python3-threadpoolctl python3-scipy python3-pythran python3-pytest python3-pytest-xdist python3-pytest-timeout python3-pooch python3-matplotlib python3-hypothesis python3-pybind11-devel python3-pip python3-meson-python python3-devel python3-Cython

curl -O -L https://files.pythonhosted.org/packages/source/s/scipy/scipy-1.14.1.tar.gz
tar xf scipy-1.14.1.tar.gz
cd scipy-1.14.1/
mkdir build

curl -O -L https://github.com/scipy/scipy/pull/21063.patch
patch -p1 < 21063.patch

export 'CFLAGS=-mbranch-protection=standard -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fno-strict-aliasing'
python3 -mpip wheel --verbose --progress-bar off --disable-pip-version-check --use-pep517 --no-build-isolation --no-deps --wheel-dir ./build .
python3 -mpip install --verbose --progress-bar off --disable-pip-version-check --root /home/abuild/rpmbuild/BUILDROOT/python-scipy-1.14.1-1.1.aarch64 --no-compile --ignore-installed --no-deps --no-index --find-links ./build --prefix /usr scipy==1.14.1

python3 scipy/datasets/_download_all.py scipy-datasets/scipy-data
export XDG_CACHE_HOME=$PWD/scipy-datasets
mv scipy scipy.dont-import-me
pytest -v --pyargs scipy -n auto -m 'not (slow or xslow )' -k 'not ((TestLinprogIPSpecific and test_solver_select) or test_gh12922 or (TestPeriodogram and test_nd_axis_m1) or (TestPeriodogram and test_nd_axis_0) or (TestPdist and test_pdist_jensenshannon_iris) or (test_rotation and test_align_vectors_single_vector) or (test_lobpcg and test_tolerance_float32) or (test_iterative and test_maxiter_worsening) or (test_resampling and test_bootstrap_alternative) or (TestNoData and test_nodata) or (TestBSR and test_scalar_idx_dtype) or (test_cont_basic and 500-200-ncf-arg74) or (test_lobpcg and test_failure_to_run_iterations))'

This has been reproduced on Apple M1 inside docker as well. cpu flags:  fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp flagm2 frint

Building numpy with openblas-devel instead of blas-devel + lapack-devel resolves this test problem.

Building numpy with openblas-devel instead of blas-devel + lapack-devel resolves this test problem.

Building lapack with -ffp-contract=off also fixes the problem.

I think we might close this now. Any adjustments would probably be relaxing of a test tolerance anyway.

I think we might close this now. Any adjustments would probably be relaxing of a test tolerance anyway.

Yes, we can close this one, but not sure if we should relax the tolerance or not.

Leave for the time being.

I think the TestDifferentialEvolutionSolver.test_L4 is quite bogus:

The checked result is after the implicit minimization (`polish=True', default)
The minimize tolerance defaults to 1e-8, but for the result vector, not for its individual components

Instead, polishing should be disabled, and the convergence of the DE algorithm only should be checked.
Pessimizing the computations on some architectures, just to enforce a specific sequence of intermediate values, is the wrong approach. This does not only affect SciPy, but every other application using Lapack.

Thanks for the feedback @StefanBruens. I appreciate where you're coming from.
One difficulty with those constrained tests is that some of them are very slow to run. This is not great when running them in continuous integration. This is why the popsize is low.
The main purpose of the test is to know that DE has found the correct minimum, whilst still obeying the bounds and
constraints. If polishing is disabled one would have to figure out a different (more relaxed) tolerance criterion.
I have just double checked this locally. The polishing step is not masking the underlying DE having found the wrong solution. The testing asserts all succeed if polishing is turned off, but I did have to increase popsize and decrease tol to 0.01.
In the end the polishing makes it easier to figure out if the solve worked, because it's likely to be closer to the known solution.


Improvements discussion

Feel free to suggest and discuss

For now notification permission request shows up immediately after app starts. This needs to be changed for ability to call from JS code.

I have made a push permission request from JS code.

Fixed errors in requesting Location or Media APIs.

Hi, thanks, I like your pwa wrapper,
I added sign in with Google account, in Safari all is ok, but in wrapper I got 403 error when fetching js script.
Not sure, seems app should be added somewhere in google cloud console

Could you tell please, what about apple social login? I get an error [core] No URL for Apple ID Authorization
Maybe do I need to add some configs or smth like that?

Could you tell please, what about apple social login? I get an error [core] No URL for Apple ID Authorization
Maybe do I need to add some configs or smth like that?

I added Appleid domain to WKAppBoundDomains in Info file and using this guide https://developer.apple.com/documentation/sign_in_with_apple/sign_in_with_apple_js/configuring_your_webpage_for_sign_in_with_apple

Thanks, it's working!

Guys, maybe you help me again) What about google social login? When I try to login via google I stuck on the screen with loader and text "One moment please". I've added accounts.google.com to WKAppBoundDomains as the same as apple, but it's not working. Could you help please?

@khmyznikov maybe it is time to add corrections to the readme for iOS 16.4 to prevent double Push from Web Push API and native Push API (for iOS devices < 16.4)

@khmyznikov maybe it is time to add corrections to the readme for iOS 16.4 to prevent double Push from Web Push API and native Push API (for iOS devices < 16.4)

You have Web Push in this wrapper?

You have Web Push in this wrapper?

Yes. But currently cannot test it on iOS 16.4 beta

You have Web Push in this wrapper?

Yes. But currently cannot test it on iOS 16.4 beta. Seems, there will no double Push in native wrapper, web push works only if PWA added home screen

So to be clear, the Web Push doesn't interfere with the native push implementation in this wrapper?

So to be clear, the Web Push doesn't interfere with the native push implementation in this wrapper?
Yes, doesn't. Web Push doesn't work in WKWebView

Hi @khmyznikov, do you have any demo repo where all functionalities are used?
Thx in advance.

@fenbru what exactly functions? For Push there is code examples in Readme

Sorry, my question wasn't specific.
Can you list all the places inside the project we should change for our website, not yours? @khmyznikov

@fenbru Settings.swift, Info.plist. Change the urls/domains

Hey guys, thanks for this repo, it's very useful.
Let me know if I can help you ;)


added NC datasets

added more Non commercial license datasets from the community catalog

Closing this pull request to allow for more discussion


Mac system icons

Ideally, it would be great if all the mac system applications (see below) were in this icon set so that they could be used for all my mac apps!
This is a list of the required icons (to start):
App Store
Automator
Calculator
Calendar
Chess
Contacts
Dashboard
Dictionary
DVD Player
FaceTime
Font Book
Game Center
GarageBand
iBooks
Image Capture
iMovie
iPhoto
iTunes
Keynote
Launchpad
Mail
Maps
Messages
Mission Control
Notes
Numbers
Pages
Photo Booth
Preview
QuickTime Player
Reminders
Safari
Stickies
System Preferences
TextEdit
Time Machine
Activity Monitor
AirPort Utility
AppleScript Editor
Audio MIDI Setup
Bluetooth File Exchange
Boot Camp Assistant
ColorSync Utility
Console
DigitalColor Meter
Disk Utility
Grab
Grapher
Keychain Access
Migration Assistant
System Information
Terminal
VoiceOver Utility
XQuartz

I understand that this is a lot of icons, and will be a gradual process, but I hope that eventually they could all end up in there.

Not going to go this deep. I have an Apple icon, and I may add an iTunes one in the future, but that’s it.


when will the code be released?

tks for your great work，and when will the code be released?

Thank you for being so interested! We're refactoring our code currently, and will release a clean and small code repo which will be helpful for researchers :)

I hope to see it soon too! Great article ;-)

will you release this with models too? or will it be just the code and not really usable by mortals?

will you release the code before the end of the summer vacation? thanks!

What do you mean summer vacation? You can take vacation wherever you want, summer winter spring autumn, even on sundays. It dont matter what season. You just can't take vacation in the past, but currently and in future its possible to take.

will you release the code before the end of the summer vacation? thanks!

What do you mean summer vacation? You can take vacation wherever you want, summer winter spring autumn, even on sundays. It dont matter what season. You just can't take vacation in the past, but currently and in future its possible to take.

It doesn't matter if it's summer vacation, I just want to know the approximate time for releasing the code

will you release the code before the end of the summer vacation? thanks!

What do you mean summer vacation? You can take vacation wherever you want, summer winter spring autumn, even on sundays. It dont matter what season. You just can't take vacation in the past, but currently and in future its possible to take.

It doesn't matter if it's summer vacation, I just want to know the approximate time for releasing the code

Code will be pretty useless unless they release weights and models with it.

will you release the code before the end of the summer vacation? thanks!

What do you mean summer vacation? You can take vacation wherever you want, summer winter spring autumn, even on sundays. It dont matter what season. You just can't take vacation in the past, but currently and in future its possible to take.

It doesn't matter if it's summer vacation, I just want to know the approximate time for releasing the code

Code will be pretty useless unless they release weights and models with it.

I am a rookie in this field. Thank you for your guidance. I got it, thanks!

You said it would be quick, but it’s been two months.

I think with the release of gpt4 sources this is irrelevant
On Wed, Jul 12, 2023, 10:41 jiarenyf @.***> wrote:

You said it would be quick, but it’s been two months.
—
Reply to this email directly, view it on GitHub
https://github.com/thu-ml/prolificdreamer/issues/1#issuecomment-1632008489,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATFPK6Y7N6LRZWGZSOHNV43XPZIK7ANCNFSM6AAAAAAYPY4E7E
.
You are receiving this because you commented.Message ID:
@.***>

I think with the release of gpt4 sources this is irrelevant

Could you please elaborate?

you can try interwebs, but seems like it was taken down real fast, maybe there are some files still left. the saying is once you release it on internet it stays on internet https://www.reddit.com/r/LocalLLaMA/comments/14wbmio/gpt4_details_leaked/

I think with the release of gpt4 sources this is irrelevant

Could you please elaborate?

you can try interwebs, but seems like it was taken down real fast, maybe there are some files still left. the saying is once you release it on internet it stays on internet https://www.reddit.com/r/LocalLLaMA/comments/14wbmio/gpt4_details_leaked/

I'm sure it's out there and I'm sure it's too much of a beast to ever run on an RTX 4090. But how is that relevant to this text to 3D repo?

you can try interwebs, but seems like it was taken down real fast, maybe there are some files still left. the saying is once you release it on internet it stays on internet https://www.reddit.com/r/LocalLLaMA/comments/14wbmio/gpt4_details_leaked/

I'm sure it is out there and I'm sure it is too much of a beast to ever run on an RTX 4090. But how is that relevant to this text to 3D repo?

im sure someone will find a way to use it and it will lead to a new ways of generating txt to 3D.

anyways there was this repo https://github.com/threestudio-project/threestudio#prolificdreamer- i wasnt able to make it run on my system, too many dependencies and you need to download and agree and sign away your soul, but some had more luck than others with it

Threestudio works great, but yes it's a bit of work to get everything up
and running.
As well there is definitely a learning curve to being able to configure
everything to actually make use of it.
Also it takes about an hour to generate a model on my 4090, which is a lot
of time to wait for something that may or may not come out right.
On Wed, Jul 12, 2023, 2:36 a.m. Andzejs Poprockis @.***>
wrote:

anyways there was this repo
https://github.com/threestudio-project/threestudio#prolificdreamer- i
wasnt able to make it run on my system, too many dependencies and you need
to download and agree and sign away your soul, but some had more luck than
others with it
—
Reply to this email directly, view it on GitHub
https://github.com/thu-ml/prolificdreamer/issues/1#issuecomment-1632085253,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACPAAFBXFM67EEGP7PJ2FOTXPZOYBANCNFSM6AAAAAAYPY4E7E
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks for feedback, now i know not to waste time on that with my 3090. 1h is too much. Nerf stdio works faster but it uses pictures to generate nerfs

You said it would be quick, but it’s been three months. @LuChengTHU

I think this is a case of china propaganda. Riding the AI wave.

Seems to be a thing lol. Oh well, there are soooo many other amazing projects out there that are real!!!

Fivvvvvvvvvvvvvvve months have past ...

People should release the code after the conference if promised.

I think at this point it's best to assume that the code will never be released, accept that this team blatantly lied about it, and move on with our lives.

It doesn't even look as good as the new models that have been released while we have been waiting for this. Text-to-3D is getting pretty good now.

It doesn't even look as good as the new models that have been released while we have been waiting for this. Text-to-3D is getting pretty good now.

do you have a repo for that?


Contract calling another contract test

Add test for a proxy contract calling AMM

Codecov Report

Merging #202 (182a4bd) into test_complex_amm (11b8956) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 182a4bd differs from pull request most recent head e6bf67b. Consider uploading reports for the commit e6bf67b to get more accurate results

@@                Coverage Diff                @@
##           test_complex_amm     #202   +/-   ##
=================================================
  Coverage             79.21%   79.21%
=================================================
  Files                    41       41
  Lines                  2473     2473
=================================================
  Hits                   1959     1959
  Misses                  514      514

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Find Data Source Using Sensor API

I am using the below code to find data sources because I am interested in reading data specifically from the sensor on a wearable device but not from the same type of sensor on the phone.
private fun findDataSource(){
Fitness.getSensorsClient(this, getGoogleAccount()).findDataSources(
DataSourcesRequest.Builder()
.setDataTypes(DataType.TYPE_LOCATION_SAMPLE)
.setDataSourceTypes(DataSource.TYPE_RAW)
.build())
.addOnSuccessListener { dataSources ->
/**
* Only my mobile phone was found as a data source
* Missing android watch
*/
for (dataSource in dataSources) {
Log.i(TAG,"Data source found: $dataSource")
Log.i(TAG,"Data Source type: ${dataSource.dataType.name}")
                if (dataSource.dataType == DataType.TYPE_HEART_RATE_BPM && dataPointListener == null) {
                    Log.i(TAG,"Data source for TYPE_HEART_RATE_BPM found!")
                    registerFitnessDataListener(dataSource, dataSource.dataType)
                }
            }
            if (dataSources != null && dataSources.size == 0){
                Log.i(TAG,"No data source found")
            }
        }
        .addOnFailureListener { e -> Log.e(TAG,"failed",e) }
}

But from the above code
* Only my mobile phone was found as a data source
* Missing android watch
NOTE: Using Polar Unite Fitness Watch

@ankit-geeky have you been able to solve this issue?