11314 action column reset filters

Q
A

Is bugfix?
no

New feature?
yes

Breaks BC?
no

Tests pass?
yes

Fixed issues
#11314

It probably breaks BC behavior-wise i.e. previously no parameters were submitted to action triggered by a button but not it is.


Stageout error

Andrew reported following error which happened in cmsgwms-submit1.fnal.gov
Job Name: 54d5b90a-4fe5-11e5-97a7-a0369f23d01e Task:
/pdmvserv_BPH-RunIIWinter15GS-00027_00119_v1__150827_174136_2842/Production/ProductionCleanupUnmergedRAWSIMoutput
Errors:
cleanupUnmergedRAWSIMoutput
StageOutFailure (Exit Code: 1)
General failure in StageOut for DeleteFilesStageOutFailure
Message: Unable to delete file:
/store/unmerged/RunIIWinter15GS/InclusiveBtoJpsitoMuMu_JpsiPt3_TuneCUEP8M1_13TeV-pythia8-evtgen/GEN-SIM/MCRUN2_71_V1-v1/00039/A2F9B501-734D-E511-9E75-D4AE5264D254.root
ErrorCode : 60311
ModuleName : WMCore.Storage.StageOutError
MethodName : init
LFN :
/store/unmerged/RunIIWinter15GS/InclusiveBtoJpsitoMuMu_JpsiPt3_TuneCUEP8M1_13TeV-pythia8-evtgen/GEN-SIM/MCRUN2_71_V1-v1/00039/A2F9B501-734D-E511-9E75-D4AE5264D254.root
ClassInstance : None
FileName : /tmp/glide_VH2zKu/execute/dir_16540/job/WMCore.zip/WMCore/Storage/StageOutError.py
ClassName : None
SEName : se1.accre.vanderbilt.edu
ErrorType : GeneralStageOutFailure
LineNumber : 32
PFN : None
ErrorNr : 0
StageOutCommand : None
Traceback:
File "/tmp/glide_VH2zKu/execute/dir_16540/job/WMCore.zip/WMCore/Storage/DeleteMgr.py", line
168, in call
fileToDelete['PFN'] = self.deleteLFN(lfn)
File "/tmp/glide_VH2zKu/execute/dir_16540/job/WMCore.zip/WMCore/Storage/DeleteMgr.py", line
234, in deleteLFN
return self.deletePFN(pfn, lfn, command)
File "/tmp/glide_VH2zKu/execute/dir_16540/job/WMCore.zip/WMCore/Storage/DeleteMgr.py", line
263, in deletePFN
LFN = lfn, TargetPFN = pfn)

This looks like an ordinary stage out error, unless I'm missing something here.
@ticoann I'm closing this issue because I cannot see anything wrong. Feel free to reopen if you feel like


set appVersionto v0.4.11

Hi,
until we have a clear outcome from #640, I would suggest to use the v0.4.11-23-g2b59dbd-linux-amd64 container image.
latest can the result of PR, therefore it is not a release and it is not predictable.
Thanks

sounds good! Would it be possible to auto update the tag in a github action when the chart get published?

That would be great. Maybe using renovate.But we need to fix what latest


Add extrapolate option to polynomial regression.

Alright here is the fixed version. This change-set introduces an extrapolate option to polynomial regression line. It assumes the change between last two entries of the actual data array is the step size the extrapolation should sample with. Using that, it continues plotting values until extrapolate=N values got pushed. What do you think?

@phpepe ping?

Hey thanks for the contrib!  I'm trying to get a time to review,  test and
merge all the changes on this project.
El dic 11, 2015 6:20 p.m., "Cansin Yildiz"<EMAIL_ADDRESS>escribió:

@phpepe https://github.com/phpepe ping?
—
Reply to this email directly or view it on GitHub
https://github.com/streamlinesocial/highcharts-regression/pull/30#issuecomment-164038737
.


feat(Resource Controller): Deprecating alias and bindings APIs and sc…

…hema items
PR summary

PR Checklist
Please make sure that your PR fulfills the following requirements:

[ ] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

output_examples.txt
output_ITs.txt
output_UTs.txt

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Removed private Python 2 compatibility APIs depreciated from Django 3.0.

Address second checkbox of https://github.com/zulip/zulip/issues/16030.
Removed Python 2 compatibility APIs: https://docs.djangoproject.com/en/3.0/releases/3.0/#removed-private-python-2-compatibility-apis. We need to audit if we're using any and change them (3.0)
@timabbott  Can you check this.

This is great; merged as the series ending with 0d6047840b28efbd9d51397958bc410e1f4399c7 after adding a comment to explain user_passes_test, which we've modified in a subtle way from upstream.


Standard Reputation Framework and NFT Minting for Reputation Badges

Development Summary for SIP: Standard Reputation Framework and NFT Minting for Reputation Badges
Preamble
SIP Number: XXX
Title: Standard Reputation Framework and NFT Minting for Reputation Badges
Authors: [Zero, "xyzerobtc", omelet.btc, "GH-ID", AcrossFire, “GH-ID”, HodlSTX "HodlSTX" ]
Status: Draft
Type: Standard
Created: 2024-05-01
License: MIT License
Abstract
This SIP proposes a framework for implementing a standard reputation system on apps or websites. Each reputation transaction results in the minting of a Non-Fungible Token (NFT) to provide a verifiable, immutable record of the reputation event. This proposal outlines the standard attributes for the reputation system, the structure for XML and JSON representation, and the NFT minting process.
Motivation
A standardized reputation system with blockchain integration provides several benefits:

Transparency and Trust: Immutable records of reputation transactions increase transparency.
Interoperability: Standardized attributes allow for consistent implementation across different platforms.
Ownership: Minted NFTs represent a user’s reputation transactions, providing verifiable proof of reputation that users own.
Gamification: NFTs can be used to incentivize positive behavior and engagement.

Specification
Standard Attributes
User Information

user_id: A unique identifier for the user.
username: The display name of the user.
profile_url: URL to the user's profile.

Reputation Event

event_id: A unique identifier for the reputation event.
event_type: The type of reputation event (e.g., upvote, downvote, review).
event_description: A description of the reputation event.
event_timestamp: The timestamp when the event occurred.
event_value: The value of the reputation change (positive or negative).

NFT Information

nft_id: A unique identifier for the minted NFT.
nft_url: URL to the NFT on the blockchain.
nft_metadata: Metadata associated with the NFT, including details of the reputation event.

Clarity Code Representation
(define-data-var user_id (string-ascii 50) "unique-user-id")
(define-data-var username (string-ascii 50) "username")
(define-data-var profile_url (string-ascii 100) "https://example.com/user/profile")

(define-data-var event_id (string-ascii 50) "unique-event-id")
(define-data-var event_type (string-ascii 20) "upvote")
(define-data-var event_description (string-ascii 100) "Received an upvote on a comment")
(define-data-var event_timestamp (buff 32) 0x1234567890abcdef)
(define-data-var event_value int 10)

(define-data-var nft_id (string-ascii 50) "unique-nft-id")
(define-data-var nft_url (string-ascii 100) "https://blockchain.com/nft/unique-nft-id")
(define-data-var nft_metadata (buff 1024) 0xBase64EncodedMetadata)

NFT Minting Process

Event Trigger: A reputation event occurs on the platform (e.g., a user receives an upvote).
Data Aggregation: The platform collects the necessary data for the reputation transaction.
NFT Creation: The platform generates an NFT with the collected data as metadata.
Blockchain Interaction: The platform interacts with a blockchain service to mint the NFT.
Storage and Access: The minted NFT’s URL and metadata are stored in the platform’s database and linked to the user’s profile.

Rationale
This framework leverages the immutability and transparency of blockchain technology to create a verifiable and trustworthy reputation system. By standardizing the attributes and using NFTs to record reputation transactions, users gain ownership and can showcase their reputation across different platforms.
Backwards Compatibility
This proposal introduces a new system and does not affect existing implementations. Platforms adopting this standard will need to integrate the reputation framework and NFT minting process.
Implementation
Implementing this proposal requires:

Database Changes: Modify the database to store the new reputation and NFT attributes.
Blockchain Integration: Implement the logic to interact with a blockchain service for minting NFTs.
API Development: Develop APIs to handle reputation transactions and provide data in the specified formats.
Frontend Changes: Update user interfaces to display reputation and NFT information.

Security Considerations

Data Privacy: Ensure user data is handled securely and with consent.
Blockchain Risks: Mitigate risks associated with blockchain interactions, such as transaction costs and potential delays.

Conclusion
This SIP provides a standardized approach to implementing a reputation system with blockchain integration. By minting NFTs for each reputation transaction, we create a transparent, verifiable, and user-owned record of reputation, enhancing trust and engagement across platforms.
15 Common Categories to Build Reputation Onchain
1. Community Engagement

Description: Measures participation in community activities such as forum posts, comments, and social media interactions.
Attributes:

user_id
engagement_type (post, comment, share)
engagement_timestamp
engagement_value (likes, replies)

2. Transaction History

Description: Tracks the history and quality of transactions in marketplaces or financial services.
Attributes:

user_id
transaction_id
transaction_type (purchase, sale)
transaction_timestamp
transaction_value

3. Content Creation

Description: Recognizes the creation of valuable content like blog posts, videos, and tutorials.
Attributes:

user_id
content_id
content_type (blog, video)
content_timestamp
content_value (views, likes)

4. Skill Verification

Description: Validates user skills through certifications or endorsements.
Attributes:

user_id
skill_id
skill_name
verification_timestamp
verifier_id

5. Project Contributions

Description: Measures contributions to open-source projects or collaborative efforts.
Attributes:

user_id
project_id
contribution_type (code, documentation)
contribution_timestamp
contribution_value (commits, pull requests)

6. Review and Feedback

Description: Tracks the feedback given and received for products, services, or content.
Attributes:

user_id
review_id
review_type (product, service)
review_timestamp
review_rating

7. Attendance and Participation

Description: Logs participation in events, webinars, or conferences.
Attributes:

user_id
event_id
event_type (webinar, conference)
event_timestamp
participation_value

8. Mentorship and Coaching

Description: Records activities related to mentoring or coaching others.
Attributes:

user_id
mentee_id
mentorship_type (session, advice)
mentorship_timestamp
mentorship_value (hours, impact)

9. Achievements and Awards

Description: Captures achievements, awards, or recognitions received.
Attributes:

user_id
achievement_id
achievement_type (award, milestone)
achievement_timestamp
achievement_value

10. Learning and Development

Description: Tracks completion of courses, certifications, or training programs.
Attributes:

user_id
course_id
course_name
completion_timestamp
course_score

11. Bug Reporting and Issue Resolution

Description: Logs the reporting and resolution of bugs or issues.
Attributes:

user_id
issue_id
issue_type (bug, feature request)
issue_timestamp
issue_status

12. Reputation and Endorsements

Description: Measures endorsements or reputation points received from peers.
Attributes:

user_id
endorsement_id
endorsement_type (skill, character)
endorsement_timestamp
endorser_id

13. Compliance and Certifications

Description: Records compliance with standards and attainment of certifications.
Attributes:

user_id
certification_id
certification_name
certification_timestamp
certifying_body

14. Social Impact and Volunteering

Description: Tracks involvement in social impact activities or volunteering.
Attributes:

user_id
activity_id
activity_type (volunteering, donation)
activity_timestamp
activity_value (hours, impact)

15. Peer Reviews and Ratings

Description: Collects peer reviews and ratings for collaborative work.
Attributes:

user_id
peer_review_id
review_type (project

Example where the Stacks Foundation gives a skill badge for "Critical Bounty" as a form of skill verification:
(define-data-var user_id (string-ascii 50) "user-stx-address")
(define-data-var skill_id (string-ascii 50) "critical-bounty-001")
(define-data-var skill_name (string-ascii 50) "Critical Bounty Completion")
(define-data-var verification_timestamp (buff 32) 0x1234567890abcdef)
(define-data-var verifier_id (string-ascii 50) "stacks-foundation")

(define-public (award-skill-badge (user_id (string-ascii 50))
                                  (skill_id (string-ascii 50))
                                  (skill_name (string-ascii 50))
                                  (verification_timestamp (buff 32))
                                  (verifier_id (string-ascii 50)))
    (begin
        ;; Mint an NFT representing the skill badge (this would involve a separate NFT contract)
        (print (tuple (user user_id)
                      (skill-id skill_id)
                      (skill-name skill_name)
                      (timestamp verification_timestamp)
                      (verifier verifier_id)))
        (ok (tuple (user user_id)
                   (skill-id skill_id)
                   (skill-name skill_name)
                   (timestamp verification_timestamp)
                   (verifier verifier_id)))
    )
)

Explanation:

user_id: This is the Stacks address of the user who completed the critical bounty.
skill_id: A unique identifier for the skill, in this case, associated with the "Critical Bounty Completion."
skill_name: The name of the skill being awarded, here "Critical Bounty Completion."
verification_timestamp: The timestamp when the skill was verified.
verifier_id: The identifier of the entity verifying the skill, in this case, "stacks-foundation."

The award-skill-badge function can be called to log the awarding of the skill badge. This could later be expanded to include minting an NFT that represents this skill badge on the blockchain.

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx


[WIP] Fix ingress sds memory leak

When ingress agent starts serving SDS but k8s secret does not exist, instead of sending error message back, wait until k8s secret is ready, and sends SDS response with the key/cert. This change follows the xDS protocol. The management server may reply either immediately or when the requested resources are available with a DiscoveryResponse
When k8s secret is deleted by operator, ingress gateway agent will close the stream and force the gateway to send another SDS request. On receiving the new SDS request, the ingress gateway agent will wait until a new k8s secret is added. When that k8s secret is added, the ingress gateway agent will notify the gateway by pushing new resource in SDS response. This change follows the xDS protocol. The management server should only send updates to the Envoy client when the resources in the DiscoveryResponse have changed. Envoy replies to any DiscoveryResponse with a DiscoveryRequest containing the ACK/NACK immediately after it has been either accepted or rejected. If the management server provides the same set of resources rather than waiting for a change to occur, it will cause Envoy and the management server to spin and have a severe performance impact.
Fixes #13197

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: JimmyCYJ
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: diemtvu
If they are not already assigned, you can assign the PR to them by writing /assign @diemtvu in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

security/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

I am adding tests for this change.

@JimmyCYJ: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
7f5ab82239bf06a2de317d7e5e83cb3d6caa3899
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
7f5ab82239bf06a2de317d7e5e83cb3d6caa3899
link
/test istio-unit-tests

prow/istio-pilot-multicluster-e2e.sh
7f5ab82239bf06a2de317d7e5e83cb3d6caa3899
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
7f5ab82239bf06a2de317d7e5e83cb3d6caa3899
link
/test istio-pilot-multicluster-e2e

prow/istio-integ-k8s-tests.sh
b43c5a1704164aa5d3a72f7bc67f0df6bdf9f28e
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
b43c5a1704164aa5d3a72f7bc67f0df6bdf9f28e
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
b43c5a1704164aa5d3a72f7bc67f0df6bdf9f28e
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: JimmyCYJ, quanjielin
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

security/OWNERS [quanjielin]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

From the issue:
touch empty.cert.pem
kubectl create -n istio-system secret generic httpbin-credential \
--from-file=key=httpbin.example.com/3_application/private/httpbin.example.com.key.pem \
--from-file=cert=empty.cert.pem

This creates a secret, but with an empty cert. This change seems to only handle the case when there is no secret.
Following the above command I saw 50k SDS pushes/second.
Will this change fix this as well or will we need another change?

This creates a secret, but with an empty cert. This change seems to only handle the case when there is no secret.

If the secret has an empty cert, the gateway agent does not add that secret into its local storage. Therefore it will not return any secret to the ingress gateway, and the SDS request is still pending. Once the operator deletes the invalid secret and create a valid secret, the ingress gateway agent will add the valid secret into its local storage, and notify the gateway by pushing the new secret.

Is this still a wip?

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
b43c5a1704164aa5d3a72f7bc67f0df6bdf9f28e
link
/test istio-pilot-multicluster-e2e

prow/istio-integ-k8s-tests.sh
5a4b13d95e7b8b2212d4b1b79cc284ed0b87c611
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
5a4b13d95e7b8b2212d4b1b79cc284ed0b87c611
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
5a4b13d95e7b8b2212d4b1b79cc284ed0b87c611
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

I built a docker image docker.io/jimmycyj/node-agent-k8s:b43c5a1704164aa5d3a72f7bc67f0df6bdf9f28e with this fix. I create 70 gateways with 70 credentials but no k8s secret is created, this forces ingress gateway to send SDS request but does not get any response. The ingress-sds does not send error message now, and I am watching the memory usage.

@duderino could you please help to merge this PR?

Here is the memory usage, I add 70 gateway around 23:15, the memory consumption is 7M. Previously this is over 200M


className added to .removeAll query

I am running an update query which removes an element h from a list hotspots:
....removeAll("hotspots", h);

And I can see the query in the mongoDB logs as follows:
2015-08-25T17:59:54.009+0200 I WRITE    [conn65864] update test.tour query: { _id: ObjectId('55cca325af41d46add60fa34') } update: { $pull: { hotspots: { className: "models.pano.Hotspot", hotspotVPos: -9.722799301147461, hotspotHPos: -88.67720031738281, filenamePanorama: "R0011023.JPG" } } $inc: { version: 1 } } nscanned:1 nscannedObjects:1 nMatched:1 nModified:1 keyUpdates:1 writeConflicts:0 numYields:0 locks:{ Global: { acquireCount: { r: 2, w: 2 } }, Database: { acquireCount: { w: 2 } }, Collection: { acquireCount: { w: 1 } }, oplog: { acquireCount: { w: 1 } } } 0ms

Well, basically the removeAll does not match the element h because my list of objects in the DB do not contain the className field. And the variable h does not contain it either. So morphia is adding it.

As a workaround you can perform
//have a method to convert the object to map, for example: http://stackoverflow.com/questions/3215538/generate-mapstring-string-from-pojo#answer-3215566
Map<String,Object> hToMap = convertObjectToMap(h);
...removeAll("hotspots", new BasicDBObject(hToMap));

However, it is not very Morphia-like, and I don't like it.

Agreed.  Having to do that is a failure on Morphia's part.

A question: Does it happens the same using hasThisElement for querying? (not for update). Or in this case className is not added?

Apologies for the delay.  I'm aggressively working the backlog now, however.
I can't recreate this one, unfortunately.  Perhaps it got cleaned up as a side effect of another change.  See the new test to see if I maybe I'm testing the wrong way.

This seems to work.  I can't replicate it.


[Distribution Usage] Deploy Jresolver distribution to the repository

Try to use https://github.com/BreadMoirai/github-release-gradle-plugin


New Worker Versioning API

What changed?

Deprecating UpdateWorkerBuildIdCompatibility and GetWorkerBuildIdCompatibility and replacing them with UpdateWorkerVersioningRules and ListWorkerVersioningRules.
Deprecating the concept of Version Set and "default Version Set", replacing them with more flexible BuildIdAssignmentRule and CompatibleBuildIdRedirectRule concepts.
The assignment rules assign a Build ID to new (Unassigned) Workflow Executions and Activities.
The redirect rules are only used in context of compatible Build IDs. These rules apply to tasks assigned to a particular Build ID (source_build_id) to redirect them to another compatible Build ID (target_build_id).

Why?

Be able to support Gradual rollout for Canary, Blue/Green, Rolling deployments (and alike)

Rolling: ability to send new and/or existing executions to the new build only as much as it can take as it is rolling (consumption-based).
Blue/Green: ability to send a particular percentage of the new executions to the new build
Canary: ability to filter new executions based on “VersioningHint” Search Attribute set by Starter

Version Set is not the right abstraction for the Build ID compatibility relationships, replaced it with CompatibleBuildIdRedirectRule which:

Do not loose the directionality: a redirect is from a source Build ID to a target Build ID
Are removable (useful in cases that the compatibility was claimed by mistake)
Are more powerful: more features such as contingent_on_worker_availability and dry_run_mode will be added on the redirect rules. The rules are also extensible for options such as ramp and filter for the future.

Making the API Incompatible-first: The primary beneficiary of WV are use cases with presumed-incompatible build IDs because WV frees them from caring about compatibility. They should be able to use WV without having to learn or think about Version Sets which currently takes the center stage of the API. Now these use cases can use BuildIdAssignmentRule with independent Build IDs.

Breaking changes
The UpdateWorkerBuildIdCompatibility and GetWorkerBuildIdCompatibility become deprecated, but supported for one version beside the new API.

Not sure if mentioned before, please do not merge this until the feature is implemented.

API Changes merged from versioning-2 feature branch to main in #393


stdout from "external" functions not shown

Describe the bug
Stdout created in functions not defined in the code block itself will not be rendered (but shows up in the stdout of the mkdocs run)
To Reproduce
I expect the same rendered output in all three code blocks below:
print("hello")

def hello():
    print("hello")
hello()

from somepackage import hello   # same definition of hello as before
hello()

The last block executes, and its output shows up in the mkdocs stdout, but the "result" block created by markdown-exec remains empty.
Expected behavior
All three blocks should give the same result.
System (please complete the following information):
mkdocs                            1.4.3
markdown-exec                     1.6.0
Platform:   linux
OS:         posix
Python:     3.9.16

Thanks for the report.
Explanation: when running Python code, we patch the print function in the execution context's globals. Obviously this only affects the code Markdown-Exec sees, not code from other modules.
Workaround: capture stdout of these functions to re-print it from the code executed by Markdown-Exec.
Permanent fix: we might need to change our strategy, for example by using failprint which will take care of patching everything we need, everywhere so that any output (using print, or sys.stdout, or sys.stdout.buffer, or subprocesses, etc.) will be captured correctly. This is a bit heavier than what we have now, but I don't see another solution using the current approach.

Thanks a lot for your fast response and clarification.  I am curious whether there's a quick workaround that does not involve changing the markdown code blocks.
As I understand now, we are talking about this line:
    buffer = StringIO()
    exec_globals["print"] = partial(_buffer_print, buffer)

    try:
        compiled = compile(code, filename=code_block_id, mode="exec")
        exec(compiled, exec_globals)  # noqa: S102

Do you think something like even more hacky like
    buffer = StringIO()
    builtin_inject = "__builtins__['print'] = partial(_buffer_print, buffer)\n"
    exec_globals["buffer"] = buffer
    exec_globals["_buffer_print"] = _buffer_print
    code = builtin_inject + code

    try:
        compiled = compile(code, filename=code_block_id, mode="exec")
        exec(compiled, exec_globals)  # noqa: S102

could work (have not tried)?

Ha, interesting! I didn't think mutating __builtins__ would affect all code and not just the current module. So yes, it's a bit more hacky but is an actual solution (I tried it and it works) :slightly_smiling_face: Thanks! I was going to offer that you contribute the change with a PR, but we need careful thinking: prefixing the user code will change the line numbers, and possibly other things like tracebacks in case of error, etc.. We must make sure the change doesn't negatively impact the current UX.

This approach also does not seem to work nicely with other packages that modify print via __builtins__ (e.g. numba)

I might have found a lower-level solution that could work for many different scenarios: https://stackoverflow.com/a/22434262/3451029. If we go this route, I'd like to implement that in failprint, and then depend on failprint here.

Looks good, just gave redirect_stdout a try by redirecting to "buffer" in above code snippet. It is not conserving linebreaks right now, but I guess that's a minor aspect. Will you give it a try or should I do a PR (without failprint for now...)?

It is not conserving linebreaks right now

Ouch, I'd say this is a no-go and we must fix this. It's very important that user output is 100% untouched.
But, just to make sure (and sorry, this wasn't clear in my previous comment): I was pointing at the low-level solution using file descriptors, called stdout_redirected in the SO answer.
I'll give it a try myself, no PR for now please :slightly_smiling_face:

Hey @cbyrohl, this is moving forward. failprint now captures thing with file descriptors manipulation. So it's now possible to switch to using failprint in markdown-exec. Such a feature will probably land in the $1000/month goal of my insiders program.


what is the value of sys.argv? And what is the meanning of the comm_flag? What value should it be?

No description provided.

hi,have you solved the promble? i have the same problem as you and i don't know how to run this code.

No description provided.

hi,have you solved the promble? i have the same problem as you and i don't know how to run this code.

well comm_flag can be 0 or 1,default value is 0.


No notifications for incoming trades - only outgoing

Hi,
I've used Mercury Trade for quite some time on Windows 7 and have been very happy with it. I recently installed Windows 10 Pro, and reinstalled PoE. I now only get the notification panel when I send people trade requests, but I get no notification sound or panel on incoming messages. Like Mercury doesn't even notice them. I have remembered to set the game in Fullscreen Windowed mode, and I've tried running MT as admin. Have also checked in the MT config that the game path is correct.
I really hope we can resolve this!

The new update <IP_ADDRESS> fixed the problem for me :) I did that, as well as a clean install where I deleted the MT folder in appdata.


[GLUTEN-5484] add missing tests for clickhouse

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
(Fixes: #5484)
How was this patch tested?
This patch was tested by unit tests.

Run Gluten Clickhouse CI

Run Gluten Clickhouse CI

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_5485_time.csv
log/native_master_04_23_2024_fd2519a2b_time.csv
difference
percentage

q1
37.08
36.36
-0.721
98.05%

q2
24.07
24.01
-0.059
99.76%

q3
36.70
36.90
0.199
100.54%

q4
38.69
39.08
0.391
101.01%

q5
71.96
69.94
-2.016
97.20%

q6
5.76
7.58
1.818
131.57%

q7
86.22
86.14
-0.081
99.91%

q8
86.19
85.13
-1.060
98.77%

q9
124.61
122.27
-2.343
98.12%

q10
44.50
43.15
-1.343
96.98%

q11
20.74
21.01
0.272
101.31%

q12
27.09
27.87
0.774
102.86%

q13
55.49
55.25
-0.243
99.56%

q14
20.30
20.45
0.148
100.73%

q15
28.99
28.88
-0.116
99.60%

q16
14.42
14.54
0.123
100.86%

q17
105.41
106.73
1.324
101.26%

q18
145.89
147.26
1.367
100.94%

q19
15.95
13.90
-2.049
87.15%

q20
27.17
28.89
1.718
106.32%

q21
290.33
295.12
4.793
101.65%

q22
16.75
17.71
0.951
105.68%

total
1324.31
1328.16
3.847
100.29%


Feature Request: Lazy Dictionary Loading

zxcvbn is great but the dictionary is huge! When I build my application it would be nice if there was a way to load zxcvbn using a promise, in which it will acquire the dictionary from a CDN, parse and instantiate. This will help reduce application payload sizes for SPA use cases.

The dictionaries are not included in the core library anymore. You need to load them by yourself.
We could add an example in the documentation to show how its done.
For example with webpack you could make an async  import for lazyloading:
import zxcvbn from '@zxcvbn-ts/core'

const loadOptions = async () => {
  const zxcvbnCommonPackage =  import(/* webpackChunkName: "zxcvbnCommonPackage" */ '@zxcvbn-ts/language-common')
  const zxcvbnEnPackage =  import(/* webpackChunkName: "zxcvbnEnPackage" */ '@zxcvbn-ts/language-en')

  return {
    dictionary: {
      ...zxcvbnCommonPackage.dictionary,
      ...zxcvbnEnPackage.dictionary,
    },
    translations: zxcvbnEnPackage.translations,
  }
}

const password = 'somePassword'
const options = await loadOptions()
zxcvbn(password, options)

I didn't test it but it should do the trick. With CDN's you would just need to change the imports with await fetch('somecdn/zxcvbn-ts/language-someLanguage').

The dictionaries are not included in the core library anymore. You need to load them by yourself.
We could add an example in the documentation to show how its done.
For example with webpack you could make an async  import for lazyloading:
import zxcvbn from '@zxcvbn-ts/core'

const loadOptions = async () => {
  const zxcvbnCommonPackage =  import(/* webpackChunkName: "zxcvbnCommonPackage" */ '@zxcvbn-ts/language-common')
  const zxcvbnEnPackage =  import(/* webpackChunkName: "zxcvbnEnPackage" */ '@zxcvbn-ts/language-en')

  return {
    dictionary: {
      ...zxcvbnCommonPackage.dictionary,
      ...zxcvbnEnPackage.dictionary,
    },
    translations: zxcvbnEnPackage.translations,
  }
}

const password = 'somePassword'
const options = await loadOptions()
zxcvbn(password, options)

I didn't test it but it should do the trick. With CDN's you would just need to change the imports with await fetch('somecdn/zxcvbn-ts/language-someLanguage').

I looked into it and it seems like there need to be done some changes to the build script to make it work for the browser and CDN approaches.

I looked into it and it seems like there need to be done some changes to the build script to make it work for the browser and CDN approaches.

The lazy loading as documented did not work for me, however the code below do
const loadOptions = async () => {
        const zxcvbnCommonPackage = await import(
          /* webpackChunkName: "zxcvbnCommonPackage" */ '@zxcvbn-ts/language-common'
        );
        const zxcvbnEnPackage = await import(
          /* webpackChunkName: "zxcvbnEnPackage" */ '@zxcvbn-ts/language-en'
        );

        return {
          translations: zxcvbnEnPackage.default.translations,
          dictionary: {
            ...zxcvbnCommonPackage.default.dictionary,
            ...zxcvbnEnPackage.default.dictionary,
          },
        };
      };

Thats true thanks for the report i adjusted it https://github.com/zxcvbn-ts/zxcvbn/pull/27

I will close the issue as it is documented how to lazy load dictionaries.


Remove notes from thunderforest sources

Thunderforest tiles are no longer 'heavy' as of v2 🎉(see https://github.com/maputnik/editor/issues/641#issuecomment-612593093)
Removed all references from 'heavy' from the UI.

Yep, I'm currently playing around with the v2 tiles, huge difference compared to v1 :tada:


[Publisher] REST API to validate roles

Following Publisher REST APIs needs to be implemented to,
- check whether if a given role exists in the system
- check whether the logged-in user has the given role
This would be useful in validating user roles when adding publisher access-control, restricting store visibility with roles and when adding new scopes

REST APIs added in https://github.com/wso2/carbon-apimgt/pull/6839


Refactor schedule_function functionality into associated resources

Refactor schedule_function elements
TODO

[X] apply_haptic_feedback.rs
[X] begin_frame.rs
[X] end_frame.rs
[X] begin_pbr_renderpass.rs
[X] end_pbr_renderpass.rs
[X] physics_step.rs
[ ] sync_debug_server.rs
[ ] mod.rs

Refactoring ideas:

apply_haptic_feedback potentially in HapticContext resource.
begin_frame and end_frame can likely be pulled into XrContext resource.
'begin_pbr_renderpassandend_pbr_renderpassintoRenderContext` resource.
physics_step into PhysicsContext resource.

Thanks so much for tackling this @davidkuhta - I think the issues you've highlighted here are all totally real, and there's so much room for improvement in the API.
As per our conversation today I'm going to push back on a refactor of the public API for now. I think I'd like to leave the API very explicit and lowlevel, and let changes be guided by feedback that arises from actually making games. I'm 90% sure that the next iteration of the API is going to look very similar to what you've proposed, but for 0.2 I think I'd like to leave the API as is and focus on cleaning up some of the internals.


Support only PHP 7.1 and rename to DI

Coverage remained the same at 100.0% when pulling bebb86967ef6a39ccea3aef56a867b0f2c6ac0a8 on develop into 1639f3516adadc779c968e0ea0b9ba9563028a08 on master.


docs: release update

Purpose
The first major RAI version is around the corner :).
Proposed Changes
Documentation update
Issues

Links to relevant issues

Testing

How was it tested, what were the results?

@boczekbartek could you please edit the rai/docs/demos/rosbot_xl.md and push the changes here?


read all the data before trying to decode

I wasn't making sure to read the whole response before trying to decode the message, so I would get errors if I didn't read the entire response after one 'data' event was fired. This fixes that

idk if you should increment version for the package


can pipx install from local folder/whl/tar.gz?

Is it possible to install package (with all its entry points) that exists only on my hard drive?
pipx install '/tmp/3/kossak_cli_tools'
Traceback (most recent call last):
  File "/home/kossak/.local/bin/pipx", line 11, in <module>
    load_entry_point('pipx==<IP_ADDRESS>', 'console_scripts', 'pipx')()
  File "/home/kossak/.local/pipx/venvs/pipx/lib/python3.6/site-packages/pipx/main.py", line 567, in cli
    run_pipx_command(args)
  File "/home/kossak/.local/pipx/venvs/pipx/lib/python3.6/site-packages/pipx/main.py", line 358, in run_pipx_command
    install(venv_dir, package, package_or_url, local_bin_dir, args.python, verbose)
  File "/home/kossak/.local/pipx/venvs/pipx/lib/python3.6/site-packages/pipx/main.py", line 277, in install
    venv.install_package(package_or_url)
  File "/home/kossak/.local/pipx/venvs/pipx/lib/python3.6/site-packages/pipx/main.py", line 78, in install_package
    self._run_pip(["install", package_or_url])
  File "/home/kossak/.local/pipx/venvs/pipx/lib/python3.6/site-packages/pipx/main.py", line 145, in _run_pip
    return _run(cmd)
  File "/home/kossak/.local/pipx/venvs/pipx/lib/python3.6/site-packages/pipx/main.py", line 151, in _run
    returncode = subprocess.run(cmd).returncode
  File "/home/kossak/.asdf/installs/python/3.6.6/lib/python3.6/subprocess.py", line 403, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/home/kossak/.asdf/installs/python/3.6.6/lib/python3.6/subprocess.py", line 709, in __init__
    restore_signals, start_new_session)
  File "/home/kossak/.asdf/installs/python/3.6.6/lib/python3.6/subprocess.py", line 1344, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: PosixPath('/tmp/3/kossak_cli_tools/bin/pip'): PosixPath('/tmp/3/kossak_cli_tools/bin/pip')

I can do it using pipsi with pipsi install '/tmp/3/kossak_cli_tools' and it processes the setup.py from this folder properly.

You should be able to do something like pipx install --spec /tmp/3/kossak_cli_tools <package name>

Doesn't work:
> pipx install --spec /tmp/3/kossak_cli_tools kossak_cli_tools
Url was not a valid url

Sorry about that, thanks for reporting these! I just updated to v <IP_ADDRESS>, try
pipx upgrade pipx

then try
pipx install --spec /tmp/3/kossak_cli_tools kossak_cli_tools

again

> pipx upgrade pipx                                                              2
using url git+https://github.com/cs01/pipx.git for pipx installation
upgraded package pipx to latest version (location: /home/kossak/.local/pipx/venvs/pipx)
> pipx --version
<IP_ADDRESS>
> pipx install --spec /tmp/3/kossak_cli_tools kossak_cli_tools
No binaries associated with this package

When i install it with pipsi I have:
> pipsi install /tmp/3/kossak_cli_tools                                          1
Processing ./3/kossak_cli_tools
  Installing build dependencies ... done
Collecting click<7.0,>=6.7 (from kossak-cli-tools==0.4.0)
  Using cached https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl
Collecting logzero<2.0,>=1.5 (from kossak-cli-tools==0.4.0)
  Using cached https://files.pythonhosted.org/packages/97/24/27295d318ea8976b12cf9cc51d82e7c7129220f6a3cc9e3443df3be8afdb/logzero-1.5.0-py2.py3-none-any.whl
Collecting pyperclip<2.0,>=1.6 (from kossak-cli-tools==0.4.0)
  Using cached https://files.pythonhosted.org/packages/2d/0f/4eda562dffd085945d57c2d9a5da745cfb5228c02bc90f2c74bbac746243/pyperclip-1.7.0.tar.gz
Collecting pytaglib<2.0,>=1.4 (from kossak-cli-tools==0.4.0)
  Using cached https://files.pythonhosted.org/packages/c7/f0/c6d15860c6ab5953320edd36b5050e9d813d025bd49563ef7a24154b69c7/pytaglib-1.4.3.tar.gz
Collecting sh<2.0,>=1.12 (from kossak-cli-tools==0.4.0)
  Using cached https://files.pythonhosted.org/packages/4a/22/17b22ef5b049f12080f5815c41bf94de3c229217609e469001a8f80c1b3d/sh-1.12.14-py2.py3-none-any.whl
Collecting Cython (from pytaglib<2.0,>=1.4->kossak-cli-tools==0.4.0)
  Using cached https://files.pythonhosted.org/packages/64/3f/cac281f3f019b825bbc03fa8cb7eb03d9c355f4aa9eef978279a4966cb21/Cython-0.29-cp36-cp36m-manylinux1_x86_64.whl
Installing collected packages: click, logzero, pyperclip, Cython, pytaglib, sh, kossak-cli-tools
  Running setup.py install for pyperclip ... done
  Running setup.py install for pytaglib ... done
  Running setup.py install for kossak-cli-tools ... done
Successfully installed Cython-0.29 click-6.7 kossak-cli-tools-0.4.0 logzero-1.5.0 pyperclip-1.7.0 pytaglib-1.4.3 sh-1.12.14
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

Any chance you can share the source of kossak_cli_tools with me?

Also you can try
pipx install --verbose --spec /tmp/3/kossak_cli_tools kossak_cli_tools

to see if anything else useful is shown.

Oh I think I see the error. The package name is kossak-cli-tools, so try
pipx install --verbose --spec /tmp/3/kossak_cli_tools kossak-cli-tools

Now (<IP_ADDRESS>) it works with dashes or underscores, thank you!


Wallet to Vault send is not working:

https://github.com/user-attachments/assets/a5ca5dfa-d8f5-4308-b6ae-bca09c945b58

Send is not working if fees are low.Will have to select high fee everytime.

Verified this issue on keeper app v 1.2.20(419)


Feat: visual component for Project certificates

Type of change

Enhancement / new feature
Bugfix

Description
The visual components required for Project Certificate Lists have been created. It addresses the following:

Certificates can be displayed in cards.
A form to create/edit certificates.
Auto-population of form fields upon edit.
Toggling between view and edit mode.

Screenshots

Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[x] Resolve all warnings
[x] Update license
[ ] Write test cases for null checks in Unit Tests
[ ] Reference relevant issue(s) and close them after merging

We should lay out a guideline for naming ids when we are rendering multiple elements with map.


[9.x] migrations stubs does not match PSR-12

Opening braces of migrations files does not follow guidelines of PSR-12 for anonymous classes. The opening brace must be placed on the same line of the class keyword.
https://www.php-fig.org/psr/psr-12/#8-anonymous-classes

We prefer the current way of doing things.


technicolor-afm0002 - serial SFP pinout

Hello
Do you know if it's possible to have serial console via SFP connector on this SFP ?
Regards

We never tried IIRC. I do have a logic analyzer at hand so I will give it a go

Unfortuntaly i did probe all the relevant pins and saw nothing of use. Feel free to-reopen the issue if you spot something


fix: Enable Kusama to ahk bridge

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix

Needs QA check

@kodadot/qa-guild please review

Context

[x] Closes #9556

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[x] My fix has changed UI

Copilot Summary
copilot:summary
copilot:poem

Thanks!
pay 30 usd

😍 Perfect, I’ve sent the payout
💵 $30 @ 8.34 USD/DOT ~ 3.597 $DOT
🧗 16SjUbGKSdjCdWTy3NNT3JxbRVGGqD4mwkHpc6BD9U2Rp29Z
🔗 0x0170e4ca5a405704c6d2dc69acbe2f3fc16eddcaf0758895174dabb5b30d94f3
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


set execute_notebooks: auto

Addresses #9
First I want to see if setting execute_notebooks: auto will lead to CI failure due to the (deliberately) failing code cell.
Then we'll add the cell tag raises-exception to that cell and tests should pass again

Some progress!
The latests commits define a complete execution environment, and strip the existing output out of the notebooks. The preview shows output generated by our CI run.
We still haven't set the raises-exception call tag, so the execution fails for that one notebook.
Unexpectedly through, this did not get flagged as a CI failure. I need to look into this more.

I'm finally clueing into the fact that jupyter-book build does NOT normally report an error on the command line when it encounters a notebook execution error.
So we may need to rethink our strategy for health checks.
Thanks @ThomasMGeo for letting me use your cookbook as a testing guinea pig!

Trying to execute on Binder does cause a failure, but here it's failing for the wrong reason: the Binder is using the conda environment from the main branch, so it doesn't have any of the necessary python packages installed.
I will open a separate PR that just updates the environment file.


Improved tests dependencies

Fixes #196

Pull Request Test Coverage Report for Build 844

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 842:
0.0%

Covered Lines:
7899

Relevant Lines:
7899

💛  - Coveralls

Pull Request Test Coverage Report for Build 844

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 842:
0.0%

Covered Lines:
7899

Relevant Lines:
7899

💛  - Coveralls


Static files( frontend ) should be served by an NGINX server

Serving static files ( HTMLs, CSS, JS and image file of the front-end ) with NGINX server is good IMO. Once the front-end is updated, the files could be merged, minified, versioned and put in a 'dist' directory. We then can served these files though NGINX.

I want to work on this. Can i be assigned to this task. Thank you.

Hi @saisankargochhayat, I forgot to mention that this task is for GSoCers ( a small part of a large GSoC task this is actually. http://www.scorelab.org/gsoc-2017/#opendfkubernetize ). If you like, you can work on this whole GSoC task! :D ( of course, only if you are interested in GSoC )

Yes , i am interested in GSoC , can you direct me to a small task to test the waters . I really like the idea outlines this (Kubernetize OpenDF) and would like to work on this or "Image annotation and describe module". Thank you for leading the way :)


Update Translation

There may be some problem with the font

Very nice, I will fix the font for it. Thank you very much!


Does custom template name have to start with cra-template？

In my company, it only  allowed private repositories name begin with @。

I check latest doc,cra support group.


Sometime it plays without screen.

I'm trying to use WPF 4.5 samples.
when I play sth, it shows me only sounds without video.
sometimes ok, sometimes only audio.
I don't even know why it happens..
Player.Stop();             Player.LoadMedia(new Uri("http://..."));             Player.Play();

No idea with it. Can you provide more information?

Maybe the situation is hard to duplicate.
But if you make a function like next button to switch to next video.
This problem happens very often.
Once you click the header, and then click next button it will happen.
I think if the vlcplayer is not focused, and clicking next button, it will happen.
But I am not sure if this is a focus problem or not.

I had the same problem. When I used RebuildPlayer just before LoadMedia it worked properly:
Player.Stop(); Player.RebuildPlayer(); Player.LoadMedia(new Uri("http://...")); Player.Play();

@mahdi-ataollahi RebuildPlayer api is not recommend, most of the time you shouldn't call it, RebuildPlayer is not a good way to reset the Player.

I had the same problem.
The solution was is to Stop and Start video again:
player.Stop();
player.Play();

When video is not displayed, State property of player (and media) is Error sometimes, but it can be also Playing


Updated License Year

Per Issue #181

Our corporate policy is actually no year. I've made that change instead. Thanks.


Add a way for server and client context to directly return peer IP.

The proposed change for #5693
A new struct PeerInfo is added to contain the peer information. Filling this struct exploit the fact that the peer's URI is always in the form PROTOCOL:IP:PORT
Since the issue is related to only the C++ API, I made the changes in it only.
Finally, I am not sure if this solves the problem of 'without string parsing' but though it is better to make the PR and discuss that. Also, the parsing of the URI may need to be in the struct CTOR.

Thank you for your pull request. Before we can look at your contribution, we need to ensure all contributors are covered by a Contributor License Agreement.
After the following items are addressed, please respond with a new comment here, and the automated system will re-verify.

User @mohamed-moanis isn't covered by a CLA. They will need to complete the form at https://identity.linuxfoundation.org/projects/cncf

Regards,
CLA GitHub bot

CLA signed.

Thanks for the pull request.
The PR is not in the form that I am willing to accept because it is changing existing public API.
Considering

the availability of 3rd party libraries for parsing uri and
that implementation of string parsing function (as shown in this PR) is simple

I do not think we need this as part of grpc library at the moment.


Error or warning is expected when ObjectLiteral property has implementation.

Error or warning is expected when ObjectLiteral property has implementation.
Steps To Reproduce
https://deck.net/1ba08efb42269d9fb38bc5ecbd2e1ca4
    [ObjectLiteral]
    public class CC
    {
        private string x;
        public string field
        {
            get { return "1"; }
            set { x = value; }
        }
    }

Expected Result
Error or warning generated by compiler

Actual Result
Compilation succeeded, but property code is not there

Property code should not be there since properties should be treated as fields in object literal, so eather error should be generated or warning that this code will not be used

Thanks for letting us know about this scenario. We will discuss.


TypeScript Language Service, getApplicableRefactors() won't be called if user is not selecting something

TypeScript Language Service plugin suggestions will never show up unless users have some text selected.
If the user has not selected any text and requests refactor suggestions (ctrl-shif-f  or ctr-shift-p "Refactors...") vscode will always show "No code actions available" no matter if some plugin want's to suggest something in this situation.
Internally, the plugin's getApplicableRefactors() is never called if user has not selected some text so plugin implementations have no possibility to show suggestions in that scenario.
Since the signature of of that method is :
function getApplicableRefactors(fileName: string, positionOrRange: number | ts.TextRange): ts_module.ApplicableRefactorInfo[] {

It's clear that the intention of the API is to show suggestions both when text is selected or not (notice positionOrRange: number | ts.TextRange
Steps to Reproduce:
Assume you have a TypeScript Language Service plugin that will always return a action in its getApplicableRefactors() implementation

Without selecting anything, trigger Refactors suggestions (ctrl-shif-f  or ctr-shift-p "Refactors...")

Expected behavior: the plugin suggestion is shown
Actual behavior: :"No code actions available" is shown

Does this issue occur when all extensions are disabled?: Yes

Note: a workaround is using getCodeFixesAtPosition instead - that is called when user has no selection, but the API and semantics are different and could be insufficient for refactor implementations

Fixed in insiders I believe.
Computing refactorings may be expensive, so we only request refactorings in the following:

User has a selection
User manually requests refactorings (this only happens in 1.24+, aka the current insiders builds)

OK got it, thanks!, question, how would be the case when user doesn't request refactors automatically ? As far as I know user always has to perform an explicit action like ctrl-p or ctrl+shift+f  or search for "refactors... " ctrl+shipt+p ... Am I missing something ? are you talking about third party extensions exposing language service refactors programmatic ally ?  thank you very much sorry for the trouble.

Quick fixes are requested automatically when the cursor moves onto an error. We don't do this for refactorings because of the cost of computing them


Improving UI of the Website.

The UI of different containers used does not seem to match the left-side list section. I can improve the UI and make the Website even better. Can you assign this issue to me under GSSOC'23?

Hi, @saiwali , you may work on this and please refer to the Contribution guidelines on the readme once.
All the best!

Closing this because of no response or pr from your side.


Resolve syncing conflicts from FromPrivateRepo to live

Pull request opened by Docs to resolve syncing conflicts from FromPrivateRepo to live.

@huypub : Thanks for your contribution! The author, @maggiesMSFT, has been notified to review your proposed change.

@huypub : Thanks for your contribution! The author, @minewiskan, has been notified to review your proposed change.


How we can encrypt the chunks?

Is there any way to encrypt the chunks and transfer to server?

Isn't it enough to use SSL/TLS?
Your topic is interesting, there may be the need to override the FlowFile prototype so that the actual chunks are encrypted by Javascript, probably as Mega.co.nz and Whatsapp for web do live on client


Implement optional check that query has partition filter

Thanks for the feedback, @martint. I'll rework these in the next version of the patch. Couple of cases I've seen come up when testing against production queries that I'm curious if you have ideas on how to handle:

Subquery that determines ds value:SELECT ... WHERE ds IN (SELECT max(ds) from ...). Would there be a reasonable way to detect this case? The workaround is to force the user to tack on an AND ds > 'some min date value'
Expression that determines partitions like this one: WHERE (                   CASE WHEN cardinality(split(ds, '-')) > 1                   THEN cast(split(ds, '-')[2] as INT)                   ELSE 0 END) % 11 = 0

That form of subquery is actually not a partition predicate, since it’s evaluated at runtime as a join. It can be improved by dynamic filtering, but is still less efficient than a constant and the efficiency is dependent on execution timing. So you would be right to reject the query (based on your blocking goals).
The arbitrary expression actually does work since the engine passes it to the connector and the Hive connector uses it to filter partition names at planning. If your check is implemented by asserting that the selected partition list is smaller than the entire set of partitions, then this will work (and the user can’t cheat by passing a useless range filter).

For the MAX subquery that turns into a join, would all partitions be scanned? It's a pattern I see used a fair amount, so if it's still reasonable, it'd be good to allow it.
Good to know about the expression being pushed down to the connector. My initial take is to allow the query to run if there's any filter or expression pushed down. As long as the user has considered a partition filter, I think that's good enough.

All partitions are scanned.  The engine filters the partition columns and skips loading the data.
The pages need row counts. For columnar formats, it can get this from the file metadata sections. For text and the like, it has to read all the data.
So unfortunately, this is not a good pattern at all. Aggregation pushdown seems like it could solve this, but Hive allows empty partitions, and it’s not always cheap to tell if one is empty. Though empty partitions are uncommon, so we could probably make it work well enough (just check the min/max partition and hopefully it’s not empty).

Anyone know how to rerun the build (short of pushing a bogus commit)?

This PR is ready for review if you have a few spare cycles, @martint or @electrum.

I've noticed one case that I can't explain. The following query passes the partition filter check, though it's not filtering on any partition column (assume there's a DS column that is the one being partitioned on). The io explain plan shows a constraint of the ds column being between the oldest to newest partition.
SELECT count(*) from my_table
WHERE CAST(created_on AS date) >= CURRENT_DATE - INTERVAL '30' day;

Oddly enough, if I remove the unnecessary CAST, it no longer passes:
SELECT count(*) from my_table
WHERE created_on >= CURRENT_DATE - INTERVAL '30' day;

Any ideas on how the first query can be detected as failing the partition filter check?

do these give error or are allowed as there is a partition filter (although meaningless)?
select * from table where partition_col is not null
select * from table where partition_col = partition_col
select * from table where partition_col > ''
select * from table where partition_col in (select partition_col from table)
select * from table where partition_col >= (select min(partition_col ) from table)
select * from table where partition_col <= (select max(partition_col ) from table)
select * from table where partition_col in ('a','b','c')..etc where ALL partition values are listed

@tooptoop4 - see tests I added in TestHiveIntegrationSmokeTest which cover some of these cases. Some of these (like the min/max subquery) were discussed here already too. In general, we just want to make sure that the user has thought about the partition column to catch cases in which they don't know or forgot about filtering on it. We're not trying to make a full proof mechanism (which is not actually feasible).

@JamesRTaylor if the config flag is on but the table being queried is not a partitioned table does it allow? i couldn't see a test for that


Swap to a random number generator that doesn't use atomics/synchronization on hot path

The Java Random and ThreadLocalRandom are thread safe and use atomics and/or synchonization internally.
This is for #21250

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Java PreCommit

Run Java_PVR_Flink_Batch PreCommit

Run Python_Runners PreCommit

Run SQL_Java11 PreCommit

Run SQL_Java17 PreCommit


Error inferring the package name of a class that results in compilation failure

Hi all,
I have found a problem using this library when compiling the following lambda:
....map(word -> new SimpleEntry<String, Long>(word, (long) 1))...
The problem consists of an undesired repetition in the package name of the SimpleEntry class, which makes the compilation process to fail (i.e., java.util.AbstractMap.java.util.AbstractMap$SimpleEntry does not exist). Also, instead of a '.', the SimpleEntry name was preceded of a '$' symbol, which is also a source of problems.
After some debugging, I found where the problem arises: the createLambda method in the LambdaFactory class. The problem comes when the typeReference.toString() is invoked, returning a malformed class name for SimpleEntry class.
To bypass this problem at the moment, I created a "sanity check" method that inspects if the class name returned by typeReference.toString() has duplicates or not, and deletes them in the affirmative case. This works for my case as well as for the test cases provided in the library. However, maybe this can be solved in a much better way by addressing the root cause of why typeReference.toString() sometimes does not behave properly.
Thanks a lot,
Raúl.

Thank you for your report, I reproduced the behavior in a test case. As you said it happens because typeReference.toString() just invokes java.lang.reflect.Type,toString() and it doesn't work well in case of SimpleEntry. It looks like using https://commons.apache.org/proper/commons-lang/apidocs/src-html/org/apache/commons/lang3/reflect/TypeUtils.html#line.1661 from apache commons lang3 solves the issue, but I will see whether I can avoid that additional dependency.

Well it looks like I will have to add the apache commons dependency, I should release a new version of the library soon :) In the meantime the best workaround seems to provide a type representation in a String using DynamicTypeReference (which unfortunately makes the call quite verbose as the type is specified three times)
BiFunction<String, Long, SimpleEntry<String, Long>> lambda = ( BiFunction<String, Long, SimpleEntry<String, Long>>) factory.createLambdaUnchecked(
    code, new DynamicTypeReference("BiFunction<String, Long, SimpleEntry<String, Long>>"));

Hi @greenjoe,
I assume that with the addition of the new library the way of using "factory.createLambdaUnchecked" will remain the same as before, right? In the affirmative case, I will just wait to the update from your side as my code already relies on the previous way of compiling lambdas and the fix I did does the job meanwhile :)
Thanks a lot,
Raúl.

Hi @greenjoe,
Could you tell me the status of adding the the apache commons library in the project? Is just to know if I should continue working with the modified version of the library or if I can work with the master branch and close the issue.
Thanks!
Raúl.

It turned out that Apache Commons Lang3 had a bug in the method I wanted to use to describe types. The bug is already fixed in their master branch by commit https://github.com/apache/commons-lang/commit/1661e5519c4836a5a940b13b7797263443156fc9 but the fix is not yet present in the latest release which is 3.5.
I looked at their mailing list and for a while it looked like a new release is coming soon http://mail-archives.apache.org/mod_mbox/commons-dev/201703.mbox/browser so I thought I might wait for that fix, but as it doesn't happen I just used 3.5 and included some workaround for cases with array types. I will change that when apache commons are released.
I am sorry it took so long, the issue should be fixed in 1.5 that I've just released into maven central (it can take a few hours until it is visible). Thanks again for report and I hope the new version will fork fine for you, let me know if there are still some issues, best regards :-)


Implement count() method

Use cases:
a) customer wants to see counts of templates in message template catalogs in application UI. The templates and catalogs are stored in vshard, and operated via CRUD through a connector.
b) pagination -- we need to know the total amount of results for displaying it in the UI.
The count() method must accept conditions.
Proposed API variant:
    local count = crud.count({{'=', 'status', 'NEW'}})

I would agree to add count() and bsize() methods for the whole space, but I won't support adding counts by a condition. In too many cases this will be a full scan.
In almost all cases I know, it is safe to not show the total count of whatever you return to the user.

len() and bsize() doesn't help if the customer wants to count filtered tuples without actually loading them to the client (over the network in the general case).
A full scan on a sharded space is not a big deal if it is not done rarely. We cannot avoid full scans completely in other cases, knowledge of how it works will be always necessary for developers.

It is a big deal because it stops other things from accessing a database. And yes, we definitely can avoid full scans. We just won't allow them through the API.

If we won't allow the full scans, they will not disappear from the customer tasks. This pain will just shift to another place.
We need some kind of support for such tasks for being able to implement these things in connectors.

Your statement is demonstrably false. Aerospike and Redis can exist without such queries. They have the ability to iterate over the collection on the client the same way we propose to do with select or pairs.
To count the items of a large collection you can create a separate space with counters. With interactive transactions, you can atomically update both of those spaces from the client. This will not require you to write any additional code.
If you have only a few items to count, you can just select them all.

But counters in special spaces look like an implementation detail, why cannot we have count() method in CRUD API which does all this boilerplate under the hood?
I see that for every simple task like count which may involve scan complexity we are going to push the customers to reinvent the wheel. And connectors cannot help to avoid this because there is no DDL API for now.

Seems it's time to triage once more because we have the following use case:
User have to get count by any contitions and user agree that the result will not be accurate.
So I suggest to make count_async:

arguments and options like crud.select/crud.pairs;
implement storage_count_async with cycle with paris that will count number of rows in space with yeild by batch_size;
router must call storage_count_async on all replicasets;

To avoid any locks and slowdowns - implement mutex, that will guarantee that storage_count_async may run no more than N times simultaneously on each storage.

@no1seman
Here we are solving a special case of a general problem with a map-reducer call for crudes.
I suggest thinking about this in the direction of sending a stored procedure with a special contract for the return value and calling this procedure from the router.
Because, for example, there is still a frequent task on the cluster to write a set of data on the storage in a transaction. And in this transaction on the storage, you need to perform many different operations.
It is not necessary to send the procedure code through the cruise, you can simply teach to call an already existing store.

local count = crud.count({{'=', 'status', 'NEW'}})

Lets do something like
crud.count({ '=', 'status', 'NEW' }, {options})
Where options:

sec_scan, default value is false
Implementation:

count look through space indexes and find index for status.

If the index is found, count iterates using it.
If the index is not found, count iterates using pk if options.sec_scan == true

The same for bsize, pairs

@unera Why not to use the same API as select/pairs? The man difference from select/pairs: count not get data and do it with yields. So, seems need the folllowing options:
batch_size (number of pairs cycles to yield after)
use_box_count - in some cases, for example not huge space we may need to count precisely by index, but if the size of space huge - need to count approximately with yeilds (this option may be automatic, because we may get len of space on this particular instance, if it is larger than COUNT_HARD_LIMIT we have to falldown to approximate algorithm)

One more thing, to kill the whole cluster with one wrong query.
Fullscan and filters are pure evil for Tarantool.

@no1seman

Why not to use the same API as select/pairs?

I agree :)
I didn't think that the question and select/pairs are different.
So, lets do as select/pairs. Drop my comment from 1 Oct.

like here
local objects, err = crud.count(space_name, conditions, opts)

Syntax is the same,
excluding options:

first
after
batch_size
fields

@unera batch_size may be used as number of pairs cycles between yields or there may be any other option.

What about this case:
select count(field) from t1  in case the field can be nullable ?
Can instead of inventing one more not working 'killer feature' , make a general map/reduce?


Mod is incompatible with KubeJS 6.1

Describe the bug
KubeJS 6.1 introduced several breaking changes and the mod is no longer compatible.
Versions
Forge Version: 43.2.21
Mod Version:  1.1.2
To Reproduce
Steps to reproduce the behavior:

Install kubejs latest version (6.1.x) and Mechanical Machinery + deps
Game will crash on load

Additional context
Latvian and Max have created an outreach room on the latvian discord to help addon mods directly make the transition to the new recipe schema system as outlined here, https://wiki.latvian.dev/books/kubejs/page/kubejs-61-update#bkmrk-for-addon-mod-develo
If you would be willing to update to use the new system they will work with you to help iron out any issues you run into. I appreciate the work you've put into this mod and I was looking at it as a replacement for create sifter in one of our upcoming packs.

This has been fixed in 0b3b941
New versions has been uploaded to CurseForge and Modrinth.
Any other issues feel free to make another issue or ping me on discord (same username)


Search appears to be severely limited right now

Description
Search on SN does not appear to be working as it should. I searched my own nym with forever time filter nym:WeAreAllSatoshi and I only get 1 result.
Perhaps some re-indexing is occurring? Not sure...
Steps to Reproduce
Search with a nym filter and see limited to no results.
Expected behavior
All items for the filtered nym should appear
Screenshots

Logs
N/A
Environment:
N/A
Additional context
Add any other context about the problem here.

OMG nevermind, I had a sub selected, and I didn't realize the sub was filtering my results... How embarrassing

Maybe there's an opportunity to improve UX here? If No More said like in this territory, or in this time range, or both?

Definitely!


Expose prometheus on service

What this PR does / why we need it:
Exposes the prometheus port on the service. I think it makes sense to collect the metrics from the service rather than the pod.

Hi @kurtmc a Service acts as a load balancer across the multiple Pods. If you collect stats directly from the Service address you're only going to get the stats for one random ingress Pod each time.
If you want to use a Service for discovery of the Pods to collect stats from, you can create a headless Service for that.

Thanks @whereisaaron


OpenSSL additions + HTTP::Client support for more ssl options

Added LibSSL functions for CA and certificate files
Added OpenSSL::SSL::Method from @datanoise with added SSLv3 and TLSv1
Allow setting OpenSSL::SSL::Method on OpenSSL::SSL::Context constructor
Added ssl_ methods to HTTP::Client for specifying:

CA file path
Private key file path
Certificate file path
SSL method to use

I'm in need of these changes to SSL for my Docker API client (https://github.com/jeromegn/docker.cr). For now, I've extended the various libs and classes within the shard, but I think these small changes could be beneficial to a lot of people.
I'm not entirely sure how to test these, for now I've just tested that it's possible to set ssl options on the HTTP::Client and since OpenSSL was vastly untested, I didn't bother adding more there.
I did some manual testing, with a slightly modified version of my shard and using this version of crystal's binaries and it worked.
I inspired from Ruby's Net::HTTP methods for ssl, but I don't think they were quite right and I don't think this syntax I created is quite right either. I was debating adding a lot of initialization options, but then I would've had to add them on every method initializing or calling an initializer (there are 3 of them, that got quite verbose.) So I decided to let users set the SSL options after initialization.
I also had to explicitly require "openssl" in HTTP::Client due to the property. This could probably be avoided by not specifying the type there.
My goal is to make this mergeable, so if there's anything, please let me know and I'll be happy to discuss and fix :)

Thank you for this! We'll probably take a look at this the next week.
(Just to let you know that we saw this, just didn't have time yet because of the new releases :-))

What's happening with this? I'd be happy to rebase to fix the potential merge conflicts.
However, I won't put the time if this won't be accepted. I'm not expecting this to be accepted as-is, I'm trying to raise de awareness of the OpenSSL issues in the standard library.
SSL is a very important feature.

The current state of OpenSSL integration is very basic. It works, but should be improved, mostly to comply with better security and options.
Please see https://github.com/ysbaddaden/http2/blob/master/src/core_ext/openssl.cr for the HTTP server counterpart needed for HTTP2. It's awaiting a proper pull request.
BTW: shouldn't we default to TLS 1.2, instead of the long deprecated SSL2 and SSL3 ?

@jeromegn Sorry, didn't have time, and I don't know much about OpenSSL to decide what's good or bad.
@ysbaddaden Since you are reviewing this, if you find these additions/changes OK, and possibly others that come in the future, you are free to merge them even without my consent because, well, you seem to know this subject very well :-)

If only I knew OpenSSL very well :sob:
As far as I understand: we should default to a TLS1 handshake. SSL2 is long deprecated, and SSL3 is deprecated too. I believe only TLS 1.2 is really secure, but TLS1 is still acceptable.

I also believe we should not default to a deprecated SSL method :) That might fix most issues.
I'm by no means an expert with OpenSSL either. I'm learning though. I opened this to fix a very specific issue with my own library.
@ysbaddaden regarding the OpenSSL::SSL::Method enum, I thought it was preferable to hide the libs' implementation as best as possible, abstract them away into more Crystal-idiomatic ways. I've only added a few SSL methods in there because I didn't want to include much more code to support the other methods. I tried to keep this PR contained and simple.

This code contains a lot of copy/paste from @datanoise's datanoise/openssl.cr library.
I'm not particularly well-versed in SSL stuff. I needed parts of it for my own use (that docker library,) but I only took enough to make it work.
I think Crystal needs to seriously consider a more robust SSL offering. I'm happy if anybody wants to tackle this. I'm pretty sure I'm not the person that should do it :)

Closing in favor to #2671 (merged) and #2689 (soon to be merged) that are doing just that: always validate the certificates, propose good defaults (good ciphers, only enable TLS protocols), ability to set CA certificates, etc.
The approach will be a little different. Instead of having properties for the certificates, we prefer to build a OpenSSL::SSL::Context with all that information and pass it to HTTP::Client.
There is no Enum for LibSSL::SSLMethod because we (almost) always want the sslv23_method which is the OpenSSL way to say "negotiate the SSL or TLS protocol" and then disable SSLv2 and SSLv3 through options. If someone needs to specifically enable only a single protocol (I don't know why), then she may just call LibSSL.tlv1_method or another method.


Set a background to make example config valid

The example config contains an invalid color for selectionBackground which results in a parse error when pasting it into settings.json. To fix it, we can just fill it with 'white'.

Docs Build status updates of commit d294bc3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

TerminalDocs/customize-settings/color-schemes.md
:white_check_mark:Succeeded
View

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

Good catch! Thanks @lekv!!


Support PHP 8

Support PHP 8

Hi @ArlonAntonius @brianzzzasd What are your thoughts on this PR? It seems there are several other PRs that have attempted a PHP 8.0 upgrade, but haven't been able to be merged for one reason or another, and this one has been sitting here for a while now. I would hate to have this fall through the cracks and not make it, as well.
Looking forward to this merge. :) Thanks! If there is anything I can do to help, please let me know.

@socramjunio2 I just noticed that you did not implement the PHP 8.0 tests. I doubt this would be considered without them.

Closing as it's not a full implementation, while #896 is more complete


fail to use negdotprod with hnsw.

fail to use negdotprod with hnsw.
When I use negdotprod with hnsw
I got error message below.

hnsw.cc:350 (CreateIndex) [INFO] No appropriate custom distance function for negdotprod
hnsw.cc:353 (CreateIndex) [INFO] searchMethod			  = 0

How could I use hnsw with negdotprod or some distance like inner product?

Sorry, I missed this one. You need to set the skip_optimized_parameter to 0 as in this notebook
https://github.com/nmslib/nmslib/blob/master/python_bindings/notebooks/search_vector_dense_nonoptim.ipynb
This is inconvenient, sorry, I am planning to fix this in future versions.


tmux support

This PR is followup for campoy/tools#11.
Added in tmux support, and found out that it works with the caveat being that full inline support of images will need the iterm2 tmux integration to work.  tmux doesn't know where to position the cursor after iterm2 places it, so tmux places the cursor over it

comparing to tmux integration support (tmux -CC) which

I make a note of this in the code and in the docs.  It definitely works, and I think there is a way to add a special tmux size option...but that is for another PR, methinks!

I signed it!

hey, sorry for the bad timing but decided to move to a new API to be able to print many images given a single writer ... and now your PR is full of conflicts
would you mind updating it? otherwise I can probably do it later on

yeah, np! I'll start hacking away on it this weekend.

OK, finally got it all in there! I added in the tmux detection in a way more conformant to how IsSupported is used, using that as the basis to set headerEscape and footerEscape (which I honestly like a lot better than the if-else-iness of my last version). Added in the capability of a TMUX_TEST variable to control whether we are matching tmux for testing.
I didn't write any tests with tmux on this pass, but wasn't sure if we wanted to create a tmux version of the TestEncode and TestGoodWriter functions. If that seems like a good approach, let me know and i'll implement. (maybe in a new PR?)


Unable to use scp without password prompt by default

As a 1minutetip user, I'm used to have ~/.ssh/config configured by official guideline, and copy files to remote machine via scp/rsync/whatever without password prompt.
Provided configuration involves that keys are used automatically with 1minutetip instances so I should not bother with password prompt.
How to reproduce:
On first terminal:
$ tmt run -vvvddd provision -h minute -i rhel-8 login finish
...
Run command 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -i /usr/share/qa-tools/1minutetip/1minutetip<EMAIL_ADDRESS>whoami'.
...
on second terminal:
ssh<EMAIL_ADDRESS><EMAIL_ADDRESS>password:
scp have same result.
Yes as a workaround I can use provided ssh key but it's much more user friendly to have ~/.ssh/config
configured so it can do it automatically.

Thanks for the issue. Just tried on my laptop and the scenario described above works for me without the need to provide a password. I have the 1mt key enabled in my ssh config. Are there any special 1mt instructions how to enable the key?

So you were lucky or you have different ssh_config.
It just doesn't work from scrach on fedora 33 with settings below which are recommended.
More info:
https://internalwiki/BaseOs/Projects/1minuteTIP#Connecttoreservedtomachineviassh

I've looked into the issue (using the provided ssh config) and managed to reproduce it. Looks like the IP of the provisioned machine doesn't match any Host in the config and hence the SSH key isn't passed. If I had to guess, it is caused by using a different network than 1minutetip (related to #555 ). So if we wanted to be compatible with 1minutetip, we would have to hardcode the one specific network... Lets discuss this one at tmt hacking?

Hi. This looks like issue which can be solved in internal minute plugin with right network settings.
Maybe we should close this issue here?

Closing, since the plugin has been moved downstream and uses the correct network now.


При развороте полноэкранного режима варфейс, выскакивает эта ошибка.

Aimbot is started. Enjoy!
[RightMouseButton] - Aiming at the target
[F6] - EXIT
[F3] - PAUSE AIM
[F4] - Reload config
Loading models\sunxds_0.3.7.engine for TensorRT inference...
[01/04/2024-04:45:17] [TRT] [I] Loaded engine size: 61 MiB
[01/04/2024-04:45:17] [TRT] [I] [MemUsageChange] TensorRT-managed allocation in engine deserialization: CPU +0, GPU +60, now: CPU 0, GPU 60 (MiB)
[01/04/2024-04:45:17] [TRT] [I] [MemUsageChange] TensorRT-managed allocation in IExecutionContext creation: CPU +0, GPU +9, now: CPU 0, GPU 69 (MiB)
Traceback (most recent call last):
File "C:\Program Files\Python311\Lib\site-packages\bettercam\bettercam.py", line 184, in __capture
self.__frame_buffer[self.__head] = frame
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
ValueError: could not broadcast input array from shape (216,384,3) into shape (1080,1920,3)
Exception in thread BetterCam:
Traceback (most recent call last):
File "C:\Program Files\Python311\Lib\threading.py", line 1045, in _bootstrap_inner
self.run()
File "C:\Program Files\Python311\Lib\threading.py", line 982, in run
self._target(*self._args, **self._kwargs)
File "C:\Program Files\Python311\Lib\site-packages\bettercam\bettercam.py", line 213, in __capture
self.stop()
File "C:\Program Files\Python311\Lib\site-packages\bettercam\bettercam.py", line 147, in stop
self.__thread.join(timeout=10)
File "C:\Program Files\Python311\Lib\threading.py", line 1116, in join
raise RuntimeError("cannot join current thread")
RuntimeError: cannot join current thread

9 пункт


Some services still can figure out real IP address

That's an awesome image, thanks!
There's one issue I found though. I don't what may cause this, but some services still show my original IP address when I use this proxy.

We found the reason, tinyproxy don't work with HTTPS, on this sites current service can't hide your IP.

As I said in the description, this project is no longer developed. HMA is not good for this kind of fast IP change. They always disabled my accounts, just because their logs are not fast enough, and they thought I use more than 2 connections. HMA is not a good service.


Run tests in cmd folder

What does this PR do?
Run tests in cmd folder that were not being run.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?

Codecov Report

Merging #2986 into master will decrease coverage by 3.56%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2986      +/-   ##
==========================================
- Coverage    56.5%   52.94%   -3.57%
==========================================
  Files         488      530      +42
  Lines       34566    37880    +3314
==========================================
+ Hits        19533    20054     +521
- Misses      13865    16638    +2773
- Partials     1168     1188      +20

Impacted Files
Coverage Δ

pkg/forwarder/transaction.go
82.9% <0%> (-2.57%)
:arrow_down:

cmd/agent/app/run.go
17.07% <0%> (ø)

cmd/agent/app/regimport_windows.go
66.66% <0%> (ø)

cmd/agent/app/config.go
5.88% <0%> (ø)

cmd/trace-agent/main_windows.go
0% <0%> (ø)

cmd/agent/app/import.go
30% <0%> (ø)

cmd/agent/app/control_service_windows.go
3.07% <0%> (ø)

cmd/agent/app/reloadcheck.go
12.9% <0%> (ø)

cmd/agent/app/hostname.go
14.28% <0%> (ø)

cmd/cluster-agent/api/server.go
23.68% <0%> (ø)

... and 36 more


Handle different gnutls_transport_get_ptr() results

fix #279
Built and tested on both Ubuntu 18.04 and 20.04.

Looks great!  Merging...


jenkins_plugin resource is really inefficient and installs incompatible dependencies

Cookbook version
5.0.3
Chef-client version
Chef Development Kit Version: 2.1.11
chef-client version: 13.2.20
delivery version: master (73ebb72a6c42b3d2ff5370c476be800fee7e5427)
berks version: 6.3.0
kitchen version: 1.17.0
inspec version: 1.33.1

Platform Details
Ubuntu 16.04
Scenario:
Install basic plugins and their dependencies for a Jenkins-based pipeline.
Steps to Reproduce:
Use recipe and attributes included at base of this Issue.
Expected Result:
Have Chef idempotently check plugin installations as well as their recommended dependencies without raising warnings on the Dashboard.
Actual Result:
Chef spent half an hour going through every plugin and installing plugin dependencies that were incompatible.  Raised multiple warnings in the Jenkins Dashboard.
Running handlers:
       Running handlers complete
       Chef Client finished, 212/1034 resources updated in 29 minutes 42 seconds
       Finished converging <default-ubuntu-1604> (30m25.87s).

Recipe used:
# Create/verify we have a directory to place our desired plugins
directory node['docnetwork-scruffy']['home'] + '/plugins' do
  owner node['docnetwork-scruffy']['user']
  group node['docnetwork-scruffy']['group']
  mode '0755'
end

# Download and install our desired plugins and their dependencies
node['docnetwork-pipeline']['plugins'].tap do |plugins|
  plugins['default'].each do |plugin|
    jenkins_plugin plugin do
      install_deps true
      notifies :restart, 'service[jenkins]', :delayed
    end
  end
  plugins['security'].each do |plugin|
    jenkins_plugin plugin do
      install_deps true
      notifies :restart, 'service[jenkins]', :delayed
    end
  end
  plugins['because_I_said_so'].each do |plugin|
    jenkins_plugin plugin do
      install_deps true
      notifies :restart, 'service[jenkins]', :delayed
    end
  end
end

Attributes used:
default['docnetwork-pipeline']['plugins'].tap do |plugins|
  plugins['default'] = %w(
    scm-api
    git
    git-client
    github-api
    github
    chef-identity
  )
  # Security-based plugins
  plugins['security'] = %w(
    matrix-auth
  )
  plugins['because_I_said_so'] = %w(
    chucknorris
  )
end

Output from converge:
I uploaded a file into my google drive here.  It's only from that recipe above, and it's a big one!
Jenkins Dashboard:

You're lucky. My plugin list is taking about 2 hours to even converge (and there aren't that many, really)...

Got burned by this too -- Github OAuth plugin wasn't installing causing major problems for me.  Found managing the plugins and versions is a little more predictable and less time consuming.  Here's what I got to work but don't give me credit, I stole this from someone here.
plugins = {
  'credentials'              => '2.1.14',
  'plain-credentials'        => '1.1',
  'token-macro'              => '1.11',
  'ace-editor'               => '1.0.1',
  'branch-api'               => '2.0.7',
  'cloudbees-folder'         => '5.18',
  'jquery-detached'          => '1.2.1',
  'jackson2-api'             => '2.7.3',
  'display-url-api'          => '1.0',
  'mailer'                   => '1.20',
  'ssh-credentials'          => '1.13',
  'scm-api'                  => '2.2.0',
  'structs'                  => '1.10',
  'git-client'               => '2.5.0',
  'git'                      => '3.5.1',
  'github'                   => '1.28.0',
  'workflow-api'             => '2.15',
  'workflow-aggregator'      => '2.1',
  'workflow-cps'             => '2.32',
  'workflow-job'             => '2.10',
  'workflow-scm-step'        => '2.4',
  'workflow-step-api'        => '2.10',
  'workflow-support'         => '2.14',
  'workflow-basic-steps'     => '2.3',
  'pipeline-input-step'       => '2.5',
  'workflow-durable-task-step' => '2.8',
  'workflow-cps-global-lib'  => '2.5',
  'pipeline-stage-view'       => '2.4',
  'pipeline-model-definition' => '1.0',
  'pipeline-stage-step'      => '2.2',
  'pipeline-build-step'      => '2.4',
  'pipeline-milestone-step'  => '1.3',
  'github-branch-source'     => '1.9',
  'github-api'               => '1.86',
  'workflow-multibranch'     => '2.9',
  'credentials-binding'      => '1.11',
  'docker-workflow'          => '1.9',
  'pipeline-model-api'       => '1.1.9',
  'pipeline-model-declarative-agent' => '1.1.1',
  'pipeline-model-extensions' => '1.1.9',
  'pipeline-stage-tags-metadata' => '1.1.9',
  'matrix-project'           => '1.7',
  'junit'                    => '1.20',
  'script-security'          => '1.13',
  'github-oauth'             => '0.27',
  'git-server'               => '1.7',
  'pipeline-rest-api'        => '2.8',
  'handlebars'               => '1.1',
  'momentjs'                 => '1.1',
  'durable-task'             => '1.14',
  'docker-commons'           => '1.5',
  'pipeline-graph-analysis'  => '1.1',
  'icon-shim'                => '1.0.3',
  'authentication-tokens'    => '1.1'
}

plugins.each_with_index do |(plugin_name, plugin_version), index|
  jenkins_plugin plugin_name do
    action  :install
    install_deps false
    # only restart on the final plugin
    if index == (plugins.size - 1)
      notifies :restart, 'service[jenkins]', :immediately
    end
  end
end

Haha I did the exact same thing.  It's a pain to fix the dependency erros as you install plugins, but it works.

+1 - running into this too. Same workaround as above but it's a pain to maintain.

Duplicate of #534

Thank you @john-miller for your post. Is it possible that if you later update your versions, and the last plugin is not updated, then service[jenkins] will not be notified? I will leave this snippet here for others to consider.
`
plugins.each do | name, plug_version |
jenkins_plugin name do
version plug_version
action :install
install_deps false
# if network hiccups, re-try in 5 seconds
retries 3
retry_delay 5
notifies :touch, 'file[/update_occured]', :immediately
end
end
jenkins_command 'quiet-down -block' do
retries 10
retry_delay 6
only_if "test -f /update_occured"
end
service "jenkins" do
action :stop
only_if "test -f /update_occured"
end
specific for my use case
service "docker" do
action :restart
only_if "test -f /update_occured"
end
service "jenkins" do
action :start
only_if "test -f /update_occured"
end
file "/update_occured" do
action :delete
end
`

Hi,
I don't know anything about Chef, I was trying to find something else, but are you aware there are standard solutions for your issues? This one is a shell script for building a Jenkins Docker image which does exactly what is asked https://github.com/jenkinsci/docker/blob/master/install-plugins.sh.


Material card lost border top?

Describe the bug
The card on a white background before had a border when you used elevation = 1 and now you can not see any border except the bottom border
Expected behavior
Card with all borders
Screenshots

https://ibb.co/nfKsTqr
Smartphone (please complete the following information):

Device: Huawei honor 8X, Google pixel 2 XL
OS: Android
Version: <IP_ADDRESS>

Additional context
Add any other context about the problem here.

Do you know the last version this was working? I'll include the fix for this if any on my next release, which will be tomorrow.

<IP_ADDRESS>

Can you give me your MaterialCard XAML?

    <material:MaterialCard
        Margin="0,0,0,5"
        Padding="10"
        BorderColor="#e2e2e2"
        CornerRadius="0"
        Elevation="1"
        HorizontalOptions="FillAndExpand"
        VerticalOptions="FillAndExpand">
        <StackLayout HorizontalOptions="FillAndExpand"

Orientation="Horizontal">

<iconize:IconImage
Icon="fas-calendar-alt"
IconColor="#01baad"
IconSize="18"
VerticalOptions="CenterAndExpand"
WidthRequest="25" />

<iconize:IconImage
Icon="fas-syringe"
IconColor="#01baad"
IconSize="18"
VerticalOptions="CenterAndExpand"
WidthRequest="25" />

</material:MaterialCard>
El mié., 6 mar. 2019 a las 13:08, Dustin Catap<EMAIL_ADDRESS>escribió:

Can you give me your MaterialCard XAML?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/contrix09/XF-Material-Library/issues/98#issuecomment-470084083,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH7Kgxr12wO8CwRLKaZyVt8bzqRw3tvhks5vT6_JgaJpZM4bgc4p
.

Hi. I tested this on the new version to be released tomorrow. Running Google Pixel 2 XL Emulator on Android 8.0.

Perfect!! I will test tomorrow then.
Thank you
El mié., 6 mar. 2019 a las 13:30, Dustin Catap<EMAIL_ADDRESS>escribió:

Hi. I tested this on the new version to be released tomorrow. Running
Google Pixel 2 XL Emulator on Android 8.0.
[image: image]
https://user-images.githubusercontent.com/29834445/53881417-9bfa2700-404e-11e9-956e-a547d78565fb.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/contrix09/XF-Material-Library/issues/98#issuecomment-470089893,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH7Kg3YveHInNSQQlXGQ4LFlsZneV-x4ks5vT7TugaJpZM4bgc4p
.


Unexpected incompatible-type error within loop

Flow version: 0.145.0
Expected behavior
The following code should not give an incompatible-type error:
let someVar: ?{message: any} = null;

function foo1() {
  someVar = null; // [2]
  while(true) {
    someVar = { message: "hello world" }; // object literal [1] is incompatible with null [2]. [incompatible-type]
    break;
  }
}

Since it is functionally equivalent to:
function foo2() {
  someVar = null;
  someVar = { message: "hello world" };
}

Which is allowed by Flow.
Actual behavior
Flow gives an incompatible-type error where it is not expected.

Link to Try-Flow or Github repo: https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoVMCmAXMBnOAW0wDUBDAJwC4wB+Ab2LzzIHNMayA7ATwF8wAXjBcArjBgBudFFFcAxtgCWcLmChw4ARgAUASjD1UYfEVKUhI8VONgEACyVYd2CqMwGjJkwWLkKlvRgTCzsNABE9pgScHZwFDAAJuFgfNLeYABGFJhkANbpqah8MnKKKmoacABM+oa2vuYBwmIShY3+gcGYzGwcYJHR8HEJyanSJUA

Now this works.