[snapshot] run simulator using Rosetta2 for Apple Silicon

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I see several green ci/circleci builds in the "All checks have passed" section of my PR (connect CircleCI to GitHub if not)
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.
[x] I've added or updated relevant unit tests.

Motivation and Context
Motivation is same with https://github.com/fastlane/fastlane/issues/21194 . The issue focus on scan but it also needs to support snapshot.
Description
This PR uses a different approach than https://github.com/fastlane/fastlane/pull/21284 considering https://github.com/fastlane/fastlane/issues/21293 and uses solution https://github.com/fastlane/fastlane/issues/21293#issuecomment-1561449912.
Testing Steps
in Snapfile set run_rosetta_simulator(true),
...
run_rosetta_simulator(true)

and run some snapshot lane.

Hello,
Any progress here?
Thanks.

why merging is blocked ,can anyone help ?


Karma and Todos for Tom Nof

From @tomnof on October 28, 2016 11:32

[x] Makesure you present yourself by a readable nick
[x] Describe yourself in the bio page
[x] State that you are (not) in search for a job

Copied from original issue: SpartanRefactoring/Spartanizer#556

From @tomnof on October 28, 2016 11:55
@yossigil Done?

From @yossigil on October 28, 2016 20:33
:+1:

From @yossigil on October 29, 2016 2:16
Add a "quality assurance" and "teaching" labels to this issue. Add a deadline (which?). .
erase much of the junk you copied from the tutorial. Assign yourself if you havent' done so yet.
Good luck.

From @tomnof on October 29, 2016 6:45
deadline - end of this semester? I believe this Karam page is going to be a very good fried of mine in the upcoming project :P

From @yossigil on October 29, 2016 11:7
Deadline, sprint 0

From @matityahuinba on October 29, 2016 9:51
Amazing! Good Luck! :sparkles:

How would you rank your amount of contribution to the project compared to others in the group?
Please specify the ordinal of the quintile.


Can add support for addTransceiver?

I will add support for addTransceiver in the next version

available since 0.2.4


Cleanup values file if only containing  variable request.operation=CREATE  and remove variable request.operation=CREATE  from values.yaml file

Related Issue(s)
Closes #338

Description
From kyverno 1.7 version, the value of request.operation is implicit set as CREATE. Therefore no need to provide explicit values for request.operation=CREATE
--> Cleaned up all values yaml file if only containing one variable, i.e. request.operation=CREATE
--> Also removed variable  request.operation=CREATE , from values yaml file
What does this PR do?
/cleanup
Checklist

[x] I have read the policy contribution guidelines.
[] I have added test manifests and resources covering both positive and negative tests that prove this policy works as intended.

Please use either closing keywords or manually link your PR to the issue. This is so merging of the PR automatically closes the issue and creates a link from issue back to PR. I have done so for you this time.


[#44] Add API to load external Geo data

Looks good, I've made a couple of changes in readme file. I'll merge this now, but I have a couple of general comments.
First, number of overloads for init method gets out of hand, I think it makes sense to look into creating a class to hold all those parameters and use builder pattern to create instances of it. It's something for the future.
Second, I kind of wonder, wouldn't it be better to make initalization use just InputStream, not TarArchiveInputStream? I'm not sure it's a fully rational take, but I've so far only exposed classes from JDK in Timeshape's API, and TarArchiveInputStream is from Apache commons compress library. It's not that Timeshape makes any promises of binary compatibility between releases, but this might change in future, where I have plans to properly split code from timezone data. Anyway, I just wonder what you think about this (TarArhiveInputStream vs InputStream).

I agree, there are too many overloads of init a builder would be very nice, even if Java developers love overloads 😅
I thought about that but then I would've changed too much of a codebase I didn't have any kind of ownership. I'm also not an expert of apache commons compress and never used (until 20 days ago) a TarArchiveInputStream. That's why I kept the code as similar as possible to its status quo. I would be glad to help with the refactor/discussion of different initialization methods/patterns if you'd like.

I'd really like it! Let's chat about this in https://gitter.im/timeshape/community, I feel it would be more convenient than here on GitHub.


feat: implement tuple elimination in let binding

The implementation itself looks alright to my reading through, but the formatting and miscellaneous changes are... concerning. Also there should absolutely not be a way to concatenate two typecontexts.


Priority 1 acessibility issue: Decorative image mark up is incorrect for assistive technology

What

Non-text content is used for pure decoration but is not implemented in a way that it can be ignored by assistive technology.
WCAG Reference:
1.1.1 Non-text Content - Level A
Understanding Non-text Content | How to Meet Non-text Content
Current Code Ref(s):
#main > article > div.Space-sc-1ntp1c3-0.eEdhXm > div > div:nth- child(3) > div > div > div > img
Solution:
Text alternatives should provide a literal description of the image content except where the image is purely decorative. To ensure that decorative images are ignored by assistive technology, make sure that the alt attribute is included and has a null value.
Example:

For more information, please refer to F38: Failure of Success Criterion 1.1.1 due to not marking up decorative images in HTML in a way that allows assistive technology to ignore them
<img width="3200" height="1800" class="lazy-image bg-charcoal font-white image lazyloaded" [...] alt="Photograph of the entrance to a museum showing a large poster with the text, 'Hello there, come on in' written in large letters. To the left of the sign is a smiling female security guard wearing a transparent visor on her head. To the right of the sign in the distance is a large banner on the wall showing a photograph of a man seated in a wheelchair next to a large mannequin artwork. Under the photograph are the words, 'Being Human'. " [...]>
Where

This is a global issue

I was curious about this one. I'm not sure I agree that this image is pure decoration.
I thought the images intention is to set a welcoming tone and the alt text description does that too, "... 'Hello there, come on in' written in large letters. To the left of the sign is a smiling female security guard..."
If we were to remove the alt text, so assistive technologies ignore it, we need to establish if this is always the case for header images.

I think I'm with Gareth on querying this -- we choose engaging people-centred images to be welcoming, and I think that this meaning might carry across.
An additional complication is that you can only set the alt attribute on an image once in Prismic -- so if there are multiple instances of the image and not all are 'decorative' we could have a problem.

Having discussed this with Sarah Parry from Digital Accessibility Centre and with various members of the team, I think we're confident that these images are not decorative and therefore the alt text is appropriate to include.


mitosis version bump

Is this what you are looking for? I have not pushed to crates.io before, so I don't know if there is something else I need to do on my end.

Thanks! published

You're welcome! Thanks for your work on this crate.


Overlord refactor

Cleaned up the code per review.
What changed:

Moved process_code method out of the controller and into the Bomb
Moved some view logic out of the controller
Split the "Using the bomb" feature into separate Activate/Deactivate/Explode features
Removed web_helpers.rb and split up the spec definitions appropriately
Other assorted cleanup per the review comments

@jmtai Everything looks pretty good however you're missing tests for your bomb class. Be sure to make an rspec test for your bomb class and resubmit.

You need your RSpec tests still, but otherwise it looks very good.  Please take a look at the comments, add some unit tests and resubmit.


Fix Bintray deployment

Summary
The previous Bintray deployment configuration was missing the POM file and the necessary JARs for the library to be used in Gradle.

Codecov Report

Merging #41 into master will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff          @@
##           master   #41   +/-   ##
====================================
  Coverage       0%    0%
====================================
  Files           1     1
  Lines         146   146
  Branches       11    11
====================================
  Misses        146   146

Continue to review full report at Codecov.

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


Name Convention for phone numbers

'isMobilePhone' seems like a incorrect name as it's not only checking mobile numbers. This could be confusing, and there are a few ways to determine/guess if a number is Mobile, so it indicates that it's doing something that it is not.
isPhoneNumber
isPhone
isPhoneNum

It never hit me! Though this will be serious breaking changes, I'd suggest that we have isPhoneNumber as alias...

The validator should only be checking whether a string is a mobile phone number. The lines are obviously blurred in some locales, and/or people have snuck in general phone validation.
This library will never have general international phone validation. It's too hard; just use libphonenumber.
For more info, see:

https://github.com/chriso/validator.js/pull/339#issuecomment-67462582
https://github.com/chriso/validator.js/pull/455#issuecomment-161091143
https://github.com/chriso/validator.js/pull/665#issuecomment-313643501
https://github.com/chriso/validator.js/pull/693#issuecomment-323951040


GH-40911: [C++] Remove decimal division's precision and scale calculate logic from implicit casts

Rationale for this change
Fix decimal divide results wrong when scale1 >= scale2 between CallFunction and expression execute.

What changes are included in this PR?
Remove decimal division's precision and scale calculate logic from implicit casts.

Are these changes tested?
Yes

Are there any user-facing changes?
Yes, decimal divide with scale1>=scale2 in ExecuteScalarExpression's results will be different with before.

GitHub Issue: #40911

@lidavidm @bkietz I'm not understand the previous decimal division rules.
We will cast the decimal type int CastBinaryDecimalArgs before execute.
https://github.com/apache/arrow/blob/be3b78902ff2871e637af2c340e24b75853e32e7/cpp/src/arrow/compute/kernels/codegen_internal.cc#L435-L437
And the reason why we need change input-types' scale and precision here is that the division operation of BasicDecimal needs to cast decimal1-array to the maximum precision supported by the current operation and then perform division? (Below codes shows that we will cast the args[0] to the  precision and scale which fetched from CastBinaryDecimalArgs)
https://github.com/apache/arrow/blob/be3b78902ff2871e637af2c340e24b75853e32e7/cpp/src/arrow/compute/function.cc#L245-L247


With ruff_lsp code_action fails

Info

Operating System: Alpine Linux amd64
Shell: zsh
Terminal: foot
nvim --version: NVIM v0.8.3
fzf --version: 0.38.0 (AlpineLinux)

[ ] The issue is reproducible with mini.sh

fzf-lua configuration

require("fzf-lua").setup({
  winopts = {
    split = "belowright new",
    preview = {
      hidden = "hidden",
    },
  },
  fzf_opts = {
    ["--layout"] = "default",
  },
})

I can't reproduce with that minimal config because you need to configure a specific LSP too.
Description
This issue is tricky: it's only reproducible with a single LSP, ruff-lsp. When I run:
require("fzf-lua").lsp_code_actions()

I get an error:
LSP[ruff_lsp] Unexpected error in LSP server, see server's logs for details

However, the following does work:
:lua vim.lsp.buf.code_action()

So it definitely doesn't sound like a bug with the LSP itself or neovim, but with now fzf-lua is querying for code actions.

I don't think the LSP logs are relevant, but it's:
[ERROR][2023-01-17 16:08:01] .../vim/lsp/rpc.lua:733	"rpc"	"ruff-lsp"	"stderr"	"Unable to deserialize message\n  + Exception Group Traceback (most recent call last):\n  |   File \"/usr/lib/python3.11/site-packages/pygls/protocol.py\", line 401, in _deserialize_message\n  |     return self._converter.structure(data, request_type)\n  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |   File \"/usr/lib/python3.11/site-packages/cattrs/converters.py\", line 309, in structure\n  |     return self._structure_func.dispatch(cl)(obj, cl)\n  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |   File \"<cattrs generated structure lsprotocol.types.TextDocumentCodeActionRequest>\", line 26, in structure_TextDocumentCodeActionRequest\n  |     if errors: raise __c_cve('While structuring ' + 'TextDocumentCodeActionRequest', errors, __cl)\n  |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  | cattrs.errors.ClassValidationError: While structuring TextDocumentCodeActionRequest (1 sub-exception)\n  +-+---------------- 1 ----------------\n    | Exception Group Traceback (most recent call last):\n    |   File \"<cattrs generated structure lsprotocol.types.TextDocumentCodeActionRequest>\", line 10, in structure_TextDocumentCodeActionRequest\n    |     res['params'] = __c_structure_params(o['params'], __c_type_params)\n    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n    |   File \"<cattrs generated structure lsprotocol.types.CodeActionParams>\", line 31, in structure_CodeActionParams\n    |     if errors: raise __c_cve('While structuring ' + 'CodeActionParams', errors, __cl)\n    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n    | cattrs.errors.ClassValidationError: While structuring CodeActionParams (1 sub-exception)\n    | Structuring class TextDocumentCodeActionRequest @ attribute params\n    +-+---------------- 1 ----------------\n      | Exception Group Traceback (most recent call last):\n      |   File \"<cattrs generated structure lsprotocol.types.CodeActionParams>\", line 15, in structure_CodeActionParams\n      |     res['context'] = __c_structure_context(o['context'], __c_type_context)\n      |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n      |   File \"<cattrs generated structure lsprotocol.types.CodeActionContext>\", line 21, in structure_CodeActionContext\n      |     if errors: raise __c_cve('While structuring ' + 'CodeActionContext', errors, __cl)\n      |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n      | cattrs.errors.ClassValidationError: While structuring CodeActionContext (1 sub-exception)\n      | Structuring class CodeActionParams @ attribute context\n      +-+---------------- 1 ----------------\n        | Traceback (most recent call last):\n        |   File \"<cattrs generated structure lsprotocol.types.CodeActionContext>\", line 5, in structure_CodeActionContext\n        |     res['diagnostics'] = __c_structure_diagnostics(o['diagnostics'], __c_type_diagnostics)\n        |                                                     ~^^^^^^^^^^^^^^^\n        | TypeError: list indices must be integers or slices, not str\n        | Structuring class CodeActionContext @ attribute diagnostics\n        +------------------------------------\n\n"
[ERROR][2023-01-17 16:08:01] .../vim/lsp/rpc.lua:733	"rpc"	"ruff-lsp"	"stderr"	"Error receiving data\n  + Exception Group Traceback (most recent call last):\n  |   File \"/usr/lib/python3.11/site-packages/pygls/protocol.py\", line 401, in _deserialize_message\n  |     return self._converter.structure(data, request_type)\n  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |   File \"/usr/lib/python3.11/site-packages/cattrs/converters.py\", line 309, in structure\n  |     return self._structure_func.dispatch(cl)(obj, cl)\n  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  |   File \"<cattrs generated structure lsprotocol.types.TextDocumentCodeActionRequest>\", line 26, in structure_TextDocumentCodeActionRequest\n  |     if errors: raise __c_cve('While structuring ' + 'TextDocumentCodeActionRequest', errors, __cl)\n  |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  | cattrs.errors.ClassValidationError: While structuring TextDocumentCodeActionRequest (1 sub-exception)\n  +-+---------------- 1 ----------------\n    | Exception Group Traceback (most recent call last):\n    |   File \"<cattrs generated structure lsprotocol.types.TextDocumentCodeActionRequest>\", line 10, in structure_TextDocumentCodeActionRequest\n    |     res['params'] = __c_structure_params(o['params'], __c_type_params)\n    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n    |   File \"<cattrs generated structure lsprotocol.types.CodeActionParams>\", line 31, in structure_CodeActionParams\n    |     if errors: raise __c_cve('While structuring ' + 'CodeActionParams', errors, __cl)\n    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n    | cattrs.errors.ClassValidationError: While structuring CodeActionParams (1 sub-exception)\n    | Structuring class TextDocumentCodeActionRequest @ attribute params\n    +-+---------------- 1 ----------------\n      | Exception Group Traceback (most recent call last):\n      |   File \"<cattrs generated structure lsprotocol.types.CodeActionParams>\", line 15, in structure_CodeActionParams\n      |     res['context'] = __c_structure_context(o['context'], __c_type_context)\n      |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n      |   File \"<cattrs generated structure lsprotocol.types.CodeActionContext>\", line 21, in structure_CodeActionContext\n      |     if errors: raise __c_cve('While structuring ' + 'CodeActionContext', errors, __cl)\n      |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n      | cattrs.errors.ClassValidationError: While structuring CodeActionContext (1 sub-exception)\n      | Structuring class CodeActionParams @ attribute context\n      +-+---------------- 1 ----------------\n        | Traceback (most recent call last):\n        |   File \"<cattrs generated structure lsprotocol.types.CodeActionContext>\", line 5, in structure_CodeActionContext\n        |     res['diagnostics'] = __c_structure_diagnostics(o['diagnostics'], __c_type_diagnostics)\n        |                                                     ~^^^^^^^^^^^^^^^\n        | TypeError: list indices must be integers or slices, not str\n        | Structuring class CodeActionContext @ attribute diagnostics\n        +------------------------------------\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n  File \"/usr/lib/python3.11/site-packages/pygls/protocol.py\", line 507, in data_received\n    self._data_received(data)\n  File \"/usr/lib/python3.11/site-packages/pygls/protocol.py\", line 539, in _data_received\n    json.loads(body.decode(self.CHARSET),\n  File \"/usr/lib/python3.11/json/__init__.py\", line 359, in loads\n    return cls(**kw).decode(s)\n           ^^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3.11/json/decoder.py\", line 337, in decode\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3.11/json/decoder.py\", line 353, in raw_decode\n    obj, end = self.scan_once(s, idx)\n               ^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3.11/site-packages/pygls/protocol.py\", line 415, in _deserialize_message\n    raise JsonRpcInvalidParams() from exc\npygls.exceptions.JsonRpcInvalidParams: Invalid Params\n"
[ERROR][2023-01-17 16:08:06] .../vim/lsp/rpc.lua:733	"rpc"	"pylsp"	"stderr"	"2023-01-17 16:08:06,200 CET - WARNING - pylsp_jsonrpc.endpoint - Received cancel notification for unknown message id 2\n"
[ERROR][2023-01-17 16:08:06] .../vim/lsp/rpc.lua:733	"rpc"	"ruff-lsp"	"stderr"	'Cancel notification for unknown message id "2"\n'

Which untangled a bit translates to:
 "Unable to deserialize message
  + Exception Group Traceback (most recent call last):
  |   File "/usr/lib/python3.11/site-packages/pygls/protocol.py", line 401, in _deserialize_message
  |     return self._converter.structure(data, request_type)
  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File "/usr/lib/python3.11/site-packages/cattrs/converters.py", line 309, in structure
  |     return self._structure_func.dispatch(cl)(obj, cl)
  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File "<cattrs generated structure lsprotocol.types.TextDocumentCodeActionRequest>", line 26, in structure_TextDocumentCodeActionRequest
  |     if errors: raise __c_cve('While structuring ' + 'TextDocumentCodeActionRequest', errors, __cl)
  |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  | cattrs.errors.ClassValidationError: While structuring TextDocumentCodeActionRequest (1 sub-exception)
  +-+---------------- 1 ----------------
    | Exception Group Traceback (most recent call last):
    |   File "<cattrs generated structure lsprotocol.types.TextDocumentCodeActionRequest>", line 10, in structure_TextDocumentCodeActionRequest
    |     res['params'] = __c_structure_params(o['params'], __c_type_params)
    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "<cattrs generated structure lsprotocol.types.CodeActionParams>", line 31, in structure_CodeActionParams
    |     if errors: raise __c_cve('While structuring ' + 'CodeActionParams', errors, __cl)
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | cattrs.errors.ClassValidationError: While structuring CodeActionParams (1 sub-exception)
    | Structuring class TextDocumentCodeActionRequest @ attribute params
    +-+---------------- 1 ----------------
      | Exception Group Traceback (most recent call last):
      |   File "<cattrs generated structure lsprotocol.types.CodeActionParams>", line 15, in structure_CodeActionParams
      |     res['context'] = __c_structure_context(o['context'], __c_type_context)
      |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |   File "<cattrs generated structure lsprotocol.types.CodeActionContext>", line 21, in structure_CodeActionContext
      |     if errors: raise __c_cve('While structuring ' + 'CodeActionContext', errors, __cl)
      |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      | cattrs.errors.ClassValidationError: While structuring CodeActionContext (1 sub-exception)
      | Structuring class CodeActionParams @ attribute context
      +-+---------------- 1 ----------------
        | Traceback (most recent call last):
        |   File "<cattrs generated structure lsprotocol.types.CodeActionContext>", line 5, in structure_CodeActionContext
        |     res['diagnostics'] = __c_structure_diagnostics(o['diagnostics'], __c_type_diagnostics)
        |                                                     ~^^^^^^^^^^^^^^^
        | TypeError: list indices must be integers or slices, not str
        | Structuring class CodeActionContext @ attribute diagnostics
        +------------------------------------

So it definitely doesn't sound like a bug with the LSP itself or neovim, but with now fzf-lua is querying for code actions.

FzfLua does in fact query for code actions, here is the call:
https://github.com/ibhagwan/fzf-lua/blob/d49f79fbdaf5247ce694637555e8cd503f6fc05f/lua/fzf-lua/providers/lsp.lua#L820
The reason for doing so is because code actions requires ui.select, when FzfLua isn’t registered globally for ui.select it to register itself and then deregister when the interface is closed. Since I couldn’t find a way to determine beforehand to determine if there are any code actions I had to call the LSP for that, otherwise the deregister callback will never be called which might not be what the user wants.
An easy workaround would be to call :FzfLua register_ui_select (once, at startup) and then call vim.lsp.buf.code_action() which is the better way to use FzfLua with code actions.

https://github.com/ibhagwan/fzf-lua/commit/30fb626355d4b65cb6922d7de8bdb2a276b7d97e - this is a semi-workaround for this issue, fzf-lua will now test if fzf-lua is the registered interface for vim.ui.select and will avoid calling the LSP code actions if it's already registered.
This doesn't solve the error coming back from the LSP server but it makes it so you can call lsp_code_actions after registering for ui.select (so you can keep calling lsp_code_actions instead of vim.lsp.buf.code_action if you prefer).

Why does this use async = false``? I noticed that when the LSP is starting, require("fzf-lua").lsp_code_actions()` will freeze until the LSP is finally ready (or timeout, whichever comes first).
I'm also now seeing some scenarios with rust_analyzer where :lua vim.lsp.buf.code_action() shows 3 actions, but require("fzf-lua").lsp_code_actions() prints [Fzf-lua] No code actions found.

Why does this use async = false? I noticed that when the LSP is starting, require("fzf-lua").lsp_code_actions() will freeze until the LSP is finally ready (or timeout, whichever comes first).

That’s because of how the code actions work which is a shortcut to:
If fzf-lua is registered to ui.select the code calls vim.lsp.but.code_action

If fzf-lua isn’t registered it does this:
Call the LSP and get call actions, if there are code actions, register ui.select, call vim.lsp.but.code_action and deregister ui.select

When route (2) is taken the code must call the LSP to know beforehand if the interface will be opened as the deregister callback won’t be called otherwise (thus the sync call), it’s a hack, but it’s the only way I could find to facilitate code actions without forcing the users to register Fzf-lua for ui.select globally.
This is also the reason it was removed in Telescope, code actions are better served via vim.lsp.but.code_action.

I'm also now (with 30fb626) seeing some scenarios with rust_analyzer where :lua vim.lsp.buf.code_action() shows 3 actions, but require("fzf-lua").lsp_code_actions() prints [Fzf-lua] No code actions found.

The reason this hones is because of the check to see if code actions exist described in (2), if you can provide a code sample in rust that I can reproduce this I can look into solving this.
In any event the better way is to use :FzfLua register_ui_select and call vim.lsp.but.code_action() which will still use fzf-lua as the interface.

I installed ruff_lsp in an attempt to improve when manually querying the LSP for code actions but I can't reproduce this, everything is working as expected:

The code action itself also works:

Before

After selecting Organize Imports:

It would be helpful if you can provide a short code sample where code actions exist using vim.lsp.buf.code_action() but aren't working when calling fzf-lua's lsp_code_action.

https://github.com/ibhagwan/fzf-lua/commit/356e63d624a333acbcf4406b292eeb8036aa1b26 - @WhyNotHugo, it seems that some LSPs (ruff_lsp included) fail when line diagnostics are empty, this commit takes care of that.
Note that if you don't have fzf-lua registered for ui.select fzf-lua will still first query the LSP directly to determine if code actions exist (synchronously), if you wish to avoid that, call :FzfLua register_ui_select once at startup.

Thanks for the thurough examplantion. So I guess the real cause of the issue is that vim.lsp.buf.code_action calls ui.select unconditionally, rather than allowing us to specify a callback with action items or something, right?
I wonder if such a change is worth proposing to neovim.

The reason this happens is because of the check to see if code actions exist described in (2), if you can provide a code sample in rust that I can reproduce this I can look into solving this.

Sure, this repo:
git clone https://git.sr.ht/~whynothugo/shotman
git checkout 09fad8dd1b915bfe3063cf3503171656671874cb
nvim src/main.rs

On line 8 :lua vim.lsp.buf.code_action() shows 1 action, but require("fzf-lua").lsp_code_actions() says there are none.

In any event the better way is to use :FzfLua register_ui_select and call vim.lsp.but.code_action() which will still use fzf-lua as the interface.

I'll try this out, although I'm not sure if an fzf picker is ideal in all scenarios. Only one way to find out I guess.

On Mon, 10 Apr 2023, at 20:18, ibhagwan wrote:

Have you tried after updating FzfLua to include this fix356e63d? This issue should have been solved by it.

Sorry, my head was 30fb626355d4b65cb6922d7de8bdb2a276b7d97e. I've updated now and the issue is gone.
--
Hugo


Update CONTRIBUTING.md

Under the workflow heading I found that in point 2 & 3 shell was missing, that I rectified and corrected it

docs update

for better repersentation

Thank you! @holopin-bot @theprince29


Difference between huggingface deepspeed integration and accelerate deepspeed-plugin

huggingface transformer support deepspeed (https://huggingface.co/docs/transformers/main_classes/deepspeed )
accelerate also support deepspeed via ds-plugin, so what is design thoughts besides no trainer flexibility?

Another quick question is "BatchSamplerShard" in data_loader.py is functionally equal to torch.utils.data.distributed.DistributedSampler ?

Please use the forums to ask questions as we keep the issues for bugs and feature requests only. The Trainer supports deepspeed but Accelerate is designed for people who don't want to use a Trainer. It also supports deepseed for people who want to use that library and retain full control over their training loop.


Feature request: publish a theme

I think it would be nice to be able to publish a theme from themekit. It seems the only two ways are:

Shopify REST Admin Api -> online store -> theme -> PUT /admin/themes/#{theme_id}.json
Shopify Admin UI, on the version desired, click "publish".

My bet is that it was probably thought of but I don't know why it wouldn't be implemented.

I am sure it has been thought of before, but it is nice to know someone is asking for it. I was already considering putting it into v1.0.0 and it's good to know some one else was thinking the same. v1.0.0 is in development but will not be release for a little while. I will update this issue on the progress.

Cool thanks Tim.

Would this require separate API permissions than Theme Files read/write?

No, all that is required is that single permission. Publish would just involve updating the theme's role.

It will not be for at least another month. This is not only for development but for people to appropriately adjust to no using the deprecated action in themekit because they will be removed in v1

@tanema weekly but if we had more QA resources we would do it every time we have a change with the ideal of it being daily.

I might be using themekit wrong, but it's hard to have the theme update get integrate well with our devops flow...

Okay @andreacab you can try out the new publish command by updating to the prerelease by running theme update --version=v1.0.0-pre Please let me know how it goes, and if you are happy with it I can close out this issue.

@tanema the publish works great so far! thanks for the help!


refactored the project controller

Like my previous comments. You should create a service layer instead of directly fetching and manipulating data inside your controller.

Like my previous comments. You should create a service layer instead of directly fetching and manipulating data inside your controller.

Like a class library??

Like my previous comments. You should create a service layer instead of directly fetching and manipulating data inside your controller.

Like a class library??

No. A Service class. Same way you have a UserRepository, you should have a UserService. UserService will do any data fetching and manipulation for your users and will simply produce the output required by your controller.
You can read a bit about it here:
https://stackoverflow.com/a/6216013
https://pvha.hashnode.dev/mvcs-architecture

@mide25 @Kingriyor  I have implemented the service layer for auth and project

This PR seem a bit similar to the other open one. I left some comments on that one...please check there for the ones that applies..thanks


Can't install or update SDK

I'm using VS For Mac Enterprise 8.0.2, I try to use SDK Manager to install android sdks and update android emulator, but always shows offline mode.

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

ID: dac28e18-875a-cb51-a031-717692255d0a
Version Independent ID: f2e625c7-18a7-c090-fa92-9d635ac39164
Content: Setting up the Android SDK for Xamarin.Android - Xamarin
Content Source: docs/android/get-started/installation/android-sdk.md
Product: xamarin
Technology: xamarin-android
GitHub Login: @conceptdev
Microsoft Alias: crdun

Please report issues like this inside Visual Studio for Mac, so that the team gets diagnostic information that can help solve the issue. Thanks.


As a user, I want to be able to log out of my account to leave the web application

Acceptance Criteria:

[ ] Upon successful logout the user sees the login screen

Development Tasks:

[x] sopra-fs23-group-10/sopra-fs23-group-10-client#7
[x] sopra-fs23-group-10/sopra-fs23-group-10-server#40
[x] sopra-fs23-group-10/sopra-fs23-group-10-client#28

All dev tasks are completed and acceptance criterias are met. Issue is therefore closed.


Migrate from dep to go.mod

This PR adds go.mod and removes dep to use Go modules. In addition, I removed vendor to reduce the size of this repository.  You can install dependencies running go mod download or go mod vendor based on go.mod.

Sorry for the late reply.
Thank you for your Pull Request!!


Sorting breaks annotation order in oncostrip

I believe I have found a bug in the oncostrip function. The effect of this bug is that the annotation of samples is not reordered when the sample mutation matrix is sorted (i.e. the default behavior). I think adding the following code to the function to replace the single line setting "bot.anno" (now in the else block) fixes this.
if(sort){
sorted.order = colnames(mat)
anno.df.sorted = as.data.frame(anno.df[sorted.order,])
rownames(anno.df.sorted) = sorted.order
colnames(anno.df.sorted) = colnames(anno.df)
bot.anno = ComplexHeatmap::HeatmapAnnotation(anno.df.sorted)
}else{
bot.anno = ComplexHeatmap::HeatmapAnnotation(anno.df)
}

Hi,
You were correct about sorting order. Nice catch !
Thank you for reporting. It will be fixed in next update.


Fatal error received in: "video_driver_init_internal()"

I'm attempting to get this working -- that said, one note should be made first off -- I have to run docker as root. It's a long and complicated story, but yeah. I'm also on NixOS.
So, I did the basic commands, and then it starts doing what looks like generating smth (counting from 0% to 100%), then at the bottom, says this.
retroarch-1  | Authorization required, but no authorization protocol specified
retroarch-1  |
retroarch-1  | Authorization required, but no authorization protocol specified
retroarch-1  |
retroarch-1  | amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-13)
retroarch-1  | amdgpu: amdgpu_device_initialize failed.
retroarch-1  | Fatal error received in: "video_driver_init_internal()"
retroarch-1 exited with code 1

And after a moment or two after this,
sunshine-1   | [2024-02-09 01:48:27] FATAL: /opt/gow/wait-x11: Gave up waiting for X server :0
sunshine-1 exited with code 11

Furthermore, after I run it again with that user,
[user@user-NAS:/aeternae/data_servers/gow]$ bash ./run-gow --app retroarch up
Running docker compose...
[+] Running 2/0
 ✔ Container gow-retroarch-1  Created                                                                                0.0s
 ✔ Container gow-sunshine-1   Created                                                                                0.0s
Attaching to retroarch-1, sunshine-1
retroarch-1  | [2024-02-09 01:42:55]
retroarch-1  | [2024-02-09 01:42:55] [ /etc/cont-init.d/10-setup_user.sh: executing... ]
retroarch-1  | [2024-02-09 01:42:55] **** Configure default user ****
retroarch-1  | [2024-02-09 01:42:55] Setting default user uid=1000(retro) gid=1000(retro)
retroarch-1  | userdel: retro mail spool (/var/mail/retro) not found
retroarch-1  | userdel: error removing directory /home/retro
sunshine-1   | [2024-02-09 01:42:56]
sunshine-1   | [2024-02-09 01:42:56] [ /etc/cont-init.d/10-setup_user.sh: executing... ]
sunshine-1   | [2024-02-09 01:42:56] **** Configure default user ****
sunshine-1   | [2024-02-09 01:42:56] Setting default user uid=1000(retro) gid=1000(retro)
sunshine-1   | userdel: retro mail spool (/var/mail/retro) not found
sunshine-1   | userdel: error removing directory /home/retro
retroarch-1 exited with code 12
sunshine-1 exited with code 12

Anybody able to help, by chance?

Authorization required, but no authorization protocol specified
Are you trying to share the host Xorg session? You might have access control enabled; you either need to mount the Xorg cookie (usually under ~/.Xauthority) or you can disable access control using xhost +

Fatal error received in: "video_driver_init_internal()"
This seems a different issue; could it be that you have the proprietary AMD driver installed? Can you revert back to use the open source Mesa drivers?

On a different note, the GOW script is getting rusty and unmaintained; I'm working on Wolf https://github.com/games-on-whales/wolf as a replacement for this stack, would you be interested in trying it out? We are also working on a nix package instead of using Docker to bundle Wolf if that's something that might be of interest for you https://github.com/games-on-whales/wolf/pull/53


[Enhancement] Add instructions or automation about how to publish to conda-forge

This request is prompted by the discussion here about bundled plugin installation: https://napari.zulipchat.com/#narrow/channel/309872-plugins/topic/Can't.20find.20my.20plugin.20in.20napari.20bundled.20app.2E/near/479905131

It could start with a simple link to: https://github.com/conda-forge/staged-recipes?tab=readme-ov-file#getting-started


[Unity] Propose to skip relay-translator tests

Hello community members! Today when I running all the unit tests under tests/python/relax, I found the tests under test_relay_translator.py consumes quite much time.

The tests are run on our research group server with CPU AMD 3970X and GPU RTX 4090. I imagine the tests will take no less time when run on other machines.
So here I want to propose to skip these tests. Actually these tests might be far from being called “unit.” We perhaps want to separate them into another directory.
cc @quic-sanirudh

I agree we can categorize relax tests into unit-tests that suppose to finish soon and others that involves longer running integrations (perhaps under relax/integration)


Need help in running sample

https://github.com/last9/openmetrics-registry/tree/master/sample

How to configure  - openmetrics_exporter.env ? What it should contain?
getting following error

docker-compose up
[+] Running 1/0
 ⠿ Container openmetrics-exporter  Created                                                                           0.0s
Attaching to openmetrics-exporter, vmagent
openmetrics-exporter  | cp: can't stat '/ome/*.py': No such file or directory
openmetrics-exporter  | You must specify a region. You can also configure your region by running "aws configure".
openmetrics-exporter  | 2022/12/29 11:43:42 running scraper => my-rds
openmetrics-exporter  | 2022/12/29 11:43:42 Serving metrics on: http://localhost:9100/metrics
openmetrics-exporter  | 2022/12/29 11:43:42 rename: can't find column namerename: can't find column namerename: can't find column namerename: can't find column namerename: can't find column namerename: can't find column namerename: can't find column namerename: can't find column namerename: can't find column namerename: can't find column namerename: can't find column name
openmetrics-exporter  | github.com/last9/sdk.(*ListError).Err
openmetrics-exporter  | 	/home/runner/work/openmetrics-exporter/openmetrics-exporter/pkg/last9/sdk/errors.go:85
openmetrics-exporter  | openmetrics-exporter/dsl.(*Scraper).Scrape
openmetrics-exporter  | 	/home/runner/work/openmetrics-exporter/openmetrics-exporter/src/dsl/scraper.go:208
openmetrics-exporter  | openmetrics-exporter/cmd.runFn
openmetrics-exporter  | 	/home/runner/work/openmetrics-exporter/openmetrics-exporter/src/cmd/run.go:297
openmetrics-exporter  | openmetrics-exporter/cmd.run.func1
openmetrics-exporter  | 	/home/runner/work/openmetrics-exporter/openmetrics-exporter/src/cmd/run.go:258
openmetrics-exporter  | openmetrics-exporter/cmd.run
openmetrics-exporter  | 	/home/runner/work/openmetrics-exporter/openmetrics-exporter/src/cmd/run.go:263
openmetrics-exporter  | openmetrics-exporter/cmd.cmdRun.func3
openmetrics-exporter  | 	/home/runner/work/openmetrics-exporter/openmetrics-exporter/src/cmd/run.go:218
openmetrics-exporter  | runtime.goexit
openmetrics-exporter  | 	/opt/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:1581
openmetrics-exporter  | [scrape metrics my-rds]
openmetrics-exporter  | openmetrics-exporter/cmd.runFn
openmetrics-exporter  | 	/home/runner/work/openmetrics-exporter/openmetrics-exporter/src/cmd/run.go:303
openmetrics-exporter  | openmetrics-exporter/cmd.run.func1
openmetrics-exporter  | 	/home/runner/work/openmetrics-exporter/openmetrics-exporter/src/cmd/run.go:258
openmetrics-exporter  | openmetrics-exporter/cmd.run
openmetrics-exporter  | 	/home/runner/work/openmetrics-exporter/openmetrics-exporter/src/cmd/run.go:263
openmetrics-exporter  | openmetrics-exporter/cmd.cmdRun.func3
openmetrics-exporter  | 	/home/runner/work/openmetrics-exporter/openmetrics-exporter/src/cmd/run.go:218
openmetrics-exporter  | runtime.goexit
openmetrics-exporter  | 	/opt/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:1581
openmetrics-exporter  | run my-rds
openmetrics-exporter  | openmetrics-exporter/cmd.run.func1
openmetrics-exporter  | 	/home/runner/work/openmetrics-exporter/openmetrics-exporter/src/cmd/run.go:258
openmetrics-exporter  | openmetrics-exporter/cmd.run
openmetrics-exporter  | 	/home/runner/work/openmetrics-exporter/openmetrics-exporter/src/cmd/run.go:263
openmetrics-exporter  | openmetrics-exporter/cmd.cmdRun.func3
openmetrics-exporter  | 	/home/runner/work/openmetrics-exporter/openmetrics-exporter/src/cmd/run.go:218
openmetrics-exporter  | runtime.goexit
openmetrics-exporter  | 	/opt/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:1581
openmetrics-exporter  | [runner: my-rds]
openmetrics-exporter  | openmetrics-exporter/cmd.run
openmetrics-exporter  | 	/home/runner/work/openmetrics-exporter/openmetrics-exporter/src/cmd/run.go:264
openmetrics-exporter  | openmetrics-exporter/cmd.cmdRun.func3
openmetrics-exporter  | 	/home/runner/work/openmetrics-exporter/openmetrics-exporter/src/cmd/run.go:218
openmetrics-exporter  | runtime.goexit
openmetrics-exporter  | 	/opt/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:1581
vmagent exited with code 255

Hey @ShriprasadM,
the openmetrics_exporter.env should contain your AWS credentials:
AWS_ACCESS_KEY=xxxx
AWS_SECRET_KEY=xxxx
REGION=xxxx

This is required to run this script to fetch details (like DB names etc) and metrics (from cloudwatch) for RDS instances in your AWS account.

Thanks for an update @arjunmahishi
There is another issue
openmetrics-exporter  | 2022/12/30 05:19:28 rename: can't find column namerename: can't find column namerename: can't find column namerename: can't find column namerename: can't find column namerename: can't find column namerename: can't find column namerename: can't find column namerename: can't find column namerename: can't find column namerename: can't find column name

Did you try after fixing the openmetrics_exporter.env file?
If it's still happening, I think there might not be any RDS instances in your AWS account. Can you make sure there is at least one RDS instance?
Quick command to check:
aws rds describe-db-instances

If you don't have any RDS instances, you can probably try some of the other AWS components

Can you provide sample for AWS MediaTailor ?


Commit 2fc05bf to Zend\Http\Client.php seems to have broken ZendOAuth.

Commit: https://github.com/zendframework/zf2/commit/2fc05bf6871febc2bcacd19be62adb152362edf8
When calling the send() method on the object returned from getHttpClient I get the following error.
"Call to a member function connect() on a non-object in /zendframework/zendframework/library/Zend/HTTP/Client.php on line 1357"
If I revert the changes made in this update it works fine. I spent a little time looking at this but I'm not sure whats going on. It seems like the call to $this->getAdapter() will sometimes return NULL.
I stripped out the base case from my working module and added it below.  Should be in working order, however you would need a Yahoo login and league to do full verification.  I've included the API keys but I'm not sure if logging in with a Yahoo ID that isn't tied to my Fantasy league will work.  You should be able to replicate with Twitter API though as I don't believe this is specific to the Yahoo API.
Reproduce Case:
$config = array(
        'siteUrl' => 'http://fantasysports.yahooapis.com/fantasy/v2'
        'authorizeUrl' => 'https://api.login.yahoo.com/oauth/v2/request_auth'
        'accessTokenUrl' => 'https://api.login.yahoo.com/oauth/v2/get_token'
        'requestTokenUrl' => 'https://api.login.yahoo.com/oauth/v2/get_request_token'
        'consumerKey' => 'dj0yJmk9SzZBbzhKRUdFeldiJmQ9WVdrOWFUTXpUVlp4TjJjbWNHbzlNVGt4TVRJMU5qVTJNZy0tJnM9Y29uc3VtZXJzZWNyZXQmeD02Yw--'
        'consumerSecret' => 'e3c05c5508074665a6f586ca72f371fd2e4d1576'
        'callbackUrl' => 'http://localhost:10124/yffootball/callback'
);

$httpConfig = array(
    		'adapter' => 'Zend\Http\Client\Adapter\Socket',
    	        'sslverifypeer' => false
);
$httpClient = new \Zend\HTTP\Client(null, $httpConfig);
$consumer = new \ZendOAuth\Consumer($config);
$consumer->setHttpClient($httpClient);
$session = new \Zend\Session\Container('user');
if (!$session->offsetExists('requestToken')) {
    $session->offsetSet('requestToken', serialize($consumer->getRequestToken()));
    $consumer->redirect();
}
// This will cause a redirect to Yahoo Fantasy Football site.
// After logging in to the site the user is redirected back to
// the "callbackUrl" defined above with a verifier token in the request.
$requestToken = unserialize($session->offsetGet('requestToken'));
if (!$session->offsetExists('accessToken')) {
    $accessToken = $consumer->getAccessToken(
        array(
            'oauth_verifier'=> $_GET['oauth_verifier'],
	    'oauth_token' => $requestToken->getToken(),
	    'oauth_token_secret' => $requestToken->getTokenSecret()
        ),
        $requestToken
    );
    $session->offsetSet('accessToken', $accessToken);
} else {
    $accessToken = $session->offsetGet('accessToken');
}

// Now that I have a valid access token I call getHttpClient
// and then send() which fails as defined above.
// (Note: $config array passed into getHttpClient is defined above.)

$client = $accessToken->getHttpClient(
    $config,
'http://fantasysports.yahooapis.com/fantasy/v2/league/nfl.l.721776/players;sort=OR;start=0;count=25;out=draft_analysis,stats;'
);
$client->setMethod(\ZendOAuth\OAuth::GET);
$response = $client->send();

This issue has been closed as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html


Is this library still supported

Hey guys,
While trying to use it on a Ruby 2.1.x project, ran into lot of basic issues with this gem and I am wondering if this is still supported.

+1


Request  NTP automatically timesync.

Wish wifi-repeater has system time sync automatically to NTP-server .
Thank you.

Okay, I could need NTP-real-time in another project - but what would be the requirement in the esp_wifi_repeater other than info?

When monitoring such as monitor mode or mqtt mode .. etc.
It's maybe useful with gpio in/out too.

Good figture, I think this figture maybe useful when monitoring
such as monitor mode or mqtt mode and gpio in/out too.

Added NTP time sync in the "ntp" branch. If you like you might want to test it...

Thank you very much, Martin-ger.
I will try.

After set  NTP server to "ntp.nasa.gov" and restart.
But when querying the NTP time with the "time" ,
I found it still seem not sync the NTP time  ..?
the commandline's response picture ...
https://ibb.co/iFpJkF
Thank you.

"ntp.nasa.gov" seems not to be a valid NTP server (nslookup gives me: "** server can't find ntp.nasa.gov: NXDOMAIN"). Try "1.pool.ntp.org" instead.

I found  some messages occurs many times,
when I try to connect to MyAP at the first time after flashing rom.
This responce message in serial monitoring,
I guess that makes connecting to MyAP is very very hard at the first time.?

scandone
no ssid found, reconnect after 1s
disconnect from ssid ssid, reason 201
reconnect

Serial's response picture...
https://ibb.co/mXsKua

I will try change to "1.pool.ntp.org"   .
Thank you.

This is debug output from the SDK, not printed from my code. Don't know how the easily switch that off...


[flah_ctrl/dv] Added field to seq_cfg for rand_ops_base_vseq

Hi,
Small PR adding one field to flash_ctrl_seq_cfg to be used in flash_ctrl_rand_ops_base_vseq.
This field enable to skip the prep_mem method of flash_ctrl_rand_ops_base_vseq in order to do dependant transactions.
Thanks.
Signed-off-by: Eitan Shapira<EMAIL_ADDRESS>

@weicaiyang Thanks! If it's OK with @sriyerg can you merge this PR?


Although version 5.6 has fixed the problem of duplicated audio, YouTube cannot automatically change songs

Script version
5.6
Describe the bug
Although version 5.6 has fixed the problem of duplicated audio, YouTube cannot automatically change songs

Where is this 5.6 version  ..?

still keep the duplicate audio

Playlists have already been fixed
https://github.com/TheRealJoelmatic/RemoveAdblockThing/pull/571

I have d same question like wuxs42? Where is the version 5,6??? I have double audio too.


Run dispatch from code

Tool
Name: Dispatch
Describe the problem
I'd like to provision new bots automatically and be able to call dispatch from e.g. Azure Function.
Describe the solution you'd like
Have access to .NET part of dispatch via a NuGet package or another way to call dispatch from code.
Describe alternatives you've considered
Currently we're running dockerized powershell Azure Function which is buggy and feels like a hack just to call dispatch alone.

@mchuck, unfortunately there is currently no plan to publish Dispatch as NuGet package.  I have seen folks deploy it with Azure app service (run it as scheduled task in the app service) or from Azure DevOps CI/CD pipeline.

Closing this issue because we currently do not have any plans to publish Dispatch as a nuget package.


Missing tuples for set pos functions

Should we use tuples? I am not sure whether we should revert all the other tuples back to floats

Should we use tuples? I am not sure whether we should revert all the other tuples back to floats

I thought so, because all set_pos functions use tuples, only Object() and PlayerOjbect() do not


Feature Request: Signed URLs for Google Cloud Storage Blobs and Buckets

Would it be possible to add functionality to Blob and Bucket to provide signed URLs?
We were discussing this topic (https://github.com/spring-cloud/spring-cloud-gcp/issues/251) and it looks like the existing instructions on the dev site has users construct that URL themselves.

My apologies, I made this in the wrong repo!


Remove subs type optimization causing find method issues

Description
This PR fixes https://github.com/FuelLabs/sway/issues/6491
Checklist

[x] I have linked to any relevant issues.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book).

[ ] If my change requires substantial documentation changes, I have requested support from the DevRel team

[x] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added (or requested a maintainer to add) the necessary Breaking* or New Feature labels where relevant.
[x] I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
[x] I have requested a review from the relevant team or maintainers.

So what ends up being the performance impact here? Is there any at all?

The last two commits are from this PR. That outlier in the middle is something strange, that can be ignored.

2.36433582284<PHONE_NUMBER>-conditional constant propagation ([#6498](https://github.com/FuelLabs/sway/issues/6498))
2.45822637305<PHONE_NUMBER>-remove subs type optimization causing find method issues
2.44941160090<PHONE_NUMBER>-more tests

In this project that I tested the difference is 0.09ms (3%).


Unusual Homing Movement and No Tip Probe

As a user, when I instruct my robot to calibrate tip, I'd like my robot to home and then tip probe.
Expected Behavior

Robot should home all axis and then tip probe

Observed Behavior

Robot moves to x-axis limit, and then slides along side bar. Robot does not tip probe. Robot returns along side bar.

Steps to recreate

Connect to robot 'sparkling-pine' on commit 514fd3e using latest version of run app (as of 2018_03-01)
Open any protocol
Initiate tip probe
Observe robot move directly to side bar, and then move along side bar to home location.
Observe robot not attempting to home
Observe robot moving forward along side bar

Implementation Notes

Note this behavior looks similar to an earlier bug (#843), but this robot is on commit 514fd3e and includes the fix for #843

@Carlos-fernandez -- FYI this is the bug you showed me just now.
@Laura-Danielle -- FYI new bug (?) in tip probe behavior.

Resolved


Manual review requested for PR #18317

I'm submitting a ...
[ ] bug report
[x ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary
Requesting an update to adress token (change one uppercase letter for one lowercase letter)

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
Link to my PR: https://github.com/solana-labs/token-list/pull/18317

this diff adds many new entries (repeated for the same address): https://github.com/solana-labs/token-list/pull/18317/files


Implement translation overview page

Implements #9

Hi,
I am really looking forward to Overview page. I tried it already and it looks great. Furthermore, I was planning creating something similar, but when I saw your plugin, I will be happy to help you instead.
The main concern I have with the overview is when someone changes just one input from (but not only the source) language. You will never know, that it should be updated in another ones. It will be good, if each input in the source language should have checkbox, with text Update in other languages. After checking the box and saving the page, in other languages will be each input red and under each one should be a checkbox with text Translation updated. If someone tick the checkbox and save the page, input should be marked as completed. (It should not be only about inputs, but images also - under each component.)
Also, I would allow users to manually translate, not only using DeepL.
This will require (I think) updated overview page with Pages, Components... with inputs which needs translation.
Thanks!

Hi @ihmpavel
Thanks for your kind words :D
I hope I will get that overall working in the next weeks, but since the new semester started just now I'm not sure how much time I can spend on it ^^
Yes, I actually also wondered, if a provider system (like with the email plugin) would be a better fit overall. So then we have the strapi-plugin-translation and some strapi-provider-translation-deepl, strapi-provider-translation-google  or strapi-provider-translation-manual in your case. However I think for the "Manual" translation it might be a better fit to just use the "Copy from other locale" option from the i18n plugin. Having a manual translation page similar to "weblate" might be a nice workflow upgrade though.
Now to your Idea on the Update in other languages button. Yes this is a really nice addition, but will definitely include quite a lot of internal action. I (and probably also no one at my organization) will not have the time for that in the near future, since we are actively writing a new website. But If you want to develop it, I would be very happy to accept a pull request!

@ihmpavel  you can try version v0.4.0-rc.1  for this feature,  please give any feedback!


Suggestion: pass interpolation="None" when plotting digits

Notebook 02.2-Basic-Principles.ipynb
Title says it all.  Interpolation makes digit example look higher resolution than it is.

Also in 03.2-Reg...

Done in 30bd28cfe53350ff7f51e04e7c7f5eef40f20f8b
Thanks!


Logic error in assertion

on https://github.com/themadmrj/chat_ui_kit/blob/master/lib/src/widgets/core/messages_list.dart#L29,
there is an assertion
assert(useCustomTile != null && builders.customTileBuilder != null,
            "You have to provide a customTileBuilder if you set useCustomTile"),

I think this is wrong. If you need to set both, you could make them required anyway.
I guess it should be "if useCustomTile is not null, then builders.customTileBuilder must also be not null".
which would be
assert(useCustomTile == null || builders.customTileBuilder != null,
            "You have to provide a customTileBuilder if you set useCustomTile")

Actually, it should be:
assert(useCustomTile != null && builders.customTileBuilder == null,
            "You have to provide a customTileBuilder if you set useCustomTile")

Edit: after further thought, you are 100% right, my bad!


add liquidity: token selection is not obvious enough

Either not obvious enough the arrow indicates a dropdown, or the arrow is not showing up for many people.

there was a visual bug where only half of the arrow was showing up which I assume was the main cause of confusion. Since that's fixed it seems users get now that there is a dropdown behind it.


fix: allow None as access_list value [APE-1275]

What I did
this fixes transaction decoding for tenderly rpc
ValidationError: 1 validation error for DynamicFeeTransaction
accessList
  none is not an allowed value (type=type_error.none.not_allowed)

if we inspect the raw response, we'll see
'accessList': None,
'type': '0x2',

this violates the spec on tenderly side but we better add a workaround.
How I did it
made access_list property optional for both eip-2930 and eip-1559 transactions.
How to verify it
the issue only manifests itself when connected to tenderly rpc
chain.blocks[-1].transactions
Checklist

[x] All changes are completed
[x] New test cases have been added
[x] Documentation has been updated

this was fixed on tenderly side. i suggest closing without merge since it goes against the spec and the error was helpful to detect a regression.

confirmed it's fixed on tenderly side now


[ci] Update CI bucket

We're closing the account under which the bucket was created and ownership of buckets can't be transferred. So we're recreating it.
On the new bucket I'm also using bucket policies to control object access instead of putting object ACL.
To Do after merging:

[ ] Update AWS_ACCESS_KEY_ID_ARTIFACTS and AWS_SECRET_ACCESS_KEY_ARTIFACTS in circle env vars to the new credentials for the circleci user
[ ] copy old bucket's files (aws s3 cp s3://mui-org-material-ui/artifacts/master/ s3://mui-org-ci/artifacts/master/ --recursive)
[ ] Open a follow up PR to replace the ..._TMP vars in the circleci config with the original ones and remove the _TMP vars from circleci and the bucket fallback
[ ] close the old account (how much will it cost to delete the bucket?)

I offered my help originally and asked multiple times if something was unclear. Then I did it myself because I got no response from leadership. At this point you're on your own.


position parameters not working

Here is a forked plunker with the issue.
http://plnkr.co/edit/OtaIim7rhuvCpd1ypITB?p=preview

The plunker demo is out of date.
You may update it according to documentation using new version of library (also you may use files from 'demo' directory).

Updated plunker demo
fixed by 9718092


FreeLaw Project

Looks similar to #27:
URL https://www.courtlistener.com/api/bulk-info/

Free Law Project seeks to provide free access to primary legal materials, develop legal research tools, and support academic research on legal corpora. We work diligently with volunteers to expand our efforts at building an open source, open access, legal research ecosystem. Currently Free Law Project sponsors the development of CourtListener, Juriscraper, and RECAP. We currently have 423 courts that can be accessed with our APIs.

For each court there appears to be a file collecting all information on each case heard. A sample download of "Court of Appeals for the First Circuit" with 35K entries is about 500MB. The data seems to be organized with a useful field of "text" or "html", the later of which can be reduced with pandoc. There is definitely overlap with #27, though it's unclear how much. An example:
https://www.courtlistener.com/opinion/4242578/sandquist-v-lebo-automotive-inc/?q=Sandquist v. Lebo Automotive&type=o&order_by=score desc&stat_Precedential=on&court=cal
https://cite.case.law/cal-5th/1/233/
According to their site, it looks like they might be a strict subset. By the numbers it looks to be about half the size, "3,676,348: Number of precedential opinions in CourtListener." vs the claimed 6M for case.law. The upshot is that this service is free w/o an account to access all states and can begin parsing immediately.

Closing as it looks like #27 is larger and already obtained.

Reopening. I pulled this anyways and it's much larger than I thought once processed. Much of the raw was in formatted HTML, so even after converting that to text the dataset it over 50GB. Suggesting we use this instead of #27 or if we find a way to deduplicate, use both.

Agreed! Let's go with this.

@StellaAthena when you get a chance, please assign me to this issue

Data is pull and upload is complete. Replication code can be found at:
https://github.com/thoppe/The-Pile-FreeLaw
and a tmp link to the dataset can be found at:
https://drive.google.com/file/d/1L-x3g3V888gHNUVHQWDkJBJHs5N02Kjz/view?usp=sharing


When a file is named enum.dart drift_dev crashes

Describe the bug

Code sample
You can also check out https://github.com/ValentinVignal/flutter_app_stable/tree/drift/crash-with-enum.dart
// lib/database.dart

import 'package:drift/drift.dart';

import 'todo.table.dart';
import 'enum.dart';

part 'database.g.dart';

@DriftDatabase(tables: [
  Todos,
])
class Database extends _$Database {
  Database(QueryExecutor e) : super(e);

  @override
  int get schemaVersion => 1;
}

// lib/todo.table.dart

import 'package:drift/drift.dart';

import 'enum.dart';

class Todos extends Table {
  IntColumn get id => integer()();
  TextColumn get title => text()();

  IntColumn get badEnum => intEnum<MyEnum>()();
}

// lib/enum.dart

enum MyEnum {
  entry0,
  entry1,
}

When I run
flutter pub run build_runner build --delete-conflicting-outputs -v

it crashes.

Logs
[   +8 ms] executing: sw_vers -productName
[  +26 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +18 ms] Exit code 0 from: sw_vers -productVersion
[        ] 13.3.1
[        ] executing: sw_vers -buildVersion
[  +18 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 22E772610a
[        ] executing: uname -m
[   +6 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +6 ms] executing: sysctl hw.optional.arm64
[   +6 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[  +81 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +59 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +109 ms] executing: [/Users/valentin/Perso/Projects/flutter_app_stable/] /Users/valentin/flutter/flutter/bin/cache/dart-sdk/bin/dart pub --suppress-analytics run build_runner build
--delete-conflicting-outputs -v
FINE: Pub 3.1.2
MSG : Deprecated. Use `dart run` instead.
FINE: Package Config up to date.
FINE: Package Config up to date.
[INFO] Entrypoint:Generating build script...
[INFO] Entrypoint:Generating build script completed, took 379ms

[INFO] BuildDefinition:Initializing inputs
[INFO] BuildDefinition:Reading cached asset graph...
[INFO] BuildDefinition:Reading cached asset graph completed, took 110ms

[INFO] BuildDefinition:Checking for updates since last build...
[INFO] BuildDefinition:Checking for updates since last build completed, took 965ms

[INFO] Build:Running build...
[INFO] Build:Running build completed, took 15ms

[INFO] Build:Caching finalized dependency graph...
[INFO] Build:Caching finalized dependency graph completed, took 68ms

[SEVERE] drift_dev on lib/database.dart (cached):

type 'Null' is not a subtype of type 'ClassElement' in type cast
package:drift_dev/src/analysis/resolver/dart/helper.dart 52:55  new KnownDriftTypes._fromLibrary
package:drift_dev/src/analysis/resolver/dart/helper.dart 94:28  KnownDriftTypes.resolve
package:drift_dev/src/analysis/driver/driver.dart 93:28         DriftAnalysisDriver.loadKnownTypes
package:drift_dev/src/analysis/resolver/discover.dart 76:46     DiscoverStep.discover
package:drift_dev/src/analysis/driver/driver.dart 129:7         DriftAnalysisDriver.discoverIfNecessary
package:drift_dev/src/analysis/driver/driver.dart 166:7         DriftAnalysisDriver.findLocalElements
package:drift_dev/src/backends/build/analyzer.dart 36:22        DriftDiscover.build

[SEVERE] drift_dev on lib/database.dart (cached):

type 'Null' is not a subtype of type 'ClassElement' in type cast
package:drift_dev/src/analysis/resolver/dart/helper.dart 52:55  new KnownDriftTypes._fromLibrary
package:drift_dev/src/analysis/resolver/dart/helper.dart 94:28  KnownDriftTypes.resolve
package:drift_dev/src/analysis/driver/driver.dart 93:28         DriftAnalysisDriver.loadKnownTypes
package:drift_dev/src/analysis/resolver/discover.dart 76:46     DiscoverStep.discover
package:drift_dev/src/analysis/driver/driver.dart 129:7         DriftAnalysisDriver.discoverIfNecessary
package:drift_dev/src/backends/build/analyzer.dart 97:5         DriftAnalyzer.build

[SEVERE] drift_dev on lib/todo.table.dart (cached):

type 'Null' is not a subtype of type 'ClassElement' in type cast
package:drift_dev/src/analysis/resolver/dart/helper.dart 52:55  new KnownDriftTypes._fromLibrary
package:drift_dev/src/analysis/resolver/dart/helper.dart 94:28  KnownDriftTypes.resolve
package:drift_dev/src/analysis/driver/driver.dart 93:28         DriftAnalysisDriver.loadKnownTypes
package:drift_dev/src/analysis/resolver/discover.dart 76:46     DiscoverStep.discover
package:drift_dev/src/analysis/driver/driver.dart 129:7         DriftAnalysisDriver.discoverIfNecessary
package:drift_dev/src/analysis/driver/driver.dart 166:7         DriftAnalysisDriver.findLocalElements
package:drift_dev/src/backends/build/analyzer.dart 36:22        DriftDiscover.build

[SEVERE] drift_dev on lib/enum.dart (cached):

type 'Null' is not a subtype of type 'ClassElement' in type cast
package:drift_dev/src/analysis/resolver/dart/helper.dart 52:55  new KnownDriftTypes._fromLibrary
package:drift_dev/src/analysis/resolver/dart/helper.dart 94:28  KnownDriftTypes.resolve
package:drift_dev/src/analysis/driver/driver.dart 93:28         DriftAnalysisDriver.loadKnownTypes
package:drift_dev/src/analysis/resolver/discover.dart 76:46     DiscoverStep.discover
package:drift_dev/src/analysis/driver/driver.dart 129:7         DriftAnalysisDriver.discoverIfNecessary
package:drift_dev/src/backends/build/analyzer.dart 97:5         DriftAnalyzer.build

[SEVERE] drift_dev on lib/todo.table.dart (cached):

type 'Null' is not a subtype of type 'ClassElement' in type cast
package:drift_dev/src/analysis/resolver/dart/helper.dart 52:55  new KnownDriftTypes._fromLibrary
package:drift_dev/src/analysis/resolver/dart/helper.dart 94:28  KnownDriftTypes.resolve
package:drift_dev/src/analysis/driver/driver.dart 93:28         DriftAnalysisDriver.loadKnownTypes
package:drift_dev/src/analysis/resolver/discover.dart 76:46     DiscoverStep.discover
package:drift_dev/src/analysis/driver/driver.dart 129:7         DriftAnalysisDriver.discoverIfNecessary
package:drift_dev/src/backends/build/analyzer.dart 97:5         DriftAnalyzer.build

[SEVERE] drift_dev on lib/enum.dart (cached):

type 'Null' is not a subtype of type 'ClassElement' in type cast
package:drift_dev/src/analysis/resolver/dart/helper.dart 52:55  new KnownDriftTypes._fromLibrary
package:drift_dev/src/analysis/resolver/dart/helper.dart 94:28  KnownDriftTypes.resolve
package:drift_dev/src/analysis/driver/driver.dart 93:28         DriftAnalysisDriver.loadKnownTypes
package:drift_dev/src/analysis/resolver/discover.dart 76:46     DiscoverStep.discover
package:drift_dev/src/analysis/driver/driver.dart 129:7         DriftAnalysisDriver.discoverIfNecessary
package:drift_dev/src/analysis/driver/driver.dart 166:7         DriftAnalysisDriver.findLocalElements
package:drift_dev/src/backends/build/analyzer.dart 36:22        DriftDiscover.build

[SEVERE] Build:
Failed after 130ms
IO  : Writing 9851 characters to text file /Users/valentin/.pub-cache/log/pub_log.txt.
MSG : Logs written to /Users/valentin/.pub-cache/log/pub_log.txt.
[+3517 ms] pub failed
                    command: "/Users/valentin/flutter/flutter/bin/cache/dart-sdk/bin/dart pub --suppress-analytics run build_runner build --delete-conflicting-outputs -v"
                    pub env: {
                      "FLUTTER_ROOT": "/Users/valentin/flutter/flutter",
                      "PUB_ENVIRONMENT": "flutter_cli:forward",
                    }
                    exit code: 1

[  +13 ms] "flutter run" took 3,713ms.
[   +4 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      _DefaultPub._runWithStdioInherited (package:flutter_tools/src/dart/pub.dart:447:7)
           <asynchronous suspension>
           #2      _DefaultPub.interactively (package:flutter_tools/src/dart/pub.dart:530:5)
           <asynchronous suspension>
           #3      PackagesForwardCommand.runCommand (package:flutter_tools/src/commands/packages.dart:133:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1297:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:339:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:285:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:115:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:90:3)
           <asynchronous suspension>

[ +197 ms] ensureAnalyticsSent: 189ms
[        ] Running 0 shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

I works fine if I rename enum.dart into my_enum.dart

Could it be that you're applying a dependency override to drift_dev without applying one to drift as well?
I can't reproduce this issue with the latest drift/drift_dev versions from pub or the ones currently used on develop in this repository.

Hum weird I cannot reproduce the issue anymore as well 🤔

Could it be that you're applying a dependency override to drift_dev without applying one to drift as well?

I definitely could have done that at some point but when I was creating this issue I didn't have any override anymore (As you can see in the repo I linked). Maybe there was still an issue in the flutter cache that was not cleared?
I can close this since it seems to work.


Add showHighlightBox property to control visibility of Highlight Box

Hi, this PR adds showHighlightBox property.
It might be just my preference, but I prefer it hidden especially during polygon annotation.
Visibility of the Highlight Box may denote selection status of region items but it seems that's not  always the case. So I thought adding the property wouldn't result in catastrophic consequences.

love it!


adding an example about using camel headers

Based on https://stackoverflow.com/questions/56592191/how-to-access-exchange-headers-in-the-xquery/56592371?noredirect=1#comment99761977_56592371

@Bican007 Thanks a lot!


modify tiflash proxy default config

What problem does this PR solve?
https://github.com/pingcap/tics/issues/3412
What is changed and how it works?
Proposal: https://pingcap.feishu.cn/sheets/shtcnaMkj4g1USPo1TLEv3nRVLh
What's Changed: Modify TiFlash Proxy default configuration value.
Related changes
https://github.com/pingcap/tics/pull/3414
Check List
Tests

Integration test

Release note
Enhance default configurations of TiFlash.

/run-all-tests


Implement UniqueInputFieldNames validation rule

Implement UniqueInputFieldNames validation rule (ref)
Unlike graphql-js, there is no validation context given when validating a document. A schema validation rule should be self-sufficient and based only on the given AST document.
See https://github.com/gql-dart/gql/tree/master/gql/lib/src/validation.

I opened https://github.com/gql-dart/gql/pull/58 with a port of the reference JS implementation.


Toggle BlockNotification events

It has come to my attention that while nuking code from orbit in the cause tracking branch refactoring cause tracking, it's very well possible to suppress any sort of block updates in the world. The results are self explanatory with these images:

The use cases vary, but as many people can imagine, this would allow for some creative building to take place where plugins specifically had to perform these sort of actions for them.
The issue at hand is: If we are to provide a configuration for this, where are the settings for this going to exist?
A few solutions thought up currently:

Store the value in the sponge/<worldname>/sponge.conf file
Store the value in the WorldProperties for every world
Store it in both, where the WorldProperties by default remains in a Tristate.UNDEFINEDand delegates to the world config (note if the config has it enabled, but theWorldProperties` defines it as disabled, the properties takes priority).

This is likely to be expanded with the power being wielded with the cause tracking refactor (thoughts for additional things would be preventing item drops from block updates entirely).

I'd say store in both where the world property takes priority. Default it to true for updates. Also, check the formatting.

It might not be a good idea to suppress all block notification events in a world. Players might start saying "Sponge is broken! It glitched up my world! I don't like Sponge!" when they copy and paste config files from the internet. It's also a bad idea to implement this without having regions built into Sponge, because all of the world behavior controls should be in a single place, usually a world protection plugin. The world protection plugin will then manage where the settings apply.

I could see this being useful for map building, have one world with notifications off for editing much like MCEdit then copy the world and test it.


[PackageBuilder] Allow custom vendor path on windows system (#1577)

I tried to stay with the same logic to get the composer vendor directory, but other solution is to remove all the code and let the call of the fallback method :
    public static function provide(): string
    {
        return self::reflectionFallback();
    }

PS : tested on linux & windows

I see. Thank you for testing :+1:


Develop functionality to adjust the playback speed of the audio, enabling the player to listen to it at a slower pace.

#50


Backstage 1.6.0 mkdocs started to fail suddenly

Expected Behavior
Mkdocs should generate properly
Actual Behavior

Failed to build the docs page: Could not read MkDocs YAML config file mkdocs.yml or mkdocs.yaml for validation; caused by Error: ENOENT: no such file or directory, open '/var/folders/kd/9r43_c2j6cb2w0g91_6d19hw0000gq/T/backstage-9CTvZ1/mkdocs.yml' Could not read MkDocs YAML config file mkdocs.yml or mkdocs.yaml for validation; caused by Error: ENOENT: no such file or directory, open '/var/folders/kd/9r43_c2j6cb2w0g91_6d19hw0000gq/T/backstage-9CTvZ1/mkdocs.yml' type=plugin name=Error cause=Error: ENOENT: no such file or directory, open '/var/folders/kd/9r43_c2j6cb2w0g91_6d19hw0000gq/T/backstage-9CTvZ1/mkdocs.yml' stack=Error: Could not read MkDocs YAML config file mkdocs.yml or mkdocs.yaml for validation; caused by Error: ENOENT: no such file or directory, open '/var/folders/kd/9r43_c2j6cb2w0g91_6d19hw0000gq/T/backstage-9CTvZ1/mkdocs.yml'
Context
Docs no longer generated
Your Environment

yarn run v1.22.18
$ /Users/asoto/workspaces/ee-portal/node_modules/.bin/backstage-cli info
OS:   Darwin 21.0.1 - darwin/arm64
node: v16.14.1
yarn: 1.22.18
cli:  0.19.0 (installed)
backstage:  1.6.0

Dependencies:
  @backstage/app-defaults                          1.0.6
  @backstage/backend-common                        0.15.1
  @backstage/backend-plugin-api                    0.1.2
  @backstage/backend-tasks                         0.3.5
  @backstage/catalog-client                        1.1.0
  @backstage/catalog-model                         1.1.1
  @backstage/cli-common                            0.1.10
  @backstage/cli                                   0.19.0
  @backstage/config-loader                         1.1.4
  @backstage/config                                1.0.2
  @backstage/core-app-api                          1.1.0
  @backstage/core-components                       0.11.1
  @backstage/core-plugin-api                       1.0.6
  @backstage/errors                                1.1.1
  @backstage/integration-react                     1.1.4
  @backstage/integration                           1.3.1
  @backstage/plugin-api-docs                       0.8.9
  @backstage/plugin-app-backend                    0.3.36
  @backstage/plugin-auth-backend                   0.16.0
  @backstage/plugin-auth-node                      0.2.5
  @backstage/plugin-catalog-backend-module-openapi 0.1.2
  @backstage/plugin-catalog-backend                1.4.0
  @backstage/plugin-catalog-common                 1.0.6
  @backstage/plugin-catalog-graph                  0.2.21
  @backstage/plugin-catalog-import                 0.8.12
  @backstage/plugin-catalog-node                   1.1.0
  @backstage/plugin-catalog-react                  1.1.4
  @backstage/plugin-catalog                        1.5.1
  @backstage/plugin-github-actions                 0.5.9
  @backstage/plugin-lighthouse                     0.3.9
  @backstage/plugin-org                            0.5.9
  @backstage/plugin-permission-common              0.6.4
  @backstage/plugin-permission-node                0.6.5
  @backstage/plugin-permission-react               0.4.5
  @backstage/plugin-proxy-backend                  0.2.30
  @backstage/plugin-scaffolder-backend             1.6.0
  @backstage/plugin-scaffolder-common              1.2.0
  @backstage/plugin-scaffolder                     1.6.0
  @backstage/plugin-search-backend-module-pg       0.4.0
  @backstage/plugin-search-backend-node            1.0.2
  @backstage/plugin-search-backend                 1.0.2
  @backstage/plugin-search-common                  1.0.1
  @backstage/plugin-search-react                   1.1.0
  @backstage/plugin-search                         1.0.2
  @backstage/plugin-tech-radar                     0.5.16
  @backstage/plugin-techdocs-backend               1.3.0
  @backstage/plugin-techdocs-module-addons-contrib 1.0.4
  @backstage/plugin-techdocs-node                  1.4.0
  @backstage/plugin-techdocs-react                 1.0.4
  @backstage/plugin-techdocs                       1.3.2
  @backstage/plugin-user-settings                  0.4.8
  @backstage/release-manifests                     0.0.6
  @backstage/test-utils                            1.2.0
  @backstage/theme                                 0.2.16
  @backstage/types                                 1.0.0
  @backstage/version-bridge                        1.0.1
✨  Done in 4.44s.

I think the issue started to happen after adding the second prop
 annotations:
    backstage.io/techdocs-ref: dir:.
    backstage.io/source-location: url:https://bitbucket.org/...

Couple of Qs to try to narrow this down:

How do you ingest entities? Is it via manual registration or discovery?
Does it work if you remove the backstage.io/source-location again?
Do you have integration set up towards bitbucket.org with credentials to fetch content?
Does the backstage.io/source-location value point all the way to the catalog-info.yaml or equivalent?

Hmm, not finding anything there's that's suspicious to be honest. One more Q that might help clear things up, what's the value of the backstage.io/managed-by-location of one of the failing entities? Especially compared to the value of the backstage.io/source-location. I would expect the difference to be that there's a catalog-info.yaml or similar at the end of backstage.io/managed-by-location, so anything else might be a pointer towards what the issue is.

looks something like
backstage.io/managed-by-location
file:/Users/asoto/workspaces/repo/docs/my-app/catalog-info.yaml

backstage.io/managed-by-origin-location
file:/Users/asoto/workspaces/repo/docs/all.yaml

backstage.io/techdocs-ref
dir:.

backstage.io/source-location
[url:https://bitbucket.org/...repo/](https://bitbucket.org/..repo/)


[FR]: limit_upload_speed for torrents from specified trackers based on their ratio

Is your feature request related to a problem? Please elaborate.
not really a problem but i think it would be nice if we could throttle torrents from trackers based on their ratio,
example: limit_upload_speed for torrents from trackerABC to 2000 KB/s if the ratio is above 3
atm you could set the max_ratio and the torrent gets stopped/deleted once the ratio is reached
or set a general upload limit for a tracker
but what if i wanted to only limit the upload speed if the torrent from a specified tracker has reached a specified ratio
Describe the solution you'd like
implementing a new variable and command which would only limit the upload speed of a torrent from a specified tracker if a specified ratio has been reached.
Does your solution involve any of the following?

[X] New config option
[X] New command option

Describe alternatives you've considered
with the help of chatgpt i made a python script, which does what i described above.
in case someone is interested https://pastebin.com/raw/fH3ugqLM
Who will this benefit?
everyone who wants to limit the upload speed of torrents from a specific tracker, based on the ratio
Additional Information
No response

What's the usecase?  This seems like an extremely niche request and an entirely new feature concept. Seems out of scope.
For a given tracker
If seed ratio or time ratio between two arbitrary values, limit upload rate for specific torrents.
How would share limit group upload limits come into play?
What happens in a conflict?


Workflow instance is not getting generated on DolphinScheduler v3.2.0

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
Hi, i have created a Workflow Definition under the project and made it online and started it. But i don't see "Workflow instance" got created. My workflow instance list is empty. And also, i see Task definition as well but no task instance got created. i checked the logs on worker & master. No errors reported.
Due to this, in monitor section, under "Statistical Manager -> Statistics" section, i see "Command Number Of Waiting For Running" is showing 1 and getting completed.
It would be very helpful if you could take a look at it.
What you expected to happen
I expect, workflow instance and task instance should get created and command should run.
How to reproduce
I just followed the documentation to create a workflow definition and run a shell script.
Anything else
No response
Version
3.2.x
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

hi @PVelagambeti  can you show me the master's log?


Stage 3 and 6 updates

This PR addresses #458 with updates so the dotplots have the verticle line tool, and to allow it to broadcast the position and to recieve a line position.
This also adds in the class data to stage 6. There is some issue with stage 5 not seeming to load data. Using the same async structure as in stage 5 would be preferrable, to decrease load time, but this is stable.

@johnarban, this is looking good - thank you! I've noticed some updates that will be needed in stage 3, but I am going to merge this now so we have the nearly complete Stage 6 and will note the Stage 3 issues in a separate issue.


Two problems that should be solved

Hi,
I am testing this bot for two weeks and I found out there are two problems that causing the bot to work improperly.
The first one happens when there is sudden dump on the market, at this time the bot should create a sell order and if the order remained unfilled for about one minute (as it's said in portfolio manager section) it should cancel the order and create another one with the new market price, BUT it doesn't do this and the order remains there without any change so the dump can hurt you !
The second one is about the selling amount limitation. When you wanna buy an exact amount of BTC you can edit the buy amount in portfolio manager section and it works fine but when do this for selling amount, nothing happens and the bot doesn't sell anything at all !
Please tell me how to fix these two problems? and it should be perfect after that .
Thanks.

The first one happens when there is sudden dump on the market, at this time the bot should create a sell order

You can add this to your strategy!

The second one is about the selling amount limitation. When you wanna buy an exact amount of BTC you can edit the buy amount in portfolio manager section and it works fine but when do this for selling amount, nothing happens and the bot doesn't sell anything at all !

Unfortunately this is out of scope for now :(


[FLINK-36273][table] Remove deprecated Table/SQL configuration in 2.0

What is the purpose of the change
Remove deprecated Table/SQL configuration in 2.0. This is a subtask of https://issues.apache.org/jira/browse/FLINK-35473.
Brief change log

Add a config in values source to let it can disable agg push down
Remove deprecated Table/SQL configuration in 2.0

Verifying this change
This change is already covered by existing tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented?

@flinkbot run azure

@flinkbot run azure

For 2nd commit,  went over all options mentioned in https://issues.apache.org/jira/browse/FLINK-35473
All deprecated options there were remove except the occurrences in corresponding release notes.
The changes looks good!


Benchmark

benchmark功能，为接口新增压测能力。

Codecov Report

Merging #112 into master will decrease coverage by 17.5%.
The diff coverage is 16.55%.

@@             Coverage Diff             @@
##           master     #112       +/-   ##
===========================================
- Coverage   93.36%   75.85%   -17.51%
===========================================
  Files          25       31        +6
  Lines        1025     1309      +284
===========================================
+ Hits          957      993       +36
- Misses         44      291      +247
- Partials       24       25        +1

Impacted Files
Coverage Δ

bench/report.go
0% <0%> (ø)

bench/req.go
0% <0%> (ø)

bench/task.go
0% <0%> (ø)

bench/tmpl.go
100% <100%> (ø)

gout.go
100% <100%> (ø)
:arrow_up:

group.go
100% <100%> (ø)
:arrow_up:

filter.go
100% <100%> (ø)

req.go
89.23% <73.33%> (+0.43%)
:arrow_up:

bench.go
92.59% <92.59%> (ø)

... and 5 more

Continue to review full report at Codecov.

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