[Bug][worker] task throw ConcurrentModifiedException #5528

related issue #5528
Using Iterator of SynchronizedList is not thread safe.

Codecov Report

Merging #5530 (12764fe) into dev (8a1d849) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##                dev    #5530      +/-   ##
============================================
- Coverage     46.58%   46.57%   -0.01%
+ Complexity     3772     3771       -1
============================================
  Files           605      605
  Lines         24797    24799       +2
  Branches       2813     2813
============================================
- Hits          11552    11551       -1
- Misses        12141    12143       +2
- Partials       1104     1105       +1

Impacted Files
Coverage Δ
Complexity Δ

...phinscheduler/server/worker/task/AbstractTask.java
30.76% <0.00%> (-1.67%)
6.00 <0.00> (ø)

...dolphinscheduler/remote/future/ResponseFuture.java
81.35% <0.00%> (-1.70%)
18.00% <0.00%> (-1.00%)

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 8a1d849...12764fe. Read the comment docs.

@CalvinKirs Done

with the old code
logger.info(" -> {}", String.join("\n\t", logs));

the test case is still pass
    @Test
    public void testLogHandler() throws InterruptedException {
        List<String> list = Collections.synchronizedList(new ArrayList<>());
        Thread thread1 = new Thread(() -> {
            for (int i = 0; i < 10; i++) {
                list.add("test add log");
            }
        });
        Thread thread2 = new Thread(() -> {
            for (int i = 0; i < 10; i++) {
                sqoopTask.logHandle(list);
            }
        });
        thread1.start();
        thread2.start();
        thread1.join();
        thread2.join();
        // if no exception throw, assert true
        Assert.assertTrue(true);
    }


YouTube videos do not show the quality selector

tested with html5 is ok but with youtube it only shows the speed selector

This is expected. Have a search through the issues and you'll see why it was removed. It's flaky. The YouTube API exposes a method to allow quality selection but it's merely a suggestion and 99% of the time it's ignored, rendering the feature useless and as such it was removed.

Is there any way to add quality selector for youtube and vimeo in plyr.
I am dispretevely searching about this.

Is there any way to add quality selector for youtube and vimeo in plyr.
I am dispretevely searching about this.

As above, search issues, I have covered this several times. It's possible to add to Vimeo now as they've added support but it's yet to be added to Plyr.


[BUG] [BE] API ACTIVITY log - Method is not correct

when testing the new get-delete-eline api, the mapping is set with a post method,

but in activity log, it is shown as GET?

not a valid bug, due to the template is not deployed to stage.


Any news?

When are you going to start this project?

Thank you for the patience on the late reply. I wasn't subscribed to the repo and didn't get a notification.
Progress is being shared on https://github.com/microsoft/kiota/issues/220
We're almost wrapped up for request body serialization, and we're not doing response body deserialization for the time being as it seems that this is not something that APIs use in general. We're working on publishing the libraries in Java/Go/Dotnet/TypeScript before we merge and release the generation changes. Hopefully everything will be wrapped up in a couple of days.


Update refs to Saturn Cloud's fork

@forana Even after merging this, which includes changes to go.mod, it is still erroring for image build:
#14 10.13 go: downloading github.com/Azure/go-autorest/autorest/validation v0.2.0
#14 10.25 go: found github.com/saturncloud/sshpipe-k8s-lib/pkg/client/clientset/versioned in github.com/saturncloud/sshpipe-k8s-lib v0.0.3
#14 10.30 go: github.com/tg123/sshpiper/sshpiperd imports
#14 10.30       github.com/tg123/sshpiper/sshpiperd/upstream/kubernetes imports
#14 10.30       github.com/saturncloud/sshpipe-k8s-lib/pkg/client/clientset/versioned<EMAIL_ADDRESS>parsing go.mod:
#14 10.30       module declares its path as: github.com/pockost/sshpipe-k8s-lib
#14 10.30               but was required as: github.com/saturncloud/sshpipe-k8s-lib
------
error: failed to solve: executor failed running [/bin/sh -c CGO_ENABLED=0 go build -ldflags "$(/go/src/github.com/tg123/sshpiper/sshpiperd/ldflags.sh)" -o /go/bin/sshpiperd]: exit code: 1

@forana Even after merging this, which includes changes to go.mod, it is still erroring for image build:
#14 10.13 go: downloading github.com/Azure/go-autorest/autorest/validation v0.2.0
#14 10.25 go: found github.com/saturncloud/sshpipe-k8s-lib/pkg/client/clientset/versioned in github.com/saturncloud/sshpipe-k8s-lib v0.0.3
#14 10.30 go: github.com/tg123/sshpiper/sshpiperd imports
#14 10.30       github.com/tg123/sshpiper/sshpiperd/upstream/kubernetes imports
#14 10.30       github.com/saturncloud/sshpipe-k8s-lib/pkg/client/clientset/versioned<EMAIL_ADDRESS>parsing go.mod:
#14 10.30       module declares its path as: github.com/pockost/sshpipe-k8s-lib
#14 10.30               but was required as: github.com/saturncloud/sshpipe-k8s-lib
------
error: failed to solve: executor failed running [/bin/sh -c CGO_ENABLED=0 go build -ldflags "$(/go/src/github.com/tg123/sshpiper/sshpiperd/ldflags.sh)" -o /go/bin/sshpiperd]: exit code: 1

Not quite sure why that's happening - happy to step through your dockerfile if you'd like.

Wait, I see it - the directory also needs to be renamed: https://github.com/saturncloud/sshpipe-k8s-lib/tree/main/pkg/apis/pockost.com


v1.0.0: Plugin placing files in npm dependency can be an issue when building

The plugin currently writes files to the npm-package dependency an-empty-js-file. There are two problems with this:
First, we use pnpm with hoist=false in .npmrc. This causes pnpm not to symlink the an-empy-js-file to the node_modules of the project that uses the vite plugin.  The dependency is still available to the vite plugin but vite itself does not find the package anymore so the build fails, as files are not found. This can be solved by also adding an-empty-js-file as a dependency to the project so pnpm symlinks the package. However, this feels like a weird way to solve this issue, as it is not really a dependency of the project.
The second problem we encountered is that our build system does not like a target editing its dependencies. We use Bazel with rules_js that uses pnpm under the hood to build our web apps. Bazel makes dependencies read-only, which prevents this vite plugin from placing or modifying any files into the an-empty-js-file package.
Would you mind to elaborate why it is necessary for the plugin to place files to a different npm package? Could this be done without that? I'd be open to try to help find an alternative solution that would not require changing a dependency.

The node_modules module (such as vue, react) will be pre-built by vite, and no plugin can interfere with this process, including the earliest executed resolveId api.
The file name of the pre-built node_modules will become chunk-hash.js, so I can't proxy it and can't implement shared.
So I use alias to generate a new file before pre-building to proxy node_modules (because plugins can't interfere and virtual modules can't be used)

Use cacheDir path to replace an-empty-js-file
Setting this path to optimizeDeps.include should solve this problem

Thank you for your replies. I think I understand now what you're trying to accomplish. I'm having a look at it to see how the vite cache path could be used instead.

It will take some time

Closed by #67


Comply with Backbone.Model.idAttribute

The storage doesn't find a model in collection storage when Backbone.Model.idAttribute is not set to the default « id ».
Could you please slightly modify this line :
https://github.com/thejameskyle/backbone.storage/blob/master/src/backbone.storage.js#L153
with :

var opt = {};
opt[this.model.prototype.idAttribute] = model;
return new this.model(opt);

Makes sense. Want to make a PR?

Today I ran in this bug too..
while connecting to couchdb which uses '_id' as default id-attribute.
++ for an fix :-)


Adding configurable session timeout.  Issue #54.

Issue #54.

The one thing I'm concerned with this solution is that there's no fallback if the role you're trying to assume has a shorter MaxSessionDuration than the default timeout you've set.  The user just gets a ClientError exception from Boto and the only way they can access that role would be to reconfigure gimme-aws-creds.
It's a little ugly, but I think the easiest solution would be to catch the ClientError, fall back to 3600 seconds and retry the AssumeRoleWithSAML call.

@Sector95 - take a look at the changes I added.  If you're good with them, let's merge it and release the new version


Whether echarts can listen to the event when the points be snapped

[x] I am using English in this issue. 在这个 Issue 中我使用了英文（强烈建议）。

General Questions

PLEASE MAKE SURE OF ALL THE FOLLOWING OPTIONS IN REQUIRED FIELDS ARE TICKED (with x)!
Otherwise, the issue will not be answered.
And think before you tick. :)
请确保以下每项都打上勾了！并且确保都做了这些事哦~ 这将大量简化我们的工作流程，使你的问题更快速得到解答。

[x] Required: I have read the document and examples and tried to solve it by myself. （必填）我读过了文档和教程，并且曾试图自己解决问题。
[x] Required: I have searched for similar issues and that didn't help. （必填）我搜索过 issue 但是没有帮助。
[x] Required: I have tried with the latest version of ECharts and still have this problem. （必填）我试过最新版本的 ECharts，还是存在这个问题。

In this issue, I have provided information with: 在这个 issue 中我提供了以下信息：

[x] Required: issue type；（必填）issue 类型
[x] Required: one sentence description in issue details；（必填）一句话的问题描述
[x] Required: demo；（必填）能反映问题的例子（如果你想提问或报 bug）
[x] Required: ECharts version；ECharts 版本

Issue Type

[x] I have a question to ask about how to use ECharts to ...；我想提问如何使用 ECharts 实现某功能
[ ] I have a bug to report；我想要报 bug
[ ] I have a feature to request, e.g.: I'd like a new feature that ...；我需要一个新功能
[ ] I have a feature to enhance, e.g.: The current feature should be improved in the way that ...；我希望改进某个功能
[ ] There's something wrong with the documents；文档有些问题
[ ] Others, or I'm not sure which issue types to choose here；其他，或我不知道应该选什么类型

Issue Details

Whether echarts can listen to the event when the points be snapped, just like the gif below

Expected Behavior

A callback should be provided
Current Behavior

I can not find some information about this in the document
Online Example

THIS IS REQUIRED FOR ALL BUG REPORTS AND QUESTIONS!!! 如果是提问或报 bug 一定要提供这一项！
http://www.echartsjs.com/examples/editor.html?c=line-stack

Topics

[ ] Legend
[ ] Tooltip
[x] Event
[ ] Performance
[ ] SVG
[ ] Map
[ ] ECharts GL
[ ] Third-party libraries, e.g.: Vue.js, React

Anything Else We Need to Know

Environment

ECharts version；ECharts 版本: 3.7.2

[ ] It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题，请提供相应环境信息：{BROWSER_VERSION_OR_OS_INFORMATION_HERE}

@heartAndRain
What events do you need?
What is the trigger mode?

There is a event "updateAxisPointer".
chart.on('updateAxisPointer', function (e) { ... });

There is a event "updateAxisPointer".
chart.on('updateAxisPointer', function (e) { ... });

Thanks, this solved my problem. But why can't I find a description about it in the official documentation?

更新文档还是积极点好
虽然麻烦，但是值得。。。。
”updateAxisPointer“这个事件要是不看实例，还真不知道有这个


Error in Starting Faber Agent on local machine for Open API Demo

Starting faber...
#1 Provision an agent and wallet, get back configuration details
Faber      | Registering Faber Agent with seed d_000000000000000000000000666877
Faber      | Got DID: PkycMbtb1iayz33JgqRgAU
Faber      |
Faber      | Shutting down
Faber      | 2019-08-13 20:45:54,018 aries_cloudagent.commands.start ERROR Exception during startup:
Faber      | Traceback (most recent call last):
Faber      |   File "/home/indy/aries_cloudagent/commands/start.py", line 66, in init
Faber      |     await startup
Faber      |   File "/home/indy/aries_cloudagent/commands/start.py", line 22, in start_app
Faber      |     await conductor.start()
Faber      |   File "/home/indy/aries_cloudagent/conductor.py", line 148, in start
Faber      |     await ledger_config(context, public_did)
Faber      |   File "/home/indy/aries_cloudagent/config/ledger.py", line 79, in ledger_config
Faber      |     taa_info = await ledger.get_txn_author_agreement()
Faber      |   File "/home/indy/aries_cloudagent/ledger/indy.py", line 569, in get_txn_author_agreement
Faber      |     self.taa_cache = await self.fetch_txn_author_agreement()
Faber      |   File "/home/indy/aries_cloudagent/ledger/indy.py", line 579, in fetch_txn_author_agreement
Faber      |     response_json = await self._submit(get_aml_req, sign=bool(did_info))
Faber      |   File "/home/indy/aries_cloudagent/ledger/indy.py", line 253, in _submit
Faber      |     f"Ledger rejected transaction request: {request_result['reason']}"
Faber      | aries_cloudagent.ledger.error.LedgerTransactionError: Ledger rejected transaction request: client request invalid: InvalidClientRequest('invalid type: 7',)
Traceback (most recent call last):
File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/indy/demo/runners/faber.py", line 250, in
asyncio.get_event_loop().run_until_complete(main(args.port, args.timing))
File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "/home/indy/demo/runners/faber.py", line 119, in main
await agent.start_process()
File "/home/indy/demo/runners/support/agent.py", line 290, in start_process
await self.detect_process()
File "/home/indy/demo/runners/support/agent.py", line 385, in detect_process
+ f"Admin URL: {swagger_url}"
Exception: Timed out waiting for agent process to start. Admin URL: http://<IP_ADDRESS>:8021/api/docs/swagger.json

Hi @muhammadusman93
Could you please provide a bit more information about your local environment?   Helpful info would be OS you are using, and the commands you have run to set up your environment and start the demo.
We'll take a look at where your run timed out.

Looks like the timeout occurred with a first call to the ledger (could be ledger not configured properly) and is related to the new Transaction Author Agreement (TAA) that was just added to Indy and ACA-Py. Perhaps the instance of the ledger you are using does not support the TAA.  Either way, I'd be looking at what ledger you are using, how you started it, and how the Faber agent was told where the ledger is to be found.

I am using Linux OS. I am running everything locally on my linux machine. I
first started the VON Network as mentioned in the guidline. I then did
./run_demo faber and ./run_demo alice
On Wed, Aug 14, 2019 at 3:03 AM Stephen Curran<EMAIL_ADDRESS>wrote:

Looks like the timeout occurred with a first call to the ledger (could be
ledger not configured properly) and is related to the new Transaction
Author Agreement (TAA) that was just added to Indy and ACA-Py. Perhaps the
instance of the ledger you are using does not support the TAA. Either way,
I'd be looking at what ledger you are using, how you started it, and how
the Faber agent was told where the ledger is to be found.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hyperledger/aries-cloudagent-python/issues/139?email_source=notifications&email_token=AHQQSAFLK5VXH54LU2FBPF3QEMVRXA5CNFSM4ILOUUNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4HDX3I#issuecomment-521026541,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHQQSAGRSVYTS3OXWJRESEDQEMVRXANCNFSM4ILOUUNA
.

Try running git pull and ./manage build in the von-network directory and restarting it. The latest release is on indy-node 1.9 and supports TAA.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_19409ca4-a4af-4526-9b05-d5062a7cb202/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_19409ca4-a4af-4526-9b05-d5062a7cb202.git

Docs Build status updates of commit 26db19f:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-UserAccountBuildPermissionInsufficientError] Owner v-alji no longer has Read permission of the repository https://github.com/opstest2/docs-archive-test-source. It might be due to recent GitHub changes on SSO. Please ask the owner v-alji to logon to Docs Portal https://ops.microsoft.com once again. If it is not the case, please ask anyone of Admin permission of the repo to assign a new owner via Docs Portal https://ops.microsoft.com

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


docs: add "changing the source directory" example

closes https://github.com/denoland/fresh/issues/257
supersedes https://github.com/denoland/fresh/pull/456
I reworked this to include the latest project structure and results. @iuioiua, please take a look, since you requested 456 to be updated.

Can anyone on the team tell me a bit about the failures here? e.g. https://github.com/denoland/fresh/actions/runs/5260086756/jobs/9506523671?pr=1286

Can anyone on the team tell me a bit about the failures here? e.g. https://github.com/denoland/fresh/actions/runs/5260086756/jobs/9506523671?pr=1286

I've created #1287, which fixes this issue.


injecting tokens in filter_stream fails with "expected token end of print statement"

I'm using an extension modifying the token stream via filter_stream to implement autoescape functionality for a latex renderer.
Extension looks like this:
class MyExtension(Extension):
    def filter_stream(self, stream):
        for token in stream:
            if token.type is TOKEN_VARIABLE_BEGIN:
                yield token
                yield Token(token.lineno, 'lparen', '(')
            elif token.type is TOKEN_VARIABLE_END:
                yield Token(token.lineno, 'rparen', ')')
                yield Token(token.lineno, 'pipe', '|')
                yield Token(token.lineno, 'name', 'escape_tex')
                yield token
            else:
                yield token

It pipes every variable through an escape_tex-function, for example {{ thingy }} gets translated to {{ (thingy) | escape_tex }}.
With jinja2==2.11.3 this works as intended. With newer versions, for example jinja2==3.1.2 I get this error:
jinja2.exceptions.TemplateSyntaxError: expected token 'end of print statement', got ')'

The full exception when disabling rewrite_traceback_stack indicates it crashes in parser.py:subparse.
Traceback (most recent call last):
  File "./main.py", line 35, in <module>
    print(env.from_string('Results in {{ foo + "asdf" }}').render(foo='FOO'))
  File ".venv/lib/python3.9/site-packages/jinja2/environment.py", line 1105, in from_string
    return cls.from_code(self, self.compile(source), gs, None)
  File ".venv/lib/python3.9/site-packages/jinja2/environment.py", line 768, in compile
    self.handle_exception(source=source_hint)
  File ".venv/lib/python3.9/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File ".venv/lib/python3.9/site-packages/jinja2/environment.py", line 760, in compile
    source = self._parse(source, name, filename)
  File ".venv/lib/python3.9/site-packages/jinja2/environment.py", line 617, in _parse
    return Parser(self, source, name, filename).parse()
  File ".venv/lib/python3.9/site-packages/jinja2/parser.py", line 1030, in parse
    result = nodes.Template(self.subparse(), lineno=1)
  File ".venv/lib/python3.9/site-packages/jinja2/parser.py", line 1005, in subparse
    self.stream.expect("variable_end")
  File ".venv/lib/python3.9/site-packages/jinja2/lexer.py", line 416, in expect
    raise TemplateSyntaxError(
jinja2.exceptions.TemplateSyntaxError: expected token 'end of print statement', got ')'
  line 1

On the other hand, directly parsing env.from_string("{{ (foo) | escape_tex }}") works and results in the same token stream, which to me indicates that something in the parsing decisions must go differently to lead to the exception.
variable_begin begin of print statement
lparen (
name foo
rparen )
pipe |
name escape_tex
variable_end end of print statement

I'm unsure if this usage of filter_stream is not supported but the gettext example also rewrites the token stream. If you don't consider this a bug I'd of couse love other suggestions to work around this.
Environment:

Python version: 3.9.7
Jinja version: 3.1.2

Looking into issue for PyCon sprint

The following code seems to be working and not generating Traceback. It's using the latest Jinja2 v3.1.4
from jinja2 import Environment, FileSystemLoader, ext
from jinja2.ext import Extension
from jinja2.lexer import Token, TOKEN_VARIABLE_BEGIN, TOKEN_VARIABLE_END

class LatexEscapeExtension(Extension):
    def filter_stream(self, stream):
        for token in stream:
            if token.type == TOKEN_VARIABLE_BEGIN:
                yield token
                yield Token(token.lineno, 'lparen', '(')
            elif token.type == TOKEN_VARIABLE_END:
                yield Token(token.lineno, 'rparen', ')')
                yield Token(token.lineno, 'pipe', '|')
                yield Token(token.lineno, 'name', 'escape_tex')
                yield token
            else:
                yield token

# Define the LaTeX escaping filter
def escape_tex(value):
    escape_map = {
        '&': r'\&',
        '%': r'\%',
        '$': r'\$',
        '#': r'\#',
        '_': r'\_',
        '{': r'\{',
        '}': r'\}',
        '~': r'\textasciitilde{}',
        '^': r'\textasciicircum{}',
        '\\': r'\textbackslash{}',
    }
    return ''.join(escape_map.get(char, char) for char in value)

# Set up the Jinja environment and register the custom extension and filter
env = Environment(loader=FileSystemLoader('templates'), extensions=[LatexEscapeExtension])
env.filters['escape_tex'] = escape_tex

# Sample template string with LaTeX special characters
template_str = """
This is a LaTeX document with a variable: {{ variable }}
"""

# Create the template
template = env.from_string(template_str)

# Render the template with a sample value containing LaTeX special characters
output = template.render(variable="100% safe & secure $5 deal with #1 quality")

print(output)

Note that in my class above if you replace == to is like in the original code, the same expected token 'end of print statement', got ')' will be returned.
But from the documentation it reads The type of the token. This string is interned so you may compare it with arbitrary strings using the is operator.
adding @Tyl13 for further analysis.

It seems that the memory address of the enums are not actually being saved when it comes to when the input is tokenized. I'm not sure where the issue is coming from as the intern should be forcing it to be saved in the same memory space. Could be an issue coming internally of Python, but I'm not sure.


MEASURE is not a keyword

@tjeske : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

@Minewiskan I think there was a misunderstanding. MEASURE is an MDX keyword but using MEASURE as a keyword in this context doesn't make sense, or? In the docs MEASURE is written as a keyword but I think it is about cell properties if I look e.g. at https://github.com/MicrosoftDocs/bi-shared-docs/blob/master/docs/analysis-services/multidimensional-models/mdx/mdx-cell-properties-using-cell-properties.md?plain=1#L87.


Set default layouts

The theme provides a lot of layouts but none of them are being used by default, other than the "default.html" layout that is automatically used by Jekyll. Update the _config.yml file to assign as many default layouts as possible. For example:
defaults:
  -
    scope:
      path: "blog/" # an empty string here means all files in the project
      type: "posts" # previously `post` in Jekyll 2.2.
    values:
      layout: "blog-item"

See the Jekyll documentation for details on how to implement this.
Edit: Be sure to update the documentation for things like blog post, events, and news items that currently say you have to set the layout frontmatter yourself. This will no longer be necessary after default layouts have been specified for them.

Unfortunately it looks like you can't set default layouts via the theme's _config.yml file so I'm going to transfer this issue to the starter repo.


Document how to troubleshoot dependencies

I've spent too much time fighting against variable outputs.
Could you please update this documentation and provide a way to easily dump the content of the dependencies object so that's easier to understand the expected naming in the expression and put under the light the potential missing dependsOn.
I came up with something like this:

 jobs:

 - job: A
   (...)

 - job: B
   (...)

 - job: C
   (...)

   variables:
     deps: $[ convertToJson(dependencies) ]

  - steps:
      - pwsh: |
           Write-Host "$(deps)"

A similar approachcan be leveraged for stageDependencies.

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

ID: dd7e0bd3-1f7d-d7b6-cc72-5ef63c31b46a
Version Independent ID: dae87abd-b73d-9120-bcdb-6097d4b40f2a
Content: Define variables - Azure Pipelines
Content Source: docs/pipelines/process/variables.md
Service: azure-devops-pipelines
Sub-service: azure-devops-pipelines-process
GitHub Login: @juliakm
Microsoft Alias: jukullam

@nulltoken Thanks! That's a great tip that I haven't seen before. I'll add it to the doc.


Invalid Username/password

Integration was working fine here, but had it uninstalled a while back because of captcha issues and broken Android app.
Now when re-installing the integration I get an "Invalid username or password" error by using the same credentials as for the carelink portal.
I'm running the latest release: 2023.10.0, no MFA, "g-recaptcha-response":"abc" applied.
Log says:
2023-11-23 08:40:28.353 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __get_login_session() failed: exception __get_login_session() session response is not OK 400
2023-11-23 08:40:28.353 DEBUG (MainThread) [custom_components.carelink.api] Carelink API: __execute_login_procedure() failed: exception 'countrycode'
Tried AT and at for Austrian country code.

I just read https://github.com/yo-han/Home-Assistant-Carelink/issues/48 till the end.
Please close my thread if it belongs to that issue.


Bugfix/issue88

Fixed #88. clean() wasn't dealing with the situation where no modules needed to be cleaned, so it was filling the file with the result of the regex, which was an empty string.

Coverage increased (+17.6%) to 88.446% when pulling 21d3907e960140f9ac45030af63e8c1721cb1cd8 on AlexPHorta:bugfix/issue88 into 6ca1f42d4e3ad91c9545c441d73b2004c45e059a on bndr:master.

Coverage increased (+17.6%) to 88.446% when pulling 21d3907e960140f9ac45030af63e8c1721cb1cd8 on AlexPHorta:bugfix/issue88 into 6ca1f42d4e3ad91c9545c441d73b2004c45e059a on bndr:master.

Coverage increased (+17.6%) to 88.446% when pulling 21d3907e960140f9ac45030af63e8c1721cb1cd8 on AlexPHorta:bugfix/issue88 into 6ca1f42d4e3ad91c9545c441d73b2004c45e059a on bndr:master.

Coverage increased (+17.6%) to 88.446% when pulling 21d3907e960140f9ac45030af63e8c1721cb1cd8 on AlexPHorta:bugfix/issue88 into 6ca1f42d4e3ad91c9545c441d73b2004c45e059a on bndr:master.


clean up "GEOSldas.GRID_TYPE=LatLon" in LDAS.rc when used with EASE grids

MAPL does not yet provide full functionality for EASE grids.
For now, GEOSldas uses some but not all of MAPL's LatLon functionality to handle EASE grids.
Once EASE grids can be handled by MAPL, clean up the "GRID_TYPE" in LDAS.rc.

still waiting for MAPL capability to handle EASE grids...


Allow to setup unbound on CentoOS 8/9

This also ensures, that all required packages for test are installed.

Looks like we just need a debian vars file and then this is g2g.

Debian vars file was added in #25 :) would be great if you could check it!


os: WriteFile failures with operation not permitted on iOS

What version of Go are you using (go version)?

$ go version 1.16

Does this issue reproduce with the latest release?
I haven't used the latest release
What operating system and processor architecture are you using (go env)?
GO111MODULE="on"
GOARCH="arm64"
GOEXE=""
GOFLAGS="-mod=mod"
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOINSECURE=""
GOOS="darwin"
GOPROXY="https://goproxy.cn,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
GOVCS=""
GOVERSION="go1.16.15"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/9k/dt625z5x4sj2pcf0n5twxrc00000gn/T/go-build1768545817=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?
I have a Go project that then compiles into an iOS library to use in an iOS project.
Code snippets
ioutil.WriteFile(path, data, os.ModePerm)
Write some data to a file using  ioutil.WriteFile
What did you expect to see?
return error is nil
What did you see instead?
The error of operation not permitted occasionally appears on some iphone phones
:open /xxx/xxx.json: operation not permitted

That seems likely to be either an application error or a bug in the iOS filesystem or kernel. I suggest that you check for race conditions in the application (is something perhaps changing the permissions of the parent directory?), and consider escalating the bug to Apple.
If you can reproduce the failure mode in a simple, standalone test, it may be possible to reproduce it on the Go project's ios builders, in which case it might be possible to develop a workaround, but without a reproducer I don't think there's anything we can feasibly do to address this.
(CC @golang/ios)

$ go version 1.16

Per the Go release policy, only the two most recent major releases of Go are supported — currently Go 1.18 and 1.19, and soon Go 1.19 and 1.20.


feat: Leverage YASM for building assembly interpreter on windows

Need a azure-pipelines.yml for Windows CI?

Need a azure-pipelines.yml for Windows CI?

I want to leave it to a different PR since getting CKB-VM's CI working on Windows can be real tricky(not due to this VM, but due to the way one test suite is organized)


[SPARK-48066][SQL][TESTS] Enable ANSI for TPCDSQueryBenchmark

What changes were proposed in this pull request?

TPCDSQueryBenchmark still runs on ANSI OFF mode because of

TPCDSBenchmark fails with divide by zero in q90 for ANSI

I have tested it with the latest revision on my local machine, and somehow the issue seems to have been resolved. And so do the GA results
Why are the changes needed?
improve test coverage for ANSI default
Does this PR introduce any user-facing change?
no
How was this patch tested?

benchmarking
Was this patch authored or co-authored using generative AI tooling?

no

Also cc @dongjoon-hyun from https://github.com/apache/spark/pull/47743


[language-jsx][Rendering Bugs] - Functional Components: New Lines, Prop Brackets/Objects, and Component Name Casing

Information

Language: React JSX
Plugins: React JSX language

Problem occurs on most recent download of Prism on October 10th, 2020
Description
React JSX does not render as expected
Code snippet
In my IDE (with
 blocks for context):

ReactDOM.render(
  <Canvas
  	gl={{ antialias: true }}
  	camera={{ position: [100, 100, 20] }}>
  </Canvas>,
  document.getElementById('root')
);

Rendered in my presentation:

The following issues exist:

Expected the component to be highlighted as <Canvas /> and not <canvas />
Expected the props to follow the line breaks as they are written in my IDE.
Expected prop objects {{...}} to render without additional/incorrectly added quotation marks.

JSX does not render as expected.

Can you provide a reproducible case so we can look into it? My initial reaction is you probably need to HTML escape the code snippet.

Honestly, my guess is that someone modified Prism to use innerHTML instead of textContent to extract the text of code elements. The lower-case tag name, the strange quotes everywhere, and the fact that the added quotes are exactly how a vanilla HTML parser would interpret the tag all bring me to this conclusion.

Can you provide a reproducible case so we can look into it? My initial reaction is you probably need to HTML escape the code snippet.

I did include a code snippet above, but what you mentioned about HTML escaping helped me find the working solution!
It turns out that I needed to escape my JSX tags with < and > in order to view it correctly.
Thanks for the tip!


Error message while editing  API-Backend not explanatory

Operating Systems:

Linux : Ubuntu 14.04.03 LTS (Trusty)
Windows 10

Browsers:

Mozilla Firefox 44.0
Google Chrome 48.0.2564.103
Microsoft Edge 25.10586.0.0

Steps:
1.Visit https://apinf.io
2. Sign in
3. Go to 'API Backends'
4. Add API Backend
5.  Click on 'View'
7. Go to 'Details' and click on 'Edit API Settings'
8. Edit API name (eg: add more characters to existing API name)
9. Click on 'Submit' button
Result: Error message “ Cannot read property 'length' of null “
Screenshot:

Could not find this API backend from umbrella.apinf.io Did you @saralavanip create this before editing? umbrella.apinf.io  has been upgraded and cleanup for old API backends has been done.
I followed the steps and added "New Test API backend" and edited the name "New Test API backend edited". Works fine.

@jykae , this API backend is from nightly.apinf.io. Yes, I added it before editing.

That backend doesn't exist on nightly.umbrella.apinf.io we should do cleanup on the Apinf front. nightly.umbrella.apinf.io is a fresh Umbrella install and misses all previously added backends. I think you were testing at that time when I was working with new Umbrella installation for nightly.

@jykae , Thanks for the info.
Verfied on https://apinf.io : Adding and editing  a new API backend was successful . I'll also test on nightly.apinf.io once the issue #893 is resolved.

I will cleanup not existing API backends on the nightly  and this can be closed after that.

Cleanup done for API backends on nightly and ApiDocs, server rebooted and synced with nightly Umbrella. Closing this.


Minor display issues on a small screen on a project page

Edit button is just an icon - looks like there is enough space to keep the word Edit:

Navigation burger icon should be right aligned:

PR: https://github.com/NationalSecurityAgency/skills-service/pull/673

:+1:


Tailor Bug fix

Description
I figured out that the error occurs because some details required to render the next page is not provided by the user so I added an alert if the complete details are not available.
Fixes #508
closes #508 BUG: Tailor Button runtime error
Type of change
Please delete options that are not relevant.

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

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Screenshots

Hello @AlfiyaSiddique!
Thank you for submitting this pull request Your pull request will be reviewed by maintainers shortly. Meanwhile make sure you have referenced the respected issue in this pr Your pr will not be merged if it does not have reference to respected issue
please read our Contributing Guidelines https://github.com/UBA-GCOEN/StichHub/blob/main/CONTRIBUTING.md And Code of Conduct https://github.com/UBA-GCOEN/StichHub/blob/main/CODE_OF_CONDUCT.md


Incorrect YouTube Link

Pretty sure this is the tutorial that is meant to be linked here.
https://www.youtube.com/watch?v=K4X1MT2jt6o

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

ID: 8f592059-3328-88a8-5c6c-43121ac8a0a5
Version Independent ID: f8a63abf-824b-5b80-e03d-abcb2c162b95
Content: Razor Pages with EF Core in ASP.NET Core - CRUD - 2 of 8
Content Source: aspnetcore/data/ef-rp/crud.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Fixed in #11437


 Instead of ddos shields focus on identity shields such as:
1.) not scamming out of millions and making hundreds of ppl hate you.
2.) don’t use the same powow whatever tf shield on ur server then go and advertise it to the public
3.) use illegally obtained crypto to buy a domain for ur personal life
Now instead of shielding servers from ddos you gonna have to shield your bootyhole in prison and neck from pokey pokes

Mental Outlaw fan spotted o-o

Mental Outlaw fan spotted o-o

I’m dead I saw tha doj article first then watched tha homie doingfedtimes vid bout it (shoutout dude he an og) then did a bit of research sure enough no mixing involved this fucker sent money from a known incog btc address to purchase his personal domain which literally is first initial last initial of his name 🤦🏿♂ I jus watched mental vid bout it

Its hilarious but also a bit sad. How do you manage to make this big of a fuckup
On May 23, 2024 6:30:06 PM GMT+01:00, Dadie124 @.***> wrote:

Mental Outlaw fan spotted o-o

I’m dead I saw tha doj article first then watched tha homie doingfedtimes vid bout it (shoutout dude he an og) then did a bit of research sure enough no mixing involved this fucker sent money from a known incog btc address to purchase his personal domain which literally is first initial last initial of his name 🤦🏿♂ I jus watched mental vid bout it
--
Reply to this email directly or view it on GitHub:
https://github.com/RuiSiang/PoW-Shield/issues/591#issuecomment-2127698200
You are receiving this because you commented.
 Fuckin I’ll throw a quick stack of a bet that he don’t make it till next week 💀


start import-js automatically when first opening a js file

I don't see a reason to make the user have to enter a command and then wait for import-js to initialize.
Starting the process as soon as a javascript file is opened is a better solution I think.

Can you measure how long startup takes? I’d like to understand how much of an issue this is.

Depending on the project - if you have many imports and you don't have SSD it can take up 30 seconds.
Even if there was no performance improvement, having to use a command (fix for example) then wait a certain amount of time and use the command again is annoying.

Ouch, that’s longer than I would expect. That’s only on the first start however, right? Incremental starts should be a lot faster (assuming you use watchman).
Also, indexing exports (which is what takes 30 seconds for you) is separate from daemon startup. That’s always been lazy, even when the daemon is already started.

Sorry for being unresponsive here.

How can I start the indexing of exports automatically if the filetype of the file is javasript?

This would require two changes. One to the vim-import-js plugin, starting the daemon automatically  (basically what you have in this PR, though I would prefer for that behavior to be opt-in). The second change would be to the main import-js project, calling initializeModuleFinder directly on startup. I'd also like that behavior to be opt-in.

Can you please make that change? Since I will most probably break something if I try to implement it myself.

I'm sorry, but I'm really backed up with work at the moment. Also, this behavior isn't something I need/want myself which makes it hard for me to justify spending time on.

Made the changes. Link to the other PR: https://github.com/Galooshi/vim-import-js/pull/43


Limit Avail size of /dev/lxd within container

Distribution: Ubuntu
Distribution version: 16.04
The output of "lxc info":
lxc info
apiextensions:

id_map
apistatus: stable
apiversion: "1.0"
auth: trusted
environment:
addresses:
[cut out for brevity]
architectures:

x86_64
i686
certificate: |
[cut out for brevity]
driver: lxc
driverversion: 2.0.6
kernel: Linux
kernelarchitecture: x86_64
kernelversion: 4.4.0-62-generic
server: lxd
serverpid: 2919
serverversion: 2.0.8
storage: zfs
storageversion: "5"
config:
core.https_address: '[::]'
storage.zfs_pool_name: data/openstack
public: false

Issue description
When running df -h from within the container, /dev/lxd reports Avail as real available size of the host filesystem. While it's not a security risk, it prove to be somewhat confusing to monitoring systems and admins. Sometimes also, for non-technical reasons - administrator would want to not reveal this information. It is more nice to have than have to.
Steps to reproduce

launch container
run df -h from within

The current behavior is caused by /dev/lxd being a bind-mount from the host system. Instead we should make it a tmpfs mount point on the host with a rather strict size limit (100K should do), which would then be shown in the container rather than the host's filesystem.
The same should probably be done for shmounts too as that's another one of those paths that leaks some host information by default (only visible with "df -h -a" though).


Corrects missing line in FootDownNetwork

Enhances the not-quite-perfect FootDownNetwork.yaml

If only someone had kept that valuable number


eslint-import-resolver-node and typescript error

Since eslint-import-resolver-node v0.3.5, following line starts showing error
import { GetterTree, ActionTree, MutationTree } from 'vuex'

  1:10  warning  GetterTree not found in 'vuex'    import/named
  1:22  warning  ActionTree not found in 'vuex'    import/named
  1:34  warning  MutationTree not found in 'vuex'  import/named

When I downgrade eslint-import-resolver-node to v0.3.4, error is gone.
https://github.com/vuejs/vuex/blob/v3.6.2/types/index.d.ts
https://github.com/vuejs/vuex/blob/v3.6.2/src/index.js
If I check vuex's code both actual code and type defs export all of the types listed in the error.

https://github.com/vuejs/vuex/blob/v3.6.2/src/index.js does not list GetterTree, ActionTree, or MutationTree. I see that the type definitions do - so why aren't you using import type for that?

Whoops, sorry about that. I confused with mapGetters and others. import type solved the problem


minor typo "Reflesh"

should be "Refresh" ;)

Oops. I'll fix it in #50 . Thanks !

Fixed ! Thank you :smile:


Terraform Task:  Permission Denied

Terrafrom Task Version:  0.0.137
Observed Behavior:
terraform plan in a release pipeline fails with the message:
_Failed to instantiate provider "azurerm" to obtain schema: fork/exec /home/vsts/work/r1/a/core-infa-build/drop/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.38.0_x4: permission denied
Workaround:
Add bash script with the following command:
_chmod a+x /home/vsts/work/r1/a/core-infa-build/drop/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.38.0_x4
Expected Behavior:
Provider should have exec permissions on install rather than having to modify in the pipeline

@13daysaweek Didn't get complete issue ? Can you please share complete debug log and steps to<EMAIL_ADDRESS>

@Roshan-Kumar-Microsoft - email sent!

@13daysaweek sorry this is pretty old issue, just wanted to check did you get resolution?

@AmrutaKawade I don't believe so

I got the same error today.
Terraform 0.15.3 (also 0.15.4)
TerraformTaskV2@2
2021-05-31T11:57:20.4356919Z ##[section]Starting: TerraformTaskV22
2021-05-31T11:57:20.4365141Z ==============================================================================
2021-05-31T11:57:20.4365511Z Task         : Terraform
2021-05-31T11:57:20.4365949Z Description  : Execute terraform commands to manage resources on AzureRM, Amazon Web Services(AWS) and Google Cloud Platform(GCP)
2021-05-31T11:57:20.4366383Z Version      : 2.188.1
2021-05-31T11:57:20.4366672Z Author       : Microsoft Corporation
2021-05-31T11:57:20.4367125Z Help         : Learn more about this task
2021-05-31T11:57:20.4367544Z ==============================================================================
2021-05-31T11:57:20.5684881Z [command]/opt/hostedtoolcache/terraform/0.15.3/x64/terraform providers
2021-05-31T11:57:21.6014966Z
2021-05-31T11:57:21.6016173Z Providers required by configuration:
2021-05-31T11:57:21.6016758Z .
2021-05-31T11:57:21.6018106Z ├── provider[registry.terraform.io/hashicorp/azurerm] ~> 2.60.0
2021-05-31T11:57:21.6019202Z └── provider[registry.terraform.io/hashicorp/random]
2021-05-31T11:57:21.6019638Z
2021-05-31T11:57:21.6020161Z Providers required by state:
2021-05-31T11:57:21.6020524Z
2021-05-31T11:57:21.6021064Z     provider[registry.terraform.io/hashicorp/random]
2021-05-31T11:57:21.6021450Z
2021-05-31T11:57:21.6021989Z     provider[registry.terraform.io/hashicorp/azurerm]
2021-05-31T11:57:21.6022375Z
2021-05-31T11:57:21.6031556Z [command]/opt/hostedtoolcache/terraform/0.15.3/x64/terraform validate
2021-05-31T11:57:22.4272903Z ╷
2021-05-31T11:57:22.4274036Z │ Error: Could not load plugin
2021-05-31T11:57:22.4274772Z │
2021-05-31T11:57:22.4275405Z │
2021-05-31T11:57:22.4276188Z │ Plugin reinitialization required. Please run "terraform init".
2021-05-31T11:57:22.4276887Z │
2021-05-31T11:57:22.4277669Z │ Plugins are external binaries that Terraform uses to access and manipulate
2021-05-31T11:57:22.4278708Z │ resources. The configuration provided requires plugins which can't be
2021-05-31T11:57:22.4279443Z │ located,
2021-05-31T11:57:22.4280243Z │ don't satisfy the version constraints, or are otherwise incompatible.
2021-05-31T11:57:22.4280952Z │
2021-05-31T11:57:22.4281723Z │ Terraform automatically discovers provider requirements from your
2021-05-31T11:57:22.4282907Z │ configuration, including providers used in child modules. To see the
2021-05-31T11:57:22.4283771Z │ requirements and constraints, run "terraform providers".
2021-05-31T11:57:22.4290123Z │
2021-05-31T11:57:22.4290782Z │ 2 problems:
2021-05-31T11:57:22.4291268Z │
2021-05-31T11:57:22.4291920Z │ - failed to instantiate provider "registry.terraform.io/hashicorp/azurerm"
2021-05-31T11:57:22.4292595Z │ to obtain schema: fork/exec
2021-05-31T11:57:22.4293446Z │ .terraform/providers/registry.terraform.io/hashicorp/azurerm/2.60.0/linux_amd64/terraform-provider-azurerm_v2.60.0_x5:
2021-05-31T11:57:22.4294245Z │ permission denied
2021-05-31T11:57:22.4294924Z │ - failed to instantiate provider "registry.terraform.io/hashicorp/random"
2021-05-31T11:57:22.4295588Z │ to obtain schema: fork/exec
2021-05-31T11:57:22.4296435Z │ .terraform/providers/registry.terraform.io/hashicorp/random/3.1.0/linux_amd64/terraform-provider-random_v3.1.0_x5:
2021-05-31T11:57:22.4297168Z │ permission denied
2021-05-31T11:57:22.4297638Z │
2021-05-31T11:57:22.4298066Z ╵
2021-05-31T11:57:22.4423882Z ##[error]Error: The process '/opt/hostedtoolcache/terraform/0.15.3/x64/terraform' failed with exit code 1
2021-05-31T11:57:22.4438034Z ##[section]Finishing: TerraformTaskV22

Same issue here.  I mean the workaround could work but maintaining the path for chmod mapping is a problem haha
This is quite problematic if you have multiple providers per folder in a single repo.

The workaround which worked for me was to use Windows based agent
pool:
  vmImage: windows-latest

Would also like a workaround, hitting this issue myself.  Chmod works but far less than ideal.


Refactor helper functions to use the container

This will simplify usage of helper functions all around the library, while still allowing the developer to inject their own implementations.
The way this is implemented is the following:

Helper classes that are injected into the container
Namespaced functions that expose methods on these helpers
Direct usage of these functions across the project

Pull Request Test Coverage Report for Build 1070

104 of 124 (83.87%) changed or added relevant lines in 20 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.06%) to 83.27%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Util/TypeHelper.php
9
10
90.0%

src/Util/helpers.php
6
7
85.71%

src/Util/NameHelper.php
0
1
0.0%

src/Execution/ValuesHelper.php
4
6
66.67%

src/SchemaBuilder/DefinitionBuilder.php
1
3
33.33%

src/Util/ValueHelper.php
1
6
16.67%

src/Util/utils.php
57
65
87.69%

Totals

Change from base Build 1066:
-0.06%

Covered Lines:
4604

Relevant Lines:
5529

💛  - Coveralls


Displaying uib-dropdown-menu items when uib-dropdown-toggle not toggled

The issues forum is NOT for support requests. It is for bugs and feature requests only.
Please read https://github.com/angular-ui/bootstrap/blob/master/CONTRIBUTING.md and search
existing issues (both open and closed) prior to opening any new issue and ensure you follow the instructions therein.
Bug description: Displaying uib-dropdown-menu items when uib-dropdown-toggle not toggled (i.e. closed). The plunker demos version 0.14.3 which renders the closed dropdown correctly.
Link to minimally-working plunker that reproduces the issue: http://plnkr.co/AICBYKgldqKxfNX0s0uD
Version of Angular, UIBS, and Bootstrap
Angular: 1.5.3
UIBS: 1.3.2
Bootstrap:3.3.6

@bman61 this is working just fine on our demo page.  please us that plunker as a starting point and debug your code.
one thing i noticed is that you're using the uib-dropdown-menu as a class.  that was removed.  it is only supported as an attribute.
you would do well to read the changelog from 0.14.3 to 1.3.2 and pay special attention to the breaking changes sections.


Better filtering of recipes based on tags

Is your feature request related to a problem? Please describe.
You can filter by tags in the Recipes tab.
Unfortunately, the tags are only visible on one line. If many tags are used, you have to scroll sideways to find them.
Describe the solution you'd like
A separate tab for tags including input search would be useful and clearer.

Thank you for your suggestion. Tags are deliberately only visible on a single line, as this is the M3 guidelines suggestion.
An enhanced search may come in the future. There are no plans for now though.

Okay. With many tags the whole thing is then unusable. I have about 50+ tags.


bindings/http: Use Go Default Transport as base Transport

Updates the HTTP client's transport to be based from the Go's default transport to inherit the default settings.
See https://github.com/dapr/dapr/pull/7833

Linter

@holopin-bot @JoshVanL Thanks Josh!


Setup of DMX uncertainties incompatible with NG 15 yr timing pipeline

Hey folks, there was a change in how enterprise reads in the DMX values and uncertainties, where the values are being cast to floats (see attached image).
While this is fine for DMX values, there can be instances in the timing pipeline where the DMX uncertainties are not defined until a noise model is produced for any pulsar. But since the current version of enterprise cannot cast these missing DMX uncertainties (NoneType) to float, it throws an error when setting up PintPulsar and prevents the noise run from being executed.
Since enterprise does not use the DMX uncertainties in the timing model, can we revert back to when NoneType values are acceptable for DMX uncertainties?

Sorry for the holiday delay, Nihan: these changes were made so that no float80/float128 values would be left in enterprise Pulsar, which needs to be readable on platforms that don't have those types (e.g. Apple M1/M2).
It would be OK to change this to, say,
None if model[par].uncertainty_value is None else float(model[par].uncertainty_value)

However, let me ask: is None indeed the idiom in PINT for parameters that do not have an uncertainty? Should it be a float nan instead? If that's the case this issue should be fixed on the PINT side.
Libstempo just passes on whatever tempo2 has (that may be 0 in fact, but the parameters wouldn't have the fit flag set).
If that's not the case, we can push the above fix to master quickly.

@vallis @NihanPol , can we get this pushed to master and a version tagged asap? This is going to cause a slowdown with the final WB run.
~ Joe G.

One section of the TWG notebook checks whether new DMX windows are necessary (this can happen if the average DM wanders too far from the frozen DM value, or if any new TOA excision has happened) and if so, replaces them with fresh windows. For various reasons, the prefit model is used for the noise run, so if new windows have been added and a fit has not occurred, uncertainties will not yet exist.

OK, I will push this today. Should I bump the pint-pulsar requirement also? We're at 0.8.3 currently, I see 0.9.3 was released recently.

You could, but I don't think it actually makes a difference here. One thing I'll note is that since the timing notebooks/code are now public (pint_pal), we can in principle design a test for the enterprise test suite so that we can catch these sorts of things ahead of time. We're currently discussing doing this with the PINT team.

Merged in #329.


--emitDeclarationOnly cannot be used together with -p jsconfig.json

Bug Report

🔎 Search Terms
TS5053

🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________ (no FAQ item, AFAICT)

⏯ Playground Link
(Not for this one)
💻 Code

// jsconfig.json
{
  "compilerOptions": {
    "target": "es2020",
    "module": "es2020",
    "moduleResolution": "node"
  },
  "include": [
    "foo.ts"
  ]
}

// foo.ts
export foo = 3;

// command
npx tsc --declaration --allowJs --outDir types --emitDeclarationOnly -p jsconfig.json

🙁 Actual behavior

error TS5053: Option 'emitDeclarationOnly' cannot be specified with option 'noEmit'.

Found 1 error.

🙂 Expected behavior

No error?

noEmit is the default when processing jsconfig files, so you'd need to write tsc --noEmit false --declaration [...]. This could probably be made more ergonomic


Update jackson-core, jackson-databind to 2.10.5

Updates

com.fasterxml.jackson.core:jackson-core
com.fasterxml.jackson.core:jackson-databind

from 2.10.4 to 2.10.5.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.fasterxml.jackson.core" } ]

labels: library-update, semver-patch

Codecov Report

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

@@           Coverage Diff           @@
##           master     #195   +/-   ##
=======================================
  Coverage   90.98%   90.98%
=======================================
  Files           8        8
  Lines         122      122
  Branches        6        6
=======================================
  Hits          111      111
  Misses         11       11

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 4d43d28...2baa2c2. Read the comment docs.


Feature/save attrs in kv

Before removing attributes from KV, we check if the service exists elsewhere within the cluster


AttributifyAttributes cause vscode slow

UnoCSS version
latest
Describe the bug
When I save code for autoformat in vscode, It need a few seconds to save down when I use AttributifyAttributes.
declare module '@vue/runtime-core' {
  interface AllowedComponentProps extends AttributifyAttributes {
  }
}

Reproduction
https://github.com/unocss/unocss/assets/32807958/399106dd-cfb0-4725-ba33-9ccdc97a0137
System Info
No response
Validations

[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

#1702


Fix three more problems with blockwise multicast responses

I noticed three more (and hopefully last) problem with block-wise transfer and multicast requests this PR addresses.
First, I noticed that when performing a multicast request nodes could reply multiple times leading to more messages than required and, more importantly, duplicated payloads which can lead to unintended behavior. I fixed this problem by keeping track of the hostnames of the respondants that replied to the inital multicast request. If a server replies twice to a multicast all reponses after the first one will be ignored.
A second fix addresses the fact that before the multicast timer from the initial request got reinitialized in further requests. Using clearTimeout() this timer now gets removed. Third, new tokens are now assigned to the created unicast requests which before lead to issues when more than one server was receiving the multicast. A final minor change is the now correct assignment of the unicast IP address to the new request's url.host field (which should have little to no impact, though).
Because of the changes to the way "duplicated" IP addresses are handled I had to adjust the two test cases I added in #237 and #242. Despite the fact that now only one server is left I think the core functionality is still being tested as the server is still responding to the multicast in a blockwise manner despite switching from multicast to unicast.
Sorry that this is yet another PR on essentially the same issue. However, I think now I found a solution that should work so hopefully no more PRs on this will be needed :)

Pull Request Test Coverage Report for Build 672064677

14 of 17 (82.35%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 90.769%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/agent.js
14
17
82.35%

Totals

Change from base Build 668356913:
-0.3%

Covered Lines:
947

Relevant Lines:
1009

💛  - Coveralls

@JKRhb One question ... we had a strange issue with Shelly devices recently. They now also allow to configure a device to use unicast. The effeact of that was that as soon  as ONE device was changed to unicast in fact ALL messages came in with the IP of that unicast device - even if they were received via multicast.
Coud this be connected to your third part here?

@JKRhb One question ... we had a strange issue with Shelly devices recently. They now also allow to configure a device to use unicast. The effeact of that was that as soon as ONE device was changed to unicast in fact ALL messages came in with the IP of that unicast device - even if they were received via multicast.
Coud this be connected to your third part here?

I think that could actually be the case. IIRC in my case a mismatch of responses happened if more than one device replied to the same multicast because of the missing tokens. Could you maybe perform another test with my branch?

lgtm

Great, thank you :) I would add one more test and then I would merge the PR


Fusion events

Looks cool. Would this plugin be capable of handling fusion events?  I have a custom-built tool in Python for detecting mitochondrial fission and fusion events and am looking for a tool for plotting mitochondrial lineages.

Hi @akas0018 - yes, it should work, although the functionality is a little experimental. You can see more in the PR where we added the mergin functionality: https://github.com/lowe-lab-ucl/arboretum/pull/94


Use existing config

Hi there,
I am playing with your nova package, Really like the way permissions are code defined. like it should.
first thing I found was that you use some custom config to point to the user model, this is already defined in the original config, also used by Laravel and Nova for finding the user object.
The other idea i got is for the roles table: add a boolean field admin of full_control or something, with this boolean you can define a super user who always passes the policies and gates, no need to asign every permissions to the administrator group, example is as follow:
Gate::before(function ($user, $ability) {
    if ($user->isSuperAdmin()) {
        return true;
    }
});

Documentation: https://laravel.com/docs/5.7/authorization#intercepting-gate-checks
I will check later if i can find more improvements/fixes/whatever
keep up the good work, love the approach

Hi @niekdemelker . Thanks for the kind words and PR. I wasn't aware of the user model setting, much better than a custom config, thanks for that. I will definitely merge this for 2.0 (as it is technically a breaking change).
Also like the idea of a super admin setting. I'll have a play to see if I can somehow hide the permissions fields in nova when the super-admin option is checked, that would be pretty neat. There certainly is a valid use-case for an option like that to save having to assign new permissions to the main admin.
Just thinking about it though, it would mean the nobodyHasAccess method would allow anyone access, even if there is a super admin. But I guess I could include a check there to see if there is a super admin and deny access.

Nice, glad you like it.
I guess the nobodyHasAccess method is something you wouldn't want in a production environment, if a user is removed and he was the last man with this rights everybody gets permitted to pass the gate, this is something you shouldn't want.
Maybe this entire check can be removed in favour of an artisan command, there can be two: one to create the admin group, and one to asign a user to the group (based on username/email or ID or something like that). I asume the true administrator has terminal access so he can accomplish this. the command makes sure the admin doesn't have to make changes directly in the database which is a good thing.
If you like i could spend some spare time to make something like this. Building the 2.0 ;).
If this works well we have some nice breaking changes which helps the developer creating the first (admin) group and asign a user to it by command, and never granting access unless explicitly given (removing the nobodyHasAccess method).
the hiding/showing in laravel nova seems like a nice to have, not a must have for these changes. Maybe i will get some more great ideas while making the suggested changes.

Thanks. Don't have anything against artisan commands, would make a nice addition.
I don't think there is any need to remove the nobodyHasAccess method, as people can use/not use it as they feel is suitable.
Appreciate you taking time to contribute.

So, here i am again, As i started playing around in it i found out some things that don't seen right. like when opening the empty nova dashboard this package renders 8 query's to the database to check all permissions. i only can assume this will add up later when more policies get checked to render the menu.
also when you add an array of permissions to the database there is an query for every row added while this can be done in bulk,
I don't want you to feel attacked or something, I truly like the simpleness in this package, not to much of stuff you don't use anyway.
at the other hand, i really did go rampage on your code, so I don't dare to make a pull request of all i did to it haha. But please go check it out, i have made some comments in the code as well. maybe you like some parts of it and want to use it ;) (the commands for an example).
https://github.com/Silvanite/brandenburg/compare/master...niekdemelker:playground

Hi @niekdemelker . Ha, no worries, no offence taken. That code was written some time ago and at the time my priority was solving my problem at the time, no so much the code quality. I will have a proper look through your suggestions (and get it running locally) when I have a bit of spare time but on first glance it looks great! You've clearly spend a bit of time on this and I really appreciate it.
From my point of view, as long as the main principle for separation of concerns in relation to roles and permissions is maintained, and it remains a top-level package so that users can basically just write their Gates and follow Laravel documentation, that is all good with me.


Unable to require('techanjs')

Best I could do was to use https://github.com/tusbar/grunt-subgrunt to run grunt filegen, then use require('techanjs/src/techan'). Any way to make this usable as a module from the start?

Apart from this test, I haven't tried using the library as a pure npm module, I assumed it should work. Briefly reviewing the code I don't think it will work and this should be tidied up.

Commiting build/version.js and adding "main": "src/techan.js", to package.json is probably all that's needed.

I've added main and d3 dependency. D3 is not correctly require'd just yet, it is assumed to be in global scope. I'll fix this. This workaround should be enough to get you going for now:
package.json snip
  "dependencies": {
    "techan": "andredumas/techan.js#bb598210d3770ef1f5fd32e05081fad231431815",
    "d3": "~3.5.3"
  }

Example:
// D3 into global scope, otherwise an error will be thrown
global.d3 = require('d3');
var techan = require('techan');
console.log('d3.version', d3.version);
console.log('techan.version', techan.version);

I probably should look at publishing to npm registry at some stage.

main needs to point to src/techan.js, not dist/techan.js

You totally just ignored my comments, this is still an issue...

The library was designed to be only included as a bower or npm dependency, in each case dist/techan.js or dist/techan.min.js being the entry point, hence each build has these committed. build/version.js shouldn't be committed. I use as both now without issue, not to say there isn't any but it is working for me.
http://bl.ocks.org/andredumas/ad585d6d68cf8a894207

When I try to reference techan when using requireJs throws and error right off the bat. I could really use this on my site, any ideas?


Enforce login when calling commands

Before the tool would ask for credentials right away, now the user can call truthbrush and get the help text.

lgtm, thanks!


DSD-197: Chakra CheckboxGroup

Fixes JIRA ticket DSD-197
This PR does the following:

Composes the CheckboxGroup with Chakra components.
Makes minor modifications to the RadioGroup component.

How has this been tested?
Locally, Library Card app, and Storybook.
Checklist:

[ ] I have updated the Storybook documentation accordingly.
[ ] All new and existing tests passed.

Front End Review:

[ ] View the example in Storybook

Tugboat has finished building the preview for this pull request!
Link:

https://pr686-w0tpd5ppryl2hpw0dqndifar8xods0u9.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/6149f021b8fde54327b3115e

Tugboat has finished building the preview for this pull request!
Link:

https://pr686-w0tpd5ppryl2hpw0dqndifar8xods0u9.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/6149f021b8fde54327b3115e


Dependency unreachable

There is no way to compile new Android project havingimplementation 'com.tom_roush:pdfbox-android:<IP_ADDRESS>'dependency.

Do you have the jcenter() repository in your build.gradle? 1.x is only available in JCenter. 2.x version will be released to Maven Central


Fix Pluto TV

Fix 403 forbidden. See #6639.
IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information

ADD DESCRIPTION HERE
Fixes #6639
Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

[ ] I am the original author of this code and I am willing to release it under Unlicense
[x] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Fix or improvement to an extractor (Make sure to add/update tests)
[ ] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

🤖 Generated by Copilot at 1e71718
Summary
🚫📺🚀

Improve Pluto TV extractor by filtering out ad segments from HLS and DASH playlists. This affects the file yt_dlp/extractor/plutotv.py.

Pluto TV extracts
No more ad segments in HLS
Winter stream is clear

Walkthrough

Filter out ad segments from HLS and DASH playlists by matching only specific URL prefixes (link, link) in yt_dlp/extractor/plutotv.py

Please fix it, i don't know the code.

@joaquinito2070 What was your intent with the change? The actual commit doesn't do anything useful, but if you can explain what you were trying to do, maybe that will get us somewhere

@joaquinito2070 did you write that code?

I am who said about that fail. I hope someone fix it. Thanks mates and good luck.

Please with until i have ChatGPT Plus, and i Will fix the Code using AI.

@heroku-miraheze are you and @joaquinito2070 the same person?
if yes, did you also write the initial code using chatgpt


Revert "Retry remove package:test from flutter"

Reverts flutter/flutter#24007
Jeeze

Landing on red to fix the build


decoder: Ignore AArch64 mapping symbols

The AArch64 ELF spec includes "mapping symbols" for identifying contiguous data/code regions in a binary:
https://github.com/ARM-software/abi-aa/blob/main/aaelf64/aaelf64.rst#mapping-symbols
Ignore these if we encounter them in the ".defmt" section rather than returning an error such as
Error: failed to demangle defmt symbol '$d.3': expected value at line 1 column 1

Can you please share the error you encounter without the PR?

I get an error like Error: failed to demangle defmt symbol $d.3: expected value at line 1 column 1 when calling defmt_decoder::Table::parse() on the contents of the aarch64 binary. (Added the error to the PR description).


Require active record causes trouble when it is not in use

Environment
Provide at least:

Ruby Version: 2.4.2
Symmetric Encryption: 4.1.1
Rails 4.2
Full Stack Trace, if an exception is being raised.

Behaviour
After update to version 4.1.1 from 4.0 we are receiving an error from another gem, money-rails. The lib started to raise an error that do not allow us to run our app, the error is a simple exception: ActiveRecord::ConnectionNotEstablished. It is expected in our app since it do not have an configured SQL database, we are just using mongo through Mongoid.
The error begin to happen when the line require 'active_record' is added to the file lib/symmetric_encryption.rb. When in any rails app it forces to load the active record and trigger the hooks in ActiveSupport that could execute unexpected behaviours, as in money-rails in this file: https://github.com/RubyMoney/money-rails/blob/master/lib/money-rails/hooks.rb line 21
Important to say that the rails gem adds the active record as dependency, then you will be able to require it in any rails app, even when it was not configured.
Also, I open this issue here, and not in money-rails since that they have this file unmodified for the last 2 years, and newest change are in symmetric-encryption.
So guys, I hope I could describe well the problem and we can discuss a way to solve this and I have the update version of the lib.

The previous behavior relied on Rails being loaded before Symmetric Encryption was loaded, which is not always true. This change is now required since more and more people are using RuboCop that is changing the order of the Gemfile which broke the previously brittle Symmetric Encryption load code.
Suggest you fix older gems that are brittle and incorrectly rely on Gem load order.

@reidmorrison this issue may be unrelated to money-rails or other gems which rely on gem load order.  While gems like money-rails (and searchkick) may trigger the ActiveRecord::ConnectionNotEstablished error in established applications running without activerecord, the very same error can be observed inside a brand new mongoid based rails application.
I pushed https://github.com/williamatodd/mongoid_example_app to supplement this closed report by  creating a new app without activerecord, adding symmetric_encryption to the gemfile, generating the configuration file, and generating a scaffold for a Product model with a single attribute of name:string.  If you have the opportunity to clone this app, you may be able to recreate the error by running bin/rake test after the requisite bundling and db setup.
FWIW, to rule out the possibility of Gemfile ordering and rubocop autocorrect issues, I experimented with multiple gemfile orders and ran through the same experiment before and after rubocop autocorrection.  Some of these experimental gemfiles are located in this gist https://gist.github.com/williamatodd/ea301a51ade4768a51a322d2e71eeb05 for your review.
Regardless of the whether we are able to resolve the underlying issue, which I attest could be a shared delusion, I appreciate your efforts in maintaining this gem and thank you for your time.

Thank you, the sample application was a big help. Using the sample application it appears to be working with the new changes in master. Can you give it a try against master and see if it also works for you?

A recent PR https://github.com/rocketjob/symmetric-encryption/pull/118 by @cmrd-senya allows bypassing all the Rails extensions that can help with issues like these.

@reidmorrison, ad31ba3 did not fix the issue on the sample app when attempting the workflow outlined above.  #119 should take care of it provided that you're amenable to lazily loading the ORM adapters.

Hello.
We just doing this with @cmrd-senya in rails 5:
class EncryptedStringType < ActiveRecord::Type::String

  def deserialize(value)
    CloudEncryptor.decrypt(value) if value
  end

  def serialize(value)
    CloudEncryptor.encrypt(value) if value
  end

end

ActiveRecord::Type.register(:encrypted_string, EncryptedStringType)

In model:
attribute :encrypted_data, :encrypted_string

Encryptor itself:
require 'symmetric-encryption/core'

class CloudEncryptor

  class << self

    def encrypt(plaintext)
      SymmetricKeyManager.ensure_cipher_presence!
      SymmetricEncryption.encrypt(plaintext, random_iv: true)
    end

    def decrypt(ciphertext)
      SymmetricKeyManager.ensure_cipher_presence!
      SymmetricEncryption.decrypt(ciphertext)
    end

  end

end

SymmetricKeyManager.ensure_cipher_presence! just our implementation, which load SymmetricEncryption.cipher with "failover": trying AWS KMS -> if it down, try different AWS region -> if all down -> trying GCP.
BTW, @reidmorrison we can try to add "failover" functionality later to gem, if somebody interesting in this. Main issue, that we wrote rake tasks to generate from one master key all encrypted keys from different providers (looks like here we need add this in cli).

Using the sample app with master results in the following errors, but the ActiveRecord issues appear to be resolved:
Error:
ProductsControllerTest#test_should_update_product:
NoMethodError: undefined method `products' for #<ProductsControllerTest:0x00007f98f3392c98>
    test/controllers/products_controller_test.rb:5:in `block in <class:ProductsControllerTest>'

Published v4.2.0 that also includes the fix to lazy load AR and Mongoid extensions.


feat(price-feeder): binance us provider

Description
Adds the binance US price provider.
This should alleviate the issues with #1587

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] added appropriate labels to the PR
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

kkk why do you guys have your own binance? where is binance BR 😅

essentially binance lost its license to operate in the US, so they had to split their exchanges in two 😢 US residents don't have access to normal binance


Update to Junit 5

Update to Junit 5

Addressed by: https://github.com/LinuxForHealth/hl7v2-fhir-converter/pull/152

In Release 1.0.9


Check influence of the step size controller on performance for SSPRK43 elixirs

The default controller with SSPRK43() in OrdinaryDiffEq.jl is a PIController with effective parameters beta1 = 0.70, beta2 = -0.40. However, this controller is not step size control stable. We should check the difference between this standard controller and the one of Ranocha, Dalcin, Parsani, Ketcheson (2021), i.e., controller = PIDController(0.55, -0.27, 0.05).

[x] examples/p4est_2d_dgsem/elixir_euler_double_mach_amr.jl with tspan=(0.0, 0.02)

PIController: Time steps: 2993 (accepted), 3074 (total), 2.99k AMR, 12.3k rhs!
PIDController(0.55, -0.27, 0.05): Time steps: 1904 (accepted), 1904 (total), 1.90k AMR, 7.62k rhs!
Visually, the solutions at the final time look very much the same (but we cannot really see something anyway)

[x] examples/p4est_2d_dgsem/elixir_euler_forward_step_amr.jl with tspan=(0.0, 0.01)

PIController: Time steps: 5381 (accepted), 5495 (total), 1.08k AMR, 22.0k rhs!
PIDController(0.55, -0.27, 0.05): Time steps: 3612 (accepted), 3685 (total), 722 AMR, 14.7k rhs!
Visually, the solutions at the final time look very much the same (but we cannot really see something anyway)

[x] examples/p4est_2d_dgsem/elixir_euler_supersonic_cylinder.jl with tspan=(0.0, 0.1)

PIController: Time steps: 3949 (accepted), 4009 (total), 3.95k AMR, 16.0k rhs!
PIDController(0.55, -0.27, 0.05): Time steps: 2408 (accepted), 2432 (total), 2.41k AMR, 9.73k rhs!
Visually, the solutions at the final time look very much the same

[x] examples/tree_2d_dgsem/elixir_euler_astro_jet_amr.jl

PIController: Time steps: 7020 (accepted), 8809 (total)
PIDController(0.55, -0.27, 0.05) with dt=1.0e-12 (does not work with default settings): Time steps: 6047 (accepted), 7618 (total)
Visually, the solutions at the final time look very much the same

[x] examples/tree_2d_dgsem/elixir_euler_colliding_flow_amr.jl

PIController: Time steps: 6815 (accepted), 7513 (total)
PIDController(0.55, -0.27, 0.05): Time steps: 6398 (accepted), 6510 (total)
Visually, the solutions at the final time look reasonably similar

[x] examples/tree_2d_dgsem/elixir_euler_colliding_flow.jl

PIController: Time steps: 2341 (accepted), 2565 (total)
PIDController(0.55, -0.27, 0.05): Time steps: 2039 (accepted), 2053 (total)
Visually, the solutions at the final time look reasonably similar

[x] examples/tree_2d_dgsem/elixir_kpp.jl

PIController: Time steps: 857 (accepted), 864 (total)
PIDController(0.55, -0.27, 0.05): Time steps: 580 (accepted), 583 (total)
Visually, the solutions at the final time look very much the same

[x] examples/unstructured_2d_dgsem/elixir_euler_periodic.jl with tspan = (0.0, 100.0)

PIController: Time steps: 5282 (accepted), 5283 (total)
PIDController(0.55, -0.27, 0.05): Time steps: 5281 (accepted), 5283 (total)
Errors of the same order of magnitude (but different, slightly worse for the PIDConrtoller)

When I try this PIDController with the supersonic cylinder test it crashes due to a very small negative value in a square root during max_abs_speed_naive at around time 3.6486. I attached the complete log file.
Cylinder_pidcontroller.txt

Here is a full run and comparison of the double Mach reflection test case.
examples/p4est_2d_dgsem/elixir_euler_double_mach_amr.jl with tspan=(0.0, 0.2)

PIController: Time steps: 34009 (accepted), 35786 (total), 34.0k AMR, 143k rhs!
PIDController(0.55, -0.27, 0.05): Time steps: 16662 (accepted), 16667 (total), 16.7k AMR, 66.7k rhs!
Zoom in of the triple point regions for both. Visually, the solutions are quite similar

.

supersonic cylinder test it crashes due to a very small negative value in a square root

I suspect this can be fixed by monkeying with the positivity limiter. This test case is just very sensitive

Yeah, that might be true...

Looks like some very nice and consistent evidence in favor of the optimized controller designed by @ranocha .


Most desired way to load custom population

I would like to load my own custom population with several layers of connections.
What would be the suggested way to do it?

Hi @rlatkows , there are a few options here. You can take a look at population.py and see how the population is constructed. For a more sophisticated solution, you can look at SynthPops, which is a very flexible package for generating synthetic populations. If you'd like to discuss this in more detail, please feel free to reach out to us at<EMAIL_ADDRESS>

Done by extending inherited classes with custom make_pop methods.


Fix the problem of SSheetDialog closing rendering and provide OnClose…

…d event
Description
Please explain the changes you've made
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

@MayueCif PTAL


Complete NSFileHandle stubs

initWithCoder:
encodeWithCoder:
fileHandleWithStandardOutput
fileHandleWithStandardError
readInBackgroundAndNotify
Also:
NSFileHandleReadCompletionNotification

I wonder how onw encodes a file handle; it's a pointer to an ephemeral thing. 😕

By way of answering my own question: they cannot be coded. Attempts to do so throw an exception unless an NSXPCCoder is used.
Since we do not support Mach IPC, we will just implement them to throw exceptions.


Add more robust checks in Turing API config validation

Currently the validation for Config object in Turing API mostly checks for value presence only with validate:required
https://github.com/gojek/turing/blob/c0e775eb2b08c1ab4077a4ac252d186ff3ecbdd1/api/turing/config/config.go#L36-L40
However there are other validations we need to perform as well. For instance, making sure URL values follows valid URL syntax or that value for log level is only one of info,debug,warn etc.
More throrough config validation ensures config values are properly validated and any config value error is returned to the user as early as possible with clear error message.

Closing as inactive


Ensure API consistency for builders and builder-like types

Some types don't provide builder-like functionality but have dedicated *Builder types, others have it with the normal type, some have nothing. We should ensure API consistency.

At this point, I'm leaning towards explicit Builder suffixes and non-consuming builder implementations. Explicit names aid with discoverability and non-consuming builders are the "gold standard" in the Rust ecosystem. They allow our users to do chained calls and mutable values with the same API.


onErrorWrap should pass all params. Fixes yoshuawuyts/choo#142

@mw222rs can you see if this resolves the issue for you as well?
Here's a quick way to test if it's helpful:
git clone -b fix-on-error-wrap-params https://github.com/timwis/barracks.git

Then from within your application directory:
npm link ../path/to/cloned/barracks

Coverage remained the same at 94.656% when pulling 678aec9438df6ef32c61ccfa08e8e30f559a5e7c on timwis:fix-on-error-wrap-params into c8fd64b61f66830cf2b983ae76f8992415d88be7 on yoshuawuyts:master.

Yeah I'm messing around with this as well, and while that fixes it for errors that gets sent from done inside of an effect, is doesn't work from inside a subscription. 😕

Sorry for not merging this sooner - fixed by https://github.com/yoshuawuyts/barracks/commit/73dd432f425dbd675ae3cd313246d3d3b07f1321 oooops :D


Missing Commons files?

Hi there,
First of all, awesome work! This is a great AviUtl plugin.
I would like to localize it into my language. However, I don't see the Commons folder anywhere, and this repo seems to be private: https://github.com/hebiiro/Common-Library
Would it be possible to share the code in the Commons folder? Thanks!

It looks like the Common-Library repository had already been a public repository.


PHP Fatal error:  Uncaught exception 'Exception' with message DateTime

Hi,
I am trying to configure this application in Centos 7 with Mysql 5.7 and Php 5.4.
When I am calling index.php, it is showing the following error:
[Fri Aug 25 12:26:01.711832 2017] [:error] [pid 9803] [client ::1:33432] PHP Notice:  date_default_timezone_set(): Timezone ID 'PDT' is invalid in /var/www/html/anemometer/lib/Anemometer.php on line 47
[Fri Aug 25 12:26:01.711858 2017] [:error] [pid 9803] [client ::1:33432] PHP Warning:  date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/html/anemometer/lib/Anemometer.php on line 48
[Fri Aug 25 12:26:01.711924 2017] [:error] [pid 9803] [client ::1:33432] PHP Fatal error:  Uncaught exception 'Exception' with message 'DateTime::__construct(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in /var/www/html/anemometer/lib/Anemometer.php:50\nStack trace:\n#0 /var/www/html/anemometer/lib/Anemometer.php(50): DateTime->__construct()\n#1 /var/www/html/anemometer/index.php(36): Anemometer->__construct(Array)\n#2 {main}\n  thrown in /var/www/html/anemometer/lib/Anemometer.php on line 50

Please advice.
Thanks.

Hi @irumman,
This is a documented problem with Anemometer and running on 5.7 as a backend host. There is a workaround in #175 that will allow you to finish the install. If you would like, we would gladly merge a change that creates and modifies a mysql57-install.sql file.
Thank you for this report.


wrong order in extensions config merge

at this we merge the extensions settings in reverse (LIFO) order why my expected is FIFO.

confirmed:

expected override paring order: ext-0 < ext-1 < ext-2 < .. < ext-n
actual overriding paring order: ext-n > ... > ext-2 > ext-1 > ext-0


support chat avdls

@keybase/react-hackers chat has its own avdls now
@patrickxb

LGTM

:thumbsup:


Jenayah: Watch khloe247.vn

Jenayah requests the watch of the watch_keyword khloe247\.vn. See the MS search here and the Stack Exchange search here.

khloe247\.vn has been seen in 0 true positives, 0 false positives, and 0 NAAs.

The domain is khoe247\.vn, not khloe247\.vn and has been already watched by Makyen.


Revisit context-aware deployment on Kubernetes

Right now, all tests with context-aware features have been done manually or reusing a local kubeconfig (that is usually an admin kubeconfig locally). In the real deployment, we have to take care of RBAC permissions, so when a user deploys the policy-server, it has permissions to list the current hardcoded resources it is listing right now:

Namespaces
Services
Ingresses

Of course, when we generalize this API types (and also allow CRD's to be listed and watched), we will have to easily allow the user grant permissions when deploying/redeploying the policy-server with the helm chart.

We will need to update the all.yaml file inside of this repository, plus the RBAC policy created by our helm chart

This information is exposed in the helm chart now.


Add support for Azure OpenAI, Palm, Claude, Cohere, Replicate, Sagemaker (100+LLMs) - using litellm

This PR adds support for the above mentioned LLMs using LiteLLM https://github.com/BerriAI/litellm/
LiteLLM is a lightweight package to simplify LLM API calls - use any llm as a drop in replacement for gpt-3.5-turbo.
Example
from litellm import completion

## set ENV variables
os.environ["OPENAI_API_KEY"] = "openai key"
os.environ["COHERE_API_KEY"] = "cohere key"

messages = [{ "content": "Hello, how are you?","role": "user"}]

# openai call
response = completion(model="gpt-3.5-turbo", messages=messages)

# cohere call
response = completion(model="command-nightly", messages)

# anthropic call
response = completion(model="claude-instant-1", messages=messages)

@willydouhard @ramnes can I get a review on this PR ?
happy to add docs/testing/examples if this initial commit looks good


change backup disk option to boolean

In the upstream docs the backup option is a boolean.
See reasoning in https://github.com/Telmate/proxmox-api-go/pull/231 for why the default value is true. That PR and this one should finally allow backups to be disabled.
Fixes: #429

Looks like the container side is already correct.

By default additional mount points besides the Root Disk mount point are not included in backups. For volume mount points you can set the Backup option to include the mount point in the backup. Device and bind mounts are never backed up as their content is managed outside the Proxmox VE storage library.

This should be tested the PR from proxmox-api-go and should be ready to merge.


Extension removed upon country change.

v5.8.4
When the phone number contains an extension, if one selects another country using the dropdown then the extension is removed, for example:
Before: US +1<PHONE_NUMBER> ext. 123
After:    MX +52<PHONE_NUMBER> ext.
I think adding this to utils.js#formatNumber:115 fixes the issue: if (addSuffix && !val.split(extSuffix)[1]) {

Thanks for reporting this, and you were right about the fix! Fixed in v5.8.7.


feat: add validate method to CreateExpr

I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
Closes #3759
What's changed and what's your intention?
Add various validation to CreateExpr and RegionCreateRequest
Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.
[x]  This PR does not require documentation updates.

Going to fix https://github.com/GreptimeTeam/greptimedb/issues/3760 in this PR

I created an issue to track the limiations on metric engine and PromQL https://github.com/GreptimeTeam/greptimedb/issues/3780


Is devfiler necessary to accept data from agent?

I am trying to run the agent using a container, but is it currently necessary to use devfiler to accept data? Since running such graphical applications in a container is not straightforward, I attempted to install it on a VM to accept data remotely. However, it seems that installation on the VM is also problematic, as I keep encountering driver-related errors that need to be resolved. Therefore, I would like to consult if there are any other testing solutions that could help me try the agent. Thank you.

Hi @leonard520
devfiler is not necessary to accept data. Any destination that accepts the OpenTelemetry Profiling signal can do so. As the OpenTelemetry Profiling signal is still in an experimental phase, it changes. And so keeping compatibility is an effort and not always guaranteed. devfiler was created with the intention to support these fast iterations of OpenTelemetry Profiling signal changes. But devfiler is not intended to be deployed in a wider sense or as a dependency to the OpenTelemetry eBPF Profiler.
With devfiler statically linked executables for various platforms are provided. So it is not directly clear without more insights, what fails in your case.

Hi @florianl , thanks for your quick reply.
I am trying to run devfiler in a Virtual Machine of ubuntu 24.04. I am able to run simple X11 apps like xeyes or xclock when I ssh to the VM. However, when I run devfiler, I see the below message.
sudo ./devfiler-appimage-x86_64.AppImage
2024-10-25T03:07:47.329992Z  INFO devfiler::collector: Collector listening on <IP_ADDRESS>:11000
2024-10-25T03:07:48.090181Z  WARN winit::platform_impl::platform::x11::xdisplay: error setting XSETTINGS; Xft options won't reload automatically
2024-10-25T03:07:49.585556Z  WARN winit::platform_impl::platform::x11::util::randr: XRandR reported that the display's 0mm in size, which is certifiably insane
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
2024-10-25T03:07:52.384341Z  WARN egui_winit::clipboard: Failed to initialize arboard clipboard: Unknown error while interacting with the clipboard: X11 server connection timed out because it was unreachable

devfiler opens a window displaying an "accept license" interface, but I can't click the button—it seems like this interface is just a static image. I've tried fixing it based on solutions for typical issues with graphical applications on Linux, but without success. My xrandr cannot switch modes and continuously throws the error: X Error of failed request: BadMatch (invalid parameter attributes). I understand that devfiler is not strictly necessary, but currently, I have no way to accept the profiling signals emitted by my container.

MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen

Hi @leonard520, to me it seems like your VM does not support OpenGL/HW acceleration. The UI toolkit that devfiler uses depends on OpenGL on Linux as it's rendering graphics in immediate mode. You don't need to run devfiler on the target you're executing the agent on, as you can use SSH forwarding to run it on a machine that supports graphics acceleration:
ssh -R11000:localhost:11000 someuser@somehost

This will cause sshd to listen on port 11000 on the remote machine, forwarding all connections to port 11000 on the local machine. When you then run the profiling agent on the remote and point it to <IP_ADDRESS>:11000, the connection will be forwarded to your local devfiler.

@christos68k Thank you for the excellent suggestion. In fact, I’m trying to run the agent in a container. I tried using kubectl port-forward, but it seems this only maps a local port to the pod's port, and it doesn’t work in reverse. I wonder if there’s a way in a containerized environment to set up port mapping similar to SSH forwarding.

You can have the agent connect out to any host that you have SSH access to and use that host as a "listener" that forwarsd traffic back to your host that you run devfiler on over SSH. If you don't have privileges to bind ports through remote SSH (GatewayPorts option), you can use socat to manually port forward.

@christos68k It works perfect. Thanks again for the help.


Clean up punkspider/punk.sh

Punk.sh was a continuation of punkspider
Both now no longer bring up tools

Merged, thank you!