Add windows install test

@keedya @jlongever @uppalk1 @zyoung51 @amymullins

:+1:

:+1:

:+1:

*** BUILD #671 ***
Test Name: pollers_data_get
Error Details: Condition was True.
Stack Trace: Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/RackHD/build/test/tests/api/v2_0/pollers_tests.py", line 158, in pollers_data_get
    assert_false(poller.get('lastFinished', False))
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/asserts.py", line 67, in assert_false
    raise ASSERTION_ERROR(message)
AssertionError: Condition was True.

Test this please

*** BUILD #672 ***
Test Name: pollers_data_get
Error Details: Condition was True.
Stack Trace: Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/RackHD/build/test/tests/api/v2_0/pollers_tests.py", line 158, in pollers_data_get
    assert_false(poller.get('lastFinished', False))
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/asserts.py", line 67, in assert_false
    raise ASSERTION_ERROR(message)
AssertionError: Condition was True.

Test this please

*** BUILD #673 ***
Test Name: pollers_data_get
Error Details: Condition was True.
Stack Trace: Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/RackHD/build/test/tests/api/v2_0/pollers_tests.py", line 158, in pollers_data_get
    assert_false(poller.get('lastFinished', False))
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/asserts.py", line 67, in assert_false
    raise ASSERTION_ERROR(message)
AssertionError: Condition was True.

test this please

test this please

test this please

test this please

*** BUILD #682 ***
Test Name: test_get_chassis
Error Details: (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Content-Length': '2265', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"8d9-Nr1bLqsd/9kkv++e6oNOLw"', 'Date': 'Fri, 05 Aug 2016 17:30:39 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"error":{"code":"Base.1.0.GeneralError","message":"A general error has occurred. See ExtendedInfo for more information.","@Message.ExtendedInfo":[{"@odata.type":"#Message.1.0.0.Message","MessageId":"Base.1.0.Messages.InternalError","Description":"Indicates that the request failed for an unknown internal error but that the service is still operational.","Message":"The request failed due to an internal service error.  The service is still operational.","Resolution":"Resubmit the request.  If the problem persists, consider resetting the service.","Severity":"Critical"},{"MessageId":"RackHD.1.0.DetailedErrorMessage","Message":{"name":"NotFoundError","message":"There is no cache record for the poller with ID 57a4caaae22b83d307472a62.Perhaps it has not been run yet?","stack":"NotFoundError: There is no cache record for the poller with ID 57a4caaae22b83d307472a62.Perhaps it has not been run yet?\n    at PollerMessageCacheJob.requestPollerCacheCallback (/home/vagrant/src/on-taskgraph/node_modules/on-tasks/lib/jobs/message-cache-job.js:159:35)\n    at Promise.resolve.then.then.message.resolve.Result.value (/home/vagrant/src/on-taskgraph/node_modules/on-core/lib/protocol/task.js:451:28)\n    at tryCatcher (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\n    at Promise._settlePromiseFromHandler (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/promise.js:507:31)\n    at Promise._settlePromiseAt (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/promise.js:581:18)\n    at Promise._settlePromiseAtPostResolution (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/promise.js:245:10)\n    at Async._drainQueue (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\n    at Async._drainQueues (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\n    at Async.drainQueues (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\n    at process._tickDomainCallback (node.js:459:13)","context":{},"status":404},"Description":"Contains the detailed error message contents"}]}}

-------------------- >> begin captured logging << --------------------
tests.api.redfish_1_0.chassis_tests: INFO: 57a4caaae22b83d307472a63
--------------------- >> end captured logging << ---------------------
Stack Trace:   File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/RackHD/build/test/tests/api/redfish_1_0/chassis_tests.py", line 48, in test_get_chassis
    redfish().get_chassis(dataId)
  File "/tmp/.venv/local/lib/python2.7/site-packages/on_http_redfish_1_0/apis/redfishv_api.py", line 890, in get_chassis
    callback=params.get('callback'))
  File "/tmp/.venv/local/lib/python2.7/site-packages/on_http_redfish_1_0/api_client.py", line 322, in call_api
    response_type, auth_settings, callback)
  File "/tmp/.venv/local/lib/python2.7/site-packages/on_http_redfish_1_0/api_client.py", line 149, in __call_api
    post_params=post_params, body=body)
  File "/tmp/.venv/local/lib/python2.7/site-packages/on_http_redfish_1_0/api_client.py", line 342, in request
    headers=headers)
  File "/tmp/.venv/local/lib/python2.7/site-packages/on_http_redfish_1_0/rest.py", line 184, in GET
    query_params=query_params)
  File "/tmp/.venv/local/lib/python2.7/site-packages/on_http_redfish_1_0/rest.py", line 177, in request
    raise ApiException(http_resp=r)
'(404)\nReason: Not Found\nHTTP response headers: HTTPHeaderDict({\'Content-Length\': \'2265\', \'X-Powered-By\': \'Express\', \'Connection\': \'keep-alive\', \'ETag\': \'W/"8d9-Nr1bLqsd/9kkv++e6oNOLw"\', \'Date\': \'Fri, 05 Aug 2016 17:30:39 GMT\', \'Access-Control-Allow-Origin\': \'*\', \'Content-Type\': \'application/json; charset=utf-8\'})\nHTTP response body: {"error":{"code":"Base.1.0.GeneralError","message":"A general error has occurred. See ExtendedInfo for more information.","@Message.ExtendedInfo":[{"@odata.type":"#Message.1.0.0.Message","MessageId":"Base.1.0.Messages.InternalError","Description":"Indicates that the request failed for an unknown internal error but that the service is still operational.","Message":"The request failed due to an internal service error.  The service is still operational.","Resolution":"Resubmit the request.  If the problem persists, consider resetting the service.","Severity":"Critical"},{"MessageId":"RackHD.1.0.DetailedErrorMessage","Message":{"name":"NotFoundError","message":"There is no cache record for the poller with ID 57a4caaae22b83d307472a62.Perhaps it has not been run yet?","stack":"NotFoundError: There is no cache record for the poller with ID 57a4caaae22b83d307472a62.Perhaps it has not been run yet?\\n    at PollerMessageCacheJob.requestPollerCacheCallback (/home/vagrant/src/on-taskgraph/node_modules/on-tasks/lib/jobs/message-cache-job.js:159:35)\\n    at Promise.resolve.then.then.message.resolve.Result.value (/home/vagrant/src/on-taskgraph/node_modules/on-core/lib/protocol/task.js:451:28)\\n    at tryCatcher (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/util.js:26:23)\\n    at Promise._settlePromiseFromHandler (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/promise.js:507:31)\\n    at Promise._settlePromiseAt (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/promise.js:581:18)\\n    at Promise._settlePromiseAtPostResolution (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/promise.js:245:10)\\n    at Async._drainQueue (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/async.js:128:12)\\n    at Async._drainQueues (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/async.js:133:10)\\n    at Async.drainQueues (/home/vagrant/src/on-taskgraph/node_modules/on-core/node_modules/bluebird/js/main/async.js:15:14)\\n    at process._tickDomainCallback (node.js:459:13)","context":{},"status":404},"Description":"Contains the detailed error message contents"}]}}\n\n-------------------- >> begin captured logging << --------------------\ntests.api.redfish_1_0.chassis_tests: INFO: 57a4caaae22b83d307472a63\n--------------------- >> end captured logging << ---------------------'

test this please


Easy way to bulk delete all up related resources on AWS?

Is there an easy way to bulk delete all up related resources on AWS short of deleting all apps one by one? We've had about 10 devs freely testing up for the last couple of months, and there's about 100 random apps and related resources in this AWS account needing deleting now...
Thanks

Not built-in at the moment. The easiest would probably be to use use aws-cli to just loop through the CloudFormation stacks and delete each that way, the only resources remaining would be the <name>-function role per-app and the Lambda function itself.

OK, thanks.

One workaround for removing an individual stack is: change the name of the app in the up.json and then do up stack delete. Although it seems that CloudWatch logs will persist.

Indeed, I ended up doing it that way, took me about an hour. But it won't delete resources in a different region very well, unless you specify the region also (some devs had accidentally pushed some apps to the wrong region).


How can I update to the latest version of native base in my project ?

Update version in package.json and npm update. Also please refer to stackOverflow. It helps, sometimes.


fix(ci): fixed pages workflow.

What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area CI
Does this PR require a change in the driver versions?
What this PR does / why we need it:
The new reusable_kernel_tests workflow: https://github.com/falcosecurity/libs/blob/master/.github/workflows/reusable_kernel_tests.yaml makes use of kernel-testing provided composite action that just names matrix artifacts as matrix.md since it does not use arch-specific names.
Fix for this in the pages workflow.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

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

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

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

/milestone 0.15.0

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

Needs approval from an approver in each of these files:

OWNERS [FedeDP,LucaGuerra]

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

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

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP,LucaGuerra]

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


deprecate ingestionSettings

ARM (Control Plane) API Specification Update Pull Request
PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

[1] ARM review queue (for merge queues, see [4])
The PRs are processed by time opened, ascending. Your PR may show up on 2nd or later page.
If you addressed Step 1 from the diagram and your PR is not showing up in the queue, ensure the label ARMChangesRequested
is removed from your PR. This should cause the label WaitForARMFeedback to be added.
[2] https://aka.ms/azsdk/support/specreview-channel
[3] List of SDK breaking changes approvers in pinned Teams announcement
[4] public repo merge queue, private repo merge queue (for ARM review queue, [1])
If you need further help with anything, see Getting help section below.
Purpose of this PR
What's the purpose of this PR? Check all that apply. This is mandatory!

[ ] New API version. (Such PR should have been generated with OpenAPI Hub, per this wiki doc.)
[ ] Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
[ ] Update existing version to fix swagger quality issues in S360.
[x] Other, please clarify:

deprecated dead API (dangling) (approved: https://github.com/Azure/azure-rest-api-specs-pr/pull/14721)

Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

[x] I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
[x] I have reviewed following Resource Provider guidelines, including
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can proceed to Step 2, "ARM Review", for this PR.

Breaking changes review (Step 1)

If the automation determines you have breaking changes, i.e. Step 1 from the diagram applies to you,
you must follow the breaking changes process.
IMPORTANT This applies even if:

The tool fails while it shouldn't, e.g. due to runtime exception, or incorrect detection of breaking changes.
You believe there is no need for you to request breaking change approval, for any reason.
Such claims must be reviewed, and the process is the same.

ARM API changes review (Step 2)

If this PR is in purview of ARM review then automation will add the ARMReview label.
If you want to force ARM review, add the label yourself.
Proceed according to the diagram at the top of this comment.

Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.
Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.
Getting help

For general PR approval workflow, see the diagram at the top of this comment.
For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
and https://aka.ms/ci-fix.
If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

breaking change approved

/pr RequestMerge

you are at step 2. pl request merge once you get an arm sign off

placed the pr in the review queue

/pr RequestMerge


Optimize event delivery

As a user I want as few hiccups as possible when playing content.
Acceptance criteria

Existing event sources have been investigated and work has been moved to background threads where still possible.

Tasks

[ ] Investigate each data pipeline.
[ ] Move to a background thread where appropriate.

Premature optimization is the root of all evil. With a demo for stories implemented I see no sign of issues, so until then I guess there is no need to send operations that are fairly small to background threads.
Pipelines can be investigated with timelane and the behavior is sane.
I suggest we do nothing for the moment.


refactor RangeSlider to accept data range & values.

Description
This would close #842 and make the right-click slider popup that I'm working on in #837 easier.
The behavior of the RangeSlider doesn't change at all.. but interacting with the slider from external objects changes such that slider.setRange(), setValues(), and setStep() expect values in "data space" and not in "slider space" (which was always from 0-1.).
This makes reusing the slider easier, because you don't need to duplicate the logic to convert from "data range" to "slider range" everywhere you implement the slider.
Type of change

[x] Refactor with a couple new methods

How has this been tested?

[x] all tests pass with my change

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works

Can you add some that test both the horizontal and vertical range slider in isolation, including testing the new behavior - maybe a test_qt_range_slider.py file.

yeah I'll add some tests.
Also curious to get @AhmetCanSolak's opinions.  One thing that wasn't totally clear to me was the expected behavior for the collapsible feature.  Since we don't seem to use that anywhere, might we want to remove it?  or is there a use case for which we might want to hang on to it?  Currently, I think it's a little broken (or maybe just in this PR)

The collapsibility was so that we could have easy transitions between a range and a normal slider that preserved some information so we could toggle between a "max projection" like mode and a slicing like mode. See #7 for more info on the max projection feature. We havn't gotten around to implementing it yet, and now I'm not sure that it wouldn't be easier to have the range slider only be a range slider - so not collapsable, but just swap out the entire slider for one of the default Qt sliders (we now use the scroll bar) when the time is right. It would dramatically simplify the range slider code, and we could keep track of any additional needed information inside the QtDims model, and we wouldn't be reimplementing something Qt does already.
I'd be in favor of a refactor to remove the "collapsable" functionality from the range slider as it would simply that code quite a bit - but curious what @AhmetCanSolak and @royerloic think before we do the refactor. If they agree then I'd do it in this PR too

OK, added tests as best I could.  There seems to be a bug in QTest at the moment that prevents simulating drag/drop motions, so I had to kinda fake mouse moves.  but the main value changes should be tested.
thanks for explaining the collapsible idea.  makes sense.  I think, given how easy/cheap it is to instantiate new sliders, I'd personally just remove that logic and create a totally new QSlider if you wanted to collapse back to the single handle..., and then rebuild the RangeSlider from the model when expanding...  but will wait to hear what @AhmetCanSolak or @royerloic think

thanks @sofroniewn.  I'm gonna merge so I can move on with the other PRs.


Update ESLint

running yarn ci:eslint produces:
=============

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <5.0.0

YOUR TYPESCRIPT VERSION: 5.1.3

Please only submit bug reports when using the officially supported version.

=============

Related: https://github.com/typescript-eslint/typescript-eslint/issues/6934

annoyingly enough when I run the command on windows I dont get a warning :/

oof, thanks for that link @jaas666. that's kind of scary.
@yuliadub I think this highlights that our script needs fixing - the call to eslint is picking up the global ESLint and not whatever version is specified locally in package.json
https://github.com/NWACus/avy/blob/f72d8ff3730658154518bc6d130789143ef2bb36/scripts/eslint.sh#L3-L4
Note that I get a different version depending on whether I run yarn eslint or eslint:
~/projects/avalanche-forecast preview *20 ········································································································································   system
❯ yarn eslint --version
yarn run v1.22.19
$ /Users/brians/projects/avalanche-forecast/node_modules/.bin/eslint --version
v8.49.0
✨  Done in 0.72s.

~/projects/avalanche-forecast preview *20 ········································································································································   system
❯  eslint --version
v8.48.0

I'm curious which version you have installed globally?
I will fix this now.

Nothing more to do until typescript-eslint is revved

The package seems to have new releases published almost daily so it would be good to check if we can update this now.

This was fixed in #674


Align checksum in azure for upload response between pre-signed and not pre-signed

Description
in lakectl: uploading using pre-signed resolves with different checksum than uploading without pre-signed
This is the difference between the results in lakectl
➜  echo "this" | ./lakectl fs upload lakefs://one/main/other2 --pre-sign  -s -
Path: other2
Modified Time: 2023-10-10 12:20:08 +0300 IDT
Size: 5 bytes
Human Size: 5 B
Physical Address: data/gkkunea8tio0kuuanl30/ckihehq8tio0kuuanl3g
Checksum: 0x8DBC97218C1C40D
Content-Type: application/octet-stream
➜  echo "this" | ./lakectl fs upload lakefs://one/main/other2   -s -
Path: other2
Modified Time: 2023-10-10 12:20:15 +0300 IDT
Size: 5 bytes
Human Size: 5 B
Physical Address: https://mystorage.blob.core.windows.net/some/path/data/gkkunea8tio0kuuanl30/ckihejq8tio0kuuanl40
Checksum: 9e7b964750cf0bb08ee960fce356b6d6
Content-Type: application/octet-stream

In the case without pre-signed we get 9e7b964750cf0bb08ee960fce356b6d6 which is an md5 calculated by lakeFS
In the case with pre-signed, we get 0x8DBC97218C1C40D which is the Etag returned by Azure
We should align the results to be the same
We should also validate that this doesn't happen in other places such as lakeFSFS and generated clients

0x8DBC97218C1C40D seems incorrect!  Those are merely 15 hex digits, 60 bits, not enough to distinguish between objects.  Is this ETag reproducible across uploads?  Does Azure really use 16-bit ETags?

0x8DBC97218C1C40D seems incorrect! Those are merely 15 hex digits, 60 bits, not enough to distinguish between objects. Is this ETag reproducible across uploads? Does Azure really use 16-bit ETags?

Well, this SDK link also has such tiny ETags.  Also I read it as saying ETags are sometimes with and sometimes without quotation marks.


bugged entity textures on some items in forgotten castle

sentry's wrath and scarlet dagger both spawn with broken textures, uhh pls fix ok thanks

this will be fixed in alpha-2


Webpack 5 build warnings for WARNING in<EMAIL_ADDRESS>

Hi there, first of all thanks for this sweet little lib!
I'm using Webpack 5 and having warnings on build concerning thumbmark.esm.js :
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
.ts' file: Error: ENOENT: no such file or directory, open 'C:\git\path\project\node_modules\@thumbmarkjs\thumbmar
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
WARNING in<EMAIL_ADDRESS>Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from<EMAIL_ADDRESS>file: Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
webpack compiled with 21 warnings
No issues found.

It's a shame since the module itself works nicely.
I added a ignoreWarnings: [/Failed to parse source map/] entry in my webpack.config.js for now, but I was wondering if maybe there was a better way for handling this.
Thanks in advance!

Probably a mistake in my package.json

@Gummy47 can you help me set up an integration testing thing?
If you could send a directory that I can run build in to get the errors?
Helping me reproduce the errors would accelerate fixing it.

I put in some work for this and can't reproduce the issue. Let me know if you can help me reproduce it.

Hey, sorry, I ended up removing thumbmarkjs from my project after all, can't really give you a repro since it seems to be specific to my own project. I am using typescript, maybe something to do with how the sourcemaps were handled by default since had no specification for that in my tsconfig. If you can't reproduce and nobody else had these warnings, let's close the issue and call it a no-repro. Thanks for your feedback though!

can't reproduce

Can't reproduce

@Gummy47 did you go with another fingerprinting library? If so, what was the deciding factor?

@Gummy47 did you go with another fingerprinting library? If so, what was the deciding factor?

Nope, it simply turned out to be overkill for what I was implementing. Still solid tool, won't hesitate to reuse again if needed!


PowerToys Run stops typing after coming up with a result

Environment
Windows build number: 10.0.18363.836
PowerToys version: v0.18.1
PowerToy module for which you are reporting the bug (if applicable): PowerToys Run

Steps to reproduce
Open PowerToys run then type anything.
Expected behavior
Be able to continue typing after finding a result
Actual behavior
Cursor clicks off the search bar and you have to click it again for every character you type in
Screenshots

It seems like you are currently using v0.18.1 which has a fix for a similar issue (see #2259).
Did you install PowerToys v0.18.1 for the first time or did you upgrade from v0.18.0 (or previous versions)?

It seems like you are currently using v0.18.1 which has a fix for a similar issue (see #2259).
I wasn't experiencing this problem with v0.18.0.
Did you install PowerToys v0.18.1 for the first time or did you upgrade from v0.18.0 (or previous versions)?
I upgraded to v0.18.1 from v0.18.0.

@Seth-MetroBots3324 do you have a screenshot/recording so we can understand the issue better?

@Seth-MetroBots3324 do you have a screenshot/recording so we can understand the issue better?

Unfortunately I don't, however updating Windows to version 2004 seems to have fixed the issue.
Thanks for your help.


[target.'cfg(...)'.dependencies] is turning on features in configurations that don't match the cfg

Problem
I have the following dependency tree. C3 depends on C2 and C1, and C2 depends on C1.
c3 v0.1.0 (/Users/will/Code/tmp/cargobug/c3)
├── c1 v0.1.0 (/Users/will/Code/tmp/cargobug/c1)
│   └── libz-sys v1.1.2
└── c2 v0.1.0 (/Users/will/Code/tmp/cargobug/c2)
    └── c1 v0.1.0 (/Users/will/Code/tmp/cargobug/c1) (*)

C1 has an optional feature to depend on libz-sys. From c1/Cargo.toml:
[features]
include_dep = ["libz-sys"]

[dependencies]
libz-sys = { version = "*", optional = true }

And C2 conditionally includes C1 as a dependency with this feature activated when not on the wasm32 arch. From c2/Cargo.toml:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
c1 = { path = "../c1", features = ["libz-sys"] }

The issue is that the libz-sys feature for C1 is turned on when building C3 for the wasm32 arch, even though it should be turned off:
$ cd c3
$ cargo build --target wasm32-unknown-unknown
   Compiling cc v1.0.66
   Compiling pkg-config v0.3.19
   Compiling libc v0.2.85
   Compiling c2 v0.1.0 (/Users/will/Code/tmp/cargobug/c2)
   Compiling libz-sys v1.1.2
The following warnings were emitted during compilation:

warning: error: unable to create target: 'No available targets are compatible with triple "wasm32-unknown-unknown"'
warning: 1 error generated.

error: failed to run custom build command for `libz-sys v1.1.2`

By contrast, both c1 and c2 individually build successfully on the wasm32 arch.
Steps
The context described above is contained in this zip:
cargobug.zip
You should be able to unzip it, then reproduce by running:
cd c3
cargo build --target wasm32-unknown-unknown

Notes
I'm running latest stable, cargo 1.49 on OS X.

You may want to try the new feature resolver, described here: https://doc.rust-lang.org/nightly/cargo/reference/features.html#feature-resolver-version-2
It will reach stable in 1.51.

https://doc.rust-lang.org/cargo/reference/unstable.html#features
the itarget part seems like what you need. It is still unstable and only available on nightly, but we are working on stabilizing it. So please let us know how it works for you.
And Eric beat me to it. :-)

That exactly solves the problem! Thanks @ehuss.


clang-format c++ code

Basically I ran clang-format-3.5 with all the c++ files with DerivePointerAlignment: false on top of google style. This solves our inconsistency with aligning * and &. From now on just running clang-format should be enough as it tries to derive from the alignment in existing code.

Hi Yang, I was too slow to merge this and now merge conflicts have emerged. Sorry. If you resolve this and IM me right away, I'll merge it before a new batch of conflicts.

Done. PTAL


Multiple words in a single line

Multiple Words appear on a single line. It has yet to be determined if the apparent typos are widespread. This issue is in regards to the simple fact that more than one word exists on a single line.
A new issue may be in order for misspelled words.
gratuitous      grave
gratuitous      graveer
gratuitous      graveest

My grepping shows that this is the list of words with tabs:
$ grep -r -P "\t"
adjectives.txt:gratuitous       grave
adjectives.txt:gratuitous       graveer
adjectives.txt:gratuitous       graveest
adjectives.txt:repaired repeatable

As I've mentioned in other comments, this puts the completeness of the list in to question. If something was added, is it possible that something was removed etc.


[SPARK-48312][SQL] Improve Alias.removeNonInheritableMetadata performance

What changes were proposed in this pull request?
Improve Alias.removeNonInheritableMetadata performance - avoid using MetadataBuilder when there is no metadata or when there are no non-inheritable metadata keys to remove.
Why are the changes needed?
In case of wide VIEWs with many Aliases this method slows down the analysis
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existing tests
Was this patch authored or co-authored using generative AI tooling?
No

@agubichev, hi! Here's the improvement fix for the ultra-wide views

@cloud-fan PTAL

thanks, merging to master!


reconciler can't be defined in both WithOptions and Complete

remove it from WithOptions, keep it in Complete - in  clusterdeployment_controller.go

/lgtm


Update decorators.py

More robust in case you somehow end up with "None" in your sys.path list somewhere

Thanks @KrupaH


feat(#84): Create a Separate Class For AntlrSting

In this PR I slightly refactored UnicodeChar, LexerCharSet and Literal classes.
Also I introduced one more useful class AntlrString for simplicity.
Moreover, I added a few more tests for safety.
Closes: #84.

@rultor merge

@rultor merge

@volodya-lombrozo OK, I'll try to merge now. You can check the progress of the merge here.

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 10min).


Could not add link chip0: operation not supported

hi, my linux vm setup get in trouble
some log
DEBUG: (utun5) 2022/06/03 01:59:00 Setting up Wireguard on Docker Desktop VM
Creating WireGuard interface chip0
Could not add link chip0: operation not supported
Assigning IP to WireGuard interface
Configuring WireGuard device
Failed to configure wireguard device: file does not exist
Setup container complete

https://github.com/chipmk/docker-mac-net-connect/blob/59f4bdb597df6e493cf3ccfc21eecedc548467ab/client/main.go#L86

software info
OS: Monterey 12.3.1
Docker Desktop 3.3.3

Can you take a look? Looking forward to your reply，thanks

Hey @lslz627, thank you for reaching out. I was able to reproduce your issue by installing Docker Desktop 3.3.3.
After going through each Docker Desktop version one-by-one, I've finally determined that the issue is related to the Linux kernel version. Docker Desktop 3.3.0 - 3.5.2 uses kernel version 5.10.25-linuxkit which doesn't appear to load the WireGuard kernel module by default. Tested using:
$ ip link add dev wg0 type wireguard
RTNETLINK answers: Operation not supported

I wasn't able to manually load it either:
$ modprobe wireguard
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/5.10.25-linuxkit/modules.dep.bin'
modprobe: FATAL: Module wireguard not found in directory /lib/modules/5.10.25-linuxkit

The issue is fixed in Docker Desktop 3.6.0+ which uses kernel version 5.10.47-linuxkit:
$ ip link add dev wg0 type wireguard
$ ip a
...
9: wg0: <POINTOPOINT,NOARP> mtu 1420 qdisc noop state DOWN group default qlen 1000
    link/none

Is there any reason you are using an older version of Docker Desktop? Upgrading to at least 3.6.0 should solve your problem.
I did a deep dive into linuxkit commit history to try to determine what exactly changed between 5.10.25 and 5.10.47, but unfortunately it wasn't clear when this actually happened (first appearance of 5.10.x was already at 5.10.34). Perhaps Docker Desktop used a forked version of linuxkit (you can see they publish their docker/for-desktop-kernel separately from linuxkit/kernel), which unfortunately they don't provide the source code for.
Let me know if this helps you move forward or if you have any other questions.

@gregnr Thank you for taking the time to look at my problems，I have upgrade my docker to latest version ( 4.8.2 ) by your remaining and now it's ok
Thanks for your information and for being so helpful, Really appreciate 👍


fix: Secure cluster-internal port with HTTPS

Description
The goal of this PR is to protect cluster-internal port(used to get central diagnostic data in ACSCS) with HTTPS. This is due to the fact that central diagnostic data is sensitive and shouldn't be unencrypted.
We reuse mTLS certificate here as we don't care if caller trusts our certificate or not - we only use it for encryption.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed

Deployed stackrox locally
Adjusted ROX_MANAGED_CENTRAL to true
port-forward to Central
curl https://localhost:9095/diagnostics does not work, while curl --insecure https://localhost:9095/diagnostics returns diagnostic data

/retest


Configuration should be immutable

Expected behavior
Configuration should be immutable. Being able to update the configuration of the Pulsar instance by using provided set methods is not safe for the program. It also isn't consistent. Some changes have an effect, some do not.
Actual behavior
The current implementation is mutable.
System configuration
Pulsar version: 1.14
I would like to suggest Typesafe Config library: https://github.com/typesafehub/config.
It's written in Java, supports simple values, as well as lists (no sets), env variable expansion and more.
There would be a number of changes required in unit tests. Some of the unit tests mutate a single configuration instance. Preferably, all tests should run on a clean environment.
I have done some preliminary work on this but I'd need merge master into it and make sure all tests pass.
Generally, if Typesafe Config is an acceptable option, I'd be happy to take this one.

Typesafe config looks like a very nice written library.
For broker config, I'd be ok to use it to populate the ServiceConfiguration. I'd like to maintain to have a single point to have to update when adding a new config variable. Currently, ServiceConfiguration is a pojo, and you just need to add a new variable with default value and example in conf/broker.conf.
Alternatively, what about having ServiceConfiguration with only getters and adding a ServiceConfigurationBuilder?

Pushed the branch to remote but no pr, just so you can have a look. The most interesting points:

ServiceConfiguration wraps and instance of Typesafe Config: https://github.com/radekg/pulsar/blob/7f58a69a2b51c1b3dfca7e03438e9cd1ec5a3afe/pulsar-broker-common/src/main/java/com/yahoo/pulsar/broker/ServiceConfiguration.java
pulsar-broker-common/src/main/java/com/yahoo/pulsar/broker/ServiceConfigurationLoader.java is gone, not required
config takes the following form: https://github.com/radekg/pulsar/blob/7f58a69a2b51c1b3dfca7e03438e9cd1ec5a3afe/pulsar-broker-common/src/test/resources/broker.conf
config init: https://github.com/yahoo/pulsar/compare/master...radekg:immutable-config?expand=1#diff-b9da9463a373b0b19d516884fb70c189R33
an example of setting up configuration for a test: https://github.com/yahoo/pulsar/compare/master...radekg:immutable-config?expand=1#diff-0a160247a547f35234439402e845f463R83 (it can be set up from the resource, this is what the final PR would be)
overriding config from a base test class: https://github.com/yahoo/pulsar/compare/master...radekg:immutable-config?expand=1#diff-00841fa6f00fe82dab598394fc501144R107

This isn't a finished PR, tests need much more work. Also, the validation of minValue and maxValue isn't implemented but would be rather straightforward to implement.
To comply with what Typesafe Config needs, we would have to add reference.conf file to the resources.
Have a look, let me know what you think.

For config file, would it be possible to maintain the same java properties format? That would keep it consistent with the other config files (client, bookkeeper, ..). It seems the only change is right now the pulsar {....} enclosing namespace.
I think that having to specify the config var name (either a string or a constant), makes a it bit more complicated to configure programmatically, since you have to lookup for the list of allowed variables, while with setters it's easy to discover all the options.

But other than the 2 notes above, it seems nice to combine multiple config sources

@merlimat I'd suggest using the hocon format across all configuration. The reason is that if someone builds software where Pulsar is only one of the components using Typesafe Config, they can single hocon file for all their components. We can keep the properties look and feel but, at least, I'd suggest prefixing all settings with pulsar. to give them a namespace.
As for having to know the property names, yes, this is slightly inconvenient but, I think, you are looking from the perspective of unit tests. Preferably, all configuration variants would come as a separate .conf file. Combined with a reference.conf, everything is covered. However, if that is not enough, we can always implement a builder which would construct the necessary properties. The base is what it is, how config properties are constructed, we can change that to a friendlier looking version.
Shall I come up with a full PR?

I would rather not break the config file compatibility unless is really necessary. Also, the other concern is that bookkeeper.conf and zookeeper.conf will still be in Java properties format and that cannot be easily changed.


Do not bind the touch handlers if we are not showing ripple effects

Fixes #8443

@NLincoln Thanks!


Support multiple time servers

With this PR, it will be possible to specify multiple time servers:
master:~ # ceph-salt config /time_server ls
o- time_server ....................................................... [enabled]
  o- external_servers ...................................................... [1]
  | o- pool.ntp.org ...................................................... [...]
  o- servers ............................................................... [2]
  | o- node1.ses7.test ................................................... [...]
  | o- node2.ses7.test ................................................... [...]
  o- subnet ................................................... [<IP_ADDRESS>/24]

Note that this PR changes pillar structure, but ceph-salt does not support automatic pillar structure updates yet, which means that if you are upgrading from a previous ceph-salt version you need to re-configure timeserver or do the following replace in /srv/pillar/ceph-salt.sls manually:
Before:
server_hosts: <host>

After:
server_hosts:
- <host>

The config node was renamed too:
Before:
> /time_server/server_hostname

After:
> /time_server/servers

Fixes: https://github.com/ceph/ceph-salt/issues/426
Signed-off-by: Ricardo Marques<EMAIL_ADDRESS>

README must be updated

README must be updated

Done


Fix VS2022 preview key

I committed correct key on my fork(29e7827ee9dcc298cb9327d519ee6162e19c8d66) and invalid one on previous PR https://github.com/beatcracker/VSCELicense/pull/15 , my apologies😢

No problem, this is experimental branch anyway ;).

Let's see if it works for #14 .


READ and WRITE with array elements

Should this work?
DIM arr(2) AS BYTE
arr(0) = 5
arr(1) = 6

OPEN 1,8,2,"test,s,w"
WRITE #1, arr(0)
WRITE #1, arr(1)
CLOSE 1

DIM arr2(2) AS BYTE

OPEN 1,8,2,"test,s,r"
READ #1, arr2(0)
READ #1, arr2(1)
CLOSE 1

PRINT arr(0), arr(1)
PRINT arr2(0), arr2(1)

It should and with the above fix it works :-)

I am still getting wrong results (but different). I think this bugfix should already be in the binaries also...

Did you update the files in lib/ as well?

I did git pull for release/v3.1

Interesting.... it works for me

I'm sorry for lowering @orlof 's mood even more, but... it works for me too, on Windows no less! 😃

(I got the 18/09/2022 branch through the "boomer way", "Download ZIP" from the release/v3.1 branch)

After scratching my head for 30 minutes - deleting, cloning, setting paths, configuring editor, changing VICE -> it suddenly started to work. I still don't know what fixed it, but the problem was clearly in my setup.


Documentation bug: HTML for .basic.modal doesn't match actual HTML

In the Modal documentation, the HTML displayed for a basic modal:

    Archive Old Messages

Your inbox is getting full, would you like us to enable automatic archiving of old messages?

        No

        Yes

is actually different from the HTML that is executed upon:

      Archive Old Messages

Your inbox is getting full, would you like us to enable automatic archiving of old messages?

        No

        Yes

Not a huge deal, but I wanted to emulate that particular look and had to delve into the actual source code of the page to find the code.

+1  oh~ you saved my time!

Fixed with Semantic-Org/Semantic-UI-Docs#247.


Each build needs to generate its own bios file.

Each build needs to generate its own bios file.

This was fixed.


Multipart: can't upload JSON with image

Hi.
I'm trying to execute a POST and a PUT request where I do upload a JSON with, as well, an image file.
Version of the library: 4.0.4
App built for: Windows
Flutter doctor output:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.10.3, on Microsoft Windows [Version 10.0.19044.1586], locale it-CH)
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.7)
[!] Android Studio (not installed)
[√] IntelliJ IDEA Community Edition (version 2021.3)
[√] VS Code (version 1.63.2)
[√] Connected device (3 available)
[√] HTTP Host Availability

Code
final String urlSuffix, httpMethod;
      if (id == null) {
        urlSuffix = contactsUrl;
        httpMethod = 'POST';
      } else {
        urlSuffix = singleContactUrl.replaceFirst(':id', id);
        httpMethod = 'PUT';
      }
      final data = FormData.fromMap({
        'data': MultipartFile.fromString(
          await compute(jsonEncode, contact),
          contentType: Headers.jsonMimeType,
        )
      })
      if (contact.image != null) {
        data.files.add(MapEntry(
          'image',
          MultipartFile.fromBytes(contact.image!.toList()),
        ));
      }

      final response = await client.request(
        '$baseUrl/$urlSuffix',
        data: data,
        options: Options(method: httpMethod),
      );

The image payload is simply ignored while, if I pass the JSON as field (instead of file), I get the same as in https://stackoverflow.com/questions/68799973/cannot-send-dio-post-request-with-multiple-form-data-body-json-and-image-with-fl
(which is expected given the API).

Try to pass the filename parameter when creating a MultiartFile., the filename should indicate the file extension, e.g., filename.png. By indicating the file extension, the server should be able to decode data correctly.
If not provided filename, the payload of files in a form data would be:
content-disposition: form-data; name="field"<...>
By giving a filename.ext, it would be:
content-disposition: form-data; name="field"; filename:"filename.ext" <...>

Hi.
After almost a year, it's hard to me to provide any feedback on this, but passing the an extension looks wrong to me.
In the end, even if the bytes are representing an image, what I wanted to upload there was a byte array (application/octet-stream).
Moreover, uploading the image alone works even without the extension (that's how I "solved" it at the end), which would make all this inconsistent.

Hi. After almost a year, it's hard to me to provide any feedback on this, but passing the an extension looks wrong to me. In the end, even if the bytes are representing an image, what I wanted to upload there was a byte array (application/octet-stream). Moreover, uploading the image alone works even without the extension (that's how I "solved" it at the end), which would make all this inconsistent.

That is so weird.
Could you provide the payload (captured from the browser network console/dart network tool) of the request when sending JSON fields and image files together?
The payload format of form data should be like as:
----dio-boundary-1865654818
content-disposition: form-data; name="test"

dio
----dio-boundary-1865654818
content-disposition: form-data; name="single"; filename="demo.jpeg"
content-type: image/jpeg

(file data)
----dio-boundary-1865654818--

Personally, it may be because the server side just ignores the binary data since it has no idea how to decode the binary data into the original file. Therefore, by investigating what payload is sent may help us solve this problem.

Hi.
I don't have such a method anymore in the codebase. As I said, I then opted for the solution of splitting the JSON payload from the image itself, so I cannot reproduce this anymore.
If you want, you can find the full project at https://github.com/cdprete/phone-book and the Docker images are already available at https://hub.docker.com/u/cdprete (so that maybe you can spin up just the UI).

By the way, now that I'm thinking back at this, I've just remember the initial idea was to be able to upload the image as octet-stream together with the JSON.
Basically, to reproduce the same as described in the first example in https://swagger.io/docs/specification/describing-request-body/multipart-requests/
I also remember trying with a fixed filename with a fixed extension (PNG to be precise), but keeping the application/octet-stream as content type, with no luck.


does the latest nova / openstackclient work with rackspace?

im trying to use supernova with rackspace but after i upgraded the clients i always get 401's
but rack-cli works fine, thus i cant use novaclient / supernova anymore or openstackclient with rackspace cloud....
cant find any bug reports about this also

Using parameters {'username': '_', 'project_id': '_', 'password': '***', 'auth_url': 'https://identity.api.rackspacecloud.com/v2.0/'}
Get auth_ref
REQ: curl -g -i -X GET https://identity.api.rackspacecloud.com/v2.0/ -H "Accept: application/json" -H "User-Agent: python-openstackclient keystoneauth1/2.5.0 python-requests/2.9.1 CPython/2.7.11"
RESP: [200] Content-Length: 307 Content-Encoding: gzip vary: Accept, Accept-Encoding, X-Auth-Token X-NewRelic-App-Data: PxQGUF9aDwETVlhSBQgFVUYdFGQHBDcQUQxLA1tMXV1dORYzVBJHNQFUZAQUFVFQVThOAVhcGRQFUl1AEgcABx4LXA8WWURbHRdcEl4UQQEBGFQNCRZcHUZWUUx0XVgTAAMGZQcUEAtfDGoHS1dBQFAAZU5WBEchCFlCBVRTblZCFwgNWXhZAAsTGgNMVk9SHlIJVA0JBR4eVBVDBQUDUwFSAldWUl0BUwAHVBVs Server: nginx Connection: keep-alive Front-End-Https: on Date: Wed, 13 Apr 2016 13:27:36 GMT Content-Type: application/json
RESP BODY: {"version":{"id":"v2.0","updated":"2012-01-21T11:33:21-06:00","status":"CURRENT","links":[{"rel":"self","href":"https://identity.api.rackspacecloud.com/v2.0"},{"rel":"describedby","type":"application/pdf","href":"http://docs.rackspacecloud.com/auth/api/v2.0/auth-client-devguide-latest.pdf"},{"rel":"describedby","type":"application/vnd.sun.wadl+xml","href":"http://docs.rackspacecloud.com/auth/api/v2.0/auth.wadl"}],"media-types":{"values":[{"base":"application/xml","type":"application/vnd.openstack.identity+xml;version=2.0"},{"base":"application/json","type":"application/vnd.openstack.identity+json;version=2.0"}]}}}
Making authentication request to https://identity.api.rackspacecloud.com/v2.0/tokens
Request returned failure status: 401
Unauthorized (HTTP 401)
clean_up ListServer: Unauthorized (HTTP 401)

There are some bugs somewhere in novaclient and the rackspace-novaclient packages.  There's not much I can do within supernova to get around that.  I'm looking for a workaround in the clients now.

Ok thanks guess its not just me then :)
On Apr 13, 2016 9:45 PM, "Major Hayden"<EMAIL_ADDRESS>wrote:

There are some bugs somewhere in novaclient and the rackspace-novaclient
packages. There's not much I can do within supernova to get around that.
I'm looking for a workaround in the clients now.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/major/supernova/issues/110#issuecomment-209447059

i was able to get it working again by installing python-novaclient 2.35 , any version >= 3.0 causes 401's
first i uninstalled python-novaclient, then installed it at version 2.35
pip uninstall python-novaclient
pip install -I python-novaclient==2.35

i could not install rackspace-novaclient normally since it kept installing the latest python-novaclient
is it even needed if im using supernova?
i could install rackspace-novaclient by ignoring the dependencies
pip install --no-dependencies rackspace-novaclient

now supernova works again with rackspace
funny thing is the openstackclient still gets 401's,
im wondering what is special about the rackspace authentication that makes it different from regular openstack?
also does supernova use rackspace-novaclient if installed and then python-novaclient next?

Note that there is another unrelated reason why latest nova may not work with rackspace ... or rather, will not work until they handle rackerlabs/rackspace-novaclient#23 ...


FluentUI blazor web app,Content-Security-Policy problem

There is a problem in FluentUI blazor web app. When I add Content-Security-Policy as in this link https://learn.microsoft.com/en-us/aspnet/core/blazor/security/content-security-policy?view=aspnetcore-8.0, all control views are broken.
I add the following lines to App.razor.

Thank you

Duplicate. See #2783


Changing section dummy text

Guys, how to change the predifined "dummy" text of sections and keep the changes when updating MW?.

I believe you can do this with translations.
Go in the translation settings, find the text and change it to what you want in the language you are using.
It's a bit scruffy to translate a text to something completely different, but besides this option, you can only change the text in the skin.php file which would overwrite when the template updates.

Hi, we have changed the text in the default template in this commit https://github.com/microweber-templates/new-world/commit/6ebeabb674223a7d9f27224c3fe8944229d9cd0a  and will release update soon

Thanks guys, closing this one.


Zelda Return of the Hylian license

http://www.zeldaroth.fr/us/zroth.php does not seem to have a suitable license.
Contact author(s) and ask for possibility of getting such a license.

I sent a message to the webmasters of the site (http://www.zeldaroth.fr/us/team.php).

After almost two months without a reply, I give up.


docker systemD startup

https://www.devopsschool.com/blog/how-to-change-the-cgroup-driver-from-cgroupfs-systemd-in-docker
https://www.ibm.com/docs/en/cloud-private/3.1.1?topic=ts-changing-cgroup-driver-systemd-red-hat-enterprise-linux
https://youtu.be/sK5i-N34im8

started to review need systemd running to use docker


Add disabled state for file loader

PR Checklist

[x] Visual and behavioral components are separated
[x] Exported components are documented with examples
[x] Props have JSDoc comments
[x] All relevant visual sub-components can be overridden via props
[x] Any extra props are spread into the outermost rendered element

Breaking Changes

None

Changes to Existing Components

FileLoader disabled state was not functional. I updated the Dropzone library to support the disabled prop and fixed the styling.

New Visual Components

None

New Behavioral Components

None

@a-type Might be a good idea to fix the underline of CLICK TO BROWSE actually.


Fix kernel settings

journalctl:
kernel: ioremap error for 0x3f481000-0x3f482000, requested 0x2, got 0x0
kernel: ucsi_acpi: probe of USBC000:00 failed with error -12

This seems already disappeared, closing.


support for mega.nz

none of the mega open source sync clients do actual syncing... therefore it would be nice to have mega support in rclone :)

There looks to be quite a complete go library which is promising!

+1, I use Mega for a few backups since it gives 50GB free, and it would be nice if rclone supported it.

+1

+1 that would be awesome !

+1 I have a lot of content on mega and it's encrypted by default.

+1

+1

+1

free space GB/upload speed MB/SEC/download speed MB/SEC:
mega.nz 50/2/8
hubic 25/1/1.2
so mega.nz should be added :)

+1

+1

+1

FYI
https://www.reddit.com/r/linux/comments/5qmqgi/mega_disclosing_the_source_code/

Yes please

+1

+1
SDK of the mega service is available here https://github.com/meganz/sdk

+1

+1
Please

Yes, please use the thumbs up button instead.

+1

I would love this :) 3+TB on mega and having this feature would make migration so much easier

Online Service to added: mega.nz
Found this awesome github repo: "https://github.com/t3rm1n4l/go-mega"
It is written in go, and all the basic functionality of rclone is already made; hope you can create a wrapper for it.

+1

+1

+1

+1

+1

There's already a fuse mount for MEGA here: https://github.com/matteoserva/MegaFuse (Which could be ported to Go & rclone so we get the awesome featureset of rclone and the familiar (and really great) config system and known commandset for sync, copy etc...
The fact that there's already a FUSE mount is great, then we can determine how the API is to be used for FUSE mounting already :)

+1 for mega support

+1

+1

+1

+1

@ncw, could you please clean up the thread, or lock it?

@dessant Why don't you just unsubscribe from this thread?

@chmercesmoreira, because I am interested in the feature, and its progress.

@dessant Good point.

Please add mega support.

Well, guys, should I wait or nobody just cares about mega.nz support? That'll be just great!

I have been working on mega.nz support - I'm planning to get it into 1.40, but I'll post a beta here in a week or two.
I have taken over maintainership of the go library so I can put the features rclone needs into it.  I have a working remote now, but it needs some work doing before I can send it out to test.

Is there an update for this?

@afarazit after 1.39 is released I'll post a beta for people to try

Is there any stable build already with this feature?

+1

+1...Any news?

+1

It is not worth the hassle anymore. When you sign up to MEGA you will get 50gb, but after 30 days you will lose 35GB of it. For more information look here:
https://www.reddit.com/r/megalinks/comments/6ehzhl/meta_mega_moving_away_from_50gb_free_storage_to/

@avigard ridiculous - why don't they just offer 15GB... Any ideas what happens if you upload a 50GB file? Lol.

@avigard @maxisme Nonsense. It's still 15 GB, which is more than starting 2 GB on Dropbox. It's still 50 GB for old account owners, i.e. probably most of them. And that's only for free. It's not like paid customers magically can't use rclone, or wouldn't want to.
I'd be very happy to see Mega support in rclone.

+1

Here is the first beta of a backend for rclone with mega.nz support.
Here are the docs for the mega backend.
This uses the go-mega library which I've become a maintainer for.  I've fixed it up for use with rclone.  The mega protocol is undocumented save for their open source C++ program (which isn't easy to follow!) so I expect there are many bugs in the backend.  It does, however, pass all of rclone's integration tests.
If anyone would like to test, please feel free.  If you find a bug, probably better to open a separate issue with instructions on how I can reproduce the problem and and a log.
I'm aiming to merge this in time for the 1.41 release (due at the end of April) if there aren't too many problems with it!
https://beta.rclone.org/v1.40-064-gce770478-mega/

Here is the next version of the code - fixes

corrupted uploads when setting --transfers high
creating multiple directories
opening too many sockets
lots of races!

https://beta.rclone.org/v1.40-071-g681edcdb-mega/ (uploaded in 15-30 mins)

I've merged this to master here
https://beta.rclone.org/v1.40-093-g1f255a85/ (uploaded in 15-30 mins)
and it will be in the latest beta from now on and in the 1.41 release!

I'm going to close this issue now :-)  If anyone finds any bugs, please make a new issue - thanks.


Bolt made ready for production

I just tried bolt for the first time today and it's amazing. It's sad to see that it isn't getting much development. This should really replace the default Realtime Database rules. It would be an incredible way to refresh an already great product.
Someone mentioned security problems with Firebase RTDB rules in another issue and I can personally agree. My RTDB had minimal security built in because it is impossible to maintain. With Bolt my security and consistency is<PHONE_NUMBER> times better with a huge improvement in maintainability. There IS NO COMPARISON between Bolt and RTDB JSON rules.
I should also note that I have never touched Typescript, which seems to have some similarities to Bolt, and it was easy enough to jump in.
I'd like to see someone release a basic Intellisense/lint/auto format package for VSC as well as setup RTDB rules in console to accept bolt right out of the box, as well as get a seal of approval for being production ready.
I don't care what app you're building, there is ALWAYS a use for RTDB, and Bolt makes it that much better.

"It would be an incredible way to refresh an already great product."
Yes please do not let bolt and rtdb bitrot.


wrap all strings in {% translate %}

fixes #6
Note the project does not have any language files or other i18n setup currently.  (Follow-up issue?)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
32

Relevant Lines:
39

💛  - Coveralls


Can Multipart be mixed with other RequestOptions except form_params

In the documentation http://docs.guzzlephp.org/en/latest/request-options.html#multipart it states that multipart cannot be mixed with form_params. Could this be an error in the documentation and the truth be that multipart cannot exist with any other option?
I have attempted to mix query request time and only the query request is passed. And someone on Stack Overflow also attempted this with json and only the json was passed.

You cannot use multipart with any other body related request option. For example, you can't use it with form_params, body, or json.


Off by one cursor placement after copypasting

When copypasting text anywhere (tested commands and insert mode) the cursor shifts with the copypaste but it's one character too little.
For example with | signifying current cursor position after I have written hello | and paste in iamb the current text will be hello iam|b instead of the correct hello iamb|. Continuing to type after this would not insert text after the paste but before the paste's last character which would break any pasted words or links.
Iamb version: the latest git commit, though this is not new issue as I've had this for over a year by now.
OS: Linux / Debian Testing
Terminal: kitty 0.34.1

I fixed this in ulyssa/modalkit#146. I've updated the modalkit dependency to pull it in in #319.


pom.xml ?

Sorry if this is a silly question. Is there supposed to be a pom.xml  for Maven to use for the build?

The project was moved from Maven to Gradle a few weeks before open sourcing.

Closing -- Please build the project using using the command ./gradlew build


Uncaught TypeError: e.target.closest is not a function

[Enter steps to reproduce:]

Drag file from one folder to another
See error output

Atom: 1.21.1 x64
Electron: 1.6.15
OS: Mac OS X 10.12.6
Thrown From: Atom Core
Stack Trace
Uncaught TypeError: e.target.closest is not a function
At /Applications/Atom.app/Contents/Resources/app/node_modules/tree-view/lib/tree-view.js:1508

TypeError: e.target.closest is not a function
    at TreeView.module.exports.TreeView.onDragStart (/Applications/Atom.app/Contents/Resources/app/node_modules/tree-view/lib/tree-view.js:1508:34)
    at HTMLDivElement.<anonymous> (/Applications/Atom.app/Contents/Resources/app/node_modules/tree-view/lib/tree-view.js:239:30)

Commands

Non-Core Packages
atom-ctags 5.1.2
busy-signal 1.4.3
goto-definition 1.3.4
hard-wrap 1.1.0
highlight-selected 0.13.1
intentions 1.1.5
language-stylus 0.2.0
linter 2.2.0
linter-coffeelint 1.3.1
linter-jsonlint 1.3.0
linter-stylint 2.2.8
linter-ui-default 1.6.10
pretty-json 1.6.4
sort-lines 0.18.0

Thanks for taking the time to contribute!
Based on the stack trace, I think this is a duplicate of https://github.com/atom/tree-view/issues/1088?  @hdavidzhu can you let us know in that issue if you can reproduce in safe mode?  If so, can you share more detailed steps to reproduce or share a GIF or screencast of the behavior?

We noticed that this is a duplicate of https://github.com/atom/tree-view/issues/1088. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Cluster icon does not update

Describe the bug
Setting a new cluster icon does not take effect until restarting the app
To Reproduce
Steps to reproduce the behavior:

Go to Cluster Settings -> General
Click on '...' and select "Upload Icon"
Select an icon (.png) and click "Open"

Expected behavior

Selected icon should be shown in place of previous icon for the cluster
Dropdown menu from ... (Upload Icon, Clear) should disappear

Actual behavior

Icon not changed
Dropdown menu still present

Environment (please complete the following information):

Lens Version: 5.3.2-latest.20211201.1
OS: [e.g. OSX] macOS 10.15.7
Installation method (e.g. snap or AppImage in Linux): DMG

Additional context
New icon appears after quitting and relaunching Lens

This is a regression of https://github.com/lensapp/lens/pull/3928 because of https://github.com/lensapp/lens/issues/3841


Traits prototypes (early stage)

About the PR
First step in character traits implementation just like in original SS13.
Traits should rely on genetics once this is implemented and vary from round-start ones to obtainable via mutations or other events.
Right now there is no functionality implemented aside from what is in the changelog
Screenshots

Changelog

:cl: Traits

add: Added Trait prototype, trait settings, localization and yml examples.
add: Added GUI in Humanoid Profile screen.
add: Added database support.

Existing database (if used on live server) needs to be altered by adding a 'trait' table by executing the following SQL query.
SS14 server does this only when creating a new db so run this.
CREATE TABLE "trait" (     "trait_id" INTEGER NOT NULL CONSTRAINT "PK_trait" PRIMARY KEY AUTOINCREMENT,     "profile_id" INTEGER NOT NULL,     "trait_name" TEXT NOT NULL,     "setting" INTEGER NOT NULL,     CONSTRAINT "FK_trait_profile_profile_id" FOREIGN KEY ("profile_id") REFERENCES "profile" ("profile_id") ON DELETE CASCADE )

try and get PJB to review the DB since i have nfi about any of it

also the changelog can be removed/simplified, we try and only put user-facing stuff there
the bit after :cl: is supposed to be the author name as well, that can be removed since it uses github username by default

Existing database (if used on live server) needs to be altered by adding a 'trait' table by executing the following SQL query.
SS14 server does this only when creating a new db so run this.

Isn't the whole point of migrations that we don't have to do this

Existing database (if used on live server) needs to be altered by adding a 'trait' table by executing the following SQL query.
SS14 server does this only when creating a new db so run this.

Isn't the whole point of migrations that we don't have to do this

You either run a command in the terminal (dotnet ef database update) or call migrate in the code upon connecting to the database yes, assuming you created a migration beforehand with dotnet ef migrations add name


chore: use fstrings

Towards https://github.com/python-poetry/poetry/issues/4776

[ ] Added tests for changed code.
[ ] Updated documentation for changed code.

thanks @danieleades, hopefully this is more readable


Add retry functionality to cards fetching screen

As a user, I want to be able to know if the app is stuck fetching cards and be able to do something.
Acceptance criteria: Change user interface as per design below and add a Retry button for user to keep trying to fetch data.
Add "Last synced" info for further information, if the problem is reported to us for support.

See #269 for Error state functionality.

#287 needs to implement this state

close. open new issue related to #310


[BUG]: Poetry can't be found until the terminal is re-opened.

Description of the Bug
Title.
Steps To Reproduce
No response
Additional Information
No response

Will remove poetry, this will no longer be relevant.


Hello World Solana on-chain question.

Hi Again @unloved
I can now send test SOL back and forth between accounts thanks to you.    Much appreciated.
Does your gem support deploying on-chain programs like hello world, which I have already compiled using the solana-cli.
-rwxr-xr-x  1 tim  staff  3784 Jun 23 17:34 helloworld.so

Do you mind to outline how to send this using your gem?
Thanks you.

Also, FYI, I already deployed hello world using the `solana-cli'.
I guess my "real question" is how to others engage with this on-chain program using your gem?
macos$ solana program deploy /Users/tim/c/example-helloworld/dist/program/helloworld.so
⠙ [0/1] Finalizing transaction 4wnHtMkrRdBJa5yBYEJPQK15jrTkgiKDHvkixGjzt9PQrJPrMgWAvRrt3D5ZQAYsUqJ4yKZK3R8iVFzHSZN9j8Fo
Program Id: 67mPYhRBVCByzLvaeb1AqDdJrYaUXXMqsW7YUPjyfYbx

Update
Tried the above idea (using the address of the program and 0 lamports) and the error was:
parse source {"jsonrpc":"2.0","error":{"code":-32002,"message":"Transaction simulation failed: Transaction loads a writable account that cannot be written","data":{"accounts":null,"err":"InvalidWritableAccount","logs":[],"unitsConsumed":0}},"id":1}

each program(or method in it) has its own list arguments and values that are encoded in specific way. The best approach is make a specific class for your own program based on Solana::Program::Base and specify parameters and types in it
take a look how transfer_instruction implemented in system program
https://github.com/bitzlato/ruby-solana/blob/c0d302395f70015f1368fc504f3ea93458754c4a/lib/solana/program/system.rb

Thanks.  I  spent time reading and checked out the code but I still cannot figure out how to send a message to "Hello World" after it has been deployed with the  cli :)
I must be dense ... :(

Using the program info above, and your suggestions @unloved , I tried this new class below but get this error below, but the program id is correct.
Any ideas?
 {"jsonrpc":"2.0","error":{"code":-32002,"message":"Transaction simulation failed: Error processing Instruction 0: incorrect program id for instruction","data":{"accounts":null,"err":{"InstructionError":[0,"IncorrectProgramId"]},"logs":["Program 67mPYhRBVCByzLvaeb1AqDdJrYaUXXMqsW7YUPjyfYbx invoke [1]","Program log: Helloworld C program entrypoint","Program log: Greeted account does not have the correct program id","Program 67mPYhRBVCByzLvaeb1AqDdJrYaUXXMqsW7YUPjyfYbx consumed 293 of 200000 compute units","Program 67mPYhRBVCByzLvaeb1AqDdJrYaUXXMqsW7YUPjyfYbx failed: incorrect program id for instruction"],"unitsConsumed":0}},"id":1}

module Solana
  module Program
    class HelloWorld < Base
      PROGRAM_ID = '67mPYhRBVCByzLvaeb1AqDdJrYaUXXMqsW7YUPjyfYbx'
      SYSVAR_RENT_ID = 'SysvarRent67mPYhRBVCByzLvaeb1AqDdJrYaUXXMqsW7YUPjyfYbx'

      INSTRUCTION_LAYOUTS = {
        # transfer
        2 => {
          instruction: :uint32,
          lamports: :near_int64
        }
      }

      class << self
        def transfer_instruction(from_pubkey:, to_pubkey:, lamports:)
          fields = INSTRUCTION_LAYOUTS[2]
          data = encode_data(fields, {instruction: 2, lamports: lamports})

          keys = [
            { pubkey: from_pubkey, is_signer: true, is_writable: true },
            { pubkey: to_pubkey, is_signer: false, is_writable: false}
          ]

          represent(keys, data)
        end
      end
    end
  end
end

Running like so... (masked out private key info)
      def self.hello_world
            keypair_bytes = [my,key,pair,bytes,all,64,of,them].pack('C*')
            private_key_bytes = keypair_bytes[0, 32]
            from_key =  Solana::Key.new(private_key_bytes)
            puts "FROM KEY #{from_key.address}"
            program_addr = '3vXCwSdbYt7rPe6JFEdc2JcCQDS1XYN1ZAFUdzMyRCfh' # Hello World Address
            lamports_to_send = 0
            tx = Solana::Tx.new
            instruction = Solana::Program::HelloWorld.transfer_instruction(from_pubkey: from_key.address, to_pubkey: program_addr, lamports: 0)
            tx.add(instruction)
            client = SolanaClient.new
            client.get_recent_blockhash
            tx.recent_blockhash = client.get_recent_blockhash
            tx.fee_payer = from_key.address
            tx.sign([from_key])

            status = client.send_transaction(tx.to_base64)
            puts "STATUS: #{status}"
          end

Getting this error:

Closing this topic as not to annoy the developer.
Thank you for your help earlier.


Roll Flutter from e9f83cf4f9df to 4ee22ed2bdb4 (3 revisions)

https://github.com/flutter/flutter/compare/e9f83cf4f9df...4ee22ed2bdb4
2022-02-15<EMAIL_ADDRESS>Roll Engine from 4463cf40fed9 to 5f0271a38988 + Fix test (flutter/flutter#98479)
2022-02-15<EMAIL_ADDRESS>Roll Engine from 1b6755ce759a to 4463cf40fed9 (1 revision) (flutter/flutter#98519)
2022-02-15<EMAIL_ADDRESS>[flutter_tools] do not validate maven upstream if cloud storage override provided (flutter/flutter#98293)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Plugins: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Disable support self healing passive

Created by: MaxwellJung

moved from ow1_emulator_backup#720

mentioned in merge request ow1_emulator_backup!62


i can't play DRM content

brave has drm issue it won't play drm content,Widevine is enabled in the settings but it won't work i get an error (playback of protected content is not enabled)i think google chrome has this problem to,is there a fix for it?and how u play drm protected content it seems all browsers having this issue.

Widevine is enabled in the settings but it won't work i get an error

Yep, this problem is also observed in Chrome. I see in chrome://gpu tab:
7848:7836:1111/181439.928:ERROR:gl_display.cc(497)] : EGL Driver message (Error) eglCreateContext: Requested version is not supported


[Sprint: 45] [Backport] Remove rehydrating the ExecutionContext when launching a job.

When a custom job is launched, the classpath for the custom job is not
available to the JobLauncher.  Because of this, if there are custom
classes that have been serialzied in the EC, a ClassNotFoundException is
thrown.  Since the EC isn't needed to launch a job, this fix removes the
rehydration of the EC by the launcher.
XD-2486

LGTM, merging.

Rebased and merged into master ea9804ace90a65357f0cea6c76d0e49b44031569 as well as 1.1.x 0ffe510c90ce2ad8547fbe2c823bf0115306224f


removed GROUP BY requirement for grouping functions

Pull Request Test Coverage Report for Build 9

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.903%

Totals

Change from base Build 8:
0.0%

Covered Lines:
2344

Relevant Lines:
2370

💛  - Coveralls


[improvement wanted] Recipe timeout

I'm trying to write a new recipe (installing Hue). It seems ok comparing
to existing recipes. However, when I run it with Cloudbreak I got an error:
Cluster installation failed. Error: Operation timed out. Keys not found or don't have the expected value 'FINISHED'.
After many tries and looking through Cloudbreak code I'm guessing that
you set a 1 minute time-out for a command in recipe. Am I right?
How can anything be installed then with such a small timeout? My
makefile takes about 7-8 minutes to execute and I can imagine that other
recipes developers would also be happy to have more flexibility in scripts.
I would suggest to change the timeout to 15, 30 or 60 minutes. I
understand that you might have introduced it to protect user from
command hanging. However, extending timeout with adding a feature of
"log to the event history window in Cloudbreak UI" would solve the
problem as well. In this way one can more easily track the progress of
recipe execution (terminating cluster manually if necessary) and hanged
command would finally terminate automatically.

#546 fixes the timeout issue:

there is a much longer default timeout for recipe execution (15 minutes)
timeout can be specified dynamically per recipe if the default value doesn't fit the use case

it will take a few days until the change will be out in the hosted version


Mount Kenya University

@victormwenda I am sorry, the domain mku.ac.ke is removed from our trusted domains list because the school allows to register an email address there even if you are not a student of the school. If you are the student of this school, please apply with official document (OFFICIAL DOCUMENT tab at https://www.jetbrains.com/shop/eform/students).


Log to file as well as immediate window

This PR adds functionality to write the same log messages to a file as well as to the VBA immediate window.

On reflection, I wonder whether the Debug.Print logic should be included in the LogWrite routine.
Also, I wonder if we should write the time-stamp to the immediate window also - and if so whether this should be through a separate boolean Public property.

Hi @Sophist-UK rather than include the file logging with VBA-Web, I'd recommend replacing the current logging with VBA-Log and then creating a standalone file logger that can be used with it. Also, I know you've had some qualms with Application.Run (rightfully so), so feel free to submit a PR to add/switch to CallByName
Example:
Dim FileLogger = New FileLog
Logger.LogFile = "..."

WebHelpers.LogInstance = FileLogger
WebHelpers.LogThreshold = 4

' -> CallByName FileLogger, "Log", vbMethod, Level, Message, From

Here's the related issue: https://github.com/VBA-tools/VBA-Log/issues/1

In principle I agree, however VBA-Log uses Application.Run for the callbacks which makes it inelligent but also incompatible with some Office applications. And that would have a knock on effect on VBA-Web compatibility.
BUT ... if we can merge the functionality i.e. to provide file logging as a standard part of VBA-Log which does not rely on callbacks, then we could have the best of both worlds.
That said, a change to VBA-Log would seem to be something for VBA-Web v5, and o perhaps we can include these changes in the interim in v4.

BTW, I cannot believe what VBA-Web has enabled me to achieve in Outlook. Happy to tell you offline if you want to correspond privately. (sophist at soldalis dot co dot uk)


Update meta description

Coverage remained the same at 100.0% when pulling 6424e2ad8c70fc144393352d9987a7dee945ca25 on update-meta-tags into 03bf9d0b6f9e5d0e0900b9ff364670c119e696a1 on master.

Coverage remained the same at 100.0% when pulling 7a8a631352a42b4c938b8b02629b0c9294c90559 on update-meta-tags into 03bf9d0b6f9e5d0e0900b9ff364670c119e696a1 on master.


[WIP] Refactor refresh new target to use save_ems_inventory

By adding the ability for save_ems_inventory to work with a nil target we can delete the specialized save_new_target method which only worked for RHEV VMs and replace it with the general save_ems_inventory method.
Now any links that the caller wants to be made can be made, and any linked inventory that doesn't exist will be created just like a normal save_inventory would, so we can get rid of the specific calls to find or create linked inventory here https://github.com/ManageIQ/manageiq/blob/c9e9ae107ecc16d13517f019c5616e33a268c1f7/app/models/ems_refresh/save_inventory_helper.rb#L157-L164
TODO: need to rework the RHEV EventParser.parse_new_target to return the correct hash format

@Fryguy this replaces save_new_target with generic save_ems_inventory for refresh_new_target, what do you think of the mode parameter to control the disconnects?  I think it would be cleaner to not do target = ems if target.nil? everywhere but that could have some nasty side-effects if a caller is relying on that.

@Fryguy this replaces save_new_target with generic save_ems_inventory for refresh_new_target, what do you think of the mode parameter to control the disconnects? I think it would be cleaner to not do target = ems if target.nil? everywhere but that could have some nasty side-effects if a caller is relying on that.

It feels quite invasive, so I'm not sure.  I can't see any other way to accomplish what you are trying to do though, so I'm good with it.

so, only RHV is using this currently anyway, right?

I'm planning on using it for https://github.com/ManageIQ/manageiq/pull/14460 as well

Could we trigger them to produce a spec for their use case in order to have this PR here failing

YES! I'm planning on adding a RHEV save_new_target spec using one of their events

Here is the associated ovirt PR https://github.com/ManageIQ/manageiq-providers-ovirt/pull/13
I'll add the tests for the ovirt event parser there, just need the RHV team to get an event hash

@blomquisg @durandom got a :+1: from the ovirt side, once https://github.com/ManageIQ/manageiq-providers-vmware/pull/55 is in this should be green
Can you guys review?

@blomquisg bump

@agrare seems vmware doesnt have parse_new_target?!

@durandom https://github.com/ManageIQ/manageiq-providers-vmware/pull/55 adds it


python lint errors

Linting python files...
************* Module deploy
hack/dev/kind/gitea/deploy.py:71:20: W3101: Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely (missing-timeout)
hack/dev/kind/gitea/deploy.py:103:15: W3101: Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely (missing-timeout)
hack/dev/kind/gitea/deploy.py:113:15: W3101: Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely (missing-timeout)
hack/dev/kind/gitea/deploy.py:127:15: W3101: Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely (missing-timeout)
hack/dev/kind/gitea/deploy.py:137:8: W3101: Missing timeout argument for method 'requests.delete' can cause your program to hang indefinitely (missing-timeout)
hack/dev/kind/gitea/deploy.py:144:15: W3101: Missing timeout argument for method 'requests.post' can cause your program to hang indefinitely (missing-timeout)
************* Module dev.ghapp_token
hack/dev/ghapp_token.py:85:15: W3101: Missing timeout argument for method 'requests.request' can cause your program to hang indefinitely (missing-timeout)

------------------------------------------------------------------
Your code has been rated at 9.75/10 (previous run: 9.75/10, +0.00)

which pylint versiond o you have? 🤔
i don't get this errorr and neither is the CI

pylint             2.15.4

I still can't reproduce :( event in a "clean" virtualenv :
% python3 -m venv .venv
% .venv/bin/python3 -mpip install pylint
Collecting pylint
  Downloading pylint-2.15.5-py3-none-any.whl (508 kB)
[...]
% .venv/bin/pylint ***/*py

------------------------------------
Your code has been rated at 10.00/10
% ./.venv/bin/pylint --version
pylint 2.15.5
astroid 2.12.12
Python 3.10.8 (main, Nov  1 2022, 14:18:21) [GCC 12.2.0]

Can you try pylint hack/dev/kind/gitea/deploy.py :)

yeah it works  and btw ***/*py in shell/zsh search and expand to every file
ending with py in every dir subtree....
% .venv/bin/pylint hack/dev/kind/gitea/deploy.py

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 0.00/10, +10.00)

% echo .venv/bin/pylint ***/*py
.venv/bin/pylint hack/dev/ghapp_token.py hack/dev/__init__.py
hack/dev/kind/gitea/deploy.py hack/upload-file-to-github.py

Message ID: <openshift-pipelines/pipelines-as-code/issues/947/1308539854@

github.com>

Linting go files...
Linting yaml files...
Linting markdown files...
Grammar check with vale of documentation...
Linting python files...

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

🙂


compilation errors in ephemeral models skip downstream models

Issue
Issue description
If a compilation error occurs in an ephemeral model, downstream models will be skip'd with no information about the original error. Instead, dbt should surface the error message from the ephemeral model.
Results
Models downstream of the ephemeral models are skipped, but no error is shown for the ephemeral model.
System information
0.11+

Fixed in #1053


Shape Error when running on CPU

Hi @sanchit-gandhi, thanks for creating this package but the example mentioned by you here: https://github.com/sanchit-gandhi/whisper-jax#model-usage doesn't work for me.
I am getting the shape error:
ScopeParamShapeError: Initializer expected to generate shape (1, 3, 80, 512) but got shape (3, 80, 512) instead for parameter "kernel" in "/model/encoder/conv1". (https://flax.readthedocs.io/en/latest/api_reference/flax.errors.html#flax.errors.ScopeParamShapeError)

This works though

from whisper_jax import FlaxWhisperPipline

# instantiate pipeline
pipeline = FlaxWhisperPipline("openai/whisper-base")

# JIT compile the forward call - slow, but we only do once
text = pipeline("audio.flac")

# used cached function thereafter - super fast!!
text = pipeline("audio.flac")

Hey @shub-kris - could you share the code that gave you the error? I can't reproduce

Here it is:
import jax.numpy as jnp
from datasets import load_dataset
from flax.jax_utils import replicate
from flax.training.common_utils import shard
from jax import device_get, pmap
from transformers import WhisperProcessor

from whisper_jax import FlaxWhisperForConditionalGeneration

# load the processor and model
processor = WhisperProcessor.from_pretrained("openai/whisper-base")
model, params = FlaxWhisperForConditionalGeneration.from_pretrained(
    "openai/whisper-base", dtype=jnp.bfloat16, _do_init=False,
)

def generate_fn(input_features):
    pred_ids = model.generate(
        input_features, task="transcribe", return_timestamps=False, max_length=model.config.max_length, params=params,
    )
    return pred_ids.sequences

# pmap the generate function for data parallelism
p_generate = pmap(generate_fn, "input_features")
# replicate the parameters across devices
params = replicate(params)

# load a dummy sample from the LibriSpeech dataset
ds = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
sample = ds[0]["audio"]

# pre-process: convert the audio array to log-mel input features
input_features = processor(sample["array"], sampling_rate=sample["sampling_rate"], return_tensors="np").input_features
# replicate the input features across devices for DP
input_features = shard(input_features)

# run the forward pass (JIT compiled the first time it is called)
pred_ids = p_generate(input_features)
output_ids = device_get(pred_ids.reshape(-1, model.config.max_length))

# post-process: convert tokens ids to text string
transcription = processor.batch_decode(pred_ids, skip_special_tokens=True)

If we're running on a CPU then we only have 1 JAX device, so we should use jit instead of pmap:
import jax.numpy as jnp
from datasets import load_dataset
from flax.jax_utils import replicate
from flax.training.common_utils import shard
from jax import device_get, jit
from transformers import WhisperProcessor

from whisper_jax import FlaxWhisperForConditionalGeneration

# load the processor and model
processor = WhisperProcessor.from_pretrained("openai/whisper-base")
model, params = FlaxWhisperForConditionalGeneration.from_pretrained(
    "openai/whisper-base", _do_init=False,
)

def generate_fn(input_features):
    pred_ids = model.generate(
        input_features, task="transcribe", return_timestamps=False, max_length=model.config.max_length, params=params,
    )
    return pred_ids.sequences

# pmap the generate function for data parallelism
p_generate = jit(generate_fn)

# load a dummy sample from the LibriSpeech dataset
ds = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
sample = ds[0]["audio"]

# pre-process: convert the audio array to log-mel input features
input_features = processor(sample["array"], sampling_rate=sample["sampling_rate"], return_tensors="np").input_features

# run the forward pass (JIT compiled the first time it is called)
pred_ids = p_generate(input_features)

# post-process: convert tokens ids to text string
transcription = processor.batch_decode(pred_ids, skip_special_tokens=True)

Thanks @sanchit-gandhi, it works now

@sanchit-gandhi thanks for the clarification. Does that mean that I should also use jit when I only have one gpu available?


Consider rewriting or replacing assert_xticks_reformatted()

Currently, the docstrings for the assert_xticks_reformatted() function suggest that it asserts how far apart the ticks are (i.e. 1 month apart, 1 year apart, 1 decade apart). In reality, what it does is check the formatting style for text on the ticks. For example, for loc_exp='day', it just checks whether the day is included in the formatting. (i.e. for the date January 18th, 2020, it just checks whether '18' would show up in the label.)
Additionally, this method means that the formatting would be no different between (loc_exp='decade' and loc_exp='year') or (loc_exp='month' and loc_exp='day').
Do we want this function to measure the distance between ticks? Do we want it to directly check the formatting style of the ticks?

I was confused about the purpose of assert_xticks_reformatted(). Looks like this is addressed by assert_xticks_locs()


Use macros to reduce boilerplate code in Sway formatter tests

The file swayfmt/src/formatter/mod.rs contains a bunch of formatter tests which follow the following common pattern:
    #[test]
    fn test_foobar() {
        let sway_code_to_format = r#"
<original Sway code>
"#;
        let correct_sway_code = r#"
<formatted Sway code>
"#;
        let mut formatter = Formatter::default();
        let formatted_sway_code =
            Formatter::format(&mut formatter, Arc::from(sway_code_to_format), None).unwrap();
        assert_eq!(correct_sway_code, formatted_sway_code);
        assert!(test_stability(formatted_sway_code, formatter));
    }

It looks like we could use Rust macros to reduce the boilerplate here. WDYT?

Circling back to this as I am taking a look at issues labeled under the formatter, def +1.
I think we can probably take inspiration from ripgrep's macros here.
I've been working with the formatter and the default diff resulting from assert_eq! can be hard to read, so eqnice! is a helpful macro to have here. We can do all the setup in another macro like rgtest! as well (setup expected vs actual code, setup stability test)
How does this sound?

Sgtm!


STM32H7 SDMMC clock requires HSI48

Describe the bug
With #53898 the SD card stopped working for me. I am working with a STM32H743 controller. The current definition in stm32h7.dtsi specifies HSI48 as clock source. According to the reference manual the clock source for the SDMMC peripherals is either PLL1Q (default) or PLL2R, therefore I think the current definition is wrong. As a workaround I can simply enable the HSI48 clock then everything works fine, but I guess the HSI48 is not actually used.
To Reproduce

Enable sdmmc1, but don't enable clk_hsi48 in the device tree.
Access the SD card (in my case LittleFS is used)

Expected behavior
I can run the SDMMC driver with PLL1Q as default clock source without having to enable additional clocks.
Impact
Annoyance
Logs and console output
Upon mounting the file system on the SD card I get the following log output:
[00:00:09.398,000] <inf> littlefs: LittleFS version 2.5, disk version 2.0
[00:00:09.405,000] <err> stm32_sdmmc: Failed to enable SDMMC domain clock
[00:00:09.413,000] <err> stm32_sdmmc: failed to init clocks
[00:00:09.419,000] <err> littlefs: Storage init ERROR!
[00:00:09.425,000] <err> fs: fs mount error (-5)

Environment (please complete the following information):

Ubuntu 20.04
Zephyr SDK 0.15.2
Zephyr 3.3.0

Right, sm32H7 refMan (RM0468 or RM 0433 or RM455)  do not specify HSI48 as clock source for the sdmmc but

Bit 16 SDMMCSEL: SDMMC kernel clock source selection
0: pll1_q_ck clock is selected as kernel peripheral clock (default after reset)
1: pll2_r_ck clock is selected as kernel peripheral clock

So that DTS of the stm32H7 sholud have :
clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00000100>,
				 <&rcc STM32_SRC_PLL1_Q SDMMC_SEL(0)>;

@mjaun maybe you could just use  this patch in your environment when disabling the HSI48
diff --git a/dts/arm/st/h7/stm32h7.dtsi b/dts/arm/st/h7/stm32h7.dtsi
index 4dee62727c..b67e93b6c0 100644
--- a/dts/arm/st/h7/stm32h7.dtsi
+++ b/dts/arm/st/h7/stm32h7.dtsi
@@ -861,7 +861,7 @@
 			compatible = "st,stm32-sdmmc";
 			reg = <0x52007000 0x400>;
 			clocks = <&rcc STM32_CLOCK_BUS_AHB3 0x00010000>,
-				 <&rcc STM32_SRC_HSI48 SDMMC_SEL(0)>;
+				 <&rcc STM32_SRC_PLL1_Q SDMMC_SEL(0)>;
 			resets = <&rctl STM32_RESET(AHB3, 16U)>;
 			interrupts = <49 0>;
 			status = "disabled";
@@ -871,7 +871,7 @@
 			compatible = "st,stm32-sdmmc";
 			reg = <0x48022400 0x400>;
 			clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00000100>,
-				 <&rcc STM32_SRC_HSI48 SDMMC_SEL(0)>;
+				 <&rcc STM32_SRC_PLL1_Q SDMMC_SEL(0)>;
 			resets = <&rctl STM32_RESET(AHB2, 8U)>;
 			interrupts = <124 0>;
 			status = "disabled";


add chest icon

name: 'Pull request'
about: A new pull request
New Pull Request
Checklist

[ ] I am not disclosing a vulnerability.
[ ] My code is conform the code style
[ ] I have made corresponding changes to the documentation
[ ] I have updated Typescript definitions when needed

Issue Description

Related issue: #FILL_THIS_OUT
Solution Description

merge when build passes, if any fail just retry them @dani69654


Block input while the window is out of focus

Adds desktop-relevant helpers input_mouse_in_bounds() and input_window_has_focus()
Normalizes window focus related behaviour across desktop platforms

Clears gamepad input when window is out of focus for all platforms (as is default on Windows)
Tweaks mouse capture behaviour for a consistent experience across platforms

Adds macro INPUT_ALLOW_OUT_OF_FOCUS, default false.
When true, noncritical input related focus quirks are not corrected

Not gonna merge this yet as it introduces new functions and so should go into a hypothetical 5.2.