Constraint Exclusive on Link Property throw 'violates exclusivity constraint' error in for loop even the data is empty.

EdgeDB Version: v4 Cloud
EdgeDB CLI Version: via http

Steps to Reproduce:

Migrate the schema
2.and run

with data := <json>$data,
	  for item in json_array_unpack(data) union(
		insert SaleFetch {
		   dailySaleSnapshots := (
			insert DailySaleSnapshot {
			  @date := <cal::local_date>"2023-12-06",
			}
		  )
		}
	  )

data: [ {"a":1},{"a":2} ]
Note: the DailySaleSnapshot and SaleFetch  are empty before this insert.

Then let's insert a data and change insert to update
with data := <json>$data,
	  for item in json_array_unpack(data) union(
		update SaleFetch filter .id = <uuid>"6b927cf8-93d1-11ee-a237-7b76965035f6"  set {
		   dailySaleSnapshots := (
			insert DailySaleSnapshot {
			  @date := <cal::local_date>"2023-12-06",
			}
		  )
		}
	  )

Here is error

Schema:
type SaleFetch{
        productId: str {constraint exclusive;};
        multi dailySaleSnapshots: DailySaleSnapshot {
            date: cal::local_date{
                constraint exclusive;
                default := cal::to_local_date( datetime_current(), 'US/Pacific');
                # default := to_str(cal::to_local_date(datetime_current(),'US/Pacific'));
            };
        };
    }

    type DailySaleSnapshot{
        salePrice: float32;
    }

The second query is failing as a side effect of trying to update the same object multiple times, which is not really supported. Probably shouldn't be an ISE though.

The current behavior, where the exclusive constraint applies for all the values, is intended.
There should be a way (... and almost is) to get the behavior you want. I'll try to make it possible.

If I understand correctly what you are trying to do,https://github.com/edgedb/edgedb/pull/6585 will make it possible to do what you want by declaring a constraint like:
constraint exclusive on ((@source, @date))

Maybe yes, I am waiting the merge to download docker image to test it. Yes, there is not any document about @source @target now.
I used to find many solution to workaround this, currently my solution is add the exclusive property value of source as part of target.

Also, there are serveral bug about link property mutation reported at issues which stop me to use link property. If any priority would be great. Thanks for your quickly response.


about ‘undo last function’

hi，I'm sorry to trouble you again.
is it easy to achieve undo function and with a hot key (ctrl+Z)?
and I also think if i can copy or paste the parameter of Emitters and particles easliy(for example, copy particle A's color including it color's keys timelime to particle B，or copy A's several  parameters to B at one time),it will be more efficient to work.
Thank you for your working of vfxeditor and your contributions！！！

thank you for reply！Follow your own pace please~The current version is powerful enough！I really like it.i have released a few skill mods ao XMA by using your vfxeditor(called 'PAPA')!This is mainly due to you!

Wow, those are some extremely impressive vfxs! Keep up the great work 👍


concurrent-queue is unavailable for android target

concurrent-queue is imported (in Cargo.toml) only if target is linux, but is used when target is linux OR android.
So, async-signal last release (v0.2.1) does not build on android target.
Thank you !

Cargo.toml

[target.'cfg(target_os = "linux")'.dependencies]
concurrent-queue = "2.2.0"

lib.rs

} else if #[cfg(any(target_os = "android", target_os = "linux"))] {
    mod signalfd;
    use signalfd as sys;
}

signalfd.rs

use concurrent_queue::ConcurrentQueue;

Thanks for the report! Filed #18 to fix this.


Fix minor typo (6.0 release notes) in WidgetWithScript deprecation note

Small typo fix for 6.0 release notes.

I know the release is out but we can add this to a stable branch if we do another patch release.
I will merge once the CI passes.


Install commit checker

Semantic PR bot is recently unstable, then replace it with @semantic-release/commit-analyzer

:tada: This PR is included in version 0.7.3 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Add link to alert in Portal

One thing I like about the email alerts, is it gives you a link to the alert in the portal - but we're looking to move away from emails and use logic apps instead.
Is there a way to add a link to the alert in the portal, using a logic app with the common alert schema? The alertId doesn't provide a valid link like the email does.

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

ID: 0b9e5b18-92e4-7334-f7c3-c5d8f9edb989
Version Independent ID: 859ef7b1-1b62-48dc-daed-39ea100a1416
Content: Customize alert notifications by using Logic Apps - Azure Monitor
Content Source: articles/azure-monitor/alerts/alerts-logic-apps.md
Service: azure-monitor
Sub-service: alerts
GitHub Login: @EdB-MSFT
Microsoft Alias: edbaynash

@thepaulmacca
Thanks for your feedback! We will investigate and update as appropriate.

@EdB-MSFT  Can you please provide insights on this issue?

Hi @harelbr thanks for coming back to me, appreciate it
This is great, thanks - I'll give it a try! 👍


Upgrade Dockerfile to 3.11

Originally posted by @jelstongreen in https://github.com/dbt-labs/dbt-core/issues/6147#issuecomment-1917527998

Folks the Dockerfile is currently pinned to 3.10 due to a bug - any plans to upgrade to 3.11?

Thanks for raising this @jelstongreen !
As you noted, the current blocker to upgrading the Dockerfile in dbt-core to use python 3.11 is that dbt-spark is not currently compatible with python 3.11. This is covered by https://github.com/dbt-labs/dbt-spark/issues/864.
So I just asked about it here: https://github.com/dbt-labs/dbt-spark/issues/864#issuecomment-1917709112

Since this is resolved, restoring python:3.11 by reversing https://github.com/dbt-labs/dbt-core/pull/8445  should be un-blocked:

https://github.com/dbt-labs/dbt-spark/issues/864


VisualScript GetSceneNode displays editor-time NodePath (super long/unreadable)

Godot version:
3.1 93a888e
OS/device including version:
Windows 10
Issue description:
When creating a GetSceneNode graph node in VisualScript, it displays what the node path is from the root of the Godot Editor itself, not relative to the edited scene's root.

Steps to reproduce:

Create scene with Node root and Sprite child.
Add script to Node root. Have it GetSceneNode on the child Sprite.
Text in the node will be incorrect.

Maybe drag and dropping should be changed. This is using a pure visual script method with out drag and dropping.

Fixed since 3.1 stable


chore: finish separating kokoro configs into multiple directories

Finishes changes started in #407.
Also adds common configs to each directory with kokoro configs.

@nolanmar511 There is Kokoro build failure?

The failure was real. Fixed by adding common.cfg to directories for presubmit, continuous, and release configs.

PTAL

I'm merging this change to reduce noise, since it should fix continuous test failures we're seeing.


Fix split bill with one user from QAB shows not found page

Details

Currently, the code doesn't include split bill in DM, so when we visit it through the QAB, a not found page shows. This PR fix it by including the split bill option.
Fixed Issues

$ https://github.com/Expensify/App/issues/39406
PROPOSAL: https://github.com/Expensify/App/issues/39406#issuecomment-2032088968
Tests

Same as QA Steps

[x] Verify that no errors appear in the JS console

Offline tests

Same as QA Steps
QA Steps

Split bill with one user
Press FAB and select the shortcut (it should be the split bill you did before)
Verify you don't see a not found page and can do the split bill
Go to any DM chat
Press the composer + button
Verify you can see split bill option

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/50919443/4ad87507-f2b0-49c0-af47-7cee63db505e

Android: mWeb Chrome

https://github.com/Expensify/App/assets/50919443/5b966af1-4c59-4fb9-afd5-c5d459171375

iOS: Native

https://github.com/Expensify/App/assets/50919443/8545f3ad-90be-488e-a079-4311423ced5d

iOS: mWeb Safari

https://github.com/Expensify/App/assets/50919443/4505b8dc-40b4-4dc3-8047-b2e174a84b89

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/50919443/3b1c12f3-d3f6-4f12-9f8e-e60a019b41e0

MacOS: Desktop

https://github.com/Expensify/App/assets/50919443/c5b32a71-3da0-4ea8-9957-8d3e106839a5

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[ ] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[ ] I verified that all the inputs inside a form are aligned with each other.
[ ] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

@bernhardoj there are conflicts

@NikkiWines Conflict fixed

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/NikkiWines in version: 1.4.61-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
cancelled 🔪

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/NikkiWines in version: 1.4.61-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.61-8 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


atMost not respected if blocking method used in until

You can run this code to replicate the issue:
import org.awaitility.Awaitility;
import java.time.Duration;
import java.util.Scanner;

public class Test {

    public static void main(String[] args) {
        new Test().test();
    }

    public void test() {
        Scanner in = new Scanner(System.in);
        Awaitility.await().pollDelay(Duration.ZERO).atMost(Duration.ofNanos(1)).until(in::hasNextLine);

        if (in.hasNextLine()) {
            String query = in.nextLine();
            System.out.print("recieved: " + query);
        }
    }
}

Expected behavior: ConditionTimeoutException thrown "immediately"
Actual behavior: Code hangs until a value is entered via stdin.
Suspected issue:
It looks like there is a bug in org.awaitility.core.Uninterruptibles#shutdownUninterruptibly:
https://github.com/awaitility/awaitility/blob/c4962d815b955059553f506ff1bed8ae7d055266/awaitility/src/main/java/org/awaitility/core/Uninterruptibles.java#L122-L146
The method attempts to shutdown the executor running the until condition. In this case, it is being called here:
https://github.com/awaitility/awaitility/blob/c4962d815b955059553f506ff1bed8ae7d055266/awaitility/src/main/java/org/awaitility/core/ExecutorLifecycle.java#L74
Consequently it waits for 10^9 seconds instead of 1 second.
The fix is to edit the condition in  line:
https://github.com/awaitility/awaitility/blob/c4962d815b955059553f506ff1bed8ae7d055266/awaitility/src/main/java/org/awaitility/core/Uninterruptibles.java#L131
to be:
!executor.awaitTermination(remainingNanos, NANOSECONDS)

I created a PR: https://github.com/awaitility/awaitility/pull/234


JavaScript target

I'm not sure how feasible this would be, but adding the JavaScript target support to mist would be amazing and very appreciated. Other libraries (like wisp) depend on mist, and since mist does not support a JavaScript target, they do not support a JavaScript target either. Anyway, not sure how feasible this would be, but it is something to think about! I am willing to help with this, though I don't know much about Erlang.

Unfortunately, I don't really think this is going to be feasible.  The concurrency on each platform is completely different, and integrating them would not be possible.  You'd definitely want to be able to await somePromise in your handlers in JavaScript, but that would change the function signature(s) to something incompatible with Erlang.
Both currently supported JS runtimes do have web servers built in though, so getting something somewhat similar to this library as a separate package / FFI module in your project would be easy.  Much easier than this implementation :)
Appreciate the interest though!


Allow for managing devices as hardware sets

This PR adds support for managing (i.e. opening and closing) collections of devices ("hardware sets") in bulk via the GUI.
The ultimate goal of using hardware sets is:

To improve usability, by allowing users to connect to/disconnect from all devices with a single click
To allow the user to easily switch between hardware rigs (i.e. FINESSE, UNIRAS, dummy devices and others)
To be able to eventually move device configuration options (such as baudrate) into a separate dialog

Design
The principle difficulty in designing this code is that, while it is easy to send the commands for connecting to and disconnecting from devices in bulk:

There is no guarantee that these operations will succeed (e.g. a single device may fail to initialise)
Even when all devices have connected successfully, they may later fail unexpectedly (e.g. because a cable comes loose)
We also want users to be able to manually manage connections to devices at any point
One or more devices may already be connected at the point where we want to connect to the hardware set

This means that the interface needs to update dynamically based on what devices' actual states are (whether they are connected or disconnected, what the device type is and what parameters were used to open it), rather than making assumptions.
This PR adds a combo box for choosing the hardware set to use, as well as "Connect" and "Disconnect all" buttons. Note that these buttons are not opposites: The "Connect" button will connect to devices belonging to the currently selected hardware set and "Disconnect all" will disconnect all devices, regardless of whether or not they belong to the set. If the user attempts to connect to a hardware set and there is already a device with the same base type open (e.g. stepper motor) but it is of the wrong type or has the wrong parameters, then it will be closed before the "right" one is opened. The buttons are only enabled when appropriate.
Limitations
I have left the DeviceTypeControl in the bottom left of the GUI in place for now, although, as mentioned, the longer-term goal is to move this functionality into a separate dialog. It mostly integrates well with the HardwareSetsControl: you can open/close devices from either panel and the other will update its state appropriately. Currently, which device is selected for each of the base types in the DeviceTypeControl is not changed when the user connects to a hardware set, meaning if the open/close button was disabled beforehand, it will stay disabled, preventing the user from manually disconnecting that single device (though the "Disconnect all" button can still be used). I have left this problem for another day though, as the DeviceTypeControl will likely need to be modified when it is moved into the separate dialog anyway.
Other misc changes
Other small bits of refactoring were needed to support these changes:

Close device when replacing
Pass device params in device.opening.* messages
SerialDevice: Use string cf. dataclass to represent port info
Add instance argument to various device.* messages
_open_device: Use more logical order for args
Also pass class_name with device.opening.* messages

Closes #365. Closes #353.

I have opened an issue related to a small bug introduced by this PR: #397


Feat/civ 5977 evidence upload

https://tools.hmcts.net/jira/browse/CIV-5977
Additional evidence upload events for respondent and other party users
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ x] No

Closing as will be merged in another branch prior to master.


FMX Demo crashing in Android 11

The Demo is crashing in unit MobileBars.Android.pas.

Fixed in v3.0.1


When APM is disabled, OTEL's start_span causes exception

Describe the bug: ...
When ELASTIC_APM_ENABLED is set to false, start_span() should not result in an exception. This happens when the Tracer from from elasticapm.contrib.opentelemetry.trace is used.
To Reproduce

Set ELASTIC_APM_ENABLED to false
Call start_as_current_span or start_span (from Tracer of elasticapm.contrib.opentelemetry.trace)
Notice an exception is thrown

Environment (please complete the following information)

OS: Mac OS, Linux
Python version: 3.12
Framework and version [e.g. Django 2.1]: N/A
APM Server version: N/A
Agent version: 6.23.0

Additional context
Here's the exception:
 with tracer.start_as_current_span(name) as span:\\n
 |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n
 |   File \\\"/usr/local/lib/python3.12/contextlib.py\\\", line 137, in __enter__\\n
 |     return next(self.gen)\\n
 |            ^^^^^^^^^^^^^^\\n
 |   File \\\"/app/.venv/lib/python3.12/site-packages/elasticapm/contrib/opentelemetry/trace.py\\\", line 230, in start_as_current_span\\n
 |     span = self.start_span(\\n
 |            ^^^^^^^^^^^^^^^^\\n
 |   File \\\"/app/.venv/lib/python3.12/site-packages/elasticapm/contrib/opentelemetry/trace.py\\\", line 150, in start_span\\n
 |     span = Span(\\n
 |            ^^^^^\\n
 |   File \\\"/app/.venv/lib/python3.12/site-packages/elasticapm/contrib/opentelemetry/span.py\\\", line 65, in __init__\\n
 |     elastic_span.otel_wrapper = self\\n
 |     ^^^^^^^^^^^^^^^^^^^^^^^^^\\n
 | AttributeError: 'NoneType' object has no attribute 'otel_wrapper'\\n

Agent config options

Click to expand
client = elasticapm.Client(
  central_config=False,
  transaction_sample_rate=1,
)

tracer = Tracer(__name__)

requirements.txt:

Click to expand
elastic-apm = "^6.23.0"
opentelemetry-api = "^1.28.1"
opentelemetry-sdk = "^1.28.1"

Thanks for reporting. Tried to write a quick test for reproducing this but it still passes, anyway looking at the code I see how it can fail.
diff --git a/tests/contrib/opentelemetry/tests.py b/tests/contrib/opentelemetry/tests.py
index 3a302289..a3e0a705 100755
--- a/tests/contrib/opentelemetry/tests.py
+++ b/tests/contrib/opentelemetry/tests.py
@@ -48,6 +48,19 @@ def tracer(elasticapm_client) -> Tracer:
     yield Tracer("test", elasticapm_client=elasticapm_client)

+def test_root_transaction_not_enabled(elasticapm_client, monkeypatch):
+    monkeypatch.setenv("ELASTIC_APM_ENABLED", "false")
+    tracer = Tracer("test", elasticapm_client=elasticapm_client)
+    with tracer.start_as_current_span("test"):
+        pass
+
+    client = tracer.client
+    transaction = client.events[constants.TRANSACTION][0]
+    assert transaction["type"] == "unknown"
+    assert transaction["name"] == "test"
+    assert transaction["result"] == "OK"
+
+
 def test_root_transaction(tracer: Tracer):
     with tracer.start_as_current_span("test"):
         pass

@xrmx no it doesn't. I hoped similar to the NodeJS package, ELASTIC_APM_ENABLED=false would turn methods of the OTel bridge into noop.


MINOR: redundant dependency (scalatest) is removed out of libraries list

Notes:

related PR: #9858
related commit/diff: https://github.com/apache/kafka/commit/9af81955c497b31b211b1e21d8323c875518df39#diff-02b139e755ab0e27e0b0a6f9845843ef189116955cc340c49a4022587dbb2b52L110

FYI @ijuma

@ijuma Few tests are failed, probably due to flakiness


SPARKC-472 Add confirm.truncate to source table option

Build against Scala 2.10 finished with success

Build against Scala 2.11 finished with success

@alexliu68 Reminder on adding a test to this pr :)

Build against Scala 2.10 finished with success

Build against Scala 2.10 finished with success

Build against Scala 2.11 finished with success

Build against Scala 2.11 finished with success

Build against Scala 2.10 finished with success

Build against Scala 2.11 finished with success


binary-parser doesn't work

<EMAIL_ADDRESS>https://github.com/keichi/binary-parser

Somehow came across this issue today... binary-parser now has a dependency-less ESM export,  which can be loaded from a CDN:
<script type="module">
  import {Parser} from 'https://cdn.skypack.dev/binary-parser';
 // ...
</script>


Looking for a Song on Spotify - Is Spotify Running?

I've tried various different songs, but they all result in the same error screen, showing the following error;

check master.


Initial setup

This is the boilerplate setup to install cosipy with pip (and setuptools), as well as and example on how to deal with classes, scripts and executables.
This will allows us to push to PiPy, and then do pip install cosipy for the releases. For now however, and in general for developers, the way to install it is as follows (preferably inside a conda env):
git clone git@github.com:cositools/cosipy.git
cd cosipy
pip install -e .

The setup.py script has an "entry point". This is an automatic executable that is created during the installation. You can run in the terminal or a bash script
$ cosi-rsp-dump /path/to/file
Filename: /path/to/file. No contents for now!

or get help:
$ cosi-rsp-dump -h
usage: cosi-rsp-dump filename [--help] [options]

Dump DR contents

positional arguments:
  filename    Path to instrument response

optional arguments:
  -h, --help  show this help message and exit

In a python script, you can do instead:
>>> from cosipy.response import DetectorResponse
>>> dr = DetectorResponse("/path/to/file")
>>> dr.dump()
Filename: /path/to/file. No contents for now!

And finally, the advantage of entry points is that you can test them as any other method with e.g.
>>> from cosipy.response import cosi_rsp_dump
>>> cosi_rsp_dump(['/path/to/file'])
Filename: /path/to/file. No contents for now!

Hi Israel,
Great start!
Although DetectorResponse.py is just an example, could you do the proper source code documentation? I want us to start with this right from the beginning.
Some of your description in the commit message should go into the documentation.
The cosi-setup tools set up a full environment and already clone/update cosipy. Thus I just have to add in the setup-stage2.py:
cd cosipy
pip install -e .
To have it accessible in the environment?

Hi Israel,
I tested your PR as follows:

Made a conda environment with python=3.9 on Clemson's palmetto cluster
git clone --branch init_setup https://github.com/israelmcmc/cosipy.git
cd cosipy
pip install -e .

I then reproduced all the output that you have in your commit message -- everything worked fine.
A few questions:
What are the primary purposes of the entry points? I guess in general the setup script will include multiple entry points?
Are they just for testing? Should the same be done for all classes? It seems that this can also be used to define command line tools?
Is the cosi_rsp_dump just meant to be a dummy example or should a similar structure be included in all the classes?
In general, for testing the code, can you clarify exactly what this should entail? And what are the best practices for writing the code with necessary tests? Maybe this is something that we can also discuss at our next meeting.

Hi Israel,
One more request:
Can you please add a "Requirements.txt" file, so that we can automatically install all required packages into the python environment.
Thanks,
Andreas

@zoglauer

Although DetectorResponse.py is just an example, could you do the proper source code documentation? I want us to start with this right from the beginning.

Agree, I added the docstrings.

Some of your description in the commit message should go into the documentation.

I added the boilerplate for the sphinx documentation. In there I included the installation steps, which I think it is what you meant.

The cosi-setup tools set up a full environment and already clone/update cosipy. Thus I just have to add in the setup-stage2.py:
cd cosipy
pip install -e .
To have it accessible in the environment?

Yes, this is correct. Eventually will want to install a release with pip install cosipy, but for now that's it.

Can you please add a "Requirements.txt" file, so that we can automatically install all required packages into the python environment.

That already part of the setup.py file (see install_requires). When you install it with pip, it'll automatically install those packages.

@ckarwin

What are the primary purposes of the entry points?

"entry_points" = command-line executables. It's just the way setuptools create them automatically (as opposed to creating a separate file manually).

I guess in general the setup script will include multiple entry points?

Yes, the setup script will have multiple entry points, one per executable.

Are they just for testing?

Yes, kinda. Having the command-line tools as functions, and creating the executables automatically using entrypoint, allows you to test them with pytest the same as any other function.

Should the same be done for all classes?

Not all classes will need this.

It seems that this can also be used to define command line tools?

Yes

Is the cosi_rsp_dump just meant to be a dummy example or should a similar structure be included in all the classes?

It is a dummy example for now, but I've found it useful for other experiment. I guess I'll keep it and make it do something for real.

In general, for testing the code, can you clarify exactly what this should entail? And what are the best practices for writing the code with necessary tests? Maybe this is something that we can also discuss at our next meeting.

I added the folder test with an example. There's also a testing section in the docs.

Why is init.py in cosipy empty? What will this contain?

An empty __init__.py files indicates to Python that the folder is a module. The contents are executed the first time a module is imported. It's no longer empty now though, so you can see an example.


Update current work with the new xarray dataset interface

Tests:

[x] Update current tests with the new dataset interface #14

Lots of them failed because of some default variable needed in the dataset

Traversals:

[x] Preorder and Postorder Traversals #18
[ ] Inorder? (Don't know if we need this)

Distance:

[ ] sv_mrca #17

Here's a paper about it
Schieber, B. and U. Vishkin (1988). "On Finding Lowest Common Ancestors: Simplification and Parallelization." SIAM Journal on Computing 17(6): 1253-1262.

Convert:

[ ] Add more defaults to create_tree_dataset

✅ from_tskit()
🚧 from_newick()

Util:

[x] Make is_unary() a function from distance.py to util.py

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

161 of 172 (93.6%)  changed or added relevant lines in 6 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+9.5%) to 96.782%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

phylokit/core.py
7
9
77.78%

phylokit/traversal.py
73
75
97.33%

phylokit/distance.py
20
23
86.96%

phylokit/util.py
43
47
91.49%

Files with Coverage Reduction
New Missed Lines
%

phylokit/convert.py
1
98.75%

phylokit/distance.py
1
91.8%

Totals

Change from base Build<PHONE_NUMBER>:
9.5%

Covered Lines:
421

Relevant Lines:
435

💛  - Coveralls

How's this looking @Billyzhang1229? I'd like to merge ASAP - if there's stuff that's awkward to do immediately then we can make some issues to track and pick them up later.

How's this looking @Billyzhang1229? I'd like to merge ASAP - if there's stuff that's awkward to do immediately then we can make some issues to track and pick them up later.

I think it's ready to merge @jeromekelleher. And I could create an issue with the circular import thing.

OK, maybe we could create an issue to look at the preorder implementation as well? I still think it's more complex than it needs to be, but I agree it's handy having the nodes come out in the expected left-to-right order.


failure to load on initial visit - requires reload

This must be something to do with Application Cache. Here's what I see on a first visit in the console.
www.landmarker.io/:1 Creating Application Cache with manifest http://www.landmarker.io/lmio.appcache
www.landmarker.io/:1 Application Cache Checking event
www.landmarker.io/:1 Application Cache Downloading event
www.landmarker.io/:1 Application Cache Progress event (0 of 5) http://www.landmarker.io/css/help-8da0a165.css
www.landmarker.io/:1 Application Cache Progress event (1 of 5) http://www.landmarker.io/index.html
www.landmarker.io/:1 Application Cache Progress event (2 of 5) http://www.landmarker.io/css/landmarker-6ab08838.css
www.landmarker.io/:1 Application Cache Progress event (3 of 5) http://www.landmarker.io/img/cursor.png
www.landmarker.io/:1 Application Cache Progress event (4 of 5) http://www.landmarker.io/bundle-2052f37e.js
www.landmarker.io/:1 Application Cache Progress event (5 of 5)
www.landmarker.io/:1 Application Cache Cached event
http://localhost:5000/api/v1/mode Failed to load resource: net::ERR_CONNECTION_REFUSED

and then second time around:
Document was loaded from Application Cache with manifest http://www.landmarker.io/lmio.appcache
(index):1 Application Cache Checking event
(index):1 Application Cache NoUpdate event
index.js:35 Successfully found mode: mesh

Note that this wasn't to do with the application caching at all. It was a result of moving from url query seperators ? to #.


Fix sending Push Notifications

Short description
This PR fixes the handling of push notification translations when the main language should be used for other translations as well. If the main language should be used, only the notification via Firebase contains the original language. The translation in the API will contain a fallback translation that links to available translations.
The main challenge here is the default behavior of Django formsets. Django usually removes empty forms when validating/cleaning the formset. This PR introduces an override for one specific case: if the user chooses to use the main language for other translations as well, empty database objects will be created for empty push notification translations.
Proposed changes

Allow an empty title in the push notification translation model.
Allow saving empty push notification translation forms when choosing the USE_MAIN_LANGUAGE mode.
Change the API to deliver a fallback translation for empty database objects.
The resulting translation object in the API looks like this:[{"id": "81", "title": "Test DE", "message": "This page does not exist in the selected language. It is however available in these languages:\nDeutsch: https://integreat.app/testumgebung/de/news/local/80\nEnglish: https://integreat.app/testumgebung/en/news/local/82", "timestamp": "2022-09-23T16:39:54.843Z", "last_updated": "2022-09-23T18:39:54.843+02:00", "channel": "news"}]

Side effects

Push Notifications still not using unified translation models. I think that this is still a valid approach as the content model has much less complexity/information (no versions, no HTML body, etc).
The new Formset model save method does not provide the commit parameter. I cannot think of a case where this should be an issue (at the moment).
We do not have HTML in Push Notifications. The fallback translation links are plain text.

Resolved issues

Fixes: #1526

Pull Request Review Guidelines

We had another question from a partner about this today - when can we close the issue?

We had another question from a partner about this today - when can we close the issue?

@digitalfabrik/cms-team anyone willing to review this? :innocent:


onboarding oriented governance docs

Based on this weeks dev call, temporarily putting the following docs here:

Social Media/Communications Guidelines
Contributor Roadmap
Named Roles (which maybe should be part of the people?
Sorry, didn't realize I could push directly to this repo. 🙁

Thanks for all the feedback!

How is the onboarding of these folks happening? - i.e. do you have a manual or a call or the such
We have a post on discourse and the plan is to ultimately move these documents into the docs. Would love to do community calls but don't have anyone with the bandwidth to run them at the moment.
How can also folks step down from their responsibilities shall their circumstances change?
We're working on sorting that out, so TBD

I just want to say as a long-ago MPL contributor that, while I have surely lost all right to commit, I am very pleased that MPL is so vibrant today. And -- what a sign of strength to see this thread! It makes me really happy and I'm sure John Hunter would be proud and justifiably so. We use MPL every day in my lab. Thanks for all you are doing and please feel free to remove me from all relevant permissions, as I unfortunately cannot foresee becoming an active MPL developer again.

I have hi-jacked this PR to also include broader overhaul of the governance (as the Deputy Lead Developer roles sync up well with the onboarding path.
I can move those commits to a different branch if people prefer.

Closing in favor of #10 & #11, which I think supersede this?


Update/k8s audit endpoint

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind documentation

/kind feature

/kind sandbox

/kind incubating

/kind officialsupport

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area deploy
/area examples
/area integrations

/area proposals

What this PR does / why we need it:
As per https://github.com/falcosecurity/falco/pull/1261
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

@leogr: There is not a label identifying the kind of this PR.
Please specify it either using /kind <group> or manually from the side menu.

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

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign leogr
You can assign the PR to them by writing /assign @leogr in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

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

Needs approval from an approver in each of these files:

OWNERS [maxgio92]

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


Support switching all the API versions together in the generation tab for more convenience.

Just do it! @calvinhzy 😆


bug(matDatepicker): Type MatDatepicker is not assignable to type MatDatepicker

Reproduction
getting Type MatDatepicker is not assignable to type MatDatepicker when  value of [max] attribute is null
Inspection info: Reports incorrect return type of an Angular binding expression.
In our case its :
[max]="(observable$ | async)?.date"
Actual Behavior
Webstorm throws an error.
Environment

Angular: 8.3.20
CDK/Material: 8.2.3
Moment adapter: 8.2.3
Browser(s): Chrome 83.0.4103.116
Operating System:  macOS

This issue doesn't have enough information for the team to investigate. Please include:

A reproduction of the issue (preferably via StackBlitz)
Any relevant errors and stack traces
Any relevant details about your build environment

(this is a canned response)


Tauri Example

Stable webrtc is something that many people at Tauri have been asking for. It would be nice to see a Tauri example!

i agree
..

i want something like what electron does

To be clear, right now with the exception of linux platforms, webrtc is available. We're investigating options for linux solutions, but those seem to be pretty far away.


Implementation of ZOMBI.activate

I noticed something that could be a typo in the implementation of the ZOMBI.activate function:
https://github.com/PV-Lab/ZoMBI/blob/7f467914dad76b0d51e93ec3fb769b5bae276894/zombi.py#L109
I believe the purpose is to get the fX value from dataset_fX at X after optimizing the acquisition function. The way the code is written now does so by looking up a value in dataset_fX at the index idx. However, since this idx is found from ac_value, which itself is optimized within the bounded_norm, bounded_norm[idx] may not correspond to the same X in the dataset_X, i.e., it may be the case that  bounded_norm[idx] != dataset_X[idx]. This may result in the wrong fX value that is used in the optimization.
Alternative implementation
I replaced the original version with fX_bounded = np.append(fX_new, -1*self.fX_model(bounded_norm[idx])) (direct evaluation of the target function at optimum X) and compared the results.
Here are the results (mean of 10 runs) of optimizing the Negative Poisson ratio:

It seems that the alternative implementation has better performance.
Reproducing the results
Attached is the notebook that I used in generating the aforementioned results. I moved ZOMBI class outside of the zombi.py file into the Jupyter notebook. The code in utils.py and acquisitions.py is the same with the original version.
ZOMBI_test.zip
Discussion
Did I read misunderstand the code? If so, then I am curious about your thoughts on why the alternative implementation yielded better performance. Let me know what you think.

Thank you for your thorough review of my code! You are in fact correct that in its current implementation, idx may produce inconsistencies. I have reviewed your .ipynb file as well as attempted to implement your suggestion of fX_bounded = np.append(fX_new, -1*self.fX_model(bounded_norm[idx])).
I confirm that I get the same results as you on my machine. I have made the appropriate fixes to the code and updated the repo. Thanks again, and let me know if you spot any other inconsistencies 😄

Thank you, all!--Tonio BuonassisiProf. Mech. Eng., MIT✉ @.💻 http://www.buonassisigroup.com🤝 https://www.LinkedIn.com/today/author/tonio-buonassisi-7854543On Feb 14, 2024, at 14:06, Aleks @.> wrote:
Thank you for your thorough review of my code! You are in fact correct that in its current implementation, idx may produce inconsistencies. I have reviewed your .ipynb file as well as attempted to implement your suggestion of fX_bounded = np.append(fX_new, -1*self.fX_model(bounded_norm[idx])).
I confirm that I get the same results as you on my machine. I have made the appropriate fixes to the code and updated the repo. Thanks again, and let me know if you spot any other inconsistencies 😄
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>


FileUpdate no longer supports output property "NotUpdatedItems"

Recently upgraded from <IP_ADDRESS>3 to 1.4.x and FileUpdate task no longer supports Output properties ExitCode and NotUpdatedItems. Is this by design or a bad merge?

It'd be unusual to remove functionality I'm on mobile right now but I'd be happy to look when I'm back next week if someone else hasn't looked into it yet.

Sounds good, below is the usage of the task in a target
<CreateItem Include="$(SomeFolder)\**\*.sql">
            <Output TaskParameter="Include" ItemName="ValidateFiles"/>
</CreateItem>

<FileUpdate Files="@(ValidateFiles)" Regex="\$\(SomeToken\)" ReplacementText="SomeValue">
            <Output TaskParameter="NotUpdatedItems" ItemName="NotUpdatedItems"/>
            <Output TaskParameter="ExitCode" PropertyName="ExitCode"/>
</FileUpdate>

<Error Text="The following were not updated. Scripts: @(NotUpdatedItems)" Condition="$(ExitCode) == 'False'"/>

Update, I am not 100% sure, but I might have added that logic to the task way back in the day.  I added the logic to my forked repo, I will submit a pull request for your evaluation.

What's the roadmap to push these changes to Nuget?


Load Keystore Intelligently in the Driver

Driver version
<IP_ADDRESS>
Redshift version
PostgreSQL 8.0.2 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3), Redshift 1.0.24421
Client Operating System
Ubuntu 18.04
JAVA/JVM version
openjdk version "11.0.8" 2020-07-14
Table schema
Not Applicable
Problem description
- In your code, you are loading "cacerts" but the keystore is initialised using default type as per https://github.com/aws/amazon-redshift-jdbc-driver/blob/master/src/main/java/com/amazon/redshift/ssl/LibPQFactory.java#L370.
- In JDK8, default keystore type is "JKS" while in JDK11, its "PKCS12".
- And I am using BouncyCastle as the first provider in my java client program.
- And BouncyCastle is very strict in type, and I am getting the error "Error loading the provided keystore" because "cacerts" is of type "JKS" not "PKCS12".
- And if I remove BouncyCastle provider, then the default SUN provider primarily attempts to load "cacerts" as PKCS12 but if that fails, then the provider reattempts its as "JKS".  This is evident from the code https://github.com/AdoptOpenJDK/openjdk-jdk11/blob/master/src/java.base/share/classes/sun/security/pkcs12/PKCS12KeyStore.java#L140.
- Bottom line: your code doesn't work with BouncyCastle provider.

JDBC trace logs
Not Needed
Reproduction code
- Take the source code at https://github.com/Syed-SnapLogic/SyedsPublicRepo/tree/master/bctestcacerts
- Provide your cacerts file from any JDK you have.
- You can change the passphrase to null and try.

Recommendation
Why don't you load the keystore as follows:
try {
KeyStore keyStore = KeyStore.getInstance("JKS");
keyStore.load(inputStream, passphrase);
// do rest of the logic
} catch (Exception e1) {
try {
KeyStore keyStore = KeyStore.getInstance("PKCS12");
keyStore.load(inputStream, passphrase);
// do rest of the logic
} catch (Exception e2) {
try {
KeyStore keyStore = KeyStore.getInstance("JCEKS");
keyStore.load(inputStream, passphrase);
// do rest of the logic
} catch (Exception e1) {
}
}
}
Note: You have the recreate the inputStream before retrying.

Thanks for reporting issue. We will look into it.

Hi Syed,
Could you please try using "sslkey" connection option? If this file ends with pk8 then we use JKS, if it ends with p12 then we use PKCS12 key store. Also generate JDBC driver logs using "LogLevel=6;LogPath=my_path" and run your test and send us *.log from my_path directory.
Thanks,
ilesh Garish

@iggarish , you guys are loading "cacerts" that gets bundled with JDK.  I don't have any ssl key with me.
Its while loading the "cacerts" that we are getting this error because you are loading cacerts as PKCS12 instead of as JKS.  The fix has to be in your code.  You can try the following safe or fallback approach:
try {
  load keystore as pkcs12;
} catch (Exception e1) {
  try {
    load keystore as jks;
  } catch (Exception e2) {
    try {
      load keystore as jceks;
    } catch (Exception e3) {
      throw keystore error;
    }
 }
}

Hi Syed,
I clone your repo and try to reproduce the issue. I did following steps:

Change Loader.java:
public static final String cacerts = "/home/iggarish/jdk1.8.0_241/jre/lib/security/cacerts";
public static final String passphrase = null;

mvn clean install

cd target

dev-dsk-iggarish-2a-77ebad06 % java -cp  /home/iggarish/.m2/repository/org/bouncycastle/bcpg-jdk15on/1.68/bcpg-jdk15on-1.68.jar:/home/iggarish/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.68/bcprov-jdk15on-1.68.jar:/home/iggarish/.m2/repository/org/bouncycastle/bcprov-ext-jdk15on/1.68/bcprov-ext-jdk15on-1.68.jar:/home/iggarish/.m2/repository/org/bouncycastle/bctls-jdk15on/1.68/bctls-jdk15on-1.68.jar:./bctestcacerts-1.0-SNAPSHOT.jar com.syed.bctestcacerts.Loader
BC
BCJSSE
SUN
SunRsaSign
SunEC
SunJSSE
SunJCE
SunJGSS
SunSASL
XMLDSig
SunPCSC
type: jks
java.security.KeyStore
successful!!

One think I notice you have JDK11 and I am using JDK8. Am I missing anything? Do you have steps with any sample JDBC program, so I can see the issue? I get you what you are trying to say. But I need to reproduce the issue, fix it and then test it again.

Hi Syed,
I add some code (as per your LoadJava) in my JDBC test to add Bouncy Castle provider and then connect. It works fine.
BC
BCJSSE
SUN
SunRsaSign
SunEC
SunJSSE
SunJCE
SunJGSS
SunSASL
XMLDSig
SunPCSC
type: jks
Mar 16, 2021 11:05:27 PM org.bouncycastle.jsse.provider.PropertyUtils getStringSecurityProperty
INFO: Found string security property [jdk.tls.disabledAlgorithms]: SSLv3, RC4, DES, MD5withRSA, DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL
Mar 16, 2021 11:05:27 PM org.bouncycastle.jsse.provider.PropertyUtils getStringSecurityProperty
INFO: Found string security property [jdk.certpath.disabledAlgorithms]: MD2, MD5, SHA1 jdkCA & usage TLSServer, RSA keySize < 1024, DSA keySize < 1024, EC keySize < 224
Mar 16, 2021 11:05:27 PM org.bouncycastle.jsse.provider.DisabledAlgorithmConstraints create
WARNING: Ignoring unsupported entry in 'jdk.certpath.disabledAlgorithms': SHA1 jdkCA & usage TLSServer
Mar 16, 2021 11:05:27 PM org.bouncycastle.jsse.provider.PropertyUtils getBooleanSecurityProperty
INFO: Found boolean security property [keystore.type.compat]: true
Mar 16, 2021 11:05:27 PM org.bouncycastle.jsse.provider.ProvTrustManagerFactorySpi getDefaultTrustStore
INFO: Initializing with trust store at path: /local/home/iggarish/jdk1.8.0_241/jre/lib/security/cacerts
Connected... Driver Version: <IP_ADDRESS>
Note that I am using JDK 8.0.
This is function I created in my JDBC test connect program:
private void addBouncyCastleProvider() {
Security.insertProviderAt(new BouncyCastleProvider(), 1);
Security.insertProviderAt(new BouncyCastleJsseProvider(), 2);
Provider[] p = Security.getProviders();
for (Provider P : p) {
System.out.println(P.getName());
}
System.out.println("type: " + KeyStore.getDefaultType());
}
...
		ts.addBouncyCastleProvider();
		connection = ts.getIAMConnection(props, IAM_URL, "test");

....

I am downloading jdk11.0.8 and trying it.

I tried my test program but looks like something more missing with JDK11:
dev-dsk-iggarish-2a-77ebad06 % java TestIAMUserConnect
java: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /local/home/iggarish/jdk11.0.8/openlogic-openjdk-11.0.8+10-linux-x64/bin/../lib/jli/libjli.so)

Ok. I downloaded another JDK11 and I can see the issue as follow:
dev-dsk-iggarish-2a-77ebad06 % java TestIAMUserConnectWithBouncyCastle
BC
BCJSSE
SUN
SunRsaSign
SunEC
SunJSSE
SunJCE
SunJGSS
SunSASL
XMLDSig
SunPCSC
JdkLDAP
JdkSASL
SunPKCS11
type: pkcs12
Mar 16, 2021 11:55:45 PM org.bouncycastle.jsse.provider.PropertyUtils getStringSecurityProperty
INFO: Found string security property [jdk.tls.disabledAlgorithms]: SSLv3, RC4, MD5withRSA, DH keySize < 1024, EC keySize < 224, DES40_CBC, RC4_40, 3DES_EDE_CBC
Mar 16, 2021 11:55:45 PM org.bouncycastle.jsse.provider.PropertyUtils getStringSecurityProperty
INFO: Found string security property [jdk.certpath.disabledAlgorithms]: MD2, MD5, SHA1 jdkCA & usage TLSServer, RSA keySize < 1024, DSA keySize < 1024, EC keySize < 224
Mar 16, 2021 11:55:45 PM org.bouncycastle.jsse.provider.DisabledAlgorithmConstraints create
WARNING: Ignoring unsupported entry in 'jdk.certpath.disabledAlgorithms': SHA1 jdkCA & usage TLSServer
Mar 16, 2021 11:55:45 PM org.bouncycastle.jsse.provider.PropertyUtils getBooleanSecurityProperty
INFO: Found boolean security property [keystore.type.compat]: true
Mar 16, 2021 11:55:45 PM org.bouncycastle.jsse.provider.ProvTrustManagerFactorySpi getDefaultTrustStore
INFO: Initializing with trust store at path: /local/home/iggarish/jdk11/jdk-11/lib/security/cacerts
Exception in thread "main" java.sql.SQLException: Error loading the provided keystore.
at com.amazon.redshift.util.RedshiftException.getSQLException(RedshiftException.java:48)
at com.amazon.redshift.Driver.connect(Driver.java:303)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:189)
at TestIAMUserConnectWithBouncyCastle.getIAMConnection(TestIAMUserConnectWithBouncyCastle.java:62)
at TestIAMUserConnectWithBouncyCastle.main(TestIAMUserConnectWithBouncyCastle.java:36)
Caused by: java.io.IOException: stream does not represent a PKCS12 key store
at org.bouncycastle.jcajce.provider.keystore.pkcs12.PKCS12KeyStoreSpi.engineLoad(Unknown Source)
at java.base/java.security.KeyStore.load(KeyStore.java:1479)
at com.amazon.redshift.ssl.LibPQFactory.getDefaultKeystore(LibPQFactory.java:376)
at com.amazon.redshift.ssl.LibPQFactory.getDefaultTrustManager(LibPQFactory.java:512)
at com.amazon.redshift.ssl.LibPQFactory.(LibPQFactory.java:148)
at com.amazon.redshift.core.SocketFactoryFactory.getSslSocketFactory(SocketFactoryFactory.java:63)
at com.amazon.redshift.ssl.MakeSSL.convert(MakeSSL.java:29)
at com.amazon.redshift.core.v3.ConnectionFactoryImpl.enableSSL(ConnectionFactoryImpl.java:487)

ok. I fix the code as you suggest and it works fine now:
dev-dsk-iggarish-2a-77ebad06 % java TestIAMUserConnectWithBouncyCastle
BC
BCJSSE
SUN
SunRsaSign
SunEC
SunJSSE
SunJCE
SunJGSS
SunSASL
XMLDSig
SunPCSC
JdkLDAP
JdkSASL
SunPKCS11
type: pkcs12
Mar 17, 2021 12:15:09 AM org.bouncycastle.jsse.provider.PropertyUtils getStringSecurityProperty
INFO: Found string security property [jdk.tls.disabledAlgorithms]: SSLv3, RC4, MD5withRSA, DH keySize < 1024, EC keySize < 224, DES40_CBC, RC4_40, 3DES_EDE_CBC
Mar 17, 2021 12:15:09 AM org.bouncycastle.jsse.provider.PropertyUtils getStringSecurityProperty
INFO: Found string security property [jdk.certpath.disabledAlgorithms]: MD2, MD5, SHA1 jdkCA & usage TLSServer, RSA keySize < 1024, DSA keySize < 1024, EC keySize < 224
Mar 17, 2021 12:15:09 AM org.bouncycastle.jsse.provider.DisabledAlgorithmConstraints create
WARNING: Ignoring unsupported entry in 'jdk.certpath.disabledAlgorithms': SHA1 jdkCA & usage TLSServer
Mar 17, 2021 12:15:09 AM org.bouncycastle.jsse.provider.PropertyUtils getBooleanSecurityProperty
INFO: Found boolean security property [keystore.type.compat]: true
Mar 17, 2021 12:15:09 AM org.bouncycastle.jsse.provider.ProvTrustManagerFactorySpi getDefaultTrustStore
INFO: Initializing with trust store at path: /local/home/iggarish/jdk11/jdk-11/lib/security/cacerts
Connected... Driver Version: <IP_ADDRESS>

This fix will be available in next release plan for end of the month.

This is great update, thank you so much @iggarish.  May I please know the expected release date if its available?

We are planning to release by end of this month. Exact date is not known,  because it depends on many factors. But trying to release by 31-Mar. I will update here when actual release is ready.

Thank you.

Any update @iggarish ?

31-Mar is still plan to release. I will update here when I actually release it.

Thank you.

Released <IP_ADDRESS> version. Check README file for download links.


t2t train in eager mode

Description
I try to implement eager execution for t2t_train. However I get nothing  from model.variables.
Any help？
full implementation

Were you able to figure this out?


Update google-cloud-storage to 1.113.9

Updates com.google.cloud:google-cloud-storage from 1.109.1 to 1.113.9.
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.google.cloud", artifactId = "google-cloud-storage" } ]

labels: library-update, semver-minor

Superseded by #182.


Use property attributes if not present in documentation attribute

The type and values are often already defined on the property (e.g. when using Representable::Coercion). It's not useful to always have to repeat the info in a separate 'documentation' Hash.
This patch will get the type, desc and values settings from the property if there is no such thing in the documentation Hash. The spec was slightly modified to test the new functionality.

All checks fail except for Ruby 2.3. It is not during testing, though but during bundle install. Apparently the most recent Rack gem is no longer compatible with older rubies:
'Gem::InstallError: rack requires Ruby version >= 2.2.2.'
On jruby 1.9 mode the tool gem is also complaining and rbx-2 doesn't even install.
On the other hand, the allowed failures ruby-head and jruby-head are running fine.

I tried to force rack on version 1.6, but that did not work:
Bundler could not find compatible versions for gem "ruby":
In Gemfile:
ruby
grape-swagger was resolved to 0.26.1, which depends on
  ruby (>= 2.2.6)

Probably best to drop support for ruby < 2.3 and jruby < <IP_ADDRESS> ?

Hello, thank you, looks good.
I updated .travis.yml, please rebase your branch
I don't want to drop ruby 2.2.x now.

2.2.6 is fine indeed. I merged and pushed to my fork. I haven't synced a fork with the original repository before. I hope it's OK like that. Otherwise let me know what to do.

all ok, thank you

0.1.4 released

Thanks!


Add test for lme

Added test for lme functions, please check
@boyinggong I noticed you included a bonferroni correction on the prop of anova that are significant (anovaStat) but not for the propotion of beta -pvalues (calcSigProp). Should we add the correction?

Added test for smoothing function, please check

is this good ?

Lets mege this


1.18.2 Forge Crashes on Opening Game FORGE VERSION: 40.2.0

Just Marium's and GeckoLib in the mods folder, Minecraft version: 1.18.2 FORGE. Forge Version: 40.2.0
latest.log

added AttributeFix and still not working

Sorry about that, it is a known issue and I'm working on an update that fixes this.


No name validation for sumocli azure create command

Describe the bug
When using the sumocli azure create command with the --name argument there is no actual restriction on what can be inputted and certain Azure API calls will fail.
To Reproduce
./sumocli.exe azure create --metrics -prefix "IcanPutWhatEverIW@ntHere?"
Expected behavior
There should be an error returned to the user that the name does not conform to restrictions

This has been superseded by the new Azure Event Hub source.


lstat error when running rancher agent inside lxd container

Rancher Versions:
Docker Version:
Docker version 1.12.3, build 6b644ec
OS and where are the hosts located? (cloud, bare metal, etc):
Ubuntu Xenial bare metal
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single node rancher server running in Ubuntu Xenial LXD container.
Unable to start an agent in another Ubuntu Xenial LXD container.
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
Install LXD on Ubuntu Xenial.
$ sudo apt update
$ sudo apt install lxd

Launch Rancher Server
$ lxc launch images:ubuntu/xenial/amd64 rancher-server -p default -p docker
$ lxc exec docker -- apt update
$ lxc exec docker -- apt dist-upgrade -y
$ lxc exec docker -- apt install docker.io -y
$ lxc exec rancher-server -- docker run -d --restart=unless-stopped -p 8080:8080 rancher/server

Launch Rancher Agent
$ lxc launch images:ubuntu/xenial/amd64 rancher-agent -p default -p docker
$ lxc exec docker -- apt update
$ lxc exec docker -- apt dist-upgrade -y
$ lxc exec docker -- apt install docker.io -y

Check the container IP for rancher-server
$ lxc list

Open the-container-ip:8080 in your browser
Add host
Copy the command to create an agent
Access the rancher-agent
$ lxc exec rancher-agent bash

Copy and paste the agent creation command. You should get the following error:
Results:
docker: Error response from daemon: linux runtime spec devices: lstat /dev/.lxc/proc/447/fdinfo/13: no such file or directory.

I got the same problem but I tried to run rancher-agent in lxc privileged container and got this error
docker: Error response from daemon: linux runtime spec devices: lstat /dev/.lxc/proc/728/fdinfo/18: no such file or directory

I thought this problem should discuss to lxd team
I found one error that might relate to this issue
https://github.com/lxc/lxd/issues/2825

docker: Error response from daemon: linux runtime spec devices: lstat /dev/.lxc/proc/728/fdinfo/18: no such file or directory
is fixed with https://github.com/opencontainers/runc/pull/1327 .
So, as of the moment, you'll have to build docker referencing the runC version with that fix. It references runC here https://github.com/docker/docker/blob/1.13.x/hack/dockerfile/install-binaries.sh#L21

@CarltonSemple -- Please how did you apply this fix exactly, can you please provide some steps.
I am also facing the same problem.

@infinitydon are you trying to run privileged Docker containers inside of LXD? If so, there were other issues that ultimately blocked me.

Seems to be fixed in upstream rc (https://github.com/moby/moby/issues/32968), let me know if we can do anything within our scope to make this work.

@superseb Hi, is it possible to know in which version of docker-ce is this fix release ?

This was tested in 17.06 rc2 (https://github.com/moby/moby/issues/32968#issuecomment-307561319)


Code samples aren't working

Code snippet:
				`var worker = cw(function(a,callback){
				    callback(a[0]+a[1]);
				});
			        worker.data([2,5]).then(function(a){
				    console.log("One worker: " + a + " -- " + new Date());
				})//prints 7
			        worker.close();//close it up`

and no errors are getting shown as well.

are you running this in the console or as a script ?

thanks for the quick reply, i'm running it in the console as i'm trying to test whether the function is being called, but when I'm running IE11 debugger it doesn't look like it's executing the function but no error is being shown either.

so the function is stringified and run in a web worker so simply using a debugger statment isn't going to help

ok, just added another option to the callback to handle rejected calls and that's where it's ending. Now, I wonder why the call is being rejected?

just an update after removing the worker.close(); the function is being called but it's being rejected first then it will be called later. Weird.

ah yes so the worker is async but you are closing the worker sync so that does explain why it's randomly dying
running
var worker = cw(function(a,callback){
				    callback(a[0]+a[1]);
				});
			        worker.data([2,5]).then(function(a){
				    console.log("One worker: " + a + " -- " + new Date());
				})//prints 7

works as expected printing One worker: 7 -- Tue Nov 22 2016 08:07:03 GMT-0500 (EST)
there are some issues with workers in IE, there is a corectly configured version running at http://catilinejs.com/ so you could try in the console there and see if you still have the issue


 Nothing special. ;-)

Thanks for your contribution. Does this fix issue #21?

Thanks for your contribution. Does this fix issue #21?

Yes, exactly.


fix 'clean label from db' does not work

Proposed changes
Issue Number: close #xxx

When we use  a label to load data, this label can not be used twice. But when we execute a sql 'CLEAN LABEL [label] FROM db;', we hope that the same label can be used again.
However, the sql above does not work. This PR is fixing this problem.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Our horizontal cncf logo in svg format is messed up

https://github.com/cncf/artwork/blob/master/projects/external-secrets-operator/horizontal/color/eso-horizontal-color.svg

I tried editing this but the funny thing is that when I open this in any svg editor the image is fine:

I am guessing is something about how vector images are shown in some visualizers or websites.
Why we care? Our CNCF booth uses this image by default and last time at kubecon this was very noticeable. We should fix this before they print the booth sign. Or say to them to use the png maybe.

Ok, this fixes it: https://github.com/cncf/artwork/pull/424/files


community: document_loaders: GrobidParser: fix IndexError: list index out of range

Fixes #10801
After two comments in #10801 confirming my suggested fix, this is the PR for it.

seems like it needs some more work, closing until fixed


AttributeError: 'ExplainableBoostingClassifier' object has no attribute 'histogram_weights_'

import gamchanger as gc
When I run  model_data = gc.get_model_data(ebm)  I get the following error. I'm already using gam changer version 0.1.13. I trained my EBM model with version 0.3.2
I know that Interpret has changed the names of some parameters, but I thought the latest version of your package was up to date with these changes.

Hi @lynboussengui! Can you try the latest version of interpret (v0.4.2)? The variable name change was introduced in interpret v.0.4.0. If you have to use interpret v0.3.2, you can try gamchanger v0.1.12.


Shorter URL for the install script.

More info at https://github.com/hemanth/nvm-now

a) blindly installing the latest is a horrible idea. It is intentional that the version number is explicit, and that you have to know what version you are installing.
b) i'm not going to recommend people install nvm from a URL that I don't
c) the URL doesn't redirect, which means we'd all have to trust your logic/code instead of github's mapping to the git repo.

blindly installing the latest is a horrible idea

^ I thought the latest version is the stabler one and the script handle any exceptions.
(How many of them out their would be picking the require version manually?)

i'm not going to recommend people install nvm from a URL that I don't

Well, trust? (The source is published)

the URL doesn't redirect

redirecting it, is even easier, but would add one more extra flag to the CLI call.

Everyone who copies and pastes the install URL somewhere will be doing it manually, including all the blogs and tutorials. The whole concept of "breaking changes" is that the software doesn't handle it, which is why with npm, * is a horrible idea, and you'd use ^ to peg to non-major version ranges.
The source is published but you're freely able to change the source behind the domain and nobody would know the difference.

Everyone who copies and pastes the install URL somewhere will be doing it manually, including all the blogs and tutorials.

will be -> should be, but it's maybe.

The source is published but you're freely able to change the source behind the domain and nobody would know the difference.

Heh heh true! There are many evil folks out there.


There is no example usage of the config

A sample class which uses constructor injection of the config should be provided to show how to use it

Hey, @Polve.
Can you add a link to the article you're referring to?

Closed due to inactivity.


a11y errors in console have absolute paths

Describe the bug
Errors in the console link to absolute paths. We should use relative paths.
Context and configuration
Please share:
a11y rules are what are specifically linking to absolute file paths
To Reproduce
Create a template that violates a rule, one for angular style guide, the other for an a11y rule
Expected behavior
The error would print in the console with a relative file path
Additional context
Here's an error for a style guide rule:
ERROR: C:/Users/Jack/Documents/Rosie/rosie-storefront/libs/storefront/checkout/src/lib/components/address-selector/address-selector.component.ts:5:13 - The selector should be kebab-cased and include a dash (https://angular.io/guide/styleguide#style-05-02)

When that link is ctrl+clicked on in VS Code, here's what the breadcrumbs look like:

Here is an a11y error:
ERROR: c:/users/jack/documents/rosie/rosie-storefront/libs/storefront/checkout/src/lib/containers/payment-type/payment-type.component.html:10:4 - click must be accompanied by either keyup, keydown or keypress event for accessibility

and the breadcrumbs in VS Code:

The issue that this presents is that VS Code can't "find" the file in the project when it's opened from an absolute path, so it doesn't show up in the sidebar. Kind of annoying.

@mohammedzamakhan would you have a moment to look at that?

Sure 👍


resolving .local?

Hi, I'm kinda unsure what's wrong in this case. I can ping the computer without any troubles and log to the machine as well. When I use the config_moonraker_url  with IP address, all works, but when I use the mDNS name, it seems it does not work and the error is not exactly providing info I could use to troubleshoot this. Any suggestion/advice? I'm using latest release...
$ klipper_estimator_osx --config_moonraker_url http://<IP_ADDRESS> dump-config
{
  "max_velocity": 200.0,
  "max_acceleration": 3000.0,
  "max_accel_to_decel": 1500.0,
  "square_corner_velocity": 8.0,
  "instant_corner_velocity": 1.0,
  "move_checkers": [
    {
      "axis_limiter": {
        "axis": [
          0.0,
          0.0,
          1.0
        ],
        "max_velocity": 100.0,
        "max_accel": 500.0
      }
    },
    {
      "extruder_limiter": {
        "max_velocity": 53.21621607382886,
        "max_accel":<PHONE_NUMBER>074329
      }
    }
  ],
  "firmware_retraction": {
    "retract_length": 0.6,
    "unretract_extra_length": 0.0,
    "unretract_speed": 30.0,
    "retract_speed": 30.0
  }
}

$ ping vsw.local
PING vsw.local (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: icmp_seq=0 ttl=64 time=8.989 ms
^C
--- vsw.local ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 8.989/8.989/8.989/0.000 ms

$ klipper_estimator_osx --config_moonraker_url http://vsw.local dump-config
Failed to load printer configuration: request failed: error decoding response body: missing field `result` at line 1 column 580

Resolved by fixing my cors_domains in moonraker.conf.
I still don't understand fully but it seemed to be related to not having ipv6 (i.e. not accessing via ipv6) since yesterday and having messed up ipv4 config in moonraker.conf

seems like the klipper_estimator is using link-local ipv6 address preferably (probably it's how the MacOSX resolver is set up)
y.


[python] for an Experiment, soma.open is 3X slower than soma.Experiment.open

On a TileDB Cloud URI that points to a SOMA Experiment, soma.open is substantially slower than soma.Experiment.open.
Ideally these would be the of similar performance, allowing the convenience of using the generic opener.
The use of TileDB-Py (e.g., tiledb.Group()) is even faster yet, and ideally would be the benchmark time.
Example:
In [40]: soma.__version__
Out[40]: '1.9.5'

In [41]: tiledb.__version__
Out[41]: '0.27.1'

In [52]: %time print(list(soma.open("tiledb://TileDB-Inc/8917a1ab-dd51-44b4-999c-cce5321adcdf", context=ctx)))
['ms', 'obs']
CPU times: user 89 ms, sys: 23.9 ms, total: 113 ms
Wall time: 3.4 s

In [53]: %time print(list(soma.Experiment.open("tiledb://TileDB-Inc/8917a1ab-dd51-44b4-999c-cce5321adcdf", context=ctx)))
['ms', 'obs']
CPU times: user 41.5 ms, sys: 9.12 ms, total: 50.6 ms
Wall time: 1.12 s

In [54]: %time print(list(tiledb.Group("tiledb://TileDB-Inc/8917a1ab-dd51-44b4-999c-cce5321adcdf", ctx=tiledb.cloud.Ctx())))
[Obj<GROUP "tiledb://TileDB-Inc/9b79dd7e-5f10-46fe-a229-00a40be387f1" - "ms">, Obj<ARRAY "tiledb://TileDB-Inc/ccc2103f-2950-4dbf-9fc8-568fb59e01dc" - "obs">]
CPU times: user 39.8 ms, sys: 7.98 ms, total: 47.8 ms
Wall time: 871 ms

In [59]: soma.show_package_versions()
tiledbsoma.__version__        1.9.5
TileDB-Py tiledb.version()    (0, 27, 1)
TileDB core version           2.21.1
libtiledbsoma version()       libtiledb=2.21.1
python version                3.10.12.final.0
OS version                    Linux 6.8.0-76060800daily20240311-generic

On investigation:

The polymorphic opener asks for object->type() (array or group) which incurs some unnecessary expense
There are some potential optimizations we can do here in collaboration with the core and cloud teams
More info to come

FYI: @ypatia - latency-related (this case is not proxied, but demonstrates another access pattern that is latency-sensitive)

@ypatia @bkmartinjr I have a write-up not written down yet -- fully analyzed in my head & in scratch notes -- will follow up post-retreat ...


Update CREATE_BOT.md images

Fixed broken images from gdrive link.
Resolves #2

Screenshots of working  .md file

LGTM!

If you feel like I fixed something worthwhile, please add the hacktoberfest-accepted and hacktoberfest labels to this PR since my dumb self forgot to link it to the original issue.

If I did something worthwhile, please assign the required hacktoberfest-accepted label to the PR. thankyou !


quiz

How can I use LibAS to develop my own project？Does LibAS  have app  on Android or Windows?

According the License, you can develop your project based on LibAS.
The source code of an Android app is included here: https://github.com/yctung/LibAcousticSensing/tree/master/DevApp/Android


Cli tests for add user and ls

Running tests independently of the API where all http requests are mocked and return values are explicitly set in the test files. This will of course need to be updated when we change the API. The isolation of the cli in the tests can also be seen as a benefit since it's much easier to debug when something goes wrong.
The mocking is done in pytest fixtures and the actual commands are triggered with the utilities for testing supplied with click. To keep the mocking flexible where the return values can be modified between tests, the fixtures return a function that in turn returns a mock when called. When calling this method, the mock can be customised.
Tests for other commands will come along the way.

Test runs in github actions! 🎉


fix tag version typo of cppkafka

@flyxl please make the RP to the develop branch

@flyxl please make the RP to the develop branch

done


security(deps): bump github.com/vektah/gqlparser/v2 from 2.5.11 to 2.5.16

Description

Fixes #7818

What does the PR do? Include a concise description of the PR contents.
Upgrades github.com/vektah/gqlparser/v2 from 2.5.11 to 2.5.16 to address a remote DoS vulnerability

[x] I updated CHANGELOG.md, or it's not applicable

Testing
How was this PR tested?

Thank you for making the changes to address my concern! Will this be included in the next release wandb 0.17.3?

Thanks for reporting the issue. Helping us stay secure :)
Yes it will be included in the upcoming release. We do most of our releases out of the main branch, so once a PR is merged it will usually be included in the next release.

Thank you for making the changes to address my concern! Will this be included in the next release wandb 0.17.3?

Thanks for reporting the issue. Helping us stay secure :)
Yes it will be included in the upcoming release. We do most of our releases out of the main branch, so once a PR is merged it will usually be included in the next release.

Thank you for your prompt action to keep the client secure :)
Just out of curiosity, how often do you release new versions? I noticed that version 0.17.2 was released yesterday and am wondering when the next release is scheduled.

Thank you for making the changes to address my concern! Will this be included in the next release wandb 0.17.3?

Thanks for reporting the issue. Helping us stay secure :)
Yes it will be included in the upcoming release. We do most of our releases out of the main branch, so once a PR is merged it will usually be included in the next release.

Thank you for your prompt action to keep the client secure :) Just out of curiosity, how often do you release new versions? I noticed that version 0.17.2 was released yesterday and am wondering when the next release is scheduled.

We have a dedicated release once a month, first week of every month, but for critical issues, we do out of schedule releases, so in this case we will probably try to target to release as soon as possible.


Print warning when run against an unsupported file

$ echo 'not json' > foo.json
$ ruff foo.json
$ echo $?
0

We might also consider returning a non-zero status code since the file isn't supported.

Good idea.

(And agree -- non-zero.)

We should probably also warn if we can't find any valid files (but aren't passed an invalid file directly).
For example: ruff foo/ where foo is an empty directory, or doesn't contain any .py or .pyi files.
Here's how Black handles these cases:
ruff on  charlie/fix-message:main [$⇡] is 📦 v0.0.202 via 🐍 v3.11.1 (.venv) via 🦀 v1.65.0
❯ black pyproject.toml
error: cannot format pyproject.toml: Cannot parse: 41:8: combine-as-imports = true

Oh no! 💥 💔 💥
1 file failed to reformat.
ruff on  charlie/fix-message:main [$⇡] is 📦 v0.0.202 via 🐍 v3.11.1 (.venv) via 🦀 v1.65.0
❯ black pyproject.toml setup.py
blerror: cannot format pyproject.toml: Cannot parse: 41:8: combine-as-imports = true

Oh no! 💥 💔 💥
1 file left unchanged, 1 file failed to reformat.
ruff on  charlie/fix-message:main [$⇡] is 📦 v0.0.202 via 🐍 v3.11.1 (.venv) via 🦀 v1.65.0
❯ black foo
No Python files are present to be formatted. Nothing to do 😴
ruff on  charlie/fix-message:main [$⇡] is 📦 v0.0.202 via 🐍 v3.11.1 (.venv) via 🦀 v1.65.0
❯ black foo/ setup.py
All done! ✨ 🍰 ✨
1 file left unchanged.

In short:

(Optional) If we don't find any files, show a warning.
If we're passed a non .py or .pyi file, raise an error for that file (but process any valid files).


fix(useLockBodyScroll): infer overflow type directly from declaration.

:tada: This PR is included in version 13.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


build: add source label to Dockerfile

This allows tools such as dependabot and renovate
to find the source and changelog

Thanks for adding this! The reason for not having these is to keep the dockerfile minimal; we definitely don't oppose others to make changes

Hi @mchiang0610
I do not think this change makes the dockerfile any less minimal, it just adds metadata allowing tools to find the source code of the build, it does not add any layers or similar to the build. Addings this makes for a big improvement for automated tools.


Fix #1311: Remove custom testFrameworks setting

retest this please

retest this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1294/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/1629/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1294/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/1629/
Test FAILed.

retest this please

retest this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1296/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/1631/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1296/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/1631/
Test FAILed.

retest this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/1297/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/1633/
Test PASSed.


Open in New Tab noot working

Open any NFT. Click on open in a new tab - it is not working.

wouuld probably need rewriting the whole component from here:

https://github.com/kodadot/nft-gallery/pull/9809

is this fixed ? because that feature works in local dev environment

@hamidovz does not work here
https://kodadot.xyz/ahp/gallery/115-2404190282

@exezbcz ah i see. the problem is nftMimeType is empty so  handleNewTab method can't get value of src attribute;

@exezbcz the problem is: some of the response doesn't include mimeType. for example:

request to https://image-beta.w.kodadot.xyz/type/endpoint/https://fxart-beta.kodadot.workers.dev/metadata/v1/json?chain=ahp&collection=115&nft=2404739348&metadata=ipfs:%2F%2Fbafybeiahv7ezqzhizpyctgwav5uf4qi3h6gynwr7tc5tglnmjbuqf3emdm%2F0.json

Response:
{   "name": "Tilescapes #54",   "description": "Artist: [Thomas Art](https://twitter.com/Th0mas_Art) \n\n\n Tilescape is a captivating generative art project that delves into the realm of simplicity and geometry. Each artwork within Tilescape is meticulously crafted using only basic geometric shapes such as squares and rectangles. These minimalist elements are arranged algorithmically to create sophisticated compositions that evoke a sense of both order and creativity. Through the harmonious interplay of shapes and colors, Tilescape invites viewers to immerse themselves in a world that unveils mesmerizing landscapes of form and pattern",   "image": "ipfs://bafybeiehvbuuygkmfmjtlzzrohzqhhidxro7xebfdy3dukyrikabeb5n3m/0.png",   "animation_url": "ipfs://bafybeifb752b5i7v4gxrawuovujtt6hrmgkdtzfwi5lfiph7jnbk4xomli/?hash=0x9a95d2afc8210972334aa5d597bd5e1bb54c58e0f6ecbce44b92f10ab2bb8219",   "attributes": [],   "external_url": "kodadot.xyz",   "type": "text/html" }

request to https://image-beta.w.kodadot.xyz/metadata?url=https%3A%2F%2Fimage-beta.w.kodadot.xyz%2Fipfs%2Fbafybeif5jyvht3hxwhwcfvxizux3z7qkc2pe4wijcwqvxqxllaqnqbwe54%2F985.json

Response:
{   "imageMimeType": "image/jpeg",   "animationUrlMimeType": "text/html",   "description": "**.motherboard** reimagines the motherboard as refined art, expressing it as dynamic digital art. The sophisticated arrangement of the motherboard's components and circuit patterns, striving for efficiency, can be considered a marvelous fusion of technology and art.\n\n\nIn this piece, I depict the vias and sections of the electronic board through recursive functions. The patterns, drawn by a palette of 37 colors and mathematical formulas, visually represent the harmony between the technical intricacies and aesthetics embedded in each component. It goes beyond being a mere component of a machine; it symbolizes admiration for the beauty of digital culture. \n\n\nThrough this artwork, I sought to explore the mystery and aesthetics of generative art in digital animation. The patterns generated by hash and formulas showcase the potential for different outcomes, akin to the absence of a single perfect solution in physical motherboards. The commitment to pursuing the highest beauty within the constraints of technology, materials, and limited space is, I believe, a crucial aspect in any form of craftsmanship. \n\n\nGenerative art by [@dotconatus](https://twitter.com/dotconatus) \n\n\nBuilt in Javascript with p5.js.",   "image": "https://image-beta.w.kodadot.xyz/ipfs/bafybeiatfptzax365kqhgvs4oyjzq4psfxoozlly74crqyd23fevpdnbai/985.jpeg",   "animationUrl": "https://image-beta.w.kodadot.xyz/ipfs/bafybeihdrwq23xxtolehk7rmwvd4bkvq6dpidzfpox4dhtknfn3igajnza/?hash=0x13ca715b471815c8cda96a684961f90ab47f1bae59335471fb79da5a71c498bb",   "attributes": [],   "name": ".motherboard #985",   "type": "text/html",   "externalUrl": "kodadot.xyz",   "tags": [],   "thumbnail": "",   "_raw": {     "name": ".motherboard #985",     "description": "**.motherboard** reimagines the motherboard as refined art, expressing it as dynamic digital art. The sophisticated arrangement of the motherboard's components and circuit patterns, striving for efficiency, can be considered a marvelous fusion of technology and art.\n\n\nIn this piece, I depict the vias and sections of the electronic board through recursive functions. The patterns, drawn by a palette of 37 colors and mathematical formulas, visually represent the harmony between the technical intricacies and aesthetics embedded in each component. It goes beyond being a mere component of a machine; it symbolizes admiration for the beauty of digital culture. \n\n\nThrough this artwork, I sought to explore the mystery and aesthetics of generative art in digital animation. The patterns generated by hash and formulas showcase the potential for different outcomes, akin to the absence of a single perfect solution in physical motherboards. The commitment to pursuing the highest beauty within the constraints of technology, materials, and limited space is, I believe, a crucial aspect in any form of craftsmanship. \n\n\nGenerative art by [@dotconatus](https://twitter.com/dotconatus) \n\n\nBuilt in Javascript with p5.js.",     "image": "ipfs://bafybeiatfptzax365kqhgvs4oyjzq4psfxoozlly74crqyd23fevpdnbai/985.jpeg",     "animation_url": "ipfs://bafybeihdrwq23xxtolehk7rmwvd4bkvq6dpidzfpox4dhtknfn3igajnza/?hash=0x13ca715b471815c8cda96a684961f90ab47f1bae59335471fb79da5a71c498bb",     "type": "text/html",     "external_url": "kodadot.xyz"   } }
since i can't find the server codes , i can implement workaround by getting mimetype according the ending of the image url. if this is acceptable , i can proceed

the code is here

@vikiival hi! I fixed it but i need to change base of ntf-gallery to my local worker url to ensure it works with client side. Normally base urls would be located in .env variable but i can't find it in nft-gallery repo. Can you help me to change baseurl please  ?

There is a simple way to fix it on the frontend https://github.com/kodadot/nft-gallery/pull/10077


[stable/chartmuseum] Support ingress.extraPaths

What this PR does / why we need it:
Add support for ingress.extraPaths, which is notably useful for custom actions with AWS ALB Ingress Controller.
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/ok-to-test

/lgtm

@yurrriq thank you!


The event ConnectionStateChanged don't work when sameUidLogin

I detect when SameUidLogin and follow these documents:

https://api-ref.agora.io/en/video-sdk/react-native/3.x/interfaces/rtcengineevents.html#connectionstatechanged
https://api-ref.agora.io/en/video-sdk/react-native/3.x/enums/connectionchangedreason.html#sameuidlogin

Environment:

react-native-agora : 3.7.1
react-native : 0.64.4

Step to reproduce:

I join one channel by
await _engine.current?.joinChannel(
config.token,
config.channelName,
null,
123454
);
Rejoin in another device with same method
But don't see the reason return from ConnectionStateChanged  event

Does another device version is v3.x too? And I recommend you use v4.x rtc sdk.


License Management: Self-service trials and marketing automation

Background: https://airtable.com/tblD3oZPLJgGhCmch/viwINAgXA5on9pr2T/recUWHsrcYAMyDIbU
RFC: https://github.com/cockroachdb/cockroach/pull/16677
PRs:

@dt, once this work is ready for docs, please apply the ready label and add links to relevant PRs here. !hanks!

@dt, heard that this might be ready to look at from a docs perspective. True?

not quite -- i'm gonna throw some syntactic sugar on top of it before we doc it. I'll ping you next week when that merges.

Sounds good. Thanks, @dt.

@sploiselle, according to AirTable, this is done, so please reach out to @dt when you have time to work on docs for this.

Based on Slack conversation, we need at least some docs on enterprise license management somewhat soon, even if it's prior to a self-service offering. @robert-s-lee offered to work with @Amruta-Ranade on this.

@Amruta-Ranade outline is available at
https://docs.google.com/document/d/1qGvdeGZDx8OPMSAmwGfBEEN4rcBqYWgNrBxdSU4S2ME/edit

@robert-s-lee, Amruta is going to focus this week on the performance best practices, and will get to basic licensing docs next week. That ok?

@Amruta-Ranade, the self-service workflow is live at https://www.cockroachlabs.com/pricing/, so we should update https://www.cockroachlabs.com/docs/stable/enterprise-licensing.html soon.


Illuminate/Contracts/Validation/Validator missing getTranslator() method

Laravel Version: 9.27.0
PHP Version: 8.1.5
Database Driver & Version: n/a

Description:
In Illuminate/Validation/ValidationException::summarize(), the $validator argument is declared as Illuminate/Contracts/Validation/Validator in the docblock. However, this method calls getTranslator(), which is not part of the contract -- only the implementation.
When implementing my own validator using the contract, I didn't know to implement that. I saw some occasional failures when it tried to run summarize(). Easy to fix now that I know, but I think the interface should include the getTranslator() method.

This was fixed by https://github.com/laravel/framework/pull/46378 for Laravel 11.

Ah, splendid! I had only looked at 10.x.


feat(Control/ULiftable): instances for Except and Option

(Aside: I'm not sure that t-meta is the right topic label here?)
bors merge

marked this as awaiting author as it looks like build failed

bors merge


Fix panning while tracking an entity.

For #2784.

Talked with @bagnell offline about this.  The fix works, but breaks the default view again.  He's looking into it.

Just an FYI, EntityView will most likely get rewritten or (deprecated and replaced) this month as well.

@mramato I understand that, but (a) this problem was not confined to EntityView, and (b) this fix is needed urgently.

@emackey This is ready for another look.

Tests pass.  This is awesome, thanks very much @bagnell!


Update the User Interface

Is your feature request related to a problem? Please describe.
Update the ui as per you want it to be
Describe the solution you'd like
Explore your creative side and make the project look goood

adding a preference option , a model option and a resolution option in front end


Implemented the Service: Bring

Pre-flight Checklist
Please ensure you've completed all of the following.

[x] I have read the Contributing Guidelines for this project.
[x] I agree to follow the Code of Conduct that this project adheres to.

Description of Change

Implemented the Service: Bring!

@all-contributors please add @cloudmaker97 for code


Some doc updates and small code tweaks.

All the test failures are unrelated to this PR.

Looks good but why 1/2 instead of 0.5?

To be consistent with the two other occurrences of 1/2 in the LaTeX expression: genhyerbolic