Training Data

Hi,
Thanks for the implementation and detailed explanation!
I tried to understand from the paper/repo, but couldn't find an answer, what is the dataset that was used for training EDSR and MDSR? is it public?
Thanks,
Michael

Thanks for the answer!

As we understand from the article, you took each image in the DIV2K dataset, divided it to 48x48
patches (~ 1200 patches from each image) then flipped each patch with random horizontal and 90
degrees flips, so you ended up with around 7 Million images for training. Is that correct?

Our aim is to use the EDSR network to perform super resolution + artifact reduction and we are
currently thinking about using a training set with a substantial size, but we are not sure that we have
enough images, so we'll need to do augmentation. What is your opinion?

Thanks,
Michael

Hi,
do you know which part of the codes controls training dataset cropping stride?
I wanna create nonoverlapping training datasets.
Thank you!


AdoptAtan2 getting nan after 2 steps

Hey Phil! thanks for sharing another great impl!
Strangely i get nan in all losses after just 2 iterations...
I tried official implementation and it seems to work fine

@inspirit hey Eugene 😄 yes, my error, could you give it another shot? the authors also have some updates with clipping from yesterday
btw, nGPT i think they messed up their baseline, if you look at an issue in their official repo

yeah! i verified that setting to zeros fix the issue :)

@inspirit let me know if you see anything interesting with this new optimizer
probably best not to get hopes up, but who knows!

@inspirit have you noticed anything? positive or negative

to be honest I did not have time for deeper testing because from the start I noticed it is sensitive to learning rate and you cant simply replace existing Adam or Atan2 optimizer. it did not perform bad but it requires tuning the learning rate to squeeze good results :)

@inspirit hehe ok, did not perform bad is a pretty good sign! i also noticed it didn't perform bad


Encode .gl url

I'm trying to set the eddystone-url Bluetooth advertising packet to send this url: https://goo.gl/Aq18zF
how can I encode this URL? .gl is not present in the URL identifiers. How can I put the string after "/"?

Just include everything after "https://" plaintext.
The common-suffixes compression is optional.  Since goo.gl short-urls fit within an ES-URL frame there is no need to compress that part.


Fix example used in custom environment docs

Summary
Fixes the example used in the Jest configuration docs, because context was not defined.
Test plan
Documentation udpate

Thanks for the fix!


Suddenly namespace stopped working

When I first started using stringy, I added this line at the top of my bootloader:
use Stringy\Stringy as S;
and I was able to use it throughout the site like this:
$this->entityName = s($entity_slug)->upperCamelize();
but suddenly it stopped working for some reason. Now I'm getting this error message:
Fatal error: Call to undefined function s() in C:\wamp64\www\spider\chebi\orm_tools.php on line 39
any idea what the problem here might be?

@entheologist I think the issue is that you're importing the class Stringy\Stringy as S (uppercase), but actually meant to import the function Stirngy\create as s (lowercase)
https://github.com/danielstjules/Stringy#php-56-creation
use function Stringy\create as s;

Hope that helps!


node drain Unknown controller kind EtcdCluster

Hi Guys,
Sorry if I am reporting this bug to the wrong people. But I am not sure if this is a etcd operator bug or a kubernetes bug. I am running an etcd operator with a backup side car. I wanted to replace my worker nodes with a upgraded kubernetes version. So I added new nodes and drained all of the old workers with this command:
kubectl drain  --ignore-daemonsets kube-worker01
The nodes with the etcd cluster pods gave the following error:
Unknown controller kind “EtcdCluster”: etcd-cluster-0001
The etcd pods were not rescheduled. But the etcd cluster was rebuilt from the backup sidecar. So my data was preserved.

@simon-k8s
Can you give more details how to reproduce it?

I was running 3 worker nodes with kubernetes 1.7.2. With a running etcd operator deployment with a backup sidecar. I wanted to exchange the 4 worker nodes running 1.7.2 with 4 new nodes running kubernetes 1.7.7. So I decided to create the new worker nodes first join the cluster and then drain the old workers afterwards. I was able to drain the first node without a problem. As I reached the nodes with the etcd cluster members I received the error:
Unknown controller kind “EtcdCluster”: etcd-cluster-0001
After trying to drain the worker. The etcd pods were not rescheduled as expected. I was left with an etcd cluster without nodes. The backup sidecar did get rescheduled. And the operator seeded a new cluster from the backup sidecar.

@simon-k8s
What do you expect to see?

The etcd pods were not rescheduled as expected.

So you were expecting that etcd pods would be migrated to new nodes as node draining was happening, right?

Unknown controller kind “EtcdCluster”: etcd-cluster-0001

This error is from that kubectl drain doesn't support custom resource kind:
https://github.com/kubernetes/kubernetes/blob/e292da8192da56eb515765922d8c93a048517b85/pkg/kubectl/cmd/drain.go#L330-L342
However, kubectl drain will continue and delete the pod.

Solution
The "Kind"s are hardcoded in kubectl code now. So we can't easily change that to do migration.
Manual migration is needed during node draining:

cordon the nodes to be drained first.
delete one etcd member at a time. Make sure that after deleting A, before deleting B, another A' is created before deleting B.

Thank you for your explanation

We are hitting this on 1.8.0 cluster upgrades with both kops and kubectl drain, I can't find an upstream issue or PR for this, is it being tracked anywhere?


Experimental support for CuPy v8 in Chainer v7

We received several requests regarding CuPy v8 support in Chainer v7, mainly from those who want to use CUDA 11.1+. Currently Chainer v7 do not support CuPy v8, but we are planning to make a release that experimentally support CuPy v8.

Hi I am having this issue where chainer doesn't support cupy, and I need them both to test out some code. Are there any workarounds?

Resolved via v7.8.0 release.


[BUG] Wrong time unit in flops profiler

Describe the bug
The elapsed time in flops_profiler gets by _get_elapsed_msec is msec now, introducing many time unit inconsistencies. #2090 and its fix #2095, and #1934 have resolved some of the misuses.
I mainly examined the MoE part and found the remaining below.

The flop profiler log print the duration as ms
https://github.com/microsoft/DeepSpeed/blob/fda63432ba67643d2f54885e45f0b2058fa2b937/deepspeed/runtime/engine.py#L1714-L1716
However it is captured and *1000 manually
https://github.com/microsoft/DeepSpeed/blob/fda63432ba67643d2f54885e45f0b2058fa2b937/deepspeed/moe/sharded_moe.py#L434

The time breakdown log needs ms here
https://github.com/microsoft/DeepSpeed/blob/fda63432ba67643d2f54885e45f0b2058fa2b937/deepspeed/runtime/engine.py#L2095-L2097

Similar issues: #2090 #1934

cc @tjruwase @cli99


fichier: add optional methods

Fichier could support some more optional methods

[ ] Copy - server side copy
[ ] Move - server side move
[ ] DirMove - server side directory move
[ ] PublicLink - create public URLs for files / directories
[ ] MergeDirs - to make rclone dedupe work since fichier can have duplicates
[ ] Purge - remove a directory and its contents (not sure if the API supports this)
[ ] CopyURL - start a remote copy (needs #3029

Dupe of #3292


[NEW] Initializes client and server

Initialization code for a client in React and a server in Express.

@murtaza98 please review :)

@murtaza98 please review :)

@RonLek I'm getting the following error while running npm install inside the client app

@RonLek I'm getting the following error while running npm install inside the client app


initrd-flash: provision to use separate dtb file

initrd-flash requires usb2-0 in otg mode, this provides a way to flash without losing ability to customize device-specific devicetree.

This is probably the wrong fix for this. Turns out, using DTBFILE in .env.initrd-flash ends up with device getting flashed with said DTBFILE.


fix: Internal links don't use a prefix

Description
To have internal links be checked by the hyperlink checker, we cannot use the https://flowfuse.com prefix as the tool doesn't know what domain we're serving from.
This change allows us to check for that better.
Related Issue(s)

Checklist

[ ] I have read the contribution guidelines
[ ] I have considered the performance impact of these changes
[ ] Suitable unit/system level tests have been added and they pass
[ ] Documentation has been updated

cc @sumitshinde-84


If I make a contract call to the wallet, how can the app know the success or failure of the contract call?

Similar to the return of ".on()" on the web side

You best ask this question here: https://github.com/RootSoft/walletconnect-dart-sdk/issues
This package only provides UI wrapper around walletconnect-dart.


Add alternate parser for updated events for MsgExitSwapShareAmountIn …

…for later blocks
Does the following:

Parses the Exit event as a list of tokens received
Parses the swap events each as a swap

This TX will now return multiple line items for this single TX to capture all that happened.
Tested locally on:

Block 2441293 for the old event format from a year ago
Block 8319511 containing TX 5DEACF0BD254B863928D09A43FC8F0E46C03295AAEEE6686EA833D443FA8B8D6
Block 8319740 containing TX BADBAFD9CB1C1CB18E47E4489C0BED243F0E5DEF75117541A2058C62399806AE

Closes #333

Working for me, thanks!


Respect full KeyStore file path while generating certs by SelfSignedMitmManager

Unit tests fail because of https://github.com/LittleProxy/LittleProxy/issues/179

@asolntsev if keyStoreFile is /var/folder/keystore.jks,

keyStoreLocalFile.getName() -> keystore.jks
keyStoreLocalFile.getPath() -> /var/folder/keystore.jks

Everything will work for both cases, but the issue is that the file will be created in the wrong directory for the first case: for example, if I run from the root directory /user/folder, the file will be created at path /user/folder/keystore.jks instead of /var/folder/keystore.jks.

I understand the different in theory, but how can I practically reproduce the problem?
I usually don't create SelfSignedSslEngineSource by myself. It's created somewhere inside LittleProxy with the default value "littleproxy_keystore.jks".
In order to use non-default value, you need to call this constructor from your code:
new SelfSignedSslEngineSource(String keyStorePath). The name of this variable is path.
Doesn't it mean you need to pass the right file path there? Apparently, absolute path.

I usually don't create SelfSignedSslEngineSource by myself. It's created somewhere inside LittleProxy with the default value "littleproxy_keystore.jks".

In my case I create SelfSignedSslEngineSource and SelfSignedMitmManager by myself.

In order to use non-default value, you need to call this constructor from your code:
new SelfSignedSslEngineSource(String keyStorePath). The name of this variable is path.

Exactly.

Doesn't it mean you need to pass the right file path there? Apparently, absolute path.

Yes, and whenever I pass custom path, key store file is not created at the provided path by SelfSignedSslEngineSource, but it's created at another path.
PS: I was not able to find the proper place for unit tests at first time, but it seems I have found the place for tests now, so I'll move PR to draft state until I add tests.


Table names

The table names are still hard coded as ext-notes in the functions, shouldn't they be something like $serviceName-$stage-$functionName as mentioned in the guide?

What's in the guide is different than what's in yml.
Guide
$serviceName-$stage-$functionName
YML
${self:custom.resourcesStage}-ExtNotesTableArn

Ignore this, was up too late. I was mixing Lambda with Dynamo.


Invites Screen

Convert invite hash according to following algorithm before searching in table:
https://eosio.stackexchange.com/a/4344

Solving merge conflicts :smile:


confusion of required arguments

Hello, I would love to try this extension in https://github.com/Lightning-AI/torchmetrics/pull/2518, but so far hitting some issues; the latest one with installing from master (lat release does not work with py3.9, https://github.com/sphinx-doc/sphinx-autobuild/issues/155#issuecomment-2112022210)
Following the example in the readme, https://github.com/sphinx-doc/sphinx-autobuild#using-with-makefile, I get the following error:
make[1]: Entering directory '/home/jirka/Workingspace/pt-metrics/docs'
sphinx-autobuild "source" "build" -W
usage: sphinx-autobuild [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...]
sphinx-autobuild: error: the following arguments are required: sourcedir, outputdir, filenames
make[1]: *** [Makefile:22: livehtml] Error 2

Based on the usage: sphinx-autobuild [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...] filenames are optional, but in fact, they are required or what am I missing?

sphinx-autobuild "source" "build" -W

Does sphinx-autobuild -W "source" "build" work? (asking based on the help error's message, which indicates options need to before the positional arguments.

Does sphinx-autobuild -W "source" "build" work?

not really, getting this error:
metrics/docs$ sphinx-autobuild -W "source" "build"
usage: sphinx-autobuild [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...]
sphinx-autobuild: error: the following arguments are required: sourcedir, outputdir, filenames

Should be closed by https://github.com/sphinx-doc/sphinx-autobuild/pull/164


Feature/create account 5

🗃 Github Issue Or Explanation for this PR. (What is it supposed to do and Why is needed)
Loading account balance
Fixed polka repository access - singleton
Fixed start / connect logic - this was not working
Tested with known account that has balance
✅ Checklist

[x] I have tested all my changes.

🕵♂ Notes for Code Reviewer
🙈 Screenshots

### 👯♀ Paired with

I am merging since we are still moving from "not working" -> "working"


Sample gatsby js

Create a simple sample using gatsby version 2 importing the main script using the gatsby configuration file

@RobertoMSousa THanks


Revert nextjournal.log to re-frame.loggers

Would you folks consider reverting nextjournal.log to re-frame.loggers in re-frame.registry, so it can be consumed by others too without having to make a shim? Also upstream re-frame re-frame.registry is now named re-frame.registrar, I'd be interested in a match.

Hi @clyfe,
Sorry for the eternal silence, we finally took care of dropping the nextjournal.log dependency.
The registry / registrar naming dates back to 45b801a6492b1ea0aaa61955e7e1e6c99dbf49b5 and<PHONE_NUMBER>df63c27ca61ae5a6e95403906402e9. Feel free to open a separate issue enumerating what parts of the api you're using there.
Best,
Martin


[Request for External] report 6 "Trial Balance"

Dear ALAppExtensions team,
On behalf of 4PS I would like to request to make variable 'GLFilter' protected on report 6 "Trial Balance".
protected var
    GLFilter: Text;

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


Obsolete method call

[SpecTransManager::construct method is obsolete. Use SpecTransManager::newFromSpec instead]

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

ID: 9e3901cf-4989-fa16-f6d5-ef5e4a9a90dd
Version Independent ID: b4084a6d-184f-02e8-3a03-88e91d70a533
Content: Settle transactions by using CustTrans  settleTransaction - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/financial/settletransact-obsolete.md
Service: dynamics-365-cross-app
Product: ****
Technology: ****
GitHub Login: @josaw1
Microsoft Alias: markskun

Bug 819155 has been logged to address this issue.

Jo,
I see nothing wrong with the web content.
The content clearly states that the SpecTransManager::construct(custTable) is obsolete - It is under a heading "Obsolete code example". To make it super clear, you can put in a comment in the code example:
//Mark for settlement
// Obsolete: Use SpecTransExecutionContext::newFromSource to create a context and
// then construct a SpecTransManager instance from that.
SpecTransManager specTransManager = SpecTransManager::construct(custTable);
I assigned the bug back to you with the text above.
Let me know if I misunderstood anything.
BR PV
From: josaw1 @.>
Sent: Monday, June 5, 2023 9:13 AM
To: MicrosoftDocs/dynamics-365-unified-operations-public @.>
Cc: Peter Villadsen @.>; Assign @.>
Subject: Re: [MicrosoftDocs/dynamics-365-unified-operations-public] Obsolete method call (Issue #4569)
Assigned #4569https://github.com/MicrosoftDocs/dynamics-365-unified-operations-public/issues/4569 to @pvilladshttps://github.com/pvillads.

Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/dynamics-365-unified-operations-public/issues/4569#event-9435670282, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACYNH7MCQYYULRPNDH55BJDXJYAQXANCNFSM6AAAAAAY3AS23U.
You are receiving this because you were assigned.Message ID<EMAIL_ADDRESS>

Ok, thanks.
From: Peter Villadsen @.>
Sent: Monday, June 5, 2023 9:29 AM
To: MicrosoftDocs/dynamics-365-unified-operations-public @.>; MicrosoftDocs/dynamics-365-unified-operations-public @.>; Jo Sawyer @.>
Cc: Assign @.***>
Subject: RE: [MicrosoftDocs/dynamics-365-unified-operations-public] Obsolete method call (Issue #4569)
Jo,
I see nothing wrong with the web content.
The content clearly states that the SpecTransManager::construct(custTable) is obsolete - It is under a heading "Obsolete code example". To make it super clear, you can put in a comment in the code example:
//Mark for settlement
// Obsolete: Use SpecTransExecutionContext::newFromSource to create a context and
// then construct a SpecTransManager instance from that.
SpecTransManager specTransManager = SpecTransManager::construct(custTable);
I assigned the bug back to you with the text above.
Let me know if I misunderstood anything.
BR PV
From: josaw1<EMAIL_ADDRESS>Sent: Monday, June 5, 2023 9:13 AM
To: MicrosoftDocs/dynamics-365-unified-operations-public<EMAIL_ADDRESS>Cc: Peter Villadsen<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/dynamics-365-unified-operations-public] Obsolete method call (Issue #4569)
Assigned #4569https://github.com/MicrosoftDocs/dynamics-365-unified-operations-public/issues/4569 to @pvilladshttps://github.com/pvillads.

Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/dynamics-365-unified-operations-public/issues/4569#event-9435670282, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACYNH7MCQYYULRPNDH55BJDXJYAQXANCNFSM6AAAAAAY3AS23U.
You are receiving this because you were assigned.Message ID<EMAIL_ADDRESS>


How to initialized the deformable conv layer?

Is it initialized from zero or pretrained model?

it seems that when initialized the model, it add some arg_params, and as for these params, it initialized from zero or random

Deformable Conv layer is initialized from ImageNet pre-trained model. But you should notice the offset layers (which is also output by a convolution) is initialized to zero.

@Oh233 So in a network, is Deformable Conv layer initialized just as the Conv layer it replaces?

@El-H  Yes

@Oh233 Thanks! And in your paper it is said that the learning rates of offset layers are of beta times the existing layers, so what is the range of beta? Less than 1 or greater?

The paper states: β = 1 by default, and β = 0.01 for the fc layer in Faster R-CNN. You may refer to our code for more detail.

Okay!


Reference to iree-org in run_module_app/build_apk.sh

https://github.com/openxla/iree/blob/main/tools/android/run_module_app/build_apk.sh still has a reference to "iree-org" on https://github.com/openxla/iree/blob/bdd679dd90f86121762520de6f0022cf696f869c/tools/android/run_module_app/build_apk.sh#L248. It appears to be referencing a directory created in a previous step, but it's not clear how this directory got the iree-org name. Could you please update this as appropriate for the repository move?

Oh... I updated this in the google -> iree-org move also: https://github.com/openxla/iree/commit/7df397317736788046e02e5d8e821c498d7266da#diff-ffaab20f9b0bc25741720a0a5e03769740c12b7e6df7a7470437e50b281dbb77

Aaaah. I think that might have been a mistake as well. Does this script even work anymore?

Bumping up - is this still open?

Yes, this issue is still open.
@antiagainst do you think we could just delete https://github.com/openxla/iree/tree/main/tools/android/run_module_app ? Does it still work? That was added back in 2020 but has only been kept up to date with global find/replace changes. We could also move it to the iree-samples repo.


An error occurs when using LoftQ. IndexError

A problem occurred while applying LoftQ to T5.
IndexError: tensors used as indices must be long, byte or bool tensors
The problem was in this line, I replaced int with long and it worked fine.
lookup_table_idx = lookup_table_idx.to(torch.long)

Thanks a lot for reporting. Would you be interested in opening a PR to fix the issue? Ideally, with a test to guard against this bug? If not, let us know and we'll do it.

I'm not interested in opening a PR.

I started to work on this and wrote a test using t5-small. The test passed for me, your suggested change was not necessary. Could you please provide some code to reproduce the error you encountered?

test code
import torch
from torch import nn

import transformers
from transformers import T5EncoderModel
from peft import LoftQConfig, LoraConfig, get_peft_model

def find_all_linear_names(model):
    lora_module_names = set()
    for name, module in model.named_modules():
        if isinstance(module, nn.Linear):
            names = name.split('.')
            lora_module_names.add(names[0] if len(names) == 1 else names[-1])
    return list(lora_module_names)

def load_model(
    lora_r: float = 64,
    lora_alpha: float = 16,
    lora_dropout: float = 0.0,
):
    model = T5EncoderModel.from_pretrained(
        't5-small',
        output_attentions=False,
        torch_dtype=torch.float16
    )
    modules = find_all_linear_names(model)
    lora_config = LoraConfig(
        init_lora_weights="loftq",
        loftq_config=LoftQConfig(loftq_bits=4),
        r=lora_r,
        lora_alpha=lora_alpha,
        target_modules=modules,
        lora_dropout=lora_dropout,
        bias="none",
        task_type="CAUSAL_LM"
    )
    model = get_peft_model(model, lora_config)

torch: 1.13.1+cu117
transformers:4.36.2
peft:0.7.1

If I have bitsandbytes installed I get the following error:
/python3.9/site-packages/bitsandbytes/functional.py:1012, in dequantize_4bit(A, quant_state, absmax, out, blocksize, quant_type)
   1009     raise NotImplementedError(f'4-bit quantization data type {quant_type} is not implemented.')
   1011 if quant_state is None:
-> 1012     assert absmax is not None and out is not None
   1014     quant_state = QuantState(absmax=absmax, shape=out.shape, dtype=out.dtype, blocksize=blocksize, quant_type=quant_type)
   1016 else:

AssertionError:

For reference, qlora works well.
from transformers import T5EncoderModel, BitsAndBytesConfig

model = T5EncoderModel.from_pretrained(
        't5-small',
        load_in_4bit=True,
        device_map='auto',
        torch_dtype=torch.bfloat16,
        quantization_config=BitsAndBytesConfig(
            load_in_4bit=True,
            bnb_4bit_compute_dtype=torch.bfloat16,
            bnb_4bit_use_double_quant=True,
            bnb_4bit_quant_type='nf4'
        ),
    )

test code
import torch
from torch import nn

import transformers
from transformers import T5EncoderModel
from peft import LoftQConfig, LoraConfig, get_peft_model

def find_all_linear_names(model):
    lora_module_names = set()
    for name, module in model.named_modules():
        if isinstance(module, nn.Linear):
            names = name.split('.')
            lora_module_names.add(names[0] if len(names) == 1 else names[-1])
    return list(lora_module_names)

def load_model(
    lora_r: float = 64,
    lora_alpha: float = 16,
    lora_dropout: float = 0.0,
):
    model = T5EncoderModel.from_pretrained(
        't5-small',
        output_attentions=False,
        torch_dtype=torch.float16
    )
    modules = find_all_linear_names(model)
    lora_config = LoraConfig(
        init_lora_weights="loftq",
        loftq_config=LoftQConfig(loftq_bits=4),
        r=lora_r,
        lora_alpha=lora_alpha,
        target_modules=modules,
        lora_dropout=lora_dropout,
        bias="none",
        task_type="CAUSAL_LM"
    )
    model = get_peft_model(model, lora_config)
load_model()

version
torch: 1.13.1+cu117
transformers:4.36.2
peft:0.7.1
bitsandbytes: 0.41.3.post2

It worked fine for the latest PEFT.
And in the case of IndexError, it seems that indexing through int has become possible since pytorch 2.x.
Therefore, it would be a good idea to change the index type to long for PyTorch 1.x.

it would be a good idea to change the index type to long for PyTorch 1.x.

Right. I created a PR in #1320.


Add example with header based routing

The plugin now supports header-based routing.
We need to create an end-to-end example with a full demo.

@kostis-codefresh Can you assign it to me, I've got a working example I'd like to contribute

@kostis-codefresh Where do you want this example? inside the Linkerd folder or should I create a new one l5d-header-based-routing?

Yes. Add a brand new folder in the examples folder. Leave the existing linkerd example as is please

@kostis-codefresh https://github.com/argoproj-labs/rollouts-plugin-trafficrouter-gatewayapi/pull/91

@kostis-codefresh no problem, feel free to assign me with other issues, happy to contribute


Removes the tsxs command line tool

[approve ci autest]

We need to wait a couple of days to merge this though, to make sure there are no -1's.


Dependency versions

The laverca csc client depends on old third party libraries. In particular it depends on okhttp 2.7.5 which is some 8 years old. The current stable release appears to be 4.12.0 and there already are a number of 5.0.0-ALPHA releases.
Are there any plans to update the csc client to more current dependencies? Or are there any good reasons not to do so?

Are there any plans to update the csc client to more current dependencies? Or are there any good reasons not to do so?

No particular reason to not upgrade. Thanks for pointing this out. Will look into it - and possibly setup dependabot to warn about obsolete libraries.

Great that you updated the dependencies. I'll update to the new version.


update to version 1.10.1 of polyfill-useragent-normaliser

this version fixes a bug where : IOS 14 was being detected as IOS 11.0
This should fix https://github.com/Financial-Times/polyfill-service/issues/2653 and https://github.com/Financial-Times/polyfill-service/issues/2666

Thanks for the work done on this @JakeChampion. This update is much needed.


cmd/go/internal/modfetch: add GOINSECURE

Enables insecure fetching of dependencies whos path matches those specified in
the enironment variable GOINSECURE.
Fixes #32966

I think I have signed the CLA now.
Also, I was very confused about how the script tests work to actually test this - are there some pointers somewhere on how I would run a script test with a custom webserver (that isn't secure!)?

@googlebot I signed it!


more demos please ?

Hello Rodrigo Depiné Dalpiaz
Thank you for the good work you done so far , I was wounding if you can add more example demos about communication between Two user using DzTalkApp
lets say user1 select user2 to chat with , how would we implement that thanks alot and have a nice day
ps : Can  DzTalkApp  support Fmx  ? thank you

Hi @toufikben
The DzTalkApp component is supposed to use for send data between two running applications in the same user session on Windows environment.
Maybe you are looking for DzSocket: It's a component made for send and receive messages between two or more users using client/server scenario, through Network and/or Internet.
Get it here: https://github.com/digao-dalpiaz/DzSocket
You can simulate chat functionality running two instances of demo app.
Thanks.
Best regards.

@toufikben,
I just created a FMX Chat demo application in DzSocket.
Please take a look at: https://github.com/digao-dalpiaz/DzSocket/tree/master/Demos/ChatDemoFMX


feat(LightProfinite): a sequential limit of surjections is surjective

[x] depends on: #13319

Is not it possible to deduce this from the results in CategoryTheory.CofilteredSystem? (The API may have to be slightly developed though.)

Is not it possible to deduce this from the results in CategoryTheory.CofilteredSystem? (The API may have to be slightly developed though.)

That file deals mostly with cofiltered systems of finite sets. Here I have a cofiltered system (indexed by N^op) of light profinite sets, possibly inifinite. It is surely possible, however, to deduce this from a similar statement about inverse systems in Type _, because the forgetful functor from LightProfinite to Type _ preserves the limits in question.

Fixed the name

Thanks!
maintainer merge

bors merge


Cannot use with populate

Hi, when trying to add Blocks using populate (https://github.com/dnadesign/silverstripe-populate) it crashes:

Creating faq (ContentSectionBlock)
ERROR [User Error]: Uncaught SS_DatabaseException: Couldn't run query:

SELECT MAX("SortOrder")
FROM "Block"
WHERE "ParentID" =

Somehow the Parent relation is added after creating it first?
Changing Block::onBeforeWrite to
if (!$this->exists() && !$this->SortOrder && $this->ParentID) {

fixes this problem locally.

Interesting. So when you populate the blocks, you don't set their parent-id? How do you establish the relation to the pages?
The problem with your fix is, that it will probably never write the sortorder, since once it's written the $this->exists() check will return true.
I guess it makes more sense to reduce the check to SortOrder and ParentID then…


Get data from large regions when using NASAPOWER

Implement data gathering from large geographic areas.
library("climatrends")

lonlat <- data.frame(lon = c(-4.96, 11.09),
                     lat = c(37.82, 60.80))

# random dates within 2018-05-15 and 2018-05-2
set.seed(321)
dates <- as.integer(runif(2, 17666, 17670))
dates <- as.Date(dates, origin = "1970-01-01")

# get temperature indices for 40 days after day.one
temperature(lonlat,
            day.one = dates,
            span = 40)

Error:
Please provide correct bounding box values. The bounding box
can only enclose a max of 10 x 10 region of 0.5 degree values
or a 5 x 5 region of 1 degree values, (i.e. 100 points total).

Solved here https://github.com/agrobioinfoservices/climatrends/commit/d35f907bd4b7c8dad310944dac6a74f57ea5c1f7
library("climatrends")

lonlat <- data.frame(lon = c(-4.96, 11.09),
                     lat = c(37.82, 60.80))

# random dates within 2018-05-15 and 2018-05-2
set.seed(321)
dates <- as.integer(runif(2, 17666, 17670))
dates <- as.Date(dates, origin = "1970-01-01")

# get temperature indices for 40 days after day.one
temperature(lonlat,
            day.one = dates,
            span = 40)

Getting climate data from NASA POWER

Fetching data for 2 regions with 5 x 5 arc-degree

  maxDT minDT maxNT minNT   DTR    SU    TR   CFD
  <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
1 37.79 19.92 19.56 10.92 13.53 13.00  0.00  0.00
2 26.64 11.37 15.26  2.21 10.36  0.00  0.00  0.00


[BEAM-10925] Create interface for SQL Java aggregate function.

R: @amaliujia @kennknowles

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Just checking: the interface for a SQL aggregation function is "can give you a CombineFn"? I understand this is the current status of UDAFs. Is that where we want to leave it? I think the main value of a separate interface (style nit: prefer to separate the interface from this particular implementation) would be a slight decoupling.
(non-blocking, just questions & comments & I'll leave it to others)

If we don't expose CombineFn in interface, I think what we will end is a similar interface design to current CombineFn: we will ask users to offer implementations init accumulator, add input, merge accumulator, extract, then in implementation we will create CombineFn wrapper.
The benefits for this decoupling seems little given CombineFn is a stable API in Beam.

Also from potential user's requetes, there are existing CombinFn implementation and they want use those as UDAF. This is different case from scalar fn that rewrite CombinFn into our UDAF API may be non-trivial.

CombineFn is stable, but UDAF is not. One example is that a UDAF has to have a SQL type. Right now this is not represented on the UDAF object but is implied. That might change. Personally, I would make the type part of the UDAF object. If you look at any other SQL product's definition of UDAFs you will see lots of extra metadata (postgresql, mssql).
A decoupled interface and trivial wrapper have obvious benefits and no real downside.

I am not sure if I have understand:

One example is that a UDAF has to have a SQL

This interface is the implementation interface of a UDAF, not a definition. Function definition should provide SQL types, but definition in our case is the CREATE FUNCTION statement.

How do we determine the name of the UDAF? Should there be a name method? Is there another interface for discovering these?

I will add another interface to discover these after this PR and #13305 are merged. Something like this:
https://github.com/ibzib/beam/blob/0499c8f08839a9846ecb726b78eef738d21d0052/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/UdfProvider.java

As requested I rewrote this without a dependency on Beam Java core. Right now it is a shameless copy-paste of some stuff from CombineFn, since the implementation will still depend on CombineFn anyway. But now we're decoupled at the API level, so we have more flexibility to make whatever changes are needed later (such as Kenn's suggestion to add a SQL type).

I don't agree in this case that creating a wrapper is trivial. For UDAF/CombeFn, I think it is non-trival work to create the wrapper.

There already is a wrapper that's basically the same as what we're doing here: https://github.com/apache/beam/blob/release-2.25.0/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/transform/agg/AggregationCombineFnAdapter.java
Anyway, I will figure it out :)

I think there is a experimental annotation is missing.

Experimental itself is a part of Beam java core: https://github.com/apache/beam/blob/486d23007dac513f9f90bb08c2a039cd72a7ec94/sdks/java/core/src/main/java/org/apache/beam/sdk/annotations/Experimental.java
I added a note to the javadoc instead.


Print final heap invariants

Is there a way to see the assignment that the solver picked for the heap invariants? I'm working on passing the caller ID around and introduced some unsoundness, but it's nasty to debug without seeing what the solver does.

Option -solution?

Ah ... didn't know this was working. It's disabled if we have a timeout set for the solver - see this line. Could we change that?

found a way of printing, so lets close this for now.


Added FileHandleResolver reference

Added final reference to the FileHandleResolver used by the AssetManager instance. This is primarily intended for use with custom Loaders who want to make use of the same FileHandleResolver as the asset manager after it has already been instantiated.

Rewriting PR from local copy to make it cleaner with original code


keep existing closure annotations

Certain closure annotations have not equivalent in TS, especially the
ones concerned with minification, not type-checking (like @export). The
authors of the code will have to write them in TS and sickle should perserve
them.
Closes #12

Added a test for a non jsdoc comment.

merged

Note: this doesn't quite work, see issue #22.


Update new NavigationRail APIs

Is your feature request related to a problem? Please describe.
As Flutter goes beyond mobile and the mobile manufacturers are building devices of different form factors curved, foldable and dual display devices, The viewport size is highly dynamic.
Describe the solution you'd like
Integrate Drawer with a configurable breakpoint to switch from navbar or Just make the existing NavigationRail Expandable along with all the new APIs

[ ] Expose Width of NavigationRail: https://github.com/maheshmnj/navbar_router/issues/44

[ ] Expose  Leading, trailing and groupAlignment parameters

Before implementing this feature we should perhaps separate Properties of NavigationRail decoration from NavbarDecoration and add a parameter ExtendedDecoration


Updating Series.dims on Series.applyKeys

Currently, calling Series.applyKeys returns a new Series copies the value of the Series.dims property from the original Series. However, a call to Series.applyKeys is very likely to change the range of the keys, so this may not be appropriate.
Example:
In [49]: data.dims
Out[49]: Dimensions(values=[(0, 0, 0), (75, 86, 1)], n=3)

In [50]: data.applyKeys(lambda k: tuple([i-1 for i in k])).dims
Out[50]: Dimensions(values=[(0, 0, 0), (75, 86, 1)], n=3)

Unfortunately, the fix here is not entirely straight-forward, as applyKeys is define on Data but dims is defined down a level, separately on Images and Series. This means that, at the level it is defined, applyKeys does not have access to the dims property. One possibility would be to override applyKeys on Series and have it call the super(Series, self).applyKeys as well as resetting dims to None (perhaps after checking for a no-op on the function applied to the keys).

There is definitely a solid use-case for Series -- I've been dealing with data that gets loaded in with the keys starting at 1 and I need to reindex them to start at 0 for later use of Series.pack. There may be similar use-cases on Images, in which case we might want to take a look at implementing a fix for this on Images as well.

I agree that your suggestion would solve the issue for now, but I'm generally in favor of reducing direct access to keys and values, especially with the transition to Bolt in mind, where direct access to keys should never be necessary as part of the public API, and shape information will be propagated correctly appropriately by other functions (like map).
This particular case might best be handled as an optional flag during loading, though I'm not sure that would handle every current use of applyKeys.
And note that in the case of images, the dims actually refers to the dimensions of the values, so the same issue arises for applyValues, but there's no metadata that's key-specific.

That makes a lot of sense. The one thing I would add is that, at least for Series, access to the keys will still remain essential all the way up until Bolt has a sparse array, which could be a ways off.
Should we try to implement something to fix this for now?


Daylight saving time support in Date and DateInRegion

Added .DSTOffset in DateInRegion: it returns the value (in seconds)  of the daylight saving time offset of the represented date.
Added . nextDSTTransitionDate in DateInRegion: it returns the next daylight saving time transition after currently represented date when expressed.
Added nextDSTTransitionDate() func in Date to return the next dst transition date when receiver is expressed in a particular timezone
Added DSTOffset() func in Date to return the offset of daylight saving time when receiver is expressed in a particular timezone
Added isDST() func in Date to return if receiver date uses daylight saving time when expressed in a particular timezone

Added in https://github.com/malcommac/SwiftDate/commit/8ce71b172bd8f87511b567ffd9043e851296c256


Converted literature review to a Markdown file

Converted the .txt file to a .md file and added a link from the docs/README.md to it, so that it's more accessible from the GitHub interface.

There's a lot of commits here for some reason. It looks like I somehow unsquashed some of the old commits? Regardless, there's only 3 files that have been changed/created in the diff.


PHP 8.0 support

Issue #74

Q
A

New Feature
yes

Description

[x] Modify composer.json to provide support for PHP 8.0 by adding the constraint ~8.0.0
[x]  Modify composer.json to drop support for PHP less than 7.3
[x] Modify composer.json to implement phpunit 9.3 which supports PHP 7.3+
[x] Modify .travis.yml to ignore platform requirements when installing composer dependencies (simply add --ignore-platform-reqs to COMPOSER_ARGS env variable)
[x] Modify .travis.yml to add PHP 8.0 to the matrix (NOTE: Do not allow failures as PHP 8.0 has a feature freeze since 2020-08-04!)
[x] Modify source code in case there are incompatibilities with PHP 8.0

@boesing I just added PHP 8.0 to the matrix in travis.yml, anything else?

You have to use nightly in travis as there is no 8.0 version available yet.
After this, you can convert your PR to Ready for review by yourself and then we'll see what travis says 👍

Perfect

@jfernancordova Please check mezzio/mezzio-cors .travis.yml to see how you have to change the .travis.yml to finish this PR. Just ignore the allow_failures part as this is fixed in a PR in that repository.

@boesing it's failing for laminas/laminas-uri, do you think that upgrading this dependency, could it solve this error in travis?

--ignore-platform-reqs should never be used. it does not just ignore ext-foo requirement, but also PHP version dependency installing packages that are not compatible at all with the runtime. for example running in 5.6 installing package resolving that requires PHP 7.1 and then execution results fatal errors due invalid syntax.
if you don't have ext-foo installed, fake it with local composer config platform.ext-foo '0' instead.
example:

https://github.com/eventum/eventum/blob/v3.9.0/bin/releng/configure.sh#L11-L13

--ignore-platform-reqs should never be used. it does not just ignore ext-foo requirement, but also PHP version dependency installing packages that are not compatible at all with the runtime. for example running in 5.6 installing package resolving that requires PHP 7.1 and then execution results fatal errors due invalid syntax.
if you don't have ext-foo installed, fake it with local composer config platform.ext-foo '0' instead.

Thanks for the information.
You are right, its not a good solution. However, this is the only way to initially provide PHP 8.0 support on packages. Since we are not using composer v2 which wont happen in the near future anyways, there is no way to use --ignore-platform-req=php and thus, we have to use --ignore-platform-reqs. Without ignoring platform reqs, this package is not testable by travis.
However, this should not be used in upstream projects but for travis this is absolutely fine.

we have to use --ignore-platform-reqs.

that is incorrect. what is the error you trying to avoid with the flag?

we have to use --ignore-platform-reqs.

that is incorrect. what is the error you trying to avoid with the flag?

I want to avoid having trouble with 3rd-party composer dependencies which are not yet PHP 8.0 compatible as no dependency wont install when one of them are not compatible (yet).
Lets take laminas/laminas-uri for example. You wont be able to use composer install unless you either provide --ignore-platform-reqs (to ignore that the package is not yet compatible with PHP 8.0) or by using --no-dev.
Feel free to resolve dependency tree on PHP 8.0 without passing --ignore-platform-reqs.

@jfernancordova As you can see, the tests are still failing. This is due to the fact that there are some strange circulare dependencies going on in this package.
Please run composer test locally. You will see several problems which needs to get fixed (as there are missing methods such as assertAttributeSame and deprecations for prophecy).
You can use phpspec/prophecy-phpunit as a dev dependency and add the trait to the tests which are using the prophesize method.
To resolve dependencies, you can temporarily add "version": "2.14.0", to the composer.json (but please do not commit that as this is only needed locally). When you've added phpspec/prophecy-phpunit you can remove the version property from composer.json as the dependency tree should be resolved locally.
@Ocramius @weierophinney Any ideas how to solve such circular dependencies in the future? Is there a way of adding the version property to composer.json from within the automatic-releases?

@jfernancordova As you can see, the tests are still failing. This is due to the fact that there are some strange circulare dependencies going on in this package.
Please run composer test locally. You will see several problems which needs to get fixed (as there are missing methods such as assertAttributeSame and deprecations for prophecy).
You can use phpspec/prophecy-phpunit as a dev dependency and add the trait to the tests which are using the prophesize method.
To resolve dependencies, you can temporarily add "version": "2.14.0", to the composer.json (but please do not commit that as this is only needed locally). When you've added phpspec/prophecy-phpunit you can remove the version property from composer.json as the dependency tree should be resolved locally.
@Ocramius @weierophinney Any ideas how to solve such circular dependencies in the future? Is there a way of adding the version property to composer.json from within the automatic-releases?

Ok. let me check.

@boesing, I fixed all tests and executed composer test locally, however, I'm seeing the Build from travis CI, and other dependencies such as: laminas/laminas-http are not working with laminas/laminas-validator, can you suggest any solution for this?, thx

@jfernancordova You can add "version": "2.14.0" to composer.json in a single commit.
After that, push to your branch. Let travis do its job.

When everything is green, hooray. Copy the link to the test-results and paste them in here.
If not, try to determine the problems and fix them and post the link to the green test-results here.

When done, drop the commit from history and force-push back to your branch 👍
Not sure if there is a better way but thats what comes to my mind.

@jfernancordova You can add "version": "2.14.0" to composer.json in a single commit.
After that, push to your branch. Let travis do its job.
* When everything is green, _hooray_. Copy the link to the test-results and paste them in here.

* If not, try to determine the problems and fix them and post the link to the green test-results here.

When done, drop the commit from history and force-push back to your branch +1
Not sure if there is a better way but thats what comes to my mind.

Hi @boesing, this is the link: https://travis-ci.com/github/laminas/laminas-validator/builds/190545033, I hope it's ok.

@boesing what do you think?, I just changed some code and fixed all tests, anything else?

@boesing Adding TEST_COVERAGE is returning an error like: PHP Fatal error:  Uncaught Error: Maximum function nesting level of '256' reached, aborting! in /home/travis/build/laminas/laminas-validator/vendor/nikic/php-parser/lib/PhpParser/NodeAbstract.php. I think it's about of php.ini configuration file.

@boesing Before removing the composer's version, all tests are green!
https://travis-ci.com/github/laminas/laminas-validator/builds/197589684

please update laminas-http require-dev to ^2.14

please update laminas-http require-dev to ^2.14

Ok!

Hey guys, is there any way to push this through donations? We are depending on this package to support PHP8 for this package: https://github.com/beyondcode/expose/pull/163

Hey guys, is there any way to push this through donations? We are depending on this package to support PHP8 for this package: https://github.com/beyondcode/expose/pull/163

Per https://github.com/laminas/laminas-validator/pull/79#discussion_r550776411 , can we remove laminas/laminas-cache as a dev dependency? Couldn't find a single reference to caches in this repo: find . -iname '*.php' -exec grep -i 'Cache' {} \;

Per https://github.com/laminas/laminas-validator/pull/79#discussion_r550776411 , can we remove laminas/laminas-cache as a dev dependency? Couldn't find a single reference to caches in this repo: find . -iname '*.php' -exec grep -i 'Cache' {} \;

Hi @weierophinney, As you can see, reverting the changes from inArray.php class, break the tests with PHP 8.0, https://travis-ci.com/github/laminas/laminas-validator/jobs/468944524, that's why I changed the code, the native function in_array seems not working as the previous version!

Hi @weierophinney, As you can see, reverting the changes from inArray.php class, break the tests with PHP 8.0, https://travis-ci.com/github/laminas/laminas-validator/jobs/468944524, that's why I changed the code, the native function in_array seems not working as the previous version!

@jfernancordova thank you so much for your work on this!

@jfernancordova thank you so much for your work on this!

@jfernancordova —

reverting the changes from inArray.php class, break the tests with PHP 8.0, https://travis-ci.com/github/laminas/laminas-validator/jobs/468944524, that's why I changed the code, the native function in_array seems not working as the previous versions.
However, I'm going to create another PR with the new changes and their tests for inArray validator.

I'm fine with including the changes here; in fact, since the PHP 8 tests fail without them, then we need them before merging. I just didn't understand why you weren't using in_array() directly, and there were no comments in the code to indicate why.
Speaking of: it may be good to create a bug on bugs.php.net about this. The PHP 8 changelog does not mention anything about the change in behavior, and I don't see any bugs currently filed around it.

@jfernancordova —

reverting the changes from inArray.php class, break the tests with PHP 8.0, https://travis-ci.com/github/laminas/laminas-validator/jobs/468944524, that's why I changed the code, the native function in_array seems not working as the previous versions.
However, I'm going to create another PR with the new changes and their tests for inArray validator.

I'm fine with including the changes here; in fact, since the PHP 8 tests fail without them, then we need them before merging. I just didn't understand why you weren't using in_array() directly, and there were no comments in the code to indicate why.
Speaking of: it may be good to create a bug on bugs.php.net about this. The PHP 8 changelog does not mention anything about the change in behavior, and I don't see any bugs currently filed around it.

@jfernancordova —

reverting the changes from inArray.php class, break the tests with PHP 8.0, https://travis-ci.com/github/laminas/laminas-validator/jobs/468944524, that's why I changed the code, the native function in_array seems not working as the previous versions.
However, I'm going to create another PR with the new changes and their tests for inArray validator.

I'm fine with including the changes here; in fact, since the PHP 8 tests fail without them, then we need them before merging. I just didn't understand why you weren't using in_array() directly, and there were no comments in the code to indicate why.
Speaking of: it may be good to create a bug on bugs.php.net about this. The PHP 8 changelog does not mention anything about the change in behavior, and I don't see any bugs currently filed around it.

You're right, I did not explain why I removed the code, especially why I did not use the in_array() function.
Would you like me to fix InArray validator class adding why I don't use the in_array() in this PR?
It would be the same before reverting the requested changes.

@jfernancordova —

reverting the changes from inArray.php class, break the tests with PHP 8.0, https://travis-ci.com/github/laminas/laminas-validator/jobs/468944524, that's why I changed the code, the native function in_array seems not working as the previous versions.
However, I'm going to create another PR with the new changes and their tests for inArray validator.

I'm fine with including the changes here; in fact, since the PHP 8 tests fail without them, then we need them before merging. I just didn't understand why you weren't using in_array() directly, and there were no comments in the code to indicate why.
Speaking of: it may be good to create a bug on bugs.php.net about this. The PHP 8 changelog does not mention anything about the change in behavior, and I don't see any bugs currently filed around it.

You're right, I did not explain why I removed the code, especially why I did not use the in_array() function.
Would you like me to fix InArray validator class adding why I don't use the in_array() in this PR?
It would be the same before reverting the requested changes.

Would you like me to fix InArray validator class adding why I don't use the in_array() in this PR?
It would be the same before reverting the requested changes.

Yes, please!

Would you like me to fix InArray validator class adding why I don't use the in_array() in this PR?
It would be the same before reverting the requested changes.

Yes, please!

Hi again @weierophinney! I started to modify the inArray validator, I realized that I did not need some functions I added, just changed the way of conditionals and using in_array() function, I ask you again if you want to explain this way but I think it is implicit.

Hi again @weierophinney! I started to modify the inArray validator, I realized that I did not need some functions I added, just changed the way of conditionals and using in_array() function, I ask you again if you want to explain this way but I think it is implicit.

It was an amazing experience! Thanks for everything @boesing @glensc @weierophinney @Ocramius

It was an amazing experience! Thanks for everything @boesing @glensc @weierophinney @Ocramius

thank you for your work on PHP8 support! when do you plan to release this?

thank you for your work on PHP8 support! when do you plan to release this?

There's a few other PRs marked for the 2.14.0 release that I'm reviewing and helping complete now; hopefully later today, but it may be tomorrow.

There's a few other PRs marked for the 2.14.0 release that I'm reviewing and helping complete now; hopefully later today, but it may be tomorrow.


Add log streaming to IFilesClient

Since the files and logs tree items are so closely related I added the items needed to support log streaming into IFilesClient.
These changes shouldn't be breaking. I tested the changes with functions, and app service.

Could you put up the PRs that demonstrate these changes?


Update for the doc

Works perfectly for me but the doc is out of date for switching to local storage on angular 2.0.
This will work with angular 2.0:
providers: [
CacheService,
{provide: CacheStorageAbstract,  useClass:CacheLocalStorage }
]
Cheers

Thank you for your feedback again :) Will check

Fixed, thanks again


Add Command History functionality

This pull request introduces a new CommandHistory class to manage the history of commands entered by the user and includes comprehensive unit tests to ensure its functionality.
New Features:

src/main/java/seedu/address/ui/util/CommandHistory.java: Added the CommandHistory class to manage user command history, including methods to add commands and navigate through the history.

Unit Tests:

src/test/java/seedu/address/ui/CommandHistoryTest.java: Added unit tests for the CommandHistory class, covering scenarios such as adding commands, retrieving previous and next commands, and edge cases like empty history and resetting the history index after adding a new command.

Codecov failure is due to changes in UI in CommandBox.java, which will not be unit tested.
UI utility (i.e. CommandHistory.java) has 100% coverage.


efficiency field of table cars is empty

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
I've been using teslamate for about a month, with 1000+ km logged distance, and number of charges is 6.
Consumption and Efficiency is empty in some Dashboards.
efficiency dashboard:

drives dashboard:

trip dashboard:

battery-health-lfp dashboard:

I dived into and found that the problem is, the efficiency filed of table cars is empty.

I found the FAQ page has some explanation about this: https://docs.teslamate.org/docs/faq/#why-are-no-consumption-values-displayed-in-grafana
But I already have 6 charging sessions and the charging sessions have been longer than 10 minutes and less than 95% state-of-charge (SoC).
Sorry but I don't have experience about  Elixir so can't figure out the problem.
Expected Behavior
efficiency filed of table cars is not to be empty.
Steps To Reproduce
No response
Relevant log output
None

Screenshots
list of charges records:

Additional data
No response
Type of installation
Docker
Version
1.28.5

Charging sessions have to be longer than 10 minutes and less than 95% state-of-charge (SoC).

All of your charges go to 100%. Perform two charge sessions to 95% and report back.

Charging sessions have to be longer than 10 minutes and less than 95% state-of-charge (SoC).

All of your charges go to 100%. Perform two charge sessions to 95% and report back.

I have solved the problem following the method you suggested. Thx~ @cwanja


Radio button with Expandable functionality is not working

Hi Mike,
Hope you're doing well.
Radio button kind of functionality with expandable in same item is not working.
I've item which has one shopping cart icon and text views. I need to highlight only one shopping cart at a time when pressed. This functionality is working fine.
When item is clicked(except shopping cart icon), item expands and shows details about that item.
Issue occurs when I click item which actually expands the item and then shopping cart icon. Multiple shopping cart icon starts getting highlighted instead of one at a time.
I've implemented this expandable item functionality with radio button(i.e. shopping cart icon) in ViewPager Fragment.
Please suggest, where's the issue
Attached are the files which I've used for this.
Have a great day ahead, many thanks.
Best Regards,
Sumit
item.xml.txt
viewpagerFragment Layout.xml.txt
viewpagerFragment_itemview_clicklistener.java.txt
item.java.txt

@sumitsahu2207 you have to check in your code that there are not more than one selection. The radioButton itself won't deselect other radiobuttons as they do not know about each other.
Thanks for the sample code, but I would need a whole sample application to test this.

Thanks Mike. Let me check this.

Ok great.

Hi Mike,
I couldn't fix this issue. Shopping cart icon(kind of radio button) is already working fine. But as expandable item functionality is also linked with the same item, it's interfering in item selections.
Would you require whole app code or just whole activity and its fragment, layouts and corresponding code will do.
Best Regards
Sumit

Hi Mike,
1st Image is when activity starts.
2nd Image is when one shopping cart icon clicked. It changes to Blue from grey
3rd Image I've expanded one of item and tried selecting other item. Other item shopping cart icon also changes to blue from grey.
Basically i'm expecting only one shopping item to be blue at a time.

Hi Mike,
You must be busy, but did you get a chance to look into this issue.
Thanks.

how do you handle the selected state of an icon? do you have it set via a ColorStateList or do you define it in the `onClick? how would you expect to remove the selected icon again when a new icon is clicked?
In general the FastAdapter would not call bind if an item is no longer selected, it will just set the state of the item to normal.
If you need the bindView call to be done change the mode of the FastAdapter to call the bind method upon a change:
https://github.com/mikepenz/FastAdapter/blob/develop/library-core/src/main/java/com/mikepenz/fastadapter/FastAdapter.java#L196

Thank you for your reply Mike :)
I'm not using ColorStateList, instead i was trying with below logic in item bindView using isSelected() method.
    if (isSelected()){
       viewHolder.mItemBasketSelectedYes.setVisibility(View.VISIBLE);
        viewHolder.mItemBasketSelectedNo.setVisibility(View.GONE);
    }else {
          viewHolder.mItemBasketSelectedYes.setVisibility(View.GONE);
        viewHolder.mItemBasketSelectedNo.setVisibility(View.VISIBLE);
    }

And Below Shopping Basket View Click Listener is in Fragment:
    //a custom OnCreateViewHolder listener class which is used to create the viewHolders
    //we define the listener for the imageLovedContainer here for better performance
    //you can also define the listener within the items bindView method but performance is better if you do it like this
    fastAdapterService.withOnCreateViewHolderListener(new FastAdapter.OnCreateViewHolderListener() {
        @Override
        public RecyclerView.ViewHolder onPreCreateViewHolder(ViewGroup parent, int viewType) {
            return fastAdapterService.getTypeInstance(viewType).getViewHolder(parent);
        }

        @Override
        public RecyclerView.ViewHolder onPostCreateViewHolder(final RecyclerView.ViewHolder viewHolder) {
            //we do this for our ServicePackage.ViewHolder
            if (viewHolder instanceof ServicePackage.ViewHolder) {
                //if we click on the rl_basket_container (mItemBasketContainer)
                mClickListenerHelper.listen(viewHolder, ((ServicePackage.ViewHolder) viewHolder).mItemBasketContainer, new ClickListenerHelper.OnClickListener<ServicePackage>() {
                    @Override
                    public void onClick(View v, int position, ServicePackage item) {

                            Set<Integer> selections = fastAdapterService.getSelections();
                            if (!selections.isEmpty()) {
                                int selectedPosition = selections.iterator().next();
                                fastAdapterService.deselect();

//                                    ServicePackage servicePackage = (ServicePackage) fastAdapterService.getItem(selectedPosition);
//                                    servicePackage.withPressed(false);
fastAdapterService.notifyItemChanged(selectedPosition);
}
fastAdapterService.select(position);
//                                item.withPressed(true);
//                                fastAdapterService.notifyItemChanged(position);
                        mListener.onServiceFragmentClick(item,serviceSubCategoryIndex); //Send back clicked Service Package

                    }
                    });
                }

            return viewHolder;
        }
    });

I've below click listener in item (which is for animating when expands/collapses)
//we define a clickListener in here so we can directly animate
final private FastAdapter.OnClickListener<ServicePackage> onClickListener = new FastAdapter.OnClickListener<ServicePackage>() {
    @Override
    public boolean onClick(View v, IAdapter adapter, ServicePackage item, int position) {

//            if(item.mPressed){
//                item.setItemSelected(true);
//            }else {
//                item.setItemSelected(false);
//            }
//            return true;
        if (item.getSubItems() != null) {
            if (!item.isExpanded()) {

//                    ViewCompat.animate(v.findViewById(R.id.material_drawer_icon)).rotation(180).start();
} else {
//                    ViewCompat.animate(v.findViewById(R.id.material_drawer_icon)).rotation(0).start();
}
return mOnClickListener != null ? mOnClickListener.onClick(v, adapter, item, position) : true;
}
        return mOnClickListener != null ? mOnClickListener.onClick(v, adapter, item, position) : false;

    }
};

I've tried with many combination (using sepearate mPressed fields also for button press tracking). but it's not working.
I've noticed that when item expands/collapse view  basket view 'rl_basket_container' listener get called once for 'item' and 'subitem' so when I tried to use 'mPressed' field it throws 'Cannot Cast Subitem to Item' error. As they're of different type.
In general, clicking basket icon works until item is not expanded. Since I guess, it selects item which changes whole basket icon color selection logic.
Thanks,
Sumit

Perhaps it is easier if you send me some running code project via email
which I can test and adjust. Just remove project specific code
sumitsahu2207<EMAIL_ADDRESS>schrieb am Fr., 2. Dez. 2016,
23:26:

Thank you for your reply Mike :)
I'm not using ColorStateList, instead i was trying with below logic in
item bindView using isSelected() method.
if (isSelected()){
   viewHolder.mItemBasketSelectedYes.setVisibility(View.VISIBLE);
    viewHolder.mItemBasketSelectedNo.setVisibility(View.GONE);
}else {
      viewHolder.mItemBasketSelectedYes.setVisibility(View.GONE);
    viewHolder.mItemBasketSelectedNo.setVisibility(View.VISIBLE);
}

And Below Shopping Basket View Click Listener is in Fragment:
//a custom OnCreateViewHolder listener class which is used to create the viewHolders
//we define the listener for the imageLovedContainer here for better performance
//you can also define the listener within the items bindView method but performance is better if you do it like this
fastAdapterService.withOnCreateViewHolderListener(new FastAdapter.OnCreateViewHolderListener() {
    @Override
    public RecyclerView.ViewHolder onPreCreateViewHolder(ViewGroup parent, int viewType) {
        return fastAdapterService.getTypeInstance(viewType).getViewHolder(parent);
    }

    @Override
    public RecyclerView.ViewHolder onPostCreateViewHolder(final RecyclerView.ViewHolder viewHolder) {
        //we do this for our ServicePackage.ViewHolder
        if (viewHolder instanceof ServicePackage.ViewHolder) {
            //if we click on the rl_basket_container (mItemBasketContainer)
            mClickListenerHelper.listen(viewHolder, ((ServicePackage.ViewHolder) viewHolder).mItemBasketContainer, new ClickListenerHelper.OnClickListener<ServicePackage>() {
                @Override
                public void onClick(View v, int position, ServicePackage item) {

                        Set<Integer> selections = fastAdapterService.getSelections();
                        if (!selections.isEmpty()) {
                            int selectedPosition = selections.iterator().next();
                            fastAdapterService.deselect();

// ServicePackage servicePackage = (ServicePackage)
fastAdapterService.getItem(selectedPosition);
// servicePackage.withPressed(false);
fastAdapterService.notifyItemChanged(selectedPosition);
}
fastAdapterService.select(position);
// item.withPressed(true);
// fastAdapterService.notifyItemChanged(position);
                    mListener.onServiceFragmentClick(item,serviceSubCategoryIndex); //Send back clicked Service Package

                }
                });
            }

        return viewHolder;
    }
});

I've below click listener in item (which is for animating when
expands/collapses)
//we define a clickListener in here so we can directly animate
final private FastAdapter.OnClickListener onClickListener = new FastAdapter.OnClickListener() {
@Override
public boolean onClick(View v, IAdapter adapter, ServicePackage item, int position) {
// if(item.mPressed){
// item.setItemSelected(true);
// }else {
// item.setItemSelected(false);
// }
// return true;
    if (item.getSubItems() != null) {
        if (!item.isExpanded()) {

//
ViewCompat.animate(v.findViewById(R.id.material_drawer_icon)).rotation(180).start();
} else {
//
ViewCompat.animate(v.findViewById(R.id.material_drawer_icon)).rotation(0).start();
}
return mOnClickListener != null ? mOnClickListener.onClick(v, adapter,
item, position) : true;
}
    return mOnClickListener != null ? mOnClickListener.onClick(v, adapter, item, position) : false;

}

};
I've tried with many combination (using sepearate mPressed fields also for
button press tracking). but it's not working.
I've noticed that when item expands/collapse view basket view
'rl_basket_container' listener get called once for 'item' and 'subitem' so
when I tried to use 'mPressed' field it throws 'Cannot Cast Subitem to
Item' error. As they're of different type.
In general, clicking basket icon works until item is not expanded. Since I
guess, it selects item which changes whole basket icon color selection
logic.
Thanks,
Sumit
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/mikepenz/FastAdapter/issues/277#issuecomment-264579316,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABaGiHwpiOjJMLD24ERoPI9fahOpM1pmks5rEJsNgaJpZM4K8nuS
.

--
Mike Penz

Mike Penz
Android | Backend | Open Source | Web Developer
mikepenz.com
lanora.io

Sure Mike, I'll send one working sample to your email id -<EMAIL_ADDRESS>thank you so much.

Hi Mike,
I've sent the sample app to you, please check.
Thanks.

Sent you the fixed source.
It was no library issue, just some bad configuration and the requirement that an update is done when selecting / deselecting.
beside removing a tiny bit of code and letting the fastadapter do it's magic, correct configuration and enabling: https://github.com/mikepenz/FastAdapter/blob/develop/library-core/src/main/java/com/mikepenz/fastadapter/FastAdapter.java#L196 I did nothing :)

Thank you so much Mike, it works now :)

sorry mike, I see different logic, actually I wanted to change color of shopping basket only when basket selected not item. when item selects it should just expand. I'll look into that

I got it working finally, thanks.
Your kind help is much appreciated :)


Bootstrap:TitleBar breaks site

Content disappears, only menu bar shows at the top, and no links work.
:( A pity because this really is a nice skin.

Same thing happens with me... also error with footer 👎


Maintain state across events

There have been multiple requests for the ability to reference values of previous events in new events, however we currently only maintain state within a single event.  I'm creating this ticket to track interest in this feature.  Unfortunately this isn't an easy feature to implement as we would have to track each event generated which would mean we would need a cache of some kind. There would also need to be a way to reference other events that I'm not sure how people would know which event they want to pull values from.
If you have any comments about this feature, please add them below.

Request from Twitter: https://twitter.com/MrPerson_BusInt/status/875339735182344194

Could it be done with variables?
Idea:

Setup a variable in the Workflow Definition populate from the builtin functions or static
Reference that variable globally
Option to regenerate on each Workflow Repeat or generate once per instance.

Unfortunately I am no developer so I dont know the level of effort.

There is a work around to mimic this functionality. However it has its own set of draw backs. If you place all your original configs inside a parent config as a list. You can reference the generated values that you need to share across events, as it is w/in the same event. This method has many draw backs and hinders the usefulness of this project.
You could use the log provider and then create another app that reads the file skips the parent and submits the nested events to kafka or something else.


Z-index issue with dropdown

We've used your library in a Power BI custom control which is hosted in a Power BI Report. The report is then hosted in an iframe on a website.  The standard browser's dropdown overlaps above the rest of the content. Your dropdown div does not (see attached examples).  I've tried setting a crazy high z-index but that seems to have no effect on the problem.
Please let me know if you can suggest any sort of workaround for this.  You can see it firsthand here: https://floridahealthfinder-test.azurewebsites.net/QueryTool/QTResults.aspx?T=I

I checked the page. The problem is that the  container of the filters has z-index: 0, and the  container of the grid has z-index: 1000. Also, the filters are inside an iframe. Any change in z-index for the options panel won't do any effect.
I've wanted to update the control to attach the options panel directly to the body, so it appears on top regardless of the rest of the page. But even so, you might still have problems with the iframe. You'd need to fix the z-index for the  tags anyway.
I haven't got time to make that update, but I'll do it as soon as I can, and we'll see if that solves your issue.

I noticed that the first  tag has z-index of 0 and that setting it higher fixes the problem, but unfortunately a power bi custom visual has no practical means of controlling that. I've tried multiple ways.

I also noticed that the problem is more pronounced in Edge browser than Chrome.

I think I have a kludge workaround for now, but it's fragile. I think making the body the parent of that dropdown window would probably fix it.

I made a new release for the component. As said before, I display the options at the  level, with z-index: 1000. If a bigger value is needed just set it for .multi-select-options-overlay in your stylesheet.
Please check if this one fixes the issue.

Unfortunately, if I build the custom PBI visual with your current code, the dropdown stops working at all. Had to back out the changes.

The powerBI report page is hosted within an iframe (different domain) so my website code cannot modify the content.  The custom control is hosted within an iframe internal to that content, but the z-index causing this whole problem is outside the control's iframe within that content. So my hands seem to be tied in terms of changing that z-index.

I'm wondering how the system dropdown still works. Maybe it is a window with no parent?


AzureML-Workspace Terraform Timeout

[Enter feedback here]
Creating a ML Workspace using Terraform and the example shown spends 30 minutes trying to create the workspace before failing. Please look into this issue.

A sad Cloud Engineer

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

ID: d2f4f315-331d-0a18-977b-4202d233fb19
Version Independent ID: ba1e6cd7-9daa-9a3b-131c-022b381d7101
Content: Manage workspaces using Terraform - Azure Machine Learning
Content Source: articles/machine-learning/how-to-manage-workspace-terraform.md
Service: machine-learning
Sub-service: core
GitHub Login: @denniseik
Microsoft Alias: deeikele

Must have been an Azure Outage. Working fine now :)


Suggestion - Extend ISwipeable

About this issue
I want to distinguish between items the do allow swipe left / swipe right / both. Currently I can only distinguish can swipe / can not swipe.
My suggestion is to extend the ISwipeable interface:
interface ISwipeable {
    /** @return true if swipeable */
    val isSwipeable: Boolean

    /** @return true if the provided direction is supported */
    fun isDirectionSupported(direction: Int) : Boolean = true
}

What do you think about this? It's a very small and backwards compatible change with the default implementation inside the interface. isDirectionSupported will only be called if isSwipeable return true.
Details

[x] Used library version: 5.4.1
[ ] Used support library version: androidx

@MFlisar being able to identify the swipeable direction makes sense.
How would the real implementation for isDirectionSupported look like?
Would a different interface not also fullfil this requirement? (As the implementation itself would also fall in the target apps responsibility it looks like?)

How would the real implementation for isDirectionSupported look like?

I do have items that do support "starting" them and sections, that do not support this. But both items do support delete. so I would use it like following:
In my case like following:
class ItemSection(val data: Data) : IItem, ISwipeable  {

	val isSwipeable: Boolean = true

	fun isDirectionSupported(direction: Int) : Boolean {
		return direction = ItemTouchHelper.RIGHT; // only right swipe is supported, sections can only be deleted and can't be started
	}

}

class Item(val data: Data) : IItem, ISwipeable  {

	val isSwipeable: Boolean = true

	fun isDirectionSupported(direction: Int) : Boolean {
		return true; // items can be started and deleted, so both swipe directions are supported
	}

}

Would a different interface not also fullfil this requirement?

Sure, but personally I think an interface with default implementation is more discoverable (especially if the features are so closely)

By the way, if backwards compatibility is not required, I would even replace the interface with following:
interface ISwipeable {
    fun isSwipeable(direction: Int) : Boolean
}

I'd opt for the backwards compatible form. Looked over it, and your proposal makes sense.
It will also need to be integrated SimpleSwipeDrawerCallback and SimpleSwipeCallback
Would you like to open a PR for this?

Would you like to open a PR for this?

Done

Thank you so much. Will be in the next update


Modularise config

Currently config for eternum works like this:

Setup Config based on some values in the EternumGlobal object and within the sdk
Import the global json and values within the sdk to the client to reflect the config that has been set

We need to get to this point:

SDK contains 'default' values for everything, no EternumGlobal values
Config can be setup by using these values or by passing a new EternumGlobal json file into the setup functions and importing into the client

Tasks todo:

[ ] Remove EternumGlobal dependencies from the SDK config. EternumGlobal should exist to be passed into the config, not be baked into it.
[ ] Allow passing of the EternumGlobal into the setup config which will adjust the default objects from the sdk
[ ] Create a typed version of the Eternum Global config, to allow for nicer devex
[ ] Import new EternumGlobal into the client

linked to #1110


syntax highlighting!!!

if youre wondering about light mode, code blocks already look messed up in light meo and github dark looks less messed up on light meo


Document the used PriorityClass by the registry cache Pods

How to categorize this PR?

/kind enhancement
What this PR does / why we need it:
The reasoning the choosing system-cluster-critical is:

When a request against the registry cache fails, containerd will retry the request against the upstream registry. When the registry cache is unavailable, a request times out in 30s and then the retry against the upstream happens. In that case, the image pull time increases significantly because containerd performs multiple requests (HEAD request to resolve the manifest by tag, GET request for the manifest by SHA, GET requests for blobs) and each of these requests times out in 30s. For example, image pull from the upstream for docker.io/library/alpine:3.13.2 takes ~2s while image pull of the same image with unavailable registry cache takes ~2m.2s. Another example - image pull from the upstream for eu.gcr.io/gardener-project/gardener/ops-toolbelt:0.18.0 takes ~10s while image pull of the same image with unavailable registry cache takes ~3m.10s.

Ref https://github.com/gardener/gardener-extension-registry-cache/pull/47
Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
N/A
Release note:

NONE

/test pull-gardener-e2e-kind-ha-single-zone-upgrade

/hold
until https://github.com/gardener/gardener-extension-registry-cache/pull/47 is merged

/unhold

/test pull-gardener-e2e-kind

The failure from the previous pull-gardener-e2e-kind run:

[FAILED] Expected success, but got an error:
<*errors.StatusError | 0xc0004581e0>:
Internal error occurred: failed calling webhook "clusterrole-machine-controller-manager.local.extensions.gardener.cloud": failed to call webhook: Post "https://gardener-extension-provider-local.extension-provider-local-2rrw4.svc:443/clusterrole-machine-controller-manager?timeout=5s": dial tcp <IP_ADDRESS>:443: connect: connection refused


Azure Functions Maven Plugin template doesn't include Kafka

This is not the issue, this is for tracking progress of the work. I'm not sure if RabbitMQ is planned or not.
Plugin name and version
1.10.1
Plugin configuration in your pom.xml
default
Expected behavior
mvn azure-functions:add includes Kafka (at least)
Actual behavior
Choose from below options as template for new function
0. HttpTrigger
1. BlobTrigger
2. QueueTrigger
3. TimerTrigger
4. EventGridTrigger
5. EventHubTrigger
6. CosmosDBTrigger
7. ServiceBusQueueTrigger
8. ServiceBusTopicTrigger

Steps to reproduce the problem
mvn archetype:generate -DarchetypeGroupId=com.microsoft.azure -DarchetypeArtifactId=azure-functions-archetype -DjavaVersion=8
https://github.com/Azure/azure-functions-core-tools/issues/2562

@pragnagopa

Issue: https://github.com/microsoft/azure-maven-plugins/issues/1197 is tracking adding RabbitMQ template
Yes, I agree we should track work-item for Kafka trigger as well.

Thanks @Flanker32
That's make sense. We will let you know once Bundle Template has been released.

Kaffa template has been added to functions maven plugin, so close this issue


Feature: Indicate capture progress in archives timeline

Give visual feedback of capture status (pending, successful, failed ...) for each link in the archive timeline, when available.

Notes to self: Should we use PermaArchive.capture_time or use PermaArchive.captures[].status?


2024-08-08 update : adding spatial to wwinference model.

This PR is regarding the following issue : https://github.com/CDCgov/ww-inference-model/issues/44#issue-2445019536 .  The model that will be added into this will be coming from this issue : https://github.com/CDCgov/ww-inference-model/issues/25#issue-2409527383 .

This is not ready yet, but I wanted to take input from both of you : @dylanhmorris and @kaitejohnson .

This is not ready yet, but I wanted to take input from both of you : @dylanhmorris and @kaitejohnson . Spatial components are in the model and using the testfile, I ran everything and things definitely change. There is a lot more variability, mainly in the forecast period. Rt take values that reach past 2, and site Rt's occasionally reach past 5.

Interesting! How does that compare to the ground truth R(t) values in each subpopulation? Might be worth making a plot of the estimated R(t)s and the known R(t)s that you simulated.
Also, how tight are your priors around the ground truth values of $\phi$ and $\sigma_{\epsilon}$? To start, we might want to force those to be pretty tightly specified just to see if that allows us to reproduce the ground truth results (so cheating a little, but enforcing identifiability).

This is not ready yet, but I wanted to take input from both of you : @dylanhmorris and @kaitejohnson . Spatial components are in the model and using the testfile, I ran everything and things definitely change. There is a lot more variability, mainly in the forecast period. Rt take values that reach past 2, and site Rt's occasionally reach past 5.

Interesting! How does that compare to the ground truth R(t) values in each subpopulation? Might be worth making a plot of the estimated R(t)s and the known R(t)s that you simulated.
Also, how tight are your priors around the ground truth values of ϕ and σ ϵ ? To start, we might want to force those to be pretty tightly specified just to see if that allows us to reproduce the ground truth results (so cheating a little, but enforcing identifiability).

Yes, I worked on changing these values and how big they are, but it seems like the thing that makes these values explode is using sigma_generalized, or the generalized variance formulation, from the normalization of the omega matrix.  When I removed this part from the model and did the traditional decomposition of $\Sigma$, I saw from the site Rt plots values are more realistic to what I believe the actual ones are.
I could have written the generalized variance into stan wrong, it might be good to look over that particular part @kaitejohnson  and @dylanhmorris on lines 236 in the wwinference.stan model.

@cbernalz can you make some plots and share them in the other repo?

@cbernalz can you make some plots and share them in the other repo?

You could share them here because it only simulated data?

@dylanhmorris and @kaitejohnson I am currently adjusting the generate_simulation_data function to use the generalized variance decomposition, I think this may have been the problem with the fitting.  I wanted to ask if we have the site Rt's with a generalized variance as c, what variance would I use for the aux site process.  Would I use this same c, so aux site deviations would have a $\text{Normal}(0,\text{scalingfactor}\cdot c)$?

@dylanhmorris and @kaitejohnson I am currently adjusting the generate_simulation_data function to use the generalized variance decomposition, I think this may have been the problem with the fitting. I wanted to ask if we have the site Rt's with a generalized variance as c , what variance would I use for the aux site process. Would I use this same c , so aux site deviations would have a Normal ( 0 , scalingfactor ⋅ c ) ?

Yep, I think that is the idea! So if scalingfactor =1  on average each the auxiliary site subpopulation would have the same amount of deviation from the state R(t) as the (averaged across all sites) deviation from the state R(t) in the sites. But @dylanhmorris can correct me if this interpretation is wrong

Great, @kaitejohnson and @dylanhmorris I figured out the problem was the strict prior placed on sigma_generalized.  The plots are on the ent repo issue.

Weirdly I am not able to see the full set of CI jobs (including the failure) for the check-package

@dylanhmorris and @kaitejohnson I updated all of your comments and the biggest change is that I added a way to use either an independent correlation function (default if no dist_matrix is provided) and the exponential decay correlation function (if dist_matrix is provided).  Let me know what should be changed!


ignoreEmpty() not working

I have the code below and when I'm trying to work with the data, it's getting a bunch of empty rows.
Excel::selectSheets('professor_turma')->load($name, function($reader) {
   $reader->ignoreEmpty();
   $reader->each(function($sheet) {
      echo $sheet . "<br>";
   });
});

It's trying to read/echo the empty line.
Laravel: 5.0  and file.xls format.

Most likely to be a issue at the parent package, as this is just a wrapper.


fix test

Codecov Report

Merging #65 into master will decrease coverage by 0.71%.
The diff coverage is 11.11%.

@@            Coverage Diff             @@
##           master      #65      +/-   ##
==========================================
- Coverage   92.83%   92.12%   -0.72%
==========================================
  Files          14       14
  Lines        1159     1168       +9
==========================================
  Hits         1076     1076
- Misses         83       92       +9

Impacted Files
Coverage Δ

src/streamer.rs
89.79% <11.11%> (-3.43%)
:arrow_down:

Continue to review full report at Codecov.

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


Create a tool to generate Ballerina types from XML schemas

Description:
This is part of https://github.com/ballerina-platform/ballerina-library/issues/6717

The original plan was to create a WSDL tool that would generate Ballerina SOAP clients and record types from a WSDL specification. However, as part of this process, we decided to first create an XSD tool, which can generate Ballerina record types from an XSD schema.
This decision was also driven by a requirement from the solutions team, who needed support for generating records from XSDs.

Relates to: https://github.com/ballerina-platform/ballerina-lang/issues/41637

It was decided to add this request as a product management issue and present it in the product council meeting for prioritization.


Create a layout for the homepage

These commits create a basic homepage which includes a search box to search for a topic. I have added an HTML, CSS, and JS file for the page. I also added the SearchServlet that takes care of getting search results. Right now, this servlet just returns a static response.

Also, make sure to add a copyright notice to the top of css and html files.


Translations

I'll try come out a way to automatically copy paste

It's ok to merge, have not found a good and easy way to do the automation


Update SIGs list, improve formatting and links

This updates the list with newer SIGs, which I also checked against the list of "sig-" channels on Slack.  It also adds some links to things that are mentioned, and makes what I consider to be formatting improvements.
I added a title and a bit of text at the top, but if someone wants to more properly define SIGs or whatever processes we have around them, I'd be happy to replace the text (or someone else can do it as a follow-on PR).

wondering if the sig group on finance should not be archived as no activity on github as well on slack

@LasneF we don't have a process for archiving SIGs yet- it would be worth discussing.  For now let's just get the list accurate, then we can make changes.


Add option to toggle the availability of short links

This simply adds an enableShort option that enables/disables short links. The motivation behind this is that short links seem to be the only state feature, and disabling those will make compiler explorer stateless and very much possible to distribute across several machines, such as using Kubernetes.

Why does codecov compain about files I did not touch? Because I rebased to master? (If I did - I don't remember)

Why does codecov compain about files I did not touch? Because I rebased to master? (If I did - I don't remember)

You can ignore the test coverage for the most part, all that matters is the tests passing.

Are we waiting for Godbolt?

Are we waiting for Godbolt?

Nah, we're waiting for someone to test it and then merge. I haven't had the time yet. Maybe thursday/friday

Ah, thanks for clearing that up!

Thanks! :)


EOS-28535: Remove for loop in function deployCortxSecrets()

The for loop is unnecessary.  The solution.yaml file contains a single block of secrets.
Unless there is a compelling reason to keep this logic, I think it should be simplified.

Rather than addressing only the specific comments Keith had, I fixed all Codacy issues in function deployCortxSecrets.


Fix cw1-subkeys helper.ts and point to heldernet

This change is required for coralnet to heldernet update in docs.

Same question goes for this PR: https://github.com/CosmWasm/cosmwasm-plus/pull/201#issuecomment-749413463

We used v0.10.4, see here
Nice to point this out. v0.4.0 will be built with v0.10.7


Dependency conflict installing label-studio-ml-backend in Conda environment

Hi, I am trying to install label-studio-ml-backend into my Conda environment where I also installed label-studio, but I am getting a dependency conflict:
label-studio-ml 1.0.8 requires label-studio-tools==0.0.0.dev11, but you have label-studio-tools 0.0.0.dev14 which is incompatible.
I tried fixing it by downgrading to 0.0.0.dev11 (pip install -I label-studio-tools==0.0.0.dev11), but then I get the following error:
label-studio 1.5.0.post0 requires label-studio-tools==0.0.0.dev14, but you have label-studio-tools 0.0.0.dev11 which is incompatible.
I tried this in Conda environments with Python version 3.7, 3.8, 3.9 and 3.10, but without succes (pip version 22.1.2)...
Any idea how I can fix this dependency conflict?

It's recommended to use separate environments for LS and LS ML backend. Or even better to use docker-compose for ML backends.

Thanks, using separate environments works!