RNA-seq variant calling - vcfanno and multithreading

Hi guys -
Following up on #2242 (where the issue was due to GATK <IP_ADDRESS> vs. <IP_ADDRESS>) and #2189 (where I wasn't able to get the multithreaded version of HaplotypeCaller going, I'm now hitting the following issue.
GATK completes variant-calling, but I hit this error with vcfanno:
[0:apply]: CalledProcessError: Command 'set -o pipefail; /projects/rdocking_prj/software/bcbio-nextgen/data/anaconda/bin/vcfanno -p 1 -lua /projects/rdocking_prj/software/bcbio-nextgen/data/genomes/Hsapiens/hg19/config/vcfanno/rnaedit.lua -base-path /projects/rdocking_prj/software/bcbio-nextgen/data/genomes/Hsapiens/hg19 /projects/rdocking_prj/software/bcbio-nextgen/data/genomes/Hsapiens/hg19/config/vcfanno/rnaedit.conf /projects/karsanscratch/rdocking/KARSANBIO-1290_holiday_setup/A34430_small/work/joint/gatk-haplotype-joint/NA12878_small_batch/NA12878_small_batch-joint-stdchrs.vcf.gz |  bgzip -c > /projects/karsanscratch/rdocking/KARSANBIO-1290_holiday_setup/A34430_small/work/bcbiotx/tmpEjF3WD/NA12878_small_batch-joint-stdchrs-annotated-rnaedit.vcf.gz
=============================================
vcfanno version 0.2.8 [built with go1.8]
see: https://github.com/brentp/vcfanno
=============================================
vcfanno.go:115: found 1 sources from 1 files
panic: strconv.Atoi: parsing "position": invalid syntax
goroutine 13437 [running]:
github.com/brentp/irelate.newMerger(0x7cd780, 0x0, 0xc42093e080, 0x2, 0x2, 0xc42005ff58)
	/home/brentp/go/src/github.com/brentp/irelate/irelate.go:229 +0x2d7
github.com/brentp/irelate.IRelate(0x7cd778, 0x0, 0x7cd780, 0xc42093e080, 0x2, 0x2, 0xc421066090, 0x10000)
	/home/brentp/go/src/github.com/brentp/irelate/irelate.go:135 +0x69
github.com/brentp/irelate.PIRelate.func3.1(0xc420dd5ce0, 0x7cd748, 0xc420218c00, 0xc42093e080, 0x2, 0x2)
	/home/brentp/go/src/github.com/brentp/irelate/parallel.go:245 +0x7b
created by github.com/brentp/irelate.PIRelate.func3
	/home/brentp/go/src/github.com/brentp/irelate/parallel.go:269 +0x160
' returned non-zero exit status 2

Any thoughts? This is with bcbio updated this morning to the latest dev version. On a separate note, I'm still not seeing the Spark version of HaplotypeCaller running for the RNA-Seq pipeline -
I'm able to get 32 cores going for STAR:
[2018-02-01T16:59Z] ccgihpc.hpc.bcgsc.ca: Resource requests: picard, samtools, star; memory: 3.00, 3.00, 3.00; cores: 32, 32, 32
[2018-02-01T16:59Z] ccgihpc.hpc.bcgsc.ca: Configuring 2 jobs to run, using 32 cores each with 96.1g of memory reserved for each job
[2018-02-01T16:59Z] ccgihpc.hpc.bcgsc.ca: Running locally instead of distributed -- checkpoint passed: alignment

But only 1 for GATK:
[2018-02-01T16:59Z] ccgihpc.hpc.bcgsc.ca: Resource requests: gatk; memory: 3.60; cores: 1
[2018-02-01T16:59Z] ccgihpc.hpc.bcgsc.ca: Configuring 1 jobs to run, using 1 cores each with 3.60g of memory reserved for each job
[2018-02-01T17:01Z] ccgihpc.hpc.bcgsc.ca: Timing: RNA-seq variant calling

Any thoughts? Here's the relevant bits of my system YAML file:
resources:
  default:
    memory: 3.6G  # 3.6*32 ~= 115G
    cores: 32
    jvm_opts: ["-Xms800m", "-Xmx3600m"]
  gatk:
    jvm_opts: ["-Xms800m", "-Xmx3600m"]

Thanks again for all your help!

Rod;
Thanks for the report and apologies about the issues. For the vcfanno error, we've been working on debugging that one here and I'm a bit stuck on what is going on because I can't reproduce. There are a couple of things to check in this message and having an additional data point would be a big help:
https://groups.google.com/d/msg/biovalidation/Zdpuza0vJdI/fegttwhOAQAJ
For parallelization, is this single machine or a multiple machine cluster run? Right now these steps parallelize by sample first which makes subsequent parallelization of the actual variant calling on a machine tricky. If multiple machine I'll dig more and may have missed something in the parallelization here. Thank you again for the help debugging.

Ah - I've just been using a single sample on a local machine for debugging, so that may explain the parallelization thing. I'll try again later using multiple samples on our cluster to see what happens.
I'll take a look at the vcfanno thread and see if I can spot anything.

Looking at the command that was run:
[0:apply]: CalledProcessError: Command 'set -o pipefail; /projects/rdocking_prj/software/bcbio-nextgen/data/anaconda/bin/vcfanno -p 1 -lua /projects/rdocking_prj/software/bcbio-nextgen/data/genomes/Hsapiens/hg19/config/vcfanno/rnaedit.lua -base-path /projects/rdocking_prj/software/bcbio-nextgen/data/genomes/Hsapiens/hg19 /projects/rdocking_prj/software/bcbio-nextgen/data/genomes/Hsapiens/hg19/config/vcfanno/rnaedit.conf /projects/karsanscratch/rdocking/KARSANBIO-1290_holiday_setup/A34430_small/work/joint/gatk-haplotype-joint/NA12878_small_batch/NA12878_small_batch-joint-stdchrs.vcf.gz |  bgzip -c > /projects/karsanscratch/rdocking/KARSANBIO-1290_holiday_setup/A34430_small/work/bcbiotx/tmpEjF3WD/NA12878_small_batch-joint-stdchrs-annotated-rnaedit.vcf.gz

I ran just the vcfanno part, without the bgzip part of the command:
/projects/rdocking_prj/software/bcbio-nextgen/data/anaconda/bin/vcfanno -p 1 -lua /projects/rdocking_prj/software/bcbio-nextgen/data/genomes/Hsapiens/hg19/config/vcfanno/rnaedit.lua -base-path /projects/rdocking_prj/software/bcbio-nextgen/data/genomes/Hsapiens/hg19 /projects/rdocking_prj/software/bcbio-nextgen/data/genomes/Hsapiens/hg19/config/vcfanno/rnaedit.conf /projects/karsanscratch/rdocking/KARSANBIO-1290_holiday_setup/A34430_small/work/joint/gatk-haplotype-joint/NA12878_small_batch/NA12878_small_batch-joint-stdchrs.vcf.gz

Watching the output, the crash happened just at the boundary of chr22 and chrX:
chr22   51214277        .       A       G       18.59   .       AC=2;AF=1;AN=2;DP=2;ExcessHet=3.0103;FS=0;MLEAC=2;MLEAF=1;MQ=60;MQ0=0;QD=18.59;SOR=1.609        GT:AD:DP:GQ:MMQ:PGT:PID:PL      1/1:0,1:1:3:60,0:1|1:51214277_A_G:45,3,0
chrX    224182  .       G       C       18.59   .       AC=2;AF=1;AN=2;DP=1;ExcessHet=3.0103;FS=0;MLEAC=2;MLEAF=1;MQ=60;MQ0=0;QD=18.59;SOR=1.609        GT:AD:DP:GQ:MMQ:PGT:PID:PL      1/1:0,1:1:3:60,0:1|1:224180_C_CCGGGCACGAGG:45,3,0

The chr22 record passed, it looks like it crashed on the first chrX record.

 I'm so confused as to why I didn't see this issue with our local install, but happy to have a fix that can get things working for everyone. I updated the prepped RADAR bed files so they're now correct and if you do:
bcbio_nextgen.py upgrade --data

it should grab the fixed versions and hopefully work cleanly from the base install. Please let us know if you run into any other issues at all and thanks again.

Thanks again! Just confirming that the pipeline ran to completion after updating the RADAR BED file.


Secret change

Just question. If I change owner of project it will drop existing project secret?

No, it will not.


Error spam when setting invalid child in ShapeCast2D

Godot version
4.0 alpha 9
System information
Ubuntu 22.04
Issue description
When running simple scene with ShapeCast2D which is parent of CanvasGroup I see error spam
ERROR: Invalid shape.
   at: _update_shapecast_state (scene/2d/shape_cast_2d.cpp:271)

in almost each frame.
I think that this message should be printed only once at start, to not pollute output
ABCD2105835423.tscn.zip

I get the error spam without a CanvasGroup child


Add helpful methods to entities

All the objects under the root project (ie, channels.py, guilds.py, and similar) should maybe provide helpful methods to call either app.cache or app.rest while filling in the known arguments.
Going down this path might lead to "wrong" coding practices like guild.get_channel().send_message(). We should consider a nicer approach to this or remove "helpful methods" entirely.

can I get more info about this?
I'm interested in contributing to this repo

The description is missing from when the issue was transferred from the old repository I believe. Filled in!
Thank you for showing interest in the project <3

which method do you want implemented?

Someone would have to go around and check which ones specifically, as (as far as I am aware), there is no list anywhere. Sorry!


N201 noexcept capi cpp python

Add a flag to FFIG to make methods noexcept (useful if C++ code has been compiled without exceptions).

This PR needs significant merging work.

Relevant work is already merged.


Start-up exception swallowed by Lifecycle Handlers

Enhancement Description
Provide meaningful error message if an axon framework based application fails to start because a newly created domain event handler did not have proper argument for the method arguments. sample code mentioned below
@EventHandler
public void handle(@NotNull CreatedEvent event, ReplayStatus replay, Long aggregateVersion)
in this method I forgot to put @SequenceNumber in front of the aggregateversion and when I try to start the SB app containing this axon eventhandler I was getting the below mentioned exception with no proper root cause for this failure
Failed to start bean 'org.axonframework.spring.config.AxonConfiguration'; nested exception is org.axonframework.lifecycle.LifeCyclehandlerInvocationException'. One of the startHandlers in phase[null] failed with the following Exception:,
And after this no stack trace was printed which will give the developer any idea of what is wrong in the application.
After checking axon framework code I found that issue was with the DefaultConfigurer.java class (line 743,744) where exception is being caught but corresponding error message is not printed in the logs and which causes this issue. I am using axon 4.5.4.
Current Behaviour
Currently only a generic error message gets printed with no details about the root cause for that failure.
Wanted Behaviour
To print the relevant error message in the console so that developers know what is wrong with the application.
Possible Workarounds

I checked the same code with axon 4.5.9 and now I get the exact exception stack trace with the event handler class having the exact issue. I am good to close this issue.

Awesome, happy to hear that resolved the predicament for you, @2011ashwini!
Be sure to draft up an issue or pull request somewhere in the future if you encounter something worthwhile sharing.


TypeGuards for fall-through (else) case without PEP 724 requirement.

Hi, i want to reopen discussion about type guards implemented with __bool__ method, its already proposed in https://github.com/rustedpy/result/issues/69#issuecomment-1501206886
If __bool__ method will be implemented, fall-through (else) case would work now, without required PEP 724 implementation.
PR for issue: https://github.com/rustedpy/result/pull/144
thx @erictraut for very detailed explanation about TypeGuards implementation, i just copy&paste it here:
https://github.com/microsoft/pyright/issues/6140
Refer to PEP 647 for details about TypeGuard. User-defined type guards do not narrow types in the negative (else) case.
You may also be interested in PEP 724, which is still in the draft stage. Pyright has provisional support for PEP 724 (you need to set the enableExperimentalFeatures setting to true), but I don't recommend doing this for production code at this time because the PEP could change or be rejected.

Is this so you can do go like error handling? e.g.
# ...
if is_err(res):
  raise "some error"
print("result was ok")

Currently I'm getting type errors that I can't use ok values in that form. I can only do if/else which creates a bunch of nesting e.g.
if is_ok(res):
  print("result was ok")
else:
  raise "some error"

Regarding __bool__, I'm going to have to say no at this time. This is not something I see that will be worth implementing right now.
While I can agree it does have some appeal, the ability to just do if some_result: ..., plus the benefit of better type checking until PEP 724, the biggest concern I have is it makes the code harder to read: am I looking at a boolean or a custom class instance that overrides __bool__?
I recall coming across some discussion on reddit about this library where one comment suggested usage of result in their code make it harder for unfamiliar developers to understand the code. Overriding __bool__ would further lead to more confusion in more places -- especially given how often a if some_result is likely to be used.
I'll quote the second line of [The Zen of Python] as a closing thought,

Explicit is better than implicit.

@rupurt you can use isinstance, which works in that case,
    x = something(2)
    if isinstance(x, Err):
        return
    x # x: Ok[int]

Sweet. Works like a charm. Thanks @francium


Can we use deployment metadata to set the index name for logging?

Hi,
Is there a way we can use deployment metadata (labels or annotations) to set the index name for splunk logging?
thanks.

@beth2016 nope, the index name is usually preconfigured by the user before installing splunk logging. Let me know if you have ideas on implementing this, or you can send us a Pull Request. Thanks. Have an awesome day.

For splunk k8s object (not splunk logging),  i see that namespace metadata are captured.  Which plugin/component does that piece?

https://github.com/splunk/fluent-plugin-kubernetes-objects

resolved as part of https://github.com/splunk/splunk-connect-for-kubernetes/pull/294


[bug]  docs: guidelines page

Describe the bug
All of the  card variants look the same under the Guidelines subpage of the Card element docs.

Which Component?
rh-card
Steps to reproduce
Visit the Variants section.
Expected behaviour
Variants should look more like the variant demos: https://ux.redhat.com/elements/card/demo/variants/#. We might also want to add some lightdom CSS to make those card headings' font size 24px (--rh-font-size-heading-sm)..
Screenshots
No response
Element HTML
No response
Operating System (OS)
macOS
Browser
No response
More browser information
No response
Additional Info
No response

#1188 will close this


Cookiecutter

https://github.com/cookiecutter-flask/cookiecutter-flask

Good call.

Moving this enhancement issue to apg_flask repo.


Copying zip file to running server does not deploy

When we start the Piranha Server and have a war file in the web apps folder, all is fine and Piranha starts it. Now it we have a running server and copy a war file, Piranha does nothing.
I think this is not what the user expects, and GlassFish and WildFly do monitor this folder and then do automatic deploy.

Currently, Piranha Server doesn't support automatic deploy and undeploy of applications, so it is required to have them in the webapps.

@Thihup Would you be willing to take this on as an add-on web application? As part of a set of companion web applications that can be deployed on Piranha Server to extend its core functionality? Call it 'autodeployer' and make it listen to changes in the webapps directory.

If you need a singleton to access the ServerPiranha instance please add it to ServerBootstrap and then get it from there.

@mnriem Do you mean like autodeployer.war that when it is in the webapps folder it will listen to changes or something else?

Yea that is what I mean.


⚠ Bofrost.be has degraded performance

In 297f6ba, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 3070 ms

Resolved: Bofrost.be performance has improved in 440d231.


Encouragements

Wanted to encourage you  with work and studies (PhD).
I hope to read your thesis soon :) Feel free to paste a link here if you'd like :smile:

Thanks a lot 👍
It will still take a while until I get it done, you should be able soon to see some new research projects coming up.
I will publish soon a solution for AR environment-aware rendering with geometry occlusion, virtual scene lighting, shadow casting using WebXR, that I hope to actually integrate later to nunuStudio.
Sorry for not being able currently to manage all projects that I have and thanks a lot once again for these words!

Fantastic!
Frankly, I tried the WebXR (VR+AR) example and nothing shows up on Linux. I guess because SteamVR is not working properly on Ubuntu 20.04 for me. AR is supposed to work though. I developed a finalized AR project recently (unity), and seeing this available into nunustudio seems very promising.
Currently, I'm trying to understand how to link nsp to something like firebase to update a map on the fly.
If you or someone already made some example, I'd love to see it :)
Have a great afternoon (I'm in Europe too).

AR & VR are working fine on my mobile. Makes sense.


Perfect Periodic BC

This PR is aiming at adding support for perfect periodic BC.
I have added two meshes in examples/cube/. cube.mesh is a regular cube and cube_periodic.mesh is periodic.
@sebastiangrimberg , are the boundary conditions specified here and here making sense?
Edit: Just noticed mfem/data/periodic-cube.mesh and it seems to be different than the one I created. This one fails too though.

@hughcars , I don't seem to have necessary permissions to add reviewers but I think this is in good shape for review. I would still need to add support for lexographic elements but that shouldn't block the review. Thanks!

I've addressed all the issues here in https://github.com/awslabs/palace/tree/hughcars/periodic-bc including merging main in. I'm not sure how to merge those commits onto this branch, given it's originally from a fork. You can either merge them in, or I can open another PR from that branch. It should just be a fast forward from this branch.

Thanks @hughcars for fixing the issues. I just pushed your fixes to this branch. Is there anything else I can help with before merging?

Thanks @hughcars for fixing the issues. I just pushed your fixes to this branch. Is there anything else I can help with before merging?

I just read through it again and found a few small things I missed, there's one more commit on hughcars/periodic-bc then we're good to merge.

Thanks @hughcars for fixing the issues. I just pushed your fixes to this branch. Is there anything else I can help with before merging?

I just read through it again and found a few small things I missed, there's one more commit on hughcars/periodic-bc then we're good to merge.

Just pushed it, thanks!


Handle MaskedConstant in cube maths

Numpy operations which result in a scalar masked array return an instance of np.ma.core.MaskedConstant that always has a dtype of np.float64. This means that in cube arithmetic the dtype information can be lost.
This PR is an attempt to rectify that. The idea is to run the operation on dummy arrays with the input dtypes and use the dtype of the result to fix up the dtype of the cube in the scalar masked array case.
This approach doesn't work for arbitrary functions (i.e. instances of iris.analysis.maths.IFunc), because (1) the dtype can depend on kwargs, and (2) the function may fail if the arguments don't meet particular requirements (e.g. shape), and it's not possible to determine these requirements for arbitrary functions. It might be worth handling the limited case where the IFunc wraps a Numpy ufunc, as this may cover the majority of use cases.

@lbdreyer @bjlittle @dkillick

@djkirkham Can you rebase please.

@bjlittle  Done, but the tests aren't running...

@djkirkham It may be an issue on travis-ci, although it's status seems fine ... however, this did just happen on my PR #2520


Added CloudId property to agent variables

Description:
Added property Agent.CloudId for access outside the agent.
It could be use to determine in pipeline or task is it running on a hosted agent, or not.
Changelog:

Property CloudId added to the agent variables
Added initialization of CloudId agent property on job running by AgentJobRequestMessage.AgentCloudId property

Documentation changes required: No
Added unit tests: No
Attached related issue: Link to PR in the task
Checklist:

[x]  There are no risky dependency updates
[x]  Changes have been tested

/azp run

/azp run

/azp run


Small docs adjustments

Proposed Changes

Add doctoc to provide a nice table of contents automatically for easy navigation

Update all ToCs with lint-staged pre-commit

Adjust some links and typos
Move Query above Repository in Usage.md because people usually use the Query first, and it's the default path in the Xata SDK playground.

Preview: https://docs-git-cli-xata.vercel.app/sdk/getting-started
⚠ The deploy previews on docs.xata.io sometimes don't have syntax highlighting, but main does.

Happy to look at adding a table of contents to the docs site, but is there a significant cost to adding the ToCs in place? I see some benefits like:

it adds links in line, ready to click, with fewer clicks than this button in GitHub
it's a bit more discoverable than this GitHub button. Full disclosure, I didn't even know it exists 😅

I'm a bit fuzzy on the downsides/costs of having inline table of contents here, but happy to remove it if it hurts the project for sure!

Besides GitHub already providing the feature to me the main point of friction is that if we edit the markdown in the GitHub UI or someone edits it without having the hook installed, the script that generates the TOC won't run and it may leave the TOC out of sync.
I'd prefer to only have the TOC generated in the docs site.


Remove some legacy pools query usage

Removes some uses of legacy pools query in CL flow.
Remaining uses

Assets (now called portfolio) page v1: for filtering pools by show dust setting

Tested that adding and removing CL liquidity works from this preview.
Will request more QA of stage - merging


working on pages

Got backgrounds, label's, and input's onto Home page, Login page, and Signup Page


Why it does that
Briefly state why the change was necessary.
Further notes
List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.
Linked Issue(s)
Closes # <-- insert Issue number if one exists
Checklist

[ ] added appropriate tests?
[ ] performed checkstyle check locally?
[ ] added/updated copyright headers?
[ ] documented public classes/methods?
[ ] added/updated relevant documentation?
[ ] added relevant details to the changelog? (skip with label no-changelog)
[ ] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #188 (a687b2a) into feature/423-cosmosdb-lease-tests (e2a7650) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head a687b2a differs from pull request most recent head 8c38ef1. Consider uploading reports for the commit 8c38ef1 to get more accurate results

@@                         Coverage Diff                         @@
##             feature/423-cosmosdb-lease-tests     #188   +/-   ##
===================================================================
  Coverage                               63.06%   63.06%
  Complexity                               2545     2545
===================================================================
  Files                                     629      629
  Lines                                   13610    13610
  Branches                                  948      948
===================================================================
  Hits                                     8583     8583
  Misses                                   4583     4583
  Partials                                  444      444

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 e2a7650...8c38ef1. Read the comment docs.


[Event Request] Page 51 "Purchase Invoice" - OnBeforeCurrencyCodeOnAssistEdit

Describe the request
Could you please add the following OnBeforeCurrencyCodeOnAssistEdit event to field "Currency Code" in Page 51 "Purchase Invoice"?
Current
field("Currency Code"; Rec."Currency Code")
{
    ...
    trigger OnAssistEdit()
    begin
        Clear(ChangeExchangeRate);
        if Rec."Posting Date" <> 0D then
            ChangeExchangeRate.SetParameter(Rec."Currency Code", Rec."Currency Factor", Rec."Posting Date")
        else
            ChangeExchangeRate.SetParameter(Rec."Currency Code", Rec."Currency Factor", WorkDate());
        if ChangeExchangeRate.RunModal() = ACTION::OK then begin
            Rec.Validate("Currency Factor", ChangeExchangeRate.GetParameter());
            SaveInvoiceDiscountAmount();
        end;
        Clear(ChangeExchangeRate);
    end;
    ...
}

Requested
field("Currency Code"; Rec."Currency Code")
{
    ...
    trigger OnAssistEdit()
    var
        IsHandled: Boolean; //New
    begin
        //> New
        IsHandled := false;
        OnBeforeCurrencyCodeOnAssistEdit(Rec, xRec, IsHandled);
        if IsHandled then
            exit;
        //< New

        Clear(ChangeExchangeRate);
        if Rec."Posting Date" <> 0D then
            ChangeExchangeRate.SetParameter(Rec."Currency Code", Rec."Currency Factor", Rec."Posting Date")
        else
            ChangeExchangeRate.SetParameter(Rec."Currency Code", Rec."Currency Factor", WorkDate());
        if ChangeExchangeRate.RunModal() = ACTION::OK then begin
            Rec.Validate("Currency Factor", ChangeExchangeRate.GetParameter());
            SaveInvoiceDiscountAmount();
        end;
        Clear(ChangeExchangeRate);
    end;
    ...
}

    //> New
    [IntegrationEvent(false, false)]
    local procedure OnBeforeCurrencyCodeOnAssistEdit(var PurchaseHeader: Record "Purchase Header"; xPurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)
    begin
    end;
    //< New

Additional context
We need override the trigger "OnAssistEdit".
Similar event exists in the Page 50 "Purchase Order": https://github.com/microsoft/ALAppExtensions/issues/25757
Internal work item: AB#542555

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 22165.


Fix _changes heartbeat option

TimeoutFun was already returning {ok|stop, UserAcc} so there was no need to
wrap it another `{ok, ...} tuple.
Also TimeoutFun was calling user with{timeout, _ResponseType} not just timeout, so added a clause to handle that as well.

Replication tests and fabric tests pass.
ReplicationTest
  * test filtered replications - remote-to-remote (592.4ms)
  * test validate_doc_update failure replications - remote-to-remote (229.2ms)
  * test non-admin user on target - remote-to-remote (218.6ms)
  * test replication restarts after filter change - COUCHDB-892 - remote-to-remote (466.9ms)
  * test continuous replication - remote-to-remote (5805.3ms)
  * test simple remote-to-remote replication - remote-to-remote (2147.2ms)
  * test compressed attachment replication - remote-to-remote (1594.9ms)
  * test unauthorized replication cancellation (627.0ms)
  * test replicating attachment without conflict - COUCHDB-885 (255.5ms)
  * test create_target filter option - remote-to-remote (163.3ms)
  * test replicate with since_seq - remote-to-remote (188.8ms)
  * test source database not found with host (13.5ms)
  * test replication cancellation (607.5ms)
  * test replication by doc ids - remote-to-remote (4501.7ms)
  * test non-admin or reader user on source - remote-to-remote (133.9ms)


Update README.md

Fix invalid form option

Hi,
Thank you for your pull request, however version 2.x uses allow_remove instead of allow_delete, please check the UPGRADING.md file.
Have a great day,
Alain


withDefault does not seem to be called on morphTo relationships.

Laravel Version: 5.6.18
PHP Version: 7.1

Description:
The method withDefault does not seem to be called on morphTo relationships.
Steps To Reproduce:
I have a table Mission which relates to other tables to store mission specific data, depending on the mission template. For example, when mission template is 'create-company', we use a CreateCompanyData model.
The Mission model has a mission_data() relationship described as:
public function mission_data() : MorphTo {
    return $this->morphTo('mission_data')
                ->withDefault(function() {
                    if ($this->template==='') {
                        return new CreateCompanyData();
                    }
                    // Handle other template values + throw when template unknown
                    // ...
                });
}

When debugging my unit tests, it appears that breakpoints never get hit when placed inside the withDefault callback, even when no relation has been provided yet (function simply returns null, as if there was no withDefault call defined.

Thanks :)

@taylorotwell @staudenmeir Re-opened in #24725 after some field testing


Using the solver without providing the jacobian

Hi,
Thanks for making your codes available. I'm trying to use them to solve a collocation problem. I wonder whether it is possible to avoid providing the jacobian of the function (ie letting your code computing it numerically). From the source code it looks like grad is mandatory. Is this the case?
Thanks and best,
Gianni

Yes, the Jacobian is required for these Newton-type methods. So, you have to provide it. You could use another library to compute it numerically, such as: https://github.com/jacobwilliams/NumDiff

Thanks Jacob,
I’ll do that.
Best,
Gianni
On Fri, 3 Jun 2022 at 19:17, Jacob Williams @.***>
wrote:

Yes, the Jacobian is required for these Newton-type methods. So, you have
to provide it. You could use another library to compute it numerically,
such as: https://github.com/jacobwilliams/NumDiff
—
Reply to this email directly, view it on GitHub
https://github.com/jacobwilliams/nlesolver-fortran/issues/7#issuecomment-1146193340,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHLXB36DYFIGSMTXLHJDCUTVNI42LANCNFSM5XYLZYXQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Giovanni Lombardo
Bank for International Settlements
Basel - CH
www.giovannilombardo.ch
@.***


Possible annotation errors?

Hi there, awesome stuff, thanks for sharing.
Question: Are there possible annotation errors in the eval dataset (wiki_bio_gpt3_hallucination)?
Example: Observing example 6, index 11
Example: 6
array(['Akila Dananjaya (born 2 August 1995) is a Sri Lankan cricketer.',
       'He made his international debut for the Sri Lankan cricket team in August 2018.',
       'He is a right-arm off-spinner and right-handed batsman.',
       'Dananjaya made his first-class debut for Sri Lanka Army Sports Club in the 2013–14 Premier League Tournament.',
       'He was the leading wicket-taker in the tournament, taking 32 wickets in seven matches.',
       'He made his List A debut for Sri Lanka Army Sports Club in the 2014–15 Premier Limited Overs Tournament.',
       'In August 2018, he was named in the Sri Lankan squad for the 2018 Asia Cup.',
       'He made his One Day International (ODI) debut for Sri Lanka against Bangladesh on 15 September 2018.',
       "In October 2018, he was named in Sri Lanka's Test squad for their series against England, but he did not play.",
       "In December 2018, he was named in Sri Lanka's team for the 2018 ACC Emerging Teams Asia Cup.",
       'He was the leading wicket-taker for Sri Lanka in the tournament, with nine dismiss'],
      dtype=object)

index =11
He was the leading wicket-taker for Sri Lanka in the tournament, with nine dismiss

Ground Truth: major_inaccurate
Should be: accurate?
Observation:
During brief analysis, only NLI scores aggregated at the sentence level seem to agree with the ground truth?
The code is provided below.
from datasets import load_dataset
dataset = load_dataset("potsawee/wiki_bio_gpt3_hallucination")

eval_df = dataset['evaluation'].to_pandas()
eval_df.head()

# selecting the idx=5
_idx = 5
sentences = eval_df['gpt3_sentences'][_idx]
context = eval_df['gpt3_text'][5]

gt_labels = eval_df['annotation'][5]
print("labels:\n"{gt_labels})

print(f"Label for index: 11: {gt_labels[10]}")

context = eval_df['gpt3_text'][5]
print("Context:\n")
print(context)
print("\n\n")

print(f"**Eval sentence:**\n {sentences[10]}")
print("\n\n")

# Context broken into sentences
nlp = spacy.load("en_core_web_md")
context_samples = [sent.text.strip() for sent in nlp(context).sents]

# Passage:
nli_scores = selfcheck_nli.predict(
    sentences = [sentences[10]],
    sampled_passages = [context]
)
print(f"Passage (low score as expected): {nli_scores}")

nli_scores = selfcheck_nli.predict(
    sentences = [sentences[10]],
    sampled_passages = context_samples
)
print(f"Avg score on sentences is high: {nli_scores}")

specific_exp = """
In December 2018, he was named in Sri Lanka's team for the 2018 ACC Emerging Teams Asia Cup. He was the leading wicket-taker for Sri Lanka in the tournament, with nine dismiss
"""
nli_scores_specific = selfcheck_nli.predict(
    sentences = [sentences[10]],
    sampled_passages = [specific_exp]
)

print(f"Does it even work - comparing with the matched string (low score as expected)? : {nli_scores_specific}")

print("---- Using LLM - mistralai/Mistral-7B-Instruct-v0.2 ----") # quick eval purpose
from selfcheckgpt.modeling_selfcheck import SelfCheckLLMPrompt
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")

# mistralai/Mixtral-8x7B-Instruct-v0.
llm_model = "mistralai/Mistral-7B-Instruct-v0.2"

# Basic Prompt
# "Context: {context}\n\nSentence: {sentence}\n\nIs the sentence supported by the context above? Answer Yes or No.\n\nAnswer: "

selfcheck_prompt = SelfCheckLLMPrompt(llm_model, device)

context = eval_df['gpt3_text'][5]
print("Context:\n")
print(context)
print("\n\n")

print(f"**Eval sentence:**\n {sentences[10]}")
print("\n\n")

# Context broken into sentences
nlp = spacy.load("en_core_web_md")
context_samples = [sent.text.strip() for sent in nlp(context).sents]

# Passage:
prompt_scores = selfcheck_prompt.predict(
    sentences = [sentences[10]],
    sampled_passages = [context],
    verbose = True
)
print(f"Passage (low score as expected): {prompt_scores}")

prompt_scores = selfcheck_prompt.predict(
    sentences = [sentences[10]],
    sampled_passages = context_samples,
    verbose = True
)
print(f"Avg score on sentences (better than NLI): {prompt_scores}")

specific_exp = """
In December 2018, he was named in Sri Lanka's team for the 2018 ACC Emerging Teams Asia Cup. He was the leading wicket-taker for Sri Lanka in the tournament, with nine dismiss
"""
prompt_scores = selfcheck_prompt.predict(
    sentences = [sentences[10]],
    sampled_passages = [specific_exp],
    verbose = True
)

print(f"Does it even work - comparing with the matched string (low score as expected)?: {prompt_scores}")

Thoughts?

Hi @pramitchoudhary
Sorry for my late reply & thanks for looking into the annotation. Yes, it is possible that some sentences were annotated incorrectly. We were trying our best to ensure that annotations (using actual Wikipedia articles as ground-truth) are as accurate as possible.
Feel free to revise the annotations if you spot errors


Hover effect

Hello,
Thank you for providing this excellent component. I'm really enjoying its functionality. I was wondering if it would be possible to enhance it further by adding the capability to detect hover effects on images, in addition to the click event. Specifically, I would like to implement a feature where a green layer is added on top of the image whenever a user hovers over it.

Hi @navid-mahmoudian . It isn't a feature of the plugin. Maybe it's possible to handle this with the CSS :hover pseudo-selector but as far as I know it cannot be used in inline CSS and another user reported that external CSS stylesheets don't apply to the HTML code in the component... Sorry I don't plan to update this component because of other ongoing projects but I welcome pull requests.

Just spent an hour trying this without success. Very interested to see if anyone finds a solution to achieve this!


RFE: Working with system_name and not id

The 3scale toolbox is being improved to become the recommended way to configure and deploy services in 3scale. This fits in a broader approach of Continuous Delivery that has been started by several customers / communities (I personally maintain the threescale-cicd ansible role. Those approaches are using different means to drive the 3scale admin portal, some are using the 3scale-cli other (like the threescale-cicd role) are using the 3scale REST APIs.
If we want to make the 3scale_toolbox the de facto standard for interacting with 3scale, we need it to be usable in a CI/CD approach.
At a glance, here are the features I expect from the 3scale toolbox :

#81: Is idempotent
#82: Works with system_name and not service_id
#83: Can output human readable information as well as json or yaml (akin to oc cmd -o yaml)
#80: Have a standard way to report errors

Working with system_name and not id
Currently, the 3scale_toolbox and the underlying 3scale APIs are using numerical IDs to reference the object to work on. At the same time, a system_name is present on each object with a human readable name and a unique constraint. As a user, I know that I want to update the service "my-service" but using the numerical ID is harder.
In an infrastructure as code approach, the state of the system is determined by a formal description. The system can be completely determined by this description. When using numerical id, it is not anymore possible since the description would depends on the state of the system.
Last but not least, customers that have a separate installation of 3scale for their DRP site have different id's for the same service on both site. This means the CI/CD pipeline that deploys the service on the main site and on the DRP site needs to either do the discovery by itself or have a mapping table.
Proposition
The 3scale_toolbox uses the system_name instead of the numerical id to reference the object to work on. Then it can translate the system_name to the numerical id to finally call the underlying 3scale API.
Example
3scale copy service -t my-prod-api -s dev -d prod my-dev-api

This feature needs to be in the toolbox's core so that every plugin can leverage this feature.

If we use detection of (non-negative) integer values in the input, then we could have both options without adding options/commands or dropping the ability to refer to services by IDs.
That would restrict the use of service-names that are integers.

We don't offer finding by system name for most of the objects in our APIs, so this would require changes on the API side anyway.
And then we can basically just do find by id or system_name anyway on the GET endpoint.


Footer Content -> Hyperlinks Broken

The footer notes with Github, Twitter and Discord have broken hyperlinks as displayed below. These hyperlinks exist in Shortcode. Any thoughts @Intiserahmed ?

This issue is due to having tab spaces before the footer content in content/en/_index.html page
{{< blocks/section color="dark" >}}

{{% blocks/feature icon="fab fa-github" title="Contributions welcome!"  %}}
We do a [Pull Request](https://github.com/atsign-foundation) contributions workflow on **GitHub**. New people are always welcome!
{{% /blocks/feature %}}

{{% blocks/feature icon="fab fa-twitter" title="Follow us!"  %}}
Keep up on all the latest news,releases and more on [Twitter](http://twitter.com/atsigncompany).
{{% /blocks/feature %}}
{{% blocks/feature icon="fab fa-discord" title="Join us on Discord!"  %}}
[Join](https://discord.gg/55sHTQFxfz) 1250+ developers in our growing Community.
{{% /blocks/feature %}}

{{< /blocks/section >}}


types: check typescript types during check process

Checklist

[x] the contributor license agreement is signed
[x] commit message follows commit guidelines
[x] tests are included

Description of change
Parcel does not check types

Parcel performs no type checking. You can use tsc --noEmit to have typescript check your files.

https://parceljs.org/typeScript.html
This sets up type checks as part of a new check:ts-types step.

Errors related to language strings and related to libraries are resolved.
There are 26 errors remaining in the existing code.

full logs

Source/Plugins/Core/com.equella.core/js/tsrc/cloudcontrol/index.ts:202:53 - error TS2322: Type '(params: ControlApi) => void' is not assignable to type '(api: ControlApi) => void'.
  Types of parameters 'params' and 'api' are incompatible.
    Type 'ControlApi' is not assignable to type 'ControlApi'.
      Type 'object' is not assignable to type 'T'.
        'object' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'object'.
202     registrations[vendorId + "_" + controlType] = { mount, unmount };
~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/entity/index.ts:84:5 - error TS7053: Element implicitly has an 'any' type because expression of type '"name"' can't be used to index type '{}'.
Property 'name' does not exist on type '{}'.
84     validationErrors["name"] = "Name is required";
~~~~~~~~~~~~~~~~~~~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/legacycontent/LegacyContent.tsx:179:12 - error TS7015: Element implicitly has an 'any' type because index expression is not of type 'number'.
179     window["EQ"] = {
~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/legacycontent/LegacyContent.tsx:225:23 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
225         const exVal = urlValues[key];
~~~~~~~~~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/legacycontent/LegacyContent.tsx:227:14 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
227         else urlValues[key] = [val];
~~~~~~~~~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/legacycontent/LegacyContent.tsx:266:5 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
266     existingSheets[(current as HTMLLinkElement).href] = current;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/legacycontent/LegacyContent.tsx:270:9 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
270     if (existingSheets[cssUrl]) {
~~~~~~~~~~~~~~~~~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/legacycontent/LegacyContent.tsx:271:14 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
271       delete existingSheets[cssUrl];
~~~~~~~~~~~~~~~~~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/legacycontent/LegacyContent.tsx:313:9 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
313         scriptSrcs[scriptTag.src] = true;
~~~~~~~~~~~~~~~~~~~~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/legacycontent/LegacyContent.tsx:316:39 - error TS2769: No overload matches this call.
Overload 1 of 3, '(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string', gave the following error.
Argument of type '(lastScript: null, scriptUrl: string) => HTMLScriptElement | null' is not assignable to parameter of type '(previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string'.
Types of parameters 'lastScript' and 'previousValue' are incompatible.
Type 'string' is not assignable to type 'null'.
Overload 2 of 3, '(callbackfn: (previousValue: null, currentValue: string, currentIndex: number, array: string[]) => null, initialValue: null): null', gave the following error.
Argument of type '(lastScript: null, scriptUrl: string) => HTMLScriptElement | null' is not assignable to parameter of type '(previousValue: null, currentValue: string, currentIndex: number, array: string[]) => null'.
Type 'HTMLScriptElement | null' is not assignable to type 'null'.
Type 'HTMLScriptElement' is not assignable to type 'null'.
316     const lastScript = scripts.reduce((lastScript, scriptUrl) => {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/legacycontent/LegacyContent.tsx:317:11 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
317       if (scriptSrcs[scriptUrl]) {
~~~~~~~~~~~~~~~~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/legacycontent/LegacyContent.tsx:332:9 - error TS7006: Parameter 'err' implicitly has an 'any' type.
332         err => {
~~~
Source/Plugins/Core/com.equella.core/js/tsrc/legacycontent/LegacyContent.tsx:349:5 - error TS7053: Element implicitly has an 'any' type because expression of type '"event__"' can't be used to index type '{}'.
Property 'event__' does not exist on type '{}'.
349     vals["event__"] = [command];
~~~~~~~~~~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/legacycontent/LegacyContent.tsx:359:5 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
359     vals["eventp__" + i] = [outval];
~~~~~~~~~~~~~~~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/legacycontent/LegacyContent.tsx:361:51 - error TS2345: Argument of type '(v: HTMLInputElement) => void' is not assignable to parameter of type '(value: Element, key: number, parent: NodeListOf) => void'.
Types of parameters 'v' and 'value' are incompatible.
Type 'Element' is missing the following properties from type 'HTMLInputElement': accept, align, alt, autocomplete, and 159 more.
361   form.querySelectorAll("input,textarea").forEach((v: HTMLInputElement) => {
~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/legacycontent/LegacyContent.tsx:371:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
371     const ex = vals[v.name];
~~~~~~~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/legacycontent/LegacyContent.tsx:374:12 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
374     } else vals[v.name] = [v.value];
~~~~~~~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/legacycontent/LegacyContent.tsx:380:20 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
380         const ex = vals[v.name];
~~~~~~~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/legacycontent/LegacyContent.tsx:383:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
383         } else vals[v.name] = [o.value];
~~~~~~~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/loginnotice/PreLoginNoticeConfigurator.tsx:145:11 - error TS2769: No overload matches this call.
Overload 1 of 2, '(props: RadioGroupProps, context?: any): ReactElement<any, string | ((props: any) => ReactElement<any, string | ... | (new (props: any) => Component<any, any, any>)> | null) | (new (props: any) => Component<...>)> | Component<...> | null', gave the following error.
Type '(event: React.ChangeEvent, value: string) => void' is not assignable to type '(event: ChangeEvent<{}>, value: string) => void'.
Types of parameters 'event' and 'event' are incompatible.
Type 'ChangeEvent<{}>' is not assignable to type 'ChangeEvent'.
Type '{}' is missing the following properties from type 'Element': assignedSlot, attributes, classList, className, and 123 more.
Overload 2 of 2, '(props: PropsWithChildren, context?: any): ReactElement<any, string | ((props: any) => ReactElement<any, string | ... | (new (props: any) => Component<any, any, any>)> | null) | (new (props: any) => Component<...>)> | Component<...> | null', gave the following error.
Type '(event: React.ChangeEvent, value: string) => void' is not assignable to type '(event: ChangeEvent<{}>, value: string) => void'.
145           onChange={this.handleScheduleTypeSelectionChange}
~~~~~~~~
Source/Plugins/Core/com.equella.core/js/node_modules/@material-ui/core/RadioGroup/RadioGroup.d.ts:8:3
8   onChange?: (event: React.ChangeEvent<{}>, value: string) => void;
~~~~~~~~
The expected type comes from property 'onChange' which is declared here on type 'IntrinsicAttributes & RadioGroupProps'
Source/Plugins/Core/com.equella.core/js/node_modules/@material-ui/core/RadioGroup/RadioGroup.d.ts:8:3
8   onChange?: (event: React.ChangeEvent<{}>, value: string) => void;
~~~~~~~~
The expected type comes from property 'onChange' which is declared here on type 'IntrinsicAttributes & RadioGroupProps & { children?: ReactNode; }'
Source/Plugins/Core/com.equella.core/js/tsrc/loginnotice/PreLoginNoticeConfigurator.tsx:220:29 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'typeof ScheduleTypeSelection'.
No index signature with a parameter of type 'string' was found on type 'typeof ScheduleTypeSelection'.
220           scheduleSettings: ScheduleTypeSelection[value]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/mainui/index.tsx:58:27 - error TS2345: Argument of type 'Dispatch<SetStateAction>' is not assignable to parameter of type '(value: UserData) => void | PromiseLike'.
Types of parameters 'value' and 'value' are incompatible.
Type 'UserData' is not assignable to type 'SetStateAction'.
Type 'UserData' provides no match for the signature '(prevState: undefined): undefined'.
58     getCurrentUser().then(setCurrentUser);
~~~~~~~~~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/store.ts:10:3 - error TS2564: Property 'course' has no initializer and is not definitely assigned in the constructor.
10   course: CourseState;
~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/store.ts:11:3 - error TS2564: Property 'schema' has no initializer and is not definitely assigned in the constructor.
11   schema: SchemaState;
~~~~~~
Source/Plugins/Core/com.equella.core/js/tsrc/store.ts:12:3 - error TS2564: Property 'acl' has no initializer and is not definitely assigned in the constructor.
12   acl: AclState;
~~~
Source/Plugins/Core/com.equella.core/js/tsrc/store.ts:18:10 - error TS7015: Element implicitly has an 'any' type because index expression is not of type 'number'.
18   window["REDUX_DEVTOOLS_EXTENSION_COMPOSE"] || compose;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@edalex-ian  the remaining errors are coming from LegacyContent.tsx, PreLoginNoticeConfigurator.tsx, store.ts, and index.ts.
Would your team be able to look into these?

Sure thing @ChristianMurphy . Thanks for this, I can't believe the build had this issue - but I'm so thankfully we found it sooner rather than later.

I noticed that loadMissingScripts in LegacyContent.tsx is broken.

Thanks @SammyIsConfused and @PenghaiZhang, looks good :+1:

Hi @ChristianMurphy , tsc seems not working properly. npm run check exited with errors.

I think locally we have the typings installed when we run the check.
The CI check step appears to not have installed typings yet.
Working on a fix now.

TS type checks are passing now.
There is a selenium test which is causing some issues, 5 restarts and it is still failing.

TS type checks are passing now.
There is a selenium test which is causing some issues, 5 restarts and it is still failing.

I will have a look

I think we can merge this PR now because the last two commits only change the Travis config and one selenium-test which is passed already on Codebuild.

Go for it! :+1:


Float IDs

Hello!
Recently I've collected some tweets using twarc2 and, after the end of the retrieval,  I converted the output into a '.csv' using twarc-csv.
However, some columns that I need to use store IDs as floats, as shown in the figure. When I try to convert it to integers, sometimes it yields a tweet ID that isn't correlated to the original post ( probably a rounding imprecision) .  Is there a specific/correct way to convert these IDs to integers or the information was lost during the process of conversion?
Thanks! :)

That is exponential notation. What are you using to display the table?

That is exponential a.k.a. scientific notation, sometimes used for large integers. What are you using to display the table? Can it be configured to display the integer? I suspect if you look at that row in your CSV it is an integer?

Hello, @edsu! :)
Thanks for answering.
I've opened it in Python, using Pandas lib. Although it converted the entries of some columns that contain large IDs to integers, like the 'id' or 'conversation_id', others weren't converted and remained with the scientific notation, being typed as floats, as I stated above.
For some reason, when I opened earlier and was converting it to int, it was truncated the number, but now it worked. Apparently, as you said, it is just a way to displaying it.
Thanks nonetheless! :)


⚠ Bofrost.be has degraded performance

In 54f69d2, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1235 ms

Resolved: Bofrost.be performance has improved in c59556d.


US991066: EVE-16227: Downstream update

https://internal.almoctane.com/ui/entity-navigation?p=131002/6001&entityType=work_item&id=991066

A developer build has not yet been created for this branch. Click here to go ahead and create the build...

CI Build Link:
https://sou-jenkins2.swinfra.net/job/CAFapi/job/CAFapi~util-flyway-installer~991066~CI


fix dwtn/idwtn with axes != None and complex data

This fixes a bug with dwtn and idwtn axes support present in v0.4.0 and current master.  If the data was complex, the axes argument was not getting passed along properly!
I updated two tests to use complex data.  These fail on current master and pass with this PR.

Current coverage is 86.34% (diff: 100%)

Merging #205 into master will decrease coverage by <.01%

@@             master       #205   diff @@
==========================================
  Files            20         20
  Lines          2726       2725     -1
  Methods           0          0
  Messages          0          0
  Branches        250        249     -1
==========================================
- Hits           2354       2353     -1
+ Misses          325        324     -1
- Partials         47         48     +1

Powered by Codecov. Last update 65ef1e1...caf3087

Merged, thanks @grlee77


Does pcluster stop terminates all jobs?

We're planning to use https://github.com/aws/aws-parallelcluster/wiki/MultiUser-Support however the guide shows pcluster stop,update,start steps after adding each user.
What are the implications of https://docs.aws.amazon.com/parallelcluster/latest/ug/pcluster.stop.html ? will it terminate all running jobs or kill all compute nodes?

Before getting to the implications of pcluster stop, I believe the purpose of stopping, updating, and restarting the cluster is only necessary if the cluster was created without a pre- or post-install script that adds the desired users. In this case, updating the cluster ensures that compute nodes run the desired script when they are initialized. It would be possible to update the users added by the script when a compute node comes up by having the script read the user information from an external source (like S3) or updating the script in-place. A notable downside of this approach is that newly added users are not added to existing compute nodes, which have already run the post-install script during the bootstrapping process.
As for the implications of pcluster stop: it will terminate all compute nodes. Depending on which scheduler is used and how it's configured I would expect this to either terminate running jobs or suspend them until new compute nodes are available.

Thanks, yes, post-install script are not "dynamic" enough for this use case. I suppose one must consider incorporating another technology like AWS SSM or Ansible or Saltstack or Chef. Is https://github.com/aws/aws-parallelcluster-cookbook something that could add this feature or what's the purpose of that project?

The cookbook contains the chef cookbook used to provision a cluster's instances, as well as the scripts and packer configuration files used to build AMIs.


Rename FileUtils to SystemUtils

To maintain all system utilities in SystemUtils, please rename util/FileUtils to util/SystemUtils.

@workstudy-zero LGTM


PythonCall With Jax: Fast inference w/ numpy but does not work with jax.grad  need jax.numpy, which is slow, for gradient

I need Jax for something that Zygote cannot do well (meta-learning) and someone recommended PythonCall as a solution to some issues I was having with PyCall.
So far, PythonCall has been great. Things work and it is generally quite quick.
There is one pain point: jax.grad does not work with numpy.array

Apologies, seems like a draft was posted by mistake.


Is it possible to host application in subfolders?

I tried to deploy the app into a subfolder and the routing was failing. I tried to add some kind of baseHref to the routes but I got stacked when I realized that the function Generated.Route.toPath is sent as argument to Application.create.
I wonder if this issue can be solved outside the library or if it requires internal modifications.
This is a similar question in discourse: https://discourse.elm-lang.org/t/elm-spa-a-tool-for-building-single-page-apps/4597/16?u=lucamug

Hey @lucamug
I haven't added any support for that within the API, but would this work?
import Generated.Route as Route

-- …
main =
    Application.create
        { routing =
            { routes = Parser.s "base-href" </> Parser.oneOf Route.routes
            , toPath = String.append "/base-href" << Route.toPath
            , …
            }
        , …
        }

I will try this, thank you!

It works!


isEmpty => nonEmpty

I wrote isEmpty as nonEmpty.  Fixed a test while I was in there.

thank you!

No problem!

Anything else you need me to do before you merge it in?


Confirm to Paketo RFC00038: Generate SBOM on filesystem

To implement Paketo RFC0038, this buildpack will need to store SBOM information on the filesystem. The RFC outlines what these files are and what they should contain.
The syft tool states that it supports composer so we should be able to use packit/v2/sbom.Generate to generate an SBOM for an application that manages its dependencies with composer.
See also https://github.com/paketo-buildpacks/php/issues/517.
See the nodejs buildpack integration tests for an example on how to test this.

Note that this is not a part of the PHP rewrite work in https://github.com/paketo-buildpacks/php/issues/485


⚠ Bofrost.at has degraded performance

In ede3bc4, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1407 ms

Resolved: Bofrost.at performance has improved in aacaa84.


Update System.Diagnostics.DiagnosticSource to version <IP_ADDRESS>?

Is your feature request related to a problem? Please describe.
Recently we have updated our projects libraries. In those libraries we had System.Diagnostics.DiagnosticSource. We updated that to <IP_ADDRESS>.
After that, we have an error when we try to run a Hangfire job that indexes our data.
We tried to remove the System.Diagnostics.DiagnosticSource package altogether from the project(we are not using the library anywhere else) and leave the dependency from elastic search, we still have the problem.
In Elasticsearch.Net Nuget the dependency for System.Diagnostics.DiagnosticSource is  >= <IP_ADDRESS> but it seams is restricted to <IP_ADDRESS>.
We are using Elasticsearch.Net.7.17.4.
Bellow is the error message.

Our security policy will not allowed us the have a release with packages that are not up to date.
Describe the solution you'd like
Update Elasticsearch.Net. dependency to System.Diagnostics.DiagnosticSource to version <IP_ADDRESS>

Hi, @ucu2009.
As a general practice we don't update dependencies in this way as it forces all consumers to use a newer version which may conflict with other packages they use. We depend on the version required providing the features we need and upgrade only for new features or security vulnerabilities. As you noticed it's a greater or equal dependency that we have so you should be able to force the use of a newer version to 6.0.0.
Are you on .NET (core) or legacy .NET Framework? The latter from my experience exhibits more issues with package resolution. Are any other packages you depend on perhaps pinning to 5.0.0?
I was able to get this working on .NET 6.0 with the following in my project file:
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net6.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="NEST" Version="7.17.4" />
    <PackageReference Include="System.Diagnostics.DiagnosticSource" Version="6.0.0" />
  </ItemGroup>

</Project>

To assist further, can you provide a simplified reproduction I can look at?

Hi, @ucu2009. Are you able to provide further information to move this forward?

@Hi @stevejgordon,
After a long try, for us at least. the problem was solved. We had to change the way we load the dependencies on the project.
Thanks.

Thanks for feeding back, @ucu2009. Glad you were able to resolve it.


Page not switched when travelling in history

Using Google Chrome 57.0, visit a page with pagination, http://example.com/page:

Visit http://example.com/page#paginate-1 (or http://example.com/page)
Click the page button to visit page 2

Page 2 is displayed
URL becomes http://example.com/page#paginate-2

Use Ctrl + Left-Arrow

No observable change in the page display, still stuck at Page 2
URL becomes http://example.com/page#paginate-1 (or http://example.com/page)

Use Ctrl + Right-Arrow

No observable change in the page display compared to that in 3., though correctly displays Page 2
URL becomes http://example.com/page#paginate-2

The pagination is initialized with this statement:
        $('#mainreleaselist').paginate({
            perPage: 12,
            scope: $('div'),
        });

See https://poggit.pmmp.io/pi for example.

I can't reproduce this, but it might be related to https://github.com/neighbordog/jquery-paginate/blob/master/src/jquery.paginate.js#L80 which concatenates curpage and "1" instead of incrementing curpage.


Allow TAB-ing through form fields in Entity Editor

Currently not possible. We need a way to make RichTextInput react to TAB in a proper way.

We generally have limited editing capabilites in the modal dialog, since it's spawned from within a surface.
@oliver---- should we somehow disable parent surfaces while we are in a modal?

I think that is a different question to this issue.
It should be possible to receive key events on the Modal level and stop propagation. As long a cursor is inside a input field this should be working already. Otherwise it might be necessary to have a hidden input so that key events get received.

When cursor is in an input field currently we don't receive events like cmd+a for select all, or tab, as these are handled by the surface.
Another way to solve this would be injecting the modal outside of the surface. This would require some kind of app state switch to bring up the dialog and pass in props on app level. Not sure what's the best way to go.

When cursor is in an input field currently we don't receive events like cmd+a for select all, or tab, as these are handled by the surface.

Isn't that just because you do not have a keydown listener on the modal itselft.
If this bubbles through to the surface, the surface will handle them.
I suppose it wouldn't if you stopped propagation at modal level.

Will try.

Fixed it with the approach you described.


Reading the OWNERS file locally instead of getting it on Github.

As the code is running in the KMM context, it has a local copy of its files, therefore, there is no need to query Github in order to get this information.
Signed-off-by: Yoni Bettan<EMAIL_ADDRESS>
Fixes https://github.com/qbarrand/gitstream/issues/28

Codecov Report

Merging #48 (595fd5f) into main (bd5cdfb) will increase coverage by 0.72%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #48      +/-   ##
==========================================
+ Coverage   47.68%   48.40%   +0.72%
==========================================
  Files          17       18       +1
  Lines         843      849       +6
==========================================
+ Hits          402      411       +9
+ Misses        401      399       -2
+ Partials       40       39       -1

Impacted Files
Coverage Δ

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

internal/gitstream/assign.go
66.66% <100.00%> (+1.83%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@qbarrand PTAL


[FEATURE] Change the background color of the radar ticks

Expected Behavior
There should be a backgroundColor property for the scale/ticks options. Currently the background of the radar ticks is always write, which looks ugly when the radar chart is drawn on a dark background.
Current Behavior
I can change the font color with fontColor only but not the background.
Possible Solution
Implement a backgroundColor property that can be used like:
options: {
	scale: { ticks: {
		fontColor: "#ff0000",
		backgroundColor: "#000000",
	} }
}

Context
I am trying to display a radar grid on a page with a dark background. For example, the scale ticks for a line chart can have a transparent background.
Thank you!
Environment

Chart.js version: 2.4.0
Browser name and version: Firefox 51.0.1 x64
Link to your project: private

@jsmad did you try the backdropColor property?
options : {
  scale: {
    ticks: {
      backdropColor: 'black'; // should render black behind the text
    }
  }
}

Ah sorry about that, I completely missed that. I was confused a bit, because the ticks for other graphs didn't need this.
Apparently there is also the option: showLabelBackdrop

Yeah, it only applies to this chart type because usually the axes are outside the drawing area

Is there a borderRadius option for tick backdrops? I have below to create a square but ideally would like to achieve what the 2nd image displays.


RDKDEV-286 : Added LinearPlaybackControl plugin for streamfs_fcc project

Reason for change: Add LinearPlaybackControl plugin for controlling streamfs_fcc
Test Procedure: Tested on an RPi 3b+ in Nuuday LAB
Risks: None
Signed-off-by: Michael Storgaard<EMAIL_ADDRESS>

Internal JIRA for tracking https://ccp.sys.comcast.net/browse/RDKCOM-3055


RFC : Path to building the final documentation structure

It is agreed upon that the documentation will be deployed in readthedocs. An example pointed at by the LINCC team is sorcha. The first point to notice is that the github README is minimalistic, defining what sorcha is and who is contributing. A link to the readthedocs documentation is provided.
If agreed, I propose that we go this route.
Next, we may want to flesh out the TOC, so that afterwards we can create one branch per page. Inspired by it, a first stab at it can be:
  page index : definition, citation, support, acknowledgements,  troubleshooting, release
   installation #including uninstall
   overview
   Keywords <keywords>
   gettingstarted # running the legacy way
   using the python interface
   notebooks
   contributors # perhaps using https://docs.github.com/en/repositories/viewing-activity-and-data-for-your-repository/viewing-a-projects-contributors for github contributors
   C API Reference <doxygen_output/c_lib/library_root>
   Python API Reference <autoapi/index>

Is this a workable start?

The first page needs some work to lead different users to the correct starting point. I broadly identify three typical users:

Completely new to LePHARE. We want to direct these users to python doucmentation and the example notebooks.
Previous users of LePHARE. We want to direct these to documentation on the command line executables and explain they are present after pip install lephare.
Developers. We want to direct them to a local installation instructions.

I think we do need to introduce the lephare_data repository quite early. I was using the COSMOS example with the automatic downloading as an example. We should maybe mention that the full repository can also be git cloned to ensure everything is present.
The original documentation might be more for presenting the way the algorithms actually work and describing the physics. Quite a bit of the original documentation will need to be moved around a bit. But perhaps the bulk could come under a heading such as Algorithm Details.
Perhaps the documentation is also a place for the contributions. At present I already have the original front page from the docuementation but perhaps we should have a whole page with contributions and key citations.

From the whiteboard:
Overview JCT

general structure of the code, philosophy
Nice overview figure of the structure
Install the code RS
pip install lephare and test it with simple notebook
install external and environement
install for developers
Run with notebooks: point to notebooks, explannation, what keys are doing
Run with notebooks: point to notebook, esplanation, what key are doing
Run with command line (legacy)
OI:
Keyword: input and output
Detailed documentation

For developerss JCT
unit testing
C API
Py API
contribution

Olivier and I just met. We iterated on this and came up with:

Overview
Getting Started

pip install
Basic usage notebook
Basic physical parameter example

Advanced usage using Python interface

All the notebooks
How to add new attenuation curve

Command line interface

Cloning lephare-data
Example with readme_full

Keywords
Detailed documentation
Developer install
Python API
C API

I believe this can be closed @raphaelshirley

closing as all this is now captured in the doc


quad.colors.fill wrong RGB channel order

Version

Phaser Version: 3.15.1

Operating system: Windows10

Browser: Chrome

Description
I try to color my quad. I was expecting RGB order. but result I am seeing is different. So, I changed some values to test and I found out quad.color.fill is using BGR order. Is it a bug?

Example Test Code

Additional Information

Thanks for opening this issue. As much as we'd love to help you, we need a fully working code sample to do so. Please provide one and then we'll re-open this issue and look at resolving it for you if possible.


Implement build detail view

User story https://github.com/fastlane/ci/blob/master/docs/use_cases/access_build_details.md
Fixes https://github.com/fastlane/ci/issues/450

Do you happen to have a screen shot?

Alright, updated other parts of the code also 👍

Ready for review

Right now we assume the .first for each trigger.

Not sure if it's worth spending extra time to also filter the extra metadata of a trigger, like the branch


Add support for spell checking

Spell checking does not work for .tex files in Idea 15.0.5 with idea-latex plugin. According to this post [http://stackoverflow.com/questions/12445117/intellij-idea-how-to-enable-spellchecking-for-custom-language-plugins] this feature must be explicitly supported by the plugin.

Yea, I would really appreciate this issue getting resolved.

Please!

Does this mean that there is now spell checking?

@CJ-Wright Spell checking has been implemented and will be released with the v0.3 version.
CC: @pajurtom @mitar

0.3 version has not been released yet, no?


Typo in README

"numberals" should be "numerals".

https://github.com/advancedresearch/algexeno_cistercian/pull/3


CustomerError: Unable to clone repository due to user error code: 128

Hi, I'm using Amazon Amplify trying to host a simple web app from a AWS CodeCommit repository, I'm following this tutorial step by step but when I deploy it, it pass the provission stage but fails at the build stage, where say it was unable to access the repository.
2021-09-12T16:36:51.072Z [INFO]: # Cloning repository: https://git-codecommit.us-east-1.amazonaws.com/v1/repos/wilderydes-site
2021-09-12T16:36:51.567Z [INFO]: Cloning into 'wilderydes-site'...
2021-09-12T16:36:57.960Z [INFO]: fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/wilderydes-site/': The requested URL returned error: 403
2021-09-12T16:36:57.963Z [ERROR]: !!! CustomerError: Unable to clone repository due to user error code: 128

I also saw other comments on the same issue, where suggest to add a Service role to have permission to accept codecommit. But here it shows I already added that Service role.

My region is: us-east-1
My App ARN is: arn:aws:amplify:us-east-1:116464983000:apps/d3hydnsxqfbect
Please, I would appreciate any guidance to complete that step in the tutorial. Thanks

Did you check the permissions of that role and it does have access to code commit?
Have you tried it again with another role with full Admin permissions?

Closing due to no response. If you are still having this issue, feel free to re-open. Thanks!


review italian translations

Hello,
I reviewed the translations for the italian language.
cheers

Excellent thank you!


Create आचार संहिता.md

Checklist

[x] I ran npm test locally and it passed without errors.

[x] I only edited the _data/pixels.json file.

[x] I entered the username in the pixels.json that I'm also using to create this pull request.
[x] I acknowledge that all my contributions will be made under the project's license.

I don't know what you are adding here. It looks like a translated documentation, if so, I think you need to create folder in docs folder with the name of the language. You can see the example in docs/es folder.

ok got it
ill create a folder then do

hello
can i update it now


Material3 app compiled with dart2wasm doesn't render text in search box

When building the material 3 app (from https://github.com/kevmoo/flutter_samples_fork/tree/dual_deploy) with wasm ((flutter build web --wasm) the text in the color search box doesn't seem to render:

/cc @eyebrowsoffire

Hi @mkustermann
I checked this issue on Flutter master channel with dual_deploy/material_3_demo (built with wasm) but I see the search view still can be rendered as following demo video:
https://github.com/flutter/flutter/assets/104349824/869ce2aa-41d2-4994-8cde-6e4c906eb510

flutter doctor -v (master)
[!] Flutter (Channel master, 3.20.0-10.0.pre.49, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.20.0-10.0.pre.49 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f2eea969f7 (4 hours ago), 2024-02-19 17:41:24 -0500
    • Engine revision e96c18b6c5
    • Dart version 3.4.0 (build 3.4.0-155.0.dev)
    • DevTools version 2.33.0-dev.6
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio Hedgehog.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.86.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.82.0

[✓] Connected device (4 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D                         • android-arm64  • Android 11 (API 30)
    • iPhone (mobile)  • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.8 19H370
    • macOS (desktop)  • macos                                    • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome                                   • web-javascript • Google Chrome 121.0.6167.184

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Which Flutter version are you seeing this issue? Could you share the output of flutter doctor -v along with a demo video of the issue?

I just deployed at https://flutterweb-wasm.web.app/ – with all the right headers and am seeing the issue

I also can reproduce the issue with those headers.
https://github.com/flutter/flutter/assets/104349824/3b2bf75d-1325-4207-bc70-ed8de7c9fccf

flutter doctor -v (master)
[!] Flutter (Channel master, 3.20.0-10.0.pre.79, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.20.0-10.0.pre.79 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 35bdc94dda (43 minutes ago), 2024-02-20 21:29:23 -0500
    • Engine revision 3557277c57
    • Dart version 3.4.0 (build 3.4.0-157.0.dev)
    • DevTools version 2.33.0-dev.6
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio Hedgehog.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.86.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.82.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 121.0.6167.184

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.


eggs please

Just eggs, thanks!

Eggs are already included in the mod. Pre-2.0.0 there's an option exclusively for eggs and post-2.0.0 eggs and snowballs are grouped underneath the "throwables" category


radio button misalignment for narrow widths

This is the radio being displayed properly

When I shrink the width I get this layout

Thanks for reporting this. I will be looking into this in the future, but right now the main focus is on getting the first Gluon alpha up and running.
This is definitely a problem that I want to get resolved as soon as I can, so it's on the top of the list of fixes that will be released for Fermion. I am marking as help wanted and good first issue in case anyone wants to take care of this for me. Please submit your PRs against the fermion.v3 branch, not the master branch. Thanks!

Update
I tried to reproduce your problem and created this Codepen.

Firefox displays this as intended, however Chrome doesn't particularly like it.

Update
I'm pretty much clueless about this and I feel like this is something that requires an immediate fix. I opened a SO question, which will hopefully help enlighten us a bit about what is really going on.


Increase initial shares

Currently, the initial shares given to the first LP of a pool is 100 * 10^6.  I wonder if this might not have enough precision.  Especially, because usually the initial creator of a pool might be a massive whale (such as the project team) to kickstart the pool and add an extremely high amount of liquidity.
Balancer uses 100 * 10^18 as the initial shares amount.
https://github.com/balancer-labs/balancer-core/blob/master/contracts/BConst.sol#L33
Maybe we should use something similar?

I personally don’t think it’s a huge issue, but changing the precision of the share is a fairly easy change. Feel free to change it to an amount that you feel is safe. Do you think issuing 1000^(10^18) could be better instead?


PiZero: Recognise more buttons

I use a Mega Drive 8-button USB pad. It's a modern enhanced version of the pad.
https://thepihut.com/products/retro-bit-official-sega-mega-drive-8-button-usb-arcade-pad-blue
It works, but only two buttons are recognised, and they are awkward buttons.
It would be good if other buttons could be recognised

D-pad = D-pad
Start = Start
Mode = Start
Y = Fire
B = Jump

perhaps every additional button could be also act as fire?

I found the instructions! https://github.com/suzukiplan/vgszero?tab=readme-ov-file#configsys


iOS DatePicker not used if disabled dates are set

Expected Behavior
When using this library on an iOS device, a native DatePicker control should be used instead of a pop-up calendar.

Current Behavior
If disabled dates are set, the DatePicker is not used, but instead a full calendar is shown.

Possible Solution
Element should use a native DatePicker UI. If one of the disabled dates is chosen, it should not populate (similar to behavior for dates that are outside of the minDate/maxDate range.
Steps to Reproduce (for bugs)

Implement a flatpickr like so:

flatpickr('.flatpickr', {
    minDate: minDate,
    maxDate: maxDate,
    enableTime: true,
    altInput: true,
    altFormat: "F j, Y h:i K"
});

On iOS, you'll see the native DatePicker interface (see above).
2. Add disabled dates:
flatpickr('.flatpickr', {
    minDate: minDate,
    maxDate: maxDate,
    enableTime: true,
    // If we include "disabled dates", mobile compatability breaks.
    disable: [
      parseInt(thisYear) + "-12-24",
      parseInt(thisYear) + "-12-25",
      parseInt(thisYear) + "-12-31",
      parseInt(thisYear) + "-07-04",
    ],
    altInput: true,
    altFormat: "F j, Y h:i K"
});

DatePicker is now replaced with full calendar UI.
Context
Because it is difficult to dismiss the full calendar UI on mobile, this is a usability concern for mobile compatability.
Your Environment

Version used: 2.3.7
Browser Name and version: Chrome 56.0.2924.79 and Safari.
Operating System and version (desktop or mobile): iOS 10.2
Link to your project: N/A

Hello,
Native calendars do not support disabling specific dates or disabling dates by functions. Its not possible to have both as of now until Android and iOS support this functionality.
Thus I think its better UX to show users that a date is disabled on non-native UI, than to let them pick and then clear their choice, which will definitely confuse users unless you notify them explicitly.
If you want to override this default behavior, look into event API. You could hook into onReady and set the input type to datetime-local etc manually.
If you'd like to improve the non-native calendar for mobile, I'm very open to suggestions :+1

@chmln, is it possible to achieve something like this with the event API? Assume I want to have disabled dates:

On desktop, show flatpickr with normal disabled dates
On mobile, show native, but if a disabled date is selected, trigger an event (similar to onChange but only on mobile)


Groups: when users are invited to the group then they should receive normal notification via Notifications module

Now only email is sent without using Notifications module.

Join procedure might be improved by the same way
https://una.io/page/view-discussion?id=2795

When the users close email notifications -and this is what they do usually- they are having no invitation from groups. This is impacting group module functionality.
İf possible it would be very good for production sites to put this fix to 9.1 update.


 Spec must be valid JSON or YAML.
at Object.Types.parse (/home/ivang/dev/internal-scripts/node_modules/api-spec-converter/lib/types/types.js:36:13)
at Request._callback (/home/ivang/dev/internal-scripts/node_modules/api-spec-converter/lib/types/swagger_1.js:98:21)
at Request.self.callback (/home/ivang/dev/internal-scripts/node_modules/request/request.js:368:22)
at Request.EventEmitter.emit (events.js:98:17)
at Request. (/home/ivang/dev/internal-scripts/node_modules/request/request.js:1219:14)
at Request.EventEmitter.emit (events.js:117:20)
at IncomingMessage. (/home/ivang/dev/internal-scripts/node_modules/request/request.js:1167:12)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)

Also take look on https://lodash.com/
It really change change JS into "normal" language :)
If you familiar with functional programming you will feel yourself at home :)


Importing an existing EKS cluster to rancher does not work

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):
Create cluster ----> Import

Please enter the information requested from the template, especially what Rancher version and what EKS version you are using.
Also we have a troubleshooting section which can help https://rancher.com/docs/rancher/v2.x/en/troubleshooting/imported-clusters/


Add columnGap to viz inputs and marginRight to y-axis agg input title

Addresses first part of this issue.

@jernestmyers Looks like this issue is resolved on main now?

I'll approve though just in case there's an improvement I'm missing

The issue never did surface while developing on a local dev site. There must be some sylesheet that interfered with my original styling, so now you've reminded me that I should try to build this on a dev site and see if the styling is what I'm expecting!


DAF-4115 - Implement iOS Control center

Problem
From the 2nd video played, the Control center overwrites info of current video with played videos.
Due to the videos which have the same Datasource Type will alway have the same textureId, so the old setupUpdateListener won't be dispose in stopOtherUpdateListener and the Control center keep showing the old infos while playing new video.
Solution

Stop all old setupUpdateListener before setup the new one.
Dispose old NotificationInfo when setup a new DataSource to refresh the Control center and clear thumbnail in _artworkImageDict

Addition done

Remove the caller to the native side seekTo command and only keep the eventSink("seek")  command to sync logic with other Control center's command and prevent the seek command got call two time.
Keep old info and disable seek in Control center while the pip plan limited video is playing. (flutter side implement)

Ticket
https://dw-ml-nfc.atlassian.net/browse/DAF-4115
Spec
JP: https://docs.google.com/spreadsheets/d/1iXu4Vz9wYpT6fHE7oK_W4vyHP_-BGTvk7HTcETFJ_0I/edit#gid=260929825
VN: https://docs.google.com/spreadsheets/d/1XLwXVbNo_r21YE8Ir4mDQcyAa9CbKDWA/edit#gid=814456320
Screenshot

Before:

https://github.com/dwango-nfc/betterplayer/assets/100773699/5f2f4f78-c2fe-4191-b373-5b7e6d250b5e

After:

https://github.com/dwango-nfc/betterplayer/assets/100773699/874d0545-0807-403e-a098-c798b66d8887

@noboru-i @HiroshiOshiro
Could you please review this PR 🙇.


correlation

I noticed that when generating the scenario by multi-assets, you consider the correlations. But, seems that the correlation matrix is generated by mx.IdentityMatrix(), and this one seems not to be implemented? Right?
BTW, if you considered the correlation matrix, what method will be used to calibrate the corr matrix?
Thanks!

Hi jojogh,
a sample correlation matrix input is considered after make mx.IdentityMatrix().
corrMatrix = mx.IdentityMatrix(2)
corrMatrix[1][0] = 0.5
corrMatrix[0][1] = 0.5
this setting is required to calibrate first as you comment.
i write a script for calibrating by historical data. you can "correlation_test" method  in "run_test_etc.py".
i think other calibration methods like EWMA or factor model should be implemented.
thank you for comment.

many thanks


Paired image to image translation - available now?

Hi everyone,
Is it possible now to do paired image to image translation in Turi, like pix2pix for example?

@alelordelo - this is not currently possible with Turi Create. We're already tracking this issue in #819.


Patching classes recursively seems not performant

Hi, I stumbled on your code that if I understand it correctly live patches the modules loaded, reloading each time the functions, and diffing the classes. You do this recursively for class members using the i field in the override function, decrementing it:
def override(a: object, b: object, i=64):

My suggestion would be to drop the current i variable, add an extra attribute such as __hotswap_pass to each object/class. You'll have a global hotswap_pass that you'll keep incrementing its value, with each reload. If the __hotswap_pass of an object is different than the hotswap_pass only then, you set the __hotswap_pass of the object to the global one, then you merge the properties. This will allow you to scan much faster the graph, and you don't have cyclic loops that you need to break with a hard cut like you do now.

Do you want me to do this PR for you?

I've seen now that you only update classes/functions, not regular variables. So it's not really an issue.


Update README.md

CC: @aimeeu

Pull Request Test Coverage Report for Build #39

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.813%

Totals

Change from base Build #38:
0.0%

Covered Lines:
243

Relevant Lines:
251

💛  - Coveralls


Update Configure-AD-FS-Browser-WIA.md

Command lines are incorrect. This has been a support case generator.

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

(ref. #4867, #4394, #3816 )

(possibly related? issue ticket #4363)

Yes, it is related #4363

Yes, it’s the same issue.
--- Rodrigo Travessa ---
From: Trond B. Krokli<EMAIL_ADDRESS>Sent: Wednesday, December 9, 2020 17:09
To: MicrosoftDocs/windowsserverdocs<EMAIL_ADDRESS>Cc: Rodrigo Travessa<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/windowsserverdocs] Update Configure-AD-FS-Browser-WIA.md (#5098)
(possibly related? issue ticket #4363https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindowsserverdocs%2Fissues%2F4363&data=04|01|Rodrigo.Travessa%40microsoft.com|597e548bfe9f49fb739808d89c650eee|72f988bf86f141af91ab2d7cd011db47|1|0|637431305143217178|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=CeZaQg6rU0U4kOSWHvSDYhEUHayNeIw9IPU5zWqrgBI%3D&reserved=0)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindowsserverdocs%2Fpull%2F5098%23issuecomment-741911635&data=04|01|Rodrigo.Travessa%40microsoft.com|597e548bfe9f49fb739808d89c650eee|72f988bf86f141af91ab2d7cd011db47|1|0|637431305143227180|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=pVr%2F3rwHGW6T8brGfI3vFvDzwzbh6odtny3X1qIDx7k%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPSCJTLFUWJPRXAB2PQUI2LST6VJBANCNFSM4UTWWGTA&data=04|01|Rodrigo.Travessa%40microsoft.com|597e548bfe9f49fb739808d89c650eee|72f988bf86f141af91ab2d7cd011db47|1|0|637431305143227180|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=yhcX5dJ7YuJm3XFY00bvhhdyrCtU9J5hyeuSyoI3818%3D&reserved=0.

#sign-off

Thanks. Happy to see your updates.

#sign-off


Provide cross-compile tools through omebrew

https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Custom-GCC-and-cross-compilers.md
It would be super rad if we could provide a formula rather than just the install script.

Considering how painful it is trying to get an environment set up for this, I agree entirely. I've struggled for hours on each machine I've tried to set up trying to get everything installed and configured.

@chrisccerami I don't have an OSX machine, so I can't do this. Have you ever done it? I wonder how hard it is.

I haven't, but I do have an OSX machine. I can look into it at some point if no one else takes care of it first.

I've installed on both OS X and Linux and didn't find it too troublesome. The instructions in the book worked well for me, only needing minor modification to the makefile when on OS X for ld. Is there anything in particular you have had issues with @chrisccerami?
I might look into setting up a formula; I've never created one before but might be a fun experience.

Possibly relevant: https://www.reddit.com/r/rust/comments/5741ue/crosscompilation_on_macos_for_linux/d8pakjd?context=3&st=iu7eo0tc&sh=ac5fad35

I've written brew formulae for installing the x86_64-pc-elf toolchains in hawkw/homebrew-x86_64-pc-elf – you may find them useful.
Do note that I've only just finished putting these together, so there may be some bugs that I've yet to work out.

Okay, I've tested my formulae on my machine, and everything seems to work correctly.
I've also opened a PR https://github.com/Homebrew/homebrew-core/pull/6804 to add a formula for objconv to homebrew/core. Hopefully it'll be approved soon.

My PR for objconv was rejected from homebrew/core because the author of objconv doesn't provide versioned links for the source code; which is completely reasonable. I'm going to see about setting up a versioned mirror for objconv, but for now, I have a tap https://github.com/hawkw/homebrew-objconv/ that should work fine.
@steveklabnik, since you don't use Homebrew, would you like me to submit a PR for this issue?

Yes please!

Felt like I ought to mention as a brief update that I'm still working on this; I've hit some problems getting Homebrew to build grub but it should hopefully be done soon.


NO FINAL.pt in Stage2?

Hello, your work is meaningful and pioneering! Upon usage, I noticed that in the weights for Stage2, there is no FINAL.pt, only a single 'latest' file. Is this an issue?

oops....Have fixed. Thanks a lot!

I still see the latest file and no FINAL.pt in the Google Drive link for Stage2 checkpoints. Please confirm.

Hi~Thanks! Have synced for Google Drive. Please check again.

Thanks!


Vendor<EMAIL_ADDRESS>

How to categorize this PR?

/kind enhancement
What this PR does / why we need it:
The motivation for this PR is that it adopts a cherry-pick of https://github.com/gardener/gardener/pull/8880. It uses the registery-cache extension deployed in the prow cluster.
Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
N/A
Release note:

NONE

/test all

/approve


css and js not loading

@sahandghavidel this is what it looks like now, i have obviously added my own colors but as for the time it won't change. Please help.

@Luigi14-web Assign this issue to me i will fix within no Time!!