[TASK] Economic Uncertainty Quantification in HERON

Issue Description
Is your feature request related to a problem? Please describe.
In HERON, inputs for component cashflows (driver, reference_price, reference_driver, scaling_factor_x) can take the shape of a variety of ValuedParams ( e.g., static history or synthetic history, Function, FixedValue). Some cost values, however, have uncertainty associated with their final values and it would be great to capture this uncertainty within HERON analysis.
Describe the solution you'd like
A new ValuedParam could be introduced to consider uncertainty within an input. This uncertainty could be quantified by some sort of distribution; the desired input can take the value of a random variable sampled from said distribution. HERON can take advantage of the Monte Carlo sampling technique (already used in the inner loops of the RAVEN-runs-RAVEN workflow) to sample from these cost distributions at the same time as synthetic histories are generated from given TSA ROMs.

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[x] 1. Is it tagged with a type: defect or task?
[x] 2. Is it tagged with a priority: critical, normal or minor?
[x] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[x] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[x] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[x] 1. If the issue is a defect, is the defect fixed?
[x] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] 4. If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
[x] 5. If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?

Approved to close via #331 .


Allow setting concurrency in ProxyConfig for gateway

Alternative to https://github.com/istio/istio/pull/30694

not stale


CustomResource を使うように変更

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

動作確認完了


Update doc with RHEL 7.9 support for blobfuse

A while ago:
It was confirmed sometime back that RHEL 7.9 is supported for installing blobfuse:
https://github.com/MicrosoftDocs/azure-docs/issues/83119
Though the public doc has not been updated yet.
How to mount Azure Blob storage as a file system on Linux
Could you please update the public doc as it has been creating confusion with customers or not, whether or not blobfuse will work with RHEL 7.9

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

ID: cef87c25-d489-ed0c-c94f-c764b3fd2413
Version Independent ID: 7f8c5d56-2382-de90-dcaf-6fc87706a3be
Content: How to mount Azure Blob storage as a file system on Linux
Content Source: articles/storage/blobs/storage-how-to-mount-container-linux.md
Service: storage
Sub-service: blobs
GitHub Login: @rnirek
Microsoft Alias: rnirek

Thanks for reporting this. I created a PR to update the documentation. The changes will go live once reviewed by the author and approved.


Tolerate CAPI taints on uninitialized nodes

What this PR does / why we need it
cilium helm release takes very long to become ready because cilium ui and cilium relay pods can't be scheduled on uninitialized nodes.
Checklist

[X] Update changelog in CHANGELOG.md.

/run cluster-test-suites

/run cluster-test-suites

/test upgrade

/run cluster-test-suites

would it be useful for all helmRelease based apps?

I didn't find it to be an issue for any of the others, so to keep things simple, I'd keep it only for cilium for now.


Enable dependabot

Hi! I just enabled GitHub's dependabot for my repository that uses PCR and it found several high-severity vulnerabilities in dependencies of prisma-cli package (e.g. dependencies of prisma-client-rust-cli). Maybe it's worth enabling dependabot for this repository, so that such alerts could be handled upstream?

To clarify, are the vulnerabilities in the Prisma engine crates or others? If they're in the Prisma engine crates I'm not really interested in fixing them. Hardcoding dependency versions in my prisma engines fork is annoying enough, I don't want to manage different dependency versions and verify that they still work. Just don't have time. Would be great to work with the Prisma team on this but PCR is not on their list of priorities.

It's mostly low-level crates like sized-chunks and crossbeam-utils. I don't see them as direct dependencies of the PCR's CLI, so I guess it's Prisma engine crates. Closing the issue?

Yeah will do. My philosophy is that if it's good enough for Prisma to ship to their customers then I'm comfortable including it here.


Twilio serverless deployment error

Good morning
I am communicating by this means because I am deploying my serverless via GitHub actions, but I get the following error when performing this action
I would like to know why and how I can solve it.
I attach evidence

Hi @JuanSanabria-SEAQ
that should be addressed by #421 and #422
Can you take an update to ensure you have those changes and try again and if you still have an issue can you re-open this one?


Playback does not work

I'm trying to get a basic setup working and so far it seems the publishing side is ok. I can stream to the server and I see the publishing stream in the stats. When I try to connect with players though I just get error after a timeout.
ffplay says this:
ffplay -i "rtmp://<IP_ADDRESS>/live/myStream live=1"
RTMP_ReadPacket, failed to read RTMP packet header
rtmp://<IP_ADDRESS>/live/myStream live=1: Invalid data found when processing input
The config is fairly straightforward:

rtmp {
    server {
        listen 1935;
        chunk_size 4000;

        application live {
            live on;
            allow publish all;
            allow play all;
        }
    }
}

same problem, it works well when I set "worker_processes  1"

same problem, it works well when I set "worker_processes 1"

I also experienced the same problem on Ubuntu 22.10 Desktop, this change also resolved it for me... Bizarre.


WIP: Move screen capturing to ImageCapture class

This (currently WIP) PR will move all code relating to screen capturing to ImageCapture, drastically simplifying the process of capturing screenshots by offloading the burden of canvas composition, interfacing with DrawManager, error handling, etc. The intended use case is accept methods which are as similar to an Overlay render method as possible to remain familiar to users while still offering a wide array of functionality for screenshot-specific overlays/rendering.
The reasons this is still in a "WIP" state are as follows:

[ ] Figuring out the threading is causing me serious headaches. The code as written very nearly deadlocks because of its nested thread calls. In addition to that, this code should call overlay.accept(graphics) on the client thread, but doesn't currently since there is no ClientThread#invokeAndWait() method available to us, so changing it to clientThread(() -> overlay.accept(graphics)) would cut short the execution of the overlay rendering and leave us with incomplete overlays drawn to the screenshot.
[ ] I don't know if this is the right approach to implement this feature. If there is some consensus we should be looking to write this differently, I'd like to cut my losses on this change early to change my approach.
[x] The history is still messy. the new additions to ImageCapture along with the added ImageCaptureOptions class should be in a fully separate commit along with individual commits for changing the raids and screenshot plugins' code paths to call it. For the sake of getting code in front of reviewers I've opted to forego that step for now. (I'll have that cleaned up in a few days' time)
[ ] I haven't written the necessary javadoc for this new code yet

The code as written is able to correctly generate screenshots with multiple overlays: (actor hull & report button date overlays)

2020-03-15_23-23-40

However, some amount of the time, these overlays will not be correct: (note the distorted actor hull)

2020-03-15_23-23-40(1)
2020-03-15_23-23-40(2)
2020-03-15_23-23-41(1)
2020-03-15_23-23-46

I've split this into commits which, once completed, should resemble what this PR would ideally look like.

This PR is now ready for review.

I've rebased this PR and updated the ImageCapture change to not remove the old takeScreenshot methods, but instead deprecate them so plugin-hub authors will have time to adapt the new API.


Fixes Drag and Dropping multiple layered Widget Trees

I'm removing the debug assertion from the widget_rect.insert function, as it's causing problems now. If there is a change to the layer_id it's resolved later in the function, so it's unnecessary.

Closes https://github.com/emilk/egui/issues/4604

This fix works for me.


X

Feature Request
Is this a New Feature, or a Proposed Change to existing Behavior?
Description
Describe the new feature, or describe the modification to existing behavior, and provide context as necessary to help with understanding how the feature relates to a workflow or functionality.
Context
Add any other context here, such as simulated output, or screenshots, that might help clarify the request.

Closing issue as it doesn't contain any information. Please submit a new feature request with information as described in the template if you have a feature request.


Update CONTRIBUTING with PR process proposal

Issue
Clarify PR process both for maintainers and contributors
Solution
Codify what we're already doing and clarify a few questions (at least, ones I've had in my mind).
Impact
Hopefully makes things smoother and easier
Considerations
I'm really interested in best practices from both people's day jobs and other open source projects. I hope this clarifies who should take certain PRs that come in and the best ways to handle. I don't have strong beliefs about this stuff — but I do want to figure out how to reduce any (potential) confusion so we can focus on the codez and not "wait, who's supposed to be doing that?"

This looks great! It really is how I’ve mostly been working so far. For example, assigning someone else if I wanted to push over responsibility to someone else.
Maybe it’s too much, but the only thing I know that might automate this process a little is a CODEOWNERS file. I saw it first in the Gutenberg repo.
Apparently, it would look like this for the master branch:
# Timber Core
/lib		@jarednova @palmiak

# Documentation
/docs		@gchtr
.md			@gchtr
phpcs.xml	@gchtr

# Tooling
*.yml	@jarednova

And like this for the 2.x branch:
# Timber Core
/lib		@gchtr @pascalknecht @acobster

# Documentation
/docs		@gchtr
.md			@gchtr
phpcs.xml	@gchtr

# Tooling
*.yml		@jarednova

As you can see, I assigned myself for documentation related pull requests, because that’s where I feel most comfortable 😉.
We could also start to assign code owners for certain files in the library, e.g. everything about images or Twig-related stuff.

This codeowner stuff looks great. I didn't knew it existed.
We also could think about some things from https://probot.github.io. There
are many apps that might help us (todo for example).
czw., 7 mar 2019, 21:33 użytkownik Lukas Gächter<EMAIL_ADDRESS>napisał:

This looks great! It really is how I’ve mostly been working so far. For
example, assigning someone else if I wanted to push over responsibility to
someone else.
Maybe it’s too much, but the only thing I know that might automate this
process a little is a CODEOWNERS
https://help.github.com/en/articles/about-code-owners file. I saw it
first in the Gutenberg repo
https://github.com/WordPress/gutenberg/blob/master/.github/CODEOWNERS.
Apparently, it would look like this for the master branch:
Timber Core
/lib		@jarednova @palmiak
Documentation
/docs		@gchtr
.md			@gchtr
phpcs.xml	@gchtr
Tooling
*.yml	@jarednova
And like this for the 2.x branch:
Timber Core
/lib		@gchtr @pascalknecht @acobster
Documentation
/docs		@gchtr
.md			@gchtr
phpcs.xml	@gchtr
Tooling
*.yml		@jarednova
As you can see, I assigned myself for documentation related pull requests,
because that’s where I feel most comfortable 😉.
We could also start to assign code owners for certain files in the
library, e.g. everything about images or Twig-related stuff.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/timber/timber/pull/1945#issuecomment-470663145, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACO-OueUfULyVirVt3QAemWOFp16A3BUks5vUWmYgaJpZM4bj2f6
.

Coverage remained the same at 94.324% when pulling d177ad42d75c7230f18762010ec591a7b0fe8e8c on march_6_github_updates into dd57f2b7c285afb9bd8349ef379ef3f223271735 on master.

Oh man, these are some amazing GitHub secrets — I had no idea!
@gchtr looks like you've got the key pieces ready to go on the CODEOWNERS file — can you add it to this PR?
Speaking of GitHub secrets, I just added a SUPPORT file to the PR. This further points users to StackOverflow for support and Gitter for user-to-user discussion/support

This all looks great @jarednova. Would love to see CODEOWNERS in there too @gchtr. :D

I added the CODEOWNERS file for the master as well as the 2.x branches.
In addition to that, I updated the branch settings for the master and the 2.x branch with the following settings:

This means that pull request can only be merged if they were reviewed by at least 1 reviewer with write access:

@palmiak I didn’t know about Probot 😎. I think we could explore options in a separate issue. We should probably be careful of adding too much. But bots like Release Drafter, No Response might help a lot.

@gchtr agreed. I'd love to have a place to explore that more.
On Fri, Mar 8, 2019 at 10:17 AM Lukas Gächter<EMAIL_ADDRESS>wrote:

@palmiak https://github.com/palmiak I didn’t know about Probot
https://probot.github.io/ 😎. I think we could explore options in a
separate issue. We should probably be careful of adding too much. But bots
like Release Drafter https://probot.github.io/apps/release-drafter/, No
Response https://probot.github.io/apps/no-response/ might help a lot.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/timber/timber/pull/1945#issuecomment-471025094, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATksN4nwJg_gyw2dQnBLH780mJeaihmks5vUqlLgaJpZM4bj2f6
.

Merged! Also, @gchtr just pulled in #1949 with CODEOWNERS


create + remove commands

apologies in advance, this kind of got away from me. You can check the individual commits, which I would ordinarily make individual PRs for, but basically:

error propagation from failures
add 'create' command
add 'remove' command - this one might be controversial, as i'm using the aws-cli via shelljs, but otherwise this repo would need to have and maintain it's own implementation of list + clear + delete a bucket.

Hi @mvayngrib
Thanks for your PR.
I read your PR but I cannot make sense the purpose of this PR clearly.
I guess that you want to create and remove buckets by not aws-cli but serverless command.
My guess is the following.
$ serverless offline start
$ serverless s3 remove

Is it correct ?

@ar90n exactly. And if this makes sense to you, I would also want to add a flag to skip creating buckets on start. sls offline start gets slowed down by all the various plugins creating stuff that only needs to be created once.

I understood what this PR wants to do. But I'm afraid that I think they are not suitable for  the tasks of serverless-s3-local. For these case, I think we should use aws-cli tools or other tools.
But I agree with your suggestion which is to support skip creating buckets.
I will start to implement these functions soon. Please wait for it.

@ar90n thanks for responding. Your decision of course, but I'm not sure I understood for which part we should use aws-cli instead. Instead of sls s3 create and sls s3 remove?

@mvayngrib  Sorry for my late reply. In my opinion, I think the following commands will fulfill your needs.
$ aws --endpoint http://localhost:8000 s3api create-bucket --bucket foo
$ aws --endpoint http://localhost:8000 s3api delete-bucket --bucket foo

Please check them.

@ar90n right, I know I can use aws-cli to create buckets individually. The convenience of having it in the plugin is that it creates all the buckets defined in serverless.yml. Isn't that the point of the plugin? I just wanted to be able to run sls s3 create one time during initialization, and then sls offline start many times on without taking a performance penalty. Maybe I wasn't clear :)

@mvayngrib Thanks for your comment. I found that my recognition was wrong. I agree with you. The aim of this PR is the scope of this plugin. I want to merge this PR but I have questions.

shelljs is really neccesary ?
There are no ways to ahchieve this function by AWS.S3 instance like createBuckets ?

I really appreciate for your sincere response regardless of my poor english.

@ar90n maybe instead of shelljs, we can use https://github.com/sabrehagen/empty-aws-bucket, what do you think? removing buckets is a little tricky if they have versioning enabled

@mvayngrib I understand that removing bucket is tricky against expectations.So I think using shelljs is the best solution.I'm going to merge this PR and publish it.Thanks for your great contribution !

@ar90n thanks :)

@mvayngrib  I published new version as v0.2.11. Please install it via npm.

@ar90n awesome, thanks!


fixed bugs in visualization and app.py

Fixed visualization bugs and updated app.py to reflect changes for visualization.
Test plan: Need to add smoke tests. Also need to add one shot tests and edge tests. Refer to test documentation template.

Looks good, mergin in.


Add test cases for dubbo-registry-zookeeper

What is the purpose of the change
issue: #7921
Add test cases for dubbo-registry-zookeeper
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #7922 (6562935) into master (e226823) will decrease coverage by 0.23%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #7922      +/-   ##
============================================
- Coverage     60.30%   60.07%   -0.24%
+ Complexity      546      544       -2
============================================
  Files          1089     1089
  Lines         43852    43805      -47
  Branches       6402     6369      -33
============================================
- Hits          26446    26314     -132
- Misses        14453    14539      +86
+ Partials       2953     2952       -1

Impacted Files
Coverage Δ

...a/org/apache/dubbo/rpc/filter/AccessLogFilter.java
28.35% <0.00%> (-50.75%)
:arrow_down:

...va/org/apache/dubbo/rpc/support/AccessLogData.java
53.16% <0.00%> (-37.98%)
:arrow_down:

...ntext/event/AwaitingNonWebApplicationListener.java
48.48% <0.00%> (-24.25%)
:arrow_down:

...ng/transport/dispatcher/all/AllChannelHandler.java
68.96% <0.00%> (-20.69%)
:arrow_down:

...rg/apache/dubbo/remoting/utils/PayloadDropper.java
76.92% <0.00%> (-15.39%)
:arrow_down:

...ng/transport/dispatcher/WrappedChannelHandler.java
43.47% <0.00%> (-15.22%)
:arrow_down:

...dubbo/common/status/support/LoadStatusChecker.java
50.00% <0.00%> (-11.54%)
:arrow_down:

...che/dubbo/remoting/transport/mina/MinaChannel.java
35.52% <0.00%> (-10.53%)
:arrow_down:

.../apache/dubbo/rpc/protocol/AsyncToSyncInvoker.java
62.06% <0.00%> (-10.35%)
:arrow_down:

...mmon/threadpool/support/fixed/FixedThreadPool.java
80.00% <0.00%> (-7.50%)
:arrow_down:

... and 42 more

Continue to review full report at Codecov.

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


Cierra

Description of the issueaccess check k
35000000512.00
$$#
Cirq versioncierra elaine adkins :trade
You can get the cirq version by printing cirq.__version__. From the command line:
python -c 'import cirq; print(cirq.__version__)'

Approved, Cash app
*all$$$&# 1008
CierraIDLE-

Hey @ceytah,  https://github.com/quantumlib/Cirq/issues is only for issues related to Cirq. Given that. I'll close this.


Icon request: Boomi

Homepage URL for the brand / app
https://www.boomi.com
Logo resources for the icon
https://user-images.githubusercontent.com/1307914/168067761-2115e46d-3a75-4acf-97b2-084cad4446ad.svg
Anything else?
Boomi is an integration platform owned by Dell. If Boomi itself is too niche for an icon, you could consider adding one for Dell instead, which might be more broadly useful:
https://upload.wikimedia.org/wikipedia/commons/4/48/Dell_Logo.svg

Here you go!
https://github.com/aegis-icons/aegis-icons/blob/master/SVG/Boomi.svg

:question: How to add icon(s) to Aegis?
:star: Support this project by giving a star! Just adding like to this comment is also appreciated.


[GHSA-28xr-mwxg-3qc8] Command injection in simple-git

Updates

Description

Hey @lirantal, we don't put credits into our description bodies. I can accept the rest of this contribution if you like.

@darakian credits were accepted in the past I believe...?
how otherwise would you be able to credit the author? or is this not something you're currently recognizing?
And indeed, the rest is relevant regardless.

They were and apologies for the inconsistency. We're trying to make the credits system more robust, but author credits should be handled in the source GHSA (if there is one). In this case you'll get contribution credit for this PR.

No worries, all good :)

In this case you'll get contribution credit for this PR.

How does that manifest? do you mean it shows up in the commit history for the repo if someone looks the source of the vuln?

How does that manifest?

It'll show up as a credit on the global advisory here
https://github.com/advisories/GHSA-28xr-mwxg-3qc8
At the moment we just have "credits", but at some point that will be broken out in types with the kind from these PRs as contribution credits.

Got it. How do you suggest I communicate a credits update in the future for other vulns if it isn't supposed to be in the body? (which I agree with. Looks much cleaner and nicer on the side-bar)

If there's a GHSA from the source repo then contact the author and get the credits there. Otherwise TBD.

But in the case of simple-git, there was attribution at the source repo (Snyk DB) yet it was missing, hence this PR and some other changes.

The source for us was the CVE and as far as I'm aware we can't capture authorship via CVEs in their current form. There is a credits field which will be rolling out in cve 5.0 which is due later this year.
https://github.com/CVEProject/cve-schema/blob/master/schema/v5.0/CVE_JSON_5.0_schema.json#L537

Ahh yes, if you caught this through MITRE/NVD then I see why. Well then, I guess I'll just chime in with a PR where it makes sense but thanks for letting me know and updating the credits and the details of the vuln on GitHub 🤗

No problem :)


rename TestEnableDevelopmentHardForkEras to TestEnableAdvertiseDevelopmentProtVer

Currently, setting TestEnableDevelopmentHardForkEras: true in the node's config file sets this flag in the code:
https://github.com/input-output-hk/cardano-node/blob/d0b0fa10ac83dc1d0d40aaf294cfded1b455a0a4/cardano-node/src/Cardano/Node/Types.hs#L176-L191
As that comment says, this flag controls what the node "advertises". We just had some Slack conversations about whether we should set this flag, and there was plenty of confusion about what it actually does.
For example, at the moment (since we're preparing a Babbage-able release candidate), its direct effect looks like this on the master branch:
https://github.com/input-output-hk/cardano-node/blob/d0b0fa10ac83dc1d0d40aaf294cfded1b455a0a4/cardano-node/src/Cardano/Node/Protocol/Cardano.hs#L205-L216
And if you chase through the code a bit, you see that its ultimate effect is the value of shelleyProtocolVersion.
https://github.com/input-output-hk/ouroboros-network/blob/0a3a61ae80244dde943843fd39ef17cd85260980/ouroboros-consensus-shelley/src/Ouroboros/Consensus/Shelley/Ledger/Config.hs#L44-L47
data instance BlockConfig (ShelleyBlock proto era) = ShelleyConfig {
      -- | The highest protocol version this node supports. It will be stored
      -- the headers of produced blocks.
      shelleyProtocolVersion  :: !SL.ProtVer

So that's what "advertise" means, concretely, for the Shelley ledgers.
This Issue is to rename the flag to something more indicative of its purpose. I think that's low-hanging fruit to make such confusion less likely in the future. (Happy to see bikeshedding here, my TestEnableAdvertiseDevelopmentProtVer is just a conversation starter.)

I'll make a PR which renames this, but in current master, this field is unused


Removing messages

Hello I have used chatsecure for half year now and it became slower and slower soon it was unusable. So i thought could my message folder etc be totally full.
And i cant find option to remove messages, cant remove single message or all messages.
Is there an option for it?

If you end a conversation, it will clear all the messages in that conversation.


python3Packages.aiogithubapi: 22.2.4 -> 22.3.1

Description of changes
https://github.com/ludeeus/aiogithubapi/releases/tag/22.3.1

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 166129 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.github
python310Packages.aiogithubapi
python39Packages.aiogithubapi


Problems in the case where the first term in the iteration algorithm(the subtraction of the identity matrix and Wt) is not invertible

In the case where I-Wt is not invertible(due to multiple factors, like cycles in the graph, or bipartition, etc...), the algorithm doesn't converge even for intra-cell communication.

The problem was circumvented with the implementation of the pseudo-inverse and the use of other means to compute the perturbation, so the issue was "resolved"


Enabled link as an email address

Was previously appending email address to the end of report subscription url on click.

Coverage remained the same at 83.157% when pulling 9c162282bbe48fcfda08f0deb6eadcfd8cf980b4 on peterwallhead:master into 9bb7dd77315ca32da3c08a6d74a91219c5059150 on thisismyrobot:master.


Fix "if key is larger than value, allign"

What does this mean?

If left column is larger than right on the same level it wont align properlly and break itself

@tuksun it might be a good fit for flexbox too?
On Fri, 15 Jan 2016, 11:59 AM Alex Lee<EMAIL_ADDRESS>wrote:

Closed #122 https://github.com/bvn-architecture/styleguide/issues/122.
—
Reply to this email directly or view it on GitHub
https://github.com/bvn-architecture/styleguide/issues/122#event-515686435
.

I already solved it by adding "  float: left;   clear: left;" but ill have another look later


[SPARK-32521][SQL] Bug-fix: WithFields Expression should not be foldable

What changes were proposed in this pull request?

Make WithFields Expression not foldable.
Why are the changes needed?

The following query currently fails on master brach:
sql("SELECT named_struct('a', 1, 'b', 2) a")
.select($"a".withField("c", lit(3)).as("a"))
.show(false)
// java.lang.UnsupportedOperationException: Cannot evaluate expression: with_fields(named_struct(a, 1, b, 2), c, 3)

This happens because the Catalyst optimizer sees that the WithFields Expression is foldable and tries to statically evaluate the WithFields Expression (via the ConstantFolding rule), however it cannot do so because WithFields Expression is Unevaluable.
Does this PR introduce any user-facing change?

Yes, queries like the one shared above will now succeed.
That said, this bug was introduced in Spark 3.1.0 which has yet to be released.
How was this patch tested?

A new unit test was added.

Test build #126990 has started for PR 29338 at commit 3b5af0e.

Merged build finished. Test PASSed.

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

Test build #126995 has started for PR 29338 at commit 0adf620.

Merged build finished. Test PASSed.

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

Test build #126990 has finished for PR 29338 at commit 3b5af0e.

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

Merged build finished. Test PASSed.

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

Test build #126995 has finished for PR 29338 at commit 0adf620.

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

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

Merged build finished. Test PASSed.

Merged build finished. Test PASSed.

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

Test build #127051 has started for PR 29338 at commit 0e1c028.

the last commit just removes one test, we don't need to wait for jenkins.
Thanks, merging to master!

Merged build finished. Test FAILed.

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


Adjusted the getAccountBalances function that it doesn't fail at the …

…guard statement anymore

Fixes #9


Additional fields for course/programs API endpoints

The open-discussions ETL processors for ingesting MITX Online courses and programs would benefit from having a few additional attributes included in the API endpoints: price, url (missing from programs), and description
Designs
Add the following attributes to the course/program API response (via relevant serializers).

current_price
page_url (for programs)
description (derived from CMS page?)

Does the description field need to be stripped of HTML? It's a rich text field in the CMS.

Stripping out the HTML would be good.


Running nuxt generate works once, then causes 403 errors

Version
v2.4.0
Reproduction link
https://github.com/dinerojs/dinerojs.com
Steps to reproduce

Install and run the API from this repository.
Install and run the Nuxt-powered website from this repository.
Try running yarn generate once.
Once the first generation has finished, try running yarn generate a second time.
Potentially, try to run yarn dev.

What is expected ?
I would expect the website to generate a second time without any issues, like on the first time.
Same when trying to serve the website locally after generating a first time, I expect it to run without any issues.
What is actually happening?

Same when trying to serve the website locally after generating a first time, this returns 403 errors at runtime.
Additional comments?
Thanks for the hard work on this great framework!
I tried investigating this error but had no luck. The API running on port 4000 still works when getting the 403 errors, so the problem is unlikely to be on this front. I also tried clearing /dist, no success.
The problem disappears whenever I restart my computer, so I figure there's a faulty process somewhere that is still running, but I couldn't pinpoint which and where.

This bug report is available on Nuxt community (#c8762)

Hi @sarahdayan. I've locally tried the build process. The problem is originating when nuxtServerInit tries to fetch releases from Github API which throws 403 error. Expect a PR soon for fix :)

Oooooh I totally forgot about the GitHub API. Thanks a lot for investigating (and the upcoming PR) 🙂

Closing here as the issue has been resolved :relaxed:


[bug] Module has no default export on TS NodeNext / Node16 module resolution

Describe the bug
Using the TypeScript NodeNext or Node16 module resolutions (with an ESM module using "type": "module"), the default reactx import reports problems when the eslint.config.{js,mjs,ts} file is type-checked:
eslint.config.js
import reactX from 'eslint-plugin-react-x'; // 💥 Module '"file:///node_modules/eslint-plugin-react-x/dist/index"'
                                            //    has no default export. ts(1192)

Reproduction

TypeScript Playground

Note: to use this reproduction, you need to change to the TS Config tab in the Playground and manually set the Module dropdown to NodeNext or Node16

Expected behavior
No error with TS module resolution format NodeNext or Node16
Platform and versions
- Node.js 20.15.0
- TypeScript 5.5.4
-<EMAIL_ADDRESS>
Stack trace
No response
Additional context
No response

@Rel1cx Thanks for the fix in a45a8b43a11912a4a3429f27748463947aa96f7f and the new release v1.14.0 🙌
I can confirm that it's working with the default import:

https://github.com/upleveled/eslint-config-upleveled/commit/20eb1994f6d34cf399f6e93b52f9ad15cfb32922


opencv-contrib-python

i need to use opencv-contrib-python before I used OpenVisulaCloud to use a standard opencv-contrib-python  but now i can t
Thank U

@vtimofeev01 Is it that the base image change prevents this from happening? You can still use openvisulcloud images as a base - can you provide more details on what has changed?

I tried to use OVC images but i get and I added opencv-contrib into "requirements.service.txt", but it does not help
Collecting opencv-contrib-python (from -r /requirements.service.txt (line 10))
Downloading https://files.pythonhosted.org/packages/2a/ef/6ed8ef6aca8ea9625d6577381dad57762713fd532ad41541054b01f760b3/opencv-contrib-python-<IP_ADDRESS>.tar.gz (148.8MB)
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-vizrthja/opencv-contrib-python/setup.py", line 9, in
import skbuild
ModuleNotFoundError: No module named 'skbuild'
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-vizrthja/opencv-contrib-python/
The command '/bin/bash -c pip3 install  --no-cache-dir -r /requirements.service.txt' returned a non-zero code: 1

Please let me know what i do wrong

Please let me know what i do wrong

the issue is to use -headless module

the issue is to use -headless module


QB POS has run into a problem

Describe the bug
is there any solution for this?
To Reproduce
Screenshots

Desktop (please complete the following information):

Windows 11 64bit
Version [e.g. 21H2, 22H2]
QuickBooks POS V19
qbactivator version latest

Additional context

Hi there, I have done a few installations at our shops in South Africa and I have found that as soon as I change the regional format in settings to United Kingdom the program issue is resolved


Modify BeaconState and Deposit fields to utilize new ssz fixed length tuples

What is wrong?
See ethereum/eth2.0-specs#723
pending on py-ssz updates
How can it be fixed

I'm investigating this.


Python environment wrongly detected in Visual Studio after IronPython v2.7.8 upgrade

Hi,
I have been using IronPython 2.7.7 with Visual Studio without any problem. For 32-bit, there was ipy.exe and 64-bit had ipy64.exe.
After updating to IronPython 2.7.8, there was a change where 32-bit was moved to ipy32.exe and 64-bit to  ipy.exe.
Since then, the Python environment configuration has broken.
What I tried

Repair installation of IronPython 2.7.8
Search through registry for manual editing - could not find IronPython paths as per what the docs say.

Reference screenshots
32-bit path is wrong:

64-bit path is wrong:

Registry contents do not match documentation
(No IronPython path options)

You must be on 15.8 Preview, since we don't detect 2.7.8 on 15.7. Can you confirm?
I'm not seeing this behavior. I've tried a clean install of 2.7.8, and also tried installing 2.7.7 and then upgrading to 2.7.8. In both cases, the executables are correct. I clicked on every one of them and checked the bitness matches between the environment window and the version info that is printed in the console.
Can you show the contents of the IronPython install folder with the executables in it?

Visual Studio version
I'm running v15.3.3. Full details:
Microsoft Visual Studio Community 2017
Version 15.3.3
VisualStudio.15.Release/15.3.3+26730.12
Microsoft .NET Framework
Version 4.7.02556
Installed Version: Community
Visual Basic 2017   00369-60000-00001-AA662
Microsoft Visual Basic 2017
Visual C# 2017   00369-60000-00001-AA662
Microsoft Visual C# 2017
ASP.NET and Web Tools 2017   15.0.30726.0
ASP.NET and Web Tools 2017
ASP.NET Core Razor Language Services   1.0
Provides languages services for ASP.NET Core Razor.
ASP.NET Template Engine 2017   15.0.30726.0
ASP.NET Template Engine 2017
Azure App Service Tools v3.0.0   15.0.30728.0
Azure App Service Tools v3.0.0
Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Cookiecutter   3.0.17208.1
Provides tools for finding, instantiating and customizing templates in cookiecutter format.
JavaScript Language Service   2.0
JavaScript Language Service
Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.50719.1
NuGet Package Manager   4.3.1
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Python   3.0.17208.1
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.
Python - Django support   3.0.17208.1
Provides templates and integration for the Django web framework.
Python - IronPython support   3.0.17208.1
Provides templates and integration for IronPython-based projects.
Python - Profiling support   3.0.17208.1
Profiling support for Python projects.
TypeScript   <IP_ADDRESS>
TypeScript tools for Visual Studio
Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Python installation
At path: C:\Program Files\IronPython 2.7

Folder is as expected, and things should work fine on 15.8, in which we've added detection of IronPython 2.7.8.
For now, your options are to either go back to IronPython 2.7.7, or add 2.7.8 as a custom environment, or install the 15.8 preview release (which can be done side-by-side with the stable release).

Duplicate of https://github.com/Microsoft/PTVS/issues/4092


v1.9 backports 2021-03-08

#15145 -- docs: Clarify titles for allow-all-endpoints examples (@pchaigno)
#15163 -- docs: Add L7 not working warning to AWS CNI Chaining page (@stimmerman)
#15162 -- docs: Fix max. number of tail calls (@pchaigno)
#15026 -- service: Skip upsert of service for disabled IP family (@pchaigno)

Minor merge conflicts, please take a look whether I resolved them
correctly.

#15206 -- bpf: Fix bpf masquerade issue when host connecting to remote pod (@borkmann)

Minor merge conflict due to rename of option.Config.Masquerade to
option.Config.EnableIPv4Masquerade on master. Please take a look
whether I resolved it correctly.

#15196 -- daemon: do not allow --auto-direct-node-routes when tunneling is enabled (@jibi)
#15218 -- config: remove POLICY_AUDIT_MODE from node_config.h (@ArthurChiao)

Merge conflict. It seems the condition for adding POLICY_AUDIT_MODE
changed in master vs. v1.9. Please check whether this is still correct
to be removed.

#15239 -- tools/licensegen: consider COPYING files (@tklauser)

Once this PR is merged, you can update the PR labels via:
$ for pr in 15145 15163 15162 15026 15206 15196 15218 15239; do contrib/backporting/set-labels.py $pr done 1.9; done

test-backport-1.9


[Fix] It's in the name

[x] Use brand naming,
[x] Add icons,
[x] Add missing sites

[x] HURUmap | Zambia, and
[x] HURUmap | Zimbabwe

@kilemensi Looks good. But don't we just require the one commit? c04a10384471418b9ee68ae2e1097c08c62a6fd1

@kilemensi Looks good. But don't we just require the one commit? c04a10384471418b9ee68ae2e1097c08c62a6fd1

@kilemensi Looks good. But don't we just require the one commit? c04a10384471418b9ee68ae2e1097c08c62a6fd1

I'm not sure what is going on with your repo @esirK ... We only need changes to .upptimerc.yml but the rest of the files are being auto generated.

@kilemensi Looks good. But don't we just require the one commit? c04a10384471418b9ee68ae2e1097c08c62a6fd1

I'm not sure what is going on with your repo @esirK ... We only need changes to .upptimerc.yml but the rest of the files are being auto generated.

@kilemensi Looks good. But don't we just require the one commit? c04a10384471418b9ee68ae2e1097c08c62a6fd1

I'm not sure what is going on with your repo @esirK ... We only need changes to .upptimerc.yml but the rest of the files are being auto generated.

Ooh, I know what's happening. It's @upptime-bot.

@kilemensi Looks good. But don't we just require the one commit? c04a10384471418b9ee68ae2e1097c08c62a6fd1

I'm not sure what is going on with your repo @esirK ... We only need changes to .upptimerc.yml but the rest of the files are being auto generated.

Ooh, I know what's happening. It's @upptime-bot.


ImportWarning when importing a PEP 420 namespace package

The pkg_resources code is raising an ImportWarning when it attempts to import a PEP 420 implicit namespace package:
ImportError: Failed to import test module: test.test_methods
Traceback (most recent call last):
  File "/usr/lib/python3.5/unittest/loader.py", line 428, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.5/unittest/loader.py", line 369, in _get_module_from_name
    __import__(name)
  File "/home/bignose/Projects/debian/dput/trunk/test/test_methods.py", line 26, in <module>
    import testscenarios
  File "/usr/lib/python3/dist-packages/testscenarios/__init__.py", line 57, in <module>
    from testscenarios.scenarios import (
  File "/usr/lib/python3/dist-packages/testscenarios/scenarios.py", line 34, in <module>
    from testtools import iterate_tests
  File "/usr/lib/python3/dist-packages/testtools/__init__.py", line 124, in <module>
    from pbr.version import VersionInfo
  File "/usr/lib/python3/dist-packages/pbr/version.py", line 25, in <module>
    import pkg_resources
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3037, in <module>
    @_call_aside
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3021, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3065, in _initialize_master_working_set
    for dist in working_set
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3065, in <genexpr>
    for dist in working_set
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2595, in activate
    declare_namespace(pkg)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2163, in declare_namespace
    _handle_ns(packageName, path_item)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2083, in _handle_ns
    loader = importer.find_module(packageName)
  File "<frozen importlib._bootstrap_external>", line 445, in _find_module_shim
ImportWarning: Not importing directory /usr/lib/python3/dist-packages/keyrings: missing __init__

(To reproduce this, enable the -W error option to python3. I did this to try to catch warnings in my code, assuming that libraries would not cause them :-/)
The “Not importing directory […] missing init” contradicts the explicit specification from PEP 420:

Namespace packages [as specified in this PEP] cannot contain an init.py .

I am not very familiar with namespace packages, so I could be wrong about where the fault lies. I am sure, though, that there is a fault, and it needs to be resolved to avoid the ImportWarning.

I'm seeing this as well. It is causing loads of noise in my logs when Python warnings are enabled. Here is a minimal bash script to demonstrate the error:
#!/bin/bash

rm -rf venv
python3 -m venv venv
venv/bin/pip install sphinxcontrib-websupport
venv/bin/python -Werror -c 'import pkg_resources'

Actual output:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/jon/warning-test/venv/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 2958, in <module>
    @_call_aside
  File "/home/jon/warning-test/venv/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 2944, in _call_aside
    f(*args, **kwargs)
  File "/home/jon/warning-test/venv/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 2985, in _initialize_master_working_set
    dist.activate(replace=False)
  File "/home/jon/warning-test/venv/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 2521, in activate
    declare_namespace(pkg)
  File "/home/jon/warning-test/venv/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 2103, in declare_namespace
    _handle_ns(packageName, path_item)
  File "/home/jon/warning-test/venv/lib64/python3.5/site-packages/pkg_resources/__init__.py", line 2037, in _handle_ns
    loader = importer.find_module(packageName)
  File "<frozen importlib._bootstrap_external>", line 445, in _find_module_shim
ImportWarning: Not importing directory /home/jon/warning-test/venv/lib64/python3.5/site-packages/sphinxcontrib: missing __init__

As noted above, the lack of init.py is fine according to PEP420. The error itself comes from the builtin imp module in python2.7:
/usr/lib/python2.7/pkgutil.py:186: ImportWarning: Not importing directory '/home/kleptog/venv/lib/python2.7/site-packages/zc': missing __init__.py
  file, filename, etc = imp.find_module(subname, path)

So the real fix for this is for python itself to stop complaining (given it just works), or barring that suppress the warning in the package that calls it, which is setuptools.

One plan that addresses this issue is to replace the vast majority of uses of pkg_resources with stdlib functionality (and backports), such as with importlib_resources, importlib_metadata and entrypoints.

a minimal bash script to demonstrate the error

I tried replicating the minimal script on Python 3.7, but it fails first on another warning:
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py", line 943, in <module>
    collections.MutableMapping.register(ParseResults)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/collections/__init__.py", line 52, in __getattr__
    DeprecationWarning, stacklevel=2)
DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working

I've reported that in #1480.
I tried replicating the issue on Python 3.6 but couldn't:
~ $ python3.6 -m venv venv
~ $ venv/bin/pip install sphinxcontrib-websupport
Collecting sphinxcontrib-websupport
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Downloading https://files.pythonhosted.org/packages/52/69/3c2fbdc3702358c5b34ee25e387b24838597ef099761fc9a42c166796e8f/sphinxcontrib_websupport-1.1.0-py2.py3-none-any.whl
Installing collected packages: sphinxcontrib-websupport
Successfully installed sphinxcontrib-websupport-1.1.0
You are using pip version 9.0.1, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
~ $ venv/bin/python -c 'import pkg_resources'; echo no problem
no problem

I should note that if you have rwt (and you should), it's easier and cleaner to test with this one liner (and doesn't leave you with ./venv):
~ $ python3.6 -m rwt sphinxcontrib-websupport -- -Werror -c 'import pkg_resources'; echo no problem
Collecting sphinxcontrib-websupport
  Using cached https://files.pythonhosted.org/packages/52/69/3c2fbdc3702358c5b34ee25e387b24838597ef099761fc9a42c166796e8f/sphinxcontrib_websupport-1.1.0-py2.py3-none-any.whl
Installing collected packages: sphinxcontrib-websupport
Successfully installed sphinxcontrib-websupport-1.1.0
You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
no problem

Let's see if we can ascertain why the issue exists in your environment but not in mine.

I upgraded my setuptools and pip and still no issue:
~ $ python3.6 -m pip install -q -U setuptools pip
~ $ python3.6 -m rwt -q sphinxcontrib-websupport -- -Werror -c 'import pkg_resources'; echo no problem
no problem

I tested on Python 3.5.2 and 3.6.4 and 3.6.6, but none of those exhibit the reported failure. Maybe the issue has gone away?

The issue still occurs for me, with Python 3.6.6.
Using a slightly enhanced version of @jdufresne's test script:
#! /bin/bash

VENV_DIR="$(realpath ./venv)"

rm -rf "$VENV_DIR"
python3 -m venv "$VENV_DIR"
"$VENV_DIR"/bin/python3 --version
"$VENV_DIR"/bin/python3 -m pip install sphinxcontrib-websupport
"$VENV_DIR"/bin/python3 -W error -c 'import pkg_resources'

The output I get:
$ ./jdufresne.test
Python 3.6.6
Collecting sphinxcontrib-websupport
  Using cached https://files.pythonhosted.org/packages/52/69/3c2fbdc3702358c5b34ee25e387b24838597ef099761fc9a42c166796e8f/sphinxcontrib_websupport-1.1.0-py2.py3-none-any.whl
Installing collected packages: sphinxcontrib-websupport
Successfully installed sphinxcontrib-websupport-1.1.0
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/bignose/Projects/python/setuptools/issue-1111/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3088, in <module>
    @_call_aside
  File "/home/bignose/Projects/python/setuptools/issue-1111/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3072, in _call_aside
    f(*args, **kwargs)
  File "/home/bignose/Projects/python/setuptools/issue-1111/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3116, in _initialize_master_working_set
    for dist in working_set
  File "/home/bignose/Projects/python/setuptools/issue-1111/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3116, in <genexpr>
    for dist in working_set
  File "/home/bignose/Projects/python/setuptools/issue-1111/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2639, in activate
    declare_namespace(pkg)
  File "/home/bignose/Projects/python/setuptools/issue-1111/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2176, in declare_namespace
    _handle_ns(packageName, path_item)
  File "/home/bignose/Projects/python/setuptools/issue-1111/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2096, in _handle_ns
    loader = importer.find_module(packageName)
  File "<frozen importlib._bootstrap_external>", line 426, in _find_module_shim
ImportWarning: Not importing directory /home/bignose/Projects/python/setuptools/issue-1111/venv/lib/python3.6/site-packages/sphinxcontrib: missing __init__

@bignose-debian Would you consider creating a Dockerfile that replicates the issue? With that, I could troubleshoot in the environment where the issue occurs.

@jaraco wrote:

Would you consider creating a Dockerfile that replicates the issue?

Yes, though I haven't a clue how to do that (nor how to know whether the result would correctly replicate the behaviour).

I'll take a stab at it.

I was able to replicate thus:
$ cat > Dockerfile
from python:3.6
RUN python -m venv venv
RUN venv/bin/python --version
RUN venv/bin/python -m pip install sphinxcontrib-websupport
CMD venv/bin/python -W error -c 'import pkg_resources'
draft $ docker build .

You should consider upgrading via the 'pip install --upgrade pip' command.
Removing intermediate container 134e7c778b19
 ---> 86e837b01253
Step 5/5 : CMD venv/bin/python -W error -c 'import pkg_resources'
 ---> Running in 0ce64945506a
Removing intermediate container 0ce64945506a
 ---> d90cede4387c
Successfully built d90cede4387c
draft $ docker run d90cede4387c
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3088, in <module>
    @_call_aside
  File "/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3072, in _call_aside
    f(*args, **kwargs)
  File "/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3116, in _initialize_master_working_set
    for dist in working_set
  File "/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3116, in <genexpr>
    for dist in working_set
  File "/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2639, in activate
    declare_namespace(pkg)
  File "/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2176, in declare_namespace
    _handle_ns(packageName, path_item)
  File "/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2096, in _handle_ns
    loader = importer.find_module(packageName)
  File "<frozen importlib._bootstrap_external>", line 426, in _find_module_shim
ImportWarning: Not importing directory /venv/lib/python3.6/site-packages/sphinxcontrib: missing __init__

Not sure if this will be of any help but the warning seems to occur on any namespace packages present in sys.modules that have a "namespace_packages.txt" file in their metadata.

So I've confirmed the .pth file is present and that causes sphinxcontrib to exist in sys.modules before any import of pkg_resources, which is good.

Modules that have namespace_packages.txt in their metadata are those that use setuptools to declare namespace_packages, a deprecated but common technique (and difficult to migrate away from).

I learned that removing the .pth file works around the issue. That explains why the issue didn't replicate when under rwt (because the .pth files aren't honored in that mode).
draft $ rm venv/lib/python*/site-packages/sphinxcontrib_websupport*.pth
draft $ venv/bin/python -W error -c 'import pkg_resources'; echo no problem
no problem

Removing setuptools from the equation, I can replicate the failure with this Dockerfile:
from python:3.6
RUN python -m venv venv
RUN venv/bin/python -m pip install -U pip setuptools
RUN venv/bin/python -m pip install sphinxcontrib-websupport
CMD venv/bin/python -W error -c 'import pkgutil; importer = pkgutil.get_importer("venv/lib/python3.6/site-packages/"); importer.find_module("sphinxcontrib")'

emits
draft $ docker run -it 07e6f2229b27
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "<frozen importlib._bootstrap_external>", line 426, in _find_module_shim
ImportWarning: Not importing directory venv/lib/python3.6/site-packages/sphinxcontrib: missing __init__

I'm glad you got such good diagnosis. The Dockerfile doesn't help me much because I just get a bunch of permission errors trying to use it. (I don't have Docker set up on any of my machines so I'm probably not best suited for going down that path for diagnosis.)


google-api-core distribution not found

Hi,
I have installed the library using
pip install --upgrade google-api-python-client

Into my virtual env. Everything is working just fine. Although when I push to production and have my build server install packages from the requirements.txt file, I get the error.
The 'google-api-core' distribution was not found and is required by the application

Although, I can see that the package has been installed (or so the build logs say).
Production Env: Using Seed + Serverless
Any help would be great!

Can you give us the contents of your requirements.txt?
Can you give more details on how you deploy to the production environment? This sort of issue can happen when pkg_resources doesn't have access to package metadata, which can be caused by strange environments that don't use a real python (virtual) environment, like GAE standard.

Hi Jon
So I am using "Serverless" (AWS Lamba) - although for the CI infrastructure/tool I am using "Seed".

Getting the same error.
I'm getting this project as dependency of another one (dialogflow) but I can reproduce the problem.
I'm bootstrapping my dependencies into a specific dir so lets replicate that
$ pip install --prefix ./tmp google-api-core

This will now throw an exception:
import site
import pkg_resources

site.addsitedir('./tmp/lib/python3.6/site-packages')
pkg_resources.get_distribution('google-api-core')

This however works:
import site
site.addsitedir('./tmp/lib/python3.6/site-packages')

import pkg_resources
pkg_resources.get_distribution('google-api-core')

Seems like the import order of pkg_resources is important which I can not control in my case.
Any suggestions?

I was having the same issue.  After upgrading pip via pip install --upgrade pip, the error went away.

I'm going to close this issue as @crwilcox seems to have identified the problem and provided a workaround.  If this is in error, please let me know, and let me know what more is required.  Thanks!

I am with the same problem, I am with serverless in the last version and using the range of versions.

Sourced form serverless #6875
Description

What did you do?

I run pip install -r requirements.txt and all the imports work. I've done this in a isolated virtual environment running Python 3.7. Running sls deploy is fine.
sls invoke -f stagger --log fails because of a missing dependency.
my requirements.txt
boto3==1.10.0
fasttext==0.9.1
google-api-python-client==1.7.11
google-cloud-translate==1.7.0
spacy==2.2.1
Flask==1.1.1
joblib==0.14.0
scikit-learn==0.21.3
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.2.0/en_core_web_sm-2.2.0.tar.gz

What happened?

{
    "errorMessage": "The 'google-cloud-translate' distribution was not found and is required by the application",
    "errorType": "DistributionNotFound",
    "stackTrace": [
        "  File \"/var/lang/lib/python3.7/imp.py\", line 234, in load_module\n    return load_source(name, filename, file)\n",
        "  File \"/var/lang/lib/python3.7/imp.py\", line 171, in load_source\n    module = _load(spec)\n",
        "  File \"<frozen importlib._bootstrap>\", line 696, in _load\n",
        "  File \"<frozen importlib._bootstrap>\", line 677, in _load_unlocked\n",
        "  File \"<frozen importlib._bootstrap_external>\", line 728, in exec_module\n",
        "  File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n",
        "  File \"/var/task/handler.py\", line 14, in <module>\n    from translate import detect_and_translate\n",
        "  File \"/var/task/translate.py\", line 5, in <module>\n    from google.cloud import translate\n",
        "  File \"/tmp/sls-py-req/google/cloud/translate.py\", line 18, in <module>\n    from google.cloud.translate_v2 import __version__\n",
        "  File \"/tmp/sls-py-req/google/cloud/translate_v2/__init__.py\", line 20, in <module>\n    __version__ = get_distribution(\"google-cloud-translate\").version\n",
        "  File \"/tmp/sls-py-req/pkg_resources/__init__.py\", line 481, in get_distribution\n    dist = get_provider(dist)\n",
        "  File \"/tmp/sls-py-req/pkg_resources/__init__.py\", line 357, in get_provider\n    return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]\n",
        "  File \"/tmp/sls-py-req/pkg_resources/__init__.py\", line 900, in require\n    needed = self.resolve(parse_requirements(requirements))\n",
        "  File \"/tmp/sls-py-req/pkg_resources/__init__.py\", line 786, in resolve\n    raise DistributionNotFound(req, requirers)\n"
    ]
}

What should've happened?

Should call a Lambda function on AWS.

What's the content of your serverless.yml file?

service: stagger

plugins:
  - serverless-python-requirements
  - serverless-wsgi
  - serverless-offline
custom:
  wsgi:
    app: app.app
    packRequirements: false
  pythonRequirements:
    dockerizePip: non-linux
    zip: true

provider:
  name: aws
  runtime: python3.7
  timeout: 29
  stage: dev
  region: eu-west-1
  apiKeys:
      - myStaggerKey

functions:
  stagger:
    handler: handler.stagger
    events:
      - http:
          path: stagger
          method: post
          private: true

package:
    exclude:
        - venv/**

What's the output you get when you use the SLS_DEBUG=* environment variable (e.g. SLS_DEBUG=* serverless deploy)

No errors.
Similar or dependent issues:

#5026
Issue on googleapis

@tomonodes I think the responder on the original issue recommend you file the issue in https://github.com/serverless/serverless-google-cloudfunctions.

Looks like this issue is related to the Google Cloud Functions provider plugin. Could you re-open in that repository since serverless/serverless only covers the core and the AWS implementation. Thanks!

When you file issues on this repo in the future, please open a new issue rather than posting on a closed issue. Maintainers are more likely to miss posts to closed issues. Thanks!


[Discuss] Don't panic if server fails to create scheduler

Please answer these questions before submitting your issue. Thanks!

What did you do?
If possible, provide a recipe for reproducing the error.

From this PR, If server cannot create scheduler, it just panic. However, the reasons of failing to create scheduler is not just come from wrong configurations.
In real case, maybe schedulers itself raise some error, or maybe pd-ctl send an invalid config due to some kind of bugs. The online server cannot work normally again in these cases, because there is no way to delete the wrong config in the etcd kv before PD crashs.
Also, Should we check the disabled scheduler, if it's configured incorrectly, and delete it too?
	for _, schedulerCfg := range scheduleCfg.Schedulers {
		if schedulerCfg.Disable {
			scheduleCfg.Schedulers[k] = schedulerCfg
			k++
			log.Info("skip create scheduler", zap.String("scheduler-type", schedulerCfg.Type))
			continue
		}
		s, err := schedule.CreateScheduler(schedulerCfg.Type, c.opController, schedulerCfg.Args...)
		if err != nil {
			log.Fatal("can not create scheduler", zap.String("scheduler-type", schedulerCfg.Type), zap.Error(err))
		}
		log.Info("create scheduler", zap.String("scheduler-name", s.GetName()))
		if err = c.addScheduler(s, schedulerCfg.Args...); err != nil {
			log.Error("can not add scheduler", zap.String("scheduler-name", s.GetName()), zap.Error(err))
		}

		// Only records the valid scheduler config.
		if err == nil {
			scheduleCfg.Schedulers[k] = schedulerCfg
			k++
		}
	}

What did you expect to see?

What did you see instead?

What version of PD are you using (pd-server -V)?

@Connor1996 PTAL.

seems that even though pd-ctl sends an invalid config, PD won't persist the config.
// AddScheduler adds a scheduler.
func (h *Handler) AddScheduler(name string, args ...string) error {
	c, err := h.getCoordinator()
	if err != nil {
		return err
	}
	s, err := schedule.CreateScheduler(name, c.limiter, args...)
	if err != nil {
		return err
	}
	log.Infof("create scheduler %s", s.GetName())
	if err = c.addScheduler(s, args...); err != nil {
		log.Errorf("can not add scheduler %v: %v", s.GetName(), err)
	} else if err = h.opt.persist(c.cluster.kv); err != nil {
		log.Errorf("can not persist scheduler config: %v", err)
	}
	return err
}

But for the disabled schedulers, seems they should be checked. /cc @nolouch

In fact, I have a running cluster whose schedule config is a total mess.
It is the result of many times of pd restart and leader switch due to bugs or upgrading.
Because I have done some patches personally, It's hard to distinguish which part make the damage.
What I'm trying to point out is that we need a way to recover from/discard invalid config, instead of panic assuming the underlining etcd data are always work perfectly.

The panic is to notify users that there may be some typo of the config. If we just discard the invalid config, the PD's behavior may be not as same as what users expect.
I prefer not discarding config here. Do you have any better idea?

@lerencao  We really need a recover way. @Connor1996  How about adding an option let PD in recovery mode and ignore some panics that similar this situation?

Errorred spell from config file may be checked before ahead. And in real case, I believe most people just use default schedulers, and use pd-ctl to change schedulers dynamically.

@lerencao check before ahead seems reasonable and neat

Do you want to have a try? @lerencao


How do i fetch fortigate Serial number?

Because the output is already filtered with results dictionary , there is no api call to fetch fortigate serial number can anyone provide me with the url

Could you please provide a code example to help illustrate your case?


fails to parse Freebox m3u

Hi !
Great tool, couldn't wait to test it ;-)
I get the following error with Freebox m3u (French Internet provider with free IPTV stream)
goroutine 1 [running]:
main.main()
        /go/src/app/main.go:180 +0x1b9f
[telly] [info] booting telly v0.4.3
[telly] [info] Reading m3u file "/config/playlist.m3u"...
[telly] [error] unable to read m3u file, error below
[telly] [error] m3u files need to have specific formats, see the github page for more information
[telly] [error] future versions of telly will attempt to parse this better
panic: Unable to open playlist file

Extract of the m3u:
#EXTM3U
#EXTINF:0,2 - France 2 (standard)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=sd
#EXTINF:0,2 - France 2 (bas débit)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=ld
#EXTINF:0,2 - France 2 (HD)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201&flavour=hd
#EXTINF:0,2 - France 2 (auto)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=201
#EXTINF:0,3 - France 3 (HD)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=202&flavour=hd
#EXTINF:0,3 - France 3 (standard)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=202&flavour=sd
#EXTINF:0,3 - France 3 (bas débit)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=202&flavour=ld
#EXTINF:0,3 - France 3 (auto)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=202
#EXTINF:0,5 - France 5 (auto)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=203
#EXTINF:0,5 - France 5 (HD)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=203&flavour=hd
#EXTINF:0,5 - France 5 (standard)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=203&flavour=sd
#EXTINF:0,7 - Arte (standard)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=204&flavour=sd
#EXTINF:0,7 - Arte (bas débit)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=204&flavour=ld
#EXTINF:0,7 - Arte (HD)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=204&flavour=hd
#EXTINF:0,7 - Arte (auto)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=204
#EXTINF:0,8 - C8 (standard)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=372&flavour=sd
#EXTINF:0,10 - TMC (bas débit)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=497&flavour=ld
#EXTINF:0,10 - TMC (HD)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=497&flavour=hd
#EXTINF:0,10 - TMC (standard)
rtsp://mafreebox.freebox.fr/fbxtv_pub/stream?namespace=1&service=497&flavour=sd
#EXTINF:0,10 - TMC (auto)

Thanks,
Christophe.

As seen in these lines of the parser, this means telly was unable to open the m3u. Does it have permission for it? By chance, are you using Docker?
T

Yes I am using docker, the m3u has read permissions for everyone.
Any idea?
Thanks

@cpecquerie , Please provide as much detail on how you are running this in docker. Command, volumes/mounts etc.

Sure, I am running telly though docker-compose, here's the config I have
telly:
container_name: telly
image: tombowditch/telly
ports:
- "8071:6077"
environment:
- PLAYLIST="/config/playlist.m3u"
volumes:
- /sharedfolders/docker/telly:/config
restart: unless-stopped

@cpecquerie that "looks" correct. Can you confirm that volume is actually mounted by running a docker inspect -f '{{ .Mounts }}' containerid. Also can you try using the "url" to the m3u vs file to see if that works ?

Can you also confirm that /sharedfolders/docker/telly/playlist.m3u is readable by the user docker runs as? Try a docker exec -ti <name-of-container> ls -al /config/

@HazCod that is not going to work as the base is a "scratch" container which does not contain "ls" "bash" etc. He will have to get the $PID of that running container with something like docker inspect -f '{{.State.Pid}}' telly then as root ls -lrt /proc/$PID/root/ and ls -lrt /proc/$PID/root/config/ That should give us a good listing of file permissions.

@HazCod I got [{bind  /sharedfolders/docker/telly /config  rw true rprivate}] from this command
 docker inspect -f '{{ .Mounts }}' telly
@EnorMOZ your command docker inspect -f '{{.State.Pid}}' telly returns 0  which does not seem right.
When I try with the URL, it also fails to open the m3u, here's the log
[telly] [info] booting telly v0.4.4
[telly] [info] Reading m3u file "http://mafreebox.freebox.fr/freeboxtv/playlist.m3u"...
[telly] [error] unable to read m3u file, error below
[telly] [error] m3u files need to have specific formats, see the github page for more information
[telly] [error] future versions of telly will attempt to parse this better
panic: Unable to open playlist file

Just a quick update, I tried to run the binary directly and it works with this command :  ./telly -playlist http://mafreebox.freebox.fr/freeboxtv/playlist.m3u so it's definitely related to docker.

@cpecquerie Can you run this docker inspect -f '{{.State}}' telly.  When you ran the binary directly was it from the same box as the container ?
Also feel free to join the discord channel you would probably get more help there and in real time.

I tried testing the playlist myself, but the site isn't reachable?
curl -v http://mafreebox.freebox.fr/freeboxtv/playlist.m3u
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
-timeout-

Closing since inactive..


Adjusts plugin to match apispec 3.3 api

This pull request fixes an issue with the updated api of the apispec's MarshmallowPlugin. Instead of overriding the init method the plugin can simply change the Converter class attribute from the default OpenApiConverter to OneofOpenApiConverter and let the base class handle the rest.
Fixes #8

Thanks, I released 3.0.0.


Fix GitHub synchronizer

This is to fix https://github.ibm.com/IBMPrivateCloud/CP4MCM/issues/2980

/approve

/approve

/lgtm


Fix postselect issues

I quote @maliasadi:
Just to remind us!

Let's avoid writing C-like C++ code

Always check the wheels for almost all PRs before merging (using ci:build-wheels flag).
TODO:

[ ] Make postselect an optional argument at the C++ interface

[ ] Fix Wheels check failures

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (0509f9e) 99.54% compared to head (19b8cbd) 99.54%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #504   +/-   ##
=======================================
  Coverage   99.54%   99.54%
=======================================
  Files          43       43
  Lines        7775     7775
  Branches      536      536
=======================================
  Hits         7740     7740
  Misses         18       18
  Partials       17       17

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

MacOS fix is still pending

Has check_if_wheel_build_required not triggered since Friday?


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/101680

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/106362


Does it support the Qwen1.5-72B-Chat-GPTQ-Int4 quantized model?

Great work!
Does it support the Qwen1.5-72B-Chat-GPTQ-Int4 quantized model?

Thank you for this issue!
I think it can support int4/8 quantized models, but actually I have not experimented with qwen1.5-int4. The code works for all Qwen models with fp16/bf16 (chunkqwen_attn_replace.py).

I am not an expert in quantized models and maybe you can directly use the code and provide some detailed information like terminal outputs.

I will have a try.


simpleion API

The starting point for a simplejson-esque API which allows users to easily convert Python objects to and from Ion data (currently binary only).

Looks good, pushed as:
ed6db9bdd7b85261297291afd0cacf7a44fb61bb


PGP: Add constants for GNU protection modes in PGP S2K class

These are the two actually used protection modes in GnuPG. I found them by reading the gpg sourcecode.

Added. Thanks!


Option to lock dashboard LAYOUT

OWF already has the option to lock a dashboard to a limited set of widgets. We need the opposite: an option to allow any widgets to be opened, but lock the LAYOUT of a dashboard.

At this point we don't plan to add new features to OWF.  Please see OZP for the next-gen of Ozone platforms.


Retrieve author_profile_image_url using $fetch

Currently we are using unavatar for profile image, but it's kinda slow. Maybe we can use $fetch to get the response from the tweets and access the author's profile image

Closing this ticket because using static url is not recommended as user might change the profile picture. So will remain using unavatar.io


MakeFile not working

when i run the command "arm-none-eabi-gcc build/Makefile" after completing step 3 it gives me this error:
build/Makefile: file not recognized: file format not recognized
collect2.exe: error: ld returned 1 exit status

The command you want to run is just 'make'

sorry for taking so long to reply but make only says "nothing to be done for 'build'."

You should be in the building directory when you run make
On Fri, May 31, 2019, 7:11 PM J-E-Mc<EMAIL_ADDRESS>wrote:

sorry for taking so long to reply but make only says "nothing to be done
for 'build'."
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/jsandler18/raspi-kernel/issues/16?email_source=notifications&email_token=ACDKDYUVJB5YZ4QVIYDETIDPYGWCXA5CNFSM4HJ72B42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWWSLEY#issuecomment-497886611,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACDKDYQFVEKABH2K35QPU3LPYGWCXANCNFSM4HJ72B4Q
.


Injection App won't work on iOS 10 simulator

I'm sorry if I couldn't gather this from the docs, but does code injection not work anymore in iOS 10? Is it simply not possible to use the standalone Injection app for iOS 10 projects?

It should work in the simulator for iOS 10. It no longer woks on the device.

@johnno1962 so I download the injection app and open it. Then I open xcode, open a project, and run the app in a iphone 6 simulator. Then I change the font size of a label, and save. Then I hit 'Inject Source' from the menu bar. Nothing on the screen changes, am I doing something wrong?

Are you seeing message in the console? Is the code being executed? A common problem is that for example viewDidLoad has not beeb called.

Sorry, should have also added that this is what prints in console:
Compiling /Users/saoud/RealWeather/BasicWeather/BasicWeather/MainViewController.swift
objc[1404]: Class _TtC12BasicWeather18MainViewController is implemented in both /Users/saoud/Library/Developer/CoreSimulator/Devices/6BBA7268-362A-493C-AC24-325FA99E1444/data/Containers/Bundle/Application/097B01FB-E3BC-4899-B014-431A9116C598/BasicWeather.app/BasicWeather (0x1080fd930) and /Users/saoud/Library/Developer/Xcode/DerivedData/BasicWeather-fpueefjsciyxymbpgxzetqwcffhu/Logs/iOSInjectionProject/build/Debug-iphonesimulator/InjectionBundle4.bundle/InjectionBundle (0x11b66ee28). One of the two will be used. Which one is undefined.
14 injections performed so far.
2017-02-16 17:05:28.841 BasicWeather[1404:15131] Ignore any warning, Swizzled BasicWeather.MainViewController 0x11b66ee28 -> 0x1080fd930

Here's a video of what I'm doing (thanks for helping btw, I would love for this to work for me)
https://www.dropbox.com/s/f1o3tnr503q5apo/inject-recording.mp4?dl=0

I put this in my code too
func injected() {
    print("I've been injected: \(self)")
}

and the project crashed when trying to run for the first time.

There are problems using “-injected” on Swift at the moment. Sorry about that. Can you
try using a “INJECTION_BUNDLE_NOTIFICATION” notification to make sure the code gets executed?

Just tried that, and the notification does get called so the code does get injected. But nothing on the simulator screen updates to reflect the changes.

Have you added a print statement to check the code you expect to be executed is running and changed the text to see if it’s getting injected?

So I put print("executed") in viewDidLoad and it doesn't print in console when I inject source. So it doesn't call viewDidLoad at all when I inject source. Is that the expected behavior?

We thought about adding calling ViewDidLoad if the class being injected was a subclass of UIViewController but it seemed too “magic” and might confuse people. As things stand it seems to confuse many that it doesn’t.  viewDidLoad will be called if you reload the view or call it from a handler of the notification.

Ahh, so the injection notification's selector method is the code that's being "injected"? That was a bit confusing to gather from the README. I put self.viewDidLoad() in the notification observer's selector method and everything works accordingly now! The simulator updates to reflect the changed properties! Thank you for the clarification good sir. It seems I still have a bit more learning to do about injection and your awesome program.

Hi @saoudrizwan, I’ve uploaded a new version of injection which should fix the crashes you were seeing trying to use the “-injected" method. Is there any chance you could download it and give it a try for me? http://johnholdsworth.com/injection.html

Tried it and it works! Brilliant work man, keep up the great work!

Hey @johnno1962 I made a little getting started video for Injection. I'd love for you to check it out and let me know what you think! https://www.youtube.com/watch?v=YOfb722z8WQ

Thanks! It makes the case well. I may put it on the site if that’s ok?

That'd be awesome!

done.

@johnno1962 hey John, I just finished writing an article about Injection on medium if you wanna check it out! https://medium.com/@sdrzn/make-ios-apps-faster-20x-faster-e56cc429d8ee

Hi, One thing. With swift you cant add methods (i.e. -injected) to a class without restarting the app otherwise it’s vtable gets out of sync. Other than that your article’s great. Thanks again!

Ohh okay, I'm gonna remake the video then and address that.

Video is fine. It was just the medium post that seemed to imply you could inject a new injected method. It would most of the time it is dynamic dispatch and the method was at the end but could cause crashes.

Hey @johnno1962 if you want, I can make another video that addresses some things my other video didn't. Do you have any recommendations of things to talk about? My medium article got about 350 views with 30 likes so I think keeping things super simple is a good idea when teaching people about injection.

Sounds good. I liked your first video though - nice and simple. Making the fonts bigger would be an idea. I’m planning to write a web page this week with the missing FAQ as well..


Discord integration

I made a python program that uses server tap to make a discord integration (chat sync)

https://github.com/gigiodelchiaro/servertap-discord


Strategy for Jelly veNFTs [jelly-ve-nft-balance]

Changes proposed in this pull request:
Add support for Jelly veNFT based voting strategy

I understand, however I'm building a permissionless contract factory, with Snapshot out of the box. I only want users to input their veNFT contract via schema.json when they add the Jelly strategy. When I finish the veNFT contract, it will pull more defaults from the both the ve contracts and connected airdrops. I dont want new users to have to configure custom contract-call strategies.

I can understand but the main idea is to avoid duplication, when will you add more settings to this strategy? better to merge it after that, once spaces start using this strategy. it is kind of complicated to update strategy, specially when there is a open proposal

Good to know. We plan to do a public testnet with our community as soon as this is merged. With any changes being made after community feedback and before we launch on mainnet.

Closing this for now, i expect that contract-call worked for you like mention above, please feel free to reopen if needed


version missing

Steps to reproduce
Tell us about your environment:

Puppeteer version: 8.0.0
Platform / OS version: Mac OS
URLs (if applicable): -
Node.js version: v12.21.0

What steps will reproduce the problem?
Please include code that reproduces the issue.

open https://github.com/puppeteer/puppeteer/blob/main/versions.js
inspect map

What is the expected result?

version 8.0.0 included in the map

What happens instead?

version 8.0.0 missing

The map includes only versions when the Chromium binary was updated and not all Puppeteer versions. A clarification to the docs added here https://github.com/puppeteer/puppeteer/pull/8016


Add amor con hielo by morat

Song Name
amor con hielo
Artist Name
morat
Source
Youtube
Youtube Link
5Ks1bhjWEgfSh2Gr
Direct File Link
No response
Song ID
739991
Start Offset [ms]
12
Extra
Created from Auto Nong.
Created for level: 53858796

reject
invalid YouTube link


Space between sections and explore button is half hidden and navbar is also hidden

Describe the bug

Space between sections and explore button is half hidden

Screenshots

Before:

After:

could you explain what's the resolution of the screen where you're experiencing this? @vedant-jain03

could you explain what's the resolution of the screen where you're experiencing this? @vedant-jain03

1366 x 768

@ir2010, @vedant-jain03
Can I take this issue?

@vedant-jain03 please assign it to me under GSSOC'24


Add an example application that uses the pseudoconsole APIs

Sample app to illustrate how to use the new ConPTY APIs & infrastructure.

@DHowett-MSFT re: your concern on what this sample demos -
Would you think it'd be a better sample if the command he was running was ping -t localhost, and after , he wrote Ctrl-C to the conpty to interrupt ping.exe? That would demo reading output and also sending not just input, but input that was previously impossible to send to the console with the console API.
@bitcrazed thoughts?


Hook up Keypad as Generic HID Device

Descrition
No response
Subsystem
No response
Useful Knowledge
No response
Last Check

[X] I have labelled this issue with the priority and correct subsystem.

[ ] Plan buttons
[ ] Program keypad
[ ] Adjust values


Unclear how to use sparsity pattern on variables

In the Advanced Features listing of attributes for Leaf objects, the following is given:

"sparsity (list of tuplewith) – Fixed sparsity pattern for the variable." (Note the "tuplewith" typo as well)

I assume this is a list of tuples [(i1,j1), (i2,j2), ...] specifying which values are non-zero. However, there's no further elaboration on how this actually works in practice, and it does not seem to really have any effect if used.

sparsity is not yet implemented. It works through CVXPYgen https://github.com/cvxgrp/cvxpygen but not in the main cvxpy.


can't  be identified with other HMD

can't  be identified with other HMD ，such as DeepoonVR and PimaxVR（some copycat manufactor）.
it can be identified alone. but after connect HMD it will be identified HMD only or  identified PSMOVE only.

@vrxiaochouyu Are you sure you have multiple drivers enabled in your vrserver,settings file? I can confirm PSMoveService works in combination with both VRidge and driver_null.

I can confirm the service works with a deepoon E2.

@zelmon64 VRidge is OK. only use copyca HMD will be wrong

@Bungpiece Do you set someting?

@vrxiaochouyu no I just followed the instructions from the setup guide. What are you using to render to your headset? When I had it working I was using oculus home with runtime 1.6 I want to say.
Before installing psmoveservice was everything working fine with steamvr? A copy of your steamvr.settings file may help.  Also to clarify is this steam only recognising one or the other or is it your PC?

@bungpiece have you been able to get this work correctly with the deepoon? If so how? I can get the controllers set up etc.. but they always appear behind and above me no matter how I calibrate (anyone else any suggestions )

I can't find the video now but you want to basically  have your head be where the hmd is on the calibration mat ie have it at the same height and where you will be standing. Or you can adjust a settings file I think it's in appdata and manually set the values. There's a closed issue on this with more details I'll try to find when I'm on a desktop not a phone. Hope that helps.

@bungpiece thanks for the above will have a play about when in home tonight

Moving the conversation here.


Make it resumable when downloading to local

From far away - for example, when you are in a hotel... Make it possible to resume by re-running the command.
If internet is lost, make it possible to re-connect automatically?

It already is!


Code release date?

Great work! I'm just wondering when the code can be released.

Thanks for your interest! The code has already been released and is publicly available. We welcome any suggestions for improvement or feedback you might have!


fix: consuming using jsnext:main fails

The export command is executed before the definition of  defineProperty & objCreate so when consuming the src module using jsnext:main in webpack + babel, our build fails due to undefined defineProperty & objCreate. Moving the export to the bottom of the file solves the issue.

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! :smile:


download model weights on preprocess step

downloading model weights on multi-gpu during training can leave filesystem in a wonky state. attempt to download during pre-process step

@charlesfrye fyi, I don't think this will affect the modal llm-finetuning repo, but something to be aware of on your end.


1.0.37 - Broken Architect Tab when loaded with Merthykin's Designator Shapes Mod

Hello again! Hate to be the bringer of another bug, but I thought I'd report this, seeing as I've just updated to the most recent version and suddenly lost sight of everything in my Architect Menu altogether.
Testing with a "barebones" mod setup (Copied from Mod Manager) compared to my usual... including this mod's latest release and Designator Shapes (https://steamcommunity.com/sharedfiles/filedetails/?id=1235181370)
Version: 1
Name: TESTING SETUP
Mods:
- Id: malteschulze.rimmsassemble
  Name: RIMMSAssemble
- Id: brrainz.harmony
  Name: Harmony
- Id: ludeon.rimworld
  Name: Core
- Id: ludeon.rimworld.royalty
  Name: Royalty
- Id: unlimitedhugs.hugslib
  Name: HugsLib
- Id: lecris.autopatcher
  Name: '[LC]AutoPatcher'
- Id: jecrell.jecstools
  Name: JecsTools
- Id: fluffy.modmanager
  Name: Mod Manager
- Id: arandomkiwi.rimsaves
  Name: RimSaves
- Id: modsyncrw.kv.rw
  Name: ModSync RW
- Id: brrainz.cameraplus
  Name: Camera+
- Id: unlimitedhugs.allowtool
  Name: Allow Tool
- Id: mehni.misc.modifications
  Name: 4M Mehni's Misc Modifications [1.2]
- Id: uuugggg.tdpack
  Name: TD Enhancement Pack
- Id: uuugggg.tdbug
  Name: TDBug
- Id: fluffy.animaltab
  Name: Animal Tab
- Id: madeline.modmismatchformatter
  Name: Better ModMismatch Window
- Id: falconne.bwm
  Name: Better Workbench Management
- Id: voult.betterpawncontrol
  Name: Better Pawn Control
- Id: fluffy.areaunlocker
  Name: Area Unlocker
- Id: automatic.autolinks
  Name: Auto links
- Id: ben.automaticnightowl
  Name: Automatic Night Owl
- Id: fluffy.blueprints
  Name: Blueprints
- Id: chippedchap.blueprinttotalstooltip
  Name: Blueprint Totals Tooltip
- Id: vanya.tools.blightedalert
  Name: Blighted Alert
- Id: gorymoon.closeall
  Name: CloseAll
- Id: solaris.copyprint
  Name: Copyprint
- Id: mlie.drugpolicyfix
  Name: Drug Policy Fix (Continued)
- Id: dubwise.dubsmintmenus
  Name: Dubs Mint Menus
- Id: fluffy.medicaltab
  Name: Medical Tab
- Id: fluffy.pharmacist
  Name: Pharmacist
- Id: fluffy.relationstab
  Name: Relations Tab
- Id: fluffy.worktab
  Name: Work Tab
- Id: fluffy.followme
  Name: Follow Me
- Id: edb.preparecarefully
  Name: EdB Prepare Carefully
- Id: void.charactereditor
  Name: Character Editor
- Id: kushiyaki.takeoffcoatindoors
  Name: Take off coat indoors
- Id: merthsoft.designatorshapes
  Name: Designator Shapes
- Id: pathavoid.kv.rw
  Name: '[KV] Path Avoid'
- Id: jp.perfectpathing
  Name: Perfect Pathfinding
- Id: lwm.deepstorage
  Name: LWM's Deep Storage
- Id: solaris.furniturebase
  Name: GloomyFurniture
- Id: dalrae.gloomydeco
  Name: Gloomy Deco
- Id: semo583.gloomyhextrahuhkitchen
  Name: Gloomy Extra - Kitchen
- Id: ahndemi.lwmdsforgfd
  Name: LWM DS for Gloomy Furniture and Deco
- Id: im.skye.rimworld.deepstorageplus
  Name: Deep Storage Plus
- Id: mlie.tabsorting
  Name: Tab-sorting

The issue: Clicking on the architect tab yields nothing. No tabs pop up. In dev mode, the top dev options just outright disappear as well. Clicking off Architect tab from there brings up the error log, and several hundred ticks worth of this particular error:
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
  at Verse.DefDatabase`1[T].Add (T def) [0x00069] in <6326ac03f61f45efb3178f3bfd084139>:0
  at Merthsoft.DesignatorShapes.DesignatorShapes.LoadDefs () [0x00162] in <2ff321c61cf24f54a778c3572f706bc9>:0
  at (wrapper dynamic-method) RimWorld.MainTabWindow_Architect.RimWorld.MainTabWindow_Architect.ExtraOnGUI_Patch1(RimWorld.MainTabWindow_Architect)
  at Verse.WindowStack.WindowStackOnGUI () [0x00038] in <6326ac03f61f45efb3178f3bfd084139>:0
  at RimWorld.UIRoot_Play.UIRootOnGUI () [0x00074] in <6326ac03f61f45efb3178f3bfd084139>:0
  at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)
Verse.Log:Error(String, Boolean)
Verse.Root:Verse.Root.OnGUI_Patch1(Root)

Tried swapping the order between both mods, same results.
The error would seem to lean more of a Designator Shapes issue, but both mods were working fine together for me prior to me updating from Tab Sorting 1.0.35 to the newer versions. Tested with both 1.0.36 & 1.0.37, and the above happens. This might be due to the fact DS has the option to utilize its old UI through the Architect Tab via Shapes Tab, but even when the option to use it is disabled through DS's options, I still have this error appear.
Hopefully something can be fixed from this end? I'll stick with 1.0.35 for the time being, since it fixed all the previous issues I had brought up before. Thanks again for all the hard work on the modding front!

Great report, was able to find the issue and it seems to be working okay again.
Designator Shapes uses their own designator-types so the sorter just thought their category was empty.


Feature: Detailed view of company

When on the company page (accesible for everyone) there should be a way to click on the company and check out their full description etc.

Same as #247

Same as #247

#247 is about the companies page that is accesible by everyone without logging in.

Closed in #322


In streaming output mode, some Chinese characters are decoded as garbled characters

In streaming output mode, some Chinese characters are decoded as garbled characters because one Chinese character uses multiple tokens, and each token is decoded separately during streaming output. How to solve this problem?

@HongfengDu Could you provide more details about this issue? Which version of TrtLLM do you use? Which Model do you use?


slow developing packet loss when access the docker host as part of Docker ToolBox on Windows

I installed Docker ToolBox on a Windows 7 Professional.
For access a docker machine, I added a 3rd network adaptor in VirtualBox, bridged.
The adaptor type is "PCnet-FAST III (Bridged Adapter, Intel(R) Ethernet Connection 1217-LM)", the VirtualBox default.
This docker machine can be accessed from the same subnet ok,
but would slowly develop an access problem from other subnets.
The telltale is pinging the docker machine from different subnets would show increasingly more packet loss, util 100% loss.
Restarting the docker machine would not impact the packet loss.
The docker machine created by the Docker ToolBox uses dhcp on the new network adaptor, and changing to static ip had no obvious impact on the packet loss situation.
Removing or re-adding a default gateway on the docker machine would instantly fix the packet loss for a few hours, and the gateway being tweaked does not have to be the one associated with the new adaptor, e.g., removing the gateway <IP_ADDRESS> (via command route del default) alone would fix the packet loss.
Our network support says this is a problem with the docker machine and provided the "workaround" of removing/re-adding default gateways.
Any help?
Here is some information about the docker machine:
docker@xyz:~$ cat /etc/*-release
NAME=Boot2Docker
VERSION=1.10.3
ID=boot2docker
ID_LIKE=tcl
VERSION_ID=1.10.3
PRETTY_NAME="Boot2Docker 1.10.3 (TCL 6.4.1); master : 625117e - Thu Mar 10 22:09:02 UTC 2016"
ANSI_COLOR="1;34"
HOME_URL="http://boot2docker.io"
SUPPORT_URL="https://github.com/boot2docker/boot2docker"
BUG_REPORT_URL="https://github.com/boot2docker/boot2docker/issues"
The VirtualBox is Version 5.0.16 r105871.
The windows os is Windows 7 Professional with Service Pack 1.

I have the same problem with boot2docker on a Mac with the following versions:

OS X El Capitan 10.11.5
VirtualBox 5.1.0 r108711
docker-machine version 0.8.0-rc2, build 4ca1b85
Boot2Docker 1.12.0.rc5
3rd network adapter: bridged, PC-Net Fast III

Removing and re-adding the gateway fixes the problem.

Sorry for the long delay -- this is definitely something to do with VirtualBox (not the boot2docker ISO).  I'd recommend trying a VirtualBox-specific support forum/community for help determining the root cause.


Feature: npm package to define it's own mocked interface

Jest doesn't always mock things correctly. Something around getters and setters aren't mocked appropriately, and some other goofy scenarios.
Additionally, return values from functions that are mocked aren't always inline with what the module does. A good example of this is something that returns a Promise. Jest might mock the function, but break when a .then is called after.
It'd be great if npm packages could define their own jest mock, and jest would recognize them and use it instead of auto-mocking when possible.

I think it should work if you create a __mocks__ folder in your npm project and call it the same as your npm module. Would you mind trying that?
my-npm-module would ship with __mocks__/my-npm-module.js. If it doesn't work, we need to make it work :)

Alternatively, if you have an index.js file, I think this should also work:
index.js
__mocks__/index.js

My bad. Went afk on this one. I'll try to remember to test this later