Getting transformation values before they are applied

Is your feature request related to a problem? Please describe.
In version 2.1.3 handleRef was called after applying the transformations to contentComponent styles but now in 3.0.0 handleCallback is called before applyTransformation and this causes that the transformation value I get is not the current one as it happened in the previous version
Describe the solution you'd like
swap handleCallback and applyTransformation position in setTransformState
Describe alternatives you've considered
create a new callback after applyTransformation
Additional context

Thank you for this great library ❤

@juliBotmaker thanks for the report!

@juliBotmaker deploying changes 🙌🏻


Is there any way to specify the number of labels and the number of members under each label

Hi!
I have been giving the python code on https://github.com/nlpub/chinese-whispers-python a test. I was just wondering if there is any way to specify the total number of labels, and the number of members under each label, or roughly so.  Say, I have 1000 members, and I want to cluster them into 200 groups, allowing 1 to 10 member in each group, 1 meaning that member is a group by himself.
Thanks,
Wei

Hi,
the original version of the Chinese Whispers algorithm does not put any constraints on the number of clusters or numbers of elements in cluster. Some algorithms, like k spanning tree or spectral clustering, require specifying the number of clusters.
It is possible, however, to satisfy both your requirements by modifying our code. In particular, during initialization you can assign not |V| labels, but N labels, and on label scoring you can penalize the label by the number of elements with it.
Hope it helps.

That sounds interesting and promising, but can you pin-point the relevant parts of the code - I cannot really find them.
TIA!

https://github.com/nlpub/chinese-whispers-python/blob/master/chinese_whispers/chinese_whispers.py#L60-L61
https://github.com/nlpub/chinese-whispers-python/blob/master/chinese_whispers/chinese_whispers.py#L85-L98


Demonoid failed with error 0

Error message: The requested resource cannot be found! Please make sure your input parameters are correct! cUrl error: Could not resolve host: www.demonoid.pw (6) PHP error:
Query string: action=display&bridge=Demonoid&catOnly=5&format=Html
Version: git.master.32d4da8

Thanks for reporting this issue. Can you confirm if the site is still available or not?
When I try to reach https://demonoid.pw/ in my browser it doesn't load either (same error). The non-secure http://demonoid.pw/ is junk (forwards to random, possibly dangerous Ads sites - don't open it!).

Looks like the site is broken for good right now.
https://www.reddit.com/r/Demonoid/
Nothing we can do about it.
If they don't get it fixed by the next release we should probably remove the bridge until they are back again (which might never happen).

The site is down for good as mentioned in the Reddit above. Please note that they are currently rebuilding the site, but this time you have to register in order to get access (and they strongly suggest using VPN). This is not supported by RSS-Bridge and thus the bridge was removed via 6b9394dc78a4850d051d4898d5a04301307f5ea9


Feat/youtube

Add Youtube link as requested in #4
Fixes #4

LGTM, only a nit, I would remove the empty ones: ~youtube: ""~

Sorry, my fault. Intended to add yt links for all communities then realized it was too much work xD Removed all empty ones.


10 minutes loading a 65MB json file

hi,
I used speedscope to display unity frame's stack. In most cases, everything works fine. But when the json file is large enough, it can take a very long time before the json file finally loaded.

the sample json file: https://1drv.ms/u/s!AoIp7o1UyX8uonvPjDXmlPsGEume?e=VzDaMv
Is it possilbe to speed up the file loading?
Thanks a lot.

Extremely late following up on this, but I think the problem is that the shared.frames array has 481623 elements, with huge amount of duplication. The point of the shared.frames array is for the entries in it to de-duplicate information that shows up repeatedly in stack traces.
For example, here's a partial slice of the names of the frames entry in the shared.frames property of the given file:
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
  'Canvas.RenderSubBatch(total:0.07ms, calls:157)',

All of these should be a single entry in the frames list. I'm not 100% sure, but I suspect if these were de-duplicated, then the trace would import much faster.
Was this using some standard kind of Unity profile exporter, or was this something custom you wrote?

Thanks for your reply！
This is collected by standard unity profiler, but only specific frames have
this issue.
I guess the duplication is due to logic errors or bugs.
Our project has been shut down last year, so this problem doesn't bother me
any more.
Jamie Wong @.***> 于2023年12月26日周二 12:11写道：

Extremely late following up on this, but I think the problem is that the
shared.frames array has 481623 elements, with huge amount of duplication.
The point of the shared.frames array is for the entries in it to
de-duplicate information that shows up repeatedly in stack traces.
For example, here's a partial slice of the names of the frames entry in
the shared.frames property of the given file:
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
'Canvas.RenderSubBatch(total:0.07ms, calls:157)',
All of these should be a single entry in the frames list. I'm not 100%
sure, but I suspect if these were de-duplicated, then the trace would
import much faster.
Was this using some standard kind of Unity profile exporter, or was this
something custom you wrote?
—
Reply to this email directly, view it on GitHub
https://github.com/jlfwong/speedscope/issues/399#issuecomment-1869239368,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGPFXH3SQCD2WS7IBSSUJDYLJE6TAVCNFSM5ZXSADHKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBWHEZDGOJTGY4A
.
You are receiving this because you authored the thread.Message ID:
@.***>

If anyone else runs into this, please let me know!


AdaptiveSamplingTelemetryProcessor Default options are incorrect.

When installing a fresh install of this on a WebAPI the only excluded type is Event. Exceptions are not excluded by default.

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

ID: 2f4c906d-7abe-eab7-331a-120230344583
Version Independent ID: ab24ade5-5e4c-b430-c3f8-2a00073e9e81
Content: Telemetry sampling in Azure Application Insights
Content Source: articles/azure-monitor/app/sampling.md
Service: application-insights
GitHub Login: @cijothomas
Microsoft Alias: cithomas

@nezoid Thanks for reporting. Will correct the table.
btw, FAQ #1 below is the correct default config.
https://docs.microsoft.com/en-us/azure/azure-monitor/app/sampling#frequently-asked-questions

Looks like the doc was updated to address this request. @nezoic thanks for bringing this to our attention and helping to improve our documentation!

#please-close


Infinite loop in ItemsControl key down

Describe the bug
Move keyboard focus to an item in an ItemsControl.
Hit the End key,
If the last control in the ItemsControl is not focusable the OnKeyDown handler will loop forever.
To Reproduce
Create an ItemsControl containing two or more buttons and disable the last button; e.g. its ICommand CanExecute returns false.
class MyViewModel ...
{
   public ICommand Command { get; set; }
   public string Text { get; set; }
}

<DataTemplate DataType="vm:myViewModel">
    <Button Command="{Binding Command}" Content="{Binding Text}" KeyboardNavigation.IsTabStop="True"/>
</DataTemplate>

<ItemsControl Items="{Binding Items}" KeyboardNavigation.TabNavigation="Continue"/>

Tab to focus the first button and hit the End key.
Expected behavior
The last enabled button in the ItemsControl should be selected.
Screenshots
Desktop (please complete the following information):
OS: Windows 10

Version 0.10.13

I face the same issue but all Buttons in my ItemsControl are enabled.
It seems that the main problem is in the GetNextControl Method in ItemsControl.
Not the Button itself is compared if accessable but ContentPresenter wrapper.
Have no glue how this could be solved :(


Use modified transducer loss in training.

In modified transducer, we limit the maximum number of symbols per frame to 1. The following
figure compares the formula for forward and backward procedures between standard transducer
and modified transducer.

Note: Modified transducer is proposed independently by @danpovey .
We were later informed that the idea already existed in
Recurrent Neural Aligner: An Encoder-Decoder Neural Network Model for
Sequence to Sequence Mapping

[EDITED]:
It requires optimized_transducer >= v1.3
pip install --verbose optimized_transducer>=1.3

Here are the results for this PR so far:

test-clean
test-other
comment

this PR
greedy search
2.69
6.75
--epoch 57 --avg 13

this PR
modified beam search
2.66
6.66
--epoch 57 --avg 13 --beam-size 4

master branch
greedy search
2.69
6.81
--epoch 71, --avg 15

master branch
beam search
2.68
6.72
--epoch 71, --avg 15, --beam-size 4

The training command for this PR is
export CUDA_VISIBLE_DEVICES="0,1,2,3"

./transducer_stateless/train.py \
  --world-size 4 \
  --num-epochs 60 \
  --start-epoch 0 \
  --exp-dir transducer_stateless/exp-full\
  --full-libri 1 \
  --max-duration 300 \
  --lr-factor 5 \
  --bpe-model data/lang_bpe_500/bpe.model

It uses modified transducer loss 25% of the time, i.e., uses --modified-transducer-prob=0.25.
By modified beam search, it means it limits the maximum number of symbols per frame to 1.

Great!
How about the --max-sym-per-frame 1 option in test time, I think it would be nice to have that comparison because the reason for the modified transducer is so that we can use that option to make GPU decoding faster and easier.

Great!
How about the --max-sym-per-frame 1 option in test time, I think it would be nice to have that comparison because the reason for the modified transducer is so that we can use that option to make GPU decoding faster and easier.

The "modified beam search" in this PR uses "max symbol per frame" implicitly.
I need to check the result of greedy search of this PR used "--max-sym-per-frame=1" or not.
Caution: --max-sym-per-frame is used only by "greedy search".
"modified beam search" hardcodes its value to 1 in its implementation (you can see that there is only one loop in the time axis)

Latest results

test-clean
test-other
comment

greedy search (max sym per frame 1)
2.68
6.71
--epoch 61, --avg 18, --max-duration 100

greedy search (max sym per frame 2)
2.69
6.71
--epoch 61, --avg 18, --max-duration 100

greedy search (max sym per frame 3)
2.69
6.71
--epoch 61, --avg 18, --max-duration 100

modified beam search (beam size 4)
2.67
6.64
--epoch 61, --avg 18, --max-duration 100

Pre-trained model and decoding logs
Please see https://huggingface.co/csukuangfj/icefall-asr-librispeech-transducer-stateless-bpe-500-2022-02-07
Colab notebook
Please see https://colab.research.google.com/drive/1CO1bXJ-2khDckZIW8zjOPHGSKLHpTDlp?usp=sharing
I am merging it.


Fix: Multiple inputs named with []

Fixes #77
Replaces #79

@ftes I'm going to close this since we merged #94. I think this is no longer needed, right? If it is, let me know. Happy to reopen it.


PrettyPrinter reports wrong line numbers

I have a file with a copyright header. This leads to the reporting of wrong line numbers in rules like EndOfLineComment
Here is an example where the reporting works as expected:
final class A {
    @Test func b() throws {
        doSomethingInAFunctionWithAVeryLongName()  1⃣// Here we have a very long comment that should not be here because it is far too long
    }
}

Changing the input to the following will fail:
// Copyright (C) 2024 My Coorp. All rights reserved.
//
// This document is the property of My Coorp.
// It is considered confidential and proprietary.
//
// This document may not be reproduced or transmitted in any form,
// in whole or in part, without the express written permission of
// My Coorp.

final class A {
    @Test func b() throws {
        doSomethingInAFunctionWithAVeryLongName()  1⃣// Here we have a very long comment that should not be here because it is far too long
    }
}

The error is here is reported in location (line:col 5:52) and should be in (line:col 12:52)

My suspicion is, that the pretty printer is thrown off by multiline comments. In that case, it seems to add only one line for an entire comment block.


Add Neo4j ebook in german

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource
For resources
Description
Add free Neo4j ebook in german
Why is this valuable (or not)?
It helps on learning Neo4j and graph databases
How do we know it's really free?
I downloaded the file to test it.
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

Thanks!


Run on main thread need to be implemented

If we use true in tiapp.xml the module unfortunately it does not work. @mpociot  @viezel @adesugbaa Any help is appreciated!

OK, it is possible to realize. Look to my tutorial. https://github.com/AppWerft/TitaniumAndroidModuleDevelopment/blob/master/04-WaterWaveProgress.md

I'll take a look 😉

@hansemannn You the man!

Basically what you guys need is to use ENSURE_UI_THREAD in some places for the correct threading behavior, especially for UI-related manipulations. And you use some mutex locks (pthread_mutex) that can cause problems across some places when running on main thread.
You can search the Titanium Core for ENSURE_UI_THREAD and TI_USE_KROLL_THREAD to see where and how we use those. Not sure when I will find time for a closer look, so this should guide you in the correct direction.

Thank you for your time @hansemannn !

Will look into it this week. What else are critical iOS issues in here? A prioritized list would be cool. Thanks!

I Have a few things yeah. I will put in list.
One think I want this module be able to do is change the layout on the fly, ex, like pinterest
You have list of grid-layout, then you click one grid and change to horizontal-layout (kinda of scrollableView) that you can swipe to one by one item.

The example works using #66, please try it out!


The power toys run dosent show apps like device manager

Microsoft PowerToys version
0.67.1
Installation method
PowerToys auto-update
Running as admin
None
Area(s) with issue?
PowerToys Run
Steps to reproduce
searching for device manager in power toys run
✔ Expected Behavior
device manager to be listed as an option
❌ Actual Behavior
device manager wasnt listed as an option
Other Software
No response

This is implemented yet. Please update to the latest version. Then you can open it using to ways:

.devmgr
2 $device manager


A JDL keyword "read only" Referencing a previous post #8800

Hi guys.
In reference to this previous closed post https://github.com/jhipster/generator-jhipster/issues/8800
Myself and a few others on our team are thinking about working on this as its a use case thats common in our company.
Having never worked on an open source project before, can anyone point me to in the codebase some examples of a  keyword in JDL and how it effects what is generated? functionality we can use as a base? At its core its simply adding @ Immutable to the JPA class and not generating certain stuff which seems simple enough

Hi! For this feature, you'd need:

to make it available in the JDL

as an option (readOnly * except D for instance)
as an annotation (@readOnly)

Add it to the binary options (in this file)
make it exported

in the JDL export
in the JSON export

update the doc to add the option

In order to make it available in the JDL:

Add a new token in the lexer file
Add a validation in the validator file
Add the rule in the JDL parser file (look here for the annotation part)
Update the AST builder file to read only entity list

All in all, you can copy/paste the code needed for the DTO option as the readOnly option is the same:

it's binary (it has a value)
it has entities (included & excluded)

To make it exportable, there's not much to do.
As long as it's an option, just check what has been done to handle the DTO option and you'd be good to go.
As for the JSON export, it'd be good if the readOnly option accepts a boolean value.
If you need more pointers don't hesitate.
Thanks for willing to contribute :)

@MathieuAA thanks alot! I think I know where to start, but just to clarify how/where in the jdl example on the web tool would you mark the entity country as being read only for example? https://start.jhipster.tech/jdl-studio/

Yes I would
I have to change the default example.. it's getting a bit old.

Oh I mean should making a file readonly in jdl look like this
@Readonly
entity Country {
countryName String
}
or something else.
Obviously I have to do it the same way as DTO since that is the code I will be basing it on, but I am not sure how a DTO would be defined in JDL in the above example? Fairly new to JHipster

Yeah no it's not really a binary option. More of an unary. My bad.
Just look at the skipClient option for instance.

I have made a few changes https://github.com/hdaniel93/jhipster-core/tree/9562-ReadOnly
I see in the "contributing" section of JHipster there is information about getting NPM to use your version of the generator, how do I do similar for the core? I want to try a jhipster import-jdl ./my-jdl-file.jdl --json-only

You must do:

in your fork npm link
in the generator's fork npm link jhipster-core

@hdaniel93: Hi. Are you still working on this feature? This is something I need too, so I'm willing to work on it.

@murdos : the 1st ticket about this feature was opened in main generator-jhipster 8 months ago. So I think you can go ahead and take the lead. I think a big part of the work has been done but not completely finished

Don't hesitate to ping me if you want directions :) I'm not that available nowadays but I'll make an effort.


Add try/catch for WasmModuleClient.Stop()

Fixes #1821
Well, doesn't really fix it. Opening the PR to get the CI build so we can get the actual error.

Did it help with trouble shooting? Shall this be merged?

There's no danger in merging this, it adds a try/catch and some additional logging.


Convert rust-toolchain file to rust-toolchain.toml (with nightly)

This makes IDEA IDEs realize they should use nightly as documented in CONTRIBUTING.md.
This will require rustup 1.23.0+ (which was released in 2020, so likely a non-issue).
Refs https://github.com/intellij-rust/intellij-rust/issues/6228
Refs https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file

The rust-toolchain file previously contained 1.65.0 and you changed it to nightly ... this is not the same.

@not-my-profile I know I did. CONTRIBUTING.md clearly says to use +nightly too (and indeed, one of the rust_dev deps doesn't compile on non-nightly).

Ruff does not depend on a single unstable feature so we should continue to have cargo test use stable Rust.

and indeed, one of the rust_dev deps doesn't compile on non-nightly

rust_dev works fine on stable for me.

@not-my-profile

we should continue to have cargo test use stable Rust.

It looks like CI runs tests on nightly, unless I'm mistaken and there's some additional override? https://github.com/charliermarsh/ruff/blob/81db00a3c4519600ee1374eb131a159c384422ea/.github/workflows/ci.yaml#L65-L74
On that note, maybe the "nightly" in this PR should be "nightly-2022-11-01"?

In any case I think a config format change and a version change are two separate changes and should certainly be done in separate commits. And a version change should have some convincing reasoning (ideally also explained in the commit message).

Sure, I can separate them, but the end goal here was to make my IDEA IDE (and probably other things?) understand it should use the nightly toolchain, since
https://github.com/charliermarsh/ruff/blob/81db00a3c4519600ee1374eb131a159c384422ea/README.md#L1654

Right I do not see any reason why we the CI should run cargo test on nightly only ... I think we should certainly run it on stable.
And I also don't think changing the whole developer toolchain to nightly just because of cargo fmt makes much sense ... unfortunately there does not appear to be a cross-editor way of configuring just cargo fmt to use nightly ... for rust-analyzer with VSCode you can apparently use this config.

Okay, I guess this can be closed with #2019 – but I hope you can see why I thought to change to nightly here, given the instructions and CI setup? 😄

@not-my-profile btw, I get this trying to cargo test without nightly:
error[E0554]: `#![feature]` may not be used on the stable release channel
  --> /Users/akx/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.36.5/src/lib.rs:99:26
   |
99 | #![cfg_attr(rustc_attrs, feature(rustc_attrs))]
   |                          ^^^^^^^^^^^^^^^^^^^^

Not sure what in particular I'm doing wrong there...

Yes I now understand your reasoning :) The current rust-toolchain is indeed in conflict with the current instructions in the README.

Not sure what in particular I'm doing wrong there...

Have you tried a cargo clean?

Closing in favor of #2019.


and < messing in URL descriptions messing up with layout

Subject: > and < messing in URL descriptions messing up with layout
Description:
I used to have something like ">texttolink<" with > and < in the description of the url on my profile which messed up the layout of everything that followed
Results:
I removed the > and < and it worked again
Backend version: develop-38fcd1a9
Frontend version: develop-38fcd1a9
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
Page: https://app.couchers.org/profile/about
User: knapsu (2467)

Seems fixed


Getting a Syntax error in RefresherListView.js

Hi when iam trying to use this module iam getting a syntax error as shown below

I got the same error. I am on ReactNative0.25.1. Thanks for any hints/fixes.

I got the same error. I am on ReactNative0.27.2. is it support android version???

@yorzi what solution worked for you???

The same error for 0.31

+1

Same issue here, must not be supported on Android, probably because of LoadingActivityIndicatorIOS: https://github.com/syrusakbary/react-native-refresher/blob/master/lib/indicators/LoadingActivityIndicatorIOS.js

+1

This is the version upgrade cause of grammar problems;
show demo:
RefresherListView.js
import React, { Component } from 'react';
import {ListView,View,Text,ActivityIndicatorIOS,StyleSheet,cloneElement,precomputeStyle,logError,isPromise} from 'react-native';
import LoadingActivityIndicatorIOS from './indicators/LoadingActivityIndicatorIOS';
LoadingBarIndicator.js
import React, { Component } from 'react';
import {View,StyleSheet,Text,NativeMethodsMixin} from 'react-native';
LoadActivityIndicatorIOS.js
import React, { Component } from 'react';
import {View,ActivityIndicatorIOS,StyleSheet} from 'react-native';

This is the version upgrade cause of grammar problems;
show demo:
RefresherListView.js
import React, { Component } from 'react';
import {ListView,View,Text,ActivityIndicatorIOS,StyleSheet,cloneElement,precomputeStyle,logError,isPromise} from 'react-native';
import LoadingActivityIndicatorIOS from './indicators/LoadingActivityIndicatorIOS';
LoadingBarIndicator.js
import React, { Component } from 'react';
import {View,StyleSheet,Text,NativeMethodsMixin} from 'react-native';
LoadActivityIndicatorIOS.js
import React, { Component } from 'react';
import {View,ActivityIndicatorIOS,StyleSheet} from 'react-native';

Any chance of a fixed release?

Same error with 0.39.2

+1

This functionality is built into react-native now.  Maybe there's no need to use this any more.


Cannot test package with Blink.jl in dependencies [degradation branch]

See https://github.com/JuliaGizmos/Blink.jl/issues/289 for details.
Working on adding PlotlyJS methods for dispatch and other plots in the degradation branch, but tests fail due to build issue for Blink.jl (PlotlyJS dependency), which seems isolated to Docker containers.

Moved the plot functions to a new package https://github.com/NREL/REoptPlots.jl
No Actions/Docker tests there yet so the issue will pop up in REoptPlots once we add tests. But looks like there is a fix:
https://github.com/JuliaGizmos/Blink.jl/issues/289#issuecomment-1149061932


Bluetooth: host: Run scan/slow test on nRF53

This enables the bluetooth/host/scan/slow test on nRF53 in the Zephyr
Continuous Integration pipeline.
Why waste more CI cycles?
The 5340 build will:

stress-test the HCI IPC driver (controller + host sides)
use a different buffer allocation model, where the allocator doesn't
know what other events are in the queue

2. is especially important, as this is the model a lot of host users
will be running with. Any controller driver that is not directly on-chip
cannot know what is in the HCI queues, and cannot take the same
convenient shortcuts as the on-chip function-called drivers.
Stacked PR on top of:

https://github.com/zephyrproject-rtos/zephyr/pull/78397

Blocked on

https://github.com/zephyrproject-rtos/zephyr/issues/50786

suggest to add DNM

no need, the CI does the needful :)


Identify receivers, exporters and processors that will be part of the core.

Core OpenTelemetry Service will include only a subset of receivers and exporters that are currently supported by OpenCensus Service.
The rest of receivers and exporters will be moved to a separate contrib repo.
Here is the proposed list of receivers and exporters that will be supported by OpenTelemetry Service code:

Prometheus
Jaeger (agent and collector ones)
Zipkin
OpenCensus, temporarily until OpenTelemetry one is available (we may want to keep OC for longer to facilitate migrations)

@pjanotti @bogdandrutu please comment.

I agree with this set.

Done, added as a doc.


Documentation for pbjs.getUserIds method in User Id module

Documentation for pbjs.getUserIds method in User Id module

Related PR: https://github.com/prebid/Prebid.js/pull/3889

Hello @bretg ,
Could you please review this?

@pm-harshad-mane - this doesn't follow our standard, which is that module-supplied functions are documented in the module.md file. I'll adjust.

Refined your PR just a bit -- thanks. This is just waiting on the code PR now.

Thank you @bretg

released with 2.24


DPL-1080 Sequencescape - As PSD we would like to remove the need for an EBI connection when seeding data for tests

Describe the Housekeeping
Remove requirement for dynamic connection to EBI URL to fetch countries list when seeding test database. Switch to a fixed file load instead.
Blocking issues
None
Additional context
Relevant code here:
db/seeds.rb line 36 invoking the rake task lib/tasks/insdc/import_countries.rake
EBI URL: https://www.ebi.ac.uk/ena/browser/api/xml/ERC000011

Hi @andrewsparkes, the import rake job in db/seeds.rb, executes two sequential tasks.

Downloads the file from EBI (:import): This is its own rake job with namespace insdc:countries:download.
Imports the content in the downloaded file as seeds  (:download): Parses the content and imports the downloaded countries into the database.

If we add the file into data directory, and remove the :download prerequisite in the import job, the seeding procedure should pick up the data from the file instead of downloading. If a specific file needs to be downloaded in some case, we can execute the :download rake job.
Does this sound alright as the change?

Yes sounds good


AWS Lambda Error: ENOENT: no such file or directory, open '/var/task/data.trie

trying to use v.0.12.1 with AWS CDK and a Lambda function (tried both typescript and js).
When I try to run I get this error:
Error: ENOENT: no such file or directory, open '/var/task/data.trie
Lambda looks like this:
const PDFKIT = require("pdfkit")

const pdfPromise = new Promise(resolve => {
        const doc = new PDFKIT()

        doc.text('hello pdf Kit...Please work', 100, 50)
        doc.end()

        const buffers = []
        doc.on("data", buffers.push.bind(buffers))
        doc.on("end", () => {
          const pdfData = Buffer.concat(buffers)
          resolve(pdfData)
        })
      })

Lambda runtime is Nodejs_12_x
I'm not using webpack or anything else, so no idea how/where to resolve this

Can be closed. The library was not properly included in the lambda.

@martinval what was the solution to properly including it in the lambda? This is the only dependency I'm having issues with


[Feature] Complete Receipt type

Component
consensus, eips, genesis
Describe the feature you would like
As per https://github.com/paradigmxyz/reth/issues/7238, our current Receipt structure in Alloy:
https://github.com/alloy-rs/alloy/blob/main/crates/consensus/src/receipt/receipts.rs
is not complete regarding what we have in reth:
https://github.com/paradigmxyz/reth/blob/1a7ba845b2ed623699a04031919c7e6479f39dc9/crates/primitives/src/receipt.rs
As a result, we should complete the Receipt type in alloy, in order to use it as a primitive type and remove its definition from reth. In my opinion, we should also add here the missing structures that are used around such as Receipts (which represents a two dimensional vector of Receipt) or ReceiptWithBloomEncoder.
As a consequence, to be able to handle root_slow properly, we should also add a proof crate or something related.
Additional context
No response

when you say it isn't complete, what do you mean? This is the consensus receipt type, and doesn't need anything else to be complete

when you say it isn't complete, what do you mean? This is the consensus receipt type, and doesn't need anything else to be complete

I think that we miss here:

TxType
Optimism cfg features
Receipts two dimensional vector
root_slow
optimism_root_slow
gas_spent_by_tx
...

Maybe some of these functions don't have their place in consensus types, but it wouldn't be bad to integrate them into alloy in order to remove the (a little redundant) definition that is in reth and only import the primitive types around the Receipt from alloy in reth right? Maybe somewhere else?

TxType

use ReceiptEnvelope

Optimism cfg features

Out of scope. this crate is for Ethereum consensus. Alloy approach would be a new OptimismReceiptEnvelope type in an alloy-consensus-optimism crate in another workspace

bloom_slow

yeah, this is probably a good addition

root_slow

seems like a property of a container type that belongs in reth?

is not complete regarding what we have in reth:

I think this is complete, at least if the enveloped type is used, which encodes/decodes to/from the wire format:
https://github.com/ethereum/devp2p/blob/master/caps/eth.md#receipt-encoding-and-validity
for op this should be a separate type

closing as complete based on discussion above


Test cypress only

draft PR to test removing Playwright, if this resolves the browser install issue in #56

Okay, so the Cypress config is throwing a type error (which doesn't happen locally, weirdly enough), BUT

removing Playwright from the project resolved the install issue. So it does seem like there's a problem having BOTH replayio/playwright and replayio/cypress in the same project, at least in CI.

Not sure how big of a use case this would be, creating an issue and closing this out.


Source id and source ip address must always overwrite data in Objects table

Currently only not null values are being set as data is being collated on the Objects table. However, that can't happen in the case of source data or we can end up with a source id related to a base station in a country with a source ip address of another.

Closed with #83


Update 2012-09-00-green-zf2.md

Updated the Sponsor name.

Was Zend actually involved in the financing and/or production of these? The only information I could find was that Ben had organized it: http://www.dasprids.de/blog/2011/11/05/green-zend-framework-elephpants

@philipsharp ben's never quite got done, the ones in the wild are indeed Zend's.

Thanks for the clarification.


Configurable reference access token size

I've searched and looked into the doc but I didn't find an answer, apologies if I overlooked it.
For those who are paranoid is it possible to increase the length/size of the reference access token, is it configurable?
Currently it is 64 characters, which I would like to increase.  With the underlying paranoia being that someone could attempt random tokens and get a positive hit.
I ask the question with the understanding that other mechanisms could be used to throttle/mitigate an attack using random tokens.

The entropy is 256 bit. Are you sure you need more? Do the math yourself.
That being said - you can replace the IHandleGenerationService .

Can the token be more Shorter? It's too long to use in the url.


IGNITE-6334 Throttle writing threads during ongoing checkpoint

Just a note for future archeologists: https://issues.apache.org/jira/browse/IGNITE-6334 mentions Token Bucket algorithm, but in reality this is not what was implemented. In the Token Bucket algorithm, non-complying requests are delayed till they become complying (so, in our case, this would mean wait till the memory resources we protect become available). But in the code, a different approach is used: when the protected resources are scarse, slow down writer threads; in conjunction with a sufficient buffer size, this makes the protection reliable.


Add a new multiarch/qemu-user-static image.

This PR is related to https://github.com/multiarch/qemu-user-static/issues/37#issuecomment-514312926 .
I implemented below features. Thank you https://github.com/dbhi/qus project, that inspired us!

Check/ensure that ADD does extract the tarball and not only copy it:
Add all the binaries in multiarch/qemu-user-static:* images to image multiarch/qemu-user-static:register.

That includes both the register script file and qemu-$arch-static binary files.
Because when we want to run the register script (qemu-binfmt-conf.sh)
with "--persistent" option, to register the binary format entries with "flags: F",
the interpreters "/usr/bin/qemu-$arch-static" need to be existed.
See https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html
Other notable changes

Modify to save files on containers directory for container images.
test.sh for CI gating test.

The result of my tests

Here is my container repository used for testing: https://quay.io/repository/junaruga/qemu-user-static
Here is the result of Travis CI on my repository: https://travis-ci.org/junaruga/qemu-user-static/builds/564534755
Here is my forked repository's pull-request branch: https://github.com/junaruga/qemu-user-static/tree/feature/unified-image . You can see new directory containers/.
You can run the testing script ./test.sh -d "quay.io/junaruga/qemu-user-static" on your local. The testing script is also added on CI.

I tested like this.
$ git diff
diff --git a/.travis.yml b/.travis.yml
index 79ca070..edee35e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,13 +15,13 @@ env:
         - VERSION=4.0.0-5
         # See qemu-user-static's RPM spec file on Fedora to check the new version.
         # https://src.fedoraproject.org/rpms/qemu/blob/master/f/qemu.spec
-        - DOCKER_SERVER=docker.io
-        # - DOCKER_SERVER=quay.io
+        # - DOCKER_SERVER=docker.io
+        - DOCKER_SERVER=quay.io
         # Git repository
         - REPO=multiarch/qemu-user-static
         # Container repository
-        - DOCKER_REPO=$DOCKER_SERVER/multiarch/qemu-user-static
-        # - DOCKER_REPO=$DOCKER_SERVER/your_username/qemu-user-static
+        # - DOCKER_REPO=$DOCKER_SERVER/multiarch/qemu-user-static
+        - DOCKER_REPO=$DOCKER_SERVER/junaruga/qemu-user-static

         - PACKAGE_URI="https://kojipkgs.fedoraproject.org/packages/qemu/4.0.0/5.fc31/x86_64/qemu-user-static-4.0.0-5.fc31.x86_64.rpm"
         - PACKAGE_FILENAME=$(basename "$PACKAGE_URI")
@@ -39,7 +39,7 @@ script:
     - ./test.sh -d "$DOCKER_REPO"
 after_success:
     - |
-      if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then
+      # if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then
           docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" "$DOCKER_SERVER" && \
               docker push "$DOCKER_REPO"
-      fi
+      # fi

Deprecate the concept of 'Compatible images'
After this PR will be merged, we can build and run standard multiarch images without using the multiarch compatible images.
$ sudo docker run --rm --privileged quay.io/junaruga/qemu-user-static --reset -p yes

$ docker run --rm -t arm64v8/ubuntu uname -m
aarch64

$ docker run --rm -t arm64v8/fedora uname -m
aarch64

@moul Thanks for reviewing!

The new image works!
$ sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
$ docker pull arm64v8/ubuntu
$ docker run --rm -t arm64v8/ubuntu uname -m
aarch64

$ sudo podman run --rm --privileged multiarch/qemu-user-static --reset -p yes
$ podman pull arm64v8/fedora
$ podman run --rm -t arm64v8/fedora uname -m
aarch64


Closing Blazor Dropdown/AutoComplete "steals" focus

Description
Using the Radzen AutoComplete and clicking in another text field sets the cursor back to the original autocomplete.
To Reproduce
Steps to reproduce the behavior:

Go to https://blazor.radzen.com/autocomplete sample
Click into the first AutoComplete top left labeled "AutoComplete", type something
Click into another AutoComplete, e,g the one labeled "Custom filtering"
-> Cursor is back to the first AutoComplete

Expected behavior
Cursor stays in the control last clicked
Desktop (please complete the following information):

OS: Windows
Browser Chrome
Version 4.5.3

The same happens with a DropDown etc., seems to be a change in the closePopup JavaScript.
To Reproduce

Page with a RadzenDropDown and a RadzenText
Open the dropdown for the RadzenDropDown
Click into the RadzenText control
-> Focus goes back to the RadzenDropDown


Refactor email otp authenticator to handle multi attribute login

Purpose

When multi attribute login is enabled, from the IDF hanlder the user is resolved using the multi attribute login service and set isUserResolved : true to the context.
From these changes, the user is only resolved from the user store if the user is not resolved from the previous step when previous step is IDF. This is done to avoid the duplicate resolvings from the user store because user is already resolved in the IDF, when multi attribute login is enabled.

Merge this after
https://github.com/wso2/carbon-identity-framework/pull/4860

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/5915175188

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/5915175188
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/5949162643

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/5949596894
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/5949742306

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/5949742306
Status: success

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/5959735443

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/5959735443
Status: success


Don't lock push command to circleCI

Hey @rafkhan does this card still make sense?  I'm not sure what it's supposed to be for.


Report errors when weave script talks to weave component via http

Fixes #2052.
The output from curl is placed in a temporary file, which is sent to stdout if the result is 2xx and stderr otherwise, except for 404 errors which are specifically handled in various places so call_weave swallows the "404 not found" message.
The "Call to weave failed." message is removed, in favour of whatever actual error came back from curl.  It may be that this makes some troubleshooting harder.
Also fixes an issue introduced by #1200 if the user has disabled IPAM with the (undocumented) --ipalloc-range="" whereby each fixed IP address specified would receive a "404" message, and this PR would otherwise have turned that into a failure of the entire command.

I rebased this locally and came across the following problems:
$ weave status foo
404 page not found
$

$ weave launch --no-dns
$ weave dns-args
--dns <IP_ADDRESS> --dns-search=weave.local.

That last one should return nothing post #2101. The code needs adjusting since it currently matches on a "404 ..." response text.

sometimes generates an extra "404" message on the user's screen under error conditions, e.g. if they mis-spell a weave status xxx command.

That needs fixing.

Rebased and addressed comments.
The dns_args code probably still needs work: if the GET fails other than with a 404 it will carry on.

I have tweaked the code slightly. Feel free to squash.
Should ipam_reclaim be changed? I can never work out what it does in case of failures, since that also depends on the calling context
Does it ignore errors?
Does it bail on the first error?
Does it error IFF the last reclaim fails?

I changed ipam_reclaim: it should attempt to claim as many addresses as it can rather than bailing out on the first failure.
It now never returns a failure status for the overall weave launch, which seems justifiable - weave has launched, even though some sub-parts did not complete.

This is consistently failing in CI in 640_proxy_restart_reattaches_test.sh. Running that on my machine, I have tracked the failure down to the check_attached coming after
run_on $HOST1 sudo kill -KILL $(docker_on $HOST1 inspect --format='{{.State.Pid}}' c2)

docker logs weaveproxy shows
INFO: 2016/04/04 16:00:50.609756 Attaching container 346c87f29e0e2478eef75e47275826521e30ae6f7c5f110788c1873cc79c543d with WEAVE_CIDR "" to weave network
WARN: 2016/04/04 16:00:51.187364 Attaching container 346c87f29e0e2478eef75e47275826521e30ae6f7c5f110788c1873cc79c543d to weave network failed: Failure during network configuration for container 346c87f29e0e2478eef75e47275826521e30ae6f7c5f110788c1873cc79c543d:
Error: an inet prefix is expected rather than "cancelled".

That container is the c2 container which is supposed to be restarted. Inspecting it shows...
        "State": {
            "Status": "exited",
            "Running": false,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 0,
            "ExitCode": 137,
            "Error": "",
            "StartedAt": "2016-04-04T16:08:23.745210944Z",
            "FinishedAt": "2016-04-04T16:08:24.147338761Z"
        },

This is consistently failing in CI in 640_proxy_restart_reattaches_test.sh.

Our current theory is that this is just #2090 in spades.

I cannot shake off the suspicion that something else, specific to this PR, is going on here. We have had 10 successive failures in CI for this PR, which is way higher than the normal failure rate of 640_proxy_restart_reattaches_test.sh.
It could just be that the timing has shifted... call_weave no longer checks whether weave is alive before calling it. That check, involving a docker inspect, was quite expensive. Without that delay, weave attach will proceed to the IP allocation much more quickly, increasing the chances that we hit the race described in #2090.

When working to understand this, I found the failure incredibly sensitive - adding one more line of logging before the allocate is attempted would make it succeed every time.
I see it failing due to IsContainerNotRunning seeing the Restarting flag.


Sourcemap support

I have sourcemaps turned on for my Vite config. I am getting this warning in the terminal.
Sourcemap is likely to be incorrect: a plugin (vite-plugin-virtual-mpa) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help

Version:
"vite-plugin-virtual-mpa": "^1.2.2",

Is there a workaround for now or do you plan on adding sourcemap support?

Could you please provide a minimal reproduction for troubleshooting? I have never encountered this error before.

Sure, here is a reproduction example: https://github.com/MCurran16/vite-plugin-virtual-mpa
To reproduce, I am running vite build (or npm run build in your /example)
My output looks like:
> vite-plugin-virtual-mpa-demo@ build /Users/michaelcurran/ws/vite-plugin-virtual-mpa/workspaces/example
> vite build

[vite-plugin-virtual-mpa]: Generated virtual files:
<dist>/fruits/apple.html
<dist>/fruits/banana.html
<dist>/fruits/strawberries.html
<dist>/home.html
vite v4.0.4 building for production...
✓ 20 modules transformed.
rendering chunks (1)...Sourcemap is likely to be incorrect: a plugin (vite-plugin-virtual-mpa) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
Sourcemap is likely to be incorrect: a plugin (vite-plugin-virtual-mpa) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
rendering chunks (2)...Sourcemap is likely to be incorrect: a plugin (vite-plugin-virtual-mpa) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
Sourcemap is likely to be incorrect: a plugin (vite-plugin-virtual-mpa) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
rendering chunks (5)...Sourcemap is likely to be incorrect: a plugin (vite-plugin-virtual-mpa) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
Sourcemap is likely to be incorrect: a plugin (vite-plugin-virtual-mpa) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
Sourcemap is likely to be incorrect: a plugin (vite-plugin-virtual-mpa) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
Sourcemap is likely to be incorrect: a plugin (vite-plugin-virtual-mpa) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
rendering chunks (6)...Sourcemap is likely to be incorrect: a plugin (vite-plugin-virtual-mpa) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
Sourcemap is likely to be incorrect: a plugin (vite-plugin-virtual-mpa) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
Sourcemap is likely to be incorrect: a plugin (vite-plugin-virtual-mpa) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
Sourcemap is likely to be incorrect: a plugin (vite-plugin-virtual-mpa) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help
dist/fruits/strawberries.html                       0.78 kB
dist/home.html                                      0.86 kB
dist/fruits/apple.html                              0.86 kB
dist/fruits/banana.html                             0.86 kB
dist/assets/_plugin-vue_export-helper-c27b6911.js   0.15 kB │ gzip:  0.16 kB │ map: 0.12 kB
dist/assets/strawberries-5addd7e4.js                0.49 kB │ gzip:  0.32 kB │ map: 0.11 kB
dist/assets/apple-5c2f155b.js                       0.56 kB │ gzip:  0.35 kB │ map: 0.10 kB
dist/assets/banana-4b417d9d.js                      0.56 kB │ gzip:  0.35 kB │ map: 0.10 kB
dist/assets/home-a64166f5.js                        0.56 kB │ gzip:  0.35 kB │ map: 0.10 kB
dist/assets/runtime-dom.esm-bundler-a90a5c39.js    52.19 kB │ gzip: 21.07 kB │ map: 0.12 kB

Emmm,seems strangeful,I'll check as soon as possible.

I made some changes just now, the new version will be released in a few days.


[SPARK] Extend ability to extract RDD location from additional Spark nodes

Problem
Unsupported RDD nodes.
Closes: #2183
Solution

Extract paths from ParallelCollectionRDD and MapPartitionsRDD.
Refactor code to avoid extending if-else-if chain.

Note: All schema changes require discussion. Please link the issue for context.

[ ] Your change modifies the core OpenLineage model
[ ] Your change modifies one or more OpenLineage facets

If you're contributing a new integration, please specify the scope of the integration and how/where it has been tested (e.g., Apache Spark integration supports S3 and GCS filesystem operations, tested with AWS EMR).
One-line summary:
Checklist

[ ] You've signed-off your work
[ ] Your pull request title follows our guidelines
[ ] Your changes are accompanied by tests (if relevant)
[ ] Your change contains a small diff and is self-contained
[ ] You've updated any relevant documentation (if relevant)
[ ] Your comment includes a one-liner for the changelog about the specific purpose of the change (if necessary)
[ ] You've versioned the core OpenLineage model or facets according to SchemaVer (if relevant)
[ ] You've added a header to source files (if relevant)

SPDX-License-Identifier: Apache-2.0
Copyright 2018-2023 contributors to the OpenLineage project

continued within #2188 with broader scope.


Add multi-selection for label instances

Is your feature request related to a problem? Please describe.
When using pre-labled data, e.g. bounding boxes with background class that the annotator has to assign the "real" class to, the current setup only allows to change labeling for one bounding box at a time. Especially with a lot of bounding boxes (or NER labels etc.) this is very laborious.
The feature would also benefit the ml-backend option, since one could correct wrong labels much quicker (especially if there are lots of label instances).
Describe the solution you'd like
The user should be able to modify several label instances (e.g, bounding boxes and their respective class) at once.
Describe alternatives you've considered
Multi-selection of labels, e.g. by pressing shift/ctrl and/or ability to draw selection boxes on screen when no class is selected that selects multiple instances. The latter seems more practical to me.
Additional context
None
Anyway, thanks a ton for the fantastic tool! 🥳

This feature have been released in LS 1.3.


No quotes are added when using --quote-always (fmt)

Hello,
currently I am trying to format a MySql output using the command
xsv fmt --quote-always -d "\t"
The tabulators are replaced by commas but no quotes are added.

OK my fault this is only happening in combination with split.
If you pipe both together it is removing the quotes.
e.g.
xsv fmt --quote-always -d "\\t" | xsv split -s ...


Allow users to set the font size of the document tree and output window

I'm reposting a variant of issue #326 since that one was closed.  Specifically, there should be a way to let the user specify the font size of the document tree as well as the output window.  Contrary to your comments there, both Visual Studio and Visual Studio Code let the user adjust that font size.  Neither make you have to rely on changing your system's default font size, nor should they.

In the case of Visual Studio, it is achieved by setting the 'Environment Font' in the settings which controls everything except the code windows.
In the case of Visual Studio Code, zooming in/enlarging the font enlarges all fonts equally.

For high-res screens, the current design makes it very difficult to read that output.
It is a simple matter to allow the user to specify this font size. It can be achieved via a user option.  In a perfect world, these would be your three options.

Track System Font - This would work as it does presently.
Track Editor Font - This would simply track whatever size the editor is using and applies that
User-Specified - This is a value you specify in preferences that acts independently of either the system, or the editor size.

I am more than willing to provide a PR that would add the above functionality, but in your other comment, you said you would reject the change I proposed there, so before I do this, I would like to get buy-in from you.  Let me know and if so, I'll put it together over the next few days.

I'm always on the fence with adding more options, as RP is just on the brink of having a setting screen, which I've strived to avoid :)
I'd accept a PR adding a int? EnvironmentFontSize setting which would be bound to the main Window.FontSize property. For now, let's not add a UI for it. Even VS Code took its time with a visual settings editor.

Completely fine without creating a UI. As long as there’s a way to change it, I don’t mind editing a separate file. That said, I didn’t know there was a separate file. Can you point me in the direction of where it is and I’ll create the PR.


Allow pandas v1 compatibility

Constraining pandas to be at least v2 is breaking the compatibility of alpaca-py with Google Colab default environment.

@alessiocastrica seems pydantic requires typing_extensions-4.8.0 which causes the error.
Collecting typing-extensions>=4.6.1 (from pydantic<3.0.0,>=2.0.3->alpaca-py==0.12.0)
  Downloading typing_extensions-4.8.0-py3-none-any.whl (31 kB)

How to replicate an error in Google Colab
import tensorflow
! pip install git+https://github.com/alpacahq/alpaca-py.git@relax-dependencies-versions
import alpaca.data.requests


old link

[Enter feedback here]
the link to connect-msolservice points to a page that is no longer being updated. please change the link to point to something current.

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

ID: cb427fd5-e30d-101e-7905-544f9eb5081e
Version Independent ID: bf829c27-33f5-b9b5-7923-9dd47dd10657
Content: Use basic permissions to access Microsoft Defender Security Center - Windows security
Content Source: windows/security/threat-protection/microsoft-defender-atp/basic-permissions.md
Product: w10
Technology: windows
GitHub Login: @mjcaparas
Microsoft Alias: macapara

Possibly https://docs.microsoft.com/powershell/module/msonline/connect-msolservice?view=azureadps-1.0
Other search results: https://www.bing.com/search?q=Connect-MsolService+site%3Amicrosoft.com
Any specific preferences to follow here, when choosing a replacement?

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

@illfated - Thanks, the 1st link is the correct one. Created PR for the same.

Closing via #8804. Thanks.

Closing via #8804. Thanks.


zooming-in/out on dblClick

On double-click the selected node gets zoomed in / out

Can you add a note that this needs https://github.com/davidmarkclements/d3-fg/pull/25 to the description

LGTM (pending https://github.com/davidmarkclements/d3-fg/pull/25 being released and adding a package-json update)


[Bug?] Can't load plugin in Debug build.

Hi, when I load the plugin, I found it will fail if I build it in Debug mode in dev plugin mode.

If I comment on this line, My plugin could be loaded successfully. I don't know why.
If this line is unnecessary, Shall we remove that?
https://github.com/NightmareXIV/ECommons/blob/b81f6c6381f2eed903bb8915c1a7d2acdb117275/ECommons/ECommonsMain.cs#L53

Hello! You probably have your own serilog nuget package/private library included, which interferes with Dalamud's built-in one. This line is to ensure that verbose logs are being processed by Dalamud. Since everything is fine in release mode, please check your csproj file for errors and also check that your debug folder does not include serilog.dll (if you need help, please send .csproj file)

Oh, thanks for your reply! Yeah, it works perfectly in the release mode.
After adding the code <PrivateAssets>all</PrivateAssets> to my reference at your suggestion, it was fixed in the Debug mode!
Thanks a lot!


[FEA] rapidsdevtool.sh should print a warning when RAPIDS deps are not met

Is your feature request related to a problem? Please describe.
Now that rapidsdevtool.sh allows users to specify which RAPIDS comps they want to build, there's a possibility a user could select a comp that needs a dep, and not also select the dep.  For example, selecting cuML but not cuDF.
Describe the solution you'd like
Have rapidsdevtool.sh simply print a warning that explains the missing dependency.  An option to fail instead of warn could also be provided.
Describe alternatives you've considered
rapidsdevtool.sh could automatically add the missing dependency, but that seemed like it could be problematic or too magical for some users.
Additional context
This is the remaining work from issue #2

closing this issue as it no longer appears to be applicable


Queue is not working for loop

func main() {
	links := ReadInput()
	q := AddRawUrl(links)

	c := colly.NewCollector()

	c.OnHTML(".listing-details", func(e *colly.HTMLElement) {
		result := []string{}
		result = append(result,e.Request.URL.String())
		result = append(result,e.ChildText(".wpbdp-field-company_name span"))
		result = append(result,e.ChildText(".wpbdp-field-type_of_business span"))
		result = append(result,e.ChildText(".wpbdp-field-company_address span"))
		result = append(result,e.ChildText(".wpbdp-field-country span"))
		result = append(result,e.ChildText(".wpbdp-field-phone_number span"))
		result = append(result,e.ChildText(".wpbdp-field-website span"))
		result = append(result,e.ChildText(".wpbdp-field-email span"))
		fmt.Println(result)
	})

	// Set error handler
	c.OnError(func(r *colly.Response, err error) {
		fmt.Println("Timeout at request: ", r.Request.URL.String(), "\n Now Retrying")
		r.Request.Retry()
	})

	c.OnScraped(func(r *colly.Response) {
		fmt.Println("Scrapped: record ", r.Request.URL.String())
	})

	q.Run(c)

	fmt.Println("Scraping finished....")
}

func ReadInput() []string{
	// Read from file
	b, err := ioutil.ReadFile("input.txt") // just pass the file name
	if err != nil {
		fmt.Print(err)
	}
	str := string(b) // convert content to a 'string'

	// split each row
	rows := strings.Split(str,"\n")
	return rows
}

func AddUrl(rows []string) *queue.Queue {
	Q, _ := queue.New(
		1, // Number of consumer threads
		&queue.InMemoryQueueStorage{MaxSize: 10000},
	)
	for _,url:=range rows{
		Q.AddURL(url)
	}
	return Q
}

func AddRawUrl(rows []string) *queue.Queue {
	Q, _ := queue.New(
		1, // Number of consumer threads
		&queue.InMemoryQueueStorage{MaxSize: 10000},
	)
	Q.AddURL("http://best-toy-importers.com/global-toy-importer-directory/feuchtmann-gmbh-spielwarenfabrik-3/")
	Q.AddURL("http://best-toy-importers.com/global-toy-importer-directory/limox-gmbh/")
	return Q
}

I don't know why AddUrl(rows []string) is not working where AddRawUrl(rows []string)  is working good? what's wrong with AddUrl(rows []string) ?
input.txt contain
http://best-toy-importers.com/global-toy-importer-directory/feuchtmann-gmbh-spielwarenfabrik-3/
http://best-toy-importers.com/global-toy-importer-directory/limox-gmbh/

@higorae after checking your comment I was testing this code to my ubuntu,  holy moly it's work like a charm. but on my windows this AddUrl still not working, just collecting the last result. strange...

@higorae after checking your comment I was testing this code to my ubuntu, holy moly it's work like a charm. but on my windows this AddUrl still not working, just collecting the last result. strange...

huuum... It's important to say that I have run in ubuntu as well. Maybe a bug on windows envirement. What is your windows version?

@higorae after checking your comment I was testing this code to my ubuntu, holy moly it's work like a charm. but on my windows this AddUrl still not working, just collecting the last result. strange...

huuum... It's important to say that I have run in ubuntu as well. Maybe a bug on windows envirement. What is your windows version?

Maybe the problem is that windows is the case insensitive. For the windows side func AddUrl and AddURL are the same functions. AddRawUrl function works as expected because has different name and call AddURL function.


MRG, ENH: Add move_mouse_to

Tested on Linux and macOS, Windows in progress. @drammock feel free to review and if you're happy I'll merge once it works on Windows.
cc @LiesbethGijbels this will allow you just to use ec.move_mouse_to((0, 0)) instead of using pyautogui.

Scratch that, seems to work fine on Windows already. No mouse moving works on Windows 7 for me (not even pyautogui) but this code works fine on my Windows 10 install.


Checkbox in LocalForm updating twice (once with invalid value)

The Problem
The checkbox component in LocalForm triggers validator once with "on" and once with true.
Steps to Reproduce
Open https://codepen.io/anon/pen/XZpMwq , open console and trigger checkbox change.
Expected Behavior
Only true or false are given to validators.

I changed my get-value.js file to:
function getEventValue(event) {
  ...

  if (target.type === 'checkbox') {
    return target.checked;
  }

  ...
}
...
function getCheckboxValue(value, props) {
  var controlProps = props.controlProps;

  if ((0, _isMulti2.default)(props.model)) {
    return controlProps.value;
  }

  debugger;
  return getValue(value)
}

So at least I get correct truthy values. But it is still triggering somewhere another change where it sets "on" as value. (props.controProps.modelValue by the way is always undefined)

Could it be tha in control-component-factory.js -> createEventHandler on handleUpdate
if (this.props.isToggle) {
          return compose(
            dispatchBatchActions,
            persistEventWithCallback(controlEventHandler || identity)
          )(event);
        }

is doing something unexpected?

It might actually be a combination of things in control-props-map.js and control-component-factory with changeAction. 🔍

When I log [model].concat(args) in trackable (in track.js) I get following on one click of the checkbox

It's not just checkboxes updating necessary often. When I create a textfield and give it a parser and formatter my parser gets two times a string value and the last time the parsed value. Something in the codebase is really shity :(


Upcoming feature - pass a symbolic resource to a module as a parameter

Apparently being considered and coming soonish (few months) as per April Bicep community call)

After v0.8 (probably june for v0.8) - by a few months


docs: Properly capitalize GitHub.

Doc fixes to capitalize "GitHub" properly.
Two fun facts:

#2032 will obviate the need for changes like this in the future.
I looked up the syntax for sed to do this and it worked on my first try! sed -i s/Github/GitHub/g docs/*.md. Yay!

Automated message from Dropbox CLA bot
@brainwane, it looks like you've already signed the Dropbox CLA. Thanks!

Merged, thanks @brainwane!


Fix misspelled "than" word

In the readme the word "than" is spelled "then"

LGTM @forcewake can we get this merged


Fix casper-engine-test-support CHANGELOG.

WasmTestBuilder::get_execution_journals has not been published yet but the CHANGELOG made it look like it has.

bors merge


TypeSpec for Azure AI Inference

Data Plane API - Pull Request
Azure AI Studio now hosts a catalog of Large Language Models (LLM) for chat completion, embeddings and image generation, as two offerings called Model-as-a-Service (MaaS, aka "Pay as you go") and Model-as-a-Platform (MaaP, aka "Real-time endpoint"). This TypeSpec defines the common REST API for endpoints hosting these models. It is checked in here to facilitate auto-geration of the client libraries (Python, JS and C# at the moment). Other programing languages will follow. The service team uses Python code which at run-time auto-generates a Swagger file for the service. They do not use the TypeSpec files in this PR. But I am verifying that their Swagger and the one created by this TypeSpec are equivalent, and the emitted client libraries work properly when connecting to this service.
For more information on the catalog see Explore the model catalog in Azure AI Studio.
This TypeSpec is a subset of the Azure OpenAI Inference TypeSpec and additional changes. We use the same model and property names for now, but that may be subject to change. It implements four routes /chat/completions, /embeddings, /image-generation/ and /info.
Is this review for (select one):

[x] a private preview
[ ] a public preview
[ ] GA release

@johanste @mikeharder @vicancy @bexxx I would like to merge this PR. Please review. Thanks! There will be additional changes coming, but I want those to be incremental to ease on the review, so I first want to get this PR in.

Assigned to @dargilco

Thank you for your comment @weidongxu-microsoft , I will look into this when I get back to working on this SDK, as part of releasing another beta version.

API change check
APIView has identified API level changes in this PR and created following API reviews.
AI.Model-AI.Model


[WIP][FEATURE] Passthrough Properties

Closes #151.
This is a stab at implementing properties for Rows that are optionally passed through to the content object.
The API is similar to the classNameBindings property of Ember.Component with the extra ability to invert properties.
For example:
new Row(content, { passthrough: ['selected', 'expanded:isShowingMore', 'hidden:!visible'] });

Relevant docs from the PR:
  /**
   * Properties listed here are passed through to the `content` object instead
   * of getting shadowed by the `ObjectProxy` behavior of `Row`.
   *
   * You can use mappings similar to `classNameBindings` in `Ember.Component`.
   *
   * - `'selected'` - transparently pass through the `selected` property
   * - `'expanded:isShowingMore'` - map the `expanded` property to the
   *   `isShowingMore` property
   * - `'hidden:!visible'` - map the `hidden` property to the `visible` property
   *   and invert the value
   *
   * @property passthrough
   * @type {Array}
   * @default []
   */
  passthrough: computed(() => []),

Do you like the way this implemented?
If you're okay with this, I'd make the required changes in Table.js to be able to actually configure a table to use passthrough properties and fix the tests.

Whoops. I just realized that this is a total brain fart, because the properties are only bound in one way. Haha.
I'll blame it on the early morning :D


Replicate only I3D results

Hi Xinqian,
To replicate only I3D results, do we need to change anything else except AP3D.APP3DC ---> AP3D.I3D in L168 of ResNet.py? If I only do this change, I get 3% mAP difference according to Table 1.

Yes, only L168 needs to be changed.
Batchsize, the num of GPUs and the version of pytorch may impact the results. In general, 1% error is reasonable.
In addition, running test-all.py is necessary, because the process of test in train.py only uses 4 frames per video.


NamedArguments rule: false positive with trailing lambda

fun foo(a: Int, b: Int, c: Int, block: ((Int) -> Int)) {}

fun test() {
    foo(a = 1, b = 2, c = 3) { it }
}

I have this failing with suspend functions:
      combine(
        mapRotationChanges,
        overlayMediator.controlVisibility(Controls.Compass),
        controlsVisibilityProvider.visibility,
        ::mergeCompassControl
      )

where in this case combine is defined as:
fun <T1, T2, T3, R> combine(
    flow: Flow<T1>,
    flow2: Flow<T2>,
    flow3: Flow<T3>,
    @BuilderInference transform: suspend (T1, T2, T3) -> R
): Flow<R>

Also a separate question: I wonder is there a way to disable this rule for some functions specifically. For example kotlin coroutines library has 8 overloads of combine for different flow count and specifying flow, flow2,... each time would be strange. On the other hand I don't want to increase threshold for generic cases.


Trying to delete a storage pool with instances from non-default projects gives "Error: No such object" error

Rather than the error Error: storage pool "<pool>" has volumes attached to it which is given when the pool contains instance volumes from the default project.

Tested and present in 3.18.


Reveal different questions based on selected option in a dropdown in a form

Something that is frequently requested by staff is the option to have something similar to the Group Fields block but instead of being show/hide, different questions are revealed based off of what is selected in the dropdown.

Yes, it has come up a few times over the last two years or so. Would be a very good feature.
There are some work to implement this but the hardest part i think will be to design a nice UI for it. Making it simple to use for the staff creating forms.


Implement PausesSpring

Spec: https://material-motion.github.io/material-motion/starmap/specifications/plans/PausesSpring

🎊 My diff is ready for review at http://codereview.cc/D2024


Multi-GPU training of NaViT model

Hello!
I have a question about multi-GPU training using NaViT model.
I am able to run the training on 1 GPU, but not on several.
Any suggestions or ideas how it's possible to use multiple GPUs for training this particular model?
FYI: DP doesn't work straightaway.
Thank you in advance.

Closing as there were some data-related issues. Works well with DP.


Fix webpack config

I wanted to update the theme to the latest version in order to fix tooltip issue (https://github.com/iterative/gatsby-theme-iterative/pull/155).
It will be covered on https://github.com/iterative/dvc.org/pull/4191 so I went ahead to fix the webpack config issue there.
I believe we want to keep the webpack config that prevents the warnings on the build as it will be hard to debug otherwise if anything happens. I remember I had applied a patch for a single use case https://github.com/iterative/dvc.org/pull/3988.
I think this will be a better patch.

Makes sense to me, thanks! I also noticed the errors were too excessive with the suppressing config removed even now. I hope to find a more proper fix that solves what causes the warnings, but this will help for now.


[RMP] Statistical Candidate Generation based on CoVisitation for two-stage recsys

Problem:
When the item catalog is very large (e.g. tens or hundreds of millions), companies typically implement a two-stage recsys pipeline, where (1) candidate generation models provide a number of candidate items for a given user or session and (2) a ranking model with more powerful features and architecture performs the final ranking.
The candidate generation models can be based on heuristics (e.g. most recent items), statistics (e.g. most popular, most co-visited items per session or per user) or machine learning (e.g. word2vec, MF, Two-Tower, YouTubeDNN), among others.
This RMP addresses the CoVisitation candidate generation algorithm, which has been very successful in the last competitions (Dressipi RecSys Challenge, Otto Kaggle competition). One example is the 3rd place  solution from KGMON + Merlin team for Otto comp, where they used 20 different strategies to generate candidates from CoVisitation.
Goal:
This RMP proposes the implementation of CoVisitation candidate generation into Merlin.
New Functionality
NVTabular
1- CoVisitation Matrix Generation
Implement a CoVisitMatrix op in NVT backed by dataframe ops to compute a co-visit matrix (item_a, item_b, weight), allowing to configure Lambda ops for custom co-visit filter (i.e. what should be considered a co-visit, e.g. clicks, only purchases) and  weighting strategy (i.e. how to weight multiple co-occurrence of items for the same user/session sequences and for multiple sequences).
Systems
2 - Candidate Generation from a CoVisitation Matrix

Implement a CandidatesFromCoVisit op for NVTabular & Systems that takes one Co-visit matrix dataframe and a column with the sequence of session/user items, and optional Lambda op for custom weight aggregation. It outputs two list features (candidate item ids and candidate item scores)for each session/users based, sorted by the candidate scores

3 - Candidate Generation ensemble

Create an op for Systems that allows combining candidate items from many candidate generation models (whether CoVisitation or models like MF,TwoTower), providing some option to choose how to score the candidates (e.g. frequency, sum of candidate scores, etc)

Starting Point:

Description of the 3rd place solution from KGMON + Merlin team for Otto comp, by @cdeotte

Fast code to produce co-visit is with cuDF and GPU is here (anything named "GPU-XXX): link
Fast code to apply co-visit to user history is here (code named "model-709"): link

Slack threads with more info about this proposal: here and here

This feature would be very helpful for my team!
Having the ability to do 3 can be quite tricky at runtime as well and this is not something I have seen implementations yet.
Having a solution there even if naive can help getting a PoC out very quickly!
As a side note, I like the grouping between heuristic, statistic and models. I would add to this that this is a great first statistic approach but as described in the original comment there are others and such methods and I can see this being a great first step to introduce the logic and I am hoping this is the first of a series :).
I am mentioning this because CG also help to implement certain business logic (eg. if you are cnn.com you might want to have one statistic towards recent news for editorial purpose, another example is to have random being part of the CS for exploration purpose) and can be used to artificially increase side metric (eg. diversity for example MIND does this, coverage...).
Today with Merlin it is not possible out of the box to cover theses use cases which is something needed for my team.

Since the scores from different candidate generators aren't guaranteed to be comparable, my favorite way to combine them is the "log-rank" trick: take the candidates from each source, compute the log of the items' rank within each candidate set, and then use that as a new score to rank the items when combining the lists. Doing it that way produces scores that are on the same scale and have the same distribution for each candidate source, which makes merging the candidate sets more straightforward.
(Technically, you compute log(max_rank) - log(candidate_item_rank) so that the items at the top of the list have the highest scores and so that summing the scores for an item that appears in multiple candidate sets works the way you'd expect, bumping that item higher up the list.)

Any updates on this one?

@gabrielspmoreira This is a pretty big lift, and I think I probably wouldn't implement it exactly as proposed by the issue description. For example, I probably wouldn't try to keep a whole co-visits matrix in memory, I'd likely break it out into a list of most frequently co-visited items for each item and then store that in a key-value store, so that each item's frequent co-visits can be looked up at high-speed/low cost without spending memory on the whole catalog all at once.
I also think "combining candidate sources" could be a whole RMP in and of itself, so we might want to come back to this as a backlog grooming item to refine into smaller chunks of work that are more readily actionable.

@karlhigley I would also mention reciprocal rank fusion rather than log rank trick. There might need some research there as well to see if there are other strategies.


Sorted reverse

Rebased https://github.com/google/grumpy/pull/162/ over grumpyhome/grumpy#82

@MirkoDziadzka: Is this good to merge, in your opinion?


State of v3 documentation not great

Maybe I've completely missed something .. but I feel like the state of documentation for the project is that it is virtually non-usable for someone starting from scratch.
Individual tools have no documentation, it unclear where to find any fully functioning examples, whole categories of features have no mention (synchronizers, stacks?)
It feels like you folks have put a ton of hard work in and based on some of the third party examples I've seen, I'm really impressed with what you've been able to construct ... but I feel like this effort is all for not for a large percentage of your possible users without complete docs.
Is there anything anyone (at the project, or outside the project) can do to help get the documentation for the latest release in order?

Existing Resources:

Docs: https://tools.cornerstonejs.org/
Examples: https://tools.cornerstonejs.org/examples/
Auto-generated API Explorer: https://tools.cornerstonejs.org/api/ (takes a second to load)

cornerstone-tools is maintained by volunteers. The libraries are grouped under the "Cornerstone.js Organization", but members are really the individuals that consistently contribute and help move the libraries forward. Most changes are "funded" by our respective employers as we add features that help us move whatever projects we're working on forward. Documentation tends to lag because most of our employers don't see it as a direct benefit ¯\(ツ)/¯
If there is specific documentation or examples that are missing, hard to follow, or incorrect, please feel free to create a more specific issue or mention it here. Often detailed responses to specific issues/questions make their way into our documentation.
You can add your own example or update the documentation by either:

Adding or updating a file in /examples
Adding or updating the markdown in /docs/latest
Adding JSDoc to anything publicly exposed (updates API docs)

Examples are a simple Jekyll site, docs are generated with GitBook CLI, and API docs are generated with Docma. All of these are built, updated, and published when changes are merged to master. If you're encountering issues updating any of these, let me know and I can spell out more detailed instructions (which we could then turn into a mini-guide to help other would-be contributors).
tl;dr

Be the change you want to see! (PR some doc updates 🙌)
OR at least help us understand which areas you're having the most trouble with so we can prioritize our incredibly limited resources
OR hire one of the consultancies that contribute to this project 😛

Thanks for the detailed response -- understood on the constraints. Again, really impressed with the things I've seen so far, just struggling to get purchase. That said, I'll try to add where I think it might help.

@dannyrb I'm reading through code to figure stuff out at this point, but given the number of abstractions, it is hard for me to get a handle of how these are intended to be used together -- also given it looks like OHIF largely uses v2 / I can't really find a "kitchen sink" example or integration tests in the wild to learn from ... I'm finding I have a number of quick questions to help figure some stuff out but I don't feel a git issue is the appropriate venue.
Is there anywhere where folks congregate (e.g. slack, gitter, irc, stackoverflow etc?)
Thanks!

No worries. I appreciate criticism, I just want to make sure it's something targeted/actionable so we can use it to improve.
The OHIF Viewer is undergoing a large refactor to migrate away from meteor and toward a react client. The react version appears to be using tools@3. I think the most recent code is here:

react branch: /Packages-react/ohif-viewer
With some updated docs hanging out here

FWIW, I've been told that OHIF has the react version's release, and making it easier to contribute/get-started as a priority.
We also have a very basic Viewer implementation in the index.html in our root. We use it as a quick regression test on Netlify previews for PRs: https://deploy-preview-905--cornerstone-tools.netlify.com/
If you have well-formed questions, detail what you've already tried, etc. I'm always happy to respond. We're not popular enough for StackOverflow to be a great place to seek answers, so it makes sense that they would filter in here.

Is there anywhere folks congregate where quick questions are appropriate (e.g. slack, gitter, irc, stackoverflow etc)?

If you shoot your email address over to me<EMAIL_ADDRESS>I can invite you to the maintainers Slack group. We have channels for tools / help.

Also do you know of any open source projects that use a larger swath of v3 features than the examples today to learn from?

I'm aware of quite a few closed source viewers built with cornerstone.js, but OHIF is the only open source one I know. I'm remember hearing of others, but haven't actively searched in quite some time.

Awesome, the Netlify demo is perfect. I wasn't entirely sure what that was when I had seen it first time around / skipped over it.
I had come across the standalone react viewer for OHIF that referenced v3 but it didn't seem like it had much interface to the tools yet -- I hadn't seen the branch, but I'll check that out too.
Will do on the email for slack access.
I'm ok if you want to go ahead and close this unless you want to leave it for others. I'll open more focused documentation / code bugs as I come across them or try to fix them as I can. Thanks for helping me get started here!

I've created the following issue to address what I believe are the core takeaways from our discussion:
https://github.com/cornerstonejs/cornerstoneTools/issues/909
Thanks again for stopping in and speaking up 🙌

Thanks -- that looks like an appropriate issue given our discussion! I'll probably be in and out of submitting a few things here and there as I get started over the next few weekends -- thanks for helping here!


How do I run this image without logs (quiet) ?

I'm using this image in a composition in tests we're running in our CI tool.
For the purpose of running these tests, I don't want to see all the mongodb logs of all the startup, indexing, etc.
Since I'm running it in a composition, I can only set env vars and/or override the entrypoint or cmd.
I tried using the following mongod --quiet as the CMD but it didn't help.
The image I'm using is 3.4.14-jessie.

That is the only option I see in the help output to reduce messages. If you have one, you could send it to a logging service via --log-driver on the docker run.
$ docker run -d --log-driver=fluentd mongo:3.4.14-jessie

You could send it to a file in the container.  Since /var/log/mongodb exists in the image and is writable by the mongo user, this should work:
$ docker run -d mongo:3.4.14-jessie --logpath=/var/log/mongodb/mongo.log

Help output:
$ docker run -it --rm mongo:3.4.14-jessie --help
Options:

General options:
  -h [ --help ]                         show this usage information
  --version                             show version information
  -f [ --config ] arg                   configuration file specifying
                                        additional options
  -v [ --verbose ] [=arg(=v)]           be more verbose (include multiple times
                                        for more verbosity e.g. -vvvvv)
  --quiet                               quieter output
  --port arg                            specify port number - 27017 by default
  --bind_ip arg                         comma separated list of ip addresses to
                                        listen on - all local ips by default
  --ipv6                                enable IPv6 support (disabled by
                                        default)
  --maxConns arg                        max number of simultaneous connections
                                        - 1000000 by default
  --logpath arg                         log file to send write to instead of
                                        stdout - has to be a file, not
                                        directory
  --syslog                              log to system's syslog facility instead
                                        of file or stdout
  --syslogFacility arg                  syslog facility used for mongodb syslog
                                        message
  --logappend                           append to logpath instead of
                                        over-writing
  --logRotate arg                       set the log rotation behavior
                                        (rename|reopen)
  --timeStampFormat arg                 Desired format for timestamps in log
                                        messages. One of ctime, iso8601-utc or
                                        iso8601-local
  --pidfilepath arg                     full path to pidfile (if not set, no
                                        pidfile is created)
  --keyFile arg                         private key for cluster authentication
  --noauth                              run without security
  --setParameter arg                    Set a configurable parameter
  --httpinterface                       enable http interface
  --transitionToAuth                    For rolling access control upgrade.
                                        Attempt to authenticate over outgoing
                                        connections and proceed regardless of
                                        success. Accept incoming connections
                                        with or without authentication.
  --clusterAuthMode arg                 Authentication mode used for cluster
                                        authentication. Alternatives are
                                        (keyFile|sendKeyFile|sendX509|x509)
  --nounixsocket                        disable listening on unix sockets
  --unixSocketPrefix arg                alternative directory for UNIX domain
                                        sockets (defaults to /tmp)
  --filePermissions arg                 permissions to set on UNIX domain
                                        socket file - 0700 by default
  --fork                                fork server process
  --networkMessageCompressors arg       Comma-separated list of compressors to
                                        use for network messages
  --auth                                run with security
  --jsonp                               allow JSONP access via http (has
                                        security implications)
  --rest                                turn on simple rest api
  --slowms arg (=100)                   value of slow for profile and console
                                        log
  --profile arg                         0=off 1=slow, 2=all
  --cpu                                 periodically show cpu and iowait
                                        utilization
  --sysinfo                             print some diagnostic system
                                        information
  --noIndexBuildRetry                   don't retry any index builds that were
                                        interrupted by shutdown
  --noscripting                         disable scripting engine
  --notablescan                         do not allow table scans
  --shutdown                            kill a running server (for init
                                        scripts)

Replication options:
  --oplogSize arg                       size to use (in MB) for replication op
                                        log. default is 5% of disk space (i.e.
                                        large is good)

Master/slave options (old; use replica sets instead):
  --master                              master mode
  --slave                               slave mode
  --source arg                          when slave: specify master as
                                        <server:port>
  --only arg                            when slave: specify a single database
                                        to replicate
  --slavedelay arg                      specify delay (in seconds) to be used
                                        when applying master ops to slave
  --autoresync                          automatically resync if slave data is
                                        stale

Replica set options:
  --replSet arg                         arg is <setname>[/<optionalseedhostlist
                                        >]
  --replIndexPrefetch arg               specify index prefetching behavior (if
                                        secondary) [none|_id_only|all]
  --enableMajorityReadConcern           enables majority readConcern

Sharding options:
  --configsvr                           declare this is a config db of a
                                        cluster; default port 27019; default
                                        dir /data/configdb
  --shardsvr                            declare this is a shard db of a
                                        cluster; default port 27018

SSL options:
  --sslOnNormalPorts                    use ssl on configured ports
  --sslMode arg                         set the SSL operation mode
                                        (disabled|allowSSL|preferSSL|requireSSL
                                        )
  --sslPEMKeyFile arg                   PEM file for ssl
  --sslPEMKeyPassword arg               PEM file password
  --sslClusterFile arg                  Key file for internal SSL
                                        authentication
  --sslClusterPassword arg              Internal authentication key file
                                        password
  --sslCAFile arg                       Certificate Authority file for SSL
  --sslCRLFile arg                      Certificate Revocation List file for
                                        SSL
  --sslDisabledProtocols arg            Comma separated list of TLS protocols
                                        to disable [TLS1_0,TLS1_1,TLS1_2]
  --sslWeakCertificateValidation        allow client to connect without
                                        presenting a certificate
  --sslAllowConnectionsWithoutCertificates
                                        allow client to connect without
                                        presenting a certificate
  --sslAllowInvalidHostnames            Allow server certificates to provide
                                        non-matching hostnames
  --sslAllowInvalidCertificates         allow connections to servers with
                                        invalid certificates
  --sslFIPSMode                         activate FIPS 140-2 mode at startup

Storage options:
  --storageEngine arg                   what storage engine to use - defaults
                                        to wiredTiger if no data files present
  --dbpath arg                          directory for datafiles - defaults to
                                        /data/db
  --directoryperdb                      each database will be stored in a
                                        separate directory
  --noprealloc                          disable data file preallocation - will
                                        often hurt performance
  --nssize arg (=16)                    .ns file size (in MB) for new databases
  --quota                               limits each database to a certain
                                        number of files (8 default)
  --quotaFiles arg                      number of files allowed per db, implies
                                        --quota
  --smallfiles                          use a smaller default file size
  --syncdelay arg (=60)                 seconds between disk syncs (0=never,
                                        but not recommended)
  --upgrade                             upgrade db if needed
  --repair                              run repair on all dbs
  --repairpath arg                      root directory for repair files -
                                        defaults to dbpath
  --journal                             enable journaling
  --nojournal                           disable journaling (journaling is on by
                                        default for 64 bit)
  --journalOptions arg                  journal diagnostic options
  --journalCommitInterval arg           how often to group/batch commit (ms)

WiredTiger options:
  --wiredTigerCacheSizeGB arg           maximum amount of memory to allocate
                                        for cache; defaults to 1/2 of physical
                                        RAM
  --wiredTigerStatisticsLogDelaySecs arg (=0)
                                        seconds to wait between each write to a
                                        statistics file in the dbpath; 0 means
                                        do not log statistics
  --wiredTigerJournalCompressor arg (=snappy)
                                        use a compressor for log records
                                        [none|snappy|zlib]
  --wiredTigerDirectoryForIndexes       Put indexes and data in different
                                        directories
  --wiredTigerCollectionBlockCompressor arg (=snappy)
                                        block compression algorithm for
                                        collection data [none|snappy|zlib]
  --wiredTigerIndexPrefixCompression arg (=1)
                                        use prefix compression on row-store
                                        leaf pages

ok I changed the command to be --logpath=/dev/null and it worked. thanks.


fix/release branch workflow

Description
Fix github workflow that prepares release branch after updating openspec-original.yaml
Issue
Closes #95
Changes Made

add new script to add a placeholder section for to be filled in created PR by workflow
update prep_release_on_oas_update.yaml

Checklist

[x] I have read the CONTRIBUTING.md document.
[x] I have tested my changes.
[x] I have added/updated documentation accordingly.

@KacperKluka I will proceed with fix. Feel free to add comments even after merge. I will address them asap.