ImproveReduce the volume of the avro-scanner-jar package

Proposed changes
The avro-scanner-jar package is reduced from 204M to 160M.
Hadoop-related dependencies in the original avro pom are directly packaged into a jar package, resulting in a jar volume of 200M. Now since there is already a hadoop jar package environment in be lib, it can be directly referenced.

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

LGTM

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 44.99 seconds
stream load tsv:          511 seconds loaded<PHONE_NUMBER>9 Bytes, about 139 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          29.4 seconds inserted 10000000 Rows, about 340K ops/s
storage size:<PHONE_NUMBER>2 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.44 seconds
stream load tsv:          512 seconds loaded<PHONE_NUMBER>9 Bytes, about 139 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.4 seconds inserted 10000000 Rows, about 340K ops/s
storage size:<PHONE_NUMBER>9 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.25 seconds
stream load tsv:          514 seconds loaded<PHONE_NUMBER>9 Bytes, about 138 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          29.5 seconds inserted 10000000 Rows, about 338K ops/s
storage size:<PHONE_NUMBER>5 Bytes


[5.7][AST] Teach computeNominalType about nested ObjC protocols

Objective-C protocols unlike their Swift counterparts could be
nested in other types, so computeNominalType has to fetch a
parent for such protocols (if any) just like importer does.
Resolves: rdar://95084142
(cherry picked from commit add41afc477f4d7360af95e76fd55817fcd21d98)

@swift-ci please test


Pip Install sentinel does not require poetry

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
pip install sentinel==0.3.0 does not install poetry but conda install requires it.
It seems like we can remove the poetry dependency in the yaml file.
https://github.com/eddieantonio/sentinel/blob/32fed044aba2b45e45b216da11bea0592ad31f9d/pyproject.toml
Installed packages
NA

Environment info
NA

created https://github.com/conda-forge/sentinel-feedstock/pull/2


Initial scripting support for multi-fpga configuration

[x] This contribution adheres to CONTRIBUTING.md.

What is this pull request/scripting API?

A way to generate/modify an EST custom device programmatically, knowing the intended configuration

Supports adding and removing, getting and setting the configuration for the custom device, APUs, and Analog Replays
Supports adding and removing bitfiles by RIO address, and getting and setting the master RIO device

This part of the API is designed slightly differently since there is not one "RIO" or "bitfile" section in the custom device tree to refer to

Purely additive

Other than changes to the .lvproj file itself, no existing files have been modified, which should make merging this in the presence of other pull requests easier

What isn't this pull request/scripting API?

A method for exploring an EST custom device to learn about its contents

Several missing pieces are needed to truly support this use case, including the ability to enumerate bitfiles/RIO devices, APUs, and analog replays

Scripting support from built apps e.g. TestStand

This will come later, as the changes needed are potentially more invasive/widespread in terms of the VIs affected

Fast

The VeriStand custom device API is relatively slow when called from LabVIEW due to manually opening VIs from disk
The speed should improve as part of the work to support calling from TestStand

Fault tolerant

Very little is done to validate inputs to the API
Invalid requests currently may report success, or leave the user in an intermediate state with no clear option for recovery

Duplication free

As part of making the pull request easy to merge asynchronously, the changes are purely additive. This required some duplication
We need to decide how the system explorer and scripting API should interact: with this implementation, the scripting API calls into the system explorer to re-use some of the existing logic. It might make sense to pull that common logic out into a separate lvlib, or to invert the dependency and have the system explorer call the scripting API.

What testing has been done?
Tests have been added which exercise all of the API entrypoints. They have been written in a way that hopefully makes API usage clear. I recommend looking at test Get Set Analog Replay.vi to understand how a user might go about scripting an analog replay from scratch.
Due to the constantly changing nature of multi-fpga support in the custom device at the present, each test starts with an empty system definition, meaning some extra dependencies exist in the tests that could potentially be removed in the future. For example, if Add Engine Simulation Toolkit Custom Device.vi fails, all tests will fail as they depend on having a custom device.

For some reason text in the VIs is being rendered larger than it should be in the images posted by the diff bot: https://github.com/ni/niveristand-custom-device-build-tools/issues/15

Scripting API Test Case.lvclass

[ ] Remove 'None' property. Update setUp. vi and tearDown.vi accordingly.
[ ] All the scripting tests currently have the same setup and teardown procedure. Consider moving to setUp.vi and tearDown.vi to cut back on unnecessary code duplication. If there is a compelling reason not to do this, then create private helper methods for common code.

Scripting Engine Simulation Scripting API.lvlib

[ ] Why do we convert to/from the Analog Replay Data Options? Is this merely scrubbing other unneeded properties from the cluster or is there another reason to do this?

[ ] Set Analog Replay Settings touch refer to the DataReplayVoltage. I don't see a corresponding access in the Get Analog Replay Settings Method.

OOO so I won't be updating the pull request, but the primary reason for doing the Analog Replay Data Options dance is to strip and not expose implementation details in the public API.
Get Outlook for Androidhttps://aka.ms/ghei36

From: Johann Scholtz<EMAIL_ADDRESS>Sent: Wednesday, January 2, 2019 2:36:22 PM
To: ni/niveristand-engine-simulation-toolkit-custom-device
Cc: Ryan Zoeller; Author
Subject: Re: [ni/niveristand-engine-simulation-toolkit-custom-device] Initial scripting support for multi-fpga configuration (#18)
Scripting API Test Case.lvclass

Remove 'None' property. Update setUp. vi and tearDown.vi accordingly.
All the scripting tests currently have the same setup and teardown procedure. Consider moving to setUp.vi and tearDown.vi to cut back on unnecessary code duplication. If there is a compelling reason not to do this, then create private helper methods for common code.
[image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_4081815_50606481-2D88cead80-2D0e8b-2D11e9-2D882c-2D34ed68fa5cc3.png&d=DwMFaQ&c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&r=nbRWjN66c3sAkXo5CxAL_48FpBF4GDtuT1SX-VsDpD0&m=KSm7HGN-QiNNrM4q9Ee0WRPULJXbpZMjJ7VgSlR-B18&s=8QB2zvqgnPAFc_cahl4r0k6BzVN3B9QHCHQkTAEgiSY&e=

Scripting Engine Simulation Scripting API.lvlib

Why do we convert to/from the Analog Replay Data Options? Is this merely scrubbing other unneeded properties from the cluster or is there another reason to do this?
[image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_4081815_50608223-2D9b4be580-2D0e91-2D11e9-2D846c-2D37d5dede79ce.png&d=DwMFaQ&c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&r=nbRWjN66c3sAkXo5CxAL_48FpBF4GDtuT1SX-VsDpD0&m=KSm7HGN-QiNNrM4q9Ee0WRPULJXbpZMjJ7VgSlR-B18&s=w7bBCg259lqX5Dm_0Ww4X6rTMtFrumE3CsUltepen2s&e=
Set Analog Replay Settings touch refer to the DataReplayVoltage. I don't see a corresponding access in the Get Analog Replay Settings Method.
[image]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_4081815_50608732-2D18c42580-2D0e93-2D11e9-2D99c2-2D864a4bb98658.png&d=DwMFaQ&c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&r=nbRWjN66c3sAkXo5CxAL_48FpBF4GDtuT1SX-VsDpD0&m=KSm7HGN-QiNNrM4q9Ee0WRPULJXbpZMjJ7VgSlR-B18&s=oaBwQrsgaMmvdHiDgcs7wuvcchIZVAQ45HiqhUwaj3o&e=

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ni_niveristand-2Dengine-2Dsimulation-2Dtoolkit-2Dcustom-2Ddevice_pull_18-23issuecomment-2D450977608&d=DwMFaQ&c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&r=nbRWjN66c3sAkXo5CxAL_48FpBF4GDtuT1SX-VsDpD0&m=KSm7HGN-QiNNrM4q9Ee0WRPULJXbpZMjJ7VgSlR-B18&s=f8vUI_Pqe1hAcMDbNCDIBdMM02y73S__5_LvA4e1PF0&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AAjAOUleZr7c0-2DW8KvK6BEA5otdk9seAks5u-5FRhGgaJpZM4Zi9UD&d=DwMFaQ&c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&r=nbRWjN66c3sAkXo5CxAL_48FpBF4GDtuT1SX-VsDpD0&m=KSm7HGN-QiNNrM4q9Ee0WRPULJXbpZMjJ7VgSlR-B18&s=BBXgpnjsDxaHt1HZfrhhwjs8qLzEqMIry8uyGSI2N40&e=.


error during make kubernetes step

@NikhilSharmaWe Can you add details here?

@jayunit100 I am trying to make a local kubernetes cluster for testing the changes I make in the repo.

I followed the steps mentioned in [Quick start](Quick start) in Readme of sig-windows-dev-tools. But when I run make all comamand I get this error Makefile:1: *** missing separator .   Stop.

But when I tried it to run at present the process was stuck on Building Docker image step, as you can see in the image.

These are the details of my system.

@jayunit100 I am trying to make a local kubernetes cluster for testing the changes I make in the repo.

I followed the steps mentioned in [Quick start](Quick start) in Readme of sig-windows-dev-tools. But when I run make all comamand I get this error Makefile:1: *** missing separator .   Stop.

But when I tried it to run at present the process was stuck on Building Docker image step, as you can see in the image.

These are the specifications of my system.

Device Specifications
Device name    	DESKTOP-ISNGT7P
Processor        	Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz   2.71 GHz
Installed RAM	        8.00 GB (7.88 GB usable)
System type	        64-bit operating system, x64-based processor
Windows Specifications
Edition	                Windows 10 Pro
Version	                21H1
OS build	               19043.1348
Experience	        Windows Feature Experience Pack 120.2212.3920.0

Hmmm it just hangs?

I let it run for over 30 minutes and then I stopped it by ctrlC because there was no change, I thought something was wrong.


"Could not find the correct Provider..." when the DevTools is open

I spent a hour or two trying to debug this, but sadly I am no closer :(
When the Flutter DevTools Performance Tools are open, and I am running the storybook in Profile mode (e.g flutter run --profile), I get the following exception when I click on any Story:
I/flutter ( 4503): Error: Could not find the correct Provider<DeviceFrameDataNotifier> above this SingleChildBuilder Widget
I/flutter ( 4503):
I/flutter ( 4503): This happens because you used a `BuildContext` that does not include the provider
I/flutter ( 4503): of your choice. There are a few common scenarios:
I/flutter ( 4503):
I/flutter ( 4503): - You added a new provider in your `main.dart` and performed a hot-reload.
I/flutter ( 4503):   To fix, perform a hot-restart.
I/flutter ( 4503):
I/flutter ( 4503): - The provider you are trying to read is in a different route.
I/flutter ( 4503):
I/flutter ( 4503):   Providers are "scoped". So if you insert of provider inside a route, then
I/flutter ( 4503):   other routes will not be able to access that provider.
I/flutter ( 4503):
I/flutter ( 4503): - You used a `BuildContext` that is an ancestor of the provider you are trying to read.
I/flutter ( 4503):
I/flutter ( 4503):   Make sure that SingleChildBuilder is under your MultiProvider/Provider<DeviceFrameDataNotifier>.
I/flutter ( 4503):   This usually happens when you are creating a provider and trying to read it immediately.
I/flutter ( 4503):
I/flutter ( 4503):   For example, instead of:
I/flutter ( 4503):
I/flutter ( 4503):   ```
I/flutter ( 4503):   Widget build(BuildContext context) {
I/flutter ( 4503):     return Provider<Example>(
I/flutter ( 4503):       create: (_) => Example(),
I/flutter ( 4503):       // Will throw a ProviderNotFoundError, because `context` is associated
I/flutter ( 4503):       // to the widget that is the parent of `Provider<Example>`
I/flutter ( 4503):       child: Text(context.watch<Example>().toString()),
I/flutter ( 4503):     );
I/flutter ( 4503):   }
I/flutter ( 4503):   ```
I/flutter ( 4503):
I/flutter ( 4503):   consider using `builder` like so:
I/flutter ( 4503):
I/flutter ( 4503):   ```
I/flutter ( 4503):   Widget build(BuildContext context) {
I/flutter ( 4503):     return Provider<Example>(
I/flutter ( 4503):       create: (_) => Example(),
I/flutter ( 4503):       // we use `builder` to obtain a new `BuildContext` that has access to the provider
I/flutter ( 4503):       builder: (context, child) {
I/flutter ( 4503):         // No longer throws
I/flutter ( 4503):         return Text(context.watch<Example>().toString());
I/flutter ( 4503):       }
I/flutter ( 4503):     );
I/flutter ( 4503):   }
I/flutter ( 4503):   ```
I/flutter ( 4503):
I/flutter ( 4503): If none of these solutions work, consider asking for help on StackOverflow:
I/flutter ( 4503): https://stackoverflow.com/questions/tagged/flutter
I/flutter ( 4503):
I/flutter ( 4503): #0      Provider._inheritedElementOf (package:provider/src/provider.dart:343)
I/flutter ( 4503): #1      Provider.of (package:provider/src/provider.dart:293)
I/flutter ( 4503): #2      WatchContext.watch (package:provider/src/provider.dart:693)
I/flutter ( 4503): #3      _buildStoryWrapper (package:storybook_flutter/src/plugins/device_frame.dart:28)
I/flutter ( 4503): #4      SingleChildBuilder.buildWithChild (package:nested/nested.dart:361)
I/flutter ( 4503): #5      SingleChildStatelessElement.build (package:nested/nested.dart:277)
I/flutter ( 4503): #6      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5297)
I/flutter ( 4503): #7      Element.rebuild (package:flutter/src/widgets/framework.dart:5016)
I/flutter ( 4503): #8      ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5279)
I/flutter ( 4503): #9      ComponentElement.mount (package:flutter/src/widgets/framework.dart:5273)
I/flutter ( 4503): #10     SingleChildWidgetElementMixin.mount (package:nested/nested.dart:222)
I/flutter ( 4503): #11     Element.inflateWidget (package:flutter/src/widgets/framework.dart:4182)
I/flutter ( 4503): #12     Element.updateChild (package:flutter/src/widgets/framework.dart:3707)
I/flutter ( 4503): #13     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5322)
I/flutter ( 4503): #14     Element.rebuild (package:flutter/src/widgets/framework.dart:5016)
I/flutter ( 4503): #15     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5279)
I/flutter ( 4503): #16     ComponentElement.mount (package:flutter/src/widgets/framework.dart:5273)
I/flutter ( 4503): #17     _NestedHookElement.mount (package:nested/nested.dart:187)
I/flutter ( 4503): #18     Element.inflateWidget (package:flutter/src/widgets/framework.dart:4182)
I/flutter ( 4503): #19     Element.updateChild (package:flutter/src/widgets/framework.dart:3707)
I/flutter ( 4503): #20     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5322)
I/flutter ( 4503): #21     Element.rebuild (package:flutter/src/widgets/framework.dart:5016)
I/flutter ( 4503): #22     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5279)
I/flutter ( 4503): #23     ComponentElement.mount (package:flutter/src/widgets/framework.dart:5273)
I/flutter ( 4503): #24     SingleChildWidgetElementMixin.mount (package:nested/nested.dart:222)
I/flutter ( 4503): #25     Element.inflateWidget (package:flutter/src/widgets/framework.dart:4182)
I/flutter ( 4503): #26     Element.updateChild (package:flutter/src/widgets/framework.dart:3707)
I/flutter ( 4503): #27     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5322)
I/flutter ( 4503): #28     Element.rebuild (package:flutter/src/widgets/framework.dart:5016)
I/flutter ( 4503): #29     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5279)
I/flutter ( 4503): #30     ComponentElement.mount (package:flutter/src/widgets/framework.dart:5273)
I/flutter ( 4503): #31     Element.inflateWidget (package:flutter/src/widgets/framework.dart:4182)
I/flutter ( 4503): #32     Element.updateChild (package:flutter/src/widgets/framework.dart:3701)
I/flutter ( 4503): #33     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5322)
I/flutter ( 4503): #34     Element.rebuild (package:flutter/src/widgets/framework.dart:5016)
I/flutter ( 4503): #35     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2779)
I/flutter ( 4503): #36     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:916)
I/flutter ( 4503): #37     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:360)
I/flutter ( 4503): #38     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1297)
I/flutter ( 4503): #39     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1227)
I/flutter ( 4503): #40     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1085)
I/flutter ( 4503): #41     _invoke (dart:ui/hooks.dart:170)
I/flutter ( 4503): #42     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:401)
I/flutter ( 4503): #43     _drawFrame (dart:ui/hooks.dart:140)

When I switch back to a debug build, or close the dev tools, the issue goes away.
Steps to repeat:
flutter run --profile
# It will print something like
# The Flutter DevTools debugger and profiler on sdk gphone64 arm64 is available at: http://<IP_ADDRESS>:9101?uri=...

Visit the URL in your browser. Now click on a story, and the exception is thrown.  The same occurs if using the DevTools via say VSCode.  If you don't open the dev tools, then everything seems fine.

I did notice, when I'm in profile, the main runApp widget get's built twice, for example:
void main() {
  runApp(const _StoryBookApp());
}

class _StoryBookApp extends StatelessWidget {
  Widget build(BuildContext context) {
    print("build");
    return Storybook(
      ...
    )
  }
}

When I do MediaQuery.of(context), the first context has a size of Zero, whereas the 2nd time it looks correct. I don't see this pattern when the DevTools are closed. Changing my code to:
  Widget build(BuildContext context) {
    if (MediaQuery.of(context).size.isEmpty) {
      return const Placeholder();
    }
    return Storybook(...);
  }

Seems to actually fix my problem! So ok, this makes me think, somewhere in Storybook something is being cached, and triggering this mess.


[SQL Lab] Run sql in the SQL Lab with Jinja

Make sure these boxes are checked before submitting your issue - thank you!

[Yes ] I have checked the superset logs for python stacktraces and included it here as text if any
[ Yes] I have reproduced the issue with at least the latest released version of superset
[ Yes] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.12.0
Expected results
I want to run the SQL in the SQL lab with Jinja:
SELECT *
FROM some_table
WHERE partition_key = '{{ presto.latest_partition('some_table') }}'

Actual results
It has been failed.
Template rendering failed: 'presto' is undefined
Steps to reproduce

presto is only in the context if you are using a Presto database engine, does the connection string for the active db start with presto:// ?


add sharedStorage option to CI

/test metering-upgrade-aws

/test verify

/retest

/retest

@bentito I'm going to tag this. We can address anything else cosmetic as a follow-up as it's test code and nothing user-facing.
/lgtm
/approve

Can we bypass upgrades?

/restest

/test metering-upgrade-aws

/override ci/prow/metering-upgrade-aws


Cargo failes to propery solve conflicting optional dependacies

Problem
When working on a project I ran into this issue. I've created a small proof of concept but it is by no means minimal. Create a project (like my example repo) with two dependencies, sqlx 0.7.2 and vodozemac 0.4.0.
If you try to build this project Cargo will claim a dependency conflict:
error: failed to select a version for `zeroize`.
    ... required by package `rsa v0.9.0`
    ... which satisfies dependency `rsa = "^0.9"` of package `sqlx-mysql v0.7.2`
    ... which satisfies dependency `sqlx-mysql = "=0.7.2"` of package `sqlx v0.7.2`
    ... which satisfies dependency `sqlx = "^0.7.2"` of package `orig v0.1.0 (<redacted for privacy>)`
versions that meet the requirements `^1.5` are: 1.6.0, 1.5.7, 1.5.6, 1.5.5, 1.5.4, 1.5.3

all possible versions conflict with previously selected packages.

  previously selected package `zeroize v1.3.0`
    ... which satisfies dependency `zeroize = "=1.3"` of package `x25519-dalek v1.2.0`
    ... which satisfies dependency `x25519-dalek = "^1.2.0"` of package `vodozemac v0.4.0`
    ... which satisfies dependency `vodozemac = "^0.4.0"` of package `orig v0.1.0 (<redacted for privacy>)`

failed to select a version for `zeroize` which could resolve this conflict

I believe this conflict is incorrect. sqlx with the feature set selected does not depend on
sqlx-mysql, but cargo claims it does here. You can confirm this by removing the dependency on
vodozemac and running cargo tree. Neither sqlx-mysql or zeroize will appear in the
dependency tree.
Steps

Create a blank cargo project
Add dependencies sqlx 0.7.2 and vodozemac 0.4.0
Build the project

Possible Solution(s)
No response
Notes
No response
Version
cargo 1.72.0
release: 1.72.0
host: x86_64-unknown-linux-gnu
libgit2: 1.6.4 (sys:0.17.2 vendored)
libcurl: 8.4.0 (sys:0.4.63+curl-8.1.2 system ssl:OpenSSL/3.0.11)
os: NixOS 23.5.0 [64-bit]

Feature can be specified statically in Cargo.toml or dynamically via --features sqlx/sqlx-mysql.  This means the Cargo.lock file must take all features of direct dependencies into account, so the resolver must as well, leading to this error.

This looks like https://github.com/rust-lang/cargo/issues/10801.
As you can see, sqlx has features using weak ? syntax like sqlx-mysql?/migrate: https://github.com/launchbadge/sqlx/blob/929af41745a9434ae83417dcf2571685cecca6f0/Cargo.toml#L57

Going to close this as a duplicate of #10801. Let us know if there is a reason to keep this open separately. Thank you for the report :)


CI: ConformanceAKS: Failed to install:  unable to retrieve cilium status: unexpected EOF

Hit in v1.11 backports branch.
https://github.com/cilium/cilium/runs/4413727743?check_suite_focus=true
Uploading cilium-sysdump-out.zip (2).zip…
Somewhat similar CI failure in presentation compared to https://github.com/cilium/cilium/issues/18107, except that one complained about misformatted JSON; this failure just reports EOF when attempting to gather Cilium status. Also can't dig further into this one because the Cilium install is removed before gathering the cluster state.
May be the same root cause, but keeping this separately here in case there's another issue.
Run cilium install --cluster-name=cilium-cilium-1537304804 --agent-image=quay.io/cilium/cilium-ci --operator-image=quay.io/cilium/operator-azure-ci --version=396bd6de084f9814e1362b65fc6fbd8ce5fae6c7 --azure-resource-group cilium-cilium-1537304804 --wait=false --config monitor-aggregation=none
  cilium install --cluster-name=cilium-cilium-1537304804 --agent-image=quay.io/cilium/cilium-ci --operator-image=quay.io/cilium/operator-azure-ci --version=396bd6de084f9814e1362b65fc6fbd8ce5fae6c7 --azure-resource-group cilium-cilium-1537304804 --wait=false --config monitor-aggregation=none
  shell: /usr/bin/bash -e {0}
  env:
    name: cilium-cilium-1537304804
    location: westeurope
    cost_reduction: --node-vm-size Standard_B2s --node-osdisk-size 30
    cilium_cli_version: v0.9.3
    check_url: https://github.com/cilium/cilium/actions/runs/1537304804
    AZURE_HTTP_USER_AGENT:
    AZUREPS_HOST_ENVIRONMENT:
🔮 Auto-detected Kubernetes kind: AKS
✨ Running "AKS" validation checks
✅ Detected az binary
ℹ  using Cilium version "396bd6de084f9814e1362b65fc6fbd8ce5fae6c7"
🔮 Auto-detected IPAM mode: azure
🔮 Auto-detected datapath mode: azure
🔮 Custom datapath mode: azure
✅ Derived Azure subscription ID *** from subscription cilium-pr
✅ Derived Azure AKS node resource group MC_cilium-cilium-1537304804_cilium-cilium-1537304804_westeurope from resource group cilium-cilium-1537304804
🚀 Creating Azure Service Principal for Cilium operator...
✅ Created Azure Service Principal for Cilium operator with App ID b95c1e02-e0f2-4152-a6f6-8e22b31003de and Tenant ID ***
ℹ Its RBAC privileges are restricted to the AKS node resource group MC_cilium-cilium-1537304804_cilium-cilium-1537304804_westeurope
🔑 Generating CA...
🔑 Generating certificates for Hubble...
🚀 Creating Service accounts...
🚀 Creating Cluster roles...
🚀 Creating ConfigMap for Cilium version 1.10.5...
ℹ Manual overwrite in ConfigMap: monitor-aggregation=none
🚀 Creating Agent DaemonSet...
🚀 Creating Operator Deployment...
⌛ Waiting for Cilium to be installed and ready...
    /¯¯\
 /¯¯\__/¯¯\    Cilium:         3 errors, 1 warnings
 \__/¯¯\__/    Operator:       1 errors
 /¯¯\__/¯¯\    Hubble:         1 warnings
 \__/¯¯\__/    ClusterMesh:    1 warnings
    \__/

DaemonSet         cilium    Desired: 3, Unavailable: 3/3
Containers:       cilium    Running: 2, Pending: 1
Cluster Pods:     0/0 managed by Cilium
Image versions    cilium                   quay.io/cilium/cilium-ci:396bd6de084f9814e1362b65fc6fbd8ce5fae6c7: 3
Errors:           cilium                   cilium                   3 pods of DaemonSet cilium are not ready
                  cilium                   cilium-cx6d4             controller ipcache-inject-labels is failing since 1s (13x): failed to inject labels into ipcache: local identity allocator uninitialized
                  cilium                   cilium-pbd79             unable to retrieve cilium status: unexpected EOF
                  cilium-operator          cilium-operator          context deadline exceeded
Warnings:         hubble-relay             hubble-relay             hubble relay is not deployed
                  hubble-ui                hubble-ui                hubble ui is not deployed
                  clustermesh-apiserver    clustermesh-apiserver    clustermesh is not deployed
                  cilium                   cilium-v5jmd             pod is pending
↩ Rolling back installation...

Error: Unable to install Cilium: timeout while waiting for status to become successful: context deadline exceeded
Error: Process completed with exit code 1.

Hit a somewhat similar case on #18129 (Go update in v1.11): https://github.com/cilium/cilium/actions/runs/1544180661


Update dependencies and workflows

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (188c106) to head (c7dd525).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #699   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           75        75
  Lines         2103      2103
  Branches       261       261
=========================================
  Hits          2103      2103

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Proposal: easeagent plugins

Proposal: easeagent plugins
Abstract

Move built-in TracePoint to a separate jar which can be loaded by easeagent at JVM starts.

Provide tools for users to build their own TracePoint jars to extend easeagent.
Inspired by btracec

Background
easeagent now has built-in JDK transformer backed TracePoints below

com.megaease.easeagent.requests.GenCaptureTrace
com.megaease.easeagent.requests.GenCaptureExecuteSql
com.megaease.easeagent.requests.GenCaptureHttpRequest
com.megaease.easeagent.zipkin.GenTraceHttpServlet
com.megaease.easeagent.zipkin.GenTraceHttpClient
com.megaease.easeagent.zipkin.GenTraceRestTemplate
com.megaease.easeagent.zipkin.GenTraceJedis
com.megaease.easeagent.zipkin.GenTraceJdbcStatement
com.megaease.easeagent.metrics.GenMeasureJdbcStatement
com.megaease.easeagent.metrics.GenMeasureJdbcGetConnection
com.megaease.easeagent.metrics.GenMeasureHttpRequest
com.megaease.easeagent.metrics.GenCaptureCaller

The TracePoints are generated by project gen along with template-like projects requests, zipkin and metrics.
Though easeagent have config files, it is still difficult for end users to customize or add new futures.
The proposal is to convert existing TracePoint code into script and consumed by a compiler which would yield JDK transformer .class. The generated transformer will be packed into a plugin format for easeagent
Details
easeagentc (was gen) and TracePoint script
The plugin compiler, aka easeagentc, should take some script as input, and yield plugin as output.
The script
The first version of the script spec might be the same as current TracePoint java file which implement com.megaease.easeagent.core.Transformation.
For example, current TraceHttpClient.java will be compiled by easeagentc into a plugin.
@Injection.Provider(Provider.class)
public abstract class TraceHttpClient implements Transformation {
    @Override
    public <T extends Definition> T define(Definition<T> def) {
        return def.type(hasSuperType(named("org.apache.http.impl.client.CloseableHttpClient")))
                  .transform(execute(ElementMatchers.<MethodDescription>named("doExecute")))
                  .end();
    }

    // ...
}

The better script spec will be discussed in a separate proposal later.
The new script might have Groovy or JVM based scripts support, and easeagent DSL for easier plugin coding.
Dependencies
plugin may or may not have dependencies. easeagentc should pack dependencies into the plugin file.
The dependencies can be described in a pom.xml or build.gradle
Plugin format and its loader
plugin Format
The format of plugin file can be a jar with futures below

libs: it should carry all dependency jars with it.
metadata: it should contain the info for easeagent to load and search for all the transformers

Dynamic load and plugin config
easeagent should support

search and load all visible plugins dynamically
plugin may have a config helper to load config provided by easeagent which may defined in a config file

Universe Reporting Stub (optional)
For performance purpose, the easeagent runtime could have reporting stub for plugin to report their data.
The stub should handle data in a ring buffer like cache and provide multiple interfaces to emit data to outside world.
In that case, the plugins may have less dependencies and fewer class conflict issues.
The design idea of the report stub is from ETW

We will work on it. A design document will be drafted by team members.
Welcome, you guys interesting in this topic to join the discussion and attend our design review in the future if free.
(@zhongl)

support plugins from v2.0.0


Migrate wai bindgen wasmer to 3.3

Ok, the migration is almost ready. Running cargo test in the crates/gen-wasmer folder passes. I cannot run cargo test in the root folder, because of some error with Python.
But there is one last problem to solve ... how to resolve the imports. Currently, I am using a cloned version of wasmer. There is no change in the wai-bindgen-wasmer crate in the wasmer repo other than changing the wai-bindgen-wasmer-impl dependency to this for in the repo, like so:
wai-bindgen-wasmer-impl = { path = "../../../wai/wai-crates/wasmer-impl" }

But how to resolve this? I guess I should check if the data_and_store_mut method works in wasmer 3.1, at least then the gen-wasmer crate could be updated as a non-breaking change.
But that still leaves to decide what to do with the wasi to wasix "migration". The new wasix crate is needed because it uses wasmer 3.3, but users who use wai bindgen with wasmer 3.1 would expirience a breaking change when updating wai-bindgen-wasmer, because it would create a conflict between wasmer 3.1 and 3.3
I will have to look at it more tomorrow.

Ok, data_and_store_mut in not available in 3.1. I am thinking on how to migrate this properly. Thankfully, the wasix port will not be a problem, since that is only a dev dependency that is used for testing.
The dependency tree on the other hand looks like this:

I hope I got that correctly. Either way, it is a mess. The biggest problem is that wai-bindgen-wasmer is in the wasmer repo, and not in the wai repo, where it should be.
What to do?
The code from wai-bindgen-wasmer which is needed in wasmer should be extracted into a separate crate, and that crate should be put in the wasmer and be used in wasmer and from wai bindgen. I can work on PR for this.

The code from wai-bindgen-wasmer which is needed in wasmer should be extracted into a separate crate, and that crate should be put in the wasmer and be used in wasmer and from wai bindgen. I can work on PR for this.

Ok, that is not realistic. In that case, I cannot update wai with this PR without also simultaneously updating the wasmer repo to use the new version of the gen-wasmer crate which I am trying to update in the first place. What a mess.


Footer for website

I Would like to add footer for this website.
@smaranjitghose Please assign this to me.

Current design does'nt need any further improvements for the footer

Current design does'nt need any further improvements for the footer


System header discovery should locate C++ standard library headers when using clang or gcc

The system header discovery mechanism for Clang and GCC discover the standard C library headers, but do not discover the standard C++ library headers.
The discovery mechanism should using -x c++ to probe the compiler to discover the system headers visible to C++ code and -x c to probe the compiler to discover the system headers visible to C code.
We should also make the header resolution process strict after fixing this, as in theory all headers should now be known to Gradle, and this will allow us to see whether theory and practise line up.

A better option to detect leakage might be to invoke the compiler with --nostdinc, rather than strict header resolution.

I am starting to work on that issue now.

@wolfs I think we can close this issue once we've updated the perf tests.

The PR has been merged and the perf tests have been updated via https://github.com/gradle/gradle/commit/6ef9a6ced130b80398d78be92e4e585ab6592c9b.


crc8: fix const correctness

Declares the array with constant data const and avoid
casting from void* to const u8_t *.
Tested with tests/unit/lib/crc.
Signed-off-by: Alexander Polleti<EMAIL_ADDRESS>

Codecov Report

Merging #10306 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master   #10306   +/-   ##
=======================================
  Coverage   53.05%   53.05%
=======================================
  Files         214      214
  Lines       26201    26201
  Branches     5645     5645
=======================================
  Hits        13901    13901
  Misses      10028    10028
  Partials     2272     2272

Impacted Files
Coverage Δ

lib/crc/crc8_sw.c
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Can someone help me with this dotnet problem?

Failed to load the dll from [C:\Program Files\dotnet\host\fxr\5.0.8\hostfxr.dll], HRESULT: 0x80070057
The library hostfxr.dll was found, but loading it from C:\Program Files\dotnet\host\fxr\5.0.8\hostfxr.dll failed

Installing .NET prerequisites might help resolve this problem.
https://go.microsoft.com/fwlink/?linkid=798306

@burnyourmom could you please do the following:

Open "Event Viewer" app (just press the Windows button and type "Event Viewer" and hit enter)
Go to "Windows Logs -> Application"

Reproduce the problem by trying to run the dotnet app
Go back to Event Viewer and hit F5 to refresh the logs.
Find the error and post the details here? You should see something similar to this:

@burnyourmom what's the version of your Windows? You might need to install some additional dependencies:
https://docs.microsoft.com/en-us/dotnet/core/install/windows?tabs=net50#additional-deps
Here is a thread related to this:
https://developercommunity.visualstudio.com/content/problem/805039/net-core-30-failed-to-load-dll.html
The thread mentions that missing KB2533623 Windows update could be the source of the problem. Could you please try to install it?

@adamsitnik I'm using Windows 7 SP1

I can't install KB3063858.

@burnyourmom how about the extra dependencies listed here: https://docs.microsoft.com/en-us/dotnet/core/install/windows?tabs=net50#additional-deps ?

I already installed Microsoft Visual C++ 2015-2019 Redistributable, still won't work and I can't install this KB3063858.

@jeffschwMSFT @vitek-karas @agocke PTAL

I also can't install it.

@dleeapho


Identifier added

First run it on your machine, then only merge it.

Closed pending deletion of keyword.py and removal of input from keywords.py


Any step to do in advance to run on distribute clients (Could not connect to ZooKeeper)?

Hi all,
Here is another test that has failed. I think there would be another work to do to run on distributed clients, which I guess are the source of the problem. Can anyone share how to fix the problem?
Thanks,
MJ
mjjeon@swarm06:~/caliper$ sudo node benchmark/simple/main.js -c config-zookeeper.yaml
info: [bench-flow.js]: ####### Caliper Test #######
info: [bench-flow.js]: Executing command: docker-compose -f network/fabric-v1.1/2org1peergoleveldb/dCreating orderer.example.com ... done
Creating network "2org1peergoleveldb_default" with the default driver
Creating peer0.org2.example.com ... done
Creating ca.org1.example.com ...
Creating ca.org2.example.com ...
Creating peer0.org1.example.com ...
Creating peer0.org2.example.com ...
info: [create-channel.js]: Creating mychannel...
info: [create-channel.js]: Created mychannel successfully
info: [create-channel.js]: Sleeping 5s...
info: [join-channel.js]: Joining channels...
info: [join-channel.js]: Joining organization org1 to channel mychannel...
info: [join-channel.js]: Successfully joined peerOrg1's peers to mychannel
info: [join-channel.js]: Joining organization org2 to channel mychannel...
info: [join-channel.js]: Successfully joined peerOrg2's peers to mychannel
info: [join-channel.js]: Successfully joined mychannel
info: [install-chaincode.js]: installing all chaincodes......
info: [install-chaincode.js]: Installing chaincode drm...
info: [packager/Golang.js]: packaging GOLANG from contract/fabric/drm
info: [install-chaincode.js]: Installing chaincode drm...
info: [packager/Golang.js]: packaging GOLANG from contract/fabric/drm
info: [install-chaincode.js]: Installed chaincode drm successfully in all peers
info: [install-chaincode.js]: Installing chaincode marbles...
info: [packager/Golang.js]: packaging GOLANG from contract/fabric/marbles-norichquery/go
info: [install-chaincode.js]: Installing chaincode marbles...
info: [packager/Golang.js]: packaging GOLANG from contract/fabric/marbles-norichquery/go
info: [install-chaincode.js]: Installed chaincode marbles successfully in all peers
info: [install-chaincode.js]: Installing chaincode simple...
info: [packager/Golang.js]: packaging GOLANG from contract/fabric/simple/go
info: [install-chaincode.js]: Installing chaincode simple...
info: [packager/Golang.js]: packaging GOLANG from contract/fabric/simple/go
info: [install-chaincode.js]: Installed chaincode simple successfully in all peers
info: [install-chaincode.js]: Installing chaincode smallbank...
info: [packager/Golang.js]: packaging GOLANG from contract/fabric/smallbank
info: [install-chaincode.js]: Installing chaincode smallbank...
info: [packager/Golang.js]: packaging GOLANG from contract/fabric/smallbank
info: [install-chaincode.js]: Installed chaincode smallbank successfully in all peers
info: [instantiate-chaincode.js]: Instantiating chaincodes...
info: [e2eUtils.js]: The chaincode instantiate transaction was valid.
info: [instantiate-chaincode.js]: Instantiated chaincode drm successfully
info: [e2eUtils.js]: The chaincode instantiate transaction was valid.
info: [instantiate-chaincode.js]: Instantiated chaincode marbles successfully
info: [e2eUtils.js]: The chaincode instantiate transaction was valid.
info: [instantiate-chaincode.js]: Instantiated chaincode simple successfully
info: [e2eUtils.js]: The chaincode instantiate transaction was valid.
info: [instantiate-chaincode.js]: Instantiated chaincode smallbank successfully
info: [instantiate-chaincode.js]: Sleeping 5s...
info: [client.js]: Connecting to ZooKeeper......
error: [client.js]: Could not connect to ZooKeeper
(node:19892) UnhandledPromiseRejectionWarning: Could not connect to ZooKeeper
(node:19892) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:19892) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@jmj119 Based on the documentation, I would check the following things (although I'm not familiar with this feature of Caliper yet):

The Zoo clients are started on the remote machines
The master (where you start the test) is properly configured and can access these addresses and ports.

@jmj119 Did you resolve the errors?

@jmj119 Based on the documentation, I would check the following things (although I'm not familiar with this feature of Caliper yet):

The Zoo clients are started on the remote machines
The master (where you start the test) is properly configured and can access these addresses and ports.

I run in the same problem. I am using Azure VMs to deploy Caliper over a network.
How do I start zoo client in one of my other Azure VMs? Install Zookeeper, but what should the config file look like before I run the bin/zkServer.sh start script? Do the clients need hyperledger caliper installed on their machines?
Modifiying the config-zookeeper.yaml do I change the server IP to localhost:2181, how does it know how to connect to the zookeeper clients on my other Azure VMs?
Thanks Attilla!


Fix suggest contracts race

Code lens request is handled asynchronously. If the file is closed and close notification handle_info executes before suggest_contracts handle_call the previous code added an entry to awaiting_contracts. That entry used URI of a closed file that would later lead to crash when handling analysis_ready
Fixes elixir-lsp/vscode-elixir-ls#186

Any ideas on the failing tests? It's rather hard to read the output because the assertion is so large.

@axelson here's a diff between the expected result and what the test got for this run:

https://www.diffchecker.com/5S8R1Jhu

There are other tests failing too, but they're mostly the same error - we're expecting %Protocol.SymbolInformation{} but encoutering %ElixirLS.LanguageServer.Protocol.SymbolInformation{}

@axelson the culprit is https://github.com/elixir-lsp/elixir-ls/pull/537 - Macro.to_string behaviour must have changet between 1.9 and 1.10.
@pedro-lb thanks for investigation. Aliases are not the problem here though.
Anyway, it's not related to this PR and I'm going to fix it on master


Move soma methods to functions

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (v4@98b5326). Click here to learn what that means.

Additional details and impacted files
@@          Coverage Diff           @@
##             v4     #1118   +/-   ##
======================================
  Coverage      ?   100.00%
======================================
  Files         ?        35
  Lines         ?      2683
  Branches      ?         0
======================================
  Hits          ?      2683
  Misses        ?         0
  Partials      ?         0


bash completion breaks exit status display in prompt

I have a prompt that displays red if the last exit status was a failure,
this no longer works if z.sh bash completion is loaded (the lower part of z.sh)
function prompt_func() {
  previous_return_value=$?;
  PS1="${previous_return_value}"
}

PROMPT_COMMAND=prompt_func

I'm not sure how the tab completion would break it.
I suppose it's possible that the tab completion is setting $? when you actually tab complete and that could lead to weird values, but it shouldn't mess with other commands but it seems more likely that z and your function aren't playing together well in the PROMPT_COMMAND. Can you provide the output of echo $PROMPT_COMMAND?

If the PROMT_COMMAND is defined before z.sh the exit status is always 0,
if PROMT_COMMAND is defined after z.sh it works normally.
It seems like the usage of the PROMT_COMMAND in z.sh could have something to do with it...


Populate inchi dict batch1

How to verify the data =>
Search compound name or CAS no in PubChem and match the values. More info in issue #7

Sir @maneetgoyal  have added CAS as an optional property. It can be made mandatory too if we fill it up for all existing compounds. Is optional okay for now?

Sir @maneetgoyal have added CAS as an optional property. It can be made mandatory too if we fill it up for all existing compounds. Is optional okay for now?

Try to add it for all the compounds & make it mandatory.

looks good 👍

Sir @maneetgoyal  please check CAS has been made mandatory and added or all compounds.

@qur786  please try to review this  when you are free.

Closing it


feat: update to rxjs 5.5.0 and switch to lettable operators

Bumps the required RxJS version to 5.5.0 and gets rid of our RxChain in favor of using the lettable Rx operators. Refactors all the usages and updates the configs.
Fixes #7275.

Also blocked on rxjs 5.5 getting into google

Is this unblocked now that https://github.com/angular/angular/pull/19345 is synced? Or are we waiting for 5.0.0 final?

Rebased, sorted out any new usages of the RxChain and bumped to 5.5.0 final. @jelbourn unblocking this one and setting it as P1 since it might be nice to have in the RC.

Awesome work!


Directories and access permissions for mediafiles

rebased on current master

@tsiegleauq Rebased and adopted os-search-value-selector changes.

@FinnStutzenstein I get a server error after migrate existing database and login:
Exception inside application: 'inherited_access_groups_id'
  File "/home/emanuel/projects/openslides/src/OpenSlides/.venv/lib/python3.7/site-packages/channels/sessions.py", line 179, in __call__
    return await self.inner(receive, self.send)
  File "/home/emanuel/projects/openslides/src/OpenSlides/.venv/lib/python3.7/site-packages/channels/middleware.py", line 41, in coroutine_call
    await inner_instance(receive, send)
  File "/home/emanuel/projects/openslides/src/OpenSlides/.venv/lib/python3.7/site-packages/channels/consumer.py", line 59, in __call__
    [receive, self.channel_receive], self.dispatch
  File "/home/emanuel/projects/openslides/src/OpenSlides/.venv/lib/python3.7/site-packages/channels/utils.py", line 52, in await_many_dispatch
    await dispatch(result)
  File "/home/emanuel/projects/openslides/src/OpenSlides/.venv/lib/python3.7/site-packages/channels/consumer.py", line 73, in dispatch
    await handler(message)
  File "/home/emanuel/projects/openslides/src/OpenSlides/.venv/lib/python3.7/site-packages/channels/generic/websocket.py", line 196, in websocket_receive
    await self.receive(text_data=message["text"])
  File "/home/emanuel/projects/openslides/src/OpenSlides/openslides/utils/websocket.py", line 51, in receive
    await self.receive_json(json.loads(text_data), **kwargs)
  File "/home/emanuel/projects/openslides/src/OpenSlides/openslides/utils/websocket.py", line 148, in receive_json
    self, content["content"], id=content["id"]
  File "/home/emanuel/projects/openslides/src/OpenSlides/openslides/core/websocket.py", line 121, in receive_content
    consumer.scope["user"]["id"], requested_change_id
  File "/home/emanuel/projects/openslides/src/OpenSlides/openslides/utils/websocket.py", line 248, in get_element_data
    user_id, change_id, current_change_id
  File "/home/emanuel/projects/openslides/src/OpenSlides/openslides/utils/cache.py", line 389, in get_restricted_data
    return (await self.get_all_restricted_data(user_id), [])
  File "/home/emanuel/projects/openslides/src/OpenSlides/openslides/utils/cache.py", line 366, in get_all_restricted_data
    elements = await restricter(user_id, full_data)
  File "/home/emanuel/projects/openslides/src/OpenSlides/openslides/utils/models.py", line 161, in restrict_elements
    return await cls.get_access_permissions().get_restricted_data(elements, user_id)
  File "/home/emanuel/projects/openslides/src/OpenSlides/openslides/mediafiles/access_permissions.py", line 26, in get_restricted_data
    access_groups = full["inherited_access_groups_id"]
  'inherited_access_groups_id'

I get a server error after migrate existing database and login:

Fixed by flushing redis. Sorry.

Done


Mount/unmount of a Canvas element causes a memory leak

Description
Mount/unmount of a Canvas element causes a memory leak.
Version
0.1.182
Steps to reproduce
You can see the memory leak when you repeat mount/unmount. Memory usage grows very fast.
And the resources are not GCed after the repetition ends.
Snack, code example, screenshot, or link to a repository
https://github.com/bglgwyng/RNSkiaSandbox/tree/memory-leak
Press Start button to see the behavior.

Thank you for providing a repo for this.
Is this on Android? On iOS I was unable to reproduce the issue.

I used a real iPhone 13 device for the test.
And I observe the memory usage by Instruments.

@william-candillon  Has the problem been reproduced yet or do you have any insights on what could be causing the difference? Additionally, I was wondering if it would be helpful for me to send you the binary that was built on my machine.

Hi guys,
we're using RNSkia in commercial project and I can confirm that this problem exist since at least 0.1.176. We have tested that in multiple iOS devices and it's same everywhere. Since we have to mount a lot of canvases on different screens, then it's very common that we have crashes because of that problem.
Here is video and allocation trace file that I recorded on iPad Pro 3, iOS 16.3.1, repo is from @bglgwyng but i've used newest version which is 0.1.183.
Trace file

https://user-images.githubusercontent.com/75132129/232000751-f493883d-4ee0-4099-85c3-5054e573856b.MP4

Great feedback, @damianfilipek81 - I'll start looking into this a bit more.

I found the regression and have created a PR for it.


Add 1D00 to pds4_versions.txt

Summary

Add 1D00 to release

1D00 does not work right now with LDDTool for some backwards incompatibilities. closing

@jstone-psi correct. not sure how this bundle got released. this bundle was from Geosciences Node. @scholes-ds ☝


Data disk size 32 GB

For https://github.com/MicrosoftDocs/azure-docs/issues/30052
Changed Data disk size 32 GB

@Daya-Patil : Thanks for your contribution! The author, @cynthn, has been notified to review your proposed change.

Any update to this PR

#please-close Thank your for your contribution! The change for the data disk size was done in a separate pull request.


itk::ERROR: SubtractImageFilter(0x7f5b59695750): Inputs do not occupy the same physical space!

I'm getting an error While applying itk::N4BiasFieldCorrectionImageFilter filter -
itk::ERROR: SubtractImageFilter(0x7f5b59695750): Inputs do not occupy the same physical space!
InputImage Origin: [-2.4511679e+02, -2.4511679e+02, -5.1912396e+02], InputImage_1 Origin: [-3.4355304e+02, -3.4355304e+02, -6.3352289e+02]
Tolerance: 7.8124000e-06
InputImage Spacing: [7.8124000e+00, 7.8124000e+00, 1.0399902e+01], InputImage_1 Spacing: [9.8436241e+01, 9.8436241e+01, 9.3599121e+01]
Tolerance: 7.8124000e-06
Caught in exception handler itk::ERROR: SubtractImageFilter(0x7f5b59695750): Inputs do not occupy the same physical space!
InputImage Origin: [-2.4511679e+02, -2.4511679e+02, -5.1912396e+02], InputImage_1 Origin: [-3.4355304e+02, -3.4355304e+02, -6.3352289e+02]
Tolerance: 7.8124000e-06
InputImage Spacing: [7.8124000e+00, 7.8124000e+00, 1.0399902e+01], InputImage_1 Spacing: [9.8436241e+01, 9.8436241e+01, 9.3599121e+01]
Tolerance: 7.8124000e-06
I tried to get rid of this exception by settling the coordinate and direction tolerance but didn't get any success.
This filter I used with ShrinkImageFilter filter with shrink factor 4.
I am using ITK 4.7.2 toolkit.

It doesn't appear that your two images are even close to occupying the same space.  Can you post the command line call?

I've run into this too with some images at particular settings. Convergence 0.0002, FWHM 0.05, iterations 1000x1000x1000x1000, ShrinkImageFilter factor 2 used, with a mask provided. The fitting gets to level 4, iteration 128 of 1000 before delivering:
  Iteration 127 (of 1000).   Current convergence value = 0.000222542 (threshold = 0.0002)
  Iteration 128 (of 1000).   Current convergence value = 0.000221617 (threshold = 0.0002)

itk::ExceptionObject (0x2bb3480)
Location: "unknown"
File: /build/src/niftymidas-nightly-release/ITK/install/include/ITK-4.7/itkImageToImageFilter.hxx
Line: 248
Description: itk::ERROR: SubtractImageFilter(0x277db40): Inputs do not occupy the same physical space!
InputImage Origin: [8.9000000e+01, 1.2500000e+02, -7.1000000e+01], InputImage_1 Origin: [2.2250000e+01, 2.6750000e+01, -2.2250000e+01]
        Tolerance: 2.0000000e-06
InputImage Spacing: [2.0000000e+00, 2.0000000e+00, 2.0000000e+00], InputImage_1 Spacing: [2.2250000e+01, 2.6750000e+01, 2.2250000e+01]
        Tolerance: 2.0000000e-06

It works with fewer iterations per level, so this seems to be something happening during the filter application, rather than a mismatch in input images.
I'm using a command line tool that someone else has wrapped around the N4BiasFieldCorrectionImageFilter, currently trying to see if I can reproduce this with the filter test driver. If you want to look at the files I've uploaded them to UCL's dropbox (BrainWeb derived images), pick-up URL: https://wwwapps-live.ucl.ac.uk/cgi-bin/dropbox/dropbox.cgi?state=pickup_info&id=66978a08 and https://wwwapps-live.ucl.ac.uk/cgi-bin/dropbox/dropbox.cgi?state=pickup_info&id=54791e9 passcode 54766962

I was able to run
$ N4BiasFieldCorrection -d 3 -o test.nii.gz -i subject18_t1w_p4_rf20_A_11_05.nii -x subject18_t1w_p4_rf20_A_11_05_mask.nii -t [0.05] -c [1000x1000x1000x1000,0.0002] -v 1

and it finished without incident.  Can you try reproducing with the N4BiasFieldCorrection program?

Thanks for checking. It appears to have worked okay (I haven't tried it directly before, it reports a lot of pipeline information on completion, but no exceptions and an image is produced). ANTs likes building ITK itself, version 4.11, while the ITKBiasCorrectionTestDriver from version 4.7 eventually failed in the same way as the tool I was using previously, just at a different iteration. Possibly this was something fixed between 4.7 and 4.11? I'll try building the tool I'm using against ITK 4.11.

Building with ITK v4.10.1 works, so it was apparently a change in ITK that fixed my problem at some point. It may not be the same problem as anuragdixit84 had. I might have to find the cause to backport it, so will post it here if I do. Thanks for your help!

Hey @stnava, @cookpa, @gdevenyi  Just an FYI since we've been bitten by this bug before but @blowekamp  found a likely culprit and submitted a fix.

@stnava @ntustison @gdevenyi worth bumping the ITK version to fix this? I can test this afternoon, though I don't have any images that produce this bug reliably
https://github.com/InsightSoftwareConsortium/ITK/pull/1375

I think so.  There should be a slight performance improvement anyway.  I was going to do it but have been working on the compiler warnings.  So if you can do it, that would be great.

I also don't have anything to test this, but I support a bump.


Fix Warning: Undefined array key on PHP8

Hello,
With PHP8.1 and Symfony 6.0 I've got an error when I tried to call getName method.
/** @var KeycloakResourceOwner $keycloakUser */
$keycloakUser = $client->fetchUserFromToken($accessToken);

$keycloakUser->getName(); // Warning: Undefined array key "name"

Have a nice day.

ping @mstefan21

@babeuloula fix look good, I making some checks, why test failing, I need a little more time, I hope till end of this week will be ok to merge

@babeuloula can you please rebase your branch on last master. thqank you

Done!

Released as new version 3.1.1


test publisher_to_inline_subscriber fails

cargo test reports

Running target/debug/deps/publisher_to_inline_subscriber-a95d557a5178cf8d
running 1 test
test publisher_to_inline_subscriber ... FAILED
failures:
---- publisher_to_inline_subscriber stdout ----
Running roscore on port: 11701
Received message at level 2: hello world
thread 'publisher_to_inline_subscriber' panicked at 'assertion failed: (left == right)
left: 2,
right: 1', rosrust/tests/publisher_to_inline_subscriber.rs:30:5

I've noticed that issue on Travis, but cannot replicate it locally on any machine.
Did you manage to replicate it?


Added steps for normal user authentication

This commit added overview on how we can create user and authenticate using this user account to Kubernetes via API and kubectl.
Few steps are added:
Create private key
Create CSR
Submit CSR to Cluster
Approve CSR
Get the Certificate
Create Role and Role Binding
Test

@jimangel Can you serve as the technical reviewer for this or do I need to find one from SIG Auth?

@bradtopol I can tech review. It might not hurt to have extra eyes from SIG Auth. I've reviewed with some minor nits but in general looks good to me!

@fernandocyder Would you like address the feedbacks so we can kick this in?

@fernandocyder Would you like address the feedbacks so we can kick this in?

@tengqm I believe I addressed all feedbacks already.

Based on https://github.com/kubernetes/website/pull/20443#issuecomment-626196068
/lgtm
/approve


Install failed

I am getting following error when trying to run sudo npm install spellchecker:

<EMAIL_ADDRESS>install /Users/asifali/Documents/Apps/SlickNotes/node_modules/spellchecker
node-gyp rebuild

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 69
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.3.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/asifali/Documents/Apps/SlickNotes/node_modules/spellchecker
gyp ERR! node -v v5.4.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "spellchecker" "--save"
npm ERR! node v5.4.0
npm ERR! npm  v3.3.12
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
**

npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the spellchecker package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild

**
npm ERR! You can get their info via:
npm ERR!     npm owner ls spellchecker
npm ERR! There is likely additional logging output above.

It was Xcode's issue, xcode was updated and was not opened since then.


Issues while installing

While installing i always get "Head "https://mcr.microsoft.com/v2/dotnet/sdk/manifests/3.1": dial tcp <IP_ADDRESS>:443: i/o timeout" Love to have this proxy for my shelly-govee integration. Can you help please?

Hi, sorry for the slow reply (its been a while since i've looked at this).
When HA installs these add-ons it builds a docker container (see the DockerFile in the repo) and spins up a new container. this specific tiny little proxy uses a Microsoft .net base image as a starting point and then installs the little proxy that i built.
I've just tested it, and that base image on the microsoft container registry still exists and I can build the container locally no problems.
Does the device that is hosting your HA instance have external internet access?

Hi! Thanks for your reply. I was now able to get it installed and
running. Needed to try it aroung 15 times, then suddenly it worked
without the error message. SO first step solved.
Sadly i am not able to receive any webhooks in HA. Maybe you have a hint
Here is what i am trying to do. I set up a "I/O action" on "Switch on"
on my Shelly 1PM to get the manual Switch event and initiate a webhook
call to "https://<IP_ADDRESS>:7123/api/web_hook_proxy/tischlampeAN"
Then I also configured in HA a webhook automation listening to
"tischlampeAN" to trigger the light.
I am pretty shure Shelly does send out get requests but nothing arrives
in HA. I did use it with ifttt directly before and it worked fine but
sadly is slow as hell.
Any idea what i am doing wrong? I am lost with ideas. :-)
Thanks so much
Jens
Am 2023-01-26 22:11, schrieb t00ks:

Hi, sorry for the slow reply (its been a while since i've looked at this).
When HA installs these add-ons it builds a docker container (see the DockerFile in the repo) and spins up a new container. this specific tiny little proxy uses a Microsoft .net base image as a starting point and then installs the little proxy that i built.
I've just tested it, and that base image on the microsoft container registry still exists and I can build the container locally no problems.
Does the device that is hosting your HA instance have external internet access?
--
Reply to this email directly, view it on GitHub [1], or unsubscribe [2].
You are receiving this because you authored the thread.Message ID: @.***>

Links:
[1]
https://github.com/t00ks/homeassistant_webhook_proxy/issues/2#issuecomment-1405656044
[2]
https://github.com/notifications/unsubscribe-auth/A5MNCFZYPB5L24T2NCBRW5LWULR7HANCNFSM6AAAAAAUEMJLKY

Hi! Finally got the add on working now by reinstalling everything from
the skretch. At least i can now initiate HA Automations using the proxy
URL with my webbrowser using http.
Now i have to figure out why its still not working with the shelly I/O
action. But this has nothing to do with your proxy. Wish me luck! :-)
Thanks for sharing this great plugin with us! Cya Jens
Am 2023-01-26 22:53, schrieb @.***:

Hi! Thanks for your reply. I was now able to get it installed and running. Needed to try it aroung 15 times, then suddenly it worked without the error message. SO first step solved.
Sadly i am not able to receive any webhooks in HA. Maybe you have a hint
Here is what i am trying to do. I set up a "I/O action" on "Switch on" on my Shelly 1PM to get the manual Switch event and initiate a webhook call to "https://<IP_ADDRESS>:7123/api/web_hook_proxy/tischlampeAN"
Then I also configured in HA a webhook automation listening to "tischlampeAN" to trigger the light.
I am pretty shure Shelly does send out get requests but nothing arrives in HA. I did use it with ifttt directly before and it worked fine but sadly is slow as hell.
Any idea what i am doing wrong? I am lost with ideas. :-)
Thanks so much
Jens
Am 2023-01-26 22:11, schrieb t00ks:

Hi, sorry for the slow reply (its been a while since i've looked at this).
When HA installs these add-ons it builds a docker container (see the DockerFile in the repo) and spins up a new container. this specific tiny little proxy uses a Microsoft .net base image as a starting point and then installs the little proxy that i built.
I've just tested it, and that base image on the microsoft container registry still exists and I can build the container locally no problems.
Does the device that is hosting your HA instance have external internet access?
--
Reply to this email directly, view it on GitHub [1], or unsubscribe [2].
You are receiving this because you authored the thread.Message ID: @.***>

Links:
[1]
https://github.com/t00ks/homeassistant_webhook_proxy/issues/2#issuecomment-1405656044
[2]
https://github.com/notifications/unsubscribe-auth/A5MNCFZYPB5L24T2NCBRW5LWULR7HANCNFSM6AAAAAAUEMJLKY

Glad you've got it all working (All be it not via you Shelly Relay) hope you get it all hooked up and glad someone has found this useful. apologies it as not a polished product but it was just something I threw together quickly to solve a similar problem (I wanted to be able to control my Hue builds from the secondary shelly relay switch!)


Can not get local modules

I can't get it working for Terragrunt paths. I'm getting the below error:
        "warnings": [
          {
            "code": 4,
            "message": "Error loading Terraform modules: could not load modules for path .infracost/.terragrunt-cache/KHviaXDu9Xq4b8PBMl32dUFFlsw/weIDhs7nU8caTiToOgKDEpso7_I failed to inspect module path ../../../../modules/cloud_vpn diag: Failed to read module directory: Module directory ../../../../modules/cloud_vpn does not exist or cannot be read.",
            "data": null
          }
        ]

../../../../modules/cloud_vpn is accessible from .infracost/.terragrunt-cache/KHviaXDu9Xq4b8PBMl32dUFFlsw/weIDhs7nU8caTiToOgKDEpso7_I .
But, it has kept the path in the terraform file the as it is.
cat main.tf

module "cloud_vpn" {
  source           = "../../../../../../../../modules/cloud_vpn"

So, terraform init fails here because "../../../../../../../../modules/cloud_vpn" is not accessible. Is it supposed to change  source = "../../../../../../../../modules/cloud_vpn" to  source = "../../../../modules/cloud_vpn"?
Let me know if you need more details.

@ashishbista thanks for reporting. Can you please provide the following information?

The exact infracost command you are running.
An example of the Terragrunt code that is causing this issue.

If there's any relevant log lines as well that would be helpful. You can get these by running with --log-level=debug.

@ashishbista do you have any more details as per above?

Closing this issue. @ashishbista if you have more details as per above please re-open 🙏 .


Added: Marine goggles

About the PR
Added new clothing for marines:

Marine RPG glasses
Ballistic goggles
M1A1 Ballistic goggles
Prescription ballistic goggles

Technical details
technical problems should not be in this PR. If such are available, their elimination is a matter of time.
Media
added 4 types of goggles, taken from cm13.

also, they were added to "ColMarTech"

Breaking changes
Missing
Changelog

23.07.2024: a bunch of technical problems related to this PR have been fixed.

webedit ops :rocket:


add nightly builds with react-native-windows@canary

Description
Why
We should verify that latest react-native-windows does not break us.
What
Add a nightly builds with react-native-windows@canary.
Screenshots
% node scripts/use-canary-version.js
{
  react: '17.0.2',
  'react-native': '0.0.0-20211111-2008-2ae06df58',
  'react-native-windows': '0.0.0-canary.428'
}

@NickGerleman: Do you know of a good way to test this change?

Probably just running the command locally.

Resolves #165

Pipeline now restored, pull in latest from main to confirm PR passes pipeline.


please retro publish a 0.4.x version

Thanks for the fix for https://github.com/fent/randexp.js/issues/46
We still have the problem we encountered because the fix was published to 0.5.x line only, but the dependencies we use are still pulling version 0.4.x.
Could you retroactively apply the fix to 0.4.x line and publish a version on that please?

Closed via above branch

thank you


Web - Misaligned Chevron in "Share Somewhere" Title

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Click on the plus sign and select "Assign Tasks."
Add a title and assignee, then click "Share Somewhere."
Open the email in the header and observe that the chevron in "Share Somewhere" title is not aligned properly.
Note that the misalignment affects the visual appearance of the title.

Expected Result:
The chevron in "Share Somewhere" title should be properly aligned and visually consistent with the rest of the interface.
Actual Result:
The chevron in "Share Somewhere" title is misaligned and does not match the visual style of the interface, which may cause confusion or frustration for users.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

screen-capture - 2023-08-24T122721.726.webm
Expensify/Expensify Issue URL:
Issue reported by: @tewodrosGirmaA
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692904929882189
View all open jobs on GitHub

Changes:
modify styles for PressableWithoutFeedback in TaskPreview fixes the issue
style={[styles.flexRow, styles.justifyContentBetween, styles.alignItemsCenter]}

This is extreme polish, I am not going to accept this as a bug.


Request to Add Feature

Hi cstaelin,
Thanks for making this extension! I was wondering would it be able to add a feature (I don't have the programming skills to do this myself).
I would like there to be a command that creates a new folder (so that data can be written to that new, previously not existing folder.
Would that be possible?
Cheers

Check out pathdir:create.  (The ReadMe file documents it. ) It will create a new folder either relative to the current working directory, or with an absolute path.  It should work in Windows, on a Mac or in Linux.  Let me know if you have problems.
Best,


[bugbash] fail to query connection string

Describe the bug
fail to query connection string
To Reproduce

follow https://github.com/Azure/azure-webpubsub/blob/webpubsub-apollo-experimental/experimental/sdk/webpubsub-graphql-subscribe/how-to-host-websockets.md#1-create-a-azure-web-pubsub-service
Exceptions (if any)

az webpubsub key show --name "wanl-1" --resource-group "wanl-bugbash" --query primaryConnectionString
Command group 'webpubsub' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
(ResourceGroupNotFound) Resource group 'wanl-bugbash' could not be found.
but the resource group exists:

Further technical details

SDK and its version you use

I think the default account for your az is not the TTL one. Try az account first.


Rework Cassandra partition generator to allow specifying the minimum number of partitions

@jacek-lewandowski and @artem-aliev , if there is more work needed here, can you migrate it to JIRA?

Related JIRA ticket: https://datastax-oss.atlassian.net/browse/SPARKC-43


[CONSENSUS] Add Quorum Certificate verification tests

Objective
Nodes perform Quorum Certificate (QC) verification when committing a block in the consensus process, and for validating blocks received via state synchronization. The objective of this issue is to implement QC verification tests.
Goals

Implement QC verification tests in the consensus e2e_tests/hotstuff_test.go
Add more QC verification tests to the e2e_tests/hotstuff_test.go.

Deliverable

[ ] QC verification tests implementation.
[ ] Ensuring QC verification process is correct with extensive tests.

Non-goals / Non-deliverables

Change business logic.

General issue deliverables

[ ] Update the appropriate CHANGELOG(s)
[ ] Update any relevant local/global README(s)
[ ] Update relevant source code tree explanations
[ ] Add or update any relevant or supporting mermaid diagrams

Testing Methodology

[ ] Task specific tests or benchmarks: make ...
[ ] New tests or benchmarks: make ...
[ ] All tests: make test_all
[ ] LocalNet: verify a LocalNet is still functioning correctly by following the instructions at docs/development/README.md

Creator: @gokutheengineer
Co-Owners: @Olshansk

@gokutheengineer Could you please link to the place in the codebase where the placeholders for the business logic and tests currently live?


Bug: sampler disappeared when switching between type with some values

Describe the bug

When you set a sampler with sd-webui type, and then switch to login or token.

:tada: Samplers gone! :tada:
Steps to reproduce

Set type to sd-webui, sampler to DPM++2S a
Switch type to login
Sampler gone!

Expected behavior
Give back samplers!
Screenshots
No response
Relevant log output
No response
Launcher
Koishi CLI (koishi start)
Backend
Stable Diffusion WebUI (AUTOMATIC1111)
Versions

OS:  Ubuntu 20.04
Adapter:  Any
Node version:  16.4.1
Koishi version:  4.11.5

Additional context
No response

And, don't know why but there should be a section header called 参数设置.

已修复（请注意更新到最新版本的 koishi 和 console，两个都要）


Drop the hwaccel_output_format argument to fix issue #6

Thanks for accepting the PR. I would I go about getting this into memories too for the next release?

Yeah, it'll be part of the next patch


Not working on google chrome mobile or PWA version.

This is awesome and working fine on desktop version, but it is not working on google chrome mobile or PWA version. did you faced this problem before? do you have a fix for it?
Please find the 2 screenshots for the same app, FYR.

Solved!
Issue was solved by enabling "Lazy Loading"

Solved!
Issue was solved by enabling the "Lazy Loading" attribute.


Fails to build on windows

Hello! I'm very new to Docker, so might be my fault 100%.
I'm trying to follow along the examples with a really basic Dockerfile but I get som weird errors.
The example that uses centos:centos6 works great but when i switch to hypriot/rpi-node:4.4.3 it errors out.
I've also tried ubuntu:14.04 which works, and the Dockerfile for hypriot/rpi-node:4.4.3 directly which errors.
Dockerfile
FROM    hypriot/rpi-node:4.4.3

COPY    package.json package.json
RUN     ["npm", "install", "--production"]

COPY    server.js server.js

EXPOSE  8080

CMD     ["node", "server.js"]

Log output for my Dockerfile
Sending build context to Docker daemon 80.67 MB
Step 1 : FROM hypriot/rpi-node:4.4.3
 ---> 4f926a7e9322
Step 2 : COPY package.json package.json
 ---> Using cache
 ---> a699223f1b79
Step 3 : RUN npm install --production
---> Running in e3ac170cf67f
rpc error: code = 2 desc = "oci runtime error: exec format error"

@kokarn Welcome to Docker 🐳
Do you want to build a Docker image for a Raspberry Pi or a similar small board?
If you just want to learn Docker and run it on your computer (eg. a Windows computer with a VirtualBox VM / Docker Toolbox installation), just use "node" instead of "hypriot/rpi-node".

Thanks!
Yeah, it's a RPi 2 that i'm targeting. It's going to be a control unit for a bunch of BLE devices and I have to code running without Docker. Just interested to try to dockerify it :)

You could use docker-machine.exe to connect to your RPi2 and run the docker build ... from your Windows PC. Otherwise log into your RPi2 and run the docker commands there.

Yeah, I know how I can solve if with a VM or the Raspberry.
I was mainly curious why this Dockerfile in particular was breaking, seems they should be pretty platform independent :)

The "exec format error" normally means "you have the wrong CPU" :-)
There is QEMU to emulate other CPU's and some weeks ago we were surprised to see this Docker image running on Mac and Windows with the Docker for Mac/Windows Beta (which had QEMU built-in) - don't know if it makes it into the official release.

Probably not, Docker on windows needs a lot more care before it's ready.
Thanks for the quick support, i'll build in a VM or directly on the RPi for now.


Recently viewed collections list is not changed accordingly after switching users

Prerequisites:
Build identifier: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:43.0) Gecko/20100101 Firefox/43.0
Steps to reproduce:
1.Login and go to https://addons.mozilla.org/en-US/firefox/collections/
2.Log out and login again with a different user
Expected results:
The list of recently viewed collections is changed for the new user(or at least it is empty)
Actual results:
The list is populated with the recently viewed collections from the users logged at step 1
Please see screencast for this bug : http://screencast.com/t/p7PthSogOoi

I can't really see a need for this and I'm not sure how its implemented, want to remove it? It also appears on each collection page.

It's implemented using localStorage, that's why it's persisting like this. Let's just kill it.

It's less a need and more of a navigation assistance for your viewing history. It's a nice-to-have, and I'm not convinced this is actually broken, given the majority of AMO browsers are end-users without a login, but rather a use case that wasn't considered. It's definitely a bug if we feel the history should be separated by user in a browser.
Not making the case for keeping it, agree it's of limited value given how many people actually use collections these days (something we should also verify), but the convenience factor is nice to have, and we should look at how we manage breadcrumbs as a whole for AMO.

(so, yes, kill it. and we need to look at how/if we implement breadcrumbing AMO-wide as a separate item)

Verified as fixed : http://screencast.com/t/Kg9D2K2w


Create repository for hackathon team 1 and give write access

Repository created, as well as team. This issue on the repo's tracker as well as this comment should have generated an email to you which should contain a link to the repo (click "view this on Github").


More content and fixes

@renatoi @src-code guys, this is a big one mostly related to content. Once this is merged I'll start the Atomizer 3 migration.
Please let me know if there is anything major I should change, but the plan should be to refine content once acss.io is on Atomizer 3.

LGTM


chore: upgrade to nightly-2022-12-15

Signed-off-by: Gregory Hill<EMAIL_ADDRESS>Also uses mocktopus 0.8.0

also addressed by https://github.com/interlay/interbtc/pull/802


chore(release): v0.7.6 🎉

:robot: I have created a release *beep* *boop*
0.7.6 (2021-12-16)
Bug Fixes

manipulation: assert domain objects with nested well-known-type objects or basic-type-arrays are safe to manipulate (944ed81)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/uladkasach/domain-objects/releases/tag/v0.7.6 :sunflower:


Implement Dataset from Parquet

Implement instantiation of Dataset from Parquet file.

Hi @albertvillanova , I'll implement the parquet builder as an ArrowBasedBuilder if you don't mind

closing in favor of #2537 that is already merged


Closing the preview window

Is there a way to close the Vlime preview window without manually moving over to it, :qing, and manually moving back to where I was?  Doing this dance every time I want to view a docstring is really painful.
If I had a huge monitor I could just leave all various Vlime buffers open in dedicated windows all the time, but I use a laptop need to keep things uncluttered if I want to be able to get anything done.

Yes, I can add a default mapping for this, and maybe other windows that doesn't normally have focus, such as the arglist window.
You can try this in your vimrc for a quick patch:
function! RcVlimeClosePreview()
    let winnr = bufwinnr(vlime#ui#PreviewBufName())
    if winnr <= 0
        return
    endif

    execute winnr . 'wincmd c'
endfunction

augroup LocalVlimeKeys
    autocmd!
    autocmd FileType lisp nnoremap <silent> <buffer> <LocalLeader>wp :call RcVlimeClosePreview()<cr>
augroup end


Add connection pool (manage multiple connections)

This project should support handling multiple MySQL client connections using a single client instance (connection pool). This allows sending multiple queries at once over independent connections. As such, a slow query on one connection would no longer block other queries. Here's what this could look like:

Coming soon: @reactphp with built-in connection pool to support concurrent database queries? 🔥 #async #php

– https://twitter.com/another_clue/status/1419633478216388612

I've filed #147 a while ago to discuss a simpler MysqlClient API that could be good starting point to build on top of. This appears to be preferable to implementing this as a decorator around the existing (lazy) connection.
However, certain use cases could challenge this abstraction, specifically when dealing with transactions that should not span multiple independent connections by default. Other projects solve this by providing explicit control over handling underlying connections for these use cases, see e.g. https://github.com/mysqljs/mysql#pooling-connections.
Refs existing PRs #27, #148, #172, https://github.com/szado/reactphp-connection-pool and others (ping @dshemin, @skydiablo, @wpjscc, @szado)
Probably builds on top of #147, #87 and others
We welcome contributions, reach out if you want to support this project or become a sponsor ❤

Status update: We started to come up with a roadmap to introduce the new MySQL connection pool feature.
To begin, we plan to replace the existing Factory with a more straightforward MysqlClient constructor (as outlined in issue #147). This change will serve as a preliminary step towards implementing the connection pool more smoothly. When working on the pool feature itself, we'll also plan to introduce a few new concepts:

configuration for the maximum number of connections allowed
configuration for the minimal number of connections
configuration for a number of free connections to use for new queries (for example, always have 2 open connections ready for usage to improve performance)
a queue for queries if all connections are currently in use

When it comes to establishing a first stable solution, defining a maximum number of connections appears to be the most important aspect. While the other configuration options should also be part of the overall feature, they can be added gradually in follow-up pull requests if needed. Let's embrace continuous improvement here!
 If you do not want to add MySQL connections。
Currently, I had implemented these two methods, but they have not been well tested yet.

@wpjscc We'll implement the second connection pool, the one running inside your application code. So each instance will have it's own connection pool, and you can connect that pool to an intermediate pool between your application instances and the server. Doing that with my own PostgreSQL databases. We, however, will not provide that intermediate pool.

is there any progress on this ?
I get tons of connections opened cause I write a lot in short time so I wandered if this is the reason for it?

thx for the reply
On Wed, Feb 28, 2024, 1:32 PM Cassandra Esser @.***>
wrote:

Hey @matejthetree https://github.com/matejthetree
Here's a quick update to give you some insights on the progress we've made
with the MySQL connection pool. I spoke with @clue
https://github.com/clue a few days ago and the pull request for this is
already in a good shape, but we still have a few edge cases left to cover
before we can submit the PR to the public. We're currently investing most
of our time into the upcoming ReactPHP v3 (see reactphp/event-loop#271
https://github.com/reactphp/event-loop/issues/271 and others) and
Framework X, so I can't give you an estimated point when this features will
go live.
If you need this feature urgently, you can also reach out to us or help us
prioritizing by becoming a sponsor https://github.com/sponsors/reactphp
and supporting the ReactPHP ecosystem ❤
Thanks for your patience so far. I'll make sure to keep you updated while
we make progress 👍
—
Reply to this email directly, view it on GitHub
https://github.com/friends-of-reactphp/mysql/issues/175#issuecomment-1968886506,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACMX5ITUTKMVSFVE4M5CTDTYV4PUXAVCNFSM6AAAAAAXPEF5ASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRYHA4DMNJQGY
.
You are receiving this because you were mentioned.Message ID:
@.***>


allow to blacklist resources by path for replication status updater

This closes #1334.

Coverage increased (+0.02%) to 40.725% when pulling 78de6ecd1a6ec168e3bf65912a2ee3ec0229eb1a on kwin:feature/1334_replication-status-updater-filter-by-path into 7b3f7e4a2ec685f8013e63e3ff7735522ef0552b on Adobe-Consulting-Services:master.

I will instead come up with a PR which fixes both #1407 and #1334.

This should be fixed together with #1407


[Feature][scaleph-dao] replace varchar type code by primary key id

Already searched before asking?

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

Usage Scenario
optimize database table schema for better performance
Description
scaleph-core-di module some table add xxx_code column with varchar type and create index on them.
CREATE TABLE `di_project` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  `project_code` varchar(32) NOT NULL COMMENT '项目编码',
  `project_name` varchar(64) DEFAULT NULL COMMENT '项目名称',
  `remark` varchar(256) DEFAULT NULL COMMENT '备注',
  `creator` varchar(32) DEFAULT NULL COMMENT '创建人',
  `create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `editor` varchar(32) DEFAULT NULL COMMENT '修改人',
  `update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `project_code` (`project_code`)
) ENGINE=InnoDB COMMENT='数据集成-项目信息';

As we all know, out of order varchar type index is not friendly for B+ index.
For better performance, we need to replace them by primary key such as id. Introducing snowflake algorithm as our primary key generator is acceptable
Are you willing to submit a PR?

[ ] Yes, I am willing to submit a PR!

Code of Conduct

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

step_code, link_code are used for web angular components and must be required, they are not just used for releation between tables.


MvnCentral repository id

Hello,
I want to add a configuration to the pom's. But I need the id that the repository has on the maven central.
Can someone provide me that information?
Thanks

com.turo
pushy
0.10.2

Hello!
This sounds more like a request for general support than it does like a bug report or a feature request. We generally ask people to move these kinds of questions to the Pushy mailing list because:

The mailing list has a wider audience, and you're more likely to find somebody who has experience with your particular circumstances on the mailing list.
Posting your question to the mailing list can help other people who are having the same problem.
Because there isn't a bug to fix or a feature to add, we can't reasonably solve your problem by making any kind of engineering change.

I emphasize that we'd be happy to help, but let's move this conversation to a different venue.


Setup a Firestore within Firebase

Item type: Storage
Description: Setup a Firebase instance on Google Cloud for our mobile application that can handle real-time data synch, secure user authentication and cloud storage.
User story

As a developer of this team,
I need a database infrastructure to serve the mobile app
so that I can further buid the mobile app.

Acceptance Criteria

[ ] The Firebase project has been created and linked to our Google Cloud project.
[ ] A real-time database is set up with a "schema" that meets our app requirements.
[ ] Access control measures and security rules have been implemented.

Definition of Done

[ ] The feature has been fully implemented.
[ ] The feature has been manually tested and works as expected without critical issues.
[ ] The feature code is documented with clear explanations of its functionality and usage.
[ ] The feature code has been reviewed and approved by at least one team member.
[ ] The feature branches have been merged into the main branch and closed.

A real-time database is set up with a "schema" that meets our app requirements.

@tubamos , We will use Firestore to store user's data as well as chat history. Firebase is a product name there are various sub product that we can use like ...
1. Firebase Real-time DB (Generally use to monitor sensor's data)

2. Firestore (which is also support real-time update and it is No-SQL DB same as Mongo DB)

3. Firebase Auth (to handle auth related work..)
   ...

For our app, we will use Firestore to store chat history and user's data.

@preetvadaliya I though that additionally to the Firestore for the user chat history, we also need to set up the Firebase real-time DB for some reason. Is this not the case?


Async articles are out of date / wrong

This gives a lot of no longer accurate advice:
https://www.dartlang.org/tutorials/language/futures
See a confused user here: https://www.reddit.com/r/dartlang/comments/965b8u/async_in_dart/?utm_content=full_comments&utm_medium=message&utm_source=reddit&utm_name=frontpage
Not sure who to ping: @kwalrath @chalin @munificent or if ithis is the right repo for this issue

This is the right repo. Thanks for the report.

This issue was moved to dart-lang/site-www#1070

Ah I will remember that!
Thanks Patrice & Kathy!


TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

Unable to import zeno due to mismatch in Python dependency.
File "/datadrive5/dungnm31/data/zeno_visualize.py", line 2, in <module>
    from zeno_client import ZenoClient, ZenoMetric
  File "/datadrive5/dungnm31/miniconda3/envs/dev/lib/python3.9/site-packages/zeno_client/__init__.py", line 2, in <module>
    from .client import ZenoClient, ZenoMetric, ZenoProject
  File "/datadrive5/dungnm31/miniconda3/envs/dev/lib/python3.9/site-packages/zeno_client/client.py", line 267, in <module>
    class ZenoClient:
  File "/datadrive5/dungnm31/miniconda3/envs/dev/lib/python3.9/site-packages/zeno_client/client.py", line 308, in ZenoClient
    description: str | None = None,
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

As far as I know, the str | None in zeno_client/client.py#L308 required at least python=3.10 which is not available in python=3.8

Suggest to change python dependency in pyproject.toml


adding Read buffer size argument to fasthttp server and grpc server

Description
fasthttp server ReadBufferSize argument limits the maximum header size, by default this argument is set for 4KB
We are using bigger than default 4KB size headers in our solution, so we need to pass that particular option.

adding daprHTTPReadBufferSize flag to the cli and dapr-http-read-buffer-size argument to dapr solution to define custom fasthttp server ReadBufferSize parameter to use bigger headers than 4KB.
adding streamRequestBody fasthttp server parameter to pass via flag to the cli and http-stream-request-body argument

Issue reference
Please reference the issue this PR will close: #3319
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Unit tests passing
[x] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

ping @apuzyrevsky.
Seems there are some configs about limit from fasthttp side, need to consider support all?
/cc @artursouza @yaron2

@apuzyrevsky please fix conflicts.

ping @apuzyrevsky.
Seems there are some configs about limit from fasthttp side, need to consider support all?
/cc @artursouza @yaron2

Not all, but body size (already supported) and header size (solved by this PR) are important.
@apuzyrevsky please resolve the conflicts and we'll speed up this PR review.

Hi Yaron, I'll do that on the weekend as right now I don't have access to the laptop/PC.

@daixiang0 @yaron2 @Taction I've resolved the conflicts, could you please take a look at it?
It seems that test coverage decreased and one of the checks is failed, is it necessary to have it green?


Fix build

NOTE) This is not a bug of chocon. https://github.com/lestrrat/go-file-rotatelogs did breaking compatibility in this commit.

Merged. Thanks.


feat: add description of contributors

Fixes Issue
Closes #1639

Changes proposed
I added a description to the icon that’s near the Contributors' title. It’ll help people who are new to LinksHub gain a better understanding of our roles.

Screenshots

Contributors' description
Note to reviewers

Just let me know which seems better.

Hey @Anmol-Baranwal! I made a change to your suggestion (I replaced the comma with the word "and") and applied it.


Playbook error

Hi! When executing playbook on fresh Ubuntu 18.04 get this error:
TASK [prep_docker : install python docker] **********************************************************************************************************************
Sunday 30 September 2018  14:59:38 +0000 (0:00:00.562)       0:00:25.656 ******
failed: [localhost] (item=pip) => {"changed": false, "cmd": "/usr/bin/pip2 install -U pip", "item": "pip", "msg": "\n:stderr: Traceback (most recent call last):\n  File \"/usr/bin/pip2\", line 9, in <module>\n    from pip import main\nImportError: cannot import name main\n"}
failed: [localhost] (item=docker) => {"changed": false, "cmd": "/usr/bin/pip2 install -U docker", "item": "docker", "msg": "\n:stderr: Traceback (most recent call last):\n  File \"/usr/bin/pip2\", line 9, in <module>\n    from pip import main\nImportError: cannot import name main\n"}

That's surely a pip error. I've had the same issue, using python3-pip and ansible uses python-pip.
I think you should uninstall pip2, or make it use the /usr/bin/pip2 to install docker-py.
Some inspiration: https://github.com/pypa/pip/issues/5221#issuecomment-382069604

thanks, i'll try

@krakazyabra which ubuntu 18 version are you using? (server/desktop)
did you try to run pip install -U pip as root on the commandline?