License

Please add a license (ie MIT/ISC/BSD/etc)

@notartom is this completed? Your commit is in a separate fork, not the main repository. Is this going to be merged?

sigh I accidentally pushed this to my own fork instead of the main repo, didn't? Fixed now.
PS: This, among many other reasons, is why Gerrit is objectively better, and no one's going to convince me of the contrary.

Thank you!!

Hi @notartom, one thing: the LibriVox website has a "0 - Public Domain" badge on the bottom of the website. This might be confusing as the code itself is not in the public domain, but only the audiobooks. Are you planning to add a notice that the audiobooks are in the public domain but not the code? Thank you!

Faut point. Do you mean a notice on the website itself, or somewhere here in the repo?

Hi,
It's on the librivox.org website in the footer (at the very bottom of the webpage). Here's where it's defined in the code.

Thank you for considering!

Right, sorry, I should have been more clear: where do you imagine the notice about the code being MIT instead of public domain? Here somewhere, or on the web page?

Hmm... I don't know. I guess its probably clear enough that "0 Public Domain" refers to the audio files. Sorry about the trouble. Thanks!


Spp-10928-poc-search-tool

Description
As the method list grows we will need a search tool for searching the tables for desired methods.
This ticket covers the search tool POC and is set using a feature toggle to false. In other words it is hidden until we deem it ready.
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Technical Enhancements

Checklist:
If any of these are not completed, please explain why in the notes.
Definition of Done
Code and merges

[x] Code to be commented on where applicable
[x] Documentation updated where required
[x] Have considered non-functional requirements such as Security, Performance, Scalability, and Fault Tolerance
[x] I have linted the code

Testing

[x] All levels of acceptance test are passing (automated, integration, manual, accessibility, etc.)
[x] I have run the behave command to check the selenium behaviour tests pass locally
[x] Acceptance criteria met

Other Checks

[x] I have performed a self-review of my own code
[x] I have checked for spelling errors
[x] I have commented on my code, particularly in hard-to-understand areas
[x] My changes don't break anything unexpected
[x] I have checked and updated the security.txt file where required
[x] Up to date with the main branch
[x] For a change that needs to be deployed in a release I have a commit with the fix:, feat: or BREAKING CHANGE:
tags and will copy this commit message to the squash
[ ] For a change that does not affect the deployed code I have added a commit with ci:, docs: or test:
depending upon which area of the solution was affected

Note when merging, squash commit must begin with one of the following tags:
"BREAKING CHANGE", "feat", "fix", "ci", "docs", "test"
Usage
BREAKING CHANGE: any change that breaks current functionality and may cause compatibility errors to users upgrading
E.G BREAKING CHANGE: refactored method x to take variable y as input (changed from variable z)
feat: A new feature
E.G feat: adding method x to future methods table
fix: A bug fix
E.G fix: amending page for method x to show correct release version
ci: Changes to our CI configuration files and scripts (Concourse)
docs: Documentation only changes
test: Adding missing tests or correcting existing tests

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547

DEPLOY_URL=https://d1lisjlm79ab6e.cloudfront.net/
cloudfront_id=E2QXUREWE53547


allow server process to be stopped

Hi There! There seems to be no way to stop the server process right now so I added a new function to do so along with corresponding unit tests.
To give a little detail, my use case is generating pdf docs within http requests. If there is some better way to handle this please let me know.
Feedback is welcome :)

[x] Feature
[x] Docs
[x] Tests
Superb pull request!
Thank you :heart:


#818: Moving to AWS SDK v2.

Signed-off-by: jzonthemtn<EMAIL_ADDRESS>Description
Removes the AWS SDK v1 dependency. Updates the code using it to use AWS SDK v2 instead.
This pull request adds no new functionality.
Issues Resolved
#818
Check List

[ ] New functionality includes testing.
[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[X] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thank you for your contribution! Currently, the Gradle build has one failing test so I'll investigate that further. Once all the checks pass, we're excited to merge in your work.

@sshivanii Thanks -- If I need to make any changes let me know!

@jzonthemtn There's a few Unused imports in S3CertificateProvider.java which is causing checkstyle errors, could you remove them? For your reference:
Error: eckstyle] [ERROR] /home/runner/work/data-prepper/data-prepper/data-prepper-plugins/common/src/main/java/com/amazon/dataprepper/plugins/certificate/s3/S3CertificateProvider.java:15:8: Unused import - software.amazon.awssdk.services.s3.S3Utilities. [UnusedImports]

Error: eckstyle] [ERROR] /home/runner/work/data-prepper/data-prepper/data-prepper-plugins/common/src/main/java/com/amazon/dataprepper/plugins/certificate/s3/S3CertificateProvider.java:18:8: Unused import - software.amazon.awssdk.services.s3.model.S3Object. [UnusedImports]
> Task :data-prepper-plugins:common:checkstyleMain FAILED

Error: eckstyle] [ERROR] /home/runner/work/data-prepper/data-prepper/data-prepper-plugins/common/src/main/java/com/amazon/dataprepper/plugins/certificate/s3/S3CertificateProvider.java:20:8: Unused import - java.net.MalformedURLException. [UnusedImports]

@sshivanii Sorry for missing those imports! Updated.

Thank you for making those changes! There's two more Unused imports causing a recent build failure, can you also remove them?
 Error: eckstyle] [ERROR] /home/runner/work/data-prepper/data-prepper/data-prepper-plugins/peer-forwarder/src/main/java/com/amazon/dataprepper/plugins/prepper/peerforwarder/certificate/acm/ACMCertificateProvider.java:13:8: Unused import - software.amazon.awssdk.services.acm.model.ExportCertificateRequest. [UnusedImports]
Error: eckstyle] [ERROR] /home/runner/work/data-prepper/data-prepper/data-prepper-plugins/peer-forwarder/src/main/java/com/amazon/dataprepper/plugins/prepper/peerforwarder/certificate/acm/ACMCertificateProvider.java:14:8: Unused import - software.amazon.awssdk.services.acm.model.ExportCertificateResponse. [UnusedImports]

We also wanted to know if you have done any manual testing, like an integration test with AWS?

I removed those two unused imports. I gave the other files a lookover and didn't see any others.
I have not done any manual testing. I wasn't entirely sure what checks/tests were run for PRs. I'm happy to stand things up if it's needed.

@jzonthemtn , Thanks for making this PR! It looks good to me. We just need to be sure it builds (I got that started) and we do need some integration testing of it. Right now, we don't have any test suites that connect to AWS services, so none of these are part of the test suite. I believe that @sshivanii is setting up an environment that uses AWS for credentials to test the changes manually.
Really, we should have some automated integration tests that can run as GHA to verify changes like this going forward, but unfortunately they are not currently covered.

@dlvenable Sounds great. If those integration tests get on the roadmap I'd be happy to help get them wired up.

Thank you for this PR! We did some manual testing with the certificates stored locally, in S3 and using ACM and they worked perfectly fine.

@jzonthemtn , Thank you again for this contribution! I created #1481 as an issue to track adding integration tests or end-to-end tests which verify that these AWS integrations continue to work. This will be probably be more involved than the previous AWS SDK migration, but if you are interested, I'd be happy to accept a PR, and could discuss some approaches in advance in the issue.


natchez integration and lambda init

There's a problem when using tracing in combo with resources that are cached (in init or setup part of execution), which is even included in one of the examples: https://github.com/typelevel/feral/blob/main/examples/src/main/scala/feral/examples/KinesisLambda.scala#L52-L53.
The problem:

Actual root span cannot be used in init because it will never be closed. This is even worse if you reuse Trace[IO] instance inside request handler code, because all spans there would become children of this never-ending root span. And some natchez backend implementations (like XRay) only send root span together with all children when root span is finished. So you get no recorded spans as a result.
If you use fake root span to solve the first problem (smth like this: https://github.com/tpolecat/natchez/issues/566#issue-1278510665), then spans produced during init (like DB connection pool initialization with skunk) are separate from spans produced in the first request (handler code) of that lambda instance.

This means that TracedHandler implementation is useless if you need to have Trace[IO] during init. In case of skunk, you would want to see SQL query spans inside request spans and for that you need to reuse same instance of Trace[IO] for all requests.
How it should work:
It should be possible to build a single Trace[IO] instance for the lifetime of lambda instance. Spans produced during initialization would get recorded as children of root span for the first ever request to that lambda instance.
I hope I managed to describe this clearly 😅. Would be great to work this out and get that example fixed so that it would show how to use skunk and tracing with feral.

Thanks for writing this up! Indeed, there are still some things to work out with Tracing :)
If I understand correctly, I think you've run into a version of problem (2) as described in https://github.com/typelevel/otel4s/issues/11#issuecomment-1159464303. See also bayou for some exploratory work at improving the situation.
In the short term, instead of using IO-based tracing, perhaps Kleisli based tracing would work here?

@skirsdeda did you have any more luck with this? Any ideas or feedback you have would be very valuable, thanks!

@armanbilge I am working on it. I think I am somewhere around half way through at this point. Should have smth to show next week.


Angular : Imagepicker in modal

Please provide an example for Angular implementation:-
The hostView parameter can be set to the view that hosts the image picker. Applicable in iOS only, intended to be used when open picker from a modal page.

Issue is addressed in the latest release of ImagePicker:
https://github.com/NativeScript/nativescript-imagepicker/releases/tag/v6.0.6


Touch Screen Button  seems  to not work probably on iOS

Godot version
3.3.2
System information
iOS
Issue description
So in ios i have to push the Touch Screen Button so the character move unlike android where the character move by touch the Touch Screen Button
Steps to reproduce
code of character movement
func Movement():
if Input.is_action_pressed("Right") and not Input.is_action_pressed("Left"):
    velocity.x = min(velocity.x + ACCELERATION , MAX_SPEED)
    flip = "Right"
    if get_node("Hand").position.x < 0:
        flip()
    get_node("Camera2D").offset_h = 1
elif Input.is_action_pressed("Left") and not Input.is_action_pressed("Right"):
    velocity.x = max(velocity.x - ACCELERATION , -MAX_SPEED)
    flip = "Left"
    if get_node("Hand").position.x > 0:
        flip()
    get_node("Camera2D").offset_h = -1
else:
    velocity.x = 0

Minimal reproduction project
No response

For the record, this was cross-posted on Stack Overflow.
Can anyone else reproduce different touch feedback on iOS compared to Android after decreasing iOS touch delay in the Project Settings?

Tested this project on Godot 3.3/3.3.2 with iPhone XS: MRP
With input_devices/pointing/ios/touch_delay being set to 0 (current value in MRP), I see no delay. Same goes for 0.005.
Setting it to values like 1 or higher I see a significant delay, which is expected I guess.

its work now thank u


get_account_balance_by_account_type error.

I tried the follow operation descriped  in github(https://github.com/huobiapi/huobi_Python. )

Account
Authentication is required.
balance = request_client.get_account_balance_by_account_type(AccountType.SPOT)
print(balance.get(0).get(0).balance)

two error happened.
The first :
from huobi import RequestClient
request_client = RequestClient(api_key="........omited.......",secret_key="......omited........")

balance = request_client.get_account_balance_by_account_type(AccountType.SPOT)
print(balance.get(0).get(0).balance)

the following is the error message.
Traceback (most recent call last):
File "C:/......./huobi/huobi_app/service/huobi_test1.py", line 4, in
balance = request_client.get_account_balance_by_account_type(AccountType.SPOT)
NameError: name 'AccountType' is not defined
I changed the code like fowlloing, the code can passed .
balance = request_client.get_account_balance_by_account_type("spot")
but the second error happened.
The second
from huobi import RequestClient
request_client = RequestClient(api_key="........omited.......",secret_key="........omited.......")

balance = request_client.get_account_balance_by_account_type("spot")
print(balance.get(0).get(0).balance)

the following is the error message.
Traceback (most recent call last):
File "C:/......./huobi/huobi_app/service/huobi_test1.py", line 5, in
print(balance.get(0).get(0).balance)
AttributeError: 'Account' object has no attribute 'get'
According to the wiki, the functions can run correctly.  but I failed.   don't how to use private api functions in RequestClient. Could you give me some help to fix above error?
My Mail is<EMAIL_ADDRESS>Thanks a lot.

Changing "AccountType.SPOT" to "account_type='spot'" allows their code to run properly, however the response from huobi seems to be
" huobi.model.account.Account object at 0x00000229AA2A99E8 "
I have not been able to get past this point

There are a few different issues.
First off, their documentation isnt the same as their wrapper.
You would need to change, "AccountType.SPOT" to, "account_type='SPOT'"
However even after doing this it appears that Huobi is not maintaining their API, no matter which manner I call my account, with the generic get_account_balance() and the get_account_balance_by_account_type() methods, the call returns a generic,
"<huobi.model.account.Account object at 0x000001FD190E9E10>"
I have no idea what this really implies, but it seems that there are errors in the REST api provided by huobi in addition to the errors in this python wrapper.

request_client = RequestClient(api_key=API_KEY,secret_key=SECRET_KEY)
balance = request_client.get_account_balance_by_account_type(AccountType.SPOT)
for TMP in balance.balances:
    if TMP.currency == PAIR : #PAIR="ethusdt"
        #print("Currency:%s,TYPE:%s,Balance:%s"%(TMP.currency,TMP.balance_type,TMP.balance))
        if TMP.balance_type == "trade" :
            #print (TMP.balance)
            return TMP.balance

you can check the class in  https://huobiapi.github.io/docs/spot/v1/cn/#2a0d0be224


closeWindows does not close window

System: OSX 10.12.3
Julia: 0.6.0-pre.alpha.49, master/eca966c
Description:
In julia 0.5.0-dev the closeWindows() method used to function properly, i.e., upon pressing a key matching the code in the callback (e.g., 27), it would close the window displaying the image(s) immediately.
Currently, to close the image window, one must exit() the Julia REPL.  In addition, the window continues to wait indefinitely in a callback loop (OSX loading icon is displayed).
This affects also imdisplay() which also wraps this method.
Reproduction:
filename = joinpath(Pkg.dir("OpenCV"), "./test/images/lena.png");
img = imread(filename)
namedWindow("Lena", WINDOW_AUTOSIZE)
imshow("Lena", img)
closeWindows(0,27,"Lena")   # waits until ESC key(27) press to close "Lena"

This is not a bug with the OpenCV.jl implementation.  closeWindow works fine when it is run inside a file script .jl  from the bash terminal (not julia REPL terminal):
bash terminal:
julia /Users/Max/Desktop/test_opencv.jl

Test code as file in /Users/Max/Desktop/test_opencv.:
using OpenCV

# Image properties
width = cint(300)
height = cint(300)

# Color
R=cint(255)
G=cint(0)
B=cint(0)

cxx"""
void create_image_and_display(int width, int height, int B, int G, int R)
   {
   // Create a new image width x height, 8-bit unsigned RGB (BGR in OpenCV)
   cv::Mat img(width, height, CV_8UC3, cv::Scalar(B,G,R));  // Blue, Green, Red (0:255)

   // Create a new window named "Welcome"
   cv::namedWindow("Welcome", cv::WINDOW_AUTOSIZE);

   // Show the image in window
   cv::imshow("Welcome", img);

   // Writing a message to the REPL from Julia
   std::cout << "\nTo end this test, press any key" << std::endl;

   // Wait for key press
   cv::waitKey(0);

   // Destroy the window
   cv::destroyWindow("Welcome");

 }
"""

@cxx create_image_and_display(width, height, B, G, R)


Kubernetes v1.23 on CAPA

Task
Update to the latest version of Kubernetes v1.23 on CAPA.
Background
CAPA is using Kubernets v1.22 which will be end of life by the end of October 2022.

Done! And golem upgraded.


Label change on ChangeSelect2 event

Hi guys, I have one question.
It's possible to change a label text based on the value of a filed of the row that I select?
Thanks!

Check this demo:
https://serenity.is/demo/BasicSamples/InlineActionButtons
it has event handler for when u click in the grid. that may help

hey! thanks, @ga5tan  for a quick reply
But I think I need to explain a little bit

From the above dropdown selection i want to change the label text from detail section

thanks in advance!

I would pass Month number to the Editor (assuming this is master detail form) and do the month logic there.

Thank You! @ga5tan


Changing the position of the buttons in the context menu

Description of the new feature/enhancement
It would be a very good idea to include this feature in the new settings UI. (#1564)

A feature that allows Windows terminal users to vertically change the position of buttons in the context menu.

Proposed technical implementation details (optional)

Thank you! This is covered by /dup #1571. That feature request is about letting you configure the order of your menu.

Hello @DHowett-MSFT,

thanks for the answer! 😁

With kind regards
Michael


DCO check stays as expected

Although the DCO app is installed in the org/user and on the repository, the check is no longer running for Pull Requests, the check stays as expected. This worked fine about an hour ago, and suddenly stopped working.
Is anyone experiencing this too?
EDIT: for those blocked by this issue @wagoodman proposed a nice solution (https://github.com/anchore/syft/pull/2926)

Yes, others experiencing this as well. It is a hosting side issue and I'm looking at it now.

Thanks for the update @zkoppert.

We are also afacted: https://github.com/notaryproject/notation/pull/952.
Our release process was blocked.

We're unable to wait until next week for a fix so have opted to switch to a different tool in the meantime until there is a functional deployment. For anyone else that is also in a bind and are looking for a simple workaround in the meantime here's the PR.
We'll check back here next week for status on the deployment 👍

Hello again! I'm working to restore the service right now. Would be great to have folks comment here when they see service restored for confirmation that it is working.

Update: based on log data traffic appears to be restored to the service. Keeping this issue open until a 3rd party can confirm proper operation.

Confirmed with Linux Foundation the app is working as expected.
In order to trigger a recheck on an existing pull request you may need to close and reopen the pull request or push a new commit.
Please reopen or open a new issue if you experience any problem.

Thank you @zkoppert for looking at this.
I tried the close/open suggestion in https://github.com/sigstore/model-transparency/pull/195 but it doesn't seem to work. Will try pushing a new commit to see if that changes things.

Thank you for mentioning that. The above were my best guesses. :)

Pushing an empty commit on https://github.com/sigstore/model-transparency/pull/190 has worked.
Thank you.

I've been able to progress PRs waiting on DCO again in the last 30 minutes or so. 👍

Thanks @zkoppert !


Implement custom markup message for jenkins notifications

change/rename customMessage to customAttachmentMessage
add new customMessage with markup support
add config fields for new customMessage

@HusenBalter thanks for your time and work! Is this PR backward compatible? (Should I change configuration when using the merged code?)

@jovandeginste Hi, the PR should be backward compatible (Renaming and add an optional new field).
Its just a new function, so you could but its not needed.
Greeting,
HusenBalter

probably the PR fixes one issue: https://github.com/jovandeginste/jenkins-mattermost-plugin/issues/5
You can notify commiter/direct persons with '@username' on build fail now.

@HusenBalter I built the hpi and installed it in my production setup; I will test it for a few days and if all is good, merge and publish.


Zoom does not change brush extents

on chart zoom and using the reset button does not change the navigator selection.

fixed


docs: Create Tutorial page to set up a basic one-page application

Description

Setting up a basic tutorial page ahead of our presentation next week. This utilizes the Lightning Playground to build a simple one-page application with theme tokens.
Testing

Navigate to the new docs page "Tutorial," read through the content, and ensure all hyperlinks are working as expected.

Test Execution Passed.

Test Execution Passed.

Test Execution Passed.

Test Execution Passed.

Test Execution Passed.

Test Execution Failed.

Test Execution Failed.

@THoj13 resolved, thanks!

Test Execution Failed.

Test Execution Failed.

Test Execution Failed.

Test Execution Failed.

:tada: This PR is included in version @lightningjs/ui-components-v2.17.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Volume state & control

When playing musing from my (Android) mobile, I'm able change the volume on the mobile. It would be great, if this was also possible on the ESP (as a sink).
I tried to implement a volume control by adding these two functions:
void BluetoothA2DPSink::volumeUp(){
    executeAVRCCommand(ESP_AVRC_PT_CMD_VOL_UP);
}

void BluetoothA2DPSink::volumeDown(){
    executeAVRCCommand(ESP_AVRC_PT_CMD_VOL_DOWN);
}

Unfortunately, that does not work.
Is it possible to control and may be even receive the current volume?

Did you try esp_avrc_ct_send_set_absolute_volume_cmd(uint8_t tl, uint8_t volume)
as described in the docu https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/bluetooth/esp_avrc.html

Yes, I tried that as well using this code to set the volume to 0:
esp_avrc_ct_send_set_absolute_volume_cmd(1, 0);
Unfortunately, that did not work either.

The reason is that esp_avrc_ct_send_set_absolute_volume_cmd(uint8_t tl, uint8_t volume) is only available in the ESP IDF 4.2.x distributions, Arduino's latest ESP32 package uses ESP IDF 3.3.5 which does not include this volume command...I also am interested in using pschatzmann's library with volume control on the ESP32 side. I'll keep digging

I also tried esp_avrc_ct_send_set_absolute_volume_cmd on ESP-IDF v4.2.1 and compile success, but no effect when I clicking buttons. Tested both on Android and iPhone.

As a side note I just wanted to highlight that you could easily implement a "volume control" by applying a multiplier on the sound data in the stream reader callback that you set via set_stream_reader() e.g.

multiplying by 0 is muting
multiplying by 0.5 is giving a lower volume

It seems like a good solution.
But I still couldn't implement it. I tried to multiply the volume factor to the sound data on somewhere of set_stream_reader() body.
The callback is probably called from ADF side, so I could not find the interception point.
float volume = 0.5;

void BluetoothA2DPSink::set_stream_reader(void (*callBack)(const uint8_t*, uint32_t), bool is_i2s){
  // apply volume and get a new callback
  this->stream_reader = volumeAppliedCallBack;
  this->is_i2s_output = is_i2s;
}

You find some details in the readme.
// In the setup function:
a2dp_sink.set_stream_reader(read_data_stream);
// Then somewhere in your sketch:
void read_data_stream(const uint8_t *data, uint32_t length)
{
int16_t ptr16 = (int16_t) data;
uint21_t len16 = length/2;
for(int j=0;j<len16;j++){
ptr16[j] = 0.5 * ptr16[j];
}
}

Perfectly worked.
Thank you!!!

I have a version of the code where I integrated avrcp 1.4 absolute volume commands, so that the phone just sends the volume level and raw data, and esp32 is the only one that does the volume adjustment. I will send a pull request soon once I have the code cleaned up. With this it would also be possible for the phone to be notified when the volume changes.

https://github.com/tv4you2016/ESP32-A2DP

https://github.com/tv4you2016/ESP32-A2DP

Nice.
How about merge your work to this repository via "pull request"?

Hello @pschatzmann
I want to thank you in advance for the excellent work in the dev of this repo.
I would like to know if you are interested in doing a pull with the following changes:

add volume control

add set volume control (setVolume(uint8_t volume);)

add get volume control (getVolume())

Remove BluetoothA2DPSource

add i2s mclk (i2s_mclk_pin_select(const uint8_t pin);)

add callback set_on_connected2BT

add callback set_on_disconnected2BT

add PIN CODE ESP_BT_IO_CAP_IN;

Absolutely, I think this is very interesting...

the additional functionality from tv4you2016 has been merged into the master branch

I have a version of the code where I integrated avrcp 1.4 absolute volume commands, so that the phone just sends the volume level and raw data, and esp32 is the only one that does the volume adjustment. I will send a pull request soon once I have the code cleaned up. With this it would also be possible for the phone to be notified when the volume changes.

@alexandru-2016 I assume this is the PR that has been merged about 7 days ago? I tried to use the get_volume function but it always returns 0 no matter which volume I have on the phone. Changing the volume using set_volume does actually work but the volume control seems to be independent of the one on the phone. Is this expected?

Just to double check: did you use it with the esp 2.0.0-rc2 version ?

Just to double check: did you use it with the esp 2.0.0-rc2 version ?

this question is for me? @pschatzmann

This question was probably for me:
I'm using this commit https://github.com/espressif/arduino-esp32/commit/780588dce3d975e4a693cf4c596bd3cbf5a69aaa because the following commit breaks the build in Arduino. I will try to build with 2.0.0-rc2 and give you an update.

I now tried the current master of espressif (https://github.com/espressif/arduino-esp32/commit/1f59c5abecc17fd450a5806362d199c3aa4f6c25) and the volume control still seems to be completely independent to the one on my android device. If I set the volume to 0 on the source or sink, I cannot increase it on the other device.

This has been fixed for me with the current expressif.

I am having a similar issue. I'm simply running the example a2dp sink code on a ESP32 board. I can pair it with my iPhone just fine and it plays music, but I cannot adjust the volume at all. It blasts at 100% volume no matter what, and every ~5 seconds the phone gets a signal saying the volume has been adjusted to 1 setting above the minimum. Adjusting volume buttons on the phone has no affect, and if you mute the phone's volume music will only stop for a few seconds - until the next volume change update comes in and the device is back to blasting 100% volume and displaying 1 click above minimum volume. I'm trying to troubleshoot, but this is my first project working with a microcontroller so I'm pretty confused.

I seem to have the same issue, the get_volume function only returns the value set by set_volume and seems completely disconnected from my phone
i have tried
//...
void volumeChange(int newVolume){
  Serial.println(newVolume);
}
void setup(){
  //...
  a2dp_sink.set_avrc_rn_volumechange(volumeChange);
  a2dp_sink.set_avrc_rn_volumechange_completed(volumeChange);
  a2dp_sink.set_on_volumechange(volumeChange);
 a2dp_sink.start("MyMusic", true);
//...
}
void loop(){
  //...
  Serial.println(a2dp_sink.get_volume());
  a2dp_sink.set_volume(random(0, 127));
  delay(1000);
  //...
}

but nothing is logged into serial except the change every second


MDX to posts

Awesome work with this theme. Pretty new på Next.js but this was fairly easy to deploy :)
Are there any plans to let you add markdown files as a source for blog posts instead of sourcing from Ghost CMS?

Welcome @SebDanielsson: Great to hear you find this repo easy to deploy!
Currently there are no plans for other content sources as I am busy creating Blogody a novel SaaS blogging platform. It would be fairly easy to integrate a WordPress source or MDX, so you can fork the repo and add it yourself. One thing to keep in mind with markdown is that Ghost CMS ensures a certain structure and guarantees that some key fields are always filled (e.g. the post slug). You would need to put some validation and defaults into place, so required fields are coming through properly.

Closing as answered.


ZEPPELIN-1851. LazyOpenInterpreter would open interpreter multiple times when open fails

What is this PR for?
Change opened to be volatile as it would be accessed by multiple threads. And check opened in getProgress rather than call open()
What type of PR is it?
[Bug Fix]
Todos

[ ] - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-1851

How should this be tested?
Tested manually on livy interpreter (change the livy configuration to make livy fails to create session).
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

@Leemoonsoo @jongyoul  Please help review it. Thanks

It makes sense. LGTM

ping @jongyoul


add kudu decimal support

As issue https://github.com/Landoop/stream-reactor/issues/512 said, this pr supports kudu decimal type.

This change is

@libenchao thanks!


Add lint-staged instructions to README

It's possible to use this module with lint-staged, like Husky. This adds a section about how.

@alexgleason Please run deno fmt and push another commit, after that ill merge it.

Lol I should have used the hook :smiley:


Episode images missing?

There seems to be no way of fetching episode images?

Added support in 3.0.0-beta.2. Give it a go: npm install<EMAIL_ADDRESS>Please note, in version 3.x.x there is no default export, so you need to update your code:
Version 2.x.x
import podcastXmlParser from "podcast-xml-parser";
Version 3.x.x
import { podcastXmlParser } from "podcast-xml-parser";

@krestaino I tried it out but doesn't seem to be working?
Could it be that channel should be item in this line of code?
itunesImage: getAttribute(channel, "itunes:image.@_href"),

Whoops! Yeah, you're right, I should be using item not channel. Fixed in 3.0.0-beta.3.

Thanks for your quick response! 🥳


relative/absolute urls

Absolute URLs should all be replaced with relative URLs for viable use of built website locally, and online using the same sources

Last commit fixed wrt posts to posts and archive -> posts


[BUG] Error during subscribe websocket: close sent

Rancher 2.6.1

Login to the UI
Click the browser page refresh button

Expected result:
Reloading the Rancher UI in the browser should not result in a server-side error.
Actual result:
On every browser page refresh two errors are logged in the Rancher server pod:
2021/10/19 14:13:22 [ERROR] Error during subscribe websocket: close sent
2021/10/19 14:13:22 [ERROR] Error during subscribe websocket: close sent

Reproduced on 2.6.8

Reproduced on 2.5.12


Create "board->removed" and "hand->removed" transitions

NOTE: Before you begin working on this, please assign this issue to yourself. If you do not do this, then there's the possibility that 2 people will end up doing the same task, which is not a good use of time.
Delorean needs to remove cards from the board and hand from the game.  Exxon will need to do something similar.
Right now, there is no transition for removed cards as Fission has its own function call that removes its cards from the game all in one go.

Big Bang needs to do something similar. (draw and remove a 10)

So I don't think we want to add a hand->removed transition because I think we will want a custom method to remove all hands at once (otherwise animations will take too long I believe). In fact I'll probably refactor Fission to use this method too. And then I'd make another separate method for removing all score piles, and another for all achievements, etc.

sure, that makes sense.  Big bang does need a hand-> removed transition for a single card though.

Some of these transitions were added with the initial implementation of Exxon Valdez, however, there are some changes to be made to the card, so I've left TODOs to remove these transitions afterwards.
I'm going to close this though.

FYI, hand->removed will need to remain when figures is implemented since you remove your hand from the game when you trigger the figures special achievements.

Good to know. We can re-add that if we ever manage to implement Figures :)
For now it's best to keep the number of strings that need to be translated to a minimum.


igpu freezes proxmox host

✅ Have you read and understood the above guidelines?
yes
📜 What is the name of the script you are using?
Frigate
📂 What was the exact command used to execute the script?
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/frigate.sh)"
📝 Provide a clear and concise description of the issue.
Hi
A couple a weeks ago i added the Frigate NVR with hardware transcoding on my Lenovo Tiny with a i5-14500t  with Intel UHD 770.
The problem is that every 12 - 36 hours it crashes my proxmox host, if i Connect a display to the server its just a Black screen with a little blinking White curser in the top left side. It is totally unresponsive.
The logs shows nothing.
I have to pull the plug and Connect again to get it up and running.
Sometimes I Can trick it to crash, when Plex transcodes and I get lots of motion in front of my camera. But not always
I have been running Plex on this server for a couple of months without any problem (also created with the community script)
Seems like Frigate somehow crashes the igpu?
Proxmox 8.3.2 kernel 6.8.12-5-pve
Any ideas?
⚙ What settings are you using?

[X] Default Settings
[ ] Advanced Settings

🖥 Which Linux distribution are you using?
Debian 11
🔄 Steps to reproduce the issue.
Sometimes not always:
Plex transcoding one or more streams.
Motion in front of the camera
❌ Paste the full error output (if available).
Nothing gets written to the log
🖼 Additional context (optional).
Frigate config:
I have hwaccel_args disabled as you can see, but i can se in the logs that is sais "Automatically detected vaapi hwaccel for video decoding"
Optional: Enable mqtt server
mqtt:
host: <IP_ADDRESS>
user: user
password: passwd
Optional: ffmpeg configuration
More information about presets at https://docs.frigate.video/configuration/ffmpeg_presets
ffmpeg:
hwaccel_args: preset-vaapi
input_args: preset-rtsp-restream
output_args:
record: preset-record-generic-audio-copy
Optional: Restream configuration
Uses https://github.com/AlexxIT/go2rtc (v1.9.2)
go2rtc:
streams:
Indkoersel:
- rtsp://admin:PioneerOscam1109@<IP_ADDRESS>:554/h264Preview_01_main
Indkoersel_sub:
- rtsp://admin:PioneerOscam1109@<IP_ADDRESS>:554/h264Preview_01_sub
Required
cameras:
Indkoersel:
ffmpeg:
inputs:
- path: rtsp://<IP_ADDRESS>:8554/Indkoersel
input_args: preset-rtsp-restream
roles:
- record
    - path: rtsp://<IP_ADDRESS>:8554/Indkoersel_sub
      input_args: preset-rtsp-restream
      roles:
        - detect

motion:
  mask:
    0.001,0.229,0.119,0.17,0.133,0.301,0.178,0.227,0.266,0.164,0.308,0.114,0.501,0.147,0.544,0.153,0.829,0.207,0.832,0.368,0.82,0.996,0.998,0.992,0.998,0.006,0.002,0.002
objects:
  track:
    - person
  mask:
    0,0,1,0,1,1,0.918,1,0.846,0.223,0.34,0.148,0.267,0.111,0.223,0.133,0.231,0.273,0.143,0.321,0.124,0.171,0,0.233
zones:
  Primaer:
    coordinates: 0.923,0.364,0.252,0.247,0.241,0.129,0.01,0.229,0.039,0.663,0.943,0.867

    filters:
      person:
        min_area: 2000
        max_area: 100000
        threshold: 0.7

    inertia: 1
    loitering_time: 0
review:
  alerts:
    required_zones: Primaer

Optional: Detect configuration
NOTE: Can be overridden at the camera level
  detections:
    required_zones: Primaer

detect:
enabled: true
width: 640
height: 480
fps: 7
Optional: Configuration for the jpg snapshots written to the clips directory for each event
NOTE: Can be overridden at the camera level
snapshots:
enabled: true
required_zones:
- Primaer
retain:
default: 40
Optional: Record configuration
NOTE: Can be overridden at the camera level
record:
enabled: true
retain:
days: 14
mode: motion
events:
retain:
default: 40
mode: motion
Optional: Review configuration
NOTE: Can be overridden at the camera level
review:
alerts:
labels:
- person
- car
- dog
- umbrella
- bicycle
- motorcycle
- boat
- cat
- hat
- backpack
- baseball bat
- tv
required_zones:
- Primaer
detectors:
ov:
type: openvino
device: GPU
model:
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgr
path: /openvino-model/FP16/ssdlite_mobilenet_v2.xml
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
Frigate version nr.
version: 0.14

since your issue is not related specifically to my fork (Nvidia gpu), please post your issue on the official repo (https://github.com/community-scripts/ProxmoxVE). Me or someone else will be able to assist you.
Meanwhile, next time you reboot from the crash, here's where to find the logs in the container:
/dev/shm/logs/frigate/current
/dev/shm/logs/nginx/current
/dev/shm/logs/go2rtc/current


Document how to deploy by helm with with ingress

At first I just tried
helm upgrade --install code-server ci/helm-chart --set ingress.enabled=true

after reading README.md here - https://github.com/cdr/code-server/tree/main/ci/helm-chart
That turned out not enough, because gives this:
Error: UPGRADE FAILED: cannot patch "code-server" with kind Ingress: Ingress.extensions "code-server" is invalid: spec: Invalid value: []networking.IngressRule(nil): either `backend` or `rules` must be specified

Turned out there was not currently documented, but important part here - https://github.com/cdr/code-server/blob/main/ci/helm-chart/values.yaml#L48
  #hosts:
  #  - host: code-server.example.loc
  #    paths:
  #      - /

So need to pass hosts. Then I was trying some black magic with curly braces, which ended up like this:
helm upgrade --install code-server \
    ci/helm-chart --set ingress.enabled=true --set 'ingress.hosts=[{host:"localhost",paths:["/"]}]'

, which seems ok, but does not work with this error
Error: failed parsing --set data: error parsing index: strconv.Atoi: parsing "\"/\"": invalid syntax

Looks like second pair of square braces makes helm to want it to be array index rather .. an array.
So I ended up with hosts.yaml:
ingress:
  hosts:
  - host: "localhost"
    paths:
    - "/"

and command
helm upgrade --install code-server ci/helm-chart --set ingress.enabled=true --values ./hosts.yaml
(I used localhost, because I'm using k3d locally).
As much as I appreciate that journey, it would be nice if README had a part about how to correctly configure ingress.

Sorry you had to go through all the trouble, but glad to hear you got it working.
Thanks for documenting these steps. We'll update the docs (and credit you).
cc @bpmct (might be worth getting your help with this docs update since you've used helm)


Flutter iOS- The flutter webview on an iOS device fails to load assets, images, and CSS files with relative URLs from the local directory.

Flutter web view- I am downloading assets from server and using that assets to create html file to load on web view. I downloaded them to the local document directory on the device. From there I can load the HTML files in a webview using the file:// schema, with the benefit that images, css etc. that are referenced in the HTML are loaded as well.
This works fine in Android (simulator and real device) as well as in an iOS simulator. But on an iOS device the flutter webview fails to load assets , images & css files with a relative URL from local directory.
This is strange as the iOS simulator should behave the same in that case (as it is not really a hardware related issue).
Help me out from this issue.

@yadavsunilmagic
When you open an issue, please try to use new issue template, fill out requested details so that we'll have enough info to work with.
Just describing the issue without any code sample, flutter doctor or any error log, we can't properly address it.
Closing for now due to lack of details.

Flutter web view- I am downloading assets from server and using that assets to create html file to load on web view. I downloaded them to the local document directory on the device. From there I can load the HTML files in a webview using the file:// schema, with the benefit that images, css etc. that are referenced in the HTML are loaded as well.
This works fine in Android (simulator and real device) as well as in an iOS simulator. But on an iOS device the flutter webview fails to load assets , images & css files with a relative URL from local directory.
This is strange as the iOS simulator should behave the same in that case (as it is not really a hardware related issue).
What should i do?


it doesn't compile

this doesn't work anymore.
I'm trying to install it on ubuntu 20.04
pepe@logstash:~/download$ cd logstash-plugin-udp-native-sensors-master
pepe@logstash:~/download/logstash-plugin-udp-native-sensors-master$ ls
CHANGELOG.md  CONTRIBUTORS  DEVELOPER.md  example  Gemfile  lib  LICENSE  logstash-codec-juniper-udp-native-sensors.gemspec  Rakefile  README.md  spec
pepe@logstash:~/download/logstash-plugin-udp-native-sensors-master$ bundle install
Fetching gem metadata from https://rubygems.org/.
Could not find gem 'logstash-devutils' in rubygems repository https://rubygems.org/ or installed locally.
pepe@logstash:~/download/logstash-plugin-udp-native-sensors-master$ gem install logstash-devutils
ERROR:  Could not find a valid gem 'logstash-devutils' (>= 0) in any repository
ERROR:  Possible alternatives: logstash-input-sls, logstash-input-xls, logstash-input-dis, logstash-input-file, logstash-input-gcs

wrong post


Pip install error

Collecting unirest
Using cached Unirest-1.1.7.tar.gz
Collecting poster>=0.8.1 (from unirest)
Using cached poster-0.8.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/pz/1xjq35vn19sfkfhtdjljm_5r0000gn/T/pip-build-44zlbnol/poster/setup.py", line 2, in
import poster
File "/private/var/folders/pz/1xjq35vn19sfkfhtdjljm_5r0000gn/T/pip-build-44zlbnol/poster/poster/init.py", line 29, in
import poster.streaminghttp
File "/private/var/folders/pz/1xjq35vn19sfkfhtdjljm_5r0000gn/T/pip-build-44zlbnol/poster/poster/streaminghttp.py", line 61
print "send:", repr(value)
^
SyntaxError: invalid syntax
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/pz/1xjq35vn19sfkfhtdjljm_5r0000gn/T/pip-build-44zlbnol/poster/
I've tried installing from source, what gives?

I also have this problem.

This is because the library is only Python 2 compatible

Which analog libraries supports Python 3?

This is due to the syntax being invalid in Python 3 in one of the dependecies. I have made a fork compatible with Python 3 at https://github.com/tirkarthi/unirest-python . You can use it as a git based dependency. It doesn't work for gzip based files for now.
The incompatible dependency is poster. You can find a Python 3 fork at https://github.com/tirkarthi/python-poster

I also ran into this issue. Are there plans to add python3 support to this library?
@tirkarthi maybe you want to open a PR to upstream your fixes?

@tirkarthi Thanks! Works like a charm

This is due to the syntax being invalid in Python 3 in one of the dependecies. I have made a fork compatible with Python 3 at https://github.com/tirkarthi/unirest-python . You can use it as a git based dependency. It doesn't work for gzip based files for now.
The incompatible dependency is poster. You can find a Python 3 fork at https://github.com/tirkarthi/python-poster

that work ... thanks man !

@tirkarthi please say step by step process..


Fix inconsistency on the monitoring button between pages

Bug-url: https://bugzilla.redhat.com/show_bug.cgi?id=1341740
with the fix:

before:

@miq-bot add_label providers/containers, bug, ui, darga/yes

@simon3z @h-kataria Please review


Which JetPack Version for Xavier

Hi. I am running JetPack version 4.2.1 on my Xavier. When I run launch.sh, xavier_surveillance.py fails on multiple libraries as they are too new plus the CUDA is not 10.0. What JetPack load did you successfully test with? TIA.
Failed library versions:

libopencv_highgui
libopencv_videoio
libopencv_imgcodecs
libopencv_imgproc
libopencv_imgcodecs
libopencv_imgproc
libopencv_core
libcudart
libcublas
libcurand
libcudnn

Renamed the libraries for fun and received a core dump.

Hi, this problem is likely not related to Jetpack or CUDA version at all. For some reason, in my experience, the CUDA include path is not exported as an environment variable on the Xavier by default. Since you are getting errors for some very fundamental libraries, please export the CUDA path as an environment variable. I suggest the following:
export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

Please replace 10.0 with the appropriate version on your xavier. Hopefully this resolves the issue. If it works, append this to your .bashrc or .bash_profile file.

My LD_LIBRARY_PATH and PATH already included CUDA 10.2. Any other ideas?
LD_LIBRARY_PATH=/usr/local/cuda-10.2/lib64:
PATH=/home/dennis/.local/bin:/usr/local/cuda-10.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

My OpenCV libraries all seem to be in /usr/lib/aarch64-linux-gnu so I tried this:
export LD_LIBRARY_PATH=/usr/lib/aarch64-linux-gnu:$LD_LIBRARY_PATH
$ bash launch.sh
Traceback (most recent call last):
File "xavier/xavier_surveillance.py", line 11, in
import darknet
File "/home/dennis/external/homesecurity/xavier/darknet.py", line 123, in
lib = CDLL("/home/dennis/external/homesecurity/human_detection/xavier/libdarknet.so", RTLD_GLOBAL)
File "/usr/lib/python3.6/ctypes/init.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: libopencv_highgui.so.3.3: cannot open shared object file: No such file or directory

Hi, there are a few changes in JetPack which have broken support on the xavier, such as the use of opencv4 and a change in the path where opencv libraries are stored. Did you have any problems in compiling darknet? Also, since you have found the location of opencv binaries, please make sure you have read/write/execute permissions on this folder. If yes and the script still doesn't work, please add this location to your PYTHONPATH variable, something like:
export PYTHONPATH=/usr/lib/aarch64-linux-gnu/:$PYTHONPATH

Finally had a chance to test this. Good idea. My libraries have a different version name that that requested.
$ export PYTHONPATH=/usr/lib/aarch64-linux-gnu/:$PYTHONPATH
$ bash launch.sh
Traceback (most recent call last):
File "xavier/xavier_surveillance.py", line 11, in
import darknet
File "/home/dennis/external/homesecurity/xavier/darknet.py", line 123, in
lib = CDLL("/home/dennis/external/homesecurity/human_detection/xavier/libdarknet.so", RTLD_GLOBAL)
File "/usr/lib/python3.6/ctypes/init.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: libopencv_highgui.so.3.3: cannot open shared object file: No such file or directory
dennis@xavier:~/external/homesecurity$ find /usr -name libopencv_highgui*
/usr/lib/aarch64-linux-gnu/libopencv_highgui.so.3.2
/usr/lib/aarch64-linux-gnu/libopencv_highgui.so.3.2.0
/usr/lib/aarch64-linux-gnu/libopencv_highgui.so.4.1.1
/usr/lib/aarch64-linux-gnu/libopencv_highgui.so
/usr/lib/aarch64-linux-gnu/libopencv_highgui.so.4.1
/usr/lib/aarch64-linux-gnu/libopencv_highgui.a

Oh, that's an interesting direction. Let me look into the darknet install. TY.

Did not realize I needed to run xavier/compile_darknet.sh. Trying that now.

Closing. Too much trouble right now.

Yes, this is the error I expected you would get. This is a problem with JetPack 4.4. I will fix this whenever I can and also add another way to run inference using jetson-inference library. Please wait.


Not found :(

Traceback (most recent call last):
File "/home/kali/fbhackver2.7/brute2.py", line 38, in
z = browser.select_form(nr=1)
File "/home/kali/mechanize/mechanize/_mechanize.py", line 681, in select_form
raise FormNotFoundError("no form matching " + description)
mechanize._mechanize.FormNotFoundError: no form matching nr 1

kindly re-install the tool now...


Event with the signature not found [Bug]

Bug report
We have an event: event EffectorInfoSet(CIDV1 indexed id, string description, CIDV1 metadata); that could be represent as EffectorInfoSet((indexed bytes4,bytes32),string,(bytes4,bytes32)) and on execution stage graph node tracebacks:
Jan 29 09:32:31.683 ERRO Subgraph failed with non-deterministic error: failed to process trigger: block #23 (0x53a8…7ed8), transaction 5180c04e7375176342409088c838aa2f6cbd7c6c34a8e0edfafdf43e760d4d86: Event with the signature "EffectorInfoSet((indexed bytes4,bytes32),string,(bytes4,bytes32))" not found in contract "Market" of data source "Market", retry_delay_s: 142, attempt: 0, sgd: 3, subgraph_id: QmR8bdw6cnAF74UwdcECZtmDcq3wwCUzHAkx7gbwVZe9BA, component: SubgraphInstanceManager

if I replace this event with event EffectorInfoSetButNotTuple(uint indexed foo, CIDV1 id, string description, CIDV1 metadata); that resolved into EffectorInfoSetButNotTuple(indexed uint256,(bytes4,bytes32),string,(bytes4,bytes32)) it works as expected.
Versions:
I use docker: graphprotocol/graph-node:v0.33.0

I also tested on graph-node:v0.34.0

a little bit later I will send a branch with this workaround
Relevant log output
No response
IPFS hash

Subgraph name or link to explorer

Some information to help us out

[x] Tick this box if this bug is caused by a regression found in the latest release.
[ ] Tick this box if this bug is specific to the hosted service.
[X] I have searched the issue tracker to make sure this issue is not a duplicate.

OS information
Linux
Reproduce

checkout to this version: https://github.com/fluencelabs/deal/tree/9b6c088a7462efb95c50868a36659dd49d71d848
boot contracts and subgraph: docker compose -f docker/docker-compose.yml up -d
run forge commands to deploy contracts and sync subgraph and deploy: make deploy-local && make build-npms && make start-local-subgraph
Use create pure market (It triggers the problem in EffectorInfoSet) via: make create-pure-market-local

To resolve
checkout to this branch: https://github.com/fluencelabs/deal/tree/graphprotocol-5171 where I changed EffectorInfoSet to EffectorInfoSetButNotTuple and you could use Reproduce steps to check that everything is going as expected
this is a diff of the resolve: https://github.com/fluencelabs/deal/compare/fix/related-to-CHAIN-279...graphprotocol-5171?expand=1

@AlcibiadesCleinias Do you have testnet deployed version of these subgraphs, its been hard to reproduce this with a local graph-node running into issues with contracts.

@AlcibiadesCleinias Do you have testnet deployed version of these subgraphs, its been hard to reproduce this with a local graph-node running into issues with contracts.

hi, thank you for assigning.
So, I deployed subgraph to hosted service on Mumbai: https://thegraph.com/explorer/subgraph/alcibiadescleinias/fluence-deal-contracts
subgraph.yaml:
specVersion: 0.0.5
description: TODO
repository: https://TODO
schema:
  file: ./schema.graphql
dataSources:
  - kind: ethereum/contract
    name: Core
    network: mumbai
    source:
      abi: Core
      address: "0x8696f76b0343141F88ECD6CDF447C2cFD280108f"
      startBlock: 46937562
    mapping:
      kind: ethereum/events
      apiVersion: 0.0.7
      language: wasm/assemblyscript
      entities:
        - GraphNetwork
      abis:
        - name: Core
          file: ../out/Core.sol/Core.json
      eventHandlers:
        - event: Initialized(uint8)
          handler: handleInitialized
      file: ./src/mappings/core.ts
  - kind: ethereum/contract
    name: Market
    network: mumbai
    source:
      abi: Market
      address: "0xe447Aae0dDe7b19673d706F6A20BbbB290B58c8D"
      startBlock: 46937562
    mapping:
      kind: ethereum/events
      apiVersion: 0.0.7
      language: wasm/assemblyscript
      entities:
        - Offer
        - Effector
        - Peer
        - OfferToEffector
        - ComputeUnit
        - Token
        - GraphNetwork
      abis:
        - name: Market
          file: ../out/Market.sol/Market.json
        - name: Deal
          file: ../out/Deal.sol/Deal.json
        - name: ERC20
          file: ../out/ERC20.sol/ERC20.json
        - name: Core
          file: ../out/Core.sol/Core.json
      eventHandlers:
        - event: Initialized(uint8)
          handler: handleInitialized
        - event: ProviderInfoUpdated(indexed address,string,(bytes4,bytes32))
          handler: handleProviderInfoUpdated
        - event: MarketOfferRegistered(indexed
            address,bytes32,uint256,address,(bytes4,bytes32)[],uint256,uint256)
          handler: handleMarketOfferRegistered
        - event: PeerCreated(indexed bytes32,bytes32,address)
          handler: handlePeerCreated
        - event: ComputeUnitCreated(indexed bytes32,bytes32)
          handler: handleComputeUnitCreated
        - event: MinPricePerEpochUpdated(indexed bytes32,uint256)
          handler: handleMinPricePerEpochUpdated
        - event: PaymentTokenUpdated(indexed bytes32,address)
          handler: handlePaymentTokenUpdated
        - event: EffectorAdded(indexed bytes32,(bytes4,bytes32))
          handler: handleEffectorAdded
        - event: EffectorRemoved(indexed bytes32,(bytes4,bytes32))
          handler: handleEffectorRemoved
        - event: ComputeUnitAddedToDeal(indexed bytes32,address,bytes32)
          handler: handleComputeUnitAddedToDeal
        - event: ComputeUnitRemovedFromDeal(indexed bytes32,address,bytes32)
          handler: handleComputeUnitRemovedFromDeal
      file: ./src/mappings/market.ts
  - kind: ethereum/contract
    name: DealFactory
    network: mumbai
    source:
      abi: DealFactory
      address: "0x0ED5dA5b049C42cB0F3EC92adB9375612b35Db4b"
      startBlock: 46937562
    mapping:
      kind: ethereum/events
      apiVersion: 0.0.7
      language: wasm/assemblyscript
      entities:
        - Effector
        - Deal
        - GraphNetwork
      abis:
        - name: DealFactory
          file: ../out/DealFactory.sol/DealFactory.json
        - name: ERC20
          file: ../out/ERC20.sol/ERC20.json
        - name: Core
          file: ../out/Core.sol/Core.json
      eventHandlers:
        - event: DealCreated(indexed
            address,address,uint256,address,uint256,uint256,uint256,uint256,(bytes4,bytes32)[],(bytes4,bytes32),uint8,address[],uint256)
          handler: handleDealCreated
      file: ./src/mappings/deal-factory.ts
  - kind: ethereum/contract
    name: Capacity
    network: mumbai
    source:
      abi: Capacity
      address: "0x62EBe41480d056C6085425588Bd5B68041DE7f7e"
      startBlock: 46937562
    mapping:
      kind: ethereum/events
      apiVersion: 0.0.7
      language: wasm/assemblyscript
      entities:
        - CapacityCommitment
        - Peer
        - SubmittedProof
        - CapacityCommitmentStatsPerEpoch
        - ComputeUnitPerEpochStats
      abis:
        - name: Capacity
          file: ../out/Capacity.sol/Capacity.json
        - name: Core
          file: ../out/Core.sol/Core.json
      eventHandlers:
        - event: Initialized(uint8)
          handler: handleInitialized
        - event: WhitelistAccessGranted(address)
          handler: handleWhitelistAccessGranted
        - event: WhitelistAccessRevoked(address)
          handler: handleWhitelistAccessRevoked
        - event: CommitmentCreated(indexed
            bytes32,bytes32,uint256,address,uint256,uint256)
          handler: handleCommitmentCreated
        - event: CommitmentActivated(indexed bytes32,indexed
            bytes32,uint256,uint256,bytes32[])
          handler: handleCommitmentActivated
        - event: CollateralDeposited(indexed bytes32,uint256)
          handler: handleCollateralDeposited
        - event: CommitmentStatsUpdated(bytes32,uint256,uint256,uint256,uint256,uint256)
          handler: handleCommitmentStatsUpdated
        - event: CommitmentRemoved(indexed bytes32)
          handler: handleCommitmentRemoved
        - event: CommitmentFinished(indexed bytes32)
          handler: handleCommitmentFinished
        - event: UnitActivated(indexed bytes32,indexed bytes32,uint256)
          handler: handleUnitActivated
        - event: UnitDeactivated(indexed bytes32,indexed bytes32)
          handler: handleUnitDeactivated
        - event: ProofSubmitted(indexed bytes32,indexed bytes32,bytes32)
          handler: handleProofSubmitted
        - event: RewardWithdrawn(indexed bytes32,uint256)
          handler: handleRewardWithdrawn
      file: ./src/mappings/capacity.ts
templates:
  - name: Deal
    kind: ethereum/contract
    network: mumbai
    source:
      abi: Deal
    mapping:
      kind: ethereum/events
      apiVersion: 0.0.7
      language: wasm/assemblyscript
      entities:
        - Deal
        - DealToEffector
      abis:
        - name: Deal
          file: ../out/Deal.sol/Deal.json
      eventHandlers:
        - event: Deposited(uint256)
          handler: handleDeposited
        - event: Withdrawn(uint256)
          handler: handleWithdrawn
        - event: MaxPaidEpochUpdated(uint256)
          handler: handleMaxPaidEpochUpdated
        - event: AppCIDChanged((bytes4,bytes32))
          handler: handleAppCIDChanged
        - event: ComputeUnitJoined(indexed bytes32,bytes32)
          handler: handleComputeUnitJoined
        - event: ComputeUnitRemoved(indexed bytes32,bytes32)
          handler: handleComputeUnitRemoved
        - event: WorkerIdUpdated(bytes32,bytes32)
          handler: handleWorkerIdUpdated
        - event: ProviderAddedToAccessList(address)
          handler: handleProviderAddedToAccessList
        - event: ProviderRemovedFromAccessList(address)
          handler: handleProviderRemovedFromAccessList
      file: ./src/mappings/deal.ts

a little update from my side. We decided to change contract event signatures: https://github.com/fluencelabs/deal/pull/346.
For me this case is not valid anymore. Moreover, I believe that kinda this error occurs when you try to use the last ethers in JS and parse for logs of such events with indexed Tuple argument

Closing, but @incrypto32 let me know if you think there is something worth digging into here


Migration from v6 to v7 - confusing example

I just want to say that I successfully migrated to v7, but the example in the documentation is a bit confusing:
https://github.com/react-hook-form/documentation/blob/2edbfd8e5de1972e03919ee33fb63c816f994f93/src/pages/migrate-v6-to-v7.en.tsx#L119-L124
First input has name test and then "after migration" is name (not test).
Also, not sure why we have there in diff line with TextInput, as it is not needed - we might want different example for MaterialUI.

thanks @michalbundyra get this sorted now.


Upgrade Perl to a supported release

As a Chef Infra Server operator
I want Chef Infra Server to include supported releases of all components
To reduce attack vectors and please security teams

Part of the perl upgrade epic https://chefio.atlassian.net/browse/INFS-16


Select the best framework

https://pypi.org/project/django-happenings/
https://uggedal.com/journal/creating-a-flexible-monthly-calendar-in-django/
https://djangopackages.org/grids/g/calendar/

https://github.com/llazzaro/django-scheduler seems good


CSS Tooltips

Description 📜
Added Documentation for Using CSS Tooltips for domain Frontend Dev HTML/CSS/JS include it for Hacktoberfest 2021 also
Fixes #4563

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Doc#umentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[ ] C/#CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[x] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] JavaScript_#Domain
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Good to go.

Please further review and merge the PR. @praveenscience


Thread Safety

Wrote simplistic example to evaluate below:
require 'active_hash'
class Item < ActiveYaml::Base
end
@thr = []
def f(i)
    @thr << Thread.new { puts 'Thread ' + i.to_s + ': ' + Item.all.length.to_s }
end
for i in 0..5
    f i
end
@thr.each(&:join)

Most of the time output is Thread 5: 4, Thread 0: 4, Thread 3: 4, Thread 2: 4, Thread 1: 4, Thread 4: 4 with different thread ordering, but sometimes I see Thread 3: 0, Thread 2: 0, Thread 4: 0, Thread 1: 0 , Thread 0: 4, Thread 5: 4
I have items.yml file in the root with 4 items - val: 1. My Gemfile.lock shows the active_hash (1.5.3) which I suppose is the latest.
I would expect for library to guarantee thread safety.

Running into problems using Active Hash with Sidekiq and we think it might be related to this issue

Running into problems using Active Hash with Sidekiq and we think it might be related to this issue.

Getting ActiveHash::RecordNotFound every so often
@amclelland We've encountered this too, any idea for a temp solution?

A quick fix is to force ActiveHash to read the models as soon as possible, for example by calling the .all class method after the of the class definition:
require 'active_hash'
class Item < ActiveYaml::Base
end
Item.all
@thr = []
def f(i)
    @thr << Thread.new { puts 'Thread ' + i.to_s + ': ' + Item.all.length.to_s }
end
for i in 0..5
    f i
end
@thr.each(&:join)


Add support for the new Apps API

Could you please add support for the new Apps API of Digital Ocean?
See https://developers.digitalocean.com/documentation/v2/#apps

@matt-major are you planning on releasing 4.5.0 cause I have a minimalistic CLI project that consumes your API created it out of necessity to streamline my project

@matt-major Love this wrapper, thanks! Any idea if Apps API on 4.5.0 will be supported soon?


ReplyToId on mobile clients

Steps to reproduce
Hi,
In our Teams Bot we want to update the sign in card after the user has authenticated. So we call turnContext.Activity.ReplyToId in TeamsActivityHandler.OnTeamsSigninVerifyStateAsync to get the activityId for UpdateActivityAsync. When a user logs in from the desktop client, in Activity.ReplyToId we get a correct id like “1732088066556”. But when he logs in from the mobile client Activity.ReplyToId is “0”.
This behavior does not apply to AdaptiveCard, for them Activity.ReplyToId is correct from both desktop and mobile clients.
Expected behavior
turnContext.Activity.ReplyToId is equal for both mobile and desktop clients.
Actual behavior
turnContext.Activity.ReplyToId is always "0" when called from mobile client.
Error details
No response

Thank you for your inquiry about your Teams app development issue! To assist you better, could you please provide the following details?
Teams Client Version: What version of the Teams client are you using?
Code Snippets: Relevant code snippets that illustrate the issue.

Windows client "About" section:

Microsoft Teams version 24295.605.3225.8804
The client version is 49/24102001318

Android client "About" section:

Version 1416/<IP_ADDRESS>4203702/1113
Calling Version: 2<IP_ADDRESS>

Microsoft.Bot framework 4.22.9 (C#)

Windows client "About" section:

Microsoft Teams version 24295.605.3225.8804
The client version is 49/24102001318

Android client "About" section:

Version 1416/<IP_ADDRESS>4203702/1113
Calling Version: 2<IP_ADDRESS>

Microsoft.Bot framework 4.22.9 (C#)
internal class TeamsActivityHandler : Microsoft.Bot.Builder.Teams.TeamsActivityHandler
{
    protected override Task OnTeamsSigninVerifyStateAsync(ITurnContext<IInvokeActivity> turnContext, CancellationToken cancellationToken)
    {
        var test = turnContext.Activity.ReplyToId; // test = "0" for mobile and test = "1732170698981" for desktop
        ...
    }
    ...
    }

Sign In card:

where _adapter is Microsoft.Bot.Builder.Integration.AspNet.Core.CloudAdapter

@Whity2507 - Thanks for the information. We are checking this internally, we will update you soon.


Potential error regarding IKEv1 support on Basic SKU

Under About IKEv1 and IKEv2 for Azure VPN connections it states:

In order to enhance the experience of customers using IKEv1 protocols, we are now allowing IKEv1 connections for all of the VPN gateway SKUs, except Basic SKU.

However, other documentation states that IKEv1 is still supported on the Basic SKU when using a PolicyBased tunnel. An example would be here.
Although I haven't tested it yet, If I had to guess I would say that the Basic SKU probably does still support IKEv1, but only when using a PolicyBased tunnel. As this is a lesser-used configuration these days, perhaps it wasn't taken into account when the statement I initially quoted was written? If that's the case, could the statement change to something like:

In order to enhance the experience of customers using IKEv1 protocols, we are now allowing IKEv1 connections for all of the VPN gateway SKUs rather than just the Basic SKU. The Basic SKU will continue to support for IKEv1 connections, but only when using a PolicyBased tunnel.

Closely linked to another potential issue I raised just now: https://github.com/MicrosoftDocs/azure-docs/issues/77351

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

ID: c3c9ea83-f9d6-57c0-301d-323d2747a1c5
Version Independent ID: 424eec9a-4017-9128-1bbb-9b50996a9b7b
Content: Cryptographic requirements for VPN gateways - Azure VPN Gateway
Content Source: articles/vpn-gateway/vpn-gateway-about-compliance-crypto.md
Service: vpn-gateway
GitHub Login: @yushwang
Microsoft Alias: yushwang

@theonlycoder , thank you for the feedback. We'll review this and get back to you shortly!

@theonlycoder , the correct information regarding Basic SKU VPN gateway is as below:
IKEv1 connections can be created on all RouteBased VPN type SKUs, except the Basic SKU, Standard SKU, and other legacy SKUs. Also a single IKEv1 connection be created on PolicyBased Basic SKU VPN gateway.
Refer : https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-compliance-crypto#how-do-i-create-connections-with-ikev1-or-ikev2-protocol-type
Hence, the statement in this doc seems to be incorrect:

We have assigned this to the content owner/author for review.
@yushwang , could you please review this issue and update the doc accordingly?

Thank you for you dedication to our documentation.
Unfortunately, we have been unable to review this issue in a timely manner. We sincerely apologize for the delayed response. We are closing this issue. If you feel that the problem persists, please respond to this issue with additional information.
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


Fix failing test!

https://github.com/jcbhmr/deno-wrapper/actions/runs/5008255531

for some reason it got solved? maybe it was crlf => lf that fixed it 🤷♀


MemoryError after getting ~520 images

Hi,
this is my testing code: http://pastebin.com/HZ5C23Sz
The transfer starts to slow down and after around 520 images the following exception occurs:

Exception in thread Thread-3:
Traceback (most recent call last):
File "C:\Program Files (x86)\Python35-32\lib\threading.py", line 914, in _bootstrap_inner
self.run()
File "C:\Program Files (x86)\Python35-32\lib\site-packages\pynetdicom\association.py", line 323, in run
msg, msg_context_id = self.dimse.Receive(False, self.dimse_timeout)
File "C:\Program Files (x86)\Python35-32\lib\site-packages\pynetdicom\DIMSEprovider.py", line 264, in Receive
if self.message.Decode(primitive):
File "C:\Program Files (x86)\Python35-32\lib\site-packages\pynetdicom\DIMSEmessages.py", line 267, in Decode
self.data_set.write(pdv_item[1][1:])
MemoryError

I used pympler to track the memory usage:
At start:

                           types |   # objects |   total size

==================================== | =========== | ============
<class 'str |       19685 |      2.87 MB
<class 'dict |        2976 |      1.11 MB
<class 'code |        6768 |    529.11 KB
<class 'type |        1003 |    505.08 KB
<class 'tuple |        2772 |    101.99 KB
<class 'set |         425 |     94.64 KB
<class 'weakref |        1689 |     72.57 KB
<class 'wrapper_descriptor |        1623 |     69.74 KB
<class 'list |         838 |     65.41 KB
<class 'method_descriptor |        1228 |     47.97 KB
<class 'getset_descriptor |        1138 |     44.45 KB
<class 'builtin_function_or_method |        1100 |     42.97 KB
function (init) |         585 |     41.13 KB
<class 'int |        2370 |     36.88 KB
<class 'abc.ABCMeta |          55 |     26.23 KB
When the error occurs:

                                types |   # objects |   total size

========================================= | =========== | ============
<class 'list |      148021 |     36.35 MB
<class 'bytes |        5772 |     16.24 MB
<class 'str |      170638 |      9.81 MB
<class 'dict |        3832 |      1.27 MB
<class 'code |        6787 |    530.59 KB
<class 'type |        1003 |    509.72 KB
<class 'pydicom.tag.BaseTag |       10684 |    332.38 KB
<class 'pydicom.dataelem.RawDataElement |        5773 |    315.71 KB
<class 'int |       18364 |    268.35 KB
<class 'tuple |        2843 |    104.59 KB
<class 'set |         425 |     94.64 KB
<class '_io.BytesIO |           2 |     81.91 KB
<class 'weakref |        1694 |     72.79 KB
<class 'wrapper_descriptor |        1624 |     69.78 KB
<class 'pydicom.uid.UID |         616 |     49.15 KB
So no memory usage is not too big but the count of the objects gets very high.
147183 list objects got created in the progress.
Here are my testing images: https://dl.0x05.de/E0014589.zip
Thank you in advance

Hmm, interesting. I've never tested large workloads. Do things improve if you restrict your C-STORE operations to say 300 datasets per association (if possible)?
The multi-threading definitely needs an overhaul, but I don't have much experience with it so I've been putting it off. Looks like I'll have to dig into it after all.

I can't determine how many images I get. I have no control over the sender. I'll get much larger studies such like PET-CTs with ~3000 images per study.
The slowness begins after the first 10 images and gets worse until the memory error occurs. So even at around 200 images/association it's very very slow.
Maybe I can dig in a bit and look for some leaks.

Sure, that'd be great. Like I said before I'm a bit busy at the moment. The likeliest culprit is probably something in the main loops in Association.run() and DULServiceProvider.run(). I've had a quick look but nothing jumps out at me.

No hurry. Maybe I can dig in. I'm not the best python debugging expert. :)
Thanks!

It seems that it isn't the lists objects what causes the error. It has to do with the data_set in DIMSEmessages.py.

It may be that data_set attribute isn't being reset when a complete DIMSE message is received. If that's the cause then it's an easy fix.

The BytesIO buffered stream is growing with every image until it crashes.

types |   # objects |   total size
<class '_io.BytesIO | 2 |    263.32 MB

So how you suggested there must be a missing destructor for this instance. But I'm not deep enough into the code to resolve it.

The latest commit fixes the immediate problem but it looks like there are still memory leaks as the C-STORE operations get slower and slower.

Whoops nope that just breaks everything. dimse_msg isn't a new object...

Ok, second time's the charm. Try this commit: fa026b4c6b113d4cfae906b1d3262287d3590155

It looks like that last commit fixes the slowdown too, I've tested up to 5000 datasets per assoc and the time per 100 transfers remained constant.

Tested it. Works very good. Thank you!


Benchmark flaky when data size is increased to 500MB

        <*qerr.QuicError | 0xc4673b6660>: {
            ErrorCode: 69,
            ErrorMessage: "Too many outstanding received ACK ranges",
        }
        TooManyOutstandingReceivedPackets: Too many outstanding received ACK ranges

Can't reproduce it locally, neither on my Mac nor in the VM.
I remember seeing this error when running the benchmark test on Travis with the race detector enabled, so this would be super helpful if fixed.

Closing this issue. There were a bunch of changes to the benchmark test recently, which might have solved the problem here.


Spanner mutation implementations

Added implementations for mutation factory , mapper, and unit tests

@meltsufin @balopat PTAL

@balopat I added the annotation for those inner types in Iterables. I also added caching of the get-methods for reads, but not the writes. The reason is that we have a findAll method in our template , but the insert/update/upsert methods all just take one object at a time.

@balopat caching for read and write methods and handling the Iterable added! PTAL

@ChengyuanZhao I'm wondering if we can remove bd1a7767ce32135553608b75fd993d80b7c7242a for now and raise a separate PR for it? Otherwise it's looking good, and we could merge it.


kissmp-bridge.exe detected as Trojan.Fsysna.mpl on Jiangmin

VirusTotal:
kissmp-bridge.exe
KissMP-0_2_0_2.zip

We don't really care what antivirus software says about our binaries, as we can't influence this in any way. The project is open source - so it's trojan/virus free in any case


feat: Add docker-compose for Watcher only deployments

Related story: https://github.com/omisego/elixir-omg/issues/713
@pdobacz you can replicate this locally: https://github.com/omisego/elixir-omg/issues/691
Overview
This PR allows both Mac and non Mac Docker users to run their own Watcher locally and sync to a production OMG Network.
Changes

Renames existing docker-compose files to be explicit about the services stood up
Implements new docker-compose files to enable a Watcher & Postgres instance to be created

Testing
Commands:
Mac: docker-compose -f  docker-compose-watcher-mac.yml up
Linux: docker-compose -f  docker-compose-watcher-non-mac.yml up
Ran locally while connected to:

OMG Network Samrong
Infura for Ethereum connectivity
Local database setup without configuration
Single command startup.

Output:
watcher_1     | 2019-05-28 10:32:40.420 [info] module=OMG.Watcher.BlockGetter.Core function=log_downloading_blocks/2 ⋅Child chain seen at block #42000. Downloading blocks [34000]⋅
watcher_1     | 2019-05-28 10:32:41.077 [info] module=OMG.Watcher.BlockGetter function=handle_cast/2 ⋅Applied block: #31000, from eth height: 4421775 with 1 txs⋅
watcher_1     | 2019-05-28 10:32:41.494 [info] module=OMG.Watcher.BlockGetter function=handle_cast/2 ⋅Applied block: #32000, from eth height: 4421777 with 2 txs⋅
watcher_1     | 2019-05-28 10:32:41.633 [info] module=OMG.Watcher.BlockGetter.Core function=log_downloading_blocks/2 ⋅Child chain seen at block #42000. Downloading blocks [35000]⋅
watcher_1     | 2019-05-28 10:32:41.781 [info] module=OMG.Watcher.BlockGetter.Core function=log_downloading_blocks/2 ⋅Child chain seen at block #42000. Downloading blocks [36000]⋅
watcher_1     | 2019-05-28 10:32:42.568 [info] module=OMG.Watcher.BlockGetter.Core function=log_downloading_blocks/2 ⋅Child chain seen at block #42000. Downloading blocks [37000]⋅
watcher_1     | 2019-05-28 10:32:42.712 [info] module=OMG.Watcher.BlockGetter.Core function=log_downloading_blocks/2 ⋅Child chain seen at block #42000. Downloading blocks [38000]⋅
watcher_1     | 2019-05-28 10:32:43.452 [info] module=OMG.Watcher.BlockGetter function=handle_cast/2 ⋅Applied block: #33000, from eth height: 4425084 with 1 txs⋅
watcher_1     | 2019-05-28 10:32:43.838 [info] module=OMG.Watcher.BlockGetter function=handle_cast/2 ⋅Applied block: #34000, from eth height: 4425088 with 1 txs⋅
watcher_1     | 2019-05-28 10:32:44.294 [info] module=OMG.Watcher.BlockGetter function=handle_cast/2 ⋅Applied block: #35000, from eth height: 4425127 with 1 txs⋅
watcher_1     | 2019-05-28 10:32:44.755 [info] module=OMG.Watcher.BlockGetter function=handle_cast/2 ⋅Applied block: #36000, from eth height: 4425128 with 1 txs⋅
watcher_1     | 2019-05-28 10:32:45.145 [info] module=OMG.Watcher.BlockGetter.Core function=log_downloading_blocks/2 ⋅Child chain seen at block #42000. Downloading blocks [39000]⋅
watcher_1     | 2019-05-28 10:32:45.272 [info] module=OMG.Watcher.BlockGetter.Core function=log_downloading_blocks/2 ⋅Child chain seen at block #42000. Downloading blocks [40000]⋅
watcher_1     | 2019-05-28 10:32:46.015 [info] module=OMG.Watcher.BlockGetter.Core function=log_downloading_blocks/2 ⋅Child chain seen at block #42000. Downloading blocks [41000]⋅
watcher_1     | 2019-05-28 10:32:47.444 [info] module=OMG.Watcher.BlockGetter function=handle_cast/2 ⋅Applied block: #37000, from eth height: 4431630 with 1 txs⋅
watcher_1     | 2019-05-28 10:32:48.769 [info] module=OMG.Watcher.BlockGetter function=handle_cast/2 ⋅Applied block: #38000, from eth height: 4433083 with 1 txs⋅
watcher_1     | 2019-05-28 10:32:50.277 [info] module=OMG.Watcher.BlockGetter function=handle_cast/2 ⋅Applied block: #39000, from eth height: 4435853 with 1 txs⋅
watcher_1     | 2019-05-28 10:32:50.697 [info] module=OMG.Watcher.BlockGetter function=handle_cast/2 ⋅Applied block: #40000, from eth height: 4435859 with 1 txs⋅
watcher_1     | 2019-05-28 10:32:51.076 [info] module=OMG.Watcher.BlockGetter function=handle_cast/2 ⋅Applied block: #41000, from eth height: 4436161 with 1 txs⋅

Uuuu, this is nice.
I see a couple of issues though.

Currently, the boot is two step. Step one is init the DB (LevelDB), step two is run the app. That doesn't happen here.
There's no way to continue a sync where it left of previously? You always need to start fresh?

@InoMurko

Currently, the boot is two step. Step one is init the DB (LevelDB), step two is run the app. That doesn't happen here.

It does. Otherwise I'd not expect to see a full sync.

There's no way to continue a sync where it left of previously? You always need to start fresh?

Correct, you need a fresh sync. I'm a little hesitant to make too many assumptions for users here as there's a multitude of way of orchestrating this service and they will have different ideas about the deployment. Really it's up to them how they elect to run this in production. docker-compose is not intended to be a production ready service; rather a client for someone to run locally.

Coverage increased (+25.8%) to 81.642% when pulling 16d884343a966500c23c4d8e3dea6197ad5db085 on local_watcher_docker_compose into e7a2ef34eb34465a17c28f6465fbe52f6714effc on master.


upgrade datafusion and pyo3

need to wait for next release of datafusion

@Jimexist Can I test this by using the instructions in How To Develop section of readme?

I ran tests on this branch and they passed

I'm trying to use this branch to run updated benchmarks for db-benchmark
when i use maturin develop im able to use it locally as expected.
however, when i use maturin develop --release I get the following when trying to import datafusion
Python 3.8.9 (default, Oct 26 2021, 07:25:53)
[Clang 13.0.0 (clang-13<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import datafusion
Killed: 9

Any thoughts on what could cause this?  Im looking into it on my side as well but wanted to raise it here in case anyone was familiar with this.

When I build the wheels with maturin build --release and install the wheel file directly it works.  I guess you can ignore the above.

i sometimes will run into kill 9 by OS on my Mac - not sure if it's related but it's not persistent


rounding the zoomFactor value to avoid fuzzy lines

Very clean, I like. Just one intermittent bug: if you reduce the size of the window slowly, it's possible to get into a state just on the boundary where the positions are all slightly off what is currently drawn. I think it's something to do with scrolling position - it seems to happen just as the element height changes when an adjustment to scroll position becomes necessary (seems to be when the scroll position becomes too low?).
First symptom is the highlight box being slightly out of sync:

Then when you mouseover things, they're drawn slightly below the expected position:

Ah, I think I see why this is happening. It's because redrawGraph stays false in flame-graph.js draw(), so the previous larger flamegraph is drawn over instead of replaced when the zoom factor goes down. It seems to fix this issue if we set a flag there such that when zoomFactor !== this.zoomFactor in flame-graph.js resize(), it will be redrawn in draw().

@AlanSl  Well spotted, however no matter how slowly I try to resize the window I am not able to replicate the issue :(
Tested on latest chrome/ff on OSX 10.14 and WIN10
I pushed an update with the suggested fix though, please let me know if it works for you.


Armstrong number Checker

I want to add a calculator that can check whether a given number is armstrong number or not, under JWOC'23.

@zugzwang03 go for it.

@Srijita-Mandal
I would like to work on this under JWOC


⚠ Bofrost.es has degraded performance

In 9eb55e3, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1984 ms

Resolved: Bofrost.es performance has improved in 394448b after 6 minutes.


Update F# language color according to the language icon

Description
The F# icon color is mostly blue (https://en.wikipedia.org/wiki/F_Sharp_(programming_language)):

But the language color on GitHub is pink/purple:

I'm sending this PR to better align the icon color with the GitHub language color.
Checklist:

[X] I am changing the color associated with a language

[x] I have obtained agreement from the wider language community on this color change.

URL to public discussion: https://github.com/dotnet/fsharp/discussions/16563
Optional: URL to official branding guidelines for the language: https://en.wikipedia.org/wiki/F_Sharp_(programming_language)

Cross-referencing the discussion at https://github.com/github-linguist/linguist/discussions/6701#discussioncomment-8398307

Closing as there really doesn't seem to be much demand from the community for this change.


build-result-capture.init.gradle is giving errors in action run

In my action run I can see
       Caused by: groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.io.File#<init>.
      Cannot resolve which method to invoke for [null, class java.lang.String] due to overlapping prototypes between:
      	[class java.lang.String, class java.lang.String]
      	[class java.io.File, class java.lang.String]

I think this is coming from https://github.com/gradle/gradle-build-action/blob/main/src/resources/init-scripts/build-result-capture.init.gradle#L109 as its possible getenv returns null. It may be better to use getProperty with a default value?
An example of this happening is https://github.com/project-ncl/gradle-manipulator/runs/7109028866?check_suite_focus=true

Apparently, it should be possible to use System.getenv("RUNNER_TEMP") as String to disambiguate: https://stackoverflow.com/a/12535814/116472

Fwiw, I find it a bit strange to build the project with many different Gradle versions, rather than using, say, TestKit, to use a fixed version to build the project and then run tests using many different Gradle versions.
Using TestKit for instance would mean using a separate Gradle User Home dir (even if you use the same Gradle version as the one used to build the project), so your tests won't be polluted by things setup in the Gradle User Home, like the init script used by the gradle-build-action.

@tbroyer We do use TestKit as well, but due to the differing API between Gradle versions and the necessity to able to work against various Gradle versions (as when we internally rebuild all projects they may use different versions of Gradle) it meant the test suite had to be more comprehensive.

Thanks for the report @rnc, and for the diagnosis. Indeed I can see how the init-script will fail when a Gradle build is run without the GitHub Actions env vars set.
I plan on fixing this so that builds run outside of the GitHub Actions context will not have any results file written, and thus will not show up in the GitHub Actions Job Summary.


Prevent return result on optgroups

Using this select2 multi-checkboxes plugin, I commented out this line (too allow for typehead functionality):
which generates: https://jsfiddle.net/jasonday/hd6dqo4L/3/
Issue/question:

When inputting a search term like "maine", how would I ensure that everything under the optgroup 'Maine' shows?

take a look into https://jsfiddle.net/wasikuss/u01zwzcs/


The Deploy to Azure button doesn't work, it gives 404

It looks like this is due to a branch and path change, the URL should be revised from:
https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FMicrosoft%2FTailwindTraders-Website%2Fmaster%2FDeploy%2Fdeployment.json
to
https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FMicrosoft%2FTailwindTraders-Website%2Fmain%2FTailwindTraders.Website%2FDeploy%2Fdeployment.json.


Rename LexicalTableSelection to LexicalTableObserver

Leveraging the fact that we're doing a minor release to fix the naming mess we have here.
LexicalSelection is not a selection, it's merely a sort of helper. When you look at the origin of it, you can see it's an observer, it leverages observability to avoid recomputing everything from scratch.
This PR does some renaming:

LexicalTableSelection -> LexicalTableObserver
Cell -> LexicalDOMCell (to avoid confusion with the actual CellNode)
Cells -> LexicalDOMRows
Grid -> LexicalDOMTable
LexicalTableSelection.grid -> LexicalTableSelection.table
Removed grid in the helper functions that had it, the term grid should not longer be used

You have integration tests failing, because of incorrect flow definition.


https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math/random

Request type

[ ] New documentation
[x] Correction or update

Page to change
If this request relates to an existing article, please give its URL:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random
https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Math/random
Details
Please describe the change you are requesting. If you know of technical experts who can review the change, please mention them.

This example returns a random number between the specified values. The returned value is no lower than (and may possibly equal) min, and is less than (and not equal) max.

should be translated to

这个例子返回了一个在指定值之间的随机数。这个值不小于min（但可能等于），并且小于（但不等于）max。

This example returns a random integer between the specified values. The value is no lower than min (or the next integer greater than min if min isn't an integer), and is less than (but not equal to) max.

should be translated to

这个例子返回了一个在指定值之间的随机整数。这个值不小于min（如果min不是整数，那就不小于下一个大于min的整数），并且小于（但不等于）max。

While the getRandomInt() function above is inclusive at the minimum, it's exclusive at the maximum. What if you need the results to be inclusive at both the minimum and the maximum? The getRandomIntInclusive() function below accomplishes that.

should be translated to

上面的 getRandomInt() 函数包含最小值，排除最大值。如果你需要结果中包含最小值和最大值，怎么办呢?  下面的 getRandomIntInclusive() 函数能够实现。

Related issues
If this request relates to other issues in Bugzilla or GitHub, please provide links:

hi @pfdgithub . This page has been fixed by @soyaine.


Improve line number tracking and exceptions/error messages

Currently, TorchDynamo does not preserve line numbers in generated code in most cases, though it does in a few cases and in the case where the error happens at compile time.  It supports generating line numbers in output code, so fixing this is just a matter of populating the line numbers on the Instruction() objects.
We should improve this and carry line numbers through our transformations.  We should also test TorchDynamo on deliberately buggy programs and make sure it produces good error messages.

A related thing to this would be putting line numbers on the nodes in the generated FX graph.
That would be double, but require threading them through multiple layers of the stack:

Copy the value of InstructionTranslator().lineno to FX nodes as they are added to the graph.  Perhaps this can be done in TensorVariable.create.
Make normalize_ir preserve line numbers
Copy line numbers from the interpreted graph to the generated graph in python key tracing.

Once these are done, downstream compilers could use those line numbers.

closing, #891 + #1224 + #754 + #678 together add this feature


[Breaking Change] Breaking changes PR check does not check against latest GA version

The Breaking Change(Cross-Version) check in PR 13404 checks for breaking changes against the earlier preview (2023-01-01-preview) but not against the latest GA (2023-06-01).

Another case can be referred for this issue https://github.com/Azure/azure-rest-api-specs/pull/23327


Description
The root cause was query encoding occurring on the CLI and the SDK, so this change was not required
Keeping PathEscape for consistency across the API and v2sdk as it works as expected
Link to any related issue(s):
https://github.com/mongodb/mongodb-atlas-cli/issues/1817
Type of change:

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

Required Checklist:

[x] I have signed the MongoDB CLA
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added any necessary documentation (if appropriate)
[x] I have run make fmt and formatted my code

Further comments

I was under the impression there was a pair of characters not being encoded correctly, can you a long with this or maybe include some tests the encoding works as expected?


AttributeError: module 'asyncio' has no attribute 'coroutine' -- Python 3.11

Upgraded to Python 3.11 and started getting the following exception when using async features of PySNMP 4.4.12.
AttributeError: module 'asyncio' has no attribute 'coroutine'
Support for generator-based coroutines, used in PySNMP, is deprecated and is removed in Python 3.11.
Had to downgrade to Python 3.10 as a workaround.

You should switch to asyncore based high level API for such operations,
https://github.com/etingof/pysnmp/tree/v4.4.12/examples/hlapi/asyncore
There is no need to downgrade your Python installation.

You can rewrite the sample in async/await style.

It is impossible to patch PyPI package pysnmp at this moment.
You can try the package pysnmp-lextudio 5.0.22. More details can be found in #429.

You might close this issue if my answer helps. The repo owner passed away, so closing new issues here can help clean up the list.

After closing #429, time to revisit this.
As new maintainers, my team have been able to ship new releases, so if you migrate to any recent releases 6.x/7.x, this error is gone.


False positive in FieldableEntityInterface.stub

Copied from https://www.drupal.org/project/upgrade_status/issues/3295988.
There appears to be a false-positive being flagged in one of the stub classes.
  Line   vendor/mglaman/phpstan-drupal/src/Drupal/../../stubs/Drupal/Core/Enti
         ty/FieldableEntityInterface.stub
 ------ -----------------------------------------------------------------------
  36     Method Drupal\Core\Entity\FieldableEntityInterface::getFields()
         return type with generic interface
         Drupal\Core\Field\FieldItemListInterface does not specify its types:
         T
  41     Method
         Drupal\Core\Entity\FieldableEntityInterface::getTranslatableFields()
         return type with generic interface
         Drupal\Core\Field\FieldItemListInterface does not specify its types:
         T
 ------ -----------------------------------------------------------------------
 [ERROR] Found 2 errors     ```

Thanks, just got this as well! From #433.

Releasing a fix!

I can confirm release 1.1.24 fixes this problem. Thanks @mglaman!


Cannot build example on macOS 10.12.5

The steps I have taken so far:
git clone https://github.com/dropbox/djinni.git
cd djinni
export ANDROID_NDK_HOME=$ANDROID_NDK_ROOT
make example_android

I get the following error:
...
djinni completed.
ANDROID_BUILD_TOP=/Users/jonmcclung/Library/Android/sdk/android-ndk-r17b deps/gyp/gyp --depth=. -f android -DOS=android -Icommon.gypi example/libtextsort.gyp --root-target=libtextsort_jni
  File "deps/gyp/gyp_main.py", line 12
    except ImportError, e:
                      ^
SyntaxError: invalid syntax
make: *** [GypAndroid.mk] Error 1

This seems to me to be related to the version of Python. That is, I believe it expects me to be using Python 2 when in fact I have both Python 2 and Python 3 installed, and Python 3 is the default. Is there a way for me to specify it should use Python 2 instead, or is there something else I'm doing wrong?

Yeah, gyp is implemented in Python 2, and the version of it we're using is a deprecated fork so it's unlikely to change.  The easiest workaround I could think of would be to edit the main gyp script to refer to python2, or wrap your Djinni build in a script to alter your path or aliases so that python maps to Python 2.

That worked, thank you! For future users who may run into the same problem, manually creating a symbolic link so that the value returned by which python is pointing to python2 fixed it.