🌱  Add authorizer test for static endpoints

/healthz /livez /readyz and /version
Signed-off-by: Vince Prignano<EMAIL_ADDRESS>
Summary
Related issue(s)
Fixes #

/assign @ncdc @sttts
Not sure if this 100% proves that the endpoints are accessible, although figured I'd add one test in the authorizer package. As we chatted in Slack, it seems that the endpoints should be already accessible given that filters.WithScopeCluster changes the request path

/override e2e-sharded

/test e2e-shared

/lgtm


Stripping the ImageCategory class of its "Enum" derivative, creating a new AudioCategory class, and removing 2 troublesome test directories

Fixes

Fixes #823  by @AetherUnbound
Description

This pull request solves 3 issues, 2 of which were described in #823:

Removing the "Enum" derivative from the existing ImageCategory class.

Adding a new AudioCategory class for the different Audio provider categories.

Removing to test log directories that were causing issues with cloning the forked project to local machine:

tests/dags/common/test_resources/logs/test_dag/test_task/2021-08-10T00:00:00+0000/
tests/dags/common/test_resources/logs/test_dag/test_task/2021-08-20T00:00:00+0000/

Testing Instructions

For recreating the cloning issue, here are the steps I took (running on a Windows machine):

Forked the main project repo from WordPress.
Attempted to clone the forked repo to my local machine and got the following error:
error: invalid path 'tests/dags/common/test_resources/logs/test_dag/test_task/2021-08-10T00:00:00+0000/1.log' fatal: unable to checkout working tree warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry with 'git restore --source=HEAD :/'
Removing the 2 directories with the timestamp resolved the issue.

Checklist

[x] My pull request has a descriptive title (not a vague title like
Update index.md).
[x] My pull request targets the default branch of the repository (main) or
a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no visible
errors.

I had issues with just and following the readme instructions for executing the tests so I was unable to perform this step.

[ ] I ran the DAG documentation generator (if applicable).

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Looking into these issues...

After 03bb96e46d6c4501935a083ff6d27fa5d453e922, lint issues were resolved but CI+CD Run Tests failed..
I'm seeing references to those 2 directories that I removed to fix a cloning issue with Windows (ex. lines 119, 144 of the failed test results log):
119: INFO     common.log_cleanup:log_cleanup.py:154 Found 1 log folders to delete: ['/opt/airflow/tests/dags/common/test_resources/logs/scheduler/2021-08-10']

144: [2023-01-24 20:30:43,721] {log_cleanup.py:154} INFO - Found 2 log folders to delete: ['/opt/airflow/tests/dags/common/test_resources/logs/scheduler/2021-08-20', '/opt/airflow/tests/dags/common/test_resources/logs/scheduler/2021-08-10']

I'm assuming that is the cause. Please let me know how I should move forward with this. Thank you!

@AetherUnbound any update on this? Let me know if I should make any modifications

Left a comment on the issue! We would like to keep those other files, can you restrict your PR changes to the files you edited only?

@obulat @AetherUnbound the test log files have been added back and pushed with d717eaf1b014093c54be92dbaf890e8a3dfa229c

Pulling this note forward from the issue - while the file renames are unrelated to this changeset they don't appear to negatively impact the existing tests and they help Windows dev support, so I think they're OK to keep 🙂

@AetherUnbound sorry about that - there you go!

@obulat @AetherUnbound happy to help! Thank you for the opportunity to contribute 😄


Add a way to set map and path in factory

This allows to pass the map array and paths to the template registry on constructor using the ViewFactory class.

Hey @harikt -- can you add some README documentation on this? Then I can merge it and make a minor release.

Or you can merge it and make the release. :-)

Sure, I will update the README.md . I don't like me sending a PR and merging the same for a few reasons. If the same person is reviewing the possibility of missing things are greater. So I prefer anyone other than me looking into it and verifying the same. So it is always for your consideration :+1:  . If you put a +1 I will do the next steps ;) .

@pmjones have added some information to README. Let me know if that helps.
Thank you

@pmjones in case you have some time. Have a look into the updated docs.
I will make another release for Aura.View once you have reviewed the same.
Thank you.

@pmjones ping.

Done :-)


Add reprompt text functionality

Closes #11
Changes

Added new Reprompt class which creates a new OutputSpeech  object and returns it as a hash.
Added references for a newly created Reprompt class where needed.
Added unit tests.

Example
ask("Welcome to search", reprompt: "What are you looking for?")

LGTM

I've released a new version to RubyGems - @sjmog I need to write some docs and then will do a release in GitHub

@mattrayner I think you forgot to add the documentation part.
At least the example part «ask("Welcome to search", reprompt: "What are you looking for?")»
Btw, are you the current maintainer?


Add docstrings to functions

Currently we are lacking even basic documentation. I would start with adding docstrings to function definitions.

Fixed by #18.


Add do not disturb switch

This adds a switch where you can toggle Do Not Disturb.
Alarms and timers will still ring but everything else is turned off. Where i live the feature does not seem to do much, but I believe it is very useful in other countries.
I have tested it locally and it works! Can some one else test it also?
Because we have an update-interval set at 10 secs, the switch can jump back when used, it will switch to the correct positions when we retrieve new information. 😄 Maybe we should change this?

@KapJI  Yeah i had to move somethings around and split others up. Maybe some of the things can be done a little cleaner. Just take you time.

@leikoilja I noticed several times that CI is not run on PRs. Can it be caused by running out of usage limits? Or is it just github issue? Can you check?
https://docs.github.com/en/github/setting-up-and-managing-billing-and-payments-on-github/viewing-your-github-actions-usage

@KapJI, hey i been noticing weird github actions behavior today as well on a work github account. As being open source we don't have limits or price, so it seems github issue

Thanks for checking 🙂
I think push will trigger it then.

@KapJI I will look into your requested changes tomorrow or Friday. 😃

@leikoilja let's publish the new version in the meantime? It should close issue with BadAuthentication errors at least.

Let's finish this and publish the new version.

@KapJI Push incoming

@leikoilja sorry, I merged it before you posted your comments, let's fix them in another PR 🙂

No worries :)
haha, yeh, i was just reading though when saw the label go "Merged" :)
Just a few suggestions, not really anything critical.
Awesome job otherwise 🚀

Apart from that, you guys did an awesome job with the last two merges.
Shall we drop a minor release with these fixes? They seem needed 💥

@leikoilja we also have broken options. Should be a quick fix, do you want to take a look? I think it'd be nice to fix it before the next release.
File "/home/ruslan/.homeassistant/custom_components/google_home/config_flow.py", line 118, in async_step_user
    self.options.update(user_input)
AttributeError: 'mappingproxy' object has no attribute 'update'

Ou, where has that came from, 2021.4.0? 😅
I ll take a look later tonight

@KapJI You are bit to quick with merging... I got another problem that i am trying to fix with the do no disturb switch.

I think they were always broken but now they're more explicit about that 🙂

@DurgNomis-drol let's continue in the new PR, smaller ones are easier to review :)

Yes lets do that, but next time i would prefer if it was me who merged my own PR. 😃

Makes sense, sorry 🙂

@DurgNomis-drol, but also to be fair, it is usually someone else who merges the PR, almost never the author.
Quite often, the developer who implemented the changes might not even have merge access.
The author proposes the solution & requests reviews from teammates when it's all done and dusted :)
If there are some uncertainties, like more tests needed or a second opinion on the implementation it's totally fine to mark the PR with WIP or add some additional comments. But once the review is requested and not marked with WIP or any other special cases, tbh i'd also assume that it's up for a final look and merge  😅

@leikoilja I know it is that usually, i just didn't not expected him to merge it right away. 😃I have no problem with any of you merging btw my PR's. Sometimes things goes a little to fast here (including myself).


Problem with importing Sass package that uses webpack style imports internally

I am trying to add tabler to my project that is using esbuild. As I want to hook into their scss files, I'm not importing the dist files, but want to import the scss files.
Unfortunately they are using webpack style imports (~bootstrap/scss/functions) inside their scss files. See i.e. https://github.com/tabler/tabler/blob/dev/src/scss/_bootstrap-config.scss
Running esbuild when importing this file gives me an error:
✘ [ERROR] [plugin sass-plugin] Can't find stylesheet to import.
  ╷
1 │ @import "~bootstrap/scss/functions";
  │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
<EMAIL_ADDRESS>1:9  @import
<EMAIL_ADDRESS>1:9    @import
  @tabler/core/src/scss/tabler.scss 1:9                @import
  styles/application.scss 1:9                          root stylesheet

I have hooked a debugger into the canonicalize method in render.ts and it looks like the method is only called for my application.scss file, but not for any secondary files.
Unfortunately that's where my abilities to look further into this end. So help is highly appreciated.
I have boiled down my example into the minimal case: https://github.com/klaustopher/tabler-esbuild-sample.
Would be grateful for pointer to help me solve this, without requiring the tabler team to change their code. I guess there are more packages out there, that use those ~ imports out there, eventhough it's not considered good practice anymore.

Additional info: In version 2.2.6 of this plugin, it used to work, when adding cssImports: true as an option: See https://github.com/klaustopher/tabler-esbuild-sample/tree/old-version

Hi Klaus, thank you for the professionalism in raising this issue...I do appreciate that!
I notice you do a source import and that throws you down a rabbit hole which eventually leads to that error.
changing your application.scss to
@import "@tabler/core/dist/css/tabler";

builds just fine.
My wonderland metaphor is not random... there are so many unexpected things that happen when going down the path of src import with sass that to keep it simple I feel like says just don't do it!
But I am all ears if you have a valid case for it!

Hey,
yeah, I know that it would work, if I import the compiled version. Stated so in my initial post.
My use case is, that I want to extend on the classes that are defined in the framework. Basically build my own stuff ontop of it and thus I would line to use the helper functions defined in the framework and bootstrap. If I were using the dist version I‘d have to jump through many more hoops to get access to those.
Also, in the linked issue in tabler, somebody posted an example rails app using version 2.2.6 of this plugin here and with this version it used to work importing the src files

Ok, please update to v2.4.1
if by any chance you turn on quietDeps it would break your build again but I consider that a minor inconvenient
I will ship a fix for that when I am back from my holidays

Hey, thanks, checked it out and it works. Thank you for the quick fix.


Example needed (Implement on Card Page)

I've already requested this in #509 and @blrobl was so nice to add a more detailed documentation to the Data Types "Media" and "MediaSet". However this didn't really solve my issue, where i don't know how to set up this table field to actually show it in a Card Page. - I can add the Field to the page and set the SourceExpression just like I do it with any other field. It just doesn't show up in the Client.
So, may I ask you to make an actual, working example? I'm pretty sure I'm not the only one with this problem.
I'm not looking for the Import/Export/Delete capabilities. - I just want to show the Content on a Card Page. - Not A Card Part. A Card page (PageType = Card;)
...
                field("Picture"; "Picture")
                {
                    ApplicationArea = All;
                }

Doesn't affect the clients output in any way
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 05cda8bb-5704-95ab-ff67-1893af50f569
Version Independent ID: 968dfd51-77d8-812a-0ff0-97ec0536f1b9
Content: Media Data Type - Business Central
Content Source: dev-itpro/developer/methods-auto/media/media-data-type.md
Service: dynamics365-business-central
GitHub Login: @solsen
Microsoft Alias: solsen

Hi, thanks for your feedback. Indeed, Media and MediaSet table fields cannot be implemented in a page as it's done with other data types.  Instead, it must be done through the Factbox area by first creating a CardPart page where you set up the fields you want to display, and then implement it inside the Factboxes control of the Card page. The image will show in the right hand side of the page. Maybe this code example makes it clearer:
page 50100 CardPart
{
    PageType = CardPart;
    SourceTable = TableName;

    layout
    {
        area(content)
        {
            field(Picture; Picture)
            {
                ApplicationArea = All;
            }
        }
    }
}

page 50101 CardPage
{
    PageType = Card;

    layout
    {
        area(FactBoxes)
        {
            part(Picture; CardPart)
            {
                ApplicationArea = All;
            }
        }
    }
}


No longer needed?

I started Android Studio 4.1.3 in macOS Big Sure 11.0.1 with new ARM cpu M1
It showed me CPU does not support VT-x, even ARM images have this issue.
When I created the AVD, the Arm64-v8a images did not worked at all, it showed me it needs to be work under the X86 system?
How could I use the AVD?

This is how I made it work https://github.com/741g/android-emulator-m1-preview/issues/10#issuecomment-773545412

This is how I made it work 741g/android-emulator-m1-preview#10 (comment)

tks, It has to be the Preview version of Android Studio.


If I open symbols and scroll down a source file the scroll continously resets.  (Firefox and Chromium)

When I open symbols and scroll down a source file the scroll continuously resets.  If I succeed in scrolling too far the view whites out and then resets.

Reproduced in Chromium

dup of #204


ZEPPELIN-383 CLASSPATH_OVERRIDES environment variable

Prepend CLASSPATH_OVERRIDES environment variable when building CLASSPATH in the shell scripts.

Thanks for the contribution.
But I think ZEPPELIN_CLASSPATH already does the job. isn't it?

@Leemoonsoo: I think not exactly. ZEPPELIN_CLASSPATH is built by prepending elements to the classpath, meaning, whatever the user puts in the class path is, at the time of complete class path, placed at the very end of the class path. Consider a scenario:
Somebody wants to put a patched spark-core jar into the class path. He will set ZEPPELIN_CLASSPATH to his /opt/whatever/spark-core_2.10-1.5.1.jar and proceed with the standard procedure for zeppelin.sh. His jar will not be the effective one. The reason is that the class path built by Zeppelin is the following:
ZEPPELIN_CLASSPATH=<addJar>:$ZEPPELIN_CLASSPATH
...
ZEPPELIN_CLASSPATH=<addJar>:$ZEPPELIN_CLASSPATH

I believe what @echarles introduces here, is the mechanism for the user to be able to override any arbitrary functionality no matter what.
Very nice feature, @echarles.

@radekg Thanks for the explanation. But i think @echarles proposed codes prepend CLASSPATH_OVERRIDES before CLASSPATH, like
-cp ${CLASSPATH_OVERRIDES}:${CLASSPATH}

That's why i think it is the same to how ZEPPELIN_CLASSPATH is being populated.
please correct me if my understanding is wrong.

Oh, i misunderstood how ZEPPELIN_CLASSPATH is being populated @radekg you're right.
Then ZEPPELIN_CLASSPATH will append and CLASSPATH_OVERRIDES will prepend classpath to CLASSPATH. Do you think we need both?

@Leemoonsoo I changed the bin/zeppelin.sh script to print the build CLASSPATH just after the execution of the java command with
echo CLASSPATH=$CLASSPATH

$(exec $ZEPPELIN_RUNNER $JAVA_OPTS -cp $CLASSPATH_OVERRIDES:$CLASSPATH $ZEPPELIN_SERVER "$@")

When I run exporting, I get
$ ZEPPELIN_CLASSPATH=MYJAR.JAR ./bin/zeppelin.sh
CLASSPATH=/opt/apache-ivy-2.3.0-rc1/ivy-2.3.0-rc1.jar:/opt/clojure-1.6.0/clojure-1.6.0.jar::/opt/zeppelin-incubator/zeppelin-server/target/lib/*:/opt/zeppelin-incubator/zeppelin-zengine/target/lib/*:/opt/zeppelin-incubator/zeppelin-interpreter/target/lib/*:/opt/zeppelin-incubator/*:MYJAR.JAR:/opt/zeppelin-incubator/conf:/opt/zeppelin-incubator/zeppelin-interpreter/target/classes:/opt/zeppelin-incubator/zeppelin-zengine/target/classes:/opt/zeppelin-incubator/zeppelin-server/target/classes
SLF4J: Found binding in [jar:file:/opt/zeppelin-incubator/zeppelin-server/target/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/zeppelin-incubator/zeppelin-zengine/target/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/zeppelin-incubator/zeppelin-interpreter/target/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
...

which shows the MYJAR.JAR is not taken into account, hence the need for CLASSPATH_OVERRIDES.

This is why we need a way to override by prepending, not appending.

This is useful when we deploy with e.g. a patched jar.

@Leemoonsoo that is exactly the point. JVM will use first classes found on the class path. The user can do the following:
export CLASSPATH_OVERRIDES=/opt/whatever/spark-core_2.10-1.5.1-patched-and-fixed.jar

And then it does not matter what org.apache.spark classes (as long as class version matches) are further down the class path: http://stackoverflow.com/a/6644467/56250
The current mechanism does not allow hot patching anything. The only patching mechanism is recompiling Zeppelin with modified JARs, which maybe difficult / not doable.
Zeppelin prepends new entries but there is no way to tell it "after all default prepends, add this at the start". And replying to your 2 comments - yes, indeed :)

I rebased here, but should have done for #385

I think you have merged other branches.


⚠ Processors has degraded performance

In 6cd3eca, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 218 ms

Resolved: Processors performance has improved in ded8125.


StreamInfo upstreaming timing values not set when backend retry occurs

Description:
We depend on StreamInfo to calculate how long each request spends in the proxy vs backend. To do this calculation, we rely on StreamInfo::firstUpstreamTxByteSent().
However, when a backend timeout occurs, both firstUpstreamTxByteSent() and lastUpstreamTxByteSent() have empty value.
We were expecting at least one of these variables to have a value. The request was sent to the upstream, just the response was never received back. Without these values, we cannot easily tell how long the request spent in the upstream before the timeout occurred.
Repro steps:
We tested this by configuring timeouts per route and printing out the values of various variables in StreamInfo (in our custom filter).
[2021-05-26 15:13:48.541][438146][error][misc] [src/envoy/http/service_control/handler_utils.cc:187] !!! Response code detail: upstream_response_timeout
[2021-05-26 15:13:48.541][438146][error][misc] [src/envoy/http/service_control/handler_utils.cc:188] !!! Request complete? true
[2021-05-26 15:13:48.541][438146][error][misc] [src/envoy/http/service_control/handler_utils.cc:189] !!! firstUpstreamTxByteSent has value? false
[2021-05-26 15:13:48.541][438146][error][misc] [src/envoy/http/service_control/handler_utils.cc:190] !!! lastUpstreamTxByteSent has value? false
[2021-05-26 15:13:48.541][438146][error][misc] [src/envoy/http/service_control/handler_utils.cc:191] !!! firstUpstreamRxByteReceived has value? false
[2021-05-26 15:13:48.541][438146][error][misc] [src/envoy/http/service_control/handler_utils.cc:192] !!! lastUpstreamRxByteReceived has value? false

Investigation:
I spent a few hours trying to debug why the variables are not set. Following the logic here, the variable is being set correctly. But it seems like some other component is resetting the variable further down. I cannot tell where that is happening.

cc @alyssawilk

Confirmed this issue is still happening.
Also similarly - when an upstream retry occurs, the upstreaming timing info only has timing from the last retry. Previous retry timings are not stored


Provide keyboard shortcut to open file in GIT repo (GitHub/BB/GitLab)

Check for existing issues

[X] Completed

Describe the feature
Provide a keyboard shortcut, such as for example CMD+\, that allows direct file opening from editor to its web repo page, such as BB/GitLab/GitHub etc.
If applicable, add mockups / screenshots to help present your vision of the feature
After CMD+\ the relevant repo page is opened in its BB/GitLab/GitHub repository.

would also love a ‘copy this line reference in github’


[WIP] Initial commit of invokeservice

Description
[WIP] Initial commit of invokeservice
Issue reference
#73
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

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

@chinzhiweiblank JFYI - Even if this is WIP PR, please give any feedbacks.


Fix deploy to use the metallb crd

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

82 of 117 (70.09%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 58.698%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

deploy/deploy.go
12
22
54.55%

api/metallb/clientset/v1beta1/client.go
70
95
73.68%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
2227

Relevant Lines:
3794

💛  - Coveralls


Analyze how to provide user/address statistics

Description
Analyze how to provide user/address statistics and data:

Number of escrows solved
Grants amount
Escrows solved paid
...

Motivation
Show the users their results
Note: we might need to add some event to the contract and add to subgraph

Add workers and price lists in BulkTransfer event
Add worker's address in IntermediateStorage event
Create a new user schema with the following properties:

EscrowsSolved
GrantAmount
EscrowSolvedPaid

Modify event handlers to update the data in this new schema


Add persistent transactions list / deprecate bnc-notify

What does this PR do and why?
POC for a uniswap-style transactions list. This can replace the current bnc-notify (and maybe also the "pending transaction" modal even though it has that sweet :quint:)
Transactions link to etherscan, persist even on refresh, and refresh their status every 15 seconds. Can be "success", "failed", or "pending".
Adds new:

TxHistoryContext
TxHistoryProvider
TransactionsList component
some types

Screenshots or screen recordings

Screen recording shared in discord, file too big for here
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] I have tested this PR in all supported browsers.
[ ] I have tested this PR in dark mode and light mode (if applicable).

updated styling


Taxon Bacteria id 2 is not submittable.

Hello,
I got this error with the taxonomic assignment. Non of the MAGs have only TaxID 2.
python genome_upload.py -u $UPLOAD_STUDY --genome_info iMGMC-MAG-metaDATA-Munich.tab --mags --xmls --manifests --webin $WEBIN_ID --password $myPASSWORD --out iMGMC-data-Munich --centre_name "$centre_name"
File used for metadata:
https://drive.google.com/file/d/17c6tun_zzwpUedkpvvKONfk7V7B5BEhq/view?usp=share_link
Warning: genome submission is not in live mode, files will be validated, but not uploaded.
Retrieving data for MAG submission...
Retrieving info for genomes to submit...
Retrieving project and run info from ENA (this might take a while)...
A backup file has been found.
Writing genome registration XML...
All files have been written in iMGMC-data-Munich/MAG_upload
registered_MAGs_test.tsv
Registering genome samples XMLs...
Registering sample xml in test mode.
Genomes could not be submitted to ENA. Please, check the errors below.
In sample, alias: "single-Munich_Cecal.52_1673343261". Taxon Bacteria id 2 is not submittable.
In sample, alias: "single-Munich_Cecal.81_1673343264". Taxon Bacteria id 2 is not submittable.
In sample, alias: "single-Munich_Cecal.89_1673343265". Taxon Bacteria id 2 is not submittable.
In sample, alias: "single-Munich_Cecal.99_1673343267". Taxon Bacteria id 2 is not submittable.
In sample, alias: "single-Munich_Cecal.101_1673343269". Taxon Bacteria id 2 is not submittable.
In sample, alias: "single-Munich_Cecal.104_1673343271". Taxon Bacteria id 2 is not submittable.
In sample, alias: "single-Munich_Cecal.139_1673343274". Taxon Bacteria id 2 is not submittable.
In sample, alias: "single-Munich_Cecal.162_1673343277". Taxon Bacteria id 2 is not submittable.
In sample, alias: "single-Munich_Cecal.163_1673343278". Taxon Bacteria id 2 is not submittable.
In sample, alias: "single-Munich_Feces.1_1673343279". Taxon Bacteria id 2 is not submittable.
In sample, alias: "single-Munich_Feces.2_1673343280". Taxon Bacteria id 2 is not submittable.
In sample, alias: "single-Munich_Feces.48_1673343282". Taxon Bacteria id 2 is not submittable.
In sample, alias: "single-Munich_Feces.139_1673343290". Taxon Bacteria id 2 is not submittable.
In sample, alias: "single-Munich_Feces.157_1673343292". Taxon Bacteria id 2 is not submittable.
In sample, alias: "single-Munich_Feces.175_1673343293". Taxon Bacteria id 2 is not submittable.
Best Till Robin

In addition:
After removing this MAGs I got another error:
Warning: genome submission is not in live mode, files will be validated, but not uploaded.
Retrieving data for MAG submission...
Retrieving info for genomes to submit...
Retrieving project and run info from ENA (this might take a while)...
Writing genome registration XML...
All files have been written in iMGMC-data-Munich-error/MAG_upload
registered_MAGs_test.tsv
Registering genome samples XMLs...
Registering sample xml in test mode.
129 genome samples successfully registered.
Generating manifest files...
Traceback (most recent call last):
File "/vol/projects/trlesker/genome_uploader/genome_upload.py", line 1243, in
choose_methods()
File "/vol/projects/trlesker/genome_uploader/genome_upload.py", line 1202, in choose_methods
manifestInfo = compute_manifests(ENA_uploader, genomes, samples_xml)
File "/vol/projects/trlesker/genome_uploader/genome_upload.py", line 928, in compute_manifests
genomes[g]["alias"], genomes[g]["assembler"], genomes[g]["sequencingMethod"],
KeyError: 'assembler'

Hi Till,
Thank you for your interest. I just committed a bug fix that should cover both problems. Please, let me know if encounter any other issue.
Best


Info on settings for version 1910

The computer restart settings mentioned on this page dont exist in version 1910.

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

ID: 38f74f4a-560f-2510-1ae8-fd3976a2197e
Version Independent ID: 0851f834-e9a1-d0a6-ee60-934bcd3a79fe
Content: Client settings - Configuration Manager
Content Source: sccm/core/clients/deploy/about-client-settings.md
Product: configuration-manager
Technology: configmgr-client
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

I'm seeing them in our test environment, and I don't know of any optional feature that would require them to be enabled (but I'll check). I'm going to close this issue as there's nothing actionable for us. I'm sorry that you're having problems. I suggest trying one of the following options to get the best level of support for this issue:

Post on Configuration Manager forums. These are moderated by our community MVPs who are very experienced, knowledgeable, and helpful.
Use Microsoft Support to search for the issue, or open a case with professional support.
Contact your Microsoft Premier team, such as a Premier Field Engineer or Technical Account Manager.
Send a frown in the console
(I'll post back here if I hear anything on why this behavior might be happening.)


Typo "Azure functions"→"Azure Functions"

https://docs.microsoft.com/en-us/visualstudio/mac/azure-functions?view=vsmac-2019

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

@jmatthiesen - Could you review the proposed update to your article?
For reference, the internal cloud style guide says this:
"Use Azure Functions as necessary to distinguish it as an Azure service. It's OK to use just Functions when the context makes it clear you're referring to the Azure service.
To refer to something built using Functions or in a generic reference, use lowercase function app."
Thanks.


Database to store insights/metadata

User story

As a user
I want to store insights and metadata from raw data
So that I can analyse and retrieve the raw data at any time

Acceptance criteria

[ ] Raw data's metadata stored
[ ] Insights of raw data stored
[ ] Can do SQL request

Definition of done (DoD)

[ ] Metadata stored (size, upload date, file type, name)
[ ] Location of raw data
[ ] Insights stored with link to raw data

New table for each insight? Or multiple columns?

Not required and doesn't provide direction towards next sprint


Deprecated Node 12 actions

Node 12 actions are deprecated, can you please update the action so that it uses a more recent version?
See  https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12
When using this action in a workflow, you'll now get a warning, see https://github.com/nearform/github-snooze-chrome-extension/actions/runs/3638038554

Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16<EMAIL_ADDRESS>

Thanks for this change! Note that you changed the versioning scheme from 3.0.0 to v4.0.0.
Another thing you may consider is using the tagging approach recommended in the docs. When you release version v4.0.0, you create tags:

v4.0.0
v4.0
v4

All of them point to the same commit so that people can reference either of those. When you release e.g. version v4.0.1:

you create a new tag v4.0.1
keep v4.0 unchanged
move tag v4 to point to the same commit as v4.0.1

In our repos, we are automating this process using https://github.com/nearform/optic-release-automation-action, but there are alternatives such as Google's https://github.com/googleapis/release-please (which I believe can do this too).

@mnao305 I think you should also update Readme :)


pocket_lab: Fixed the issue with FFT plotting

Corrected number of bins/points to be displayed on x axis for db vs frequency plot. The number of points must be Fs/2 or fft_length/2

@ribdp @CMinajigi any comments?

merging this PR now. Still some confusion about samples taken for plotting db values which shall be addressed in next PR


bug:5.0.0-beta:The project contains hystrix1.5.12 and rxjava-1.2.0 packages

Please answer these questions before submitting your issue.

Why do you submit this issue?
[x] Question or discussion
[x] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?

[2018-05-17 14:40:10,890] [pushlog] [ERROR] - 登录请求转发过程Hystrix发生意料外异常. longMode[true], serverName[终端通讯框架服务-long], port[8888],session is [19], e is [null], request is [RemotingCommand [type=1, header=Header [code=0, rpc=0, serial=1B4E06FSP4MMGU00A1BC0001402BSRM9, itype=gtsa01, version=2, add=99996552262D, ctime=20161220193451, result=, msg=], body=null, baseinfo={"header":{"rpc":0,"code":0,"add":"99996552262D","serial":"1B4E06FSP4MMGU00A1BC0001402BSRM9","ctime":"20161220193451","version":2,"itype":"gtsa01"}}F66D5885C4FC0FF985398DB677A68F65, baseInfoNoSign={"header":{"rpc":0,"code":0,"add":"99996552262D","serial":"1B4E06FSP4MMGU00A1BC0001402BSRM9","ctime":"20161220193451","version":2,"itype":"gtsa01"}}, sign=F66D5885C4FC0FF985398DB677A68F65, binary.size=0]]
java.lang.NullPointerException
at org.apache.skywalking.apm.agent.core.context.ContextManager.capture(ContextManager.java:150)
at org.apache.skywalking.apm.plugin.hystrix.v1.SWExecutionHookWrapper.onStart(SWExecutionHookWrapper.java:169)
at com.netflix.hystrix.AbstractCommand$ExecutionHookDeprecationWrapper.onStart(AbstractCommand.java:2125)
at com.netflix.hystrix.AbstractCommand$ExecutionHookDeprecationWrapper.onStart(AbstractCommand.java:2132)
at com.netflix.hystrix.AbstractCommand.applyHystrixSemantics(AbstractCommand.java:520)
at com.netflix.hystrix.AbstractCommand.access$200(AbstractCommand.java:60)

Bug

Which version of SkyWalking, OS and JRE?
JRE1.7 skywalking5.0.0-beta

Which company or project?

What happen?

If possible, provide a way for reproducing the error. e.g. demo application, component version.

Requirement or improvement

Please describe about your requirements or improvement suggestions.

No error was started, and rxjava-1.2.0 was called for error.

What is rxjava? I am not familiar with that.

hystrix calls rxjava.jar did the hystrix in my project and the hystrix in skywalking cause some exceptions?

Look like same as  #1238

@wfs0902 Could you recheck this for our master code? I assume it is fixed. If fix fails, please reopen this issue.


no "SharePoint Form" type found. the screenshot and description might be out of date.

It seems like the answer for question "As an administrator, how do I get a list of all customized forms in my organization?" is out of date. there is no "SharePoint Form" type at "Resources"->"Power Apps" page

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

ID: 3a8c4146-101d-7ba2-7ae0-d7138b743154
Version Independent ID: 1f752762-0809-a2fb-4a03-b490547ee7f1
Content: Customize a SharePoint list form - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/customize-list-form.md
Service: powerapps
GitHub Login: @emcoope-msft
Microsoft Alias: emcoope

Thank you for reaching out. Content has been updated.


Errors when color inputs are not hex-encoded RGBs

After calling setColorGradient with CSS-style rgb, rgba values, or named colours, getColor will return a string containing NaN

Hello @leegee,
javascript-color-gradient currently only supports hex color values.

Hex values can be of various forms: the number of digits can vary between
3, 4, 6, 8.  Some of these cause silent errors.
On Thu, 1 Dec 2022 at 10:30, Lasha Kakabadze @.***>
wrote:

Hello @leegee https://github.com/leegee,
javascript-color-gradient currently only supports hex color values.
—
Reply to this email directly, view it on GitHub
https://github.com/Adrinlol/javascript-color-gradient/issues/26#issuecomment-1333476193,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD5GMEHDVZUQZZQSJ25QQDWLBV2NANCNFSM6AAAAAASQRZBTU
.
You are receiving this because you were mentioned.Message ID:
@.***>


[Snyk] Security upgrade golang from 1.21.1-alpine3.17 to 1.20.11-alpine3.17

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to fix 3 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):

build/plugin-builder/Dockerfile

We recommend upgrading to golang:1.20.11-alpine3.17, as this image has only 6 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

CVE-2023-5363 SNYK-ALPINE317-OPENSSL-6032385
  614

CVE-2023-5363 SNYK-ALPINE317-OPENSSL-6032385
  614

Out-of-bounds Write SNYK-ALPINE317-BUSYBOX-6913412
  514

Out-of-bounds Write SNYK-ALPINE317-BUSYBOX-6913412
  514

Improper Check for Unusual or Exceptional Conditions SNYK-ALPINE317-OPENSSL-6095780
  514

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

This is minor update for go to reduce the vulnerabilities


2.0: TypeError when logging CustomFieldChoice object in Job

Environment

Nautobot version (Docker tag too if applicable): 2.0.0-beta.1
Python version: 3.10.11
Database platform, version:
Middleware(s):

Steps to Reproduce

Create CustomField (type select) and CustomFieldChoice
Create a Job
Get the CustomFieldChoice in run() and log it via extra param

from nautobot.extras.jobs import Job
from nautobot.extras.models import CustomFieldChoice

class TypeErrorJob(Job):
    class Meta:
        name = "This Job triggers logging TypeError."

    def run(self):
        custom_field = CustomFieldChoice.objects.first()
        self.logger.info(extra={"object": custom_field}, msg=f"This triggers TypeError.")

Expected Behavior
Log This triggers TypeError. associated with the CustomFieldChoice object

Observed Behavior
Logging TypeError: 'AttributeError' object is not subscriptable

Full stack does not fit single screen, so here it is from logs:
[2023-06-23 18:21:35,092: WARNING/ForkPoolWorker-6] --- Logging error ---
[2023-06-23 18:21:35,100: WARNING/ForkPoolWorker-6] Traceback (most recent call last):
[2023-06-23 18:21:35,104: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/nautobot/core/celery/log.py", line 31, in emit
    job_result.log(
[2023-06-23 18:21:35,108: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/nautobot/extras/models/jobs.py", line 713, in log
    absolute_url=obj.get_absolute_url()[:JOB_LOG_MAX_ABSOLUTE_URL_LENGTH]
[2023-06-23 18:21:35,112: WARNING/ForkPoolWorker-6] TypeError: 'AttributeError' object is not subscriptable
[2023-06-23 18:21:35,116: WARNING/ForkPoolWorker-6] Call stack:
[2023-06-23 18:21:35,133: WARNING/ForkPoolWorker-6]   File "/usr/local/bin/nautobot-server", line 8, in <module>
    sys.exit(main())
[2023-06-23 18:21:35,137: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/nautobot/core/cli/__init__.py", line 54, in main
    run_app(
[2023-06-23 18:21:35,141: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/nautobot/core/runner/runner.py", line 263, in run_app
    management.execute_from_command_line([runner_name, command] + command_args)
[2023-06-23 18:21:35,145: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
[2023-06-23 18:21:35,149: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 413, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
[2023-06-23 18:21:35,154: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/nautobot/core/management/commands/celery.py", line 23, in run_from_argv
    celery_main.main()
[2023-06-23 18:21:35,158: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
[2023-06-23 18:21:35,163: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
[2023-06-23 18:21:35,169: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
[2023-06-23 18:21:35,173: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
[2023-06-23 18:21:35,178: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
[2023-06-23 18:21:35,183: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/celery/bin/base.py", line 134, in caller
    return f(ctx, *args, **kwargs)
[2023-06-23 18:21:35,188: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/celery/bin/worker.py", line 351, in worker
    worker.start()
[2023-06-23 18:21:35,193: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/celery/worker/worker.py", line 203, in start
    self.blueprint.start(self)
[2023-06-23 18:21:35,279: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/celery/bootsteps.py", line 116, in start
    step.start(parent)
[2023-06-23 18:21:35,365: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/celery/bootsteps.py", line 365, in start
    return self.obj.start()
[2023-06-23 18:21:35,368: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/celery/concurrency/base.py", line 129, in start
    self.on_start()
[2023-06-23 18:21:35,372: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/celery/concurrency/prefork.py", line 109, in on_start
    P = self._pool = Pool(processes=self.limit,
[2023-06-23 18:21:35,375: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/celery/concurrency/asynpool.py", line 463, in __init__
    super().__init__(processes, *args, **kwargs)
[2023-06-23 18:21:35,381: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/billiard/pool.py", line 1046, in __init__
    self._create_worker_process(i)
[2023-06-23 18:21:35,386: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/celery/concurrency/asynpool.py", line 480, in _create_worker_process
    return super()._create_worker_process(i)
[2023-06-23 18:21:35,389: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/billiard/pool.py", line 1158, in _create_worker_process
    w.start()
[2023-06-23 18:21:35,397: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/billiard/process.py", line 124, in start
    self._popen = self._Popen(self)
[2023-06-23 18:21:35,401: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/billiard/context.py", line 333, in _Popen
    return Popen(process_obj)
[2023-06-23 18:21:35,405: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/billiard/popen_fork.py", line 24, in __init__
    self._launch(process_obj)
[2023-06-23 18:21:35,624: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/billiard/popen_fork.py", line 79, in _launch
    code = process_obj._bootstrap()
[2023-06-23 18:21:35,628: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/billiard/process.py", line 327, in _bootstrap
    self.run()
[2023-06-23 18:21:35,632: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/billiard/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
[2023-06-23 18:21:35,635: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/billiard/pool.py", line 292, in __call__
    sys.exit(self.workloop(pid=pid))
[2023-06-23 18:21:35,638: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/billiard/pool.py", line 362, in workloop
    result = (True, prepare_result(fun(*args, **kwargs)))
[2023-06-23 18:21:35,644: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/celery/app/trace.py", line 649, in fast_trace_task
    R, I, T, Rstr = tasks[task].__trace__(
[2023-06-23 18:21:35,649: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/celery/app/trace.py", line 451, in trace_task
    R = retval = fun(*args, **kwargs)
[2023-06-23 18:21:35,652: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/nautobot/extras/jobs.py", line 147, in __call__
    return self.run(*args, **deserialized_kwargs)
[2023-06-23 18:21:35,655: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/nautobot_owners/list_owner_bastard_ip.py", line 63, in run
    self.logger.info(extra={"object": custom_field}, msg=f"This triggers TypeError.")
[2023-06-23 18:21:35,659: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/logging/__init__.py", line 1477, in info
    self._log(INFO, msg, args, **kwargs)
[2023-06-23 18:21:35,664: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/logging/__init__.py", line 1624, in _log
    self.handle(record)
[2023-06-23 18:21:35,667: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/logging/__init__.py", line 1634, in handle
    self.callHandlers(record)
[2023-06-23 18:21:35,671: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/logging/__init__.py", line 1696, in callHandlers
    hdlr.handle(record)
[2023-06-23 18:21:35,674: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/logging/__init__.py", line 968, in handle
    self.emit(record)
[2023-06-23 18:21:35,679: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/nautobot/core/celery/log.py", line 38, in emit
    self.handleError(record)
[2023-06-23 18:21:35,684: WARNING/ForkPoolWorker-6] Message: 'This triggers TypeError.'
Arguments: ()

Implement a get_absolute_url for CustomFieldChoice to point to the CustomField. May affect 1.X as well?
Capture failed calls to get_absolute_url because other models may error

Relevant line in the traceback:
[2023-06-23 18:21:35,108: WARNING/ForkPoolWorker-6]   File "/usr/local/lib/python3.10/site-packages/nautobot/extras/models/jobs.py", line 713, in log
    absolute_url=obj.get_absolute_url()[:JOB_LOG_MAX_ABSOLUTE_URL_LENGTH]


HDDS-7158. ldb cli command supports to scan container V3.

https://issues.apache.org/jira/browse/HDDS-7158

@duongnguyen0

Thanks @duongnguyen0 and @guihecheng for the code review.


Visually mark pre-release versions in "Release history" view

What's the problem this feature will solve?

Identifying whether the version in list is going to be installed by pip without --pre CLI arg.
Describe the solution you'd like

Some label/badge next to version title in different color with text like pre-release or pre.
Additional context

When you look at https://pypi.org/project/aiohttp/3.3.0a0/#history it's impossible to visually distinguish between stable and pre-release versions. Of course if one knows how it works (a0 is for alpha and isn't installed unless --pre arg is used in pip install) they'll figure it out, but I believe that the average user doesn't know this.
Even if they know it is still much more friendly to have some visual signal for this.

This seems like a reasonable request to me!

Working on it.


Re-create Task

I'm trying to programmatically create tasks to execute. The issue is that after creating the first task, once I execute the second one it executes the first one again, it probably gets ignored by vscode.tasks.executeTask since it probably somehow recognizes internally that this task already exists but I never get an id out of it.
const createdTask = new vscode.Task(
            {
                type:task.name,
                task:task.name,
            },
            vscode.TaskScope.Workspace,
            task.name,
            task.name,
            new vscode.ShellExecution(task.command)

        )

By reading the source code, I'd assume it would let me create another task based on the fact that it doesnt have an _id;
	public async executeTask(extension: IExtensionDescription, task: vscode.Task): Promise<vscode.TaskExecution> {
		const tTask = (task as types.Task);

		if (!task.execution && (tTask._id === undefined)) {
			throw new Error('Tasks to execute must include an execution');
		}

		// We have a preserved ID. So the task didn't change.
		if (tTask._id !== undefined) {
			// Always get the task execution first to prevent timing issues when retrieving it later
			const handleDto = TaskHandleDTO.from(tTask, this.workspaceService);
			const executionDTO = await this._proxy.$getTaskExecution(handleDto);
			if (executionDTO.task === undefined) {
				throw new Error('Task from execution DTO is undefined');
			}
			const execution = await this.getTaskExecution(executionDTO, task);
			this._proxy.$executeTask(handleDto).catch(() => { /* The error here isn't actionable. */ });
			return execution;
....

I found out why. The task was stuck on the terminal and couldnt re-create a new one.


Show agreements on expenses

Part of https://github.com/opencollective/opencollective/issues/4894
Design in Figma

Duplication? https://github.com/opencollective/opencollective/issues/6705

Indeed, thanks @shannondwray!


Add UI for creating members

Closes https://github.com/datadryad/dryad-product-roadmap/issues/3653

The table layout is too crowded in case the user can edit the records, too many pencils. I think it would be nicer if we add an edit link as last column in case the user has permissions which will open the same for as new action.

This is a very reasonable suggestion but would change a lot more code and would change the mechanism users are currently used to

Also this method that you used generated too many partial files. new and edit templates, rendering the _form partial, CRUD way
While true, this is also very funny, as these admin pages used to have entirely separate controller methods, javascript partials, and html partials for every single editable field, and I reduced these a lot in an earlier PR!

The table layout is too crowded in case the user can edit the records, too many pencils.
Looking again I think this is only the case for Members and Journals, although we might want to have the same mechanism in any case across all 4 account types. Reducing these to just a single edit form would also reduce all those extra files more. However there are things that should not be editable after creation, like the tenant ID, which will need to be considered. I think we'll want to ask the users who use these edit buttons (basically Jess, Maria) what they prefer and then make any consolidation change in another PR.


gaes encryption and decryption add CFB mode

AES加密解密新增CFB模式

Codecov Report

Merging #195 into master will increase coverage by 0.02%.
The diff coverage is 73.68%.

@@            Coverage Diff             @@
##           master     #195      +/-   ##
==========================================
+ Coverage   73.29%   73.32%   +0.02%
==========================================
  Files         203      203
  Lines       17155    17193      +38
==========================================
+ Hits        12573    12606      +33
  Misses       3918     3918
- Partials      664      669       +5

Impacted Files
Coverage Δ

g/crypto/gaes/gaes.go
89.13% <73.68%> (-10.87%)
:arrow_down:

g/container/gtree/gtree_avltree.go
97.45% <0%> (-1.02%)
:arrow_down:

g/container/gtree/gtree_btree.go
92.5% <0%> (+0.68%)
:arrow_up:

g/os/gtimer/gtimer_entry.go
91.95% <0%> (+3.44%)
:arrow_up:

g/os/gspath/gspath_cache.go
93.18% <0%> (+6.81%)
:arrow_up:

Continue to review full report at Codecov.

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


Add a method to determine the general turn direction of a path.

This will help in converting compound svg paths containing holes.
https://github.com/jscad/io/issues/71

Just a few thoughts... the function is calculating the area of a closed path, so what not call it that getArea(). The IO library can do the simple checks for < > = 0

Good idea.

Oops -- I hit the wrong button.
I changed it to expose getArea() and found where the tests live. :)
Please take a look.

the tests are very desciptive, well done @pentacular  👍
about the feature itself:

very useful to determin cw vs ccw 👍
but to be honest it feels a bit hackish to have negative areas 'mean' something, because there are no such things as negative areas in maths, so perhaps some other name would be better @z3dev :)
I honestly liked the previous name much better: it was very clear what it did :)

no worries @z3dev . I had to look it up just to be sure, but given our focus on clear, logical things for V2 we might want to avoid anything iffy ;)

Ok, that should be up to date as getTurn -- let me know what you think.

@pentacular we are going to merge this one, thanks for the work ! :)
but a heads up : from today onwards we will not be accepting any PRs for the V1 version, as it means a lot more work for us to transfer the V1 changes to the very different V3

Thanks.
Do you mean the V2 branch?
I'll see if it works with my codebase.

It won't haha the v2 branch is in very early stages. But we will incorporate your changes there don't worry :-)


按照requirements安装了，为什么streamlit无法运行

日志：
OpenBLAS blas_thread_init: pthread_create failed for thread 1 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 2 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 3 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 4 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 5 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 6 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 7 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 8 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 9 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 10 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 11 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 12 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 13 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 14 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 15 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 16 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 17 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 18 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 19 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 20 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 21 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 22 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 23 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 24 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 25 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 26 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 27 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 28 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 29 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 30 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 31 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 32 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 33 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 34 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 35 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 36 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 37 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 38 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 39 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 40 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 41 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 42 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 43 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 44 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 45 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 46 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 47 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 48 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 49 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 50 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 51 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 52 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 53 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 54 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 55 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 56 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 57 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 58 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 59 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 60 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 61 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 62 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 63 of 64: Operation not permitted
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
Traceback (most recent call last):
File "/usr/local/bin/streamlit", line 5, in
from streamlit.web.cli import main
File "/usr/local/lib/python3.11/site-packages/streamlit/init.py", line 56, in
from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator
File "/usr/local/lib/python3.11/site-packages/streamlit/delta_generator.py", line 37, in
from streamlit import config, cursor, env_util, logger, runtime, type_util, util
File "/usr/local/lib/python3.11/site-packages/streamlit/cursor.py", line 18, in
from streamlit.runtime.scriptrunner import get_script_run_ctx
File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/init.py", line 15, in
from streamlit.runtime.runtime import Runtime, RuntimeConfig, RuntimeState
File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/runtime.py", line 30, in
from streamlit.runtime.app_session import AppSession
File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/app_session.py", line 36, in
from streamlit.runtime import caching, legacy_caching
File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/caching/init.py", line 21, in
from streamlit.runtime.caching.cache_data_api import (
File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/caching/cache_data_api.py", line 32, in
from streamlit.runtime.caching.cache_errors import CacheError, CacheKeyNotFoundError
File "/usr/local/lib/python3.11/site-packages/streamlit/runtime/caching/cache_errors.py", line 18, in
from streamlit import type_util
File "/usr/local/lib/python3.11/site-packages/streamlit/type_util.py", line 41, in
import numpy as np
File "/usr/local/lib/python3.11/site-packages/numpy/init.py", line 130, in
from numpy.config import show as show_config
File "/usr/local/lib/python3.11/site-packages/numpy/config.py", line 4, in
from numpy.core._multiarray_umath import (
File "/usr/local/lib/python3.11/site-packages/numpy/core/init.py", line 24, in
from . import multiarray
File "/usr/local/lib/python3.11/site-packages/numpy/core/multiarray.py", line 10, in
from . import overrides
File "/usr/local/lib/python3.11/site-packages/numpy/core/overrides.py", line 8, in
from numpy.core._multiarray_umath import (
File "", line 216, in _lock_unlock_module
KeyboardInterrupt
KeyboardInterrupt是程序自己打印的，不是我手动KeyboardInterrupt

暂时无法复现，请提供更多版本信息

如果还出现相关问题，请按照issue模板进行提问，我们需要最小复现情况来方便定位问题，感谢理解，该issue先关闭


Version 0.4.0-beta has broken volume control

After upgrading from 0.4.0-alpha4 to 0.4.0-beta4, if I attempt to change the volume for Syrinscape, no matter if I lower or raise it, the volume goes higher everytime, until there's just massive noise coming out.
My players had the same experience during our last session so I ended up not using music for the rest of that session.
I have tried downgrading to 0.4.0-beta2 and had the same issue.
Downgrading to 0.4.0-alpha4 I am able to use the volume sliders properly again.
I have attempted multiple times to upgrade to beta-release, and every time the issue recurs, the only change I am doing is upgrading/downgrading syrin-control.
I love this module for the ease it brings to adding Syrinscape soundscapes/moods and would love to continue using it.
If there is anything you need me to test/change/add just let me know.

Yes, I can confirm that beta5 has fixed the volume issue for me.
Thanks for the quick response.


Add artman golden test

The golden test runs GAPIC generation against the golden input data, then compares the output layout with the expected output. This helps to capture unexpected GAPIC output layout change caused by either by artman, toolkit or other runtime dependency.
Note: a set of static input files (e.g. google/api/http.proto) are being used for the golden test, so it is not going to capture upstream changes to such input.

Luke, some changes have been made, which unfortunately wiped out your previous comments. Instead of copy paste subset of googleapis repo manually, I submoduled the repo as Jacob suggested. The passed yamls are tailed for this golden test.
Yes, I am comparing the artman output with a baseline fie which lists all the expected output files. Could you elaborate on what do you mean by anti-pattern?

In the golden test, switch to use set when asserting. The actual output file list is still printed as a list to retain the order from os.walk. I confirmed that the test report (when test fails) looks better than using list. The Java codegen is currently failing for a separate issue that I am currently investigating.
One thing that might be circleci specific is that the git submodule folder won't be available in the artman container running in circleci. To make it work, I add a git clone step in the golden-test circleci config, which is even better than a locked submodule folder, because that helps capture the potential regression caused by upstream common proto/config changes.

The actual output file list is still printed as a list to retain the order from os.walk
Note that the behavior of os.walk with respect to ordering is not defined.

PTAL. The test is now passing after temporarily changing api_name from "library_example" to "library" in the test artman config. It can be switched back once the toolkit bug gets fixed.

Reviewing now.

Address the feedback by

Move the git clone into circleci config
use -googleapis_dir to pass local path to pytest
wrote the output to a file and upload it as circleci artifacts. (Proved to work)

PTAL, Luke

Done :)

hooray


error "Fixture "is_debian" called directly"

From 4 days ago, the Travis has been failed.
https://travis-ci.org/junaruga/rpm-py-installer/builds/455468736
tests/test_install.py:359: in <module>
    @pytest.mark.skipif(pytest.helpers.is_debian(),
E   _pytest.warning_types.RemovedInPytest4Warning: Fixture "is_debian" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information.

The production is okay.
(venv) $ pip install rpm-py-installer
Collecting rpm-py-installer
  Using cached https://files.pythonhosted.org/packages/6f/47/d7f5a2cd4977d517edc49f794b5f72cdf966240f7ef9abcf0e8acc0b02df/rpm-py-installer-0.8.0.tar.gz
Installing collected packages: rpm-py-installer
  Running setup.py install for rpm-py-installer ... done
Successfully installed rpm-py-installer-0.8.0
You are using pip version 9.0.3, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(venv) $ pip list
Package          Version
---------------- -------
pip              9.0.3
rpm              4.14.1
rpm-py-installer 0.8.0
setuptools       39.0.1

Maybe below is the reason.
Error case
pytest==4.0.0

OK case
pytest==3.10.1

Closed by https://github.com/junaruga/rpm-py-installer/pull/165 .


MCA Reborn exclusions still show nameplate.

After using WTHIT to see that the Minecraft Comes Alive villagers and zombie villagers are:
"mca:male_villager",
"mca:female_villager",
"mca:male__zombie_villager",
"mca:female_zombie_villager",
... adding each of the above to the nameplate.json5 "excluded_entities" list didn't change anything. They still show a nameplate of "lvl # " over each of their heads, which is overlapped by their MCA name plate when close enough to show it.
Fabric-api-0.56.2+1.19
Nameplate 1.0.3
RPGDifficulty-1.2.0
Minecraft-Comes-Alive-7.3.3+1.19-fabric
Copy of the nameplate.json5 contents (direct upload of .json5 files not supported, copy to txt uploaded):
namplate_json.txt
Let me know if you need any additional information or testing done to narrow down the cause.

To deal with the overlap/conflict, I've temporarily disabled their name displays in MCA's JSON, but I figured you should know that the exclusions don't seem to be working.

Does a freshly spawned mob which is excluded have a nameplate?

Btw if you are using wthit I would disable the nameplates of mobs

Does a freshly spawned mob which is excluded have a nameplate?

I didn't test it with a newly created villager, so it may function alright for newly spawned mobs. That said, it doesn't make much sense that a nameplate would be added to an existing mob if it's excluded, but not newly spawned ones.
I've since realized that the gradual increase in mob strength over time (via RPGDifficulty) would end up causing major problems for the MCA villagers. Since they're persistent, their levels don't increase over time, so enemies would quickly outpace the guards ability to fight. Due to that, I removed RPGDifficulty and Namplate.
Regarding WTHIT, I had no issues/conflict there. MCA adds names above villagers heads, same as Nameplate does, so those two added elements were overlapping. WTHIT was never an issue. And given the way RPGDifficulty and Nameplate seem to be intended to work, I assume they were never meant for use with persistent mobs with name tags from other sources.
Either way, it's no longer an issue for me directly and not one that anyone else has seen fit to mention, so I'll not bother you further with it. ^_^


Fix meilisearch docs

@ddnexus

Commits are atomic and categorized as 'mechanic' (little to no opinion involved), 'snip' - which involves shortening, and highly 'opinionated' commits, so you should be able to follow along/track/revert easily.
I still want to eliminate a lot of the prose below:

Please do not hesitate to ask me to correct problems.

The "too many words" problem doesn't exist if you start from elasticsearch_rails and replace what's there with he meilisearch specifics.
It looks like you are going the other way around: modifying the meilisearch docs to make it look good.

I made a mistake of comparing to an old version of elasticsearch-rails, hence the confusion.
Most of the changes were cosmetic, apart from the opinionated changes to comply with elasticsearch-rails.md.
If you're happy to merge, then we have a perfect meeting of the minds with respect to cosmetic changes.
The collapsible panels are aesthetically pleasing, and are an improvement. However: they hide the clutter - if you will permit me 🙏🙏🙏🙏🙏, I would very much like to ✂✂✂ to make it even shorter, and sweeter: so users can see it and instantly understand it without thinking at all

First, let's change all the methods in all pages, by wrapping what is already there with a collapsed panel. Then we can think about cutting the text.
Also, there are other tasks that are incomplete. Like the code blocks of the synopsis (e.g. pagy initializer) etc. If you are adding more changes without finishing the ones that are already half done, then we are adding complexity to our work.
We should probably proceed horizontally to get the same type of changes to the whole documentation, instead of finishing some page at production level, while others don't even have the basic changes. We could do what we want, but I think we should avoid complicating our own efforts.

First, let's change all the methods in all pages, by wrapping what is already there with a collapsed panel. Then we can think about cutting the text.

I can do this - no issues. the only reason i am suggesting otherwise is that I can do both (stylistic changes) and cutting at the same time, relatively efficiently - except in separate commits. whether in this branch or another.
In light of the above, please confirm which way you would want me to proceed?

Also, there are other tasks that are incomplete. Like the code blocks of the synopsis (e.g. pagy initializer) etc. If you are adding more changes without finishing the ones that are already half done, then we are adding complexity to our work.

Sorry I missed that one. if you could mark up in the code review, then I can swiftly correct.

We should probably proceed horizontally to get the same type of changes to the whole documentation, instead of finishing some page at production level, while others don't even have the basic changes. We could do what we want, but I think we should avoid complicating our own efforts.

To explain the concept simply: I think we should solve one small thing at the time, completely through the whole doc (and possibly starting from the one that are half implemented), then pass to the second thing, and so on.

Ok - sounds like we should first do all the stylistic changes quickly, and then focus on the more complex ones?
If any problems with the above pls LMK so it can be merged, and we can proceed to knock this over.

I mean: whatever new style we introduce, we should apply it consistently to all the places it applies, before proceeding with another change. And very firstly, we should complete the changes that are not applied everywhere.


Error mapping Card component

react-native, react and native-base version
native-base: 2.3.4
react: 16.0.0
react-native: https://github.com/expo/react-native/archive/sdk-23.0.1.tar.gz (0.50.4)
Expected behaviour
Should render multiple Card components
Actual behaviour
Throws the following error
Cannot add a child that doesn't have a YogaNode to a parent without a measure function! (Trying to add a 'ReactRawTextShadowNode' to a 'LayoutShadowNode')

Steps to reproduce (code snippet or screenshot)
render () {
    const { projects } = this.props
    return (
      <Container>
        <StatusBar barStyle="light-content" />
        <Header>
          <Body>
            <Title>Home</Title>
          </Body>
        </Header>
        <Content padder>
          {projects.length && projects.map((project) => (
            <Card key={project.id}>
              <CardItem>
                <Body>
                  <Text>{project.attributes.title || ''}</Text>
                </Body>
              </CardItem>
            </Card>
          ))}
        </Content>
      </Container>
    )
  }

Screenshot of emulator/device
Is the bug present in both ios and android or in any one of them?
Only tried on Android
Any other additional info which would help us debug the issue quicker.

Was my fault, should be projects.length > 0

Thats fine!


m1well.Expenses plugin doesn't work

I installed the plugin, even manually, moving and renaming the files but the script does not work.

I see that the plugin was not available anymore from the Plugins panel. Not sure why. But I re-published it so it is. Works for me when I install and run it:
If I run this command:

It asks me for some data which it then stores in the "finances" folder:

Which looks like this:
2024 Expenses Tracking
2024-03-27	122	Education	122.00

I installed version 1.7.2 and after the screen where it makes me choose the type of tracking (individual, shortcut and fixed) nothing happens, and it doesn't create the note in the folder.

Which of the options did you try? Individual, shortcut or fixed?
Is there anything in the plugin console when you run it?

I have tried all the options.
How do I see the plugin console?

Help > Plugin console

I have tried all the options.
By entering the option "individual" the plugin console gives this message:
Executing function 'expensesTracking'
2024-04-01 16:35:17 | DEBUG | loaded config from settings: :: {
"fixedExpenses": [
"{"amount":670,"active":true,"month":0,"category":"Living","text":"Flat Rent"}",
"{"amount":399,"active":true,"month":1,"category":"Insurances","text":"Car Insurance"}",
"{"amount":9.99,"active":false,"month":0,"category":"Media","text":"Spotify"}"
],
"categories": [
"Viaggio",
"Alloggio",
"Vitto"
],
"columnOrder": [
"date",
"category",
"text",
"amount"
],
"dateFormat": "yyyy-MM-DD",
"folderPath": "finances",
"delimiter": ";",
"amountFormat": "full",
"shortcutExpenses": [
"{"amount":null,"category":"Mobility","text":"Refuel"}",
"{"amount":null,"category":"Groceries","text":"XYZ Market"}",
"{"amount":8,"category":"Fun","text":"Cofe at Starbucks"}"
]
}
2024-04-01 16:35:17 ❗ERROR❗ {}
Da: David Wertheimer @.>
Risposta: NotePlan/plugins @.>
Data: giovedì 28 marzo 2024, 18:34
A: NotePlan/plugins @.>
Cc: Annapaola Carrano @.>, Author @.***>
Oggetto: Re: [NotePlan/plugins] m1well.Expenses plugin doesn't work (Issue #547)
Which of the options did you try? Individual, shortcut or fixed?
Is there anything in the plugin console when you run it?
—
Reply to this email directly, view it on GitHubhttps://github.com/NotePlan/plugins/issues/547#issuecomment-2025763695, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFLWNIUP25D5MKHO6LZ3OCTY2RIDXAVCNFSM6AAAAABFLGDGM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRVG43DGNRZGU.
You are receiving this because you authored the thread.Message ID: @.***>


Added a test target

Added a test target and added a test for NSURL+YMQueryParameters

:+1: Probably a good idea.


Linted the quark application code

Quark code spring cleanup.
I've tested the application, it works and could not find any obvious errors.

I actually found 2 errors that were present before the linting that I fixed:

settings were not saved (double negation).
checked platforms to deploy to were not saved.


doesn't work well with file input from material design

I am using the official meteor package for material design in one of my projects.
I tried rendering a template with a form that needed a "file" as input.
When I tried rendering without using route, the file-path was visible.
But when I tried rendering via route, the file-path is not visible.
Is this a known issue? Any workarounds?
For reference, this is the example I tried out:
http://materializecss.com/forms.html#file

it seems not related to iron:router as iron:router has nothing to do with forms. You may provide us a test-repository or some code-snippets.

I didn't mean it just for forms, but it seems to be the problem with any page that needs some dynamic behavior using js/jquery. Even using Meteor.template.rendered didn't help the cause.
I believe it has got something to do with rendering. Not sure if the issue is with the blaze rendering engine or the router, hence posted it here. One of the reasons I thought could be that, I am trying to manipulate/change the dom here after the template is rendered, and that might not be supported currently. But I am not sure.
However for the time being I actually got it working by inserting an explicit jquery within the html template itself, to simulate the same behavior as that of material js.
It looked like this:
$('.file-field').each(function() {
var path_input = $(this).find('input.file-path');
$(this).find('input[type="file"]').change(function () {
console.log($(this)[0].files[0].name);
path_input.val($(this)[0].files[0].name);
path_input.trigger('change');
});
});


Update urls.py configuration

Django 2.0  uses django.urls.path() function which allows for a simpler, more readable URL routing syntax.
From Django 1.9, application.urls should be passed directly,  without include.

Thank you for the comments. I have committed the proposed changes.


Server client fixes

Minor fixes in client.py and server.py.
Minor Refactor in release.yml.

Thank you! This is precisely the kind of bug we would prevent with this.


Dark mode explore leftover Two

    > > ## Graphics

 sometimes the page loads like this.
This is still missing

I am not sure how to reproduce this, doesn't happen to me?

I experience it frequently. Whenever I open the deploy preview, for instance. Another instance is when you switch to dark mode, open several tabs (such as explore and create), and then come back to the homepage.
tweet from clairee: https://twitter.com/De_luneClaire/status/1587457504895983617?s=20&t=n9oKEORCzlXOrWiLshyyJg

the bug is there aswell

Originally posted by @exezbcz in https://github.com/kodadot/nft-gallery/issues/4245#issuecomment-1304520920

Demonstration video https://github.com/kodadot/nft-gallery/pull/4245#issuecomment-1304527408
Plus logo for the dark version is not there, but happens only once per while, not always I can replicate it.

👋


Failing extractor

We get this error from the app:
INFO:root:Validating credentials
INFO:root:Credentials OK
'str' object does not support item assignment
Traceback (most recent call last):
  File \"\/src\/mcwriter\/writer.py\", line 348, in run
    run_writer(client, params, tables, datadir=datadir)
  File \"\/src\/mcwriter\/writer.py\", line 405, in run_writer
    created_lists = create_lists(client, csv_lists=path_new_lists)
  File \"\/src\/mcwriter\/writer.py\", line 110, in create_lists
    serialized_data = serialize_lists_input(csv_lists)
  File \"\/src\/mcwriter\/utils.py\", line 59, in serialize_lists_input
    serialized_line = serialize_dotted_path_dict(cleaned_flat_data)
  File \"\/src\/mcwriter\/utils.py\", line 40, in serialize_dotted_path_dict
    serialized[lvl1][lvl2] = value
TypeError: 'str' object does not support item assignment

Happens here: https://github.com/pocin/kbc-mailchimp-writer/blob/master/mcwriter/utils.py#L40
Would you have any idea what's wrong?

Can you send me the config.json + header (or anonymized few top rows) of the input csv?

On 1 May 2018, at 14:09, Jakub Matějka<EMAIL_ADDRESS>wrote:
We get this error from the app:
INFO:root:Validating credentials
INFO:root:Credentials OK
'str' object does not support item assignment
Traceback (most recent call last):
File "/src/mcwriter/writer.py", line 348, in run
run_writer(client, params, tables, datadir=datadir)
File "/src/mcwriter/writer.py", line 405, in run_writer
created_lists = create_lists(client, csv_lists=path_new_lists)
File "/src/mcwriter/writer.py", line 110, in create_lists
serialized_data = serialize_lists_input(csv_lists)
File "/src/mcwriter/utils.py", line 59, in serialize_lists_input
serialized_line = serialize_dotted_path_dict(cleaned_flat_data)
File "/src/mcwriter/utils.py", line 40, in serialize_dotted_path_dict
serialized[lvl1][lvl2] = value
TypeError: 'str' object does not support item assignment
Happens here: https://github.com/pocin/kbc-mailchimp-writer/blob/master/mcwriter/utils.py#L40 https://github.com/pocin/kbc-mailchimp-writer/blob/master/mcwriter/utils.py#L40
Would you have any idea what's wrong?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/pocin/kbc-mailchimp-writer/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/AIPfKFRccOsPYbNqdIyQXAEZV8J7oLhTks5tuFCAgaJpZM4Tt3gM.

Configuration is:
{
    "storage": {
      "input": {
        "tables": [
          {
            "source": "out.c-datasentics-analytika.new_lists",
            "destination": "new_lists.csv",
            "where_column": "",
            "where_values": [],
            "where_operator": "eq",
            "columns": []
          }
        ]
      }
    },
    "parameters": {
      "#apikey": "..."
    }
  }

And here is an overview of table columns (it has only one row):

The columns seem to be little bit different from the template (https://github.com/pocin/kbc-mailchimp-writer/blob/master/templates/new_lists/new_lists.csv) but I don't know if it is the problem.

can you export the table from storage, anonymize and paste it here as a code? I need the header (literally character for character).

On 1 May 2018, at 15:54, Jakub Matějka<EMAIL_ADDRESS>wrote:
Configuration is:
{
"storage": {
"input": {
"tables": [
{
"source": "out.c-datasentics-analytika.new_lists",
"destination": "new_lists.csv",
"where_column": "",
"where_values": [],
"where_operator": "eq",
"columns": []
}
]
}
},
"parameters": {
"#apikey": "..."
}
}
And here is an overview of table columns (it has only one row):
https://user-images.githubusercontent.com/215660/39475209-acfbcfb2-4d57-11e8-8595-ad75e0e30461.png
The columns seem to be little bit different from the template (https://github.com/pocin/kbc-mailchimp-writer/blob/master/templates/new_lists/new_lists.csv https://github.com/pocin/kbc-mailchimp-writer/blob/master/templates/new_lists/new_lists.csv) but I don't know if it is the problem.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/pocin/kbc-mailchimp-writer/issues/7#issuecomment-385676021, or mute the thread https://github.com/notifications/unsubscribe-auth/AIPfKMtm_Jn7VZmy5dAWDwwLChBGEgK7ks5tuGkjgaJpZM4Tt3gM.

Oh right, I am sorry, here is the file.
out.c_datasentics_analytika.new_lists.csv.txt

Alright, the issue is the column campaign_defaults: "nevim co sem".
In the actual JSON which is sent to api, the campaign_defaults value is an object, here you are saying you want a string there.
all the fields campaign_defaults__<from_name> are valid, the campaign_defaults itself is not.
I will work on a fix to improve the error messages, in the meantime, just delete the campaign_defaults column.
The same applies to the contact column
this should be serializable (deleted the columns contact and campaign_defaults)
"list_id","email_address","email_type_option","name","contact","permission_reminder","contact__company","contact__address1","contact__city","contact__state","contact__zip","contact__country","campaign_defaults__from_name","campaign_defaults__from_email","campaign_defaults__subject","campaign_defaults__language","visibility"
"tst","foo@example.com","FALSE","Testovaci publikum","...","Dostali jste tento mail, protože jste našim zákazníkem.","...","...","Prague","","104 00","CZ","...","...","Kupte si 70","cs","pub"

the csv
email,contact__city
foo@example.com,Prague

will be serialized into
{
  "email"<EMAIL_ADDRESS>
  "contact": {"city": "Prague"}
}

if you write
email,contact__city,contact
foo@example.com,Prague,whatever

there is a clash
{
  "email"<EMAIL_ADDRESS>
  "contact": {"city": "Prague"}  # or "contact": "whatever" ???
}

Does that make sense or should I elaborate more?

Thank you very much for the explanation, it was helpful :)


fix: MD033/no-inline-html

Elements swallowed as HTML elements in Markdown

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

@chbain would it help if I split this up further?

@nschonni Thanks for checking, but splitting this up further isn't necessary.


[SPARK-41412][CONNECT][TESTS][FOLLOW-UP] Exclude binary casting to make the tests to pass with/without ANSI mode

What changes were proposed in this pull request?
This PR is another followup of https://github.com/apache/spark/pull/39034 that, instead, make the tests to pass with/without ANSI mode.
Why are the changes needed?
Spark Connect uses isolated Spark session so setting the configuration in PySpark side does not take an effect. Therefore, the test still fails, see https://github.com/apache/spark/actions/runs/3681383627/jobs/6228030132.
We should make the tests pass with/without ANSI mode for now.
Does this PR introduce any user-facing change?
No, test-only
How was this patch tested?
Manually tested via:
SPARK_ANSI_SQL_MODE=true ./python/run-tests --testnames 'pyspark.sql.tests.connect.test_connect_column'

cc @amaliujia @zhengruifeng

Merged to master.

LGTM + 1


Include deployment started comment id in output

Details
It would be useful to include this comment id in outputs.
https://github.com/github/branch-deploy/blob/368e17cf44738ebe4ee145839973967ceaf4ae44/src/main.js#L551-L568
This would allow the comment to be replaced with deployment results later in workflows, to reduce the number of comments on PR when using skip_completing: true.
In our workflows that use the command action where our own in progress comments are created, replacing the "in progress/deployment started" comment with the deployment results has made the Issue/PR comments much easier to follow.
            // update in_progress_comment with the new content
            const in_progress_comment_id = process.env.in_progress_comment_id
            console.log('in_progress_comment_id: ' + in_progress_comment_id)
            if (in_progress_comment_id) {
              console.log('Updating in_progress comment with new content')
              github.rest.issues.updateComment({
                owner: context.repo.owner,
                repo: context.repo.repo,
                comment_id: in_progress_comment_id,
                body: body
              })
            }

Release tag v9.9.0 published and I also updated the general v9 tag to include these new changes. Thanks for your contribution @walkerk1980! 🎉


[Compute] Support user_data for VM and VM Scale Sets

Description

Issue: #17223

Should allow customer to submit userData as a file.
User_data must be base64 encoded (CRP will reject any userData that is not based64 encoded).
CLI can allow customer to pass an empty string as input, it will interpret that as a signal to delete the user_data.
Allow customers to retrieve value of userData. For that, CLI must make GET request using $expand=userData.

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Compute


joints with links from nested models fail to parse

According to the SDFormat documentation, the proper way to create a joint with a link in a nested model is to scope the link with the nested model's name. However, loading an SDF with a joint such as this gives errors stating that the link can't be found. It appears that the parsing methods aren't able to handle the prefixed scope of the nested model's link.
I've tried the minimal SDF file below by loading it through sdf::v9::Root::Load():
<?xml version="1.0" ?>
<sdf version="1.7">
    <model name="top_model">
        <link name="link_a"/>
        <model name="nested_model">
            <link name="link_b"/>
        </model>
        <joint name="top_joint" type="revolute">
            <parent>link_a</parent>
            <child>nested_model::link_b</child>
        </joint>
    </model>
</sdf>

and it yields the following error when loading/parsing in libsdformat:
Child link with name[nested_model::link_b] specified by joint with name[top_joint] not found in model with name[top_model].

This originates in parser.cc, which seems to completely ignore the fact that prefixed scoping exists:
https://github.com/osrf/sdformat/blob/5a910816ef57ebd34aa4cf0c0a233750d8af88b3/src/parser.cc#L1793-L1804

Update:
This only appears to occur with the child link of a joint; the same parser.cc check referenced in the above post is not run on parent link names.
In my original example, if the nested model's link is swapped from the joint's child to the joint's parent, the SDF loads fine without error.
I'm wondering if the parser.cc lines posted above should be removed. SDFormat documentation states that:
"Note, however, that libsdformat does not currently check that nested model links referenced by joints are valid. This responsibility is left for downstream applications."

We made some pretty extensive changes in SDFormat 1.7 in order to support the //frame and //pose/@relative_to data structures and didn't have quite enough time to support the :: syntax. We have support for this syntax in SDFormat 1.8, which will be supported in libsdformat11 (currently on the master branch), with the first bit of support added in #355 and then all the rest in #381.

In the example you mentioned, the model is nested using <include>. In SDFormat 1.7, this is different from directly nesting the model using <model>. Referencing links and other entities that are children of a directly nested model is not supported in libsdformat9 and libsdformat10. However, due to the way <include> is implemented, referencing nested entities works if the model is nested using <include>.

"Note, however, that libsdformat does not currently check that nested model links referenced by joints are valid. This responsibility is left for downstream applications."

I think this is still true. I believe the checkJointParentChildLinkNames function you linked to is only called when running ign sdf -k. It's not called when in sdf::Root::Load, which is what most downstream applications would use.

Thanks for the additional information!

Thanks for the additional information!


Typescript conversion work for the existing sdk functionality

@vanreece use this task when you close that Typescriptification / test addition work. you're currently working on!

this is ongoing work, will do more of it this year.


Add info-tab search options dropdown to the regular search

[x] New feature (non-breaking change which adds functionality)

Proposed changes
Add the search drop down options that are currently available on the info-tab search to the regular search

Checklist

[x] I have read the contribution guidelines
[x] For non-bugfix PRs, I have discussed this change on the forum/slack team.
[x] I have run grunt to verify the unit tests pass
[ ] I have added suitable unit tests to cover the new/changed functionality

Coverage remained the same at 67.339% when pulling c6104195f6e4f9b2c6c440930072377064c8c4de on Steve-Mcl:search-options into 5c87a6cb765960550e8f7051734cbfef75139fd1 on node-red:dev.


Make port info available based on datadir the action server is running

Maybe it could be added to the lock file (as the pid is already there too).
The use-case is making it possible for a client to make requests to the action server if a given action server is found running in a given datadir.

This issue has been moved here, under Sema4AI/actions repository.