Background steps included in Scenario without precondition tag, but fail shown

Description
I updated the cypress xray plugin to the latest 6. I removed the merge background file that I had implemented for the 4th version.
The jira tickets show the results of the tagged scenario with the background steps (without a tag) which is what I wanted from the start.
But I get a fail when I run cypress which I think is a minor bug.

Cypress version
12.17.4
Plugin version
6.0.0
Jira/Xray type
Cloud
Configuration
No response
Acknowledgements

[X] I have made sure not to include any sensitive data in screenshots or obfuscated all occurrences.
[X] I have made sure not to include any sensitive data in descriptions or replaced all values with placeholders.
[X] I have made sure not to include any sensitive data in code snippets or replaced all values with placeholders.

Hey @alexviz7,
if I understand your issue correctly, this is actually not a bug.
Preface

The jira tickets show the results of the tagged scenario with the background steps (without a tag)

Xray allows arbitrary results upload for tests of type Cucumber. This is why your step Given user is on login page appears in the performed steps in your screenshot, despite not being present in the scenario outline above.
For example, if you have the following scenario defined in Xray test CYP-123:
Given 5
When plus 6
Then 11

And let's say your corresponding Cypress feature file looks like this:
Feature: Modified upload

    @TestName:CYP-123
    Scenario: Modified upload test
        Given I like apples
        When I buy an orange
        When I buy a pineapple
        When I buy a pear
        Then I am sad

Then you can easily upload the results to the existing test, ending up with totally mismatched steps:

This behaviour is what previously allowed you to include your merged backgrounds in the result steps.
What happened?
Since you've now removed the merging function, you've created the following situation:

the cypress-xray-plugin encounters a background element when trying to upload/sync the feature file

it scans the background for precondition tag comments, since without them, each background would result in a precondition issue being created on upload (in your case: 60 of them)
it does not find any, skipping the upload with the error message in your screenshot

the cypress-cucumber-preprocessor executes your feature file

it creates the JSON report containing the executed steps

the report contains background steps as well as scenario steps

the cypress-xray-plugin uploads the JSON report to Xray

since Xray allows upload of mismatched steps, the results contain all steps present in the report (background & scenario steps)

you are left wondering why all the result steps are visible, yet the plugin refuses to upload/sync the feature file

What can you do?
There's not much I can do to help you, since you're not structuring your feature files/Xray preconditions & tests like Xray tells users to do. The plugin is limited by the API Xray provides, which always creates precondition issues for unknown backgrounds on feature file upload/sync (unless tagged with a precondition issue comment).
Therefore, as far as I can see, your options are:

start merging backgrounds into scenarios again to prevent the plugin from encountering untagged backgrounds
start using precondition issues in Xray and adapt your feature files to them (background tags)

Hello thank you first of all for your thorough answer. I know I can use the merge background solution. The thing is in version 4 there was no other solution because then the background steps did not even show up in the test results of the test jira ticket. Now this issue has been solved out of coincidence I don't know.  If its a bug this mismatch I do not know either. But if the prefix is undefined why not hide the xray plugin error ? The other solution maybe is to keep the uploadFeautures false.

The thing is in version 4 there was no other solution

In version 6, there's unfortunately still no other solution, apart from setting uploadFeautures to false like you mentioned, which is probably not what you want to do.

Now this issue has been solved out of coincidence I don't know

It was either coincidence or Xray did something on their part. I know I didn't do anything in that regard 🤔

But if the prefix is undefined why not hide the xray plugin error?

Mostly because (new) plugin users would then be left wondering why the feature file upload results in 400 Bad Request all the time (as discussed here). They would not be able to properly tag their feature files without the plugin explicitly telling them what to do, i.e. adding the correct prefixes (TestName:, Test:, Precondition:, ...) to their background/scenario issue tags.
Omitting the check entirely is a dangerous idea as well. If I now take out the check and you run the plugin once more, you'll end up with 60+ new precondition issues, simply because Xray will be unable to link your backgrounds to existing precondition issues (because you don't have any tags telling Xray which preconditions you've implemented in the corresponding background).
I hope this clears it up a little better.

Ok maybe in the future it can be solved in order to have the option of having test results with background steps without a precondition ticket.


Add support for multiple devices for PS4 component

Description:
Added support for the use of multiple PS4 devices. Additional devices can be added by starting the ps4 config flow again.
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#8679
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

Should be good now.

@MartinHjelmare Removed loop. Ready for another review.

Good! Can be merged when build passes.

Cool! Thanks.


Add missing AbstractJctCompiler coverage

Codecov Report

Merging #301 (b9ad305) into main (e1350a9) will increase coverage by 0.12%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #301      +/-   ##
==========================================
+ Coverage   74.02%   74.15%   +0.12%
==========================================
  Files          89       89
  Lines        2741     2743       +2
  Branches      236      236
==========================================
+ Hits         2029     2034       +5
+ Misses        633      630       -3
  Partials       79       79

Impacted Files
Coverage Δ

...hub/ascopes/jct/compilers/AbstractJctCompiler.java
100.00% <100.00%> (+2.09%)
:arrow_up:


anchor: check labels and sections

In the anchor feature, check that labels and sections are not far from an anchor point.

I opened this issue because I had a weird phenomenon in my .tex document: a classical hyperlink to a section wasn't working properly. I am unable to reproduce the bug, and moreover, there might be easy fixes to this problem (see e.g. this discussion). Anyhow, I'm not convinced that this behaviour is caused by knowledge, but rather by hyperref, so I don't think adding anchor points near labels is a proper solution.


WARNING exported interface not found

N.B. Already opened issue on angular https://github.com/angular/angular/issues/15800

I'm submitting a ...  (check one with "x")
[X] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior
I don't know if this is about angular compiler itself or additional warning from angular cli. I open issue here
I have an exorted interface in src/app/shared/form-utils/localized-input/localized-input.component.ts like:
export interface Language {
  id: number;
  cultureName?: "fr-CH" | "de-CH";
}

And I import this interface inside  a component in src/app/shared/form-utils/autocomplete/autocomplete-plan-comptable-element/autocomplete-plan-comptable-element.component.ts I import it like this:
import {Language, LocalizationKey} from "../../localized-input/localized-input.component";
but when I compile (ng serve) I get warning like:
WARNING in ./src/app/shared/form-utils/autocomplete/autocomplete-plan-comptable-element/autocomplete-plan-comptable-element.component.ts
203:50-58 "export 'Language' was not found in '../../localized-input/localized-input.component'

Minimal reproduction of the problem with instructions
read above...
Please tell us about your environment:
windows10, webstorm 2017.1.1

Angular version: 2.0.X

@angular/cli: 1.0.0
node: 7.7.2
os: win32 x64
@angular/common: 4.0.1
@angular/compiler: 4.0.1
@angular/core: 4.0.1
@angular/forms: 4.0.1
@angular/http: 4.0.1
@angular/platform-browser: 4.0.1
@angular/platform-browser-dynamic: 4.0.1
@angular/router: 4.0.1
@angular/cli: 1.0.0
@angular/compiler-cli: 4.0.1

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Language:
typescript 2.2.2 (on webstorm tsc is run and it didn't get me error for this import)

All other import are correct and same and works

I keep having this issue as well, its really frustrating as I have to restart the serve every time I add a new interface.

Possible duplicate #2034.

I'm also having this problem when working with interfaces. Every time I make a change to an interface and ng serve is running, the re-compile fails. Restarting ng serve fixes the issue. It seems as though ng serve caches the interfaces between automatic re-compiles.

Dupe of https://github.com/angular/angular-cli/issues/2034.


DEPRECATION WARNING: alias_method_chain is deprecated.

Please, use Module#prepend instead. From module, you can access the original method using super.
This came from config/environment.rb:5.

Not seeing this in the test output anymore, so closing


setjmp: fix setjmp returns 0 when calling longjmp with 0 as the secon…

Summary
According to POSIX semantics https://pubs.opengroup.org/onlinepubs/009604599/functions/longjmp.html. The setjmp should return 1 instead of 0 when calling longjmp with 0 as the second argument.
Impact
The current implementation of setjmp on some architectures misbehaves. In my case, it affects the CMocka framework.
Testing
The testing code lives int the nuttx apps repository as a seperate patch.

[Experimental Bot, please feedback here]
This PR description is missing crucial information and does not fully meet the NuttX requirements. Here's a breakdown:
Missing Information:

What functional part of the code is being changed?  Be specific. Which files, functions, or modules are modified to correct the setjmp behavior?
How does the change exactly work?  Explain the technical implementation details of the fix.
Impact on user: Will any existing applications relying on the incorrect behavior break? How should they adapt?
Impact on hardware:  While the description mentions "some architectures", it doesn't specify which ones.  List the affected architectures explicitly.
Testing:

Incomplete: "Testing code lives in the nuttx apps repository" is not sufficient. Include relevant snippets of the testing logs demonstrating the issue before and the fix after the change.
Unclear:  "as a separate patch" is confusing. Is the testing part of this PR or a separate one? If separate, provide a link.

Links: Include links to the related NuttX issue and the testing patch in the  NuttX Apps repository.

Recommendations:

Expand the Summary: Provide specific details about the code changes and their mechanism.
Clarify Impact:  Clearly state the affected architectures and potential user impact (if any).
Complete Testing Section: Include relevant testing log snippets directly in the PR description. If the testing is a separate patch, provide a link to it.
Add Links: Include links to the related NuttX and NuttX Apps issues/PRs.

By addressing these points, you'll make your PR much stronger and easier for reviewers to understand and approve.

@realprocrastinator please resubmit your apps side change.

@realprocrastinator please resubmit your apps side change.

Gottcha. Thx for reminding.

@xiaoxiang781216 Hi Xiaoxiang, I've just resubmitted the test code for nuttx-app repo. Pls check the link https://github.com/apache/nuttx-apps/pull/2725. Thx.


CASMNET-1757: CANU bugfixes including UAN VLAN as None

Summary and Scope
Overview
BUGFIX: Fix UAN configuration templates producing None VLAN when CHN is enabled.
BUGFIX: Enable 1.3 configuration templates in the pyinstaller binary.

Details
Update docs generated from code.
Change exception-handling in canu validate shcd and from network_modeling.
Provide better next steps from errors reported while validating SHCDs.
Add canu test to ping Kea DHCP.
Update to release process doc

Fixes: CASMNET-1757

Issue Type

Bugfix Release 1.6.13

Prerequisites

[ ] I have included documentation in my PR (or it is not required)
[x] I tested this on internal system (if yes, please include results or a description of the test)
[ ] I tested this on a vshasta system (if yes, please include results or a description of the test)

Included LiveCD and rebased this on main. This PR is ready to go.


Neu5,9Ac2 GlycoCT is wrong.

The Neu5,9Ac2 GlycoCT is wrong as it uses n-acetyl as the substituent for position 9 which should be just acetyl.

Fixed in v1.0.2


Temporarily pin symengine==0.11.0 to unblock CI

Summary
With the release of symengine 0.13 we're running into incompatibility issues when loading/storing data in between symengine versions (e.g. in between 0.11 and 0.13). This commit pins temporarily pins the version to unblock CI, until a more permanent solution is found.

Hmmm @Cryoris the fix is not fixing.

Elena: that might well be CI pulling old versions from the cache, which indicates a(nother) problem in the cache key - we should have invalidated the caches if the build steps for them changed.

Oh, actually, even if it's a cache miss, it'll fail - for now, also put this constraint into test/qpy_compat/qpy_test_constraints.txt, and we can figure out the rest of the caching separately (hopefully).

Ah, I should have constrained to <0.13 in the QPY tests, since some versions of Qiskit had upper-bounds pins.  Either way, since #13251 is up now, I'm going to shift to focussing on that.

Closing in favor of #13251, which looks like it's working already 🙂


Respawn ansible if it fails during boot.

This will help to prevent nodes from failing to start up, due to 3rd party failures.

Awesome, thanks!


fix: language (auth/profile)

PULL REQUEST HIJOB - AVG WEBSITE
Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Project

[x] Website
[ ] API
[ ] Documentation
[ ] Other... (please describe)

Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B
[ ] No tests needed

Checklist:

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

THANK YOU FOR YOUR CONTRIBUTION!

@lvxadoniss1


Detect other relay actions

Closes https://github.com/prax-wallet/prax/issues/245
During sync, Prax currently stores MsgReceived in storage:
https://stake.with.starlingcyber.net/#/tx/fb5eaef8632baf0ef62e061e2cf8d0ab49b2f3b63385201fe21933f053cf23b5
But is not storing MsgAcknowledgement:
https://stake.with.starlingcyber.net/#/tx/295E9A9044CCA0F1869DD8AD80F51D9E997557832170F1EA1DA0AFE315AC35A4
or
MsgTimeout:
https://stake.with.starlingcyber.net/#/tx/A3A396E025D240A6502ED7122B424A84FFCEC4883360824727E06CB1FA84D213
Those are particularly relevant as users should be informed of when their IBC bounces back. This PR addresses this.

henry's timed out and refunded transaction is now displaying https://stake.with.starlingcyber.net/#/tx/A3A396E025D240A6502ED7122B424A84FFCEC4883360824727E06CB1FA84D213


Tile and NPC Marker tag/untag mark/unmark

Could NPCs and Tiles you've already marked have the "Tag" right-click option be changed to say "Un-tag"?
When there are multiple NPCs in close proximity, it can make it impossible to tell which NPC you're trying to remove a tag from. It can also be difficult to tell if you've right-clicked the correct tile, and you may end up marking another tile accidentally, when all you wanted was to remove the tag from it.

I think this can be closed as #9389 has been merged.


where are docs for 3.x.y?

I am looking for the documentation for Fuel version 3.x.y. However, when I opened the Fuel documentation webpage, it indicates that I am viewing the docs for version 2.x.y instead. Where can I find the documentation specific to Fuel 3.x.y?

Thanks!

I also want to know


Added max()

Make a list to take user inputs and used max function.

Please follow the given structure and make less use of in built function.


[SR-12634] SwiftPM reports cyclic dependency in Error

Previous ID
SR-12634

Radar
rdar://problem/62202454

Original Reporter
@0xTim

Type
Bug

Environment
Apple Swift version 5.2 (swiftlang-1<IP_ADDRESS> clang-1<IP_ADDRESS>)``Target: x86_64-apple-darwin19.4.0

Additional Detail from JIRA

Votes
1

Component/s
Package Manager

Labels
Bug

Assignee
None

Priority
Medium

md5: 6105d7d40f7dfd9057cf10b363b45d6c

Issue Description:
When trying to build a SwiftPM package in a directory with the same name as a dependency, SwiftPM reports:
error: cyclic dependency declaration found: BugTest -> BugTest
Steps To Reproduce:

git clone git@github.com:0xTim/swiftpm-cyclic-bug.git

cd swiftpm-cyclic-bug/vapor

swift build

Expected Result
swift builds correctly
Actual Result
swift reports error: cyclic dependency declaration found: BugTest -> BugTest

Is there any way this can be circumvented while this is still open (beside renaming the folder)?


Determine what to do with asides

Some lines contain asides or comments that the characters make. These are indicated by --, are not always surrounded by spaces. For example:
Dies

HAMLET
Heaven make thee free of it! I follow thee.
I am dead, Horatio. Wretched queen, adieu!
You that look pale and tremble at this chance,
That are but mutes or audience to this act,
Had I but time--as this fell sergeant, death,
Is strict in his arrest--O, I could tell you--
But let it be. Horatio, I am dead;
Thou livest; report me and my cause aright
To the unsatisfied.

As it exists now, the parser will treat time--as and arrest--O as one word. I think -- should also indicate a separate word. Need to check with instructor.
This would explain why certain tools give different word counts

Closed in a8a0076

Actually, time--as is one lone, weird word according to the professor...


Compilation failure with gcc-6 ('_mm256_set1_pd': target specific option mismatch)

Platform: Linux-Intel standard 16.04 (gcc-6)
OpenBLAS HEAD of develop: 6e2c4945567ad8fb5f11be7ac7c0b10c6b4f42cb
Going back to this commit fixes the compilation error:
02ef20a1 Merge pull request #1786 from martin-frbg/immintrin
Full cmake build error:
In file included from /home/ayounes/devel/nv3dfi-build/linux_host/src/openblas_project-build/kernel/CMakeFiles/dgemm_kernel_SKYLAKEX.c:8:0:
/home/ayounes/devel/nv3dfi/ext/pkg-openblas/src/kernel/x86_64/dgemm_kernel_4x8_skylakex.c: In function 'dgemm_kernel_SKYLAKEX':
/home/ayounes/devel/nv3dfi/ext/pkg-openblas/src/kernel/x86_64/dgemm_kernel_4x8_skylakex.c:48:7: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
ymm4 = _mm256_setzero_pd();  \
/home/ayounes/devel/nv3dfi/ext/pkg-openblas/src/kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1307:4: note: in expansion of macro 'INIT4x8'
  INIT4x8()
  ^~~~~~~
/home/ayounes/devel/nv3dfi/ext/pkg-openblas/src/kernel/x86_64/dgemm_kernel_4x8_skylakex.c:736:7: warning: AVX512F vector return without AVX512F enabled changes the ABI [-Wpsabi]
zmm4 = _mm512_setzero_pd();  \
~~~~~^~~~~~~~~~~~~~~~~~~~~
/home/ayounes/devel/nv3dfi/ext/pkg-openblas/src/kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1565:4: note: in expansion of macro 'INIT8x1'
  INIT8x1()
  ^~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:41:0,
               from /home/ayounes/devel/nv3dfi/ext/pkg-openblas/src/kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36,
               from /home/ayounes/devel/nv3dfi-build/linux_host/src/openblas_project-build/kernel/CMakeFiles/dgemm_kernel_SKYLAKEX.c:8:
/usr/lib/gcc/x86_64-linux-gnu/6/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
_mm256_setzero_pd (void)
^~~~~~~~~~~~~~~~~
In file included from /home/ayounes/devel/nv3dfi-build/linux_host/src/openblas_project-build/kernel/CMakeFiles/dgemm_kernel_SKYLAKEX.c:8:0:
/home/ayounes/devel/nv3dfi/ext/pkg-openblas/src/kernel/x86_64/dgemm_kernel_4x8_skylakex.c:55:8: note: called from here
ymm11 = _mm256_setzero_pd();  \
~~~~~~^~~~~~~~~~~~~~~~~~~~~
/home/ayounes/devel/nv3dfi/ext/pkg-openblas/src/kernel/x86_64/dgemm_kernel_4x8_skylakex.c:1307:4: note: in expansion of macro 'INIT4x8'
  INIT4x8()
  ^~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:41:0,
               from /home/ayounes/devel/nv3dfi/ext/pkg-openblas/src/kernel/x86_64/dgemm_kernel_4x8_skylakex.c:36,
               from /home/ayounes/devel/nv3dfi-build/linux_host/src/openblas_project-build/kernel/CMakeFiles/dgemm_kernel_SKYLAKEX.c:8:
/usr/lib/gcc/x86_64-linux-gnu/6/include/avxintrin.h:1196:1: error: inlining failed in call to always_inline '_mm256_setzero_pd': target specific option mismatch
_mm256_setzero_pd (void)
^~~~~~~~~~~~~~~~~

target specific option mismatch error suggests that gcc is missing an option like -march=skylake-avx512 here. The Makefile build was changed fairly recently to add it automatically, but it could be that the cmake build was missed.

Could you provide some system information - 16.04 is Ubuntu I assume?
Intel - is it x86_64 ?

yes.
Default gcc should be gcc v5 - does it work?

Défaut is 6.4 in out Docker...
And yes, or works fine.

cmake/system_check.cmake just needs an else() set (CCOMMON_OPT "${CCOMMON_OPT} -march=skylakex-avx512 added to the if clause near its end. I will create a PR soon, in the meantime I think you should get it working by just adding this -march= option to your CFLAGS

@martin-frbg yes, that is missing. after adding march flag allows cmake build to complete on gcc-6 and above.

Thanks a lot for the prompt fix!

I am sorry but this should be open again:
[1469/6999] Building C object kernel/CMake...X.dir/CMakeFiles/dgemm_otcopy_SKYLAKEX.c.o
FAILED: kernel/CMakeFiles/kernel_SKYLAKEX.dir/CMakeFiles/dgemm_otcopy_SKYLAKEX.c.o
/usr/bin/cc  -I/home/ayounes/devel/nv3dfi/ext/pkg-openblas/src -Ikernel_config/SKYLAKEX -fPIC -DDYNAMIC_ARCH -DNO_LAPACK -DNO_LAPACKE -DMAX_CPU_NUMBER=64 -DMAX_PARALLEL_NUMBER=1 -O3 -DNDEBUG -fPIC   -DBUILD_KERNEL -DTABLE_NAME=gotoblas_SKYLAKEX -DTS=_SKYLAKEX -MD -MT kernel/CMakeFiles/kernel_SKYLAKEX.dir/CMakeFiles/dgemm_otcopy_SKYLAKEX.c.o -MF kernel/CMakeFiles/kernel_SKYLAKEX.dir/CMakeFiles/dgemm_otcopy_SKYLAKEX.c.o.d -o kernel/CMakeFiles/kernel_SKYLAKEX.dir/CMakeFiles/dgemm_otcopy_SKYLAKEX.c.o   -c kernel/CMakeFiles/dgemm_otcopy_SKYLAKEX.c
In file included from kernel/CMakeFiles/dgemm_otcopy_SKYLAKEX.c:9:0:
/home/ayounes/devel/nv3dfi/ext/pkg-openblas/src/kernel/x86_64/dgemm_tcopy_8_skylakex.c: In function ‘dgemm_otcopy_SKYLAKEX’:
/home/ayounes/devel/nv3dfi/ext/pkg-openblas/src/kernel/x86_64/dgemm_tcopy_8_skylakex.c:87:9: warning: AVX512F vector return without AVX512F enabled changes the ABI [-Wpsabi]
row1 = _mm512_loadu_pd(aoffset1);
~^~~~~~~~~~~~~~~~~~~~~~~
/home/ayounes/devel/nv3dfi/ext/pkg-openblas/src/kernel/x86_64/dgemm_tcopy_8_skylakex.c:119:7: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
row1 = _mm256_loadu_pd(aoffset1);
In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/immintrin.h:45:0,
               from /home/ayounes/devel/nv3dfi/ext/pkg-openblas/src/kernel/x86_64/dgemm_tcopy_8_skylakex.c:41,
               from kernel/CMakeFiles/dgemm_otcopy_SKYLAKEX.c:9:
/usr/lib/gcc/x86_64-linux-gnu/7/include/avx512fintrin.h:5722:1: error: inlining failed in call to always_inline ‘_mm512_storeu_pd’: target specific option mismatch
_mm512_storeu_pd (void *__P, __m512d __A)
^~~~~~~~~~~~~~~~

Sorry, closed automatically as I had written "should fix" in the commit message. Not sure what went wrong but probably some silly mistake again.

Seems modifications to CCOMMON_OPT are ignored at that point in the build sequence, setting KERNEL_DEFINITIONS in #1812 instead.

#1812 fixes the compilation for me.

Thanks. I had some misgivings that it might not work with non-DYNAMIC, TARGET=SKYLAKEX builds but apparently there was something else wrong with my test. (Not surprising as I was doing this on the side at work)

I can also confirm that the crash is gone.
But as I am using DYNAMIC and I don't have any Skylakex I cannot test further than that.
Thanks anyway.

I do not have AVX512 hardware at the moment either, but at least I can see that a TARGET=SKYLAKEX build gets the -march=skylake-avx512 option now as it should. Thanks for confirming that the original issue is resolved.


Loop through site.posts?

For the examples listed on the layouts page, shouldn't the loop be {% for post in page.posts %}? As written, when I try this on my own site nothing renders, but if I use site.posts an archive appears.
Jekyll 3.8.5
Jekyll Archives 2.2.1
Ruby 2.5.0

From the source-code, it looks like page.posts is the correct accessor:
https://github.com/jekyll/jekyll-archives/blob/44e357429136e8b70d31537814d1532f107b8932/lib/jekyll-archives/archive.rb#L26-L29
Do you have a sample test-repository that I can clone and reproduce this..?

I don't have a testing repo, but I can reproduce my setup here. While this currently works, I'm wondering if there's a simpler way to go about it. For the record, page.posts is correct, my bad.
    jekyll-archives:
      enabled: year
      layout: archive
      permalinks:
        year: '/archive/:year/'

---
layout: default
---

{% for post in site.posts  %}
        {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
        {% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}

    {% if forloop.first %}

{{this_year}}

    {% endif %}

{{ post.title }}

    {% if forloop.last %}

    {% else %}
        {% if this_year != next_year %}

{{next_year}}

        {% endif %}
    {% endif %}
{% endfor %}

What is your use-case @chrisfinazzo ?
The above Liquid code is quite a nasty hack! It considerably lowers you site's maintainability score.
I'm closing this since this does not look like a bug-report to me.
You may find assistance at Jekyll Talk..


vscode exploration: intelliSense / suggestion box is not positioned normally.

VSCode Version:
Version: 1.41.0-exploration (system setup)
Commit: 22c3db00ec057fecf0144c4c7f8c6bc6cb60e5d6
Date: 2019-12-03T21:30:12.474Z
Electron: 7.1.3
Chrome: 78.0.3904.126
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.19035

OS Version:
Windows version 2004 (OS Build 19035.1) Insider build - fast.

Steps to Reproduce:

Open Vscode exploration
Type something, ctrl+space, or it will auto appear.

Here is the screenshot:

Does this issue occur when all extensions are disabled?: Yes/No
Yes

Most like duplicate of #85313 which was already fixed in Insiders, but I'm not sure if it is in Exploration builds.


[FEAT] Add favicon as profile picture of user for journey's on website

This will be hard to implement but it's just a idea: I was thinking as the favicon for people's journeys we can add their profile picture, listed in Data.json
Is this possible @vikasganiga05?
cc: @Adarsh-jaiss

This feature may be possible I have to do some research on this.

This feature may be possible I have to do some research on this.

i think we could use event and props property and try it out Ig

Can you make a PR?
On Mon, 1 Aug 2022 at 16:15, Abhinav kar @.***> wrote:

This feature may be possible I have to do some research on this.
i think we could use event and props property and try it out Ig
—
Reply to this email directly, view it on GitHub
https://github.com/collab-community/journey-book/issues/93#issuecomment-1201031555,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUGJUTNTXYBHZU5OP7AUQK3VW6TDFANCNFSM55DQGF3Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

I will like to try it out to

I will like to try it out to

Okay, If you need any help feel free to ask here or on Discord Server.

Sure! Feel free to do it. Please make a PR
On Wed, 3 Aug 2022, 3:44 am Tunji Mubarak Azeez, @.***>
wrote:

I will like to try it out to
—
Reply to this email directly, view it on GitHub
https://github.com/collab-community/journey-book/issues/93#issuecomment-1203266152,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUGJUTKR2BBM3PFDZ6ZEUPDVXGMVXANCNFSM55DQGF3Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

How can I make a PR?

How can I make a PR?

Fork the repo
Create a branch in your fork
Do the required changes to fix this issue
Create a PR following:  https://opensource.pradumnasaraf.co/#/pages/How-to/guide/creating-pr

Hi, here is my solution for this feature :point_down:
Preview   →   https://deploy-preview-3--neontuts-docsify-test.netlify.app/
Code       →   https://github.com/neontuts/journey-book/tree/93-feat-dynamic-favicon

Ayy, works really well, but instead of the square in the background can it
just be the image of the user, if that's not possible, no worries. Please
make a PR. Thanks!
On Thu, 4 Aug 2022 at 05:33, Vikas Ganiga @.***> wrote:

Hi, here is my solution for this feature 👇
Preview   →   https://deploy-preview-3--neontuts-docsify-test.netlify.app/
Code       →
https://github.com/neontuts/journey-book/tree/93-feat-dynamic-favicon
—
Reply to this email directly, view it on GitHub
https://github.com/collab-community/journey-book/issues/93#issuecomment-1204598026,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUGJUTKVC6BNDQ2GRZUW6UTVXMCEHANCNFSM55DQGF3Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thanks, The favicons will change according to the user's avatar they provided in the Data.json. If find a way to modify the image I will do that else I will make the PR. Thank You :pray:

Ok thanks. Please close this issue.
On Fri, 5 Aug 2022, 12:17 am Vikas Ganiga, @.***> wrote:

Thanks, The favicons will change according to the user's avatar they
provided in the Data.json. If find a way to modify the image I will do
that else I will make the PR. Thank You 🙏
—
Reply to this email directly, view it on GitHub
https://github.com/collab-community/journey-book/issues/93#issuecomment-1205646260,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUGJUTOVHCL5DD5SKAWHUUTVXQF4JANCNFSM55DQGF3Q
.
You are receiving this because you authored the thread.Message ID:
@.***>


Conflicting behaviors using ExAudit.Repo

Using ExAudit.Repo properly after usage of Ecto.Repo:
defmodule PINWaste.Repo do
  use Ecto.Repo,
    otp_app: :pin_waste,
    adapter: Ecto.Adapters.Postgres

  use ExAudit.Repo

This causes the following warning:
warning: conflicting behaviours found. function default_options/1 is required by Ecto.Repo and ExAudit.Repo

@narrowtux any clue here? figured tagging somebody would increase visibility on this.

This is beacue Ecto.Repo it self requires such callback as well.
fix is in PR (just created): https://github.com/ZennerIoT/ex_audit/pull/92/commits/d229bc6a59db351676e00c678c3a99ed6896a40b

@revati 🙏 any update on getting that PR in? I am seeing this issue as well.


MC position controller reset

do not run controller if vehicle has landed state active
for auto mode call the reset position and altitude function at the
correct location. They should be called at the end of the control_auto
function because this is where they could still be modified

@LorenzMeier Can you look and say if this makes sense to you?

Damn, I think the landed part will not work, since it will never take off.

@LorenzMeier Ok, I fixed it up.

Just did a test in SITL, something is still not right.

@LorenzMeier The problem is that the position setpoint triplet has 0 lat and lon values. The position controller tries to follow the setpoint. Must be something in the navigator then.

@LorenzMeier Resetting back prior to those may navigator commits that went in this week fixes the problem.

Got it.

Should we close this?


EC2 tags specified in CloudFormation should be applied to the instances

Fixes #839.

Coverage increased (+0.001%) to 93.43% when pulling da9ad2c6c6fbb1ede80a6c6b174d236190a45df6 on rouge8:gh-839 into d3df810065c9c453d40fcc971f9be6b7b2846061 on spulec:master.

Awesome, thank you!


Feature request: Tensor decomposition

( Related to issue https://github.com/tensorflow/tensorflow/issues/2207 )
Tensors can be used for a whole lot more than implementing a NN. One of the useful operations in multidimensional arrays is its decomposition into smaller components. Tucker / CP native implementations would allow the use of tensorflow in other ML contexts...
refs:
https://en.wikipedia.org/wiki/Tensor_rank_decomposition
https://en.wikipedia.org/wiki/Higher-order_singular_value_decomposition

@015988 Thanks for the suggestion. I agree that TensorFlow would be well suited for the class of algorithms you mention, but this is probably out of scope for core TensorFlow at this point, and should probably live in an independent repository.

@015988 I've recently implemented tucker and CP decompositions in TensorFlow (tf-decompose). Any contributions there would be welcome!

Just adding a bit to the discussion. It may not be clear and obvious right now, but Tensor decomposition has a chance of becoming very relevant for image analysis, what is probably well within the scope of TensorFlow right now. Let's wait and see...

this would be extremely useful for big data DR in molecular dynamics


can it run in unbounded mode?

Hello, can it run with the unbounded mode? can scale the webview to any size? Your screenshot shows bounded mode,that means the content and webview size is limited,I want to scale the webview to very large

Hi 👋🏻. Thank you for using 3D WebView! I really appreciate your business. Yes, the VisionOSWebView.CreateInWindow() API used by this example project can be used in unbounded mode. Regardless of whether the Unity scene uses bounded or unbounded mode, CreateInWindow() creates the webview in a native visionOS window that is not limited by the bounds of the Unity scene. For future question, please use the Vuplex contact page. I will be disabling the Issues feature for this repo to ensure that support questions are directed through the contact page.


chore(rdsn): Merge sub-project rdsn from XiaoMi/rdsn

https://github.com/apache/incubator-pegasus/issues/945

[x] Add rdsn as subdirectory instead of submodule in the Pegasus project

[x] Remove rdsn submodule firstly
[x] Merge rdsn project to Pegasus
[x] Reorganize file names and job names in the combined .github/workflows directory
[x] Make sure all actions are working well
[x] Add more licenses to LICENSE file in Pegasus
[x] Update related URLs like https://github.com/XiaoMi/rdsn.git

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@8758a57). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1012   +/-   ##
=========================================
  Coverage          ?   53.31%
=========================================
  Files             ?       27
  Lines             ?     2517
  Branches          ?        0
=========================================
  Hits              ?     1342
  Misses            ?     1130
  Partials          ?       45

Continue to review full report at Codecov.

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

MUST use squash merge!!!


fix: Fixed package versioning of databases

In #38, tests were failing apparently because of a missing psycopg2 dependency. So I checked the last previous PR successfully building which is #37:
The build of 37 (https://github.com/pyronear/pyro-api/pull/37/checks?check_run_id=1408361256) installs databases v0.4.0 while the other (https://github.com/pyronear/pyro-api/pull/38/checks?check_run_id=1411729940) installs  version 0.4.1. I checked locally and adding an upper bound constraint fixes the issue.
Any feedback is welcome!

@florianriche not specifically, they seem to have change psycopg2 dependency in https://github.com/encode/databases/pull/256 :man_shrugging:


Only render visible data for primary and secondaries.

#675.

Nice work, just made a couple of small changes and rebased in #748 :+1:


use url with api token

Hi,
We want to use a json datasource but we have problem to include the api token.
How must we do?
Thanks

Please provide more info

Thanks for your answer!
The api that we use include a query token.
URL?token=XXXXXX
Is it possible to use simpPod with token in URL!
I hope to be clear!
Thanks!

No, it's not possible. But newer Grafana versions allow to pass custom headers to HTTP datasources. Use that if possible. Otherwise, you'd have to create feature request to Grafana.

Thanks,
We will have a look!


[SPARK-13727] [SQL] SparkConf.contains does not consider deprecated keys

What changes were proposed in this pull request?
The contains() method does not return consistently with get() if the key is deprecated. For example,
import org.apache.spark.SparkConf
val conf = new SparkConf()
conf.set("spark.io.compression.lz4.block.size", "12345")  # display some deprecated warning message
conf.get("spark.io.compression.lz4.block.size") # return 12345
conf.get("spark.io.compression.lz4.blockSize") # return 12345
conf.contains("spark.io.compression.lz4.block.size") # return true
conf.contains("spark.io.compression.lz4.blockSize") # return false
The fix will make the contains() and get() more consistent.
How was this patch tested?
I've added a test case for this.
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
Unit tests should be sufficient.

Can one of the admins verify this patch?

@jaceklaskowski @srowen I've some changes. How about the logic this time?

@srowen thanks for the suggestion. i've pushed the changes to make it more concise.

ok to test @vanzin

Test build #52803 has started for PR 11568 at commit eede12b.

Made some changes based on @andrewor14 comments. Thanks!

Test build #52808 has started for PR 11568 at commit 6061b86.

LGTM

Test build #52803 has finished for PR 11568 at commit eede12b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/52803/
Test PASSed.

Merged build finished. Test PASSed.

Test build #52808 has finished for PR 11568 at commit 6061b86.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/52808/
Test PASSed.

(BTW I'll fix the title during merge since this is not a sql change.)


[DE Unit/Currency] Not recognizing hyphen-connected unit expressions

Word sequences are often hyphenated in German, which can prevent currency expressions from being recognized:
•	DE: "12-Pfund-Tasse Kaffee" ("12-pound-cup of coffee") returns only a number

looking into this


Add announcements to software documentation

Description
Improvement: Added markdown files with announcements for each platform. Content of these files is added to software reports on top part of report.
Related issue:
Internal issue: #830
Check list

[ ] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run

Do we need 2 different announcements files? Aren't they the same?

Do we need 2 different announcements files? Aren't they the same?

@AlenaSviridenko , yes, it will be easier to maintain, because such platform report should content announcements for itself platform. If it one file, we need to implement logic to parse announcements for defined platform.

Do we need 2 different announcements files? Aren't they the same?

@AlenaSviridenko  I think it is expected case when the table can be different for different OSs. It doesn't makes sense to put macOS announcements to Ubuntu or Windows docs


[Bug] Margin error

Describe the bug
Sometimes a margin of an element will be listed as 0 and yet it is actually a large number. Test by opening the demo, clicking the "track order" combination button in the top right. Notice the margin in 0. If you change it to zero again, the space collapses.
P.S. Awesome work so far!

Seems we are not handling margin-left: auto well in this case

Fixed in https://github.com/onlook-dev/onlook/pull/296 !


Set result size when fetching dependency links from ElasticSearch

Otherwise it only returns 10.

thanks.
your test fails due to license header failure. you can run this to update it.
./mvnw com.mycila:license-maven-plugin:format -pl -:zipkin-ui

We should also make sure a test is present to prove that more than 10 links are returned (as it might be the case other span stores are silently failing.
Let me know, if you want to take this on or if I should!

I'll tidy this up on the way in. thanks!

replaced by #1504

going out now as 1.19.4


[Feature Request]: option to highlight items with ETV over $100

Feature Description
I was wondering if it is possible to have an option to highlight items with ETV over $100, similar to the feature to highlight items that are recently added using the "Now", "-3Hrs", "-12Hrs", and "-24Hrs" buttons.  Thanks!

I like this idea as well, but It might be simpler to create tabs for Silver and Gold tiers.


Native image docker image is missing a library

When you try a native image build in a docker image, it fails as the following library is missing:
libstdc++
This library needs to be installed.

I just tried the Dockerfile.native that comes as part of the 2.0.0-M1 Helidon SE archetype and it  worked. It uses helidon/jdk11-graalvm-maven:19.3.1  which has libstdc++:
$ ls /usr/lib/libstdc++*
/usr/lib/libstdc++.so.6  /usr/lib/libstdc++.so.6.0.19

From customer:
So far it’s a main method that launches a fabric8 Kubernetes client and installs a watch
Version is 1.4.1


react-scripts 4.0.3 crashes during npm install if package.json includes eslint

Describe the bug
If eslint is included in a create-react-app project, npm install crashes.
Steps to reproduce:

Install node 14.14.0 and npm version 7.7.1
npx create-react-app my-app --template typescript
Add dependency "eslint": "7.22.0" to package.json
Remove package-lock.json
Remove node_modules
npm cache clear --force
Run npm install

Result:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@babel/core
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/react-scripts
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@svgr/webpack
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!     node_modules/react-scripts
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   9 more (babel-jest, babel-loader, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@babel/preset-env/node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@babel/preset-env
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!     node_modules/@svgr/webpack
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!       node_modules/react-scripts
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/jason/.npm/eresolve-report.txt for a full report.

npm ERR!      /Users/jason/.npm/_logs/2021-03-24T20_18_14_307Z-debug.log

This is package.json:
{
  "name": "my-app",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@testing-library/jest-dom": "^5.11.9",
    "@testing-library/react": "^11.2.5",
    "@testing-library/user-event": "^12.8.3",
    "@types/jest": "^26.0.21",
    "@types/node": "^12.20.6",
    "@types/react": "^17.0.3",
    "@types/react-dom": "^17.0.3",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-scripts": "^4.0.3",
    "typescript": "^4.2.3",
    "eslint": "^7.22.0",
    "web-vitals": "^1.1.1"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ]
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}

It isn't just eslint that triggers this crash. In my main project, I've changed all packages to the versions that appear in a fresh create-react-app install. I removed all eslint packages. Some other package in there is also causing this error.
UPDATE: I tried adding "@babel/core": "^7.13.0" in the package.json file and that fixes the problem.

I see that adding "@babel/core": "^7.13.0" to the package.json will fix the issue...but I'd rather not add it when it's not a package I am directly using. Any other solutions? I assume a change within react-scripts will have to be made or adding to the package.json is the only solution.

Humm, if I see things correctly, the resolving dependency error occurs because create-react-app has the "@babel/core": dependency fixed to "7.12.3" in its "packages.json" file.
3 days ago, @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining was merged to Babe master branch that requires "@babel/core" dependency to be "7.13.0" or greater.
I don't know create-react-app too well, but would perhaps relaxing the "@babel/core" dependency to "^7.12.3" be a proper way to fix this issue?

Can reproduce easily as follows

npm create-react-app my-app
npm run eject (this forces all the packages "hidden" to be exposed so you can actually see what is going on)

you get the same dependency break as noted by @jtiscione.
The change from 7.12.3 to 7.13.0

https://babeljs.io/blog/2021/02/22/7.13.0
https://github.com/babel/babel/releases/tag/v7.13.0

As per: https://nodesource.com/blog/semver-a-primer/

prefixing a single semver version string with the ^ character defines a range of acceptable versions
that include all patch and minor versions from the ones specified up to, but not including, the next
version. So "^1.2.3" can be approximately expanded as ">=1.2.3 <2.0.0".

As @nouvak note, relaxing the dependency will push npm install to pick up the next minor version and you won't be fixed to 7.13.0 (as of this writing @babel/core is at 7.13.5)
If you run npm outdated after the npm run eject (as above) you will see @babel/core marked in red (as of this writing)
(which according to npm help outdated, means "there's a new semver (Semantic Version) requirements, so you should update now)
Based on this, and that the change to @babel/core is minor it appears to be reasonable to follow @nouvak's advice.
I am not able to find a reason why @babel/core is fixed at 7.12.3 in CRA but my knowledge and experience is limited.
Hope this helps.

I'm having the same issue, any ETA fox fixing this? npm@7 was released 2 months ago :)

Installing the most recent node LTS version (v14.17.0) solved the problem for me.


rror executing "AdminInitiateAuth" on "https://cognito-idp.us-east-1.amazonaws.com"; AWS HTTP error

Describe the bug
Error executing "AdminInitiateAuth" on "https://cognito-idp.us-east-1.amazonaws.com"; AWS HTTP error: Client error: POST https://cognito-idp.us-east-1.amazonaws.com resulted in a 400 Bad Request response: {"__type":"NotAuthorizedException","message":"Incorrect username or password."} NotAuthorizedException (client): Incorrect username or password. - {"__type":"NotAuthorizedException","message":"Incorrect username or password."}
To Reproduce
I'm using laravel 11
Expected behavior
Login user

@3htp Thank you for reaching out. Can you share some more information about the issue you are facing? Some implementation or code samples would help.
A sample demo is available at https://github.com/ellaisys/demo_cognito_app

Closing this due to no response


Formatting error in a Yarn monorepo

Hello! 👋
I'm having an issue trying to format .res file:
Cannot find a nearby bsc.exe in rescript or bs-platform. It's needed for formatting.

Source: rescript-vscode (Extension)

I am working in one of the packages of a Yarn monorepo, and I have the following bsconfig.json:
{
  "name": "name",
  "sources": [
    {
      "dir": "source/rescript",
      "subdirs": true
    }
  ],
  "package-specs": [
    {
      "module": "es6",
      "in-source": true
    }
  ],
  "suffix": ".bs.js",
  "bs-dependencies": []
}

package.json has the following dev deps:
    "bs-platform": "^9.0.2",
    "rescript": "^9.1.4",

Am I missing some step in configuring ReScript to work inside an existing project? Any help is appreciated, thanks!!

hey @fhammerschmidt !

You have bs-platform and rescript in your dependencies. Do you know that those are the same packages, just with different version numbers? It should be safe to remove the old bs-platform.

That's a good point, I've actually started with rescript and only added bs-platform when trying to make this work. I've since removed bs-platform and there is no change.

The extension recursively checks or it until it reaches it or the root of your filesystem.

This seems to be a problem because yarn v2 caches and zips the dependencies.
I tried using npm and the formatter was able to find bsc.exe.
Does rescript-vscode support usage with yarn v2?

Not really, since it relies on the existence of a node_modules folder.
You would need to add
nodeLinker: 'node-modules'

to your .yarnrc.yml, or (probably better) follow this yarn recipe: https://yarnpkg.com/getting-started/recipes/#hybrid-pnp--node_modules-mono-repo

https://github.com/reason-seoul/yarn-plugin-rescript worked nicely, thanks @fhammerschmidt!


Broken link in docs

👋 In the docs, on the "Usage Example: Haberdasher" page, the next link at the bottom, which should go to "Best Practices", is broken and leads to a 404. I had a look at how this could be fixed, but I am not very familiar with docusaurus, so I ended up giving up after some minutes. Sorry about that!

Thanks. We regenerated the documentation site and this link should be fixed now.


Yuneec-SDK-Android: update to v<IP_ADDRESS>

@Sushma7785 I think this makes sense though because v0.13.1-0 is stuck :cry: .


bugfix/missing-comma-was-creating-a-new-file-format

Description of Changes

Found while working on napari stuff which tests for png support. If you try to read a PNG directly with this package's Reader, it works! If you try to read a PNG with BioImage, it fails because it doesn't have a plugin listing for "png" but does have one for "pngppm" because if there isn't a comma, Python will combine strings together 🙃🙃🙃.

I am also mirroring the change made here: https://github.com/AllenCellModeling/aicsimageio/pull/543
In which imageio was bumped to a higher version to handle various ffmpeg differences

I wonder if we can get the tests back to green

I wonder if we can get the tests back to green

Was trying to before I got blocked on time :/ will return to this in ~2 weeks.

Any way I can help this get through? I'm lazy and weary of using other libraries just for png's.
The only CI failure I see is AssertionError [ERR_ASSERTION]: Unsupported architecture (only x64 is supported) for MacOS. But maybe the logs have expired?
Cheers-

I tried to run tests locally from instructions in contributing.md (just build). My goal was to compare the present example.gif to the aicsimageio example.gif since they appear to be in different servers. However, I get this error:
[INFO: download_test_resources:  79 2024-12-12 11:34:01,094] Downloading test resources using top hash: 3fba62f10af9b4b85dfe07bffdc526a6f8efaea1b7ee7d06f9e9e5613e8339fc
[ERROR: download_test_resources:  95 2024-12-12 11:34:02,244] =============================================
[ERROR: download_test_resources:  99 2024-12-12 11:34:02,246]

S3 AccessDenied for S3Api.HEAD_OBJECT on bucket: bioio-dev-test-resources

[ERROR: download_test_resources: 100 2024-12-12 11:34:02,246] =============================================

Individually running download_test_resources.py also gives this error. Is access to the S3 bucket public? Perhaps there is some other setting I need to do. I have never worked with AWS before.

I tried to run tests locally from instructions in contributing.md (just build). My goal was to compare the present example.gif to the aicsimageio example.gif since they appear to be in different servers. However, I get this error:
[INFO: download_test_resources:  79 2024-12-12 11:34:01,094] Downloading test resources using top hash: 3fba62f10af9b4b85dfe07bffdc526a6f8efaea1b7ee7d06f9e9e5613e8339fc
[ERROR: download_test_resources:  95 2024-12-12 11:34:02,244] =============================================
[ERROR: download_test_resources:  99 2024-12-12 11:34:02,246]

S3 AccessDenied for S3Api.HEAD_OBJECT on bucket: bioio-dev-test-resources

[ERROR: download_test_resources: 100 2024-12-12 11:34:02,246] =============================================

Individually running download_test_resources.py also gives this error. Is access to the S3 bucket public? Perhaps there is some other setting I need to do. I have never worked with AWS before.

We are working on this right now with our infrastructure team. They are not currently public, though if you open a branch you can run tests from there with the approval of a "Trusted Developer". Hopefully in the next few weeks, these files will all be public...


The base cannot start.

when I try to start bot.js, i get this error. always. Other bases work, like a 10 line base another user gave me. Here is the error, hope you can help me

please read the README for instructions on setting up and running the bot. you're using the wrong command in the wrong folder.


add file_operator tools

Add file operator like langchain file operator.

Summary by CodeRabbit

New Features

Enhanced file manipulation tools with additional functionalities like writing, appending, reading, deleting, listing directories, copying, and moving files.
Introduced a versatile FileToolKit class for comprehensive file operations.
Added specific classes for distinct file manipulation tasks with detailed descriptions and necessary parameters.
Provided examples showcasing direct usage of file operation tools and interaction through the FileToolKit class.
Implemented test cases to ensure the reliability and effectiveness of file manipulation tools.

@longsihua2003 plz run make formatting

You can also add a notebook show how to use it in /example

@ruanrongman It's a good solution, but how to handle copy, list, delete ... operations?

@ruanrongman He can add Parameters to show args. For pne's tool, maybe class type tool is better. For custom tool, it's more simple for developer.

In this case, how do I deal with the situation that I have multiple tools to use，And it seems hard to understand。

@ruanrongman

@ruanrongman It's a good solution, but how to handle copy, list, delete ... operations?

can reference the linux,define the code

r means read, w means write, a means append. Like os.open function argument.

yes

@ruanrongman It's a good solution, but how to handle copy, list, delete ... operations?

can reference the linux,define the code

Feel bad, Linux pattern lists directories with os.listdir(), and using os.remove() to delete file. rwa can only control the mode  of file operations, but it is not suitable for directory operations.

Add parameters attribution for all tools plz. See the following demo to define a tool.

lgtm


Unable to connect to Default Project

Bug report
Describe the bug
Supabase keeps loading but never connect to default project.
To Reproduce
Follow this steps
https://github.com/supabase-community/supabase-kubernetes/blob/main/charts/supabase/README.md
Everything is deployed nicely.
Then I portforward my supabase-studio to see the interface, then I click on default project and and keeps "connecting to Default Project" but never finishes, so I decided in Google Chrome check the network and I've got the below.
I tried updating this variable which is SUPABASE_PUBLIC_URL, but still keep same issue.
Expected behavior
I expected to be able to load the default project.
Screenshots

System information

OS: [e.g. macOS, Windows]
Browser (if applies) [e.g. chrome, safari]
Version of supabase-js: [e.g. 6.0.2]
Version of Node.js: [e.g. 10.10.0]

Additional context
helm version
version.BuildInfo{Version:"v3.13.1", GitCommit:"3547a4b5bf5edb5478ce352e18858d8a552a4110", GitTreeState:"clean", GoVersion:"go1.20.8"}

Hi, im basically reviewing this issue myself. I think the issue resides in the configuration of the ingresses as the front-end is sending requests to the localhost in the example helm-chart which obviously can only happen if youre running it all on a local kubernetes cluster and wont work once deployed somewhere in production. Like you mentioned I think you must make sure your nginx ingresses that are in the example are configured/deployed and working correctly before also and then subsequently changing the url from http://localhost.
The other similar issue im having related to yours is also that once the ingresses are configured correctly it seems the default kong setup has routing issues:
{"message":"no Route matched with those values"}
I imagine there is a few flaws somewhere in the example provided but i might be wrong maybe someone could clear this up

Hi @DeanHnter
I fixed the issue by using the newest supabase image rather than one included here in this chart, just take the newest tag.

This related to https://github.com/supabase/supabase/issues/10707 because the tag for sperbase-reset is set to v<IP_ADDRESS>20717 which is too old.


PoC: Accelerator refactor [wip] [skip ci]

This PR is a revamp of #5385 since I messed up with git.
Closes #5385
What does this PR do?
Fixes #4510
This PR separates the Accelerator (Hardware Part) from the actual different training routines.
Remaining TODOs:

[ ] TPUAccelerator (Justus)
[x] DDP2 Plugin (Adrian)
[x] Shared Training Plugin (Sean/Justus)
[ ] RPC Plugin (Justus)
[ ] Add Layers for parallel: SingleProcessMultipleDevice (SPMD), SingleProcessSingleDevice (SPSD) (Justus)
[ ] Rebase on release branch
[ ] Testing DDP2 and DDP Slurm
[ ] Remove old plugins (pl/plugins/old)
[x] Make Tuner work (requires setting some attrs through trainer) (Adrian)

So far this PR was co-authored with @awaelchli !
cc @awaelchli @tchaton @SeanNaren who will likely work on this!
Slides for motivation and high-level overview
List of PRs to look out for (when rebasing, code we need to manually copy over to new files):
#5221, #5195, #5300, #5388

Hello @justusschock! Thanks for updating this PR.

In the file pytorch_lightning/accelerators/accelerator.py:

Line 212:26: W292 no newline at end of file

In the file pytorch_lightning/accelerators/accelerator_connector.py:

Line 63:18: W291 trailing whitespace
Line 186:33: E128 continuation line under-indented for visual indent
Line 187:33: E128 continuation line under-indented for visual indent

In the file pytorch_lightning/accelerators/cpu.py:

Line 14:45: W292 no newline at end of file

In the file pytorch_lightning/accelerators/gpu.py:

Line 25:37: W292 no newline at end of file

In the file pytorch_lightning/accelerators/old/accelerator_connector.py:

Line 196:13: W503 line break before binary operator
Line 207:13: W503 line break before binary operator
Line 348:21: W503 line break before binary operator
Line 356:17: W503 line break before binary operator

In the file pytorch_lightning/accelerators/plugins/base_plugin.py:

Line 4:1: E302 expected 2 blank lines, found 1
Line 31:14: W292 no newline at end of file

In the file pytorch_lightning/accelerators/plugins/precision/apex_amp.py:

Line 12:1: E302 expected 2 blank lines, found 1
Line 115:53: W292 no newline at end of file

In the file pytorch_lightning/accelerators/plugins/precision/mixed.py:

Line 4:1: E302 expected 2 blank lines, found 1
Line 7:24: W292 no newline at end of file

In the file pytorch_lightning/accelerators/plugins/precision/native_amp.py:

Line 48:40: W292 no newline at end of file

In the file pytorch_lightning/accelerators/plugins/training_type/ddp2.py:

Line 4:1: E302 expected 2 blank lines, found 1
Line 5:9: W292 no newline at end of file

In the file pytorch_lightning/accelerators/plugins/training_type/dp.py:

Line 8:1: E302 expected 2 blank lines, found 1
Line 44:27: W292 no newline at end of file

In the file pytorch_lightning/accelerators/plugins/training_type/parallel.py:

Line 17:1: E302 expected 2 blank lines, found 1
Line 91:23: W292 no newline at end of file

In the file pytorch_lightning/accelerators/plugins/training_type/sharded_spawn.py:

Line 39:5: E303 too many blank lines (2)

In the file pytorch_lightning/accelerators/plugins/training_type/single_device.py:

Line 20:1: W293 blank line contains whitespace
Line 40:19: W292 no newline at end of file

In the file pytorch_lightning/accelerators/plugins/training_type/training_type_plugin.py:

Line 11:1: E302 expected 2 blank lines, found 1

In the file pytorch_lightning/plugins/__init__.py:

Line 1:53: W292 no newline at end of file

In the file pytorch_lightning/plugins/old/plugin_connector.py:

Line 38:9: E265 block comment should start with '# '

In the file pytorch_lightning/trainer/properties.py:

Line 429:121: E501 line too long (121 > 120 characters)

In the file test.py:

Line 4:1: E302 expected 2 blank lines, found 1
Line 96:1: E305 expected 2 blank lines after class or function definition, found 1
Line 97:23: E231 missing whitespace after ','
Line 97:135: W292 no newline at end of file

In the file tests/models/test_amp.py:

Line 152:121: E501 line too long (121 > 120 characters)

In the file tests/plugins/test_sharded_plugin.py:

Line 83:13: E225 missing whitespace around operator
Line 85:20: E225 missing whitespace around operator
Line 102:9: E901 IndentationError: unindent does not match any outer indentation level

Hello @justusschock! Thanks for updating this PR.

In the file pytorch_lightning/accelerators/accelerator.py:

Line 212:26: W292 no newline at end of file

In the file pytorch_lightning/accelerators/accelerator_connector.py:

Line 63:18: W291 trailing whitespace
Line 186:33: E128 continuation line under-indented for visual indent
Line 187:33: E128 continuation line under-indented for visual indent

In the file pytorch_lightning/accelerators/cpu.py:

Line 14:45: W292 no newline at end of file

In the file pytorch_lightning/accelerators/gpu.py:

Line 25:37: W292 no newline at end of file

In the file pytorch_lightning/accelerators/old/accelerator_connector.py:

Line 196:13: W503 line break before binary operator
Line 207:13: W503 line break before binary operator
Line 348:21: W503 line break before binary operator
Line 356:17: W503 line break before binary operator

In the file pytorch_lightning/accelerators/plugins/base_plugin.py:

Line 4:1: E302 expected 2 blank lines, found 1
Line 31:14: W292 no newline at end of file

In the file pytorch_lightning/accelerators/plugins/precision/apex_amp.py:

Line 12:1: E302 expected 2 blank lines, found 1
Line 115:53: W292 no newline at end of file

In the file pytorch_lightning/accelerators/plugins/precision/mixed.py:

Line 4:1: E302 expected 2 blank lines, found 1
Line 7:24: W292 no newline at end of file

In the file pytorch_lightning/accelerators/plugins/precision/native_amp.py:

Line 48:40: W292 no newline at end of file

In the file pytorch_lightning/accelerators/plugins/training_type/ddp2.py:

Line 4:1: E302 expected 2 blank lines, found 1
Line 5:9: W292 no newline at end of file

In the file pytorch_lightning/accelerators/plugins/training_type/dp.py:

Line 8:1: E302 expected 2 blank lines, found 1
Line 44:27: W292 no newline at end of file

In the file pytorch_lightning/accelerators/plugins/training_type/parallel.py:

Line 17:1: E302 expected 2 blank lines, found 1
Line 91:23: W292 no newline at end of file

In the file pytorch_lightning/accelerators/plugins/training_type/sharded_spawn.py:

Line 39:5: E303 too many blank lines (2)

In the file pytorch_lightning/accelerators/plugins/training_type/single_device.py:

Line 20:1: W293 blank line contains whitespace
Line 40:19: W292 no newline at end of file

In the file pytorch_lightning/accelerators/plugins/training_type/training_type_plugin.py:

Line 11:1: E302 expected 2 blank lines, found 1

In the file pytorch_lightning/plugins/__init__.py:

Line 1:53: W292 no newline at end of file

In the file pytorch_lightning/plugins/old/plugin_connector.py:

Line 38:9: E265 block comment should start with '# '

In the file pytorch_lightning/trainer/properties.py:

Line 429:121: E501 line too long (121 > 120 characters)

In the file test.py:

Line 4:1: E302 expected 2 blank lines, found 1
Line 96:1: E305 expected 2 blank lines after class or function definition, found 1
Line 97:23: E231 missing whitespace after ','
Line 97:135: W292 no newline at end of file

In the file tests/models/test_amp.py:

Line 152:121: E501 line too long (121 > 120 characters)

In the file tests/plugins/test_sharded_plugin.py:

Line 83:13: E225 missing whitespace around operator
Line 85:20: E225 missing whitespace around operator
Line 102:9: E901 IndentationError: unindent does not match any outer indentation level

@justusschock took me almost two hours to rebase and resolve conflicts on the way, but still, can you check that all is fine?

@justusschock took me almost two hours to rebase and resolve conflicts on the way, but still, can you check that all is fine?

@Borda Thank you.
I added some commits to make the tests run again.
What is missing is the device_type and distrib_type refactor changes that you recently made. Could you help integrate them?
I can also assist

@Borda Thank you.
I added some commits to make the tests run again.
What is missing is the device_type and distrib_type refactor changes that you recently made. Could you help integrate them?
I can also assist

What is missing is the device_type and distrib_type refactor changes that you recently made. Could you help integrate them?
I can also assist

Happy to help =)

What is missing is the device_type and distrib_type refactor changes that you recently made. Could you help integrate them?
I can also assist

Happy to help =)

I am thinking about split this PR into the following smaller steps where each PR shall pass tests:

move all actual accelerators and plugins to its sub-package legagy
add all new accelerators and plugins
re-route training/eval/etc. flow using new accelerators and plugins instead of legacy
[optional] drop legacy version or at least add deprecation and keep to till 1.3

cc: @justusschock @awaelchli @PyTorchLightning/core-contributors

I am thinking about split this PR into the following smaller steps where each PR shall pass tests:

move all actual accelerators and plugins to its sub-package legagy
add all new accelerators and plugins
re-route training/eval/etc. flow using new accelerators and plugins instead of legacy
[optional] drop legacy version or at least add deprecation and keep to till 1.3

cc: @justusschock @awaelchli @PyTorchLightning/core-contributors

After discussion with @Borda we agreed to the following:
1.) Move current accelerators to legacy - change imports (still use them for training)
2.) Move current accelerator connector to legacy (still use it for training) and add new connector (necessary for tests)
For the following PRs we will still keep the tests for the legacy part, but can monkey patch the trainer's accelerator connector to test the new backends.
3.) Add new accelerators (still use legacy for training)
4.) Add new plugins one by one (still use legacy for training)
5.) Add missing logic
6.) Drop Legacy for new backends. (Not sure if keeping them for next release).

After discussion with @Borda we agreed to the following:
1.) Move current accelerators to legacy - change imports (still use them for training)
2.) Move current accelerator connector to legacy (still use it for training) and add new connector (necessary for tests)
For the following PRs we will still keep the tests for the legacy part, but can monkey patch the trainer's accelerator connector to test the new backends.
3.) Add new accelerators (still use legacy for training)
4.) Add new plugins one by one (still use legacy for training)
5.) Add missing logic
6.) Drop Legacy for new backends. (Not sure if keeping them for next release).

cc @ananthsub

cc @ananthsub

1.) Move current accelerators to legacy - change imports (still use them for training)
2.) Move current accelerator connector to legacy (still use it for training) and add new connector (necessary for tests)

this has been done in #5645

1.) Move current accelerators to legacy - change imports (still use them for training)
2.) Move current accelerator connector to legacy (still use it for training) and add new connector (necessary for tests)

this has been done in #5645

Hello @justusschock! Thanks for updating this PR.

In the file pytorch_lightning/accelerators/accelerator.py:

Line 210:26: W292 no newline at end of file

In the file pytorch_lightning/accelerators/accelerator_connector.py:

Line 64:18: W291 trailing whitespace
Line 187:33: E128 continuation line under-indented for visual indent
Line 188:33: E128 continuation line under-indented for visual indent

In the file pytorch_lightning/accelerators/cpu.py:

Line 14:45: W292 no newline at end of file

In the file pytorch_lightning/accelerators/gpu.py:

Line 26:37: W292 no newline at end of file

In the file pytorch_lightning/accelerators/tpu.py:

Line 17:45: W292 no newline at end of file

In the file pytorch_lightning/plugins/base_plugin.py:

Line 33:14: W292 no newline at end of file

In the file pytorch_lightning/plugins/precision/apex_amp.py:

Line 13:1: E302 expected 2 blank lines, found 1
Line 116:53: W292 no newline at end of file

In the file pytorch_lightning/plugins/precision/mixed.py:

Line 8:24: W292 no newline at end of file

In the file pytorch_lightning/plugins/precision/native_amp.py:

Line 50:40: W292 no newline at end of file

In the file pytorch_lightning/plugins/precision/tpu_bfloat.py:

Line 5:1: E302 expected 2 blank lines, found 1
Line 8:96: W292 no newline at end of file

In the file pytorch_lightning/plugins/training_type/dp.py:

Line 46:27: W292 no newline at end of file

In the file pytorch_lightning/plugins/training_type/parallel.py:

Line 19:1: E302 expected 2 blank lines, found 1
Line 95:1: W293 blank line contains whitespace
Line 95:1: W391 blank line at end of file

In the file pytorch_lightning/plugins/training_type/sharded_spawn.py:

Line 39:5: E303 too many blank lines (2)

In the file pytorch_lightning/plugins/training_type/single_device.py:

Line 25:1: W293 blank line contains whitespace

In the file pytorch_lightning/plugins/training_type/tpu_spawn.py:

Line 19:1: E302 expected 2 blank lines, found 1
Line 23:121: E501 line too long (121 > 120 characters)
Line 44:13: E117 over-indented
Line 69:1: W293 blank line contains whitespace
Line 95:8: E111 indentation is not a multiple of four
Line 179:90: W291 trailing whitespace
Line 183:90: W291 trailing whitespace

In the file tests/models/test_amp.py:

Line 152:121: E501 line too long (121 > 120 characters)

Hello @justusschock! Thanks for updating this PR.

In the file pytorch_lightning/accelerators/accelerator.py:

Line 210:26: W292 no newline at end of file

In the file pytorch_lightning/accelerators/accelerator_connector.py:

Line 64:18: W291 trailing whitespace
Line 187:33: E128 continuation line under-indented for visual indent
Line 188:33: E128 continuation line under-indented for visual indent

In the file pytorch_lightning/accelerators/cpu.py:

Line 14:45: W292 no newline at end of file

In the file pytorch_lightning/accelerators/gpu.py:

Line 26:37: W292 no newline at end of file

In the file pytorch_lightning/accelerators/tpu.py:

Line 17:45: W292 no newline at end of file

In the file pytorch_lightning/plugins/base_plugin.py:

Line 33:14: W292 no newline at end of file

In the file pytorch_lightning/plugins/precision/apex_amp.py:

Line 13:1: E302 expected 2 blank lines, found 1
Line 116:53: W292 no newline at end of file

In the file pytorch_lightning/plugins/precision/mixed.py:

Line 8:24: W292 no newline at end of file

In the file pytorch_lightning/plugins/precision/native_amp.py:

Line 50:40: W292 no newline at end of file

In the file pytorch_lightning/plugins/precision/tpu_bfloat.py:

Line 5:1: E302 expected 2 blank lines, found 1
Line 8:96: W292 no newline at end of file

In the file pytorch_lightning/plugins/training_type/dp.py:

Line 46:27: W292 no newline at end of file

In the file pytorch_lightning/plugins/training_type/parallel.py:

Line 19:1: E302 expected 2 blank lines, found 1
Line 95:1: W293 blank line contains whitespace
Line 95:1: W391 blank line at end of file

In the file pytorch_lightning/plugins/training_type/sharded_spawn.py:

Line 39:5: E303 too many blank lines (2)

In the file pytorch_lightning/plugins/training_type/single_device.py:

Line 25:1: W293 blank line contains whitespace

In the file pytorch_lightning/plugins/training_type/tpu_spawn.py:

Line 19:1: E302 expected 2 blank lines, found 1
Line 23:121: E501 line too long (121 > 120 characters)
Line 44:13: E117 over-indented
Line 69:1: W293 blank line contains whitespace
Line 95:8: E111 indentation is not a multiple of four
Line 179:90: W291 trailing whitespace
Line 183:90: W291 trailing whitespace

In the file tests/models/test_amp.py:

Line 152:121: E501 line too long (121 > 120 characters)


QC tool improve

change API return: raise error if check not pass

This improves functions merged by #1123. No influence to any of existing functions. Pytest unit test improved. Merging it now.


[beta] Fix RUSTC=./relative-path when building

This is a backport of https://github.com/rust-lang/cargo/pull/4995

r? @matklad
(rust_highfive has picked a reviewer for you, use r? to override)

 Warning

Pull requests are usually filed against the master branch for this repo, but this one is against rust-1.24.0. Please double check that you specified the right target!

@bors: r+

:pushpin: Commit d66584c has been approved by alexcrichton

:hourglass: Testing commit d66584cfeada3f651559b26e217c4330f53ef582 with merge e6436fb405c439c42813376ec90d2344b2ed9204...

:broken_heart: Test failed - status-travis

@bors: r+

:pushpin: Commit 5c7ebe5 has been approved by alexcrichton

:hourglass: Testing commit 5c7ebe55c24b2fce1a5be870bd48880288946e9e with merge edaec3dcc192c097204ee6c5035f30049b8a1510...

:broken_heart: Test failed - status-travis

:pushpin: Commit 150151e has been approved by alexcrichton

:hourglass: Testing commit 150151efb3ec8212cd1af5d7da8523c12a0c7c1a with merge e0680490c582d8d98e45c552b80b9d693379923b...

:broken_heart: Test failed - status-travis

@bors: r+

:pushpin: Commit 64f72af has been approved by alexcrichton

:hourglass: Testing commit 64f72af4b51e7f130215c1c0245a96f071a1f1dc with merge 8c93e089536467783957fec23b0f2627bb6ce357...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 8c93e089536467783957fec23b0f2627bb6ce357 to rust-1.24.0...


feat: Add option to run Vuln scan job in worload namespace

Env var OPERATOR_ENABLE_SCAN_JOB_IN_SAME_NAMESPACE is added to enable this option.
Once this option is enabled then vulnerability scan jobs will start running in same namespace of workload.
Also it will run with same serviceAccount and imagepullSecret of workload.
This option helps us to schedule scan job with Trivy fs command on any node.
this implements the approach mentioned here: #917

@deven0t this flow of vulnerability scan in workload namespace is enabled via config parameter, which goes across the flow of creating a vulnerability scan job, is there a way to add a test which validates this flow, so we could protect it ?

@deven0t this flow of vulnerability scan in workload namespace is enabled via config parameter, which goes across the flow of creating a vulnerability scan job, is there a way to add a test which validates this flow, so we could protect it ?

Thanks @chen-keinan for feedback, after discussion with Danial we have decided to change that configuration from env to starboard configmap. I have added some unit test cases to validate this flow. Please review it again.

@deven0t great job!! LGTM

Hi @danielpacak @chen-keinan, I think we missed one point in this proposal and in implementation as well. How plugin config will be available for scan job in the namespace of workload. eg trivy.severity, trivy.githubToken. Currently, the scan job doesn't fail with errors coz these are optional ENV vars. But if we don't provide them in the namespace of workload then the scan job will run without these configs.

Hi @danielpacak @chen-keinan, I think we missed one point in this proposal and in implementation as well. How plugin config will be available for scan job in the namespace of workload. eg trivy.severity, trivy.githubToken. Currently, the scan job doesn't fail with errors coz these are optional ENV vars. But if we don't provide them in the namespace of workload then the scan job will run without these configs.

That's a very good catch @deven0t We resolved this problem in config audits by copying a snapshot of plugin config to a temporary Secret that's owned by a scan job. And I think we should do the same for Trivy plugin. In general, someone might update starboard-trivy-config by the time the scan pod is actually run and we'll bump into this problem even if we run scan jobs in the starboard-system namespace.

Hey @deven0t As we discussed I think we should mark this PR as draft and implement similar mechanism to store Trivy config snapshot in a temporary Secret instead of using the starboard-trivy-config ConfigMap directly.

Hey @deven0t As we discussed I think we should mark this PR as draft and implement similar mechanism to store Trivy config snapshot in a temporary Secret instead of using the starboard-trivy-config ConfigMap directly.

Hi @danielpacak , as we discussed this change will not be enabled by default, so it will not impact any existing flow. We can proceed with this PR and later with the new PR we will add a mechanism to create temp secret and use it for scan job purpose.


Translate tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/ in Japanese

This is a Feature Request

What would you like to be added

Translate tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/ in Japanese.
Why is this needed
This document is not translated in Japanese.
Comments

Original:
https://kubernetes.io/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/
/language ja
/assign

/milestone 1.15-ja.1

/close


DeltaXDS Client can't get service and pod info from istiod

What happened:
DeltaXDS can't get service and pod info which manager by Kmesh from istiod, node local bpf map of kmesh_frontend、 kmesh_service 、kmesh_endpointand etc is NULL, can't found any element .
What you expected to happen:
Above bpfmap can find service and ep info, so the ebpf prog can execute as expect.
How to reproduce it (as minimally and precisely as possible):
1、update Kmesh code to upstream/main
2、make docker and helm install Kmesh
3、label default ns to enable Kmesh
4、k apply -f service-a.yaml  include a service and a pod
Anything else we need to know?:
bpftool map dump name kmesh_* result is

istiod pod logs :

Environment:  openeuler 23.03、 k8s v1.28.9、 istio v1.22.0-beta

Kmesh version: newest main branch
Others:

Any kmesh daemon logs?
I guess maybe you installed istio by default. If you want to try with kmesh ads mode, you should insatll istio ambient mode.

You are right, I try reinstall istio with ambient mode ,it had solved my problem.


Changes for issues with compiling with optimisation

There are issues with the HAL usb files: stm32h7xx_ll_usb.h and stm32h7xx_ll_usb.cpp where there can be timing issues due to code being optimised out.
See: https://community.st.com/s/question/0D50X0000BWpRO7SQN/stm32h7-usb-driver-fails-highest-optimization-o3
The solution from that link was to set any io memory locations to _IO and make the delay count variables volatile. I have done this for these files.

@AndrewCapon thanks for the report, and quick fix!!
I think it looks OK to me.

To clarify a bit, when using the default linker, and running everything from the internal flash the USB works properly even with -O3 set?
Does the failure occur with either USB port, or just one (built-in, or external).
If that's the case, it's interesting that it only becomes an issue when the firmware is executing from SRAM. Are you using the bootloader in core/, and one of the other included linker scrips, or do you have some sort of custom set up running?
I ask because we have seen one other existing issue with that bootloader that we've yet to identify/resolve where one of the external USB pins doesn't function properly after exiting the bootloader.

p.s. Has anyone been working on the USB Audio, I worked on some code a few years ago for an stm32f7 that had Composite audio and midi. I may be able to dig that out...


portability fixes

Lets it get further on MacOS X and OpenBSD

Thank you for the patches.  I am happy to have the extra compatibility in ocamlbrew.


cmd/go/internal/work: remove handler shared work state

Removes the handler shared work state by communicating over two channels.
Ready queue is managed by the caller.

@googlebot I signed it!


Sourcemap Support

Everyone loves sourcemaps right? I don't really think they are worth it tbh but YOU DO IT FOR THE PEOPLE YEAH.

Ok good news, this is ready to roll, and sourcemaps are fully functional. Whoo!


Error in contact form

I'm using this template in a folder inside public_html and when I try to use the contact form, I get the error function from contact_me.js. Yet, if I create a simple PHP script to send emails, it works.
This is the folder structure
public_html
-- other non-related stuff/folders/websites/etc...
-- theme folder
-- index.html
-- js folder
-- css folder
-- all the other folders and files
I've checked the host PHP configs. It uses sendmail for emails and allows the POST method. What am I missing here?

BTW, this is the .htaccess in the public_html folder
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(..php)$ $2 [L]
RewriteRule . index.php [L]
BEGIN WordPress
END WordPress

I get the following error in Firefox Developer Tools
[HTTP/1.1 500 Internal Server Error]


not adding entry to ip cache; error unmarshaling data from key-value store

There are a lot less now but I can still see them:
level=error msg="not adding entry to ip cache; error unmarshaling data from key-value store" error="unexpected end of JSON input" key="cilium/state/ip/v1/default/f00d::a0a:100:0:df45" value="[]"
level=error msg="not adding entry to ip cache; error unmarshaling data from key-value store" error="unexpected end of JSON input" key=cilium/state/ip/v1/default/<IP_ADDRESS> value="[]"

Pod is a regular workload:
Name:                      frontend-62s9l
Namespace:                 qa
Node:                      k8s1/<IP_ADDRESS>
Start Time:                Mon, 19 Mar 2018 23:47:15 +0000
Labels:                    id=client
Annotations:               cilium.io/identity=14957
Status:                    Terminating (expires Mon, 19 Mar 2018 23:50:14 +0000)
Termination Grace Period:  30s
IP:                        <IP_ADDRESS>
Controlled By:             ReplicationController/frontend

Do you have more extensive logs for this, including for the controllers which update the key-value store with the IP-identity mapping?

Looks like this only happens when running Kubernetes. Looking into this.

Found issue, fix coming soon.


skrollr issues

Hi,
Does anyone else have issues with getting skrollr working with ironrouter. It works just fine in plain ol' meteor app, but starts breaking when I add in routing.
Thanks

What kind of issues? You need to be a lot more descriptive, and ideally include a Meteorpad with a repro for anyone to be able to help you.


[lynda] Add support for playlists

hi,
Can I know how do I download the whole course from Lynda. I try to create a playlist and download that playlist but fail......
Note: I can download individual video...But how do I do that with playlist/whole course?
C:\Python34\Scripts>youtube-dl http://www.lynda.com/MyPlaylists?playlistId=5180308 --username xxxx --password xxxxx
[generic] MyPlaylists?playlistId=5180308: Requesting header
[redirect] Following redirect to https://www.lynda.com/login/Login.aspx?redirectTo=MyPlaylists%3FplaylistId%3D5180308
[generic] Login: Requesting header
WARNING: Falling back on generic information extractor.
[generic] Login: Downloading webpage
[generic] Login: Extracting information
ERROR: Unsupported URL: https://www.lynda.com/login/Login.aspx?redirectTo=MyPlaylists%3FplaylistId%3D5180308

Playlists are not supported currently, use the full URL of course:
youtube-dl -u user -p pass http://www.lynda.com/Bootstrap-tutorials/Up-Running-Bootstrap-3/133339-2.html.

Google Chrome -> go to a course -> right click on page -> inspect -> inside the console paste this, hit enter.  It will copy all links to your clip board for a batch file.  Hope it helps.
var output = ""; $.each($("a.item-name"), function(index,item){output += "\n" + $(item).attr("href");}); var copyFrom = $('<textarea/>'); copyFrom.css({  position: "absolute",  left: "-1000px",  top: "-1000px", });  copyFrom.text(output);  $('body').append(copyFrom);  copyFrom.select();  document.execCommand('copy');

Had this same issue. Wanted to download entire playlists from Lynda.com without too much work. Worked around it by watching a second or two of a course in a playlist so that it moves over to your Course History. This history uses the actual course url rather than the playlist autoplay url. Which means that you can mass grab the links to all of the courses in your history using a tool like the Link Klipper add-on for Chrome. It has a mouse drag selection to specify which links to copy from the Course History page. Download as .txt and you have a playlist ready for a batch file.
You will probably find some other tool to grab those links if you need to.

there is one way, you can add links with space eg
youtube-dl--cookies cookies.txt https://www.lynda.com/Photoshop-tutorials/Photoshop-CC-2017-Essential-Training-Basics/519289-2.html https://www.lynda.com/Photoshop-tutorials/Photoshop-CC-2017-Photographers/517324-2.html https://www.lynda.com/Photoshop-tutorials/Photoshop-CC-2017-Essential-Training-Design/518165-2.html
3 courses one after another


Refactor file scanning code

Codecov Report

Merging #190 (28062c8) into main (d128b9c) will increase coverage by 0.50%.
The diff coverage is 94.54%.

@@            Coverage Diff             @@
##             main     #190      +/-   ##
==========================================
+ Coverage   93.18%   93.68%   +0.50%
==========================================
  Files          67       65       -2
  Lines        4531     4479      -52
==========================================
- Hits         4222     4196      -26
+ Misses        235      218      -17
+ Partials       74       65       -9

Impacted Files
Coverage Δ

internal/reporter/reporter.go
100.00% <ø> (ø)

cmd/pint/lint.go
70.58% <75.00%> (ø)

internal/discovery/glob.go
74.46% <81.25%> (+7.80%)
:arrow_up:

internal/reporter/github.go
87.87% <83.33%> (+4.33%)
:arrow_up:

internal/discovery/discovery.go
89.65% <89.65%> (ø)

internal/git/git.go
82.97% <94.73%> (-6.31%)
:arrow_down:

cmd/pint/ci.go
69.69% <100.00%> (-2.53%)
:arrow_down:

cmd/pint/scan.go
92.43% <100.00%> (+6.91%)
:arrow_up:

cmd/pint/watch.go
84.68% <100.00%> (+1.19%)
:arrow_up:

internal/discovery/git_branch.go
100.00% <100.00%> (+5.26%)
:arrow_up:

... and 9 more

Continue to review full report at Codecov.

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


Uncaught TypeError: path must be a string

[Enter steps to reproduce below:]

...
...

Atom Version: 0.172.0
System: Mac OS X 10.9.5
Thrown From: git-plus package, v4.3.1
Stack Trace
Uncaught TypeError: path must be a string
At fs.js:185

TypeError: path must be a string
  at TypeError (native)
  at fs.exists (fs.js:185:11)
  at Object.fs.exists (/Applications/Atom.app/Contents/Resources/atom/common/lib/asar.js:245:14)
  at /Users/rodrigo/.atom/packages/git-plus/lib/views/branch-list-view.coffee:48:14
  at Workspace.module.exports.Workspace.eachEditor (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:347:9)
  at git.cmd.stdout (/Users/rodrigo/.atom/packages/git-plus/lib/views/branch-list-view.coffee:47:24)
  at exit (/Users/rodrigo/.atom/packages/git-plus/lib/git.coffee:26:7)
  at BufferedProcess.triggerExitCallback (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:63:47)
  at /Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:70:18
  at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:150:18)
  at Socket.emit (events.js:129:20)
  at Pipe.close (net.js:469:12)

Commands
     -4:07.6 core:save (atom-text-editor.editor.is-focused)
     -1:17.8 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -1:17.8 core:cancel (atom-text-editor.editor.is-focused)
     -1:16.4 git-plus:menu (atom-text-editor.editor.is-focused)
  2x -1:10.9 core:move-down (atom-text-editor.editor.mini)
     -1:10.4 core:confirm (atom-text-editor.editor.mini)
  3x -1:07.4 core:backspace (atom-text-editor.editor)
     -1:00.6 core:save-as (atom-text-editor.editor)
     -0:59.1 core:save (atom-text-editor.editor)
     -0:56.2 git-plus:menu (atom-text-editor.editor.is-focused)
     -0:54.0 core:confirm (atom-text-editor.editor.mini)
     -0:11.8 git-plus:menu (atom-text-editor.editor.is-focused)
  4x -0:07.2 core:backspace (atom-text-editor.editor.mini)
     -0:04.6 core:confirm (atom-text-editor.editor.mini)
  2x -0:03.1 core:move-down (atom-text-editor.editor.mini)
     -0:00.0 core:confirm (atom-text-editor.editor.mini)

Config
{
  "core": {
    "themes": [
      "atom-dark-ui",
      "laravel-theme"
    ]
  },
  "git-plus": {}
}

Installed Packages
# User
autocomplete-plus, v1.1.0
color-picker, v1.2.6
emmet, v2.3.2
file-icons, v1.4.5
git-plus, v4.3.1
laravel-theme, v0.3.0
project-manager, v1.14.1

# Dev
No dev packages

/cc @atom/core

What is the issue here?

@akonwi looks like an auto-reporting thing, but I saw this today as well when trying to checkout master with git-plus, and switching from a feature branch back to master.   Not sure what the root cause or side-effects are for now.  I'm ignoring the error on my side atm.
My checkout seems to be valid and properly switched to master.

I should mention i was on 0.174 with ubuntu 14.04

@wenlock thanks for specifying. I'll keep an eye out for this problem too

I had this when I tried to switch branches with git-plus on 0.187.0 on windows 10.

Just got this switching branches with git-plus on 0.189.0 on OSX 10.10.2

I had this when I tried to switch branches with git-plus on 4.5.0 on windows 8.

Uncaught TypeError: path must be a string
fs.js:207
Hide Stack Trace
TypeError: path must be a string
at TypeError (native)
at fs.exists (fs.js:207:11)
at Object.fs.exists (ATOM_SHELL_ASAR.js:286:16)
at /home/nmartin/.atom/packages/git-plus/lib/views/branch-list-view.coffee:59:14
at Workspace.module.exports.Workspace.observeTextEditors (/usr/local/share/atom/resources/app.asar/src/workspace.js:267:9)
at git.cmd.stderr (/home/nmartin/.atom/packages/git-plus/lib/views/branch-list-view.coffee:58:24)
at Socket. (/usr/local/share/atom/resources/app.asar/src/buffered-process.js:85:13)
at emitOne (events.js:77:13)
at Socket.emit (events.js:166:7)
at readableAddChunk (_stream_readable.js:146:16)
at Socket.Readable.push (_stream_readable.js:109:10)
at Pipe.onread (net.js:517:20)

I got this while merging master into a branch I was working on.

I got it as well while merging gh-pages into a branch I was working on

Also got this when switching branches on 5.2.3 on Windows 8.1

I may have to give up on this. I think the root cause is in the TextEditor object that atom is returning. It seems to be a bug and for some reason editor.getPath() is returning something other than a string in these scenarios. I'll open an issue in the atom repo.

Don't mean to flog a dead thread but just to note, this issue still exists.
Happened to me while I was merging a branch into a sub-branch.

I've added some logging and attempted to handle this gracefully. If it occurs again, there will be a notification warning you to check the dev console and share what is the logs on this thread.


Reverse Linked List in groups of Size K

Problem Statement: Given the head of a singly linked list of n nodes and an integer k, where k is less than or equal to n. Your task is to reverse the order of each group of k consecutive nodes, if n is not divisible by k, then the last group of remaining nodes should remain unchanged.
LL: 1  2  3  4  5  6  7  8  9  10
K = 3
Output: 3  2  1  6  5  4  9  8  7  10

Kindly please assign me this issue

Kindly please assign me this issue

@Tanishka534 Done

Hello!
Kindly please assign me this issue.

@Tanishka534 merged!


Fix latex math for PID

Small latex fix for typesetting I in math mode.

hmm, the equation looks ok on http://docs.dit.io/en/latest/measures/pid.html. I guess you were looking at https://dit.readthedocs.io/en/stable/measures/pid.html, in which a MathJaX file is unaccessible from that domain.

Hm yea you're right.

Sorry for not seeing this sooner. I've merged in @heytitle's PR which fixes the mathjax, and will be generally improving documentation in the near future.


[Bug]: apache_beam.runners.portability.portable_runner_test.PortableRunnerTestWithSubprocesses is flaky

What happened?
TImeout exception:
self = <apache_beam.runners.portability.portable_runner_test.PortableRunnerTestWithSubprocessesAndMultiWorkers testMethod=test_assert_that>

    def test_assert_that(self):
      # TODO: figure out a way for fn_api_runner to parse and raise the
      # underlying exception.
      with self.assertRaisesRegex(Exception, 'Failed assert'):
        with self.create_pipeline() as p:
>         assert_that(p | beam.Create(['a', 'b']), equal_to(['a']))
E         AssertionError: "Failed assert" does not match "Pipeline timed out waiting for job service subprocess."

There was a resolved ticket BEAM-9118 and resolved in #12633 . It's happening again. Seems occurs more frequently when jenkins are more busy.
Issue Priority
Priority: 2
Issue Component
Component: runner-py-direct

e.g. https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/5815/

.take-issue

I've hopefully fixed this in https://github.com/apache/beam/pull/23696.
However, I had two other theories on what could be going that I'm not sure about.
I'm going to note them here in case they turn out to be true:

It's possible _pick_unused_ports is running into a race case and picking an already used port and timing out. Ideally this would raise a different exception.
It's possible that multiple processes running on the same machine are having collisions in starting subprocesses on similar ports.

I think both these are unlikely and the most likely thing happening is these tests are slow (I was getting long 15 second unit tests on my local machine). Likely above PR is the solution.

Thanks @ryanthompson591. Case 1 is likely. I observe that in most case the time needed for setup is small, much less than 30 seconds. If it is just a performance issue the time should have some distribution.

@ryanthompson591 are you actively working on this?

Haven't seen this flake in a while. Is it disabled or is it green now?

It is green now. It has been migrated to https://ci-beam.apache.org/job/beam_PreCommit_Python_Runners_Cron/ and checked that test still running. We can close this now


Fis issue with Nyquist mode in IC generation

Closed, to continue the discussion in the other thread.