fix select & arrow design

Description
This PR fixes the background color as well as the arrow icon for the mobile tab selector.

Related Ticket

Resolves #1765

Checklist

[x] I have run npm run build-all without errors
[x] I have formatted JS and TS files with npm run format-all

Looks good and is functional on both Firefox and Chromium browsers.

Looks good and is functional on both Firefox and Chromium browsers.

Thanks @0xtapi


MINIFICPP-2217 - Implement jolt processor shift operation

Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with MINIFICPP-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically main)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file?
[ ] If applicable, have you updated the NOTICE file?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI results for build issues and submit an update to your PR as soon as possible.

@adamdebreceni Could you rebase and fix conflicts from https://github.com/apache/nifi-minifi-cpp/pull/1693 ?

There are some conflicts, could you rebase and make sure the CI is green? (the current windows build errors seem to be related)


Add License Information

There is no license information on this repository. I have noticed on many of the other api.video repositories there is an MIT license. Is it okay to fork this and clone for local use?

Hi @Tommo56700
You are right, I just added it. Indeed it is under MIT license like our other projects.


fix Fix regression case test_dynamic_partition run in clou…

…d mode
Proposed changes
Issue Number: close #xxx

cloud 模式下，建表中replication_allocation 不会生效，这个case 在cloud上之前也是禁掉的。
dynamic_partition.replication_allocation" = "tag.location.not_exist_tag: 1

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


cleanup: implement CLEANUP_SUSPEND

This will enable to control on which environment we run the cleanup scheduled job, for the moment we run the script only on stage env.

Add suspend with CLEANUP_SUSPEND env variable.
Change the scheduler for the job to start weekly.
Increase the data limit to increase how much images we handle in separate threads.

Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[ ] Refactor

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] I run make pre-commit to check fmt/vet/lint/test-no-fdo

Codecov Report
Patch coverage has no change and project coverage change: -0.03 :warning:

Comparison is base (be8b9a3) 60.80% compared to head (9f6c90f) 60.77%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2139      +/-   ##
==========================================
- Coverage   60.80%   60.77%   -0.03%
==========================================
  Files          75       75
  Lines       11358    11358
==========================================
- Hits         6906     6903       -3
- Misses       3864     3866       +2
- Partials      588      589       +1

Impacted Files
Coverage Δ

cmd/cleanup/cleanupimages/cleanupimages.go
66.91% <ø> (ø)

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Two identical Service traits

Why there are two Service traits: hyper::client::Service and hyper::server::Service?
As I believe a Service trait need not depend from client or server nature of things.
May be use hyper::Service instead? Or only hyper::server::Service?

Yea, they don't really need to be as different exports. I suppose I was thinking you'd do use hyper::client::{Client, Request, Service} and what-not... Could be cleaned up.

I agree. Two exports of one thing brings some discourage.

Ops.. I'm accidentally close a topic.
I agree. Two exports of one thing brings some discourage.

This should be handled with #1461, likely just export hyper::Service.

Thanx.
hyper::Service sounds reasonably.


Expired transaction time error

Version: dawn-v.4.2.0
We started off by deploying the eosio.bios contract on the eosio account:
./cleos.sh set contract eosio /home/ubuntu/eos/eosio.bios -p eosio

This worked without any errors.
Later, we deployed the system contract. We did have some problems with the unknown key assertion exception during the process as described in #3553 , but it still got deployed.
We deployed the eosio.bios contract onto the eosio account again, and then the system contract again. This worked running the same commands shown above.
And then we had to change some things again using the eosio.bios contract so we tried to deploy it again, and ran into the error below. This has persisted and we haven't been able to re-deploy the eosio.bios contract.

same error here, with dawn 4.2

@brightermatter Those plugins were enabled, and producer-name was set to eosio.

After adding another consumer node, this error started popping up again on our producer node.

I have the same issue with 4.2, and these plugins were enabled, and produce name is eosio, not fix my problem

Problem is that nodeos is not producing blocks. In this case head block is very old. cleos sets expiration time based on  head block time.
So, first make sure that you nodeos is producing blocks. It should be constantly printing something like
510005ms thread-0   producer_plugin.cpp:1073      produce_block        ] Produced block 00008ffc77f86047... #36860 @ 2018-06-05T20:08:30.000 signed by eosio [trxs: 0, lib: 36859, confirmed: 0]
510502ms thread-0   producer_plugin.cpp:1073      produce_block        ] Produced block 00008ffd7497ca46... #36861 @ 2018-06-05T20:08:30.500 signed by eosio [trxs: 0, lib: 36860, confirmed: 0]

If nodeos is not on your local machine try cleos get info and look for
...
"head_block_time": "2018-06-05T20:10:52",
...

It should be very recent (not more than few seconds off from current time). And should be different each time you re-run cleos get info.
How to make your local nodeos to produce blocks when you start new blockchain (just an example, you may use different parameters):
nodeos  --plugin eosio::wallet_api_plugin --plugin eosio::chain_api_plugin --plugin eosio::producer_plugin --plugin eosio::history_api_plugin --contracts-console --delete-all-blocks --genesis-timestamp now -e

If you want to continure existing (valid!) chain - remove --delete-all-blocks --genesis-timestamp now
@jchung00 feel free to re-open if it didn't help

@moskvanaft
Please refer to my posted issue:
I've also checked the head_block_time as you recommended. Although the head_block_time of my local nodeos is updated frequently, but I still encounter this kind of error.
Please help.


[Documentation] Small typo: "htslib.cr is the Crystal bindings to HTSlib, a C library for for high-throughput sequencing data formats" has one "for" too many

Hey there kojix2, just a small typo:
"htslib.cr is the Crystal bindings to HTSlib, a C library for for high-throughput sequencing data formats"
I think you can replace "for for" with just one "for". Hope that typo report is not too annoying for you. :)

You are right.
Thanks. But I'm surprised you even check out htslib.cr.
But I would have been more than happy if you had sent me a pull request. That is easily done with just a web browser. The more contributors, the better.

I tried adding a co-authored-by comment but it didn't seem to work. Sorry. And thanks.


Fix js conventions

Fix file names and remove a single line of unnecessary code

Wow I learned so much from this PR about the conventions in JavaScript. Thank you Evan (Silverman)!


Netopeer2-client issue

Hi,
netopeer2-cli is not able to parse command:

get  --filter-xpath /mavenir-stats:stats/intervals/interval[start-time='2020-03-20 15:25:00']
cmd_get: Unparsed command arguments.
get [--help] [--filter-subtree[=] | --filter-xpath ] [--defaults report-all|report-all-tagged|trim|explicit] [--out ]

But it changed the command like this:

get  --filter-xpath /mavenir-stats:stats/intervals/interval[start-time='2020-03-20T15:25:00']
it can be executed successfully.

Since we have to use the format of the first command, can you help solve this problem? Thanks.

Hi,
just use quotes
get --filter-xpath "/mavenir-stats:stats/intervals/interval[start-time='2020-03-20 15:25:00']"

How else is the CLI supposed to know the space you used is not another argument but still part of the previous one?
Regards,
Michal

Hi, Michal
Using quotes works, thanks very much.
Best regards,


Attributes

Hi,
thanks for your great work.
How can I show more attributes? E.g. speed numeber.

HomeAssistant sends information about the percentage, which is then also set on your device. That's why I suggest that you use the percent attribute for your needs.
If you are interested in a more specific attribute, write it and I'll check if it would make sense to add it to the attributes.


Update device_info_plus dependency to the latest

Is your feature request related to a problem? Please describe.
Using latest version dependency device_info_plus (^6.0.0)  gives version solving failed.
Thank you.

Thanks for creating this issue. I will merge https://github.com/Boehrsi/device_marketing_names/pull/2 soon and will publish a new version. This should fix the problem.

Fixed via: https://github.com/Boehrsi/device_marketing_names/pull/2
Release information: https://github.com/Boehrsi/device_marketing_names/releases/tag/0.5.0
Pub.dev release: https://pub.dev/packages/device_marketing_names


Update MD file on new branch 2017-24-19_23-11-11

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

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


Support for local attention

Hi,
I'm currently working on long sequences.
Not sure if someone asked this before but is support for local attention planned ?
ALiBi is inefficient because it keeps the O(n^2) complexity.
I found an implementation of block local attention if needed:
https://github.com/ccdv-ai/convert_checkpoint_to_lsg/tree/main/block_local_attention
Thank you

@tkon3 i recommend https://github.com/lucidrains/local-attention , but it doesn't have the full transformer and all the other features

@tkon3 there's another option i'd recommend, which is to use flash attention

@tkon3 ohh shoot, yeah that may be too long, even for flash attention haha
local attention is your best bet! maybe i'll build out a full transformer there with some of the features that actually work

Im also interested in local attention, would it be difficult to add? If not I may take a shot at it.

@platers hey Victor, i feel like it is a bit out of scope for this repo
what would you need in the local-attention for it to be usable?

@platers what kind of context lengths are you working with? is flash attention not sufficient?

@platers the other issue is that local can mean many different things depending on what you are working with
not to mention variations like shifted windows etc

here's another alternative https://github.com/lucidrains/FLASH-pytorch

@platers let me know if https://github.com/lucidrains/local-attention#local-attention-transformer helps

closing since it is working for me (and incorporated into audiolm)


Build wheels with Badr's action

Codecov Report

Merging #274 (caf778f) into main (32d8196) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Current head caf778f differs from pull request most recent head 559256b. Consider uploading reports for the commit 559256b to get more accurate results

@@           Coverage Diff           @@
##             main     #274   +/-   ##
=======================================
  Coverage   88.44%   88.44%
=======================================
  Files          15       15
  Lines        1134     1134
  Branches      136      136
=======================================
  Hits         1003     1003
  Misses        101      101
  Partials       30       30

Flag
Coverage Δ

unittests
∅ <ø> (∅)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

celer/__init__.py
100.00% <100.00%> (ø)

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 32d8196...559256b. Read the comment docs.


Use of await with Swift 5.5

Just a heads-up when compiled with the latest Swift 5.5 compiler in Xcode 13 for iOS 15 it exposes TABTestKit's use of await as a method name.  On Xcode 12.5 it's a warning, but an error in Xcode 13.  e.g.

await in a function that does not support concurrency

Here's a screenshot for reference.

Tony and I wanted to try to use Xcode 13 to check a fix from Apple

I have opened a PR to resolve this - https://github.com/theappbusiness/TABTestKit/issues/151

Thanks!


Won't launch anymore

Vortex was working on steam deck as of 11/05/23, and I'm suspecting it auto-updated and broke something. As of now the icon will bounce and then nothing will happen.

Can't reproduce on my end - maybe reinstalling would fix?

Can't reproduce on my end - maybe reinstalling would fix?

Managed to get it on saturday, had to fully Uninstaller vortex and reinstall all of it, then turn autoupdate off

Just bumped up the Proton and Vortex versions, so running the Update shortcut should fix this for everybody.


ColorPropTypes support for isRequired and more precise description

The previous implementation of ColorPropType was very hacky as it used ReactPropTypes.oneOfType([colorValidator, ReactPropTypes.number]). It turns out that oneOfType also accepts arbitrary functions instead of a type, but doesn't display any of the error message.
In this diff I properly implement isRequired (sadly we don't export createChainableTypeChecker in ReactPropTypes) and provide a lot more context that we have. I copy and pasted the way we displayed this context from the existing checkers.
Test Plan
When doing .isRequired and do not provide the value:

When providing a bad value:

accepted

@facebook-github-bot shipit


Plots not showing on additional devices

Using Windows GUI Chia 6.2.2
The master system (win10) can create plots, can see them and can farm them.  Secondary machines (Server 2019 & Win 10) have synced the blockchain. wallet and have PlotNFT.  Plot NFT  information & and wallet address match on secondary machines.  Those machines do not see the plot created on them prior to 6.2.2 nor within 6.2.2.
The plots are found by Chia Plot Check and all plots on secondary machines test fine.

Same situation with me.


Better sample manifests

This PR removes the unused spiff based templates, and replaces them with a collection of sample manifests for different clouds / cluster sizes.
It's related to #103

I consider internal/external IPs, security groups, subnets, S3 buckets/paths, etc to all be internal identifiers which should never be unnecessarily published. I think they should be scrubbed and normalized into test values before rebasing and merging.

For anyone looking, https://github.com/cloudfoundry-community/logsearch-boshworkspace has some spiff templates (and uses bosh-workspace to compose them together)

@mrdavidlaing, should this be merged? I commented that I disliked our internal identifiers being published (despite not necessarily confidential), but I'd rather have this merged and closed than hanging around indefinitely.

This PR has served its purpose of getting something out quickly; I'll close it since its now longer relevant now that projects like https://github.com/cloudfoundry-community/logsearch-boshworkspace exist.


Search Results Now Refresh with Pull Gesture

I think I have everything here. I had it originally but it looks like the shackapi does some caching and this was why I wasn't seeing the refresh I was expecting. So here is your pull request including this fix and an addition to the .gitignore file.

Ok should be good to go now.

You sir, are awesome!


Cant delete/overwrite file when closed/

Viewing a file as binary and then closing the viewer and trying to delete the file causes an error: The process cannot access the file because it is being used by another process
Reproduce:

Open file as binary
Close the viewer for the file
Delete file/Overwrite file

I'm using the latest GoLand version (2023.2.3), but this problem also occurred while using version 2023.2.2.

Duplicate of #34
I believe it's the same as the linked issue.
If you are willing to, please test current development build (install plugin from downloaded file) and let me know, if it solves your issue:
https://bined.exbin.org/download/?bined-intellij-plugin.zip

I tested the development build you linked and it worked, thank you!


"<>" sequences in JS resources break browser HTML parser

Describe the bug
</script> character sequences that occur in JS resources break browser HTML parser, as they are treated as closing tags for <script role="script" id="twine-user-script" type="text/twine-javascript">, destroying any following content.
To Reproduce
Compile a Tweego+SugarCube2 project with a JS file containing
Wikifier.wikifyEval("<<script>> console.log('It works!') <</script>>");

Desktop (please complete the following information):

Tweego 2.1.1+81d1d71
SugarCube 2.36.1

Additional context
I don't think it's even possible to escape these at Tweego level (see Restrictions for contents of script elements).

This is a browser issue, neither a Tweego nor a SugarCube issue.
Parsing of HTML <script> tag contents in the browser is probably not what most people expect/want due to historical issues that are never going to be changed.  Thus, using the <<script>> macro within a <script> tag isn't going to work as you'd hope either.
That said.  Why are you even attempting to use the <<script>> macro, which executes JavaScript, within your Story JavaScript, which exists to execute JavaScript?
(Closing this as not a Tweego issue, but feel free to continue the discussion until we get your situation straightened out.)

This is a browser issue, neither a Tweego nor a SugarCube issue.

Tweego escapes <> in passages, and if it were possible to do same for </script> it should do it. But from what I understand, it is impossible (cannot escape token, only split, and that requires knowledge of JS context which is definitely not Tweego responsibility).
Still posted the issue in case you have ideas. The only I can think of is to emit a different tag than <script> with &-escaped
characters, but that needs checking with the story format code and is an overkill for such an rare case.

That said. Why are you even attempting to use the <

Tweego escapes <> in passages, and if it were possible to do same for </script> it should do it.

Twine-ecosystem compilers encode special characters within passages specifically to avoid early processing by browsers.  Story formats decode said characters, generally on-the-fly when reading passage contents.
Your problem is not specifically related to that, nor can it be solved by that.  Your problem comes from when the decoded Story JavaScript passage content is injected into the page <head> as a <script> element.

Generated code, SugarCube partially transpiled to JS (for performance and early syntax error detection). Contents of <


[SPARK-33472][SQL] Adjust RemoveRedundantSorts rule order

What changes were proposed in this pull request?
This PR switched the order for the rule RemoveRedundantSorts and EnsureRequirements so that EnsureRequirements will be invoked before RemoveRedundantSorts to avoid IllegalArgumentException when instantiating PartitioningCollection.
Why are the changes needed?
RemoveRedundantSorts rule uses SparkPlan's outputPartitioning to check whether a sort node is redundant. Currently, it is added before EnsureRequirements. Since PartitioningCollection requires left and right partitioning to have the same number of partitions, which is not necessarily true before applying EnsureRequirements, the rule can fail with the following exception:
IllegalArgumentException: requirement failed: PartitioningCollection requires all of its partitionings have the same numPartitions.

Does this PR introduce any user-facing change?
No
How was this patch tested?
Unit test

Test build #131085 has started for PR 30373 at commit e6b0bb3.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35688/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35688/

Merged build finished. Test PASSed.

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

Test build #131085 has finished for PR 30373 at commit e6b0bb3.

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

Merged build finished. Test PASSed.

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

Test build #131240 has started for PR 30373 at commit fa6050a.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35844/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35844/

Merged build finished. Test FAILed.

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

cc @cloud-fan

Test build #131240 has finished for PR 30373 at commit fa6050a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please

Test build #131256 has started for PR 30373 at commit fa6050a.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35859/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35859/

Merged build finished. Test FAILed.

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

Test build #131256 has finished for PR 30373 at commit fa6050a.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please

Test build #131282 has started for PR 30373 at commit fa6050a.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35887/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35887/

Merged build finished. Test PASSed.

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

Test build #131282 has finished for PR 30373 at commit fa6050a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #131319 has started for PR 30373 at commit 4e684df.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35923/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35923/

Merged build finished. Test PASSed.

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

Test build #131319 has finished for PR 30373 at commit 4e684df.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

thanks, merging to master!

@allisonwang-db can you create backport PRs for 2.4 and 3.0?

Thank you, @allisonwang-db , @maropu , @cloud-fan !


Updated readme

Added links to the readme to make it less beefy. Still needs info from a few teams.

db schema was also changed 1 minute ago, check out main


Feature/complete enddpoint

What
Implemented download variant complete endpoint

Only allowed for published images and variants
If all variants are completed, set the image to completed state
If any variant failed, set the image to publish_failed state
Note: this PR depends on dp-mongoDB, so it was built on top of https://github.com/ONSdigital/dp-image-api/pull/23 (will need to be rebased)

How to review

Make sure code changes make sense
Make sure unit tests pass

Who can review
Anyone

Superseded by https://github.com/ONSdigital/dp-image-api/pull/28


StreamField Bug

On wagtail==1.0b1,  python==3.4.2 and django==1.7.7 when I write the following:

class ServicePage(Page):
    body = StreamField([
        ('Rich text', blocks.RichTextBlock()),
        ('Image', ImageChooserBlock()),
    ], blank=True)

ServicePage.content_panels = [
    StreamFieldPanel('body'),
]

and I run the migrations everything seems to be fine. When I go to the actual page (backend) and try to add a Rich Text field, it doesn't retrieve it. Same thing happens in every block type.
The problem is the space at the ('Rich text', blocks.RichTextBlock()).

Hi @negletios,
'Rich text' should really be "rich_text' -- that is the field machine name, not a label. Think of StreamField as a model with special field definitions.
As such, your code should look like:
class ServicePage(Page):
    body = StreamField([
        ('rich_text', blocks.RichTextBlock(label="Rich text")),
        ('Image', ImageChooserBlock()),
    ], blank=True)

ServicePage.content_panels = [
    StreamFieldPanel('body'),
]

Read about the optional arguments that basic block types accept at http://docs.wagtail.io/en/v1.0b1/pages/streamfield.html#basic-block-types

HI @zerolab , thanks for you response.
I just saying that I expected Wagtail to throw an error while I was doing the migrations :)

Will leave this it to @gasman, as the architect, to chip in on the expected behavior.

Might be something a system check could help with

Agreed. This isn't a bug - it's failing because the name is invalid - but it would be good to add a system check to make this throw an explicit error.


Bug in Hydraulic conductance throat.flow_shape_factors

There is a bug in the calculation of "statoil_import_and_permeability_calculation" example. The new version of "hagen_poiseuille" in OpenPNM version 2.X uses "throat.flow_shape_factor" of "pore1", "pore2", and "throat"for calculation of "hydraulic_conductance" of all throats.
These parameters should be available in "phase" during the calculations. However, the statoil code does not directly import them from the statoil files (Only one "throat.shape_factor" is available in statoil files). Thus, in the misc.py code at lines of 70 to 75 the try-exception structure throws an error. Subsequently, all shape factors are set to 1.
try:
    SF1 = phase[conduit_shape_factors+'.pore1'][throats]
    SFt = phase[conduit_shape_factors+'.throat'][throats]
    SF2 = phase[conduit_shape_factors+'.pore2'][throats]
except KeyError:
    SF1 = SF2 = SFt = 1.0

This results in a big different in the calculation of the permeability of the statoil image from previous version of OpenPNM (K=4756md) to that in the newer version (K=409 md).

Hi,  I find confusing stuff, "Hydraulic conductance" or "Hydraulic conductivity".
First is, do they mean the same thing in a similar way.
Second is that I find 4 different ways to define it, using a symbol "g":

g_1 = pi*(R^4)/(8*miu)        DOI: 10.1007/s11242-004-5468-2, equation (17);
g_2 = pi*(R^4)/(8*L)            https://doi.org/10.1016/j.fuel.2016.04.078, equation (8);
g_3 = k*(A^2)*G/(miu)         DOI: 10.1007/s11242-004-5468-2, equation (19);
g_4 = pi*(R^4)/(8miuL)     DOI: 10.1016/j.jpowsour.2007.04.059, equation(5);

Thanks.

The calculation of hydraulic conductance is a bit confused, and the definition changes depending where you look.  g1 in your image is the standard way, g2 is not correct, g3 involves shape factors which are used heavily by the Blunt group to adjust their conductance, and g4 is just the hagan-poisseuille equation so is not really a conductance.  The meaning of the word conductance is analogous to Ohm's law, so conductance (g) is the inverse of resistance, (R), thus I = g(V1 - V2).  In terms of fluid flow, it's Q = g(P1 - P2) where Q is flow and P is pressure.  The idea is to group all the scaling factors into a single constant, called g.

this is fixed

@jgostick  Thanks a lot. BTY, you said "fixed" means that the bug is fixed, right? does that mean we need to update the version?

V2.1 has these fixes incorporated, but it's not on PIP yet....will do it in a day or two

@jeff good news. please tell me if it is accessible on pip. thanks.


[Drawer] Fix classes forwarded to DOM node for docked drawer

Fixes issue spotted here https://validator.w3.org/nu/?doc=https%3A%2F%2Fnext.material-ui.com%2Fcomponents%2Falert%2F%23main-content#interactive
The classes are being blocked for Root, but forwarded on other slot. However, on this component the Docked slot is used as root, so we need to block them.

The fix looks a bit magical (for somebody that doesn't have the context). Maybe destructuring the classes would be clearer or renaming shouldForwardProp -> rootShouldForwardProp.

fair enough, let me rename it


HDFS-16499. [SPS]: Should not start indefinitely while another SPS process is running

JIRA: HDFS-16499.
Normally, we can only start one SPS process at a time. When one process is running, start another process and retry indefinitely. I think, in this case, we should exit immediately.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
12m 13s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m 21s

trunk passed

+1 :green_heart:
compile
1m 26s

trunk passed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 21s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m  1s

trunk passed

+1 :green_heart:
mvnsite
1m 28s

trunk passed

+1 :green_heart:
javadoc
1m  4s

trunk passed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 30s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 20s

trunk passed

+1 :green_heart:
shadedclient
22m 46s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 15s

the patch passed

+1 :green_heart:
compile
1m 21s

the patch passed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 21s

the patch passed

+1 :green_heart:
compile
1m 15s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
1m 15s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 50s

the patch passed

+1 :green_heart:
mvnsite
1m 19s

the patch passed

+1 :green_heart:
javadoc
0m 53s

the patch passed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 26s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 16s

the patch passed

+1 :green_heart:
shadedclient
22m 26s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
228m  7s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 46s

The patch does not generate ASF License warnings.

339m 51s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4058/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4058

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux ef73e76080d1 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / c6b5f9cc122a9ec9b46006490df878ca91de1151

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4058/1/testReport/

Max. process+thread count
3236 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4058/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 37s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m 25s

trunk passed

+1 :green_heart:
compile
1m 27s

trunk passed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 19s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m  0s

trunk passed

+1 :green_heart:
mvnsite
1m 29s

trunk passed

+1 :green_heart:
javadoc
1m  3s

trunk passed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 33s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 14s

trunk passed

+1 :green_heart:
shadedclient
22m 45s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 17s

the patch passed

+1 :green_heart:
compile
1m 19s

the patch passed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 19s

the patch passed

+1 :green_heart:
compile
1m 13s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
1m 13s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 51s

the patch passed

+1 :green_heart:
mvnsite
1m 20s

the patch passed

+1 :green_heart:
javadoc
0m 53s

the patch passed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 24s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 13s

the patch passed

+1 :green_heart:
shadedclient
22m 11s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
229m 10s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 44s

The patch does not generate ASF License warnings.

329m  5s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4058/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4058

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 9d75d590f57f 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / b7a532635f7eb5dea73115467fd3a305a2c3a5f6

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4058/2/testReport/

Max. process+thread count
3307 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4058/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Hi @umamaheswararao , could you please take a look at this? Thank you very much.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 38s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
34m 13s

trunk passed

+1 :green_heart:
compile
1m 28s

trunk passed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 25s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
0m 58s

trunk passed

+1 :green_heart:
mvnsite
1m 36s

trunk passed

+1 :green_heart:
javadoc
1m  4s

trunk passed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 38s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 28s

trunk passed

+1 :green_heart:
shadedclient
23m 45s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 17s

the patch passed

+1 :green_heart:
compile
1m 21s

the patch passed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 21s

the patch passed

+1 :green_heart:
compile
1m 14s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
1m 14s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 50s

the patch passed

+1 :green_heart:
mvnsite
1m 20s

the patch passed

+1 :green_heart:
javadoc
0m 54s

the patch passed with JDK Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 28s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 23s

the patch passed

+1 :green_heart:
shadedclient
22m 51s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
227m  8s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 46s

The patch does not generate ASF License warnings.

330m  3s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4058/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4058

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux c05bc3074ecc 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 9a4c965884e4078ba9019c84236d8bb0f18e4402

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.14+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4058/3/testReport/

Max. process+thread count
2937 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4058/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Hi @umamaheswararao , could you please help merge this? Thank you.

@tomscut Thanks for your contribution. @umamaheswararao Thanks for your review! Merged

Thanks @umamaheswararao and @ferhui .


Unable to Remove or Modify /usr/bin/ssh-agent After Windows Defender Found a Trojan

Your Windows build number:  Microsoft Windows [Version 10.0.18362.535]

What you're doing and what's happening:
I received a notification from Windows Defender that it had discovered a Trojan in \\wsl$\Ubuntu\usr\bin\ssh-agent and would like me to take action and restart my computer. I accepted. Upon restarting, openssh-client was no longer installed, and continued to not be recognized after attempting sudo apt-get install openssh-client, which returned results of the package already being recognized. After uninstalling and reinstalling openssh-client, the reinstall failed part way through, bringing me to my current problem.

When I attempt sudo apt-get remove openssh-client I get:

When I attempt eval 'ssh-agent' (after a successful sudo chmod 755 /usr/bin/ssh-agent or 777) I get -bash: /usr/bin/ssh-agent: cannot execute binary file: Exec format error.
When I attempt sudo rm /usr/bin/ssh-agent, I get a permission denied.
The fun part: when I run Windows File Explorer as Administrator, I get:

And lastly, when I run Powershell as Administrator and run rm ssh-agent, I get:

What's wrong / what should be happening instead:
The permissions to the half-installed file /usr/bin/ssh-agent are incorrect, and not modifiable by even the Windows administrator. I would expect a WSL sudoer to be able to modify/remove the file, as well as execute it as normal.

Strace of the failing command, if applicable:  Here's sudo rm /usr/bin/ssh-agent

I had the same experience some minutes ago. The ssh-agent works for me after first removing the broken installation and then installing it again.
I would suspect that there isn't really a Trojan in the ssh-agent binary but who knows 😄

As of this morning, I've got this issue too.
This might not be the best place for this post but this is the only thread that appeared for me when Googling this issue today.
Removing the file and reinstalling the whole openssh-client package it leads to it being immediately re-quarantined.
However, it's being identified as a Win32 virus in an ELF file, which makes no sense.
Setting an exception for the alleged trojan, Trojan:Win32/Softcnapp, and then reinstalling with sudo apt install openssh-client --reinstall works for now.
Hopefully the false positive will be fixed soon.

Looks like this have been fixed in the latest "Protection updates" (Security intelligence version: 1.307.1639.0) - at least I am not having the problem anymore.
(I have also uninstalled openssh-client, manually removed /usr/bin/ssh-agent, and reinstalled openssh-client.  This may also be part of why it is working now).

As of this morning, I've got this issue too.
This might not be the best place for this post but this is the only thread that appeared for me when Googling this issue today.
Removing the file and reinstalling the whole openssh-client package it leads to it being immediately re-quarantined.
However, it's being identified as a Win32 virus in an ELF file, which makes no sense.
Setting an exception for the alleged trojan, Trojan:Win32/Softcnapp, and then reinstalling with sudo apt install openssh-client --reinstall works for now.
Hopefully the false positive will be fixed soon.
EDIT: Have submitted to Microsoft to re-test.
EDIT2: https://www.virustotal.com/gui/file/c8475e6c3823b461940b48f2d1214dc9b04a3dfe90c13f21a117d533b86798d5
EDIT3: Microsoft confirmed false positive.

Thank you for the feedback. I still have issues with my "quarantined" (I guess that's what's causing the issue?) /usr/bin/ssh-agent, as well a follow up.
For the file, I'm not sure how to add the Trojan:Win32/Softcnapp exception. I tried adding an exception to Windows Security, but all I found was "Add a File" which I added the wslpath to /usr/bin/ssh-agent. But, after that, sudo apt-get install /usr/bin/ssh-agent --reinstall produced a similar permission error. Do you have any way I or anyone else that ended up locking themselves out of this file could fix that?
Also, for the follow up, what would have been the best way to report this problem? I'm really only familiar with these Github Issues because... uh... debugging, so I didn't know where else to report the issue. Thanks in advance.

Update, for anyone else still experience similar issues where the file became quarantined:
In Windows Security -> Virus and Threat Protection -> Protection History, you can see the recently detected "Trojan". I spammed the Restore and Remove buttons until it went away. After restarting, the rule applied and I regained access to delete /usr/bin/ssh-agent, and the reinstall worked fine.
As an added layer of please-don't-happen-again, Windows Security -> Virus and Threat Protection -> Manage Settings -> Add or Remove Exclusions will allow you to stop the file from being scanned again. The path Windows will recognize is \\wsl$\Ubuntu\usr\bin\ssh-agent.
One last followup that does concern WSL is that I thought it strange sudo chmod allowed me to gain read/write/execute permissions on the file, albeit the quarantine stopped me from removing or moving the file outright. I was able to edit it in nano and make it empty. On the Windows side, however, I didn't have and couldn't obtain read/write/execute permissions even as an Administrator. Thought that was odd.

@RyanDraves Glad you got it sorted. The actual issue (false positive) was best reported at https://www.microsoft.com/en-us/wdsi/filesubmission - they replied very quickly and updated their database. I'm not sure there was ever an issue with WSL itself, really.

Since the false positive has been reported, and the original problem has been fixed I'll mark this issue as closed! Please feel free to reopen it if you are still experiencing the issue, or create a new one that references this one. Thanks!


rename from WildFly Swarm to Thorntail

Please hold. This is affected by https://issues.jboss.org/browse/THORN-2015 -- I'm trying to find a workaround.

I added a workaround, but that's highly suboptimal. I'll investigate more tomorrow.

Un-marking WIP because I don't think there's currently a better workaround for THORN-2015.


Increment version for costmanagement releases

Increment package version after release of Azure.ResourceManager.CostManagement

API change check
API changes are not detected in this pull request.

Failures are unrelated to these changes.  Merging.


add not found page and style it with tailwindcss

i will be adding not found page, for every page that does not exsit on our website and for sure styling it using tailwindcss

everything was reviewed by @SeifEleslam  at #10  and everything fine.


feat: replace old agenda with agenda-neue

Removes deprecated agenda views (agenda, agenda-by-type, floor-plan, week-view)
Removes deprecated url entries
Renames agenda-neue to agenda
Points floor-plan to agenda
Removes python tests that no longer apply
Removes -neue suffix from Vue templates
Fixes the Playwright tests to point to the new URLs (without neue)

@rjsparks Added redirects for previously removed paths + going to /personalize with selected sessions (e.g. /meeting/114/agenda?show=hackathon-sessc,hackathon-sessa,sedate,rtgarea,webtrans) now automatically enter the picker mode with the sessions selected.


Revert maven-source-plugin to version 2.4 to speed up builds

See #876 for context.

Coverage increased (+0.01%) to 85.746% when pulling 0f1cc12366733839ee7c7aa29d5f44d359d074ff on mziccard:speed-builds into 121783ac3b346abafb5d568be794cde1c941a47c on GoogleCloudPlatform:master.


Support Python 3.12

Upgrade to support newer versions of Python

I think it would also be fine to drop support for Python 3.6 and 3.7 as part of this change (and to make CI happy).

Thank you!

Thanks for the review!


add the visibility param to repositories

this normally mirrors the 'private' param (public or private); but for GitHub Enterprise there is an additional 'internal' option

hi @ChristopherDavenport! just checking in to see if/when this can be released?

hi @ChristopherDavenport just checking in here. Can this be released?

hi @ChristopherDavenport just checking in here. Can this be released? I see you've approved but I don't have merge permission.


Add LiteLLM

⚠ Please check that this feature request hasn't been suggested before.

[X] I searched previous Ideas in Discussions didn't find any similar feature requests.
[X] I searched previous Issues didn't find any similar feature requests.

🔖 Feature description
Replace inference with LiteLLM.
📝 Additional Context
No response
Acknowledgements

[X] My issue title is concise and descriptive.
[X] I have searched the existing issues to make sure this feature has not been requested yet.
[X] I have provided enough information for the maintainers to understand and evaluate this request.

Fixed in v0.1.26


Add support for saving tokens manually

Current PR contains updates for handling access tokens in two manners:

Manually add access tokens for a service from the backoffice UI

a service that allows the save of access tokens from the interface will have the CanManuallyProvideToken property set to true in the settings.
this will toggle an input text field to be made visible in the backoffice service details page, where the editor can save a new access token.

a successful result will be displayed to the user.

Extend IAuthorizedServiceCaller interface to retrieve the access token for a service using the GetTokenAsync method. I have implemented the method to run async, as it did not invoke any asynchronous methods in its body.

Schema has been updated with details of the CanManuallyProvideToken property.

UI updated.

Looks nice. Merging in.


.com to .dev

Requirements

Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
All new code requires tests to ensure against regressions

Description of the Change
Pulsar-edit.com to Pulsar-Edit.dev. This decision was made hours after PR #1 .

Alternate Designs
N/A

Benefits
N/A

Possible Drawbacks
Some pages not removed?

Applicable Issues

@kaosine If able to review then you can.


Update readme

Contributes to #1531

coverage: 94.231%. remained the same when pulling c8c4004031bd91e440f227ba355072f543ca4950 on feature/update-readme into a7584a611373b1bf0b55e2825e79e802ca19a425 on main.


feat(opensource): modified Readme

Description

This PR fixes the documentation to make sure the Table of Contents header is added
Removes unnecessary item as per the issue

Type of PR

[ ] ✨ Feature
[ ] 🐞 Bug fix
[x] 📄 Documentation update
[ ] Others

Related Issue

Closes #33

Hello @dyaramatreya , thanks for opening this PR. We are working on improving our contributing guidelines to reflect that issues must be assigned first, before we approve a pull request. We also prioritise assigning issues to our community members and to underrepresented genders. You can learn more about our mission on our website, or join our slack.

Hello @dyaramatreya , thanks for opening this PR. We are working on improving our contributing guidelines to reflect that issues must be assigned first, before we approve a pull request. We also prioritise assigning issues to our community members and to underrepresented genders. You can learn more about our mission on our website, or join our slack.

Hello @mariahlaqua. That's great.
Anyway, I have also asked for assigning the issue to me in the issue comments. If possible and in case of no representation from the above mentioned communities and members, I'll be happy to get my contribution counted 😄.
Thanks

Hi @dyaramatreya,
Thank you for the PR!
We are merging this with a consideration that you have asked to be assigned to the issue.
But for your future reference, please wait until a maintainer assign you to the issue before you make changes and create a PR.
 :)

Thanks for your contribution, patience, and understanding @dyaramatreya ! We will have our documentation updated shortly to reflect the community guidelines better. :)

Hi @dyaramatreya, Thank you for the PR!
We are merging this with a consideration that you have asked to be assigned to the issue. But for your future reference, please wait until a maintainer assign you to the issue before you make changes and create a PR. Doing so will cause your PR won't get merged. :)
cc: @mariahlaqua

Thanks @adiati98

Thanks @dyaramatreya !! We appreciate your patience and understanding. We've also added a label "no-assignment-necessary" for issues where this is not a requirement.


Memory usuage by Product Quantizer

I have gone through your code and as mentioned in the paper you have used faiss.ProductQuantizer for quantization of the feature vectors.
Can you tell me how to determine the memory usage of the product quantization like mentioned in your paper?

import numpy as np
import faiss
import sys

num_channels = 512
train_data_base_init = np.random.normal(size=(2000, 7, 7, num_channels))
train_data_base_init = train_data_base_init.astype(np.float32)

train_data_base_init = np.reshape(train_data_base_init, (-1, num_channels))
num_samples = len(train_data_base_init)

codebook_size = 256
num_codebooks = 32

nbits = int(np.log2(codebook_size))
pq = faiss.ProductQuantizer(num_channels, num_codebooks, nbits)

pq.train(train_data_base_init)

# how to determine the size of pq (size of product quantization model)?
# or did you just mention the size of latent_dict (the replay buffer only) in the "REMIND"paper?
# latent_dict stores the coresponding code and label of each feature.
# latent_dict, line 110 -> https://github.com/tyler-hayes/REMIND/blob/master/image_classification_experiments/imagenet_base_initialization.py

@tyler-hayes @erobic

Hi @SouBanerjee,
We manually computed memory requirements for the paper. I am providing a function here that can be used to compute the overall memory requirements of the codebook + PQ indices for image classification. Hope this helps!
import numpy as np

def compute_pq_memory(len_feat_map, num_channels, codebook_size, num_codebooks, num_samples):
    # determine type of unit for pq based on codebook size
    bit_multiple = np.ceil((np.log2(codebook_size) / 8))

    # compute how big the codebook will be (stored as float32)
    codebook_size_num_float32s = num_channels * codebook_size

    # compute storage of pq indices (stored as uints)
    pq_feat_size_num_uint8s = (num_codebooks * len_feat_map * len_feat_map * num_samples) * bit_multiple

    # convert storage to MB or GB
    storage_requirement_in_MB = (pq_feat_size_num_uint8s + 4 * codebook_size_num_float32s) * 0.000001
    storage_requirement_in_GB = storage_requirement_in_MB * 0.001

    return storage_requirement_in_MB, storage_requirement_in_GB

num_img_imagenet = 1281167
mb, gb = compute_pq_memory(7, 512, 256, 32, num_img_imagenet)
print('Memory in MB: %0.4f' % mb)
print('Memory in GB: %0.4f' % gb)


Verify Home-page and Download-URL URLs

What's the problem this feature will solve?
Currently, only URLs specified via Project-URL are verified (as part of the work for https://github.com/pypi/warehouse/issues/8635).
However, the Home-page and Download-URL URLs are not verified. These are currently stored in the backend inside the Release object as plain strings, as opposed to the URLs from Project-URL which have their own type (ReleaseURL) and are stored in their own table along with their verification status.
Since these two URLs are not verified, they are always returned as unverified (via https://github.com/pypi/warehouse/pull/16531).
Describe the solution you'd like
We can change the backend so that these two URLs are verified during upload, and their verification status is stored, similar to what we do for URLs in Project-URL fields.
/cc @di @woodruffw

Since these two URLs are not verified, they are always returned as unverified (via #16531).

They are also no longer displayed at all.

They are also no longer displayed at all.

@miketheman That's what https://github.com/pypi/warehouse/pull/16531 fixes

They are also no longer displayed at all.

@miketheman That's what #16531 fixes

@facutuesca thanks, I confirmed the fix is there after a page cache re-render.


Add more activation functions

Could be nice to add Leaky ReLU and ELU, since we mention them in the class.

ELU added by 2bf2c7b30a2f1171d0c72b36b7a28a718d405b5e


Update app.py

@juberti This is the app.py compatible with lunch updates. this works correctly and is not from my fork.


[AWS] Add cloudwatch agent to image to allow ssh-less access to logs

Description
In an usual deployment scenario you might be interested in the log files created by meilisearch. The current AMI does not include the cloudwatch agent & the documentation also does not include instruction on how to set-up the agent. As of now the only way to access those otherwise would be by ssh'ing into the machine which is not always encouraged.
Basic example
AWS provides a documentation that explains how the agent should be installed with valuable notes:
https://docs.aws.amazon.com/prescriptive-guidance/latest/implementing-logging-monitoring-cloudwatch/include-cloudwatch-agent-amis.html

As we no longer offer as much maintenance on this repo, I don't think this issue is still relevant. I'm closing it


[Spec] update parts of the spec for Module Record's Evaluate() returning a promise

There are a few places in the spec that talk about Module Record's Evaluate() returning or throwing. They need to be updated to talk about returning a fulfilled/rejected promise.

https://tc39.github.io/ecma262/#table-37
https://tc39.github.io/ecma262/#sec-example-source-text-module-record-graphs
https://tc39.github.io/ecma262/#sec-toplevelmoduleevaluationjob, but see https://github.com/tc39/ecma262/pull/735; this may not be worth worrying about
... more?

This has been fixed.


git tag based versioning

This adds some cruft to the repo from the versioneer tool - I'm not crazy about putting all of this in the repo.  But so far I haven't found a light-weight solution to tag-based versioning in python without rolling our own tool...
Anyway, the basic gist is that setup.py calls out to the versioneer code, which determines the version number based on git tags.  If you're on a tag starting with v, it will use that as the version number (minus the v prefix).  If you're a few commits past the tag, it will produce a pep440 compatible "local version" string, e.g. 0.1.0+1.g988d850  which is one commit past the v0.1.0 tag, on sha 988d850.
Those local versions can't be uploaded to pypi, but we could potentially put them on our own package index (maybe on s3?) for our automated e2e testing scheme...
I'm happy to park this if there are strong objections to cluttering up the repo like this; we can manually bump the version while we look for a less invasive tool.

That's a lot of cruft! Let's scrap this approach and aim at installing from github with pip install git+https://...@branch
(which is another argument for using release branches)

👍 good call

BTW here's the Official Python Way™ of versioning stuff, which is predictably a little wacky:
https://www.python.org/dev/peps/pep-0386/#the-new-versioning-algorithm


feat(client): add timeout option

According to https://dmitripavlutin.com/timeout-fetch-request/

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Invalid add-on repository

Hi -- I have a brand new installation of home assistant OS, and I'm trying to add this add-on, but getting an error that it's not a valid add-on repository.. am I doing something wrong?

Hi @sferris ,
IT seems you try to add the addon as repository, which can not work.
Pleased use the following

https://github.com/einschmidt/hassio-addons

Let me know in case you need further help.

Oh geez.. I swore I tried that repo too, but I clearly had a copy/paste issue!  -- That worked perfectly, tyvm!! sorry for the unnecessary issue :D


bug passing all args from macro to function

def bla1(*args1, **args2)
  p args1
  p args2
end

macro bla2(*args1, **args2)
  bla1(*{{args1}}, **{{args2}})
end

bla2(1, a: 1) # => ok
bla2(1, 2) # => Syntax error in expanded macro: bla2:1: for empty hashes use '{} of KeyType => ValueType'
bla2(a: 1) # => Syntax error in expanded macro: bla2:1: for empty hashes use '{} of KeyType => ValueType'

You can splat inside a macro. And in master you can now double splat inside macros. It's still a bit annoying because if args1 is empty there will be a comma at the beginning and it will fail to parse, but it's still possible.
Solution 1:
macro bla2(*args1, **args2)
  {% if args1.empty? %}
    bla1({{**args2}})
  {% else %}
    bla1({{*args1}}, {{**args2}})
  {% end %}
end

Solution 2:
macro bla2(*args1, **args2)
  bla1(
    {% unless args1.empty? %}
      {{*args1}},
    {% end %}
    {{**args2}}
    )
end

We also have an argify method which the same as splatting (*), maybe we can add an argument to it that is a string to append if it's not empty. So...
macro bla2(*args1, **args2)
  bla1({{args1.argify(", ")}} {{**args2}})
end

What do you think? I needed that argify method with an optional trailing comma a couple of times now. We should probably renamed it to splat, though, and have a double_splat method too.

I just added those methods.
To be honest, I'm not super happy with the way macros currently work (or are implemented), though they usually get the work done. Before 1.0 we'll discuss better alternatives to implement them.


test: GtfsFareAttributeTableLoader class

closes #570
Summary:
This PR provides additional unit test for GtfsFareAttributeTableLoader class
Expected behavior:
No code change, tests should pass
Please make sure these boxes are checked before submitting your pull request - thanks!

[x] Run the unit tests with gradle test to make sure you didn't break anything
[x] Format the title like "feat: -new feature short description-" (PR title must follow the conventional commit specification)
[x] Linked all relevant issues
~[ ] Include screenshot(s) showing how this pull request works and fixes the issue(s)~

Closing as a trivial test to avoid artificially inflating the code base.

Closing as a trivial test to avoid artificially inflating the code base.


10.0.20348.1850 is not supported

Hello, this version of termsrv.dll -10.0.20348.1850 is not supported .
Caption : Microsoft Windows Server 2022 Standard OSArchitecture: 64-bit
termsrv.zip
Thank you for your support.

https://github.com/sebaxakerhtc/rdpwrap.ini/commit/3b2e2246050a4bd9f0b386fde1291001c529c185

Thanks, now it works !

Reopened. Not included in official INI (by Stas'M)


Events for Collapse component

It would be useful if the Collapse component could accept props like onOpened (or onShown), onClosed (or onHidden), etc. An example of needing this is I'm building a feature in my app where when a Collapse component is opened, I want to scroll the header of the Collapse to the top of the screen. This causes some trouble because I need to perform the scroll after the Collapse has finished opening, otherwise the scroll position would be off.
I took a crack at implementing an onOpened prop here but because I don't know if you guys have greater plans for how to handle events across the library, I figured it's not worth working on a PR right now.

We haven't really had to expose lifecycle events but Collapse is a unique component that could really use this. I'd expect props to be name on${Event} for the different transition states. Could you rebase the pr for v4 from master?

I'll try to get to it soon. Should there be 4 new props: onShow, onShown, onHide, onHidden?

@j-francisco ah good point, I should have said only onOpened and onClosed, since they are the only events not currently exposed. onOpen and onClose are the basic state transition events that can be checked in toggle method. If you find the latter critical to expose, feel free to do it. Thanks for your patience and help!

@eddywashere should the onOpened and onClosed events be triggered only on updates, or should they also be triggered on the initial render based on the isOpen prop? I'm leaning towards only on updates, since the main reason for these events is because of the delay, which only happens on updates.

@j-francisco haven't published this just yet but will update this thread when it gets published.

Was this added? Any chance we could props like this to the Modal component?

This was added to the Collapse component. The props have since been renamed to onEntered and onExited.  I believe Modal has onOpened and onClosed.


Create repeater protocol.

Write a protocol for nodes so that they can act as repeaters.
Needs to :

recieve input qubit
forward
confirm forward successful
alert source node

Assuming we're working with fibres there aren't classical edges without quantum edges so the repeater also has to be a relay of the classical signals.

We're going to cheat and not have the network realistically communicate success. We'll just await the right behaviour on the destination nodes.


Adding in examples for ifElse

Coverage remained the same at 100.0% when pulling d780ecb04e6e6c17a4eb445d35438ce9a2b2e8c8 on docs/logic-ifElse into 88cd06dd66127e3befc1b1a0a3676ad0d2f6bdda on master.


az resource create and x-ms-version

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az resource create
Errors:
Unable to create domain name 'UniqueResourceDomainNameGoesHere': 'The x-ms-version header value '2020-02-01' is not one of the supported version headers.'.

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az resource create --location {} --name {} --properties {} --resource-group {} --resource-type {}

Expected Behavior
Environment Summary
Windows-10-10.0.18362-SP0
Python 3.6.6

azure-cli 2.2.0

Extensions:
interactive 0.4.3

Additional Context

add to S168

@happyiphone Hi, I can't reproduce your question. Could you please provide more specific parameter information? Placeholders can be used instead of sensitive privacy information.

Hi I'm also getting this:
$productionSlot = Get-AzureRmResource -ResourceGroupName $resourceGroupName -ResourceType Microsoft.ClassicCompute/domainNames -ResourceName "$resourceName/slots/Production"

@thomhurst Do you have this problem while using CLI commands?

Just tried again and I still get the same error:
az resource create --location 'westus' --name 'DemoResource' --properties '{}' --resource-group 'Tg' --resource-type 'Microsoft.ClassicCompute/domainNames'
Unable to create domain name 'DemoResource': 'The x-ms-version header value '2020-02-01' is not one of the supported version headers.'.
let me know if you need anything more specific than this.
thanks!

When the CLI calls the Service of Resources - Create Or Update to query the api_version of domainNames for resource type under Microsoft.ClassicCompute provider, we get the latest version is 2020-02-01.
Then CLI uses the api_version of 2020-02-01 to call the Service of
Resources - Create Or Update in order to create a new resource of Microsoft.ClassicCompute/domainNames, the following error occurred:

{"error":{"code":"DomainNameOperationFailed","message":"Unable to create domain name 'DemoResource2': 'The x-ms-version header value '2020-02-01' is not one of the supported version headers.'."}}

Request URL: PUT https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{ResourceGroup}/providers/Microsoft.ClassicCompute/domainNames/{domainNames}?api-version=2020-02-01

@happyiphone Apologies for the late reply. Could you please let us know if you are still facing this issue with recent version of the CLI ? Awaiting your reply.


ENH: Use vispy

It's probably ~6 months in the making, but we should change from using legacy OpenGL code to that library.

Not likely to happen


Contribution of lemmas about colimits

Hi,
thank you all for agda-categories :-) I spent almost entire last year on an initial F-algebra construction, which builds the initial algebra from finite, recursive F-coalgebras ("Initial Algebras Unchained", accepted at LICS'24, preprint, formalization, agda html). For the construction, I had written a couple of lemmas (mostly about colimits) which I find helpful for a general audience. Before flooding you with PRs, I'd like to double check with you, which ones you find useful:

singleton-hom 𝒞 X Y (doc): the property that the hom set 𝒞(X,Y) is singleton, with notation
_[_=∃!=>_] (𝒞 [ X =∃!=> Y ])

For a diagram F : Functor J C and another functor G : Functor C D, one obtains a Functor (Cocones F) (Cocones (G ∘F F)) (doc). This functor just does F₀ = F-map-Coconeˡ G and F₁ = F-map-Cocone⇒ˡ G (from Categories.Diagram.Cocone.Properties), but it's very useful to have a functor for the next lemma (with different identifiers, sorry!):

If a functor F sends a colimit C₁ : Colim J to a colimitting cocone FC₁ : Colim (F ∘F J), then every colimitting J-cocone is sent to a colimitting cocone (doc). On paper the proof is: colimits are unique up to isomorphism and functors preserve isomorphism :-)

The colimit injections form a jointly-epic family (doc)

For a diagram in a full subcategory of a category 𝒞: If the colimit in 𝒞 exists and if the coapex is isormorphic to some object in the subcategory, then this yields the colimit in the subcategory (doc)

The forgetful functor from F-Coalgebras to the base category creates all colimits (doc)

If  E : Functor ℰ 𝒟 is a final subdiagram of D : Functor 𝒟 𝒞, then Colimit D = Colimit (D ∘F E) (doc), corresponding nLab-page: https://ncatlab.org/nlab/show/final+functor

A slightly more general proof of Lambek's lemma (doc) for coalgebras (also works for algebras) that does not require finality/initiality: an F-coalgebra structure c : C ⇒ F C is an isomorphism provided that there is only one (coalgebra-)endomorphism on (C,c) and at least one coalgebra morphism (FC,Fc) ⇒ (C,c)

Properties about recursive F-Coalgebras (doc): almost all are from a paper by Capretta/Uustalu/Vene (doi); and the result that recursive F-coalgebras are closed under colimits.

Rather special results (maybe only of limited interest):

Definition of (finitely-)presentable object and the property that presentable objects are closed under (binary) coproducts (https://arxiv.org/src/2405.09504v2/anc/Presentable.html#1245). My proof involves the concrete characterization of colimits in Setoids and that each element of a colimit comes from some element of some object in the diagram (doc)

A necessary and sufficient conditions when hom-functors preserve (filtered) colimits (doc)

Most of the above mentioned general results should easily adapt to the the non-Co-world (Limits and Algebras). But before rewriting them, I'd be interested in your comments, which ones I should clean up and prepare as PRs.
Looking forward to your comments :-)

Turns out that "very busy" extended for months! I now have a nice 2 week window before the next term starts...
I think the results in your first list seem quite useful. It would be nice to be careful to have explicit duals to these theorems, when they exist / are true / etc. Having each of them as a separate PR would be wonderful.
The special results do seem more special. However, a lot of the set up (like finitary, presentable, etc) are things that are really needed in agda-categories!
Again, apologies for taking so long.


Provide a faster fallback for memrchr

There are patches in the pipeline for 16-bit pointer sizes and so on in the main rust tree, so that got me thinking about making sure it compiles no matter what the target pointer size is. Specialization is only for 32-bit and 64-bit platforms.
benchmark looks like this with the fallback used for memrchr, tested on 64-bit linux (fallback is normally not used in linux, but here it is).
test iterator          ... bench:      11,799 ns/iter (+/- 36) = 847 MB/s
test iterator_reversed ... bench:      11,781 ns/iter (+/- 29) = 848 MB/s
test libc_memchr       ... bench:         455 ns/iter (+/- 3) = 21978 MB/s
test libc_memrchr      ... bench:       2,236 ns/iter (+/- 12) = 4472 MB/s

Oh :laughing:  memrchr fallback is faster than memchr itself on windows according to the appveyor tests..
I can of course provide the same algorithm in its forward direction, if wanted.

@bluss What the..? Really? If you want to, sure, that benchmark seems pretty convincing...

Found an improvement.. new bench is
test libc_memrchr      ... bench:       1,974 ns/iter (+/- 26) = 5065 MB/s

just slightly better, but this one actually vectorized on my tested platform.

I'll come back to memchr another day. This is fine to merge if you want.
For memchr, I wonder what the OS X situation looks like?

@bluss Thanks!
No clue about OS X. I have a Mac mini next to me that has been sitting in its box since December. Been meaning to get it set up to build/dist Rust programs...

Just a heads up: I tested this implementation on my own windows box and @bluss's implementation is clearly faster than windows' memchr:
running 4 tests
test iterator          ... bench:       4,767 ns/iter (+/- 3,443) = 2097 MB/s
test iterator_reversed ... bench:       4,630 ns/iter (+/- 1,386) = 2159 MB/s
test libc_memchr       ... bench:       4,062 ns/iter (+/- 1,345) = 2461 MB/s
test libc_memrchr      ... bench:         870 ns/iter (+/- 230) = 11494 MB/s

test result: ok. 0 passed; 0 failed; 0 ignored; 4 measured

@bluss I knew you were good... but I didn't know you were that good!

wow! I want to thank llvm for the codegen :wink:


Add posibility to import metadata

It should be possible to import metadata from other sources, so that people may "bring the tagging work home" and then sync it back to the main computer.

Depends on #27

Depends on #18

Rather than the entire metadata, this should only work on the Manual tag. The FileName tag is always governed by the filename, no sense in syncing that, and ID3 is cheap enough to scan / rescan upon request.


Add Marissa + illustration to "Meet the team" on About page

Here is Marissa's watercolor image. Her title should be labeled as Product Manager.

@machikoyasuda did you add the white background and rounded corners to the team images?
The one that @AnthonyRollins linked above for Marissa is just a large transparent background.

@machikoyasuda ping :point_up:

did you add the white background and rounded corners to the team images?

@thekaveman No I didn't. I got the photos all prepped and ready from someone else. That's beyond my photoediting skills 😅

@thekaveman @AnthonyRollins
Dimensions: 300 × 276
PNG
That image is going to have to be cropped to be more square-ish and put the person in the center (horizontally), and have the head start from 20ish pixels from the top and have the bottom go close to the bottom edge (to reduce the floating ghost vibe) - to get close to matching everyone else.

@thekaveman @machikoyasuda I believe Segacy updated these photos, so is it possible that @srhhnry (Welcome back!) or @indexing might be able to help here?

If someone can point me to the other files I can make this more exact, but here's an approximation:

Thank you @srhhnry! All the existing files for the site are here: https://github.com/compilerla/compiler.la/tree/main/assets/team_members

Looks like I don't have access to upload so dropping the updated file here:

@machikoyasuda can you please finish this update as well?


Fix issue when csv or mp4 could be picked from first element of listdir

listdir doesn't provide any specific order of elements, thus csv or mp4 could be picked and frames have wrong extension. Maybe more proper fix is required.

Yes, should be fine, as long as previous pipeline with ffmpeg stays the same (extracts png files)


feat: 🎸 send text as list

https://github.com/wechaty/wechaty/issues/2394

I got a little confused with this PR. Could you please help me explain why we need to change it to a list?
Thanks.


type 'int' is not a subtype of type 'double?' in type cast

Hi,
I have a field rating in one of my model and it is Float type
After code gen, I have this code parsing a value from the field in one of fromJson functions.
        rating: (l$rating as double?),

It gives type 'int' is not a subtype of type 'double?' in type cast error when the value is an integer such as 3
It works fine when there is a precision value such as 3.1
Is there a way to configure it with build.yaml except providing custom parsing functions?
Thank you!

Hi!
Could you provide a short example that triggers this?
I just tried this test in the package end_to_end_test:
import 'package:end_to_end_test/variables/__generated__/human_with_args.data.gql.dart';
import 'package:test/test.dart';

void main() {
  test("", () {
    GHumanWithArgsData_human human = GHumanWithArgsData_human.fromJson({
      'name': 'Martin',
      'height': int.parse('1'),
    })!;
    expect(human.height, 1.0);
    expect(human.height, isA<double>());
  });
}

For me, this works.
Which package are you using for code gen?

Hi,
in my pubspec
  build_runner: ^2.1.10
  copy_with_extension_gen: ^4.0.2
  graphql_codegen: ^0.11.0-beta.2
  json_serializable: ^6.2.0
...

I think graphql_codegen is using gql
https://github.com/heftapp/graphql_codegen
I checked the rating field in graphql response

could you share human.fromJson implementation?
 flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.4 21F79 darwin-arm,
    locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK
    version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.69.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!

  factory Fragment$ProductReviewItem$attributes.fromJson(
      Map<String, dynamic> json) {
      .....
    final l$rating = json['rating'];
    return Fragment$ProductReviewItem$attributes(
       ....
        rating: (l$rating as double?),

Okay, this looks like a bug in graphql_codegen to me.
graphql_codegen is using gql, but has custom code generation. Please open an issue in graphql_codegen.
gql_build is using built_value for serialization, so there is no self- contained fromJson function, but here you go:

  static GHumanWithArgsData_human? fromJson(Map<String, dynamic> json) =>
      _i1.serializers
          .deserializeWith(GHumanWithArgsData_human.serializer, json);
....

 @override
  GHumanWithArgsData_human deserialize(
      Serializers serializers, Iterable<Object?> serialized,
      {FullType specifiedType = FullType.unspecified}) {
    final result = new GHumanWithArgsData_humanBuilder();

    final iterator = serialized.iterator;
    while (iterator.moveNext()) {
      final key = iterator.current as String;
      iterator.moveNext();
      final Object? value = iterator.current;
      switch (key) {
        case '__typename':
          result.G__typename = serializers.deserialize(value,
              specifiedType: const FullType(String)) as String;
          break;
        case 'name':
          result.name = serializers.deserialize(value,
              specifiedType: const FullType(String)) as String;
          break;
        case 'height':
          result.height = serializers.deserialize(value,
              specifiedType: const FullType(double)) as double;
          break;
      }
    }

    return result.build();
  }

You are right.
Sorry for the wrong report.
Thanks a lot for your time!!


make sure PUBLICHOST env var is provided to ftp server

it was discovered that PUBLICHOST by default is not provided to required FTP conatainer.
As result remote artifacts uploading doesn't work

done


Docs: Misc updates

Update the document title when changing routes and other SEO updates
Adds a lang attr to html (improves a11y score in lighthouse)
Update layout.js to use header, footer, aside
Fixes the twitter link (was linking to github)
Opens github/twitter links in new tabs
Added gatsby-plugin-catch-links to internal links use gatsby-link

Thanks!


Add documentation for outputs under subscriptions

This PR just adds a quick note in the documentation about the ability to specify outputs per-subscription. I realized I forgot to include this in my original PR.

Thanks for updating the docs.


filtering molecular function number query

When I filter cdc2 from "kinase" to "protein kinase"
the number of  displayed "associations" drops from 237 to 235.
I can't figure why, because they are all protein kinase terms?

Hi Val.  That's fixed now.  There was a bug in the filtering code: it was including the descendant terms in the filter but not the term itself.  There are two annotations directly to "protein kinase activity" that weren't being included in the filtered annotations.
If I had a top ten list of bugs I cause, I think this one (only matching descendants) would number one.

I like your consistency ;)

I like your consistency

I think it's because dealing with descendants is the trickier case, so I work on that first.  Then I forget about the easy case.


Quantification statistics : Total Number of Runs is Incorrect (Singleton Quantification)

The total number of runs is incorrectly inferred from the sub-algorithms.

Furthermore, the number of terminals are recorded over all levels, but we lack knowledge of the number of non-nested edges.


Adopt MP Health 2.2

Incorporate MicroProfile Health 2.2 changes into Helidon MP.

Note that org.eclipse.microprofile.health:microprofile-health-api declares a dependency on javax.enterprise:cdi-api which conflicts with Helidon's dependency on jakarta.enterprise:jakarta.enterprise.cdi-api. The PR for this issue handles this by excluding the javax cdi artifact from its own dependency on the MP health artifact.
Developers do not need to declare their own dependency on the MP health artifact to build and run their apps. But, if developers were to declare an explicit dependency on the MP health artifact and also run the resulting app using JPMS, they would see the app fail to start due to the module conflict.


add comments to clarify why a sort is needed here.

What kind of change does this PR introduce?
comments
Did you add tests for your changes?
No
If relevant, link to documentation update:
N/A
Summary
I did not understand why this sort is needed, and guess this comment may help the next person reading along these lines :).
Does this PR introduce a breaking change?
No

Thanks


Failed with assert len(split) == 3\n in python_runner.py

SUMMARY
I am trying to run an action but it fails with the follwing error
{
  "traceback": "  File \"/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2actions/container/base.py\", line 127, in _do_run\n    (status, result, context) = runner.run(action_params)\n  File \"/opt/stackstorm/st2/local/lib/python2.7/site-packages/python_runner/python_runner.py\", line 267, in run\n    return self._get_output_values(exit_code, stdout, stderr, timed_out)\n  File \"/opt/stackstorm/st2/local/lib/python2.7/site-packages/python_runner/python_runner.py\", line 317, in _get_output_values\n    assert len(split) == 3\n",
  "error": ""
}

STACKSTORM VERSION
st2 3.1.0, on Python 2.7.6
OS, environment, install method
Post what OS you are running this on, along with any other relevant information/
Running st2 on docker
Steps to reproduce the problem
I am sorry I won't be able to share the sensitive details. I am still not able to figure out how to reproduce this problem with a minimal setup. I would like to understand the various reasons why this might be causing an issue.
Expected Results
Action to run successfully
Actual Results
{
  "traceback": "  File \"/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2actions/container/base.py\", line 127, in _do_run\n    (status, result, context) = runner.run(action_params)\n  File \"/opt/stackstorm/st2/local/lib/python2.7/site-packages/python_runner/python_runner.py\", line 267, in run\n    return self._get_output_values(exit_code, stdout, stderr, timed_out)\n  File \"/opt/stackstorm/st2/local/lib/python2.7/site-packages/python_runner/python_runner.py\", line 317, in _get_output_values\n    assert len(split) == 3\n",
  "error": ""
}

Thanks!

StackStorm 3.1 is really old, and isn't officially supported anymore. Please upgrade to a newer version of StackStorm and verify that the problem still exists.
Alternatively, you can see if there are any professional StackStorm partners who might be able to help you with this.

I'm closing this issue since there isn't much that we can do here. But if you verify that the issue still exists in a more up-to-date version of StackStorm, please post back here instead of creating a new issue and we can reopen this issue for you. Thanks!

Really appreciate it. We are in the process of moving to a newer version. Thanks a lot for the help


Update cards.json

"Fission": {
"NAME": "Fission",
"DESCRIPTION": "Remove ALL of your Orbs, gain [B] and draw !M! card for each Orb removed. NL Exhaust.",
"UPGRADE_DESCRIPTION": "Evoke ALL of your Orbs, gain [B] and draw !M! card for each Orb removed. NL Exhaust."
},

Update ui.json
"RunHistoryMonsterNames": {
"TEXT": [
"Gang of Gremlins",
"Large Slime",
"Exordium Thugs",
"Exordium Wildlife",
"Swarm of Slimes",
"Small Slimes",
"City Muggers",
"Three Byrds",
"Four Byrds",
"Triple Cultists",
"Chosen Flock",
"Sentry and Spheric Guardian",
"Centurion and Mystic",
"Parasite and Fungi Beast",
"Masked Bandits Gang",
"Colosseum Nobs",
"Colosseum Slavers",
"Three Shapes",
"Jaw Worm Horde",
"Four Shapes",
"Spheric Guardian with Shapes",
"Double Orb Walkers",
"Donu and Deca",
"Sentries",
"Chosen and Cultist"
]
},


Because so many cards are legends now and have a comma in their name emitting the newly-legal or newly-eliminated cards spearated by commas is not great

Semicolons is the obvious fix but they are pretty noisy/ugly.
What about some unicode bullet?

3a0d347


Documentation version is incorrrect

The latest documentation shows v0.4.0, it should be v0.4.1.  The documentation is only updated when the condition in the deployment step in the PR ci_cd.yml is executed.

@dnwillia-work everything looks correct now. Please reopen if there's still an issue.


selfHosted: fix anti-affinity

fix https://github.com/coreos/etcd-operator/issues/978

fixed

lgtm

@hongchaodeng also add this to the change log?

added


404 not found when trying to use nginx

Hey I'm trying to set this up in a subfolder on an existing nginx config
Here is my config:

I'm using an ip instead of a domain in the STATIC_URL field in settings.py
So nginx just isn't finding the uwsgi server I guess
Any ideas what could be going wrong?

Could it also be a problem that I'm trying to set this up as https?

nvm my error was not putting a slash before the location D:


Disable "Explore" buttons in UI when loader does not support analysis

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2188
Originally created by @DouweM on 2020-07-20 20:36:38

View 3 previous comments from the original issue on GitLab


Provide a 'top' effect annotation

e.g.
t <*> which over approximates all effects (or perhaps t <IO>).
At the moment there is a built in IO constructor which does this, but then it breaks the postfix modality idea.

Maybe effect classes to allow at least some control over what happens.

e.g. t <FileIO> tells you a lot more than t <IO>. This seems like a good middle ground between Haskell and our current extremely fine-grained effect tracking.

Or even in future if we get rid of the built-in lists, we could have t <O, R, W, C, FileIO> and t <Any, FileIO> or something like that. Or even allow   to be overloaded ;) t <O R W C FileIO> and t <Any FileIO>.

I'm not actually sure if effect classes are very useful in a "hostile" environment. I was hoping to distinguish between things like FileIO, TermIO and NetIO. But, people could e.g. do network I/O over files or the terminal as well. Effect classes would probably only be useful if we were in direct control of the hardware with no OS in between—then we could distinguish between these things.
I suppose similar considerations hold for the fine-grained effect gradings?


Add MTC with Controller-Runtime example documentaion

Description
This PR adds a document explaining how to use Kubernetes Controller-Runtime Package to interact with OpenShift cluster in order to perform operations on MTC resources.
Check each of the following when appropriate to help reviewers verify work is complete.
Modifying an existing version

[ ] I modified operator permissions in the OLM CSV and operator.yml
[ ] I modified the operator deployment in the OLM CSV and operator.yml
[ ] I modified operand permissions in the OLM CSV and ansible role
[ ] I modified CRDS in the OLM CSV and ansible role

Adding a new release version

[ ] I created a new z release directory in deploy/olm-catalog/konveyor-operator
[ ] I updated channels in the konveyor-operator.package.yaml
[ ] I created a new release directory in deploy/non-olm
[ ] I created or updated the major.minor link in deploy/non-olm
[ ] I updated the spec.skips parameter in the CSV

Or if you want a typed thing the example would be to use the rest interface and to make the API calls this way:
<EMAIL_ADDRESS>

One potential improvement or something to consider but overall I think it looks good to me and VISACK.
Just making sure we did run this example and verify it works correctly?

@shawn-hurley Please take another look at the PR, I have updated the instructions as well as the code. I was able to successfully test the code at my end.

@eriknelson want to do a review? otherwise VISACK and /lgtm

I'd like to have QE take a look, but they are slammed right now with
shipping bugs and features for 1.4.2. I'll communicate we'd like to verify.
On Thu, Mar 4, 2021 at 1:05 AM Shubham Dilip Pampattiwar <
<EMAIL_ADDRESS>wrote:

One potential improvement or something to consider but overall I think it
looks good to me and VISACK.
Just making sure we did run this example and verify it works correctly?
@shawn-hurley https://github.com/shawn-hurley Please take another look
at the PR, I have updated the instructions as well as the code. I was able
to successfully test the code at my end.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/konveyor/mig-operator/pull/596#issuecomment-790321443,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADEKNPV7Q2CHSFVIVXBSHTTB4PLBANCNFSM4YP3ETIQ
.

Merge away
On Thu, Mar 4, 2021 at 9:26 AM Shawn Hurley<EMAIL_ADDRESS>wrote:

@eriknelson want to do a review? otherwise VISACK and /lgtm
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


support windows backslash

overall
convert "\" to "/"
utils.ts
normalizePathToRoute
make function return "/" instead of "C:\..."
getComponentName
make function to parse // and \
resolved: #1

Sorry for the late response, I was not paying much attention to this repo, this should be fixed in v0.7.1 so  I'm gonna close.