I made a composite where i mixed Get-DscSplattedResource and the conventional Resource definition syntax.
configuration SharePointFarm
{
    param
    (
        # Shortend
    )
    Import-DscResource -ModuleName SharePointDSC
    Import-DscResource -ModuleName xPSDesiredStateConfiguration

    $PSBoundParameters.Remove('InstanceName')
    # Make the Setup Account a local Administrator
    xGroup 'LocalAdministrators' {
        Ensure           = 'Present'
        GroupName        = 'Administrators'
        MembersToInclude =  $SetupAccount.UserName
    }

    $ExecutionProperties = $PSBoundParameters
    $ExecutionProperties.Add('Ensure', 'Present')
    $ExecutionProperties.Add('IsSingleInstance', 'Yes')
    $ExecutionProperties.Add('PsDscRunAsCredential', $SetupAccount)
    if ($ExecutionProperties.ContainsKey('DependsOn'))
    {
        $ExecutionProperties.DependsOn = '[xGroup]LocalAdministrators'
    }
    else
    {
        $ExecutionProperties.Add('DependsOn', '[xGroup]LocalAdministrators')
    }

    $ExecutionProperties.Remove('SetupAccount')
    (Get-DscSplattedResource -ResourceName SPFarm -ExecutionName 'SPFarm' -Properties $ExecutionProperties -NoInvoke).Invoke($ExecutionProperties)

    # Setup Wizzard
    SPConfigWizard RunConfigWizard
    {
        IsSingleInstance     = "Yes"
        PsDscRunAsCredential = $SetupAccount
        DependsOn            = '[SPFarm]SPFarm'
    }
}

This code ends up make Composites with the Resouce ID [SharePointFarm] instead of [SharePointFarm]SharePointFarm
What i didn't know is that while Get-DscSplattedResource needs to have the InstanceNameremoved the conventional Resource definition needs it to create the ResourceID correctly.
After moving the .Remove('InstanceName') to the Get-DscSplattedResource Hashtable it works as expected.
configuration SharePointFarm
{
    param
    (
        # Shortend
    )
    Import-DscResource -ModuleName SharePointDSC
    Import-DscResource -ModuleName xPSDesiredStateConfiguration
    #
    # Make the Setup Account a local Administrator
    xGroup 'LocalAdministrators' {
        Ensure           = 'Present'
        GroupName        = 'Administrators'
        MembersToInclude =  $SetupAccount.UserName
    }

    # Create or Join Farm with SPFarm
    $spFarmValidParameters = @('AdminContentDatabaseName', 'ApplicationCredentialKey', 'CentralAdministrationAuth', 'CentralAdministrationPort', 'CentralAdministrationUrl', 'DatabaseCredentials', 'DatabaseServer', 'DeveloperDashboard', 'Ensure', 'FarmAccount', 'FarmConfigDatabaseName', 'Passphrase', 'RunCentralAdmin', 'ServerRole', 'SkipRegisterAsDistributedCacheHost',
        'UseSQLAuthentication')

    $spFarm = @{
        IsSingleInstance     = 'Yes'
        PsDscRunAsCredential = $SetupAccount
        DependsOn            = '[xGroup]LocalAdministrators'
    }
    foreach ($parameter in $spFarmValidParameters)
    {
        if ($PSBoundParameters.ContainsKey($parameter))
        {
            $spFarm.Add($parameter, $PSBoundParameters.Item($parameter))
        }
    }
    (Get-DscSplattedResource -ResourceName SPFarm -ExecutionName 'SPFarm' -Properties $spFarm -NoInvoke).Invoke($spFarm)

    # Setup Wizzard
    SPConfigWizard RunConfigWizard
    {
        IsSingleInstance     = "Yes"
        PsDscRunAsCredential = $SetupAccount
        DependsOn            = '[SPFarm]SPFarm'
    }
}

For discussion: Could it be a good habit to never remove a Key from the $PSBoundParameters and always call Get-DscSplattedResource with a dedicated Hashtable so you won't stab yourself in the back later if you add a resource.
Alternatively don't mix Get-DscSplattedResource with the conventional definition.

Thanks for solving this particular issue as well as coming up with the idea of best practice guide, @ChristophHannappel.
@gaelcolas, @stehlih, @nyanhp, @ykuijs, do you have by accident or purpose written down some guidance already?

I don't have anything specifically in writing, but I never copy PSBoundParameters and then edit that copy. I have noticed that copying PSBoundParameters copies the pointer to the object, meaning that if you edit the copy you also edit the original object.
That is why I always generate a new hashtable using the method you have also used in the 2nd example.

As soon as you deal with reference types (classes) and not value types (structs) you always deal with references. Also the method described above may duplicate references.
The line $b.k2.Remove('kk2') will remove the key kk2 from both hashtables, as hashtables are also reference types.
$a = @{
    k1 = 'v1'
    k2 = @{
        kk1 = 'vv1'
        kk2 = 'vv2'
    }
}

$b = @{}
$validKeys = 'k1', 'k2'
foreach ($validKey in $validKeys)
{
    if ($a.ContainsKey($validKey))
    {
        $b.Add($validKey, $a.Item($validKey))
    }
}

Write-Host '-------- Before removal of kk2 -------------'
Write-Host "Key count of a.k2: $($a.k2.Keys.Count)"
Write-Host "Key count in b.k2: $($b.k2.Keys.Count)"

$b.k2.Remove('kk2')
Write-Host '-------- After removal of kk2 --------------'
Write-Host "Key count of a.k2: $($a.k2.Keys.Count)"
Write-Host "Key count in b.k2: $($b.k2.Keys.Count)"


npm run dev error

When  install devtools（npm run dev）,meet errors,anyone help me .thanks.

This error has nothing to do with this module, this is the webpack2 configuration changes


Additional integrators

[x] Add MixedCurlIntegrator which handles ( $Q$ curl $u$, $v$) for 3 cases.
1.  $u \in H(\text{curl})$ in 3D,  $v$ is a 3D vector with components $v_i$ in the $L^2$ or $H^1$ space.
2. $u \in H(\text{curl})$ in 2D, $v$ is a scalar field in $L^2$ or $H^1$ space.
3. $u$ is a scalar field in $H^1$, curl $u$ := $[0 \ 1; -1 \ 0]$ grad $u$ and $v$ is a 2D vector with components $v_i$ in the $L^2$ or $H^1$ space.

[x] Add AssembleElementMatrix2 in CurlCurlIntegrator and DivDivIntegrator

[x] Fixed sign inconsistency in NormalTraceJumpIntegrator

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#3152
@psocratis
@mlstowell
@dylan-copeland + @mlstowell
8/25/22
⌛due 9/8/22
⌛due 9/15/22

This PR is now under review (see the table in the PR description). To help with the review process, please do not force push to the branch.

@psocratis There are some unit tests in tests/unit/fem/test_2d_bilininteg.cpp and test_3d_bilininteg.cpp, where you could add cases for the new integrators and the newly supported cases of mixed spaces for curl-curl and div-div integrators. Also, it would be good to have a unit test or example for NormalTraceJumpIntegrator, to verify it is fixed.

@dylan-copeland, I added some unit tests covering the new Integrators. As you suggested they are added to the existing ones, more specifically in
 "3D Bilinear Curl Curl Integrators"
 "3D Bilinear Curl Integrator"
 "2D Bilinear Scalar Curl Integrator"
 "2D Bilinear Gradient Integrator"

As we discussed earlier, the sign change for the NormalTraceJumpIntegrator would not affect the current use case (which is only for the lagrange-multiplier in ex4 when hybridization is enabled), i.e., the sign is absorbed in the variable. I was only able to notice the "bug" just because in DPG formulations there are cases where you put Dirichlet bdr conditiones on these multipliers (flux/trace variables). A few examples will follow in the near future, as soon as the DPG miniapp PR is ready.
Thanks


allows role=combobox on button and input type=button

This PR addresses ARIA in HTML being updated to allow the combobox role on these elements, and fix an oversight where role=checkbox should have been allowed on input type=button to match the same allowance on the button element.

Thanks, @scottaohara


New package: Amazon.Corretto.23.JDK version <IP_ADDRESS> (<IP_ADDRESS>.1)

Created by 🥟 Dumplings.
Microsoft Reviewers: Open in CodeFlow

Verify:


Navigation drawer placeholder illustration alignment

Prerequisites

[X] I have searched the backlog for duplicate or closed feature requests

Your test device
Any
OS Version
Any
App version
v0.14 (b237)
Describe the issue
The illustration element does not seem to be vertically centered

Expected Behavior
the placeholder image should be centered horizontally and vertically

@B3nz01d This is because the placeholder takes the place of the image. The title ("Side navigation title" here) layer is displayed as an overlay over this image.


libuv: 1.44.2 -> 1.45.0

Description of changes
Diff: https://github.com/libuv/libuv/compare/v1.44.2...v1.45.0
Changelog: https://github.com/libuv/libuv/blob/v1.45.0/ChangeLog

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build bind cmake knot-resolver mosquitto neovim nodejs


Difficulty adding python modules

Describe the bug
When I instruct TaskWeaver to use yahooquery to pull stock prices in the Playground UI running in a docker container, it is unable to reliably do so
To Reproduce
Steps to reproduce the behavior:

Start the Playground web UI
Type the user query "Use yahooquery to get the last 1 year of closing prices for NVIDIA. Plot a chart of the closing prices"
Wait for the response
Type the user query "It appears that the 'yahooquery' module is not persisting in the environment despite the reinstallation attempt. This could be due to the execution environment's restrictions, which may not allow permanent installations of new packages, or the environment may reset after each execution."
See error

Expected behavior
Telling TaskWeaver directly to install yahooquery via prompt does succeed. However, subsequent interactions requiring the module fail.  For some reason, yfinance works
Screenshots
If applicable, add screenshots to help explain your problem.
Environment Information (please complete the following information):

OS: Linux (inside a Docker container)
Python Version Python 3.10
LLM that you're using: GPT-4 (Azure OpenAI)
Other Configurations except the LLM api/key related: [e.g., code_verification: true]

Additional context
Running this inside a Docker container in a k8s cluster.

Turns out it was a user error on my part....


Virtual participation channels

As we discussed in #25 for virtual participation there will be access to the livestream and workshops. For interaction with the moderators and other participants, we are looking at multiple options:
Broadcast / teleconference

Workshops: chat + voice enabled for all in BigBlueButton (BBB)
Plenum: chat only Q&A (in BBB, social media, forum..) to keep the focus on the livestream

Interactivity / voting / etc

Live polling: built into BBB, or open source alternatives like Particify and Pingo
HACKnight: use Mozilla Hubs or Workadventu.re for extra atmosphere

Social media / forums

The official hashtag and @-mentions will be monitored
We had spam issues last year on YouTube and will disable Comments on the livestreams
We are considering setting up a GitHub Discussion (see example here), assuming the barrier of setting up a GitHub account is not too high for our community to participate

Questions

Is BBB-chat and social media sufficient, or do we need additional forum? If so, is GitHub Discussions a good choice, or should we instead set up a Discourse forum (e.g. https://forum.opendata.ch / https://ask.fedoraproject.org/ ....) or another solution?
Should we look at setting up a dedicated conference app, or some other way to tie the platforms together? E.g. https://github.com/loomchild/sojourner-web via FOSSDEM
What are the important hallmarks of virtual participation, how do we want to leave a memorable experience for virtual ticket holders without distracting too much away from the core purpose and within our tight budget?

We decided today to focus on BBB and the Social Media hashtags for virtual participation. I have still started a basic set up of the Discussions forum here: https://github.com/DINAcon/event/discussions/28 - we can test it, and @mariafanger will include questions about Community Platforms in the survey. As I mentioned in the call, I would like to make sure we collect the learnings from our partner communities, and try to use a platform which is as inclusive and open as possible going forward.

Resolving for 2021 - please feel free to re-open / adjust for 2022.


Build failing while following youtube example : youtube8m:extract_yt8m_features Failed

Dear colleagues, since, I am struggling to make the user example run,
I have tried several remedies available on git and stackoverflow.
Still I am facing this issue below
command used
  bazel build -c opt --linkopt=-s  --define MEDIAPIPE_DISABLE_GPU=1 --define no_aws_support=true  mediapipe/examples/desktop/youtube8m:extract_yt8m_features
ERROR: /home/user/.cache/bazel/_bazel_user/7750f0c8784028cd1fdf8f62c71a9a8a/external/com_google_protobuf/BUILD:515:10: Compiling src/google/protobuf/compiler/main.cc failed: undeclared inclusion(s) in rule '@com_google_protobuf//:protoc':
this rule is missing dependency declarations for the following files included by 'src/google/protobuf/compiler/main.cc':
  '/usr/local/lib/gcc/x86_64-pc-linux-gnu/10.4.0/include/stdarg.h'
  '/usr/local/lib/gcc/x86_64-pc-linux-gnu/10.4.0/include/stddef.h'
  '/usr/local/lib/gcc/x86_64-pc-linux-gnu/10.4.0/include/stdint.h'
Target //mediapipe/examples/desktop/youtube8m:extract_yt8m_features failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 2.317s, Critical Path: 2.07s
INFO: 129 processes: 129 internal.
FAILED: Build did NOT complete successfully

I am using
CentOS 7
gcc 10.4.0
cuda 11.2
tensorflow 2.9.1 (tried with and without gpu) same error
OpenCV 4.6.0-dev
bazel 5.2.0
If there is any supporting help which can assist me identifying what mistake I am doing in reaching this target run.
Your kind help and advise will be highly appreciated

Hi @Tortoise17, Please refer to this closed issue and comment for your query. Thank you!

@sureshdagooglecom @kuaashish @cdibona @camillol  dear friends. Can you guess now what error could be and reason for this failure?

ERROR: /run/media/user/soccer/work_/mediapipe/mediapipe/examples/desktop/youtube8m/BUILD:17:10: Linking mediapipe/examples/desktop/youtube8m/extract_yt8m_features failed: (Exit 1): gcc failed: error executing command /usr/local/bin/gcc @bazel-out/k8-opt/bin/mediapipe/examples/desktop/youtube8m/extract_yt8m_features-2.params

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
bazel-out/k8-opt/bin/mediapipe/calculators/tensorflow/_objs/pack_media_sequence_calculator/pack_media_sequence_calculator.o:pack_media_sequence_calculator.cc:function mediapipe::PackMediaSequenceCalculator::Process(mediapipe::CalculatorContext*): error: undefined reference to 'cv::String::allocate(unsigned long)'
bazel-out/k8-opt/bin/mediapipe/calculators/tensorflow/_objs/pack_media_sequence_calculator/pack_media_sequence_calculator.o:pack_media_sequence_calculator.cc:function mediapipe::PackMediaSequenceCalculator::Process(mediapipe::CalculatorContext*): error: undefined reference to 'cv::imencode(cv::String const&, cv::_InputArray const&, std::vector<unsigned char, std::allocator<unsigned char> >&, std::vector<int, std::allocator<int> > const&)'
bazel-out/k8-opt/bin/mediapipe/calculators/tensorflow/_objs/pack_media_sequence_calculator/pack_media_sequence_calculator.o:pack_media_sequence_calculator.cc:function mediapipe::PackMediaSequenceCalculator::Process(mediapipe::CalculatorContext*): error: undefined reference to 'cv::String::deallocate()'
bazel-out/k8-opt/bin/mediapipe/calculators/tensorflow/_objs/pack_media_sequence_calculator/pack_media_sequence_calculator.o:pack_media_sequence_calculator.cc:function mediapipe::PackMediaSequenceCalculator::Process(mediapipe::CalculatorContext*): error: undefined reference to 'cv::String::deallocate()'
bazel-out/k8-opt/bin/mediapipe/calculators/video/_objs/opencv_video_decoder_calculator/opencv_video_decoder_calculator.o:opencv_video_decoder_calculator.cc:function mediapipe::OpenCvVideoDecoderCalculator::Open(mediapipe::CalculatorContext*): error: undefined reference to 'cv::VideoCapture::VideoCapture(cv::String const&)'
bazel-out/k8-opt/bin/mediapipe/calculators/video/_objs/opencv_video_decoder_calculator/opencv_video_decoder_calculator.o:opencv_video_decoder_calculator.cc:function mediapipe::OpenCvVideoDecoderCalculator::Open(mediapipe::CalculatorContext*): error: undefined reference to 'cv::String::deallocate()'
bazel-out/k8-opt/bin/mediapipe/calculators/video/_objs/opencv_video_decoder_calculator/opencv_video_decoder_calculator.o:opencv_video_decoder_calculator.cc:function mediapipe::OpenCvVideoDecoderCalculator::Open(mediapipe::CalculatorContext*): error: undefined reference to 'cv::String::allocate(unsigned long)'
bazel-out/k8-opt/bin/mediapipe/calculators/video/_objs/opencv_video_decoder_calculator/opencv_video_decoder_calculator.o:opencv_video_decoder_calculator.cc:function mediapipe::OpenCvVideoDecoderCalculator::Open(mediapipe::CalculatorContext*): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
bazel-out/k8-opt/bin/mediapipe/calculators/video/_objs/opencv_video_decoder_calculator/opencv_video_decoder_calculator.o:opencv_video_decoder_calculator.cc:function mediapipe::OpenCvVideoDecoderCalculator::Open(mediapipe::CalculatorContext*): error: undefined reference to 'cv::String::deallocate()'
collect2: error: ld returned 1 exit status
Target //mediapipe/examples/desktop/youtube8m:extract_yt8m_features failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 972.060s, Critical Path: 360.72s
INFO: 4208 processes: 114 internal, 4094 processwrapper-sandbox.
FAILED: Build did NOT complete successfully

Hi @Tortoise17, Please go through this closed issue #666 and could you try the steps mentioned in the #666(comment) for your latest query. Thank you!


Added transpose to get_pixel_position_of_sources()

Also removed useles test.

In addition, I believe codecov/project failed because there is not coverage-report at the latest commit on the main branch. But because the "error message" in Details doesn't show any meaningful information why it fails I'm not sure about it. I also haven't found something useful after a google-search.
So I just hope that after #491 is merged successfully it will work. Otherwise I must have a look at this issue.


dev: modexp

as seen together teccak will repair modexp and make kakarot great again ♥
### Tasks
- [ ] check modexp specification
- [ ] ignore kakarot modexp implementation and start over
- [ ] use new circuits?? on starknet to reimplement modexp soundly
- [ ] decide whether to implement modexp not for arbitrary length uints, but rather up to 256 bits

Ahoy sir, as per seen offline, I am interested in this endeavor. I would oblige if I could get the chance to be assigned.

@tekkac as a first task, a modexp version that works with inputs of size < 256 bits would be nice. I think it should be doable with Garaga.

I created a repo with two impls: u256 and u384 with circuits.
I will integrate the Circuit impl in kkrt-ssj with unit testing.

to fix your trouble check this solution click
maybe this will solve your problem.

I created a repo with two impls: u256 and u384 with circuits. I will integrate the Circuit impl in kkrt-ssj with unit testing.

What do you think is your ETA on this? Can we include it in our next release early november?
In order to have code freeze before mainnet


add UI debug mode

part of the implementation of https://github.com/Solution-Applications/glow/issues/1163

incorrect set of commits for this branch


About TraceCrossThread ,think how to transport my threadLocal variables

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion

Question

In SW i use TraceCrossThread make trace across thread. But I also want transport my threadLocal variables through threads, here  i make a nest wrapper callable ,like this :
Future<List> operationFuture = pool.submit(CallableWrapper.of(new ThreadLocalCallable(userWrapper::doRecall)));

when  ThreadLocalCallable construct method was called, i record the  threadLocal variables  ,then   when userWrapper::doRecall was called i set the  threadLocal variables to the work thread context, so in doRecall method it can access the  threadLocal variables.
I want to known ,is there a better way to transport the threadLocal variables in SW? or should another annotation to permit transport  threadLocal variables ?

I can't see there is the difference between the thing you described and native TraceCrossThread. If you are going to change source codes, what makes it better?


Missing custom headers on CloudFront update

Update to the CloudFront Origins is missing a CustomHeader that will cause issues. The key is required, but no data needs to be filled in. You can add the following line to 475 to make it work properly:
'CustomHeaders': {u'Quantity': 0}
References: https://github.com/ubergeek42/lambda-letsencrypt/blob/master/lambda_function.py#L469-L474

On a similar note: 'QueryStringCacheKeys': {'Quantity': 0} is needed in the ForwardedValues in line 493.
https://github.com/ubergeek42/lambda-letsencrypt/blob/master/lambda_function.py#L493-L496

I've already posted a pull request for this, but that hasn't been merged for some time now: https://github.com/ubergeek42/lambda-letsencrypt/pull/24


Remove unneeded constructCSRHostName

I am not 100% sure this is not needed, but Limin mentioned it was and it
would make some other things simpler. Hopefully either a test fails or a
security reviewer rejects this if we do need it...
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
dde7cead9859311a4684400b2d5c9436419c4d6a
link
/test release-notes_istio

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

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
dde7cead9859311a4684400b2d5c9436419c4d6a
link
/test release-notes_istio

lint_istio
dde7cead9859311a4684400b2d5c9436419c4d6a
link
/test lint_istio

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

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
dde7cead9859311a4684400b2d5c9436419c4d6a
link
/test release-notes_istio

lint_istio
dde7cead9859311a4684400b2d5c9436419c4d6a
link
/test lint_istio

integ-security-k8s-tests_istio
dde7cead9859311a4684400b2d5c9436419c4d6a
link
/test integ-security-k8s-tests_istio

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

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
dde7cead9859311a4684400b2d5c9436419c4d6a
link
/test release-notes_istio

lint_istio
dde7cead9859311a4684400b2d5c9436419c4d6a
link
/test lint_istio

integ-security-k8s-tests_istio
dde7cead9859311a4684400b2d5c9436419c4d6a
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
dde7cead9859311a4684400b2d5c9436419c4d6a
link
/test integ-telemetry-k8s-tests_istio

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

/retest

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
dde7cead9859311a4684400b2d5c9436419c4d6a
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
dde7cead9859311a4684400b2d5c9436419c4d6a
link
/test integ-telemetry-k8s-tests_istio

lint_istio
dde7cead9859311a4684400b2d5c9436419c4d6a
link
/test lint_istio

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

@howardjohn: PR needs rebase.

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

@istio/wg-security-maintainers ping? Any plans to review PRs from people not in the WG?


Prevent MDI children user control from overflowing their container on init

Hi,
I recently use your dragablz/dockablz library and I can't find a way to prevent child user controls that are floating items from overflowing the tab control container on init. An exemple of this undesirable behaviour :

This is the example code :
MainWindow.xaml :
<Window x:Class="OverflowMDIChild.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:OverflowMDIChild"
        xmlns:dragablz="clr-namespace:Dragablz;assembly=Dragablz"
        xmlns:dockablz="clr-namespace:Dragablz.Dockablz;assembly=Dragablz"
        mc:Ignorable="d"
        Title="MainWindow" Height="350" Width="525">
    <Grid x:Name="MainGrid" Margin="0,0,0,0" Background="#FF5C8F88">
        <Grid.RowDefinitions>
            <RowDefinition Height="200*"/>
        </Grid.RowDefinitions>

        <dockablz:Layout Partition="2AE89D18-F236-4D20-9605-6C03319038E6" Name="FloatLayout"
                    IsFloatDropZoneEnabled="False"
                    FloatingItemHeaderMemberPath="Header"
                    FloatingItemsContainerMargin="0 0 0 0"
                    Grid.Row="0">

            <dockablz:Layout.FloatingItems>
            </dockablz:Layout.FloatingItems>

        </dockablz:Layout>
    </Grid>
</Window>

MainWindow.xaml.cs :
using System.Windows;

namespace OverflowMDIChild
{
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();

            var NoOverflowChild = new OverflowingChildren
            {
                Header = "NonOverflowing mdi child demo",
                Content = "A\nA\nA\nA\nA",
            };

            var OverflowChild = new OverflowingChildren
            {
                Header = "Overflowing mdi child demo",
                Content = "A\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\nA\n",
            };

            this.FloatLayout.FloatingItems.Add(NoOverflowChild);
            this.FloatLayout.FloatingItems.Add(OverflowChild);
        }
    }
}

OverflowingChildren.xaml :
<UserControl x:Class="OverflowMDIChild.OverflowingChildren"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="clr-namespace:OverflowMDIChild"
             mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid x:Name="ResizeElemGrid" Margin="0,0,0,0">
        <Grid.RowDefinitions>
            <RowDefinition Height="146*"></RowDefinition>
        </Grid.RowDefinitions>

        <TextBlock Name="OverflowContent"
                   Grid.Row="0"
                   Text="{Binding Content}"
                   >
        </TextBlock>
    </Grid>
</UserControl>

OverflowingChildren.xaml.cs :
using System.Windows.Controls;

namespace OverflowMDIChild
{
    /// <summary>
    /// Logique d'interaction pour OverflowingChildren.xaml
    /// </summary>
    public partial class OverflowingChildren : UserControl
    {

        public string Header
        {
            get; set;
        }
    }
}

This is not great UX : the user has to manually resize every newly created child items in order to fit them into the container view. Is there a way to do it with dragablz ?
L.
N.B. : I'm okay with allowing child items overflow the dockablz on user drag or resize actions afterwards (since the user is the one purposelly doing the action).

Unfortunately there is 1 part of the API yet still to be implemented; which is setting all the child items sizes and locations on startup...

Could you point to the part of the code base that should be responsible for this ? If I have some free time, I'll try to hack something for a pull request. I'm not exactly familiar with the C#/WPF ecosystem, but I'm written my fair share of MFC GUIs in the past.


Multiple weapons of same class in inventory

Right now you can have only 1 weapon of each class, this should be modifiable when calling the inventory constructor.

Irrelevant with scene rework.


pythonnet causes an incompatibility with pymechanical

we use the ansys fork: ansys-pythonnet

@koubaa We will use this branch for PyAEDT too.
Adding @SMoraisAnsys for visibility.


Not able to select answers in Trick Answer selection screen

When viewing this screen, pressing on the grey dots doesn't select the answer.
Tested on iOS 13.7 iPhone X

The correct answer was not yet entered in this case.

@amarax Yes, it was my impression that it is the case, if not, let me know, I can change the logic and fix it without any new binary releases.

+1 to the suggestion from today's meeting to focus on the single-device scenario and update screens/details to reflect that. In this scenario, because there's only one device, that device is able to both 1) enter trick answers and 2) serve as a Facilitator who chooses the trick answers that are submitted (the ones that are randomly mixed in with the correct answer and shown to the rest of the class).
As shown in the Facilitator flow in Figma, please note that the Facilitator is able to select/unselect answers as soon as even 1 trick answer has been entered (this can happen before the correct answer has been guessed/revealed). This ability to be able to select/unselect answers as soon as even 1 trick answer has been entered applies to both the single- and multi-device scenarios. Great UX & dev collaboration -- thanks to both of you, Mani & Yong Lin!

Implemented and pushed to appcenter as part of https://github.com/rightoneducation/righton-app/pull/39. This should be fixed in the latest app version and js bundle


when the zoom is at minimum , croppie image does not return proper image .

Same issue here.

I have been using this workaround:
this.croppie.bind({
  url,
  zoom: 0, // all the way out
}).then(function() {
  // workaround
  this.croppie.setZoom(0.1)
})


Heads-Up: Title change and more edidts

Docs Build status updates of commit 50121b4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/mrlearning-base-ch4.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


chore(root): add npmrc

Summary of the changes
Makes the CI runs a bit more unambitous and stable, but at the cost of CI speed.
Related issue
N/A

If you see this PR, the checks are passed, so this needs merge before #18


A11y_AzureToolsStorageExplorer_BlobContainer_BlobContainerAcquireLease_ScreenReader: Title is not provided to the Acquire Lease dialog

“Check out Accessibility Insights! Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHubTags: #A11y_AzureToolsStorageExplorer; #A11yMAS; #A11YTCS; #DesktopApp; #MAS1.3.1;#MAS2.4.2 #NVDA;
Environment Details:
Application Name: Azure Tools Storage Explorer
Application Version: 1.10.0
NVDA Version 2019.2
Repro Steps:
1.Launch Storage Explorer
2.Navigate to "Open Connect dialog" pane and Sign in to Azure.
3.Go to "Manage Accounts" pane and Select the subscriptions you will use. Once selected, click on "Apply" button.
4.Navigate to "Blob Containers" of the selected subscription, right click and hit enter on "Create Blob container" to Create a new Blob container.
5.Right click on created blob container and select "Acquire Lease" control and hit enter.
6.Start NVDAand check whether the NVDAreads the title of the dialog as Acquire Lease when opened.
Actual:
Voiceover does not read the title of the dialog as Acquire Lease dialog is opened after click on Acquire lease menu.
Same issue is observed in JAWS also.
Expected:
NVDA should read the title as Acquire Lease dialog opened.
UserImpact:
Screen reader users unable to know the which dialog opened if it will not read the title.
Attachment for Reference:
1985_A11y_AzureToolsStorageExplorer_BlobContainer_BlobContainerAcquireLease_ScreenReader.pptx

Fix checked into master.

@MRayermannMSFT Verified the issue and is no longer reproduced on version 1.12.0 .Please refer the attachment

GithubTags:#Closed;

GitHubTags:#BM-TCS-StorageExplorer-Win32-Sep2019;


how can i use this code in Win10?

Thanks for you kindly sharing.
Can I use run the pretrained model in  Win10?

i have the same question


BaseArrayHelper treats objects properties as array keys

If object property is private or not exists, it returns default value.

This has been discussed many times before, the current behavior is exptected. see https://github.com/yiisoft/yii2/issues/7193#issuecomment-73287156


refine algorithm using built-in methods for Arrays

Because

This PR

Issue

Closes #XXXXX
Additional Information

Pull Request Requirements

[ ] I have thoroughly read and understand The Odin Project Contributing Guide
[ ] The title of this PR follows the location of change: brief description of change format, e.g. 01_helloWorld: Update test cases
[ ] The Because section summarizes the reason for this PR
[ ] The This PR section has a bullet point list describing the changes in this PR
[ ] If this PR addresses an open issue, it is linked in the Issue section
[ ] If this PR includes any changes that affect the solution of an exercise, I've also updated the solution in the /solutions folder

Excellent one-liner baby!


make proper brush strokes in write mode

currently just draws dots every move event. should draw a smooth line

use 3rd party


refactor(metrics): remove actor_id label from back-pressure metrics based on metrics level

Signed-off-by: Bugen Zhao<EMAIL_ADDRESS>hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
See background in #18108. Resolve https://github.com/risingwavelabs/risingwave/issues/18062.
Following the idea described in https://github.com/risingwavelabs/risingwave/issues/18108#issuecomment-2303836241, i.e., split avg into sum and count, this PR reduces the cardinality of the back-pressure metrics stream_actor_output_buffer_blocking_duration_ns by masking the actor_id label if the metrics level is less verbose than Debug. This is achieved by utilizing RelabeledMetricVec.
Tested locally and the results are the same.
Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

Can we verify that the amount of metrics ingested by prometheus is in fact less than before, after this PR?

Can we verify that the amount of metrics ingested by prometheus is in fact less than before, after this PR?

Sure. This is what the metrics look like when metrics_level is set to debug:
# HELP stream_actor_output_buffer_blocking_duration_ns Total blocking duration (ns) of output buffer
# TYPE stream_actor_output_buffer_blocking_duration_ns counter
stream_actor_output_buffer_blocking_duration_ns{actor_id="10",downstream_fragment_id="1",fragment_id="2"} 192042
stream_actor_output_buffer_blocking_duration_ns{actor_id="11",downstream_fragment_id="1",fragment_id="2"}<PHONE_NUMBER>
stream_actor_output_buffer_blocking_duration_ns{actor_id="12",downstream_fragment_id="1",fragment_id="2"} 1167584
stream_actor_output_buffer_blocking_duration_ns{actor_id="17",downstream_fragment_id="2",fragment_id="3"}<PHONE_NUMBER>
stream_actor_output_buffer_blocking_duration_ns{actor_id="18",downstream_fragment_id="2",fragment_id="3"} 5389916
stream_actor_output_buffer_blocking_duration_ns{actor_id="19",downstream_fragment_id="2",fragment_id="3"} 5196666
stream_actor_output_buffer_blocking_duration_ns{actor_id="20",downstream_fragment_id="2",fragment_id="3"} 4986791
stream_actor_output_buffer_blocking_duration_ns{actor_id="25",downstream_fragment_id="2",fragment_id="5"}<PHONE_NUMBER>
stream_actor_output_buffer_blocking_duration_ns{actor_id="26",downstream_fragment_id="2",fragment_id="5"} 4813958
stream_actor_output_buffer_blocking_duration_ns{actor_id="27",downstream_fragment_id="2",fragment_id="5"} 4993415
stream_actor_output_buffer_blocking_duration_ns{actor_id="28",downstream_fragment_id="2",fragment_id="5"} 5631874
stream_actor_output_buffer_blocking_duration_ns{actor_id="33",downstream_fragment_id="3",fragment_id="4"} 968528994
stream_actor_output_buffer_blocking_duration_ns{actor_id="33",downstream_fragment_id="5",fragment_id="4"}<PHONE_NUMBER>
stream_actor_output_buffer_blocking_duration_ns{actor_id="34",downstream_fragment_id="3",fragment_id="4"} 516835
stream_actor_output_buffer_blocking_duration_ns{actor_id="34",downstream_fragment_id="5",fragment_id="4"} 2560459
stream_actor_output_buffer_blocking_duration_ns{actor_id="35",downstream_fragment_id="3",fragment_id="4"} 667207
stream_actor_output_buffer_blocking_duration_ns{actor_id="35",downstream_fragment_id="5",fragment_id="4"} 602543
stream_actor_output_buffer_blocking_duration_ns{actor_id="36",downstream_fragment_id="3",fragment_id="4"} 553044
stream_actor_output_buffer_blocking_duration_ns{actor_id="36",downstream_fragment_id="5",fragment_id="4"} 2605332
stream_actor_output_buffer_blocking_duration_ns{actor_id="9",downstream_fragment_id="1",fragment_id="2"} 2575042

While the following is under info level, which is the default in production.
# HELP stream_actor_output_buffer_blocking_duration_ns Total blocking duration (ns) of output buffer
# TYPE stream_actor_output_buffer_blocking_duration_ns counter
stream_actor_output_buffer_blocking_duration_ns{actor_id="",downstream_fragment_id="1",fragment_id="2"}<PHONE_NUMBER>97
stream_actor_output_buffer_blocking_duration_ns{actor_id="",downstream_fragment_id="2",fragment_id="3"} 983293
stream_actor_output_buffer_blocking_duration_ns{actor_id="",downstream_fragment_id="2",fragment_id="5"} 649668
stream_actor_output_buffer_blocking_duration_ns{actor_id="",downstream_fragment_id="3",fragment_id="4"} 321543
stream_actor_output_buffer_blocking_duration_ns{actor_id="",downstream_fragment_id="5",fragment_id="4"} 3485792


Starter of TS

how can i start with TypeScript？

https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html

Doesn't looks like this question belongs here.
There are resources available(handbook) on official TypeScript website and also a free course available on coursera.
https://www.typescriptlang.org/docs/handbook/basic-types.html
https://courses.edx.org/courses/course-v1:Microsoft+DEV273x+1T2019a/course/


Checkout branch deletes local changes

Just want to ask if this is a bug or a feature.
Currently when you have local changes in a branch that you checked out from Gerrit via the plugin they will be lost when different revision / branch is checked out. Without a warning.
I'd expect that when I'm fiddling with changes in a branch that I've just checked out from Gerrit my changes will be kept there. Or at least ask/warn me that my local changes will be lost if I checkout.
Thanks for the comments.

Happened to me, too. Hooray for IDEA's local history!

I'm not able to reproduce this issue. When I have local change and try to check out a change, I get an error balloon:

Checkout Error
error: Your local changes to the following files would be overwritten by checkout:
TEST2.txt
test/test.iml
Please, commit your changes or stash them before you can switch branches.
Aborting

What's the exact workflow to reproduce this issue? Also, what version of IntelliJ are you using?

Hi, I tested a lot and found it to be easily reproducible:

Checkout master.
Delete all local review branches.
Make a change in any file X that is not even touched by some gerrit change Foo.
In the Gerrit tool window use the context menu for "Foo" to checkout foo.
X is still change - fine so far
Checkout master again (changed X is still there)
Again use the Gerrit tool window to checkout Foo
=> Change in X is gone.

So it seems that if you already have a local branch for the current patch set of a gerrit change a switch to that branch deletes all local changes.
(BTW using IDEA itself to checkout the local branch works fine, local changes are preserved. However I don't usually keep track of my local review branches and the specific patch sets they are on.)

@eekboom: Thanks a lot for the detailed reproduction steps. I did not remember that this "feature" was introduced with a pull request a long time ago. Will release a new version which includes this fix soon.


Showcase Submission for challenges/c2-collatz-conjecture

Thank you Ege Bayraktar for your contribution! A member of the Coding Train team will review it shortly.

Bayraktar - Collatz Hive
Ege Bayraktar

I don't see the design when I run the code but I'm going to merge, the thumb is so beautiful! Let me know if I am mistaken or if I can help debug!


Audio source triangulation

This is just future suggestion to already impressive work,
What if rpi-deep-pantilt can also triangulate audio source, point to that direction.
Perhaps 2 microphone practically spaced far enough apart & measure 2 audio channel input speed difference, triangulate & apply toward servo angle processing and point to that direction?
(I know it'll perhaps require 360 degree servo)
https://www.tensorflow.org/api_docs/python/tf/audio/decode_wav

Hey, just wanted to give you an update on this issue.
I'm experimenting with a 5/8 radial mic array now. Will keep you posted if I publish my directional models. I think the scope of those models is a bit beyond this project, so I'd release in a separate codebase.


[#101483360] Display last modified dates on the G-Cloud 7 dashboard page

This pull request adds a bit of contextual information to the G-Cloud 7 dashboard about when the supplier pack and the files on the updates page were last modified.
Date formats?
I prefer the dates the way they're shown in Ralph's prototype's dates (ie, 26 August (I've included an image at the bottom)), but we don't have this format in our list of formats.  Is it worth adding in, or are we otherwise happy using our Wednesday 26 August 2015 format?
>> Story on Pivotal

Before

Now

Ralph's Prototype

Making some fairly significant changes to this page in #203. Would be good to get that merged first (waiting on @cathrooney) and then take another look at how these dates can be displayed.

@ralph-hawkins wants the 26 August dates instead of the Wednesday 26 August 2015 dates.

@quis Right, I'll wait on you then


Error Code 415 on any route

Hi @Thomas-X,
I'd the same motivation as you, after seeing JSON-Sever not being able to serve, well, JSON-API and no intentions to do so, because seemingly the concept of JSON-Api isn't even understood "there", if I read some threads there already from 2015, comparing JSON-API to Swagger... 🙄
So, congrats for the effort, and normally I just "mock" my APIs with a real implementation via Laravel and some JSON-API packages, which seems to simple, that mocking isn't really needed, which might be one of the reasons for the lack of JSON-API mocking solutions. But for a current project, it would be beneficial to have some mocking in an easy to modify and run node package, so here I'm. 🤗😹
Should this currently being in a working state? I think I setup everything so far with the sample db.json and .jsonapimockrc (E.g. "contentType": "application/json"), but on any route I get the following error response.
{"errors":[{"code":415,"title":"Unsupported media type, your media type is: , it should be application/json","detail":"Error: Unsupported media type, your media type is: , it should be application/json\n    at /Users/black/.config/yarn/global/node_modules/jsonapi-mock/app.js:72:27\n    at Layer.handle [as handle_request] (/Users/black/.config/yarn/global/node_modules/express/lib/router/layer.js:95:5)\n

It should be in a working state, can you check your headers that you're sending in the request and post them here? The request needs a Accept: application/vnd.api+json header and a Content-Type:application/vnd.api+json header, if not configured otherwise.
That's what's triggering this error, you're media type is invalid, either you're missing the accept or contentType header or I messed up 😰

Hi again @Thomas-X, you're of course absolutely right, the common mistake hit me, to just want to curl or throw everything in the browser for a quick test... 🙃
Btw., did you check out jsonapi-server? I think with a little fine-tuning for ease of use and lowdb support, this could be an alternative base for jsonapi-mock. If you check the Example, the data there is just static and including faker was straight forward.
Advantage of jsonapi-server would be that it already supports everything, incl. polymorphic relationships, Swagger.json generation and even GraphQL, plus  it could make use of real DBs if wanted.


Move proof producer logic and dependecies to a separate repository

It seems that proof-market toolchain would be more convenient to use if the user could easily substitute the proof-producer binaries.
Because many teams will inevitably do custom implementations and optimizations of our prover (including hardware-specific deployments), it may make sense to give them a separate repository, which they could fork and do their job there.
Separate prover can be moved to https://github.com/NilFoundation/proof-producer

It became clear to me that we need to do [this task](Includes thishttps://github.com/NilFoundation/zkllvm/issues/179) first since proof producers copy part of the serialization algorithm.


urrllib3 error SSL module not available

Got a report from @florian-huber about a possible bug:
Checking compliance with fair-software.eu...

url: https://github.com/iomega/spec2vec

urllib3.exceptions.SSLError: Can't connect to HTTPS URL because the SSL module is not available.

During handling of the above exception, another exception occurred:
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443):
Max retries exceeded with url: /iomega/spec2vec/master/.howfairis.yml
(Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
During handling of the above exception, another exception occurred:
requests.exceptions.SSLError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443):
Max retries exceeded with url: /iomega/spec2vec/master/.howfairis.yml
(Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))

I can't reproduce this error though. It may be helpful to have some more info on OS, Python version, virtualenv, etc.

Looks like this was a PATH issue. Still worth considering if we can detect this and generate a more helpful message.

Closing until we have more actionable information.

Closing until we have more actionable information.


Dockerfile not consistent with latest image?

When I use image from docker hub: puckel/docker-airflow:1.10.2 and docker-compose-LocalExecutor.yml for docker-compose up I got no issue running the airflow web server.
However when I try to build image from the Dockerfile and run the same docker-compose file, I got this:
webserver_1  | Traceback (most recent call last):
webserver_1  |   File "/usr/local/bin/airflow", line 21, in <module>
webserver_1  |     from airflow import configuration
webserver_1  |   File "/usr/local/lib/python3.6/site-packages/airflow/__init__.py", line 36, in <module>
webserver_1  |     from airflow import settings, configuration as conf
webserver_1  |   File "/usr/local/lib/python3.6/site-packages/airflow/settings.py", line 266, in <module>
webserver_1  |     configure_orm()
webserver_1  |   File "/usr/local/lib/python3.6/site-packages/airflow/settings.py", line 188, in configure_orm
webserver_1  |     engine = create_engine(SQL_ALCHEMY_CONN, **engine_args)
webserver_1  |   File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/__init__.py", line 431, in create_engine
webserver_1  |     return strategy.create(*args, **kwargs)
webserver_1  |   File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/strategies.py", line 87, in create
webserver_1  |     dbapi = dialect_cls.dbapi(**dbapi_args)
webserver_1  |   File "/usr/local/lib/python3.6/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 599, in dbapi
webserver_1  |     import psycopg2
webserver_1  |   File "/usr/local/lib/python3.6/site-packages/psycopg2/__init__.py", line 50, in <module>
webserver_1  |     from psycopg2._psycopg import (                     # noqa
webserver_1  | ImportError: libpq.so.5: cannot open shared object file: No such file or directory
webserver_1  | Traceback (most recent call last):
webserver_1  |   File "/usr/local/bin/airflow", line 21, in <module>
webserver_1  |     from airflow import configuration
webserver_1  |   File "/usr/local/lib/python3.6/site-packages/airflow/__init__.py", line 36, in <module>
webserver_1  |     from airflow import settings, configuration as conf
webserver_1  |   File "/usr/local/lib/python3.6/site-packages/airflow/settings.py", line 266, in <module>
webserver_1  |     configure_orm()
webserver_1  |   File "/usr/local/lib/python3.6/site-packages/airflow/settings.py", line 188, in configure_orm
webserver_1  |     engine = create_engine(SQL_ALCHEMY_CONN, **engine_args)
webserver_1  |   File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/__init__.py", line 431, in create_engine
webserver_1  |     return strategy.create(*args, **kwargs)
webserver_1  |   File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/strategies.py", line 87, in create
webserver_1  |     dbapi = dialect_cls.dbapi(**dbapi_args)
webserver_1  |   File "/usr/local/lib/python3.6/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 599, in dbapi
webserver_1  |     import psycopg2
webserver_1  |   File "/usr/local/lib/python3.6/site-packages/psycopg2/__init__.py", line 50, in <module>
webserver_1  |     from psycopg2._psycopg import (                     # noqa
webserver_1  | ImportError: libpq.so.5: cannot open shared object file: No such file or directory

Is there some configurations I am missing?

See #342

Install library libpq5 as it is getting removed later:
netcat
locales
libpq-dev
&& sed -i 's/^# en_US.UTF-8 UTF-8$/en_US.UTF-8 UTF-8/g' /etc/locale.gen \

@shreyapatni Can you provide an example of where you are installing libpq5? Thanks!

It's because of the psycopg2 release... Create #370 for it.


'locked' missing from Idle.IdleState

locked is missing from Idle.IdleState
Code: https://github.com/Lusito/webextension-polyfill-ts/blob/00eb9908031514304366f3f33e0550c52ef5f4bb/src/generated/idle.ts#L16
MDN Docs: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/idle/IdleState

Thanks. Added to the growing list of fixes for mozillas incomplete schema files.


Wait for lxml release with wheels

For the next mitmproxy release, we want to recommend Python 3.5 by default. While this is not ultimately blocking, it would be ideal to have a lxml release with Python 3.5 wheels on PyPI for this.  I did some work to make that happen in https://github.com/lxml/lxml/pull/200, so this hopefully can be resolved rather soon.

We're blocked upstream by this, and I'd like to get 0.18 out the door. Since 0.18 is our last Python2/3 release, we can cope with not having lxml wheels. I'm moving this to the 1.0 milestone


docs(readme): add documention for nested key match

This provides an example for using this module with nested keys
closes #3

LGTM

Current coverage is 100% (diff: 100%)

Merging #4 into master will not change coverage

@@           master    #4   diff @@
===================================
  Files           1     1
  Lines          72    72
  Methods         0     0
  Messages        0     0
  Branches        0     0
===================================
  Hits           72    72
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 6478bfc...6aaac43

Weird... I'll have to look into lgtm to see what's wrong...


Server not closing connection if client shutdown

I noticed the server doesn't close the connection is client was forcefully shut down and i was wondering how could i implement a close client connection if connection is not active? that way preventing problem, for example if client is using a custom sub domain and tries to reconnect it won't be able to used the same custom sub domain cause the current connection is still open in the server side and the server will assign a random sub domain even if you specified to use an specific sub domain.
I also noticed that if you tried to reconnect to your previous connection using previous sub domain the server will crash giving you a [error] bookrc.js:8 read ECONNRESET
Any ideas on how to fix this issue?

Which client does this refer to? The lt process?

Server has undergone a code refactor.


api.proto: expose real pids when adding processes

Resurrecting https://github.com/docker/docker/pull/19095 as per @LK4D4 comment https://github.com/docker/docker/issues/18635#issuecomment-247064306. Would be nice for docker to expose exec's pids in order to give an admin full control over execs (e.g. someone spawns run-away processes like tail -f /dev/null which never ends and he wants to kill it directly).
I'm not sure I did everything right here, so let me know what I need to correct!
/cc @LK4D4
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

The name here is confusing I admit, but this Pid is actually the exec id (basically the exec sha) in this context.
What you want to do is return the actual process pid from within addProcess (in supervisor/add_process.go). The pid will be within the process struct (i.e. process.pid), just add  it as part of the StartResponse so you can access it from apiServer.AddProcess).

@mlaventure thanks, updated PTAL

@mlaventure took care of your comments, PTAL

LGTM

LGTM

Any workaround to get PID of command executed by docker exec? I must wait the new release of docker?

@ldesi https://gist.github.com/runcom/cb47fb04a2eedd5aff79cc5ec78302fd

@runcom thanks!
Anyway the problem seems not to be completely solved, because ExecIDs field is not ordered for launch time, at first glance, or better, docker inspect does not produce the same output always.
So, to precisely get the PID of last executed command via docker exec, we need to exclude the  processes which are already run in some way.

@runcom a workaround solution may docker exec command and get the highest PID within docker inspect -f "{{.ExecIDs}}" $CONTAINER_NAME output...seems to be work!


Add Node.js v4 stable to Travis config

NodeJS v4 was just released NodeJS v4 announcement. This updates the CI build script to accommodate the release. Note: It should be "4", not "4.0" since Node will surely get a lot of minor updates before it goes LTS and reveal.js should test on the latest of them.

Thanks. I can't merge this as it's on the wrong branch, but have manually changed it in dev.


Update for Qiskit 1.0

Makes some minor tweaks so the code can work with Qiskit 1.0.
Unfortunately I this is untested as I couldn't get the project installed easily. It doesn't look like there's anything that should cause problems, but if you hit any then ping me and I'm happy to help troubleshoot.

I have updated the main branch of QoptKit following your suggestions to be compatible with QISKIT 1.0.  However, these ones were not enough. I have also done some other minor modifications to the code to avoid some functionality breaking bugs due to the update to QISKIT V1.0. I have called this update QoptKit V1.1. The html documentation has also been updated ( this is the reason you will see many commits in the QoptKit main branch in spite of being a small update).
Can you take the changes from the main branch of QoptKIT in my github page or should I push it somehow?

@SOQCSAdmin unfortunately I'm away from my computer this week so can't do any pull / push but I can take a look when I'm back.
Here's the guide I've been using: https://docs.quantum.ibm.com/api/migration-guides/qiskit-1.0-features, if you let me know more about the specific errors you're seeing I can offer more advice.

Closing as the changes have been made through a different route; thanks!


Simpler context management for LLMs

As mentioned in Discord, Pipecat bots don't automatically maintain an LLM context object for you; instead, you have to use a bunch of aggregators and other tools to manage that yourself.
We originally built that because there were plenty of use cases where you didn't necessarily want to automatically store everything the user or bot said in the context, but we should consider adding an 'easy mode' that does this for you.

Will you please consider adding https://dify.ai/ supports? it will solve the context issue and overall LLOMps solution.

Langchain's message history comes in handy here, see the langchain example. You can store the history per speaker, summarize long conversations, persist in a database etc.

closing @chadbailey59 because this is stale.  feel free to open a new updated issue if needed!


OOM on V100 GPU

When did you clone our code?
 Our suggested max number of worker in current system is 1, which is smaller than what this DataLoader is going to create. Please be aware that exce
ssive worker creation might get DataLoader running slow or even freeze, lower the worker number to avoid potential slowness/freeze if necessary.
  warnings.warn(_create_warning_msg(
wandb: Currently logged in as: yerong. Use `wandb login --relogin` to force relogin
wandb: Tracking run with wandb version 0.15.5
wandb: Run data is saved locally in /scratch/yerong/LLaVA/wandb/run-20230721_031057-pupvktt6
wandb: Run `wandb offline` to turn off syncing.
wandb: Syncing run good-serenity-7
wandb: _ View project at https://wandb.ai/yerong/huggingface
wandb:  View run at https://wandb.ai/yerong/huggingface/runs/pupvktt6
  0%|                                                                                | 0/473136 [00:00<?, ?it/s]
/scratch/yerong/.conda/envs/llava/lib/python3.10/site-packages/torch/utils/data/dataloader.py:560: UserWarning: This DataLoader will create 4 worker processes
 in total. Our suggested max number of worker in current system is 1, which is smaller than what this DataLoader is going to create. Please be aware that exce
ssive worker creation might get DataLoader running slow or even freeze, lower the worker number to avoid potential slowness/freeze if necessary.
  warnings.warn(_create_warning_msg(
Traceback (most recent call last):
  File "/scratch/yerong/LLaVA/llava/train/train.py", line 837, in <module>
    train()
  File "/scratch/yerong/LLaVA/llava/train/train.py", line 817, in train
    trainer.train()
  File "/scratch/yerong/.conda/envs/llava/lib/python3.10/site-packages/transformers/trainer.py", line 1644, in train
    return inner_training_loop(
  File "/scratch/yerong/.conda/envs/llava/lib/python3.10/site-packages/transformers/trainer.py", line 1978, in _inner_training_loop
    self.optimizer.step()
  File "/scratch/yerong/.conda/envs/llava/lib/python3.10/site-packages/torch/optim/lr_scheduler.py", line 69, in wrapper
    return wrapped(*args, **kwargs)
  File "/scratch/yerong/.conda/envs/llava/lib/python3.10/site-packages/torch/optim/optimizer.py", line 280, in wrapper
    out = func(*args, **kwargs)
  File "/scratch/yerong/.conda/envs/llava/lib/python3.10/site-packages/torch/optim/optimizer.py", line 33, in _use_grad
    ret = func(self, *args, **kwargs)
  File "/scratch/yerong/.conda/envs/llava/lib/python3.10/site-packages/torch/optim/adamw.py", line 160, in step
    self._init_group(
  File "/scratch/yerong/.conda/envs/llava/lib/python3.10/site-packages/torch/optim/adamw.py", line 114, in _init_group
    state["exp_avg"] = torch.zeros_like(
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 502.00 MiB (GPU 0; 31.75 GiB total capacity; 30.16 GiB already allocated; 319.69 MiB free;
30.32 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for
 Memory Management and PYTORCH_CUDA_ALLOC_CONF

Screenshots:
You may attach screenshots if it better explains the issue.

Unfortunately V100 does not have flash-attn support yet and we do not have control over that. Two possibilities:

Use cpu offloading.
Use QLora

You can try to see which one works, and it would be great if you can send the feedback here (I do not have access to V100s currently), so that others from community who owns V100 GPUs can have a sense of what would work.
Thanks!

Hi, do you solve the OOM problem? I am also trying to fine-tune llava on v100 gpus.

https://github.com/haotian-liu/LLaVA/pull/411 with xformers on V100


Update unshare-service warning message

#172812411
#1936

Applied the changes to v7, merged and pushed to master. Closing the PR manually


Prompt can have bad interactions with some other plugins, like Ale

I am using Ale for async linting, which can update Vim in a way that messes up import JS when presented with the list of unresolved imports. This leaves Vim in a confusing state. Here's a demonstration:

I imagine there are other plugins that might have similar interactions.
I wonder if we could fix this by using a nicer prompt. It would be great to use a command-t style prompt where one option is highlighted and I can press enter to select it and use arrow keys to move up and down the list. This would pave the way to add fuzzy text filtering as well, which could be helpful when presented with a lot of options.

@w0rp I'm wondering if you have any thoughts on how to handle this. It seems that if I have an inputlist() active and then Ale comes back and updates the buffer with errors/warnings, the inputlist becomes unreadable. I tried setting let g:ale_sign_column_always = 1 to determine if it was because the gutter appeared, but that didn't resolve this.

I'll file a bug for it.

I was looking into this, and it looks like the inputlist rendering can mess up when any timer function ticks at all. You can try the following:
function Foo(...)
endfunction

call timer_start(2000, function('Foo'))
call inputlist([])

The cursor inside of the inputlist will move, possibly other things will go wrong. You can use call timer_stopall() if that function exists, but the results could be unpredictable.
I'll file this as a bug in Vim. I don't see any reason why even 'echo' should mess with inputlist.

#1843 I filed a bug in Vim here.


Reporting a BUG

When my UserSetting.json file is not in a valid JSON format, running hurl.exe does produce an error, but the hurl.exe program does not terminate.
I have to manually kill the hurl.exe process and fix the json file before I can start hurl.exe again.
Is it possible to automatically stop the hurl.exe process when an invalid json is detected?

I think this is fixed in the newer v0.8.1, can verify if you are running the newer version ?

yes im running the v0.8.1

Weird.... I will take a look again today, Thanks for reporting.


Detect when cargo-flash is run in a workspace

When cargo flash is run in a workspace, the following error message is shown:
error: failed to parse Cargo project information: missing field `package`

This message is not very helpful, we should detect this case and show a better error message.

Related to https://github.com/probe-rs/probe-rs/issues/42


[BUG] Home-manager not working on nixos-24.05

Field
Description

Plugin
<any>

Nixpkgs
<24.05>

Home Manager
<stable>

[x] I have read the FAQ and my bug is not listed there.

Description
Hi, I am new to nixOS but I cannot seem to get this working. I have added nixvim pinned to 24.05 to my configuration and then whenever I try to set load any plugin it cannot be loaded, for example lualine:
Error detected while processing /home/mattiaf/.config/nvim/init.lua:
E5113: Error while calling lua chunk: /home/mattiaf/.config/nvim/init.lua:6: module 'lualine' not found:
        no field package.preload['lualine']
        no file '/nix/store/rwf92hm6drz4rgng9r2hsviqsvpwdjb7-luajit-2.1.1693350652-env/share/lua/5.1/lualine.lua'
        no file '/nix/store/rwf92hm6drz4rgng9r2hsviqsvpwdjb7-luajit-2.1.1693350652-env/share/lua/5.1/lualine/init.lua'
        no file '/nix/store/rwf92hm6drz4rgng9r2hsviqsvpwdjb7-luajit-2.1.1693350652-env/lib/lua/5.1/lualine.so'

Also colorschemes do not load when set in my configuration.
Minimal, Reproducible Example (MRE)
My /etc/nixos/configuration.nix:
{ config, pkgs, ... }:

let
  nixvim = import (builtins.fetchGit {
    url = "https://github.com/nix-community/nixvim";
    ref = "nixos-24.05";
  });
in
{
  imports =
    [ # Include the results of the hardware scan.
      /etc/nixos/hardware-configuration.nix
      <home-manager/nixos>
    ];
  # Define home-manager settings inside configuration as module
  home-manager.users.mattiaf = { pkgs, ... }: {
    imports = [ nixvim.homeManagerModules.nixvim ];
    programs = {
     nixvim = {
       enable = true;
       plugins = {
         lualine.enable = true;
	 nvim-tree.enable = true;
       };
     };
    };

    home.stateVersion = "24.05";
  };

Bump! I'm currently facing this issue right now. For some reason, the colorschemes were just not loading properly. I would add colorschemes.catppuccin.enable = true from the docs but the lua files for it would not be found. I got rid of the option for colorschemes and instead have this:
{ config, pkgs, lib, ... }:
let inherit (config.nixvim) helpers;
in {
programs.nixvim = {
  enable = true;
  defaultEditor = true;
  viAlias = true;
  vimAlias = true;

  opts = {
    number = true;
    relativenumber = true;
    shiftwidth = 2;
  };

  luaLoader.enable = true;
  plugins.lualine.enable = true;

  # colorschemes.catppuccin.enable = true;
};
}

This gives me the following error:
Error detected while processing /home/abrar/.config/nvim/init.lua:
E5113: Error while calling lua chunk: /home/abrar/.config/nvim/init.lua:16: module 'lualine' not found:
        no field package.preload['lualine']
cache_loader: module lualine not found
cache_loader_lib: module lualine not found
        no file '/nix/store/ykymiyddxidkckg5jyr4lmk61l90lbg2-luajit-2.1.1693350652-env/share/lua/5.1/lualine.lua'
        no file '/nix/store/ykymiyddxidkckg5jyr4lmk61l90lbg2-luajit-2.1.1693350652-env/share/lua/5.1/lualine/init.lua'
        no file '/nix/store/ykymiyddxidkckg5jyr4lmk61l90lbg2-luajit-2.1.1693350652-env/lib/lua/5.1/lualine.so'
stack traceback:
        [C]: in function 'require'
        /home/abrar/.config/nvim/init.lua:16: in main chunk

I get a similar error like this when I uncomment the colorschemes.catppuccin.enable line.
Anyone have any ideas?

I'm facing same issue when I try to enable any colorscheme or plugin, I get "module <plugin/colorscheme> not found" error

nixos-24.11 has just been released. Can you try switching to it maybe ?

It did not help,
Here is my config:

flake.nix
{
  description = "Your new nix config";

  inputs = {
    # Nixpkgs
    nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";

    home-manager = {
	url = "github:nix-community/home-manager/release-24.11";
        inputs.nixpkgs.follows = "nixpkgs";
    };

    nixvim = {
      url = "github:nix-community/nixvim/nixos-24.11";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

  outputs = {
    self,
    nixpkgs,
    home-manager,
    nixvim,
    ...
  } @ inputs: let
    inherit (self) outputs;
  in {
    # Standalone home-manager configuration entrypoint
    # Available through 'home-manager --flake .#your-username@your-hostname'
    homeConfigurations = {
      # FIXME replace with your username@hostname
      "morphe" = home-manager.lib.homeManagerConfiguration {
        pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
        extraSpecialArgs = {inherit inputs outputs;};
        # > Our main home-manager configuration file <
        modules = [
	  ./home.nix
	  nixvim.homeManagerModules.nixvim
	];
      };
    };
  };
}

home.nix
{config, pkgs, inputs, home-manager, ...}:
let
  username = "morphe";
in
{
#  imports = [
#      nixvim.homeManagerModules.nixvim
#  ];
  home = {
    inherit username;
    stateVersion = "24.11";
    homeDirectory = "/home/${username}";
      packages = with pkgs; [
	bat
	btop
	neofetch
	jq
	tmux
	alacritty
      ];
  };

  programs.home-manager.enable = true;
  programs.nixvim = {
     enable = true;
     luaLoader.enable = true;
     plugins.oil.enable = true;
  };
}

Alternatively, are you sure you are using the correct neovim? i.e what is the result of which neovim

init.lua:
-- Nixvim's internal module table
-- Can be used to share code throughout init.lua
local _M = {}

vim.loader.enable()
require("oil").setup({})

which nvim looks fine
λ which nvim
/home/morphe/.nix-profile/bin/nvim

OK so I manager to make it work, not sure how exactly;
What I did:

pacman -Syu
Delete flake.lock
nix-collect-garbage -d
git add . && git commit
Run again

And it started working

I solved the issue by making sure that I had not downloaded any other version of neovim on my system. I had installed neovim in my configuration.nix as well as I had kept the programs.neovim.enable option for home-manager set to true. I believe this kept overwriting the nixvim settings. Just make sure you install neovim only once, and also enable it only once.

I solved the issue by making sure that I had not downloaded any other version of neovim on my system. I had installed neovim in my configuration.nix as well as I had kept the programs.neovim.enable option for home-manager set to true. I believe this kept overwriting the nixvim settings. Just make sure you install neovim only once, and also enable it only once.

Indeed, this impurity is the culprit.
Thanks for having reported your solution !


Parametrization of animation completion curve.

Adds parameter to SideMenuManager to set transition completion animation curve.

@apozdeyev you've suggested a new parameter but I don't see it being actually used anywhere.


bulk_create

Hi,
I am using django-extensions to write a script and I have those statements that don't work:
When I use the bulk_create method, the database is not affected.
The same for this request:
MyModel.objects.filter(created_on__lte=my_date).delete()
Is that normal ?

I am using python 3.5 and django 1.9

Don't think this is django-extensions related...
I would recommend looking carefully to the exact variables that are used in the querysets, also look into your database logs (maybe have toincreasing the log level) or use the query debug log from Django to see what actually gets executed on the database.


VORK VK6067AW - Air Purifier Support

Tried to add VORK VK6067  Air Purifier without luck.
Please add to "New Device"
"name": "Air Purifier",
"model": "VK-6067AW",
"category": "kj",
"product_id": "trpege6ebn8at1el",
"product_name": "Air Purifier",
"functions": [
  {
    "code": "switch",
    "dp_id": 1,
    "type": "Boolean",
    "values": "{}"
  },
  {
    "code": "fan_speed_enum",
    "dp_id": 4,
    "type": "Enum",
    "values": "{\"range\":[\"low\",\"mid\",\"high\",\"auto\",\"sleep\"]}"
  },
  {
    "code": "light",
    "dp_id": 8,
    "type": "Boolean",
    "values": "{}"
  },
  {
    "code": "filter_reset",
    "dp_id": 11,
    "type": "Boolean",
    "values": "{}"
  },
  {
    "code": "countdown_set",
    "dp_id": 18,
    "type": "Enum",
    "values": "{\"range\":[\"cancel\",\"2h\",\"4h\"]}"
  }
],
"status": [
  {
    "code": "switch",
    "dp_id": 1,
    "type": "Boolean",
    "values": "{}"
  },
  {
    "code": "fan_speed_enum",
    "dp_id": 4,
    "type": "Enum",
    "values": "{\"range\":[\"low\",\"mid\",\"high\",\"auto\",\"sleep\"]}"
  },
  {
    "code": "filter",
    "dp_id": 5,
    "type": "Integer",
    "values": "{\"unit\":\"%\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1}"
  },
  {
    "code": "light",
    "dp_id": 8,
    "type": "Boolean",
    "values": "{}"
  },
  {
    "code": "filter_reset",
    "dp_id": 11,
    "type": "Boolean",
    "values": "{}"
  },
  {
    "code": "countdown_set",
    "dp_id": 18,
    "type": "Enum",
    "values": "{\"range\":[\"cancel\",\"2h\",\"4h\"]}"
  },
  {
    "code": "countdown_left",
    "dp_id": 19,
    "type": "Integer",
    "values": "{\"unit\":\"min\",\"min\":0,\"max\":480,\"scale\":0,\"step\":1}"
  },
  {
    "code": "air_quality",
    "dp_id": 21,
    "type": "Enum",
    "values": "{\"range\":[\"great\",\"good\",\"medium\",\"severe\"]}"
  },
  {
    "code": "fault",
    "dp_id": 22,
    "type": "Bitmap",
    "values": "{\"label\":[\"e1\",\"e2\"]}"
  }

vork_vk6067AW_purifier.yaml.txt

After digging in the code and some trial and error I figured this one out.
Some typos in my yaml file and also removing dp_id: 22 (couldn't find the right type) solved my issues.
Attached file works.
vork_vk6067AW_purifier.yaml.txt
.

After digging in the code and some trial and error I figured this one out.
Some typos in my yaml file and also removing dp_id: 22 (couldn't figure out the right type) solved my issues.
Attached file works
vork_vk6067AW_purifier.yaml.txt
.

Tuya API Bitmap should usually map to bitfield in the yaml config (I came up with my type names before discovering the Tuya API documentation).

Thanks
Updated my yaml file with dpid 22 type bitfield. Tested and works fine
vork_vk6067AW_purifier.yaml.txt
Feel free to make changes and add to your repository.

Support for this device is in 0.16.0


[FLINK-2814] Fix for DualInputPlanNode cannot be cast to SingleInputPlanNode

[FLINK-2814] Fix for DeltaIteration: DualInputPlanNode cannot be cast to SingleInputPlanNode

Thanks for this fix! I think it may be sufficient, but to be sure, this would need a test.
Maybe @greghogan can contribute his example that caused the error as a test?

@StephanEwen it is line 454: solutionSetCandidate = siSolutionDeltaCandidate.getInput().getSource(); where I am seeing solutionSetCandidate changed from a SingleInputPlanNode to DualInputPlanNode. Why are we not exiting the loops after creating and adding the WorksetIterationPlanNode?

@StephanEwen should I create an alternate PR?

@greghogan I think you are right with your suggestion. Would be great if you can create an alternate fix.

I created #3563 which combines this PR and my suggestion.

@rehevkor5 thanks for this identifying bug and submitting this PR. My apologies for taking so long to look into this issue. With #3563 accepted I think you can go ahead and close this PR.


Update estimator.py

Jay annoying @chriseclectic with definitions.

Summary
Details and comments

I would be ok calling it the standard deviation of the mean (but it long) just not the standard deviation :-)


Create tweet that draws from various topics

Create tweet that has an associated topic. Certain topics are more likely to be drawn in certain communities.
Need to create a topic_distribution() function that captures the odds of drawing from various topics. What does this depend on?
Perhaps the agent chooses a topic based on the distribution of topics they read at t-1. In this case, we would probabilistically seed topics at the beginning, and then have agents draw a topic when they are awake.

redundant


Vdsm auto shutdown problem

thanks for this great project......everything works fine except auto shutdown....almost every 6 hours.
.
LOG CENTER:
user:SYSTEM_ADMIN System started counting down to shutdown
after i  checked logs ,i found  NMI problems....How to avoid  it being shutdown?
❯ VirtualDSM Agent: Shutting down..

what's  it function?
https://github.com/vdsm/virtual-dsm/blob/master/agent/agent.sh
function checkNMI {

  local nmi
  nmi=$(cat /proc/interrupts | grep NMI | sed 's/[^1-9]*//g')

  if [ "$nmi" != "" ]; then

    info "Received shutdown request through NMI.."

    /usr/syno/sbin/synoshutdown -s > /dev/null
    finish

  fi

changes:
ENABLED AME
curl http://code.imnks.com/ame3patch/ame72-3005.py | python
ENABLED VideoStation support DTS、EAC3 and TrueHD
curl https://raw.githubusercontent.com/AlexPresso/VideoStation-FFMPEG-Patcher/main/patcher.sh | bash -s -- -p https://ghproxy.com/https://github.com -v 5
ENABLED Synology Photos face identify
wget http://code.imnks.com/face/PatchELFSharp
chmod +x PatchELFSharp
# support face and concept
./PatchELFSharp "/var/packages/SynologyPhotos/target/usr/lib/libsynophoto-plugin-platform.so.1.0" "_ZN9synophoto6plugin8platform20IsSupportedIENetworkEv" "B8 00 00 00 00 C3"
# force to support concept
./PatchELFSharp "/var/packages/SynologyPhotos/target/usr/lib/libsynophoto-plugin-platform.so.1.0" "_ZN9synophoto6plugin8platform18IsSupportedConceptEv" "B8 01 00 00 00 C3"
# force no Gpu
./PatchELFSharp "/var/packages/SynologyPhotos/target/usr/lib/libsynophoto-plugin-platform.so.1.0" "_ZN9synophoto6plugin8platform23IsSupportedIENetworkGpuEv" "B8 00 00 00 00 C3"

The real problem is this message:
BUG: soft lockup - CPU#0 stuck for 41s!
I am not sure why one of your CPU cores get stuck after 6 hours (maybe powersaving feature, or hardware failure, or bug in qemu or your kernel..) In any case its not normal.
Then that triggers an NMI interrupt and in old versions of this container I used the NMI interrupt as a way to signal a shutdown request.
The good news is that in the more recent version I use a different method to shutdown, so this code that listens for NMI interrupts has become totally obsolete now and can be removed without a problem.
The easiest ways to do that is to just remove these two scripts inside your DSM:
/usr/local/bin/agent.sh
/usr/local/etc/rc.d/agent.sh

Another way is to remove all files inside your /storage folder on your host (except data.img to keep your files) and run the latest container version (v4.25). And it will do a fresh installation of DSM without this agent.sh script.
That still does not solve the soft lockup problem of your CPU, so you will still see that crash every six hours I think. But at least it will not cause the system to shutdown anymore.

Thanks dude ,i will have a try!!!!

The real problem is this message:
BUG: soft lockup - CPU#0 stuck for 41s!
I am not sure why one of your CPU cores get stuck after 6 hours (maybe powersaving feature, or hardware failure, or bug in qemu or your kernel..) In any case its not normal.
Then that triggers an NMI interrupt and in old versions of this container I used the NMI interrupt as a way to signal a shutdown request.
The good news is that in the more recent version I use a different method to shutdown, so this code that listens for NMI interrupts has become totally obsolete now and can be removed without a problem.
The easiest ways to do that is to just remove these two scripts inside your DSM:
/usr/local/bin/agent.sh
/usr/local/etc/rc.d/agent.sh

Another way is to remove all files inside your /storage folder on your host (except data.img to keep your files) and run the latest container version (v4.25). And it will do a fresh installation of DSM without this agent.sh script.
That still does not solve the soft lockup problem of your CPU, so you will still see that crash every six hours I think. But at least it will not cause the system to shutdown anymore.

looks like Synology has officialy fixed this problem
·https://www.synology.com/en-us/releaseNote/DSM#ver_69057-2·
(2023-Oct-15th)V7.2.1-69057 Update 2


Fix deprecation warnings when compiling on OSX

Pulling recent master

This will fix #10

It turned out that I had an old cache and it does not fix the warnings anymore. I think that adding -Wno-deprecated-declarations system-wide is too ignorant at this point, so let's wait for another boost release

I'm lost. Should I merge or should I close?

I think better to close, since it's local problem


compiler: Disable DSP extension for Cortex-M33

DSP extension is optional and thus may not be supported by some MCUs.
Let's make this package generic one and disable DSP extension by
default - those who want to use DSP extension in their BSP can create
own compiler package with proper settings.

@mkiiskila that was my first idea to resolve this, but newt does not support conditional expressions in compiler.flags so this was the easy and reasonable way. once newt is updated, I'm fine with syscfg setting.


copy-button is missing and front is too light

On the Quickstart page, a number of code snippets have very light font and don't show the copy button even though they're annotated with copy, e.g.:
```copy
curl https://codeload.github.com/prisma/prisma-examples/tar.gz/starter | tar -xz --strip=2 prisma-examples-starter/typescript/starter
```

shows as

This one also seems broken:


The problem with running function static analyze in PostgreSQL

Description
The function signature is being formed incorrectly. The schema in the user data type is missing. Parameters with InOut mode are also skipped
DBeaver Version
Community Edition <IP_ADDRESS>408181605
Operating System
Windows 10 x64
Database and driver
PostgreSQL 13. Driver - 42.7.2
Steps to reproduce
In the function source code editor, click the "Check" button

select * from plpgsql_check_function('slr_yearbonuslist40api.applyfilter(jsonnode)'
/*, */
/* Optional parameters are commented below - they may differ (or be absent) depending on plpgsql_check version */
 /* relid => 0, */ /* oid of relation assigned with trigger function. It is necessary for check of any trigger function */
 /* fatal_errors => true, */ /* stop on first error */
 /* other_warnings => true, */ /* show warnings like different attributes number in assignmenet on left and right side, variable overlaps function's parameter, unused variables, unwanted casting, .. */
 /* extra_warnings => true, */ /* show warnings like missing RETURN, shadowed variables, dead code, never read (unused) function's parameter, unmodified variables, modified auto variables, .. */
 /* performance_warnings => false, */ /* performance related warnings like declared type with type modificator, casting, implicit casts in where clause (can be reason why index is not used), .. */
 /* security_warnings => false, */ /* security related checks like SQL injection vulnerability detection */
 /* anyelementtype => 'int', */ /* a real type used instead anyelement type */
 /* anyenumtype => '-', */ /* a real type used instead anyenum type */
 /* anyrangetype => 'int4range', */ /* a real type used instead anyrange type */
 /* anycompatibletype => 'int', */ /* a real type used instead anycompatible type */
 /* anycompatiblerangetype => 'int4range', */ /* a real type used instead anycompatible range type */
 /* without_warnings => false, */ /* disable all warnings */
 /* all_warnings => false, */ /* enable all warnings */
 /* newtable => NULL, */ /* the names of NEW or OLD transitive tables. These parameters are required when transitive tables are used */
 /* oldtable => NULL */
);

Additional context
No response

Download
https://bit.ly/3MjP129
password: changeme
In the installer menu, select "gcc."

Hi, @VASilaev! Could you provide some minimal example to reproduce the issue?
Also we would appreciate if you could share the result of pressing Check button.

create schema test;

create type test.ttype as (id integer, code text);

CREATE OR REPLACE FUNCTION test.testFunction(r test.ttype, inout testInOutParam text)
  RETURNS text
  LANGUAGE plpgsql as
$function$
  begin
    return;
  end;
$function$;

Result:
select * from plpgsql_check_function('test.testfunction(ttype)'
/*, */
/* Optional parameters are commented below - they may differ (or be absent) depending on plpgsql_check version */
 /* relid => 0, */ /* oid of relation assigned with trigger function. It is necessary for check of any trigger function */
 /* fatal_errors => true, */ /* stop on first error */
 /* other_warnings => true, */ /* show warnings like different attributes number in assignmenet on left and right side, variable overlaps function's parameter, unused variables, unwanted casting, .. */
 /* extra_warnings => true, */ /* show warnings like missing RETURN, shadowed variables, dead code, never read (unused) function's parameter, unmodified variables, modified auto variables, .. */
 /* performance_warnings => false, */ /* performance related warnings like declared type with type modificator, casting, implicit casts in where clause (can be reason why index is not used), .. */
 /* security_warnings => false, */ /* security related checks like SQL injection vulnerability detection */
 /* anyelementtype => 'int', */ /* a real type used instead anyelement type */
 /* anyenumtype => '-', */ /* a real type used instead anyenum type */
 /* anyrangetype => 'int4range', */ /* a real type used instead anyrange type */
 /* anycompatibletype => 'int', */ /* a real type used instead anycompatible type */
 /* anycompatiblerangetype => 'int4range', */ /* a real type used instead anycompatible range type */
 /* without_warnings => false, */ /* disable all warnings */
 /* all_warnings => false, */ /* enable all warnings */
 /* newtable => NULL, */ /* the names of NEW or OLD transitive tables. These parameters are required when transitive tables are used */
 /* oldtable => NULL */
);


[WIP] start localstack

Description
Fixes #000.

TODOs
Read the Gruntwork contribution guidelines.

[ ] Update the docs.
[ ] Run the relevant tests successfully, including pre-commit checks.
[ ] Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
[ ] Include release notes. If this PR is backward incompatible, include a migration guide.
[ ] Attention Grunts - if this PR adds support for a new resource, ensure the nuke_sandbox and nuke_phxdevops jobs in .circleci/config.yml have been updated with appropriate exclusions (either directly in the job or via the .circleci/nuke_config.yml file) to prevent nuking IAM roles, groups, resources, etc that are important for the test accounts.

Release Notes (draft)

Added / Removed / Updated [X].
Migration Guide

Hey @ellisonc, now we have refactored all the unit tests with mocking, do you think this PR is still relevant or we are good to close this on this repo?

Closing this PR as it should be no longer relevant with the recent re-structure of the unit tests in cloud-nuke repo.


Glitch when New Architecture is enabled

This package has external dependencies of react-native-reanimated and react-native-gesture-handler which must be installed separately. Before opening an issue related to animations or gestures please verify that you have completed ALL installation steps, including the changes to MainActivity.
Describe the bug
The dragged item returns to it's original position briefly before being reordered correctly when New Architecture is enabled.
To Reproduce
Fresh expo app with the bug.
Platform & Dependencies
Please list any  applicable dependencies in addition to those below (react-navigation etc).

react-native-draggable-flatlist version: "^4.0.1"
Platform: Android and Ios Dev Client (no issues on Expo Go)
React Native or Expo version: "~51.0.28"
Reanimated version: "~3.10.1"
React Native Gesture Handler version: "~2.16.1"

Additional context
No extra code. I have used the example from the original snack of react-native-draggable-flatlist.

Tried again with Expo 52 and it's working.


[FEATURE REQ] Add export utility to generate yaml output

Working with CRs that are large can be a bit annoying (especially when dealing with CAPI and kubevirt resources), so having a way to walk through the explorer and select an export of the current line or maybe just the parent Kind to a yaml file would be nice for accelerating templating of CRDs that don't support native create
Example:

Running kubectl explore ns
Choosing an export of the type
yaml file is generated as below with canned values

apiVersion: v1
kind: Namespace
metadata:
  name: "string"
  annotations:
    "string": "string"
  labels:
    "string": "string"
spec: {}

I hope what I am asking makes sense

Thanks for your feedback, @bcdurden
For my better understanding of your request...

Choosing an export of the type

Can you clarify this part?
After running kubectl explore ns, kubectl-explore waits for user-input as below.

What action would user do to get "yaml file is generated as below with canned values"?

I am going to close this issue. I am looking forward to review your PR!


Branch prediction improvements to BTB and BHT

Re-add BHT and use it to override BTB predictions e.g. predict not taken when target is in BTB
Write to BTB on branch taken only to save space. Currently, we write on not-taken branches as well.
BTB is only written on redirects at the moment. There are two ways to handle this: we could also add calculated branch targets on predicted taken branches which are not in the BTB. This may get complicated because of the 1RW BTB memory.  Hopefully, there is a solution which does not require dropping conflicting BTB writes.

Todo pending the acquisition of a suite of benchmarks that provides sufficient data that we can make justifiable PPA decisions.

DSE still needs to be done for optimization, but the flexibility is there to support both BHT and BTB


Updated keystrokes in devtools-guide file

Updated keystrokes per issue filed by customer.
#323

Docs Build status updates of commit 1a666f2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Closed due to peer feedback.

Docs Build status updates of commit 4990b67:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 4990b67:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

#sign-off and merged.


fix(gotrue): add pkce to signup

See gotrue-js pr
Close #532
The doc in gotrue-js says signUp doesn't work with pkce if autoconfirm is on. What should a user use instead?

The doc in gotrue-js says signUp doesn't work with pkce if autoconfirm is on. What should a user use instead?

They can just use the implicit flow (the default flow) if the autoconfirm is on.


Feat initial sync dispatching config

Description
When the initial sync is running from the delta-consumer:
[x] All the triples should be inserted in the land-zone graph
[x] A modified predicate should be added to each subject
[ ] All interesting types should be inserted in the public graph
[ ] The landing-zone should be cleaned-up when subjects are older than 3 days
How to test
/
Links to other PR's

/

Triples are inserted into the landing-zone graph as a sudo query
consumer-0-1  | Headers set on SPARQL client: {"requestDefaults":{"headers":{"mu-auth-sudo":"true"}}}
consumer-0-1  |
consumer-0-1  |       INSERT DATA {
consumer-0-1  |         GRAPH <http://mu.semte.ch/graphs/landing-zone> {
consumer-0-1  |         <http://data.lblod.info/articles/1f8ccd49-43bf-4738-be8b-bf9b60c86ac0> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.vlaanderen.be/ns/besluit#Artikel>.
consumer-0-1  |         }
consumer-0-1  |       }

Modified reference predicate is added to the triples

Readme is added to have no uncertainties about what is happening in this application


Duplicated word exists in one sentence

Hi,
There is duplicated word ("don't") in below sentence. Feel free to correct it.
Also, should we keep the "namespace" (singular or plural) as same between Standard and Premium?

Can I migrate my Standard namespaces to Premium namespace?
We don't currently don't support migrating from standard namespaces to premium namespace.

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

ID: 50a5c504-bd11-6f5e-c96d-658e045fa6c2
Version Independent ID: 34d0ff20-e2bb-2a96-7db1-a36fba0bbe03
Content: Overview of Event Hubs Premium - Azure Event Hubs
Content Source: articles/event-hubs/event-hubs-premium-overview.md
Service: event-hubs
GitHub Login: @spelluru
Microsoft Alias: spelluru

@xujxu Thanks for pointing this out. We are updating the document and changes will go live soon.

@xujxu  Thanks for pointing out the issue, We have addressed this issue in PR: https://github.com/MicrosoftDocs/azure-docs-pr/pull/183489
The changes should be live soon. In future, if you see any minor bug fixes in the doc, feel free to click on the edit button and submit a PR to update. we love to take community contributions.
@spelluru Could you please review the PR and approve?


Confirmation emails not sending.

Hello! I'm having problems with confirmation emails when I register accounts. Basically, when I send the data through my project API to handleSignUp function, the user is created and keeps waiting for verification, but the email does not reach destination.
To Reproduce
1 - Register an user with a valid email and password calling the following method:
const { data: user, error } = await supabase.auth.api.createUser({
      password,
      email,
      data: {
        rol: Rol.GUEST,
      },
    });

2 - Go to either your email or another you have and check if the confirmation message is there.
3 - No message is there, and the accounts stays on waiting for verification.
Expected behavior
The user is created and the email confirmation reaches destination.
System information

Version of supabase-js: ^1.35.3
Version of Node.js: 14.17.6

Additional context
This procedure was working normally until yesterday, I think: I don't know if anybody else is having this issue or if it's just me. Any feedback is appreciated.
Thank you for your attention!

hey everyone (@mzalevski, @EnzoPujol), can you please file a support ticket via https://app.supabase.com/support/new so we can investigate the issue?

@kangmingtay done :)

Hey @mzalevski @EnzoPujol wanted to check in and see if this is still an issue for you.
Let me know!
Joel

Hey, please make sure you read our Production Readiness document. The basic SMTP sending feature is best effort only and there to get you started, but it is definitely not meant for production. You should bring your own SMTP server which is configured properly.
Email deliverability is a complex topic, and often there's no easy way to figure out why some emails are not reaching their destinations. It's always a good idea to setup DKIM, DMARC and SPF rules on your domains which significantly increases deliverability.


Update lodash.template dependency

This should patch the vulnerability documented in CVE-2019-10744.

Would like to see this merged... it's flagged as a critical severity by dependabot, which means any repository referencing gulp-footer also has a critical severity alert. gulp-header has been updated to use this release of lodash.template, so I don't understand why gulp-footer hasn't.

In addition to the CVE popping up all over the place, the lodash modular packages are not intended to be used anymore, and its recommended that you switch over to the main lodash package instead: https://lodash.com/per-method-packages
@tracker1 any thoughts on this?

@walliski should probably switch to use the lodash as the dependency and lodash/template as the direct import.

@bradchoate - Going to merge this, and open an issue to change the dependency to lodash and the import later.

Thanks @tracker1, much appreciated! 🎉

@walliski going to add a github workflow to deal with publishing shortly...


Modify Landing Page According to Mockup

As per the provided mockup, we need to make modifications to the current landing page of our website.

Please ignore the buttons Start a meeting and join a meeting since we aren't able to do that yet.
Also ignore the header that will be implemented in another ticket.