Add nightly build support for BishengJDK-11 risc-v

Hi, I'm a member of the RISC-V JDK development team from Huawei. We are very interested in building and distributing binaries of RISC-V JDK via AdoptOpenJDK.
BishengJDK RISC-V port was based on OpenJDK 11, here is our open-sourced repo on Gitee:
BishengJDK-11 risc-v: https://gitee.com/openeuler/bishengjdk-11/tree/risc-v. For more information, please refer to the WIKI.
Mirror on Github :  https://github.com/isrc-cas/bishengjdk-11-mirror
How should we get started? Is there anything we can do?

Do you usually cross-compile this code on another system, or build natively on a RISC-V system? (Our OpenJ9 RISC-V builds are currently cross-compiled)

Do you usually cross-compile this code on another system, or build natively on a RISC-V system? (Our OpenJ9 RISC-V builds are currently cross-compiled)

@feilongjiang Welcome, great to have you here. There are various steps to take:

Update the build scripts to that they can build your branch. See #2051 for an example.
If needed, enhance the playbooks that we use to provision the machines (https://github.com/AdoptOpenJDK/openjdk-infrastructure), for example, if you need a custom boot JDK or special compiler. AFAIK we're already building OpenJ9 on RISC-V, so you might look for riscv pointers in the repository
If you need special test setups, please get in touch with our testing folks in https://github.com/AdoptOpenJDK/openjdk-tests.
For integration in Jenkins, creation of upload space, @gdams can help.
We might need additional machine capacity (cloud or 19" rackmountable machines).
Please state the current level of TCK compliance and what your plans are in that area (incl. upstreaming of the changes to OpenJDK). I assume this was already discussed, but having a public record would be helpful nonetheless.

@feilongjiang Welcome, great to have you here. There are various steps to take:

Update the build scripts to that they can build your branch. See #2051 for an example.
If needed, enhance the playbooks that we use to provision the machines (https://github.com/AdoptOpenJDK/openjdk-infrastructure), for example, if you need a custom boot JDK or special compiler. AFAIK we're already building OpenJ9 on RISC-V, so you might look for riscv pointers in the repository
If you need special test setups, please get in touch with our testing folks in https://github.com/AdoptOpenJDK/openjdk-tests.
For integration in Jenkins, creation of upload space, @gdams can help.
We might need additional machine capacity (cloud or 19" rackmountable machines).
Please state the current level of TCK compliance and what your plans are in that area (incl. upstreaming of the changes to OpenJDK). I assume this was already discussed, but having a public record would be helpful nonetheless.

So most of the changes to support it will be in this repository. If you search the code in this repository for dragonwell you'll get an idea of what's required (BishengJDK would be added as a variant in the same way as dragonwell is). That should show you where things like the repositories are set for each variant (I'd propose using your git mirror for easier integration at least to begin with):

Which compiler you want to use (We use GCC7.5 on /most/ Linux builds at the moment)
Decide what you want in the java -version output and other properties like java.vendor
Determining the version numbers (See https://github.com/AdoptOpenJDK/openjdk-build/blob/master/sbin/build.sh#L132)

Once we know whether we're going to cross-compile (so we can determine where will be able to run them) then we can move forward on the script modifications. I assume the codebase as it is just now is able to be built cleanly and is reasonable stable in that respect?

So most of the changes to support it will be in this repository. If you search the code in this repository for dragonwell you'll get an idea of what's required (BishengJDK would be added as a variant in the same way as dragonwell is). That should show you where things like the repositories are set for each variant (I'd propose using your git mirror for easier integration at least to begin with):

Which compiler you want to use (We use GCC7.5 on /most/ Linux builds at the moment)
Decide what you want in the java -version output and other properties like java.vendor
Determining the version numbers (See https://github.com/AdoptOpenJDK/openjdk-build/blob/master/sbin/build.sh#L132)

Once we know whether we're going to cross-compile (so we can determine where will be able to run them) then we can move forward on the script modifications. I assume the codebase as it is just now is able to be built cleanly and is reasonable stable in that respect?

Do you usually cross-compile this code on another system, or build natively on a RISC-V system? (Our OpenJ9 RISC-V builds are currently cross-compiled)

We have tested cross-compile on x86 and native build on HiFive Unleashed with fedora risc-v (with gcc 10.2, native build usually cost a long time).

Do you usually cross-compile this code on another system, or build natively on a RISC-V system? (Our OpenJ9 RISC-V builds are currently cross-compiled)

We have tested cross-compile on x86 and native build on HiFive Unleashed with fedora risc-v (with gcc 10.2, native build usually cost a long time).

Sounds like your preference would be to do the same as we do for OpenJ9 then and use a cross-compile environment. That sounds good to me for consistency.
https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-linux-riscv64-openj9/266/consoleFull is a log from one of out OpenJ9 cross-compiled builds so there are a couple of differences (as part of the process we capture the output from java -version so we copy it across to a native machine - an Unleashed board like yours - to do that when we're cross-compiling)
The RISC-V cross-compiler we have at the moment on our machines is 9.2.0 so unless there's something that specifically needs 10.2 I'd probably start with that and then potentially move later if we have a reason to, if that is ok for you.

Sounds like your preference would be to do the same as we do for OpenJ9 then and use a cross-compile environment. That sounds good to me for consistency.
https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-linux-riscv64-openj9/266/consoleFull is a log from one of out OpenJ9 cross-compiled builds so there are a couple of differences (as part of the process we capture the output from java -version so we copy it across to a native machine - an Unleashed board like yours - to do that when we're cross-compiling)
The RISC-V cross-compiler we have at the moment on our machines is 9.2.0 so unless there's something that specifically needs 10.2 I'd probably start with that and then potentially move later if we have a reason to, if that is ok for you.

@sxa Sorry for the description is not clear enough,  GCC 10.2.0 is needed by the native build (with GCC 9.2.0, cc1plus crashed when building JDK natively), 9.2.0 is ok for cross-compile.
By the way, is there any test after the building finished?

@sxa Sorry for the description is not clear enough,  GCC 10.2.0 is needed by the native build (with GCC 9.2.0, cc1plus crashed when building JDK natively), 9.2.0 is ok for cross-compile.
By the way, is there any test after the building finished?

By the way, is there any test after the building finished?

Only the basic java -version is run on every build, but we have a very large set of test suites that we can run that we can look at later (See the openjdk-tests repository as a starting point, although our ability to run those is obviously limited by our capacity on the real RISC-V hardware so we may not be able to regularly run all of them :-)

By the way, is there any test after the building finished?

Only the basic java -version is run on every build, but we have a very large set of test suites that we can run that we can look at later (See the openjdk-tests repository as a starting point, although our ability to run those is obviously limited by our capacity on the real RISC-V hardware so we may not be able to regularly run all of them :-)

9.2.0 is ok for cross-compile

Thanks for clarifying - it sounds like our existing cross-compile environment should be ok :-)

By the way, is there any test after the building finished?

Only the basic java -version is run on every build, but we have a very large set of test suites that we can run that we can look at later (See the openjdk-tests repository as a starting point, although our ability to run those is obviously limited by our capacity on the real RISC-V hardware so we may not be able to regularly run all of them :-)

Sounds great! So maybe I should update the script first to make the building works😀.

9.2.0 is ok for cross-compile

Thanks for clarifying - it sounds like our existing cross-compile environment should be ok :-)

By the way, is there any test after the building finished?

Only the basic java -version is run on every build, but we have a very large set of test suites that we can run that we can look at later (See the openjdk-tests repository as a starting point, although our ability to run those is obviously limited by our capacity on the real RISC-V hardware so we may not be able to regularly run all of them :-)

Sounds great! So maybe I should update the script first to make the building works😀.

That's certainly the first step we'll need, yes. It'll be a multi-stage process to get it working through all stages:

openjdk-build changes to make it build on our machines in our jenkins with our scripts
openjdk-tests (may include other test repositories) to get the test jobs available
openjdk-api-v3 to make the resulting nightly builds available through the API
openjdk-website (which uses the API to show the buids on the website
openjdk-installer (We optionally release rpm/deb versions in our yum/apt repositores

This looks like a lot of things, but the changes aren't too complicated ... Assuming you know where to make them. I'm very keen to make sure we capture properly what's involved in all of these as a "new variant" FAQ because I don't think it's been documented in a consumable way in the past, so hopefully we can use the addition of BishengJDK11 to improve that :-)

That's certainly the first step we'll need, yes. It'll be a multi-stage process to get it working through all stages:

openjdk-build changes to make it build on our machines in our jenkins with our scripts
openjdk-tests (may include other test repositories) to get the test jobs available
openjdk-api-v3 to make the resulting nightly builds available through the API
openjdk-website (which uses the API to show the buids on the website
openjdk-installer (We optionally release rpm/deb versions in our yum/apt repositores

This looks like a lot of things, but the changes aren't too complicated ... Assuming you know where to make them. I'm very keen to make sure we capture properly what's involved in all of these as a "new variant" FAQ because I don't think it's been documented in a consumable way in the past, so hopefully we can use the addition of BishengJDK11 to improve that :-)

Please state the current level of TCK compliance and what your plans are in that area (incl. upstreaming of the changes to OpenJDK). I assume this was already discussed, but having a public record would be helpful nonetheless.

For some non-technical reasons, we can't be licensed to use the tck for the time being, but we're doing this through partners. We have submitted an application to the OpenJDK community for creating the riscv port project and received some committers' responses. We will continue to push forward the upstream process. See https://mail.openjdk.java.net/pipermail/porters-dev/2021-January/000672.html.

Please state the current level of TCK compliance and what your plans are in that area (incl. upstreaming of the changes to OpenJDK). I assume this was already discussed, but having a public record would be helpful nonetheless.

For some non-technical reasons, we can't be licensed to use the tck for the time being, but we're doing this through partners. We have submitted an application to the OpenJDK community for creating the riscv port project and received some committers' responses. We will continue to push forward the upstream process. See https://mail.openjdk.java.net/pipermail/porters-dev/2021-January/000672.html.

Can I cross-compile openj9 riscv64 by makejdk-any-platform.sh? Seems there is no option to set the target architecture.

Seems not to be super friendly. https://github.com/AdoptOpenJDK/openjdk-build/blob/4df4d1af9d0996fb1cdcaa75e155b0c96ee1fd98/pipelines/jobs/configurations/jdk11u_pipeline_config.groovy#L167_L173 shows the required arguments. And there's also https://github.com/AdoptOpenJDK/openjdk-build/blob/f68e90d8daef1cc597307b96dfc22cd68faf3aba/build-farm/platform-specific-configurations/linux.sh#L158-L174. I don't know how much you have to define from there.

Reopening this since it's not in the nightly builds yet (The two PRs above this should be adequate though)

@sxa PRs are closed - this OK to close as well?

Yes I think it's working ok now based on checking it earlier today, so I'll tentatively claim success and close


Potential issue for continual forgetting

After executing the run_cl_forget.sh script for GSlora, I noticed that the desired results were not achieved. Upon closer inspection, I have identified a potential issue within the train/train_own_forget_cl.py script. Specifically, I observed that there might be a lack of implementation for the sparsity warm-up phase, which could potentially be contributing to the issue. It would be advisable to review and possibly add the necessary code for this warm-up process to ensure optimal performance.
But even after I added the warm-up process, proper results couldn't be achieved either, there might be additional factors at play. I hope that you could take a closer look into these matters with care.

Thanks for your attention. Because we have conducted many ablation studies, the hyperparameters may not be the ones we use in our Table. Which results do you want to reproduce? I can check the logs and give you some guidance.

Thanks for your attention. Because we have conducted many ablation studies, the hyperparameters may not be the ones we use in our Table. Which results do you want to reproduce? I can check the logs and give you some guidance.

Thank you for your prompt response!
I want to reproduce the results in Table 3 for GSlora, using the script below:
export CUDA_VISIBLE_DEVICES=2
NUM_FIRST_CLS=80
PER_FORGET_CLS=$((100-$NUM_FIRST_CLS))

 # GS-LoRA
 for lr in 1e-2
 do
 for beta in 0.15
 do
 python3 -u train/train_own_forget_cl.py -b 48 -w 0 -d casia100 -n VIT -e 100 \
     -head CosFace --outdir out_path/to/exps/CLGSLoRA/start${NUM_FIRST_CLS}forgetper${PER_FORGET_CLS}lr${lr}beta${beta} \
     --warmup-epochs 0 --lr $lr --num_workers 8  --lora_rank 8 --decay-epochs 100 \
     --vit_depth 6 --num_of_first_cls $NUM_FIRST_CLS --per_forget_cls $PER_FORGET_CLS \
     -r results/ViT-P8S8_casia100_cosface_s1-1200-150de-depth6/Backbone_VIT_Epoch_1110_Batch_82100_Time_2023-10-18-18-22_checkpoint.pth \
     --BND 110 --beta $beta --alpha 0.01 --min-lr 1e-5 --num_tasks 4 --wandb_group forget_cl_new \
     --cl_beta_list 0.15 0.15 0.15 0.15
 done
 done

Without altering any other code, I wasn't able to achieve the results displayed in the table (all 74%). Upon scrutinizing all the code, I discovered that there is no code for sparse warmup in train_own_forget_cl.py, unlike in train_own_forget.py where it is present. Subsequently, I copied the relevant code snippets from train_own_forget.py to train_own_forget_cl.py and appended --warmup_alpha --big_alpha 0.01 to the end of the script. This correction yielded the correct outcome for TASK0, however, TASK1, 2, and 3 continue to produce incorrect results. What could be the issue?

I also have same problem...

Thanks for your attention.
I checked our experimental log in wandb and found this were the parameters we used to get the results in the paper.
python train_own_forget_cl.py -b 48 -w 0 -d casia100 -n VIT -e 100 -head CosFace --outdir /data1/zhaohongbo/exps/draw-forget-CL/CLGSLoRA/start80forgetper20lr1e-2beta0.15 --warmup-epochs 0 --lr 1e-2 --num_workers 8 --lora_rank 8 --decay-epochs 100 --vit_depth 6 --num_of_first_cls 80 --per_forget_cls 20 -r /data/zhaohongbo/Github/amnesic-face-recognition/Face-Transformer/results/ViT-P8S8_casia100_cosface_s1-1200-150de-depth6-new/Backbone_VIT_Epoch_1110_Batch_82100_Time_2023-10-18-18-22_checkpoint.pth --BND 105 --beta 0.15 --alpha 0.0001 --min-lr 1e-5 --num_tasks 4 --wandb_group forget_cl_new --cl_beta_list 0.2 0.25 0.25 0.25

Here is our log.
output.log

Thanks for your attention.
I checked our experimental log in wandb and found this were the parameters we used to get the results in the paper.
python train_own_forget_cl.py -b 48 -w 0 -d casia100 -n VIT -e 100 -head CosFace --outdir /data1/zhaohongbo/exps/draw-forget-CL/CLGSLoRA/start80forgetper20lr1e-2beta0.15 --warmup-epochs 0 --lr 1e-2 --num_workers 8 --lora_rank 8 --decay-epochs 100 --vit_depth 6 --num_of_first_cls 80 --per_forget_cls 20 -r /data/zhaohongbo/Github/amnesic-face-recognition/Face-Transformer/results/ViT-P8S8_casia100_cosface_s1-1200-150de-depth6-new/Backbone_VIT_Epoch_1110_Batch_82100_Time_2023-10-18-18-22_checkpoint.pth --BND 105 --beta 0.15 --alpha 0.0001 --min-lr 1e-5 --num_tasks 4 --wandb_group forget_cl_new --cl_beta_list 0.2 0.25 0.25 0.25

Here is our log. output.log

Thank you for your continued responses!
I tried the bash script you provided, but it seems that the results for all the metrics (accf, accr, acco) are consistently at 74%. Maybe there's something wrong with the code on GitHub. Would you mind testing the code there to see if it works properly?

By the way, have you finished the training process? It is normal all the metrics (accf, accr, acco) are consistently at 74% at first. I will check the code later.

I have trained it just now and I find that I can get the decreasing trend of forget acc. i.e., the model can escape the local minima.

I guess the reason comes from different machines. I am using RTX3090, different machines or cuda version or other can get different results even using the same seed. e.g. The random number is different when using different machines.
I recommend you to increase $\beta$ or add  warmup_alpha --big_alpha 0.01 strategies to get a reasonable result.
Actually, we conducted three times and got the same results when we wrote the results on our paper.

I'm sorry but I followed your instruction but got this result:

Where did I go wrong?
Below is the script I use:
python train/train_own_forget_cl.py -b 48 -w 0 -d casia100 -n VIT -e 100 -head CosFace --outdir /data1/zhaohongbo/exps/draw-forget-CL/CLGSLoRA/start80forgetper20lr1e-2beta0.15 --warmup-epochs 0 --lr 1e-2 --num_workers 8 --lora_rank 8 --decay-epochs 100 --vit_depth 6 --num_of_first_cls 80 --per_forget_cls 20 -r /data/zhaohongbo/Github/amnesic-face-recognition/Face-Transformer/results/ViT-P8S8_casia100_cosface_s1-1200-150de-depth6-new/Backbone_VIT_Epoch_1110_Batch_82100_Time_2023-10-18-18-22_checkpoint.pth --BND 105 --beta 0.15 --alpha 0.0001 --min-lr 1e-5 --num_tasks 4 --wandb_group forget_cl_new --cl_beta_list 0.2 0.25 0.25 0.25 --warmup_alpha --big_alpha 0.01

In fact I'm wondering that the code in the Github may be different from the one you use.

I'm sorry but I followed your instruction but got this result:
Where did I go wrong? Below is the script I use:
python train/train_own_forget_cl.py -b 48 -w 0 -d casia100 -n VIT -e 100 -head CosFace --outdir /data1/zhaohongbo/exps/draw-forget-CL/CLGSLoRA/start80forgetper20lr1e-2beta0.15 --warmup-epochs 0 --lr 1e-2 --num_workers 8 --lora_rank 8 --decay-epochs 100 --vit_depth 6 --num_of_first_cls 80 --per_forget_cls 20 -r /data/zhaohongbo/Github/amnesic-face-recognition/Face-Transformer/results/ViT-P8S8_casia100_cosface_s1-1200-150de-depth6-new/Backbone_VIT_Epoch_1110_Batch_82100_Time_2023-10-18-18-22_checkpoint.pth --BND 105 --beta 0.15 --alpha 0.0001 --min-lr 1e-5 --num_tasks 4 --wandb_group forget_cl_new --cl_beta_list 0.2 0.25 0.25 0.25 --warmup_alpha --big_alpha 0.01

I mean use these strategies. (increase $\beta$ or add --warmup_alpha --big_alpha 0.01). Maybe you need to implement some code yourself as you have already done.

I use the code from Github and can get a similar result like yesterday. If you can not reimplement the results yet, I recommend you to use the two strategies or increasing lr slightly.

Thanks for your continuous reply, I implemented some code myself yesterday and I have got correct result!

Based on your question, we plan to refind some hyperparameters to get a better selection and help others reimplement the results more easily.


Issue in Readme.md

For the Frontend part, you have mentioned this step in order to install the project on our machine. I have just added the second point because after navigating using cd Community-Website we cannot do directly npm install and also changed the file name.

Navigate to the community-website folder using cd Community-Website.
cd frontend
Run npm install. It will install all the required packages and dependencies.
Run npm start to run the server.
Navigate to http://localhost:3000 to view it in the browser.

@Kajol-Kumari  Please look into it and assign it to me for SWOC.

Go ahead with this issue @aniketsingh98571

Hey, Can I also do this for DWOC?

Hey @Sloth-Panda we can't assign this issue to more than one person so please look at other issues

@Kajol-Kumari  Please refere to #95 for this Issue #74


add json schema declaring schema-form specific properties

I'd like to share this JSON Schema file that helps me a lot.
It is just a handy helper  for your IDE when creating schema forms.
Simply set it in the$schema property in the .json file and the IDE's autocompletion does the rest.
Here a GIF image that shows what it looks like with IntelliJ:

If there is a chance to get this schema on a public domain, this would be also a greater benefit.
Any way I would love to see this coming.

I think that's a good initiative!

If there is a chance to get this schema on a public domain, this would be also a greater benefit

Well we could use the GitHub raw url of the file, no? Like:
"$schema": "https://raw.githubusercontent.com/makinacorpus/ngx-schema-form/master/schema/ngx-schema-form-schema.json",

What do you think?

I would like the idea.
I'm totally insecure of what this collides in any way with the githubs term of use.

Ok let's merge it the way it is, and we will try to get a good public domain some day.


Make AwsClientCustomizer Flexible

Type: Feature
Is your feature request related to a problem? Please describe.
Imagine a developer wants to add a single request interceptor to a specific client. If I understand the whole thing correctly, the only way to do this is to create an AwsClientCustomizer bean that returns a ClientOverrideConfiguration instance in which the interceptor is added. This is a bit sub-optimal. The ClientOverrideConfiguration (COC) is huge one and I don't feel comfortable overriding the original instance (considering the fact that COC instance returned by the customizer replaces the original instance). Looking at the implementation, at least in AWSpring case, the COC instance is not an empty one, which means if I inject my bean, I have to duplicate the logic in SpringCloudClientConfiguration.
Describe the solution you'd like
I think it makes sense to have more granular customizers, instead of a big fat one providing COC. (I'm fine with the rest of the existing customizer which are merely providers.)
Another alternative is to expect a Consumer<ClientOverrideConfiguration.Builder> instead of a ready-to-use instance of COC. A less optimal solution is to considering user-defined beans of type request interceptors.
Another totally different approach would be to expose the client builder in the customizer.
Describe alternatives you've considered
Right now I override the SesClient to get access to the client builder to inject my interceptor.
Let me know if you need more information.

Random ideas:

Add overrideConfigurationBuilder to AwsClientCustomizer interface. The question is what to do with overrideConfiguration method?
Accept a Consumer<ClientOverrideConfiguration.Builder> bean while building the configuration instance.
I think I'd go with the first one since it's consistent with what we already have in AwsClientCustomizer.

Almost there 🙂, it's should be like this:
    @Bean
    fun sesClientCustomizer(): AwsClientCustomizer<SesClientBuilder> = object : AwsClientCustomizer<SesClientBuilder> {
        // Refactor when awspring/spring-cloud-aws/#562 is fixed!
        override fun overrideConfiguration(): ClientOverrideConfiguration {
            return SpringCloudClientConfiguration()
                .clientOverrideConfiguration()
                .toBuilder() // COC is immutable!
                .apiCallTimeout(Duration.ofMillis(1999))
                .build()
        }
    }

In fact, that's what actually I'm doing right now. So yes, it's not a blocker right now.
Apart from "being a bit hacky (to my eyes)" and code duplication, the fact that I need to instantiate a third party class to just get an instance of an AWS class feels a bit sub-optimal. The developer needs to just add an interface, why does she need to know about SpringCloudClientConfiguration at all? Does that make sense?

Makes sense, maybe we should apply:
 SpringCloudClientConfiguration  				.putAdvancedOption(SdkAdvancedClientOption.USER_AGENT_SUFFIX, getUserAgent());
inside of  AwsClientCustomizer and with your approach then we can combine it.  This of course means it will be
ClientOverrideConfiguration.Builder instead of ClientOverrideConfiguration.
This way it is hidden from the user but it is always applied.

This issue should simplify #199  .

Let me know if you need help with the implementation.

Hey @akefirad , the contribution is welcome! :) Do you want me to assign you?

Sure.


Update cesm_cmeps.py

Closes #386
To generate the point output of WWIII, ww3_points.list file is required in the work directory which contains the wave buoy station locations as point list. This can be added here as an optional config file.

coverage: 47.733%. remained the same
when pulling 5e205084fbbcf9b31602bba99ecafbe6f072cf38 on ezhilsabareesh8:386_ww3_point_list
into 4b8373071ebce5af925e854132ec8d937d4f8069 on payu-org:master.


FileDialog open File and Dir MODE_OPEN_ANY

closes #4019
How to use/test?
Select a file and you will see a file selected print
Select a dir and you will see a dir selected print
extends Node2D

onready var filedialog = get_node( "FileDialog" )

func _ready():
	filedialog.connect("dir_selected", self,"_on_FileDialog_dir_selected")
	filedialog.connect("file_selected", self,"_on_FileDialog_file_selected")
	filedialog.connect("files_selected", self,"_on_FileDialog_files_selected")

	filedialog.set_mode( filedialog.MODE_OPEN_ANY )
	#filedialog.set_mode( filedialog.MODE_SAVE_FILE )
	#filedialog.set_mode( filedialog.MODE_OPEN_FILES )
	#filedialog.set_mode( filedialog.MODE_OPEN_FILE )
	filedialog.popup()

func _on_FileDialog_dir_selected( dir ):
	print("dir selected: " + dir )

func _on_FileDialog_file_selected( path ):
	print("file selected: " + path )

func _on_FileDialog_files_selected( paths ):
	print("files selected: " + str(paths) )

Hmm can someone create and save a new scene with this?

I don't know how EditorFileDialog and FileDialog are connected but I had to add the same code to EditorFileDialog.
Looks like this fixed the save scene issue, please double check.

It looks like you added some weird commits to your PR, could you try to rebase? It should have only one commit with all relevant changes ideally.


Loading A Backup

This is important if we have a schema migration and for generally just reloading data from our backup in gcs.
Still a work in progress...

#90 Moving into indexer package


Fix ci

I'm not 100% sure what's going on here.  There seemed to be a delay with the db container booting up, so the test container was not connecting to db.  The parallel runs may be competing for resources, and could be causing a delay?  Adding some sleeps between running the dependent containers and the test container fixes this.  Increasing the resource classes did not work.
The builds have been building much faster lately.  Not sure if CircleCI has been doing some changes/upgrades to their docker environments.  Even with these sleeps added, the time for the entire workflow to finish is down significantly.  It takes about 21 minutes.

This is fine for now to get us unstuck, I think we might want to start over with etda_workflow's CI. I might take that on in the next maintenance sprint.


vmlatency: Respect the user-supplied timeout in teardown

This is a follow-up to PR #234.
Pass the context with timeout based on the user-supplied timeout field, to the checkup's Teardown() method.
Depends on PR #234.

I think you can have it as part of #235, or change their titles to what they actually change (checkup Run, Setup and Teardown)

Rebase

Could you please update the PR title?

In the meantime, I suggest to document a recommended timeout to prevent misconfiguration

I do not see it as a must. We do not really know what this time is and it is under the caller responsibility to provide a reasonable time.


2.0 link(F&F/Keeper) is opening in 1.0 app.

If the user is having both the app 1.0 & 2.0 then link is opening in 1.0.

This needs to be verified with appropriate links on Hexa 2.0.
LInks I used were of the Dev app.

Deeplink generated from 2.0 App is: https://hexawallet.page.link/AGSr
Which is redirected to: https://hexawallet.io/app/CONTACT/Jj/DbuDbQBAKml5vF32EoMtRMy6-/DEFAULT-/v2.0.1
If you open the original URL it does open in Hexa 2.0
Not sure of the Firebase Dynamic Link setup and how it works.
@cakesoft-shashank @antuz123

I have updated the apple-app-site-association on hexawallet.io
Now the links will open with hexa2.0. Marking this fixed.

Verified this issue on staging app v2.0.5(382)


Research Github Releases

If possible add json as a release

Releases are "snapshots" of the repo
Goal with this issue is to set up an "official" version of the json output

Zip file appears as above.

Modified zip file appears as above.

Does not track changes (which is good and bad)

Output should only change via tracked changes to the code
It does indicate when it is changed (in case those changes are not intentional)
Specific changes are not tracked

By adding a version to the meta object, we can make sure there are no changes to the zip file of the same version via test.


Constant vs Variable

Any plans of adding a drawer similar to the one from Ryan's talk?
https://github.com/roboryantron/Unite2017/blob/master/Assets/Code/Variables/Editor/FloatReferenceDrawer.cs

Already implemented :)
https://github.com/DanielEverland/ScriptableObject-Architecture/blob/master/Assets/SO Architecture/Editor/Drawers/BaseReferenceDrawer.cs


Problems with Installation

I just tried to install podium using composer.
Steps 1-3 of installation tutorial are completed, but Step 4 ist making Problems.
Whatever I try to go to podium/install/run the page is not found.
By the way, i'm using xampp for windows as my webserver and installed podium into yii2 basic... Maybe someone can help me with the link

Have you tried podium/install? Have you got pretty urls switched on?
BTW. This package is not developed anymore, I'm working on completely new version.

It worked using /web/index.php?r=podium/install/run (I guess I did something wrong yesterday).
Now there ist a new Problem:
 PHP Compile Error – yii\base\ErrorException Cannot use yii\base\Object as Object because 'Object' is a special class name
It might be some kind of bug...

I'm working on completely new version.
Nice, I'm going to try that one as soon as possible! 👍

Oh, yes... This package still uses old Object class which was deprecated in Yii 2.0.14 because of PHP 7.2 reserving this name and hence the error. You are using 7.2 obviously.


Add support for more webmail clients

Look at adding support for webmail clients that use <iframe>'s to display email like web.de, gmx, iCloud.
Any other email clients support requests, please add them to this thread

Just adding a reminder note that came up in our working session to look into potentially using all_frames

"all_frames": true,

https://developer.chrome.com/docs/extensions/mv3/content_scripts/#:~:text=The "all_frames" field allows the,topmost frame in a tab.&text=boolean-,Optional.,the top frame is matched


yolox backbone error

The yolox backbone in this codebase without focus operation, the shape of stem between https://github.com/Megvii-BaseDetection/YOLOX and this codebase is different.
The stem of yolox_m backbone in https://github.com/Megvii-BaseDetection/YOLOX:

The stem of yolox_m backbone in this codebase:

class Focus(nn.Module):
"""Focus width and height information into channel space."""
def __init__(self, in_channels, out_channels, ksize=1, stride=1, act="silu"):
    super().__init__()
    self.conv = BaseConv(in_channels * 4, out_channels, ksize, stride, act=act)

def forward(self, x):
    # shape of x (b,c,w,h) -> y(b,4c,w/2,h/2)
    patch_top_left = x[..., ::2, ::2]
    patch_top_right = x[..., ::2, 1::2]
    patch_bot_left = x[..., 1::2, ::2]
    patch_bot_right = x[..., 1::2, 1::2]
    x = torch.cat(
        (
            patch_top_left,
            patch_bot_left,
            patch_top_right,
            patch_bot_right,
        ),
        dim=1,
    )
    return self.conv(x)

s.

The yolox backbone in this codebase without focus operation, the shape of stem between https://github.com/Megvii-BaseDetection/YOLOX and this codebase is different. The stem of yolox_m backbone in https://github.com/Megvii-BaseDetection/YOLOX:  The stem of yolox_m backbone in this codebase:
class Focus(nn.Module): """Focus width and height information into channel space."""
def __init__(self, in_channels, out_channels, ksize=1, stride=1, act="silu"):
    super().__init__()
    self.conv = BaseConv(in_channels * 4, out_channels, ksize, stride, act=act)

def forward(self, x):
    # shape of x (b,c,w,h) -> y(b,4c,w/2,h/2)
    patch_top_left = x[..., ::2, ::2]
    patch_top_right = x[..., ::2, 1::2]
    patch_bot_left = x[..., 1::2, ::2]
    patch_bot_right = x[..., 1::2, 1::2]
    x = torch.cat(
        (
            patch_top_left,
            patch_bot_left,
            patch_top_right,
            patch_bot_right,
        ),
        dim=1,
    )
    return self.conv(x)

Hi,due to the lack of GPU resources，I didn't fully reproduce yolox.I'm not sure yolov3/yolov5/yolox codes are completely correct.I recommend that you use algorithms for which I have provided training results.


Export notes by date-time

Can there be a way to import just the notes edited ON or AFTER a certain day? That would be seriously useful if there is some kind of import selection based on dates.

Added to version 0.6.5 develop branch but needs some work on how to reset value without reloading the entire note list

Finalized in v-0.6.5


Setting IOU threshold

Hi,
I want to set the IOU threshold for bounding box matching to a custom value but I am not sure where exactly I should do that. Just to be sure, is it the input arg match_threshold of the AnchorLabeler class that I should adjust?

IOU threshold is changeable here: https://github.com/rwightman/efficientdet-pytorch/blob/master/effdet/anchors.py#L217-L222
TODO is to add it to config/arguments but it doesn't seem necessary to change to often so hasn't been a high priority.

exactly how? by addig self.iou_threshold = 0.2 ?


two issues

PowerShell script syntax error:

$tempDir\DeployMySQLProvider.ps1 -AzCredential $AdminCreds  VMLocalCredential $vmLocalAdminCreds
CloudAdminCredential $cloudAdminCreds  PrivilegedEndpoint $privilegedEndpoint
DefaultSSLCertificatePassword $PfxPass  DependencyFilesLocalPath $tempDir\cert
AcceptLicense

Typo:

Deploys a VM usin a Windows Server 2016 Azure Stack marketplace image and installs the resource provider.

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

ID: 88e1b50a-92ea-e22a-2580-d060182f82cb
Version Independent ID: f96b7b61-6307-d77a-5a7a-10998232220c
Content: Using MySQL databases on Azure Stack
Content Source: articles/azure-stack/azure-stack-mysql-resource-provider-deploy.md
Service: azure-stack
GitHub Login: @jeffgilb
Microsoft Alias: jeffgilb

@omnimose Thanks for the feedback! We are currently investigating and will update you shortly.

Great feedback, I'll get this updated ASAP.

The fixes for this issue has been merged for publishing @omnimose

#please-close

#please-close

@omnimose We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Plugins aren't registering

Working on a project, and it seems that plugins don't register when your ractive instance is outside of your html file. I had my core logic in ext.js, but keys, hover, etc wouldn't been seen by my code. I'd get the missing plugin message in my console. However, if I put them before my call to pull down core ractive, it gave me the usual warning about that.
Is this expected, or not, or is there a workaround I've yet to be aware of?

How are you registering the plugins?

Simply using

Are plugins being loaded after Ractive?

Like @martypdx said, make sure your plugins are being loaded after ractive and before your code:
<script src='http://cdn.ractivejs.org/latest/ractive.js'></script>
<!-- Plugins go here! -->
<script src='path/to/your/code.js'></script>

Of course. This is what I'm doing and they aren't registering.
My initial method was using gulp to concat core ractive, plugins, then my code. Even there, I was specifying order to ensure that ractive, etc was concatenated in the correct order.

Can you make sure that the plugins are actually running? i.e. that they successfully found the ractive instance and injected the plugin into the ractive object. Try adding a couple of console.log statements inside one of the plugins to make sure that they're actually being run.
// ractive-events-hover.js
// ...
console.log( Ractive );
Ractive.events.hover = hover;
console.log( 'successfully attached' );

I've affixed a screenshot of my dev console. I put console.log messages around the line:

in the ractive-keys plugin code. As you see in the screenshot, it says it can't find the plugin, then the console messages are displayed.

It seems there's something up with how it registers the plugin. Any ideas?

Hold on.. I realize I left out the Ractive in the console.log, that you suggested. Now, it seems to work. Any idea why this is?

From your first screenshot, it's pretty clear the ractive instance in being instantiated before the plugin loads are being called. Whereas in the second screenshot it's not necessarily clear. If including console.log(Ractive) fixed your issue, then my guess is somethings up with your module packaging.

Hrm, ok. Thanks. I'll need to investigate it some more.

In my experience, the few times in which a console.log has actually 'fixed' an issue was due to the log delaying code execution just slightly, which allowed whatever was missing to resolve. So it seems like there's definitely something wrong with the order of execution in your code, and the slight delay of console.log accidentally let the code run in the proper order. So I would definitely investigate to make sure that everything is running in the proper order. If gulp packaged the files improperly it could cause them to run not in the order you specified.

This definitely seems like a Gulp issue rather than a Ractive issue - @aethant is it okay to close this, or is there something we can to help get it fixed?

No go ahead and close it. I agree, I think it's a gulp issue. Thank you.


Updates DiagramPlantumlVersion to 1.2022.14

Kind of change

[x] Bug fix
[ ] New non-breaking feature
[ ] New breaking feature
[ ] Documentation update
[ ] Build improvement

Description
It repairs error with parsing PlantUML with awslib,
It could not include <awslib/Groups/all>
Release notes
Updates asciidoctorj-diagram-plantuml to 1.2022.14, which repairs 'cannot include <awslib/Groups/all>' in PlantUML

Thank you!
I'll build a version of asciidoctorj-diagram and asciidoctorj-diagram-plantuml with the latest version of the respective gems to get the very latest versions.


Add CQL pannel to per server pannel

Add a read, insert update and delete cql panel to the per server
dashboard.
Fixes #30
Signed-off-by: Amnon Heiman<EMAIL_ADDRESS>

@amnonh looks good
Can you explain the different between the new CQL writes (or reads), and the old "Reads and Writes" (foreground, background) and Replica read and write?
If I understand correctly, the new CQL charts are the most useful and can be moved to the  top of the dashboard, just below load per server

It would be very nice if you attached a screenshot so that others can see how the panel looks like.

On Wed, Mar 8, 2017 at 12:12 PM, Tomasz Grabiec<EMAIL_ADDRESS>wrote:

It would be very nice if you attached a screenshot so that others can see
how the panel looks like.

+1

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/scylladb/scylla-grafana-monitoring/pull/148#issuecomment-285155112,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABp6RQx2q2CyyM5y3AfY-27321MpOkxsks5rjwvIgaJpZM4MXCQM
.

On Wed, Mar 8, 2017 at 11:21 PM, Dor Laor<EMAIL_ADDRESS>wrote:

On Wed, Mar 8, 2017 at 12:12 PM, Tomasz Grabiec<EMAIL_ADDRESS>wrote:

It would be very nice if you attached a screenshot so that others can see
how the panel looks like.

+1

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/scylladb/scylla-grafana-monitoring/
pull/148#issuecomment-285155112>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABp6RQx2q2CyyM5y3AfY-
27321MpOkxsks5rjwvIgaJpZM4MXCQM>

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scylladb/scylla-grafana-monitoring/pull/148#issuecomment-285173044,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACBRvwJ6X296RYm4tS719t_1cOEyKC2wks5rjxvKgaJpZM4MXCQM
.


Add Audi e-tron project and code for powered up remote control

Hello, I have some code for the Audi e-tron set.
Fairly basic controls - details are included as comments in the main.py program.
Cheers!

Thanks @tensafefrogs !
@legolasse , would you be interested to add your block-based program and/or video too?

can we please merge it?

Thanks for the reminder @danacr, and thanks for becoming a project supporter!
I have also just added a block-based project for the Off-Road Truck, see below. I imagine the Audi E-tron project would be very similar. Probably just with different motor ports/directions/angles.
If you're interested in adapting and sharing the block project to the Audi, I would be happy to add it to the page.

No worries, if it's working for you that's fine :smile:
In a block project, you can see the live preview of the Python code. Click the </> button to toggle it. But there isn't a conversion from Python to blocks.


Toolbar plurality issue when only a single capture

If only one capture exists for a URI-R, the web UI toolbar states, "1 captures", an incorrect plurality.

This stems from wayback-webapp/src/main/webapp/WEB-INF/replay/Toolbar.jsp reading ToolBar.numCapturesTitle from wayback-webapp/src/main/resources/WaybackUI.properties and providing a formatted value that does not affect the "captures" literal of the formatted string.
OpenWayback 2.3.2

Hm, I find ChoiceFormat a bit confusing, but it would seem the syntax we need for this is:
ToolBar.numCapturesText={0} {0,choice,0#captures|1#capture|1<captures}

n.b. I've not had a chance to test this yet.

Hi @machawk1 , thanks for reporting the issue. Do you want to submit a PR to fix this?

That fix works for me, @anjackson.

I'll submit a PR, @ldko .

PR submitted as #373. /cc @ldko

Thanks @machawk1 and @anjackson !


Feature wallet pocket

I feel like we spoke about so much more - are these the only changes we need?

Yes from what we discussed this was the only change that needed to be made to the base. Unless you still want to add AccountType to an AccountPaymentt but I thought we decided to do this instead


Fix typo: quorom -> quorum

I accidentally messed up #860 so here we go again. Sorry @meltingice!

Haha all good, I messed up the first attempt at this PR too.


Clicking outside of a carousel image breaks the carousel with the NoWrap option

The original issue is here https://github.com/Dogfalo/materialize/issues/6459 and wasn't fixed by 1.1.0-alpha. No PR were made, but we describe why the issue happens and what code have to be changed : all we need is a volounteer who can fork and create the PR.
Here is an issue with a better English and explanations.
Expected Behavior

In a carousel with NoWrap option, we can navigate to right or left by clicking at the correct side of the carousel, as long as we don't click on the carousel image.
Clicking :

at left when the current selected item is the first should move to the last item
at right when the current selected item is the last should move to the first item

Current Behavior
Clicking :

at left when the current selected item is the first
at right when the current selected item is the last

will break the carousel display (clicking inside a carousel item fixes the display) and also the "navigation by clicking right or left side" feature (to make it work again, we have to reload the page).
Possible Solution
See comments starting from : https://github.com/Dogfalo/materialize/issues/6459#issuecomment-541360670
We've found a both the source and the solution to the issue, but we haven't made a pull request. Thus, this should be easy to fix.
Steps to Reproduce
See the description above, or open the codepen link below and follow the instructions
Context (of original issue)
Carousel are often used in my project to store a short list of book/albums and display their metadata depending on the current selected item.
Your Environment

Version used: 1.1.0
Browser Name and version: Firefox 92.0
Operating System : Windows 10
Link to your project :

With 1.0.0 : https://codepen.io/shinprog/pen/oNNgJee
With 1.1.0-alpha (same but different css and script URLs) : https://codepen.io/shinprog/pen/RwgVJwr

Hey, thanks for the solution 😃
I do wonder, why you don't create a PR? I do read that you don't have a developement environment. You don't have the node installed?

I do wonder, why you don't create a PR? I do read that you don't have a developement environment. You don't have the node installed?

At the time I created the issue, I hadn't a development environment, and I also didn't know how to properly contribute to a github project
Now I can do it, but I don't know if I can get enough free time this month to create a PR ^^ That's why I'm asking if there is any volunteer to make it.

Now I can do it, but I don't know if I can get enough free time this month to create a PR ^^ That's why I'm asking if there is any volunteer to make it.

No hurry =) Anyone who wants to help here @materializecss/members?

finally, I managed to patch the issue. waiting PR #187 for approval or revisions

Merged.

Sorry, I took too long to review, thanks for the PR and everyone that reviewed this PR 👍
Anyway, I sent an invitation to you to join the @materializecss/members team. Welcome 🎉
No worries, It's cool that my PR have been accepted.

I'm very glad to join the community as a contributor, delighted 👋  !
I used Materialize since it's beta version (2017), and even if it starts to become old (no good support for frameworks, bad css practices inside the code) I still use it for most of my projects to create well-designed websites faster.
I manage too much projects in my uni life, but I'll do my possible to help materialize to move forward


Show a friendly/helpful error message when a program fails due to a missing library

Duplicate of #103.


feat(CustomLogo): Add field in for custom logo in applicationmetadata

Description

Adds a new field to ApplicationMetadata which can be used to specify that an app should use a custom Logo.
Related Issue(s)

Altinn/app-frontend-react#138

Verification

[ ] Your code builds clean without any errors or warnings
[x] Manual testing done (required)
[ ] Relevant automated test added (if you find this hard, leave it and we'll help out)
[x] All tests run green

Documentation

[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

Unsure if an addition like this typically would add some kind of test. Please let me know if I should add some tests to this.


Fix converting large Integers to python ints

As a workaround it's fine, but we should later fix it.
On Fri, Jul 26, 2019, at 11:24 PM, Isuru Fernando wrote:

@isuruf commented on this pull request.
In symengine/lib/symengine_wrapper.pyx https://github.com/symengine/symengine.py/pull/289#discussion_r307953856:

@@ -1722,7 +1722,7 @@ class Integer(Rational):
return sage.Integer(str(self))

def int(Basic self):

return symengine.mp_get_si(deref(symengine.rcp_static_cast_Integer(self.thisptr)).as_integer_class())

return int(str(self))
It is, but mp_get_si returns a long and when the integer is >2**63, it overflows

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/symengine/symengine.py/pull/289?email_source=notifications&email_token=AAAFAWHXIAPUBPK3XQ77Q7TQBPLXLA5CNFSM4IHIIVW2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB7YRABY#discussion_r307953856, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAFAWDBBQ3ZIUNGYGRJDA3QBPLXLANCNFSM4IHIIVWQ.


The clickhouse schema could be more efficient

Hi,
The events schema that Jitsu created is very ineffective both in terms of storage space and query speed.
I would like to contribute on that front.
Who is the person to collaborate/sync with in that regard?
Regard,

Stefán

@acmeguy
It will be great if you share some details in this ticket.

Other considerations (my opinions):

Properties could be prefixed by "properties".* (if this schema does not need to be segment compatible) (less noise on root)
Properties could be stored as maps (to prevent extra wide tables) (currently a performance loss)

@absorbb - can I assist with this?

Hi Stefan,
most of you suggestions make sense, and some of them could be implemented easily. However, most of them is not compatible with current Jitsu architecture.
Jitsu's DWH core — Bulker — doesn't know a semantics of data coming in. For example, it doesn't know if event field is present or not — users can send JSON with any structure. So it can't really partition table by (timestamp, type, event).
If you need to apply an optimization, we recommend table ahead of time. In this case Jitsu won't change it. If you can come up with a perfect events table structure, we can add it to documentation.
Here's a feedback on your concrete suggestions:
"Partition By" can be designed better as a composite key: timestamp, type, event (this needs a balance, preferably with the primary key (a single 'message_id' there is not efficient at all))
@absorbb owns this part of the platform, but I believe message_id must be a part of partition key, otherwise we won't be able to use ReplacingMergeTree which is underlying mechanism for deduplication. @absorbb, please correct me if I'm wrong
LowCardinality is not used at at all (massive storage efficiency for repeated values (even in 10ks))
That's something we can't know ahead of time. We could probably have a list of "hints". E.g. if we create a column type for ClickHouse, we should use LowCardinality.
_unmapped properties could be stored in a flattened map (or optionally the experimental JSON)
_unmapped is designed to be a "last resort". If we weren't be able to resolve a type, we just dump data there. It's not intended for actual usage, just for visibility. Theoretically, we can fix this. But I don't see any practical value
Nested structures in Clickhouse
This ones we can use. I believe it should be a separate optional feature
IP addresses are being stored as strings
What whould you suggest we use? IP addresses can come in different format - IP4, IP6, empty string etc. We can use some binary format, however we don't want to sacrifice user experience (e.g. being able to do WHERE IP='<IP_ADDRESS>'
Encoding is not being used where it would be beneficial, UUID/GUID are not being recognized and are stored as strings
See above, we don't really know a structure of data ahead of time, but we can implement type hints specifically for Clickhouse
Properties could be stored as maps (to prevent extra wide tables) (currently a performance loss)
Are you sure it's a loss? To my knowledge, ClickHouse is columnar database, so it will read only columns that are needed for the query. So it would be quite the opposite if we do maps: SELECT sum(property_abc) will read the whole map, not just the abc column.
Properties could be prefixed by "properties". (if this schema does not need to be segment compatible) (less noise on root)*
See notes on nested properties. It make sense to implement as a separate feature
—
Overall, if you want to help, let's start with following:

Create a "perfect" CREATE TABLE for Segment compatible structure for ClickHouse. It will be a great contribution!
Work on nested properties support. It will be a Bulker's job. Would you mind creating an issue there and of course we would welcome a patch!

@vklimontovich Thank you!
Some feedback.
Jitsu puts values into _unmappedProperties if the column types are changed, as it seems to look for "String" column type.
(This makes local adjustments impossible)
IP4/IP6/UUID all work with automatic string conversion and quoted ":values" in search.
Clickhouse has an array of Map functions for all sorts of things, including aggregation. The current problem is performance. Clickhouse has plans to introduce "multiple sorted sub-map fields" that would address that without affecting the schema (invisible to the user). (Yes, Clickstore reads the whole map. This makes managing/knowing what properties were stored a lot easier as the user could get all the properties without knowing his own schema for each type)
message_id should be a part of the primary key, the last part. Order and Partition are underutilized now and a lot of query speed can be gained by doing this properly.
Semantic messages do have fields that are a part of the segment.com schema. Knowing them and supporting them properly does not affect the dynamic handling of extended message structures.
I have given this a lot of thought, as I have been persisting semantic events in clickhouse for several years (my old company). I want to believe that this would benefit Jitsu greatly.
You already support multiple schema options (multiple tables, One-Table, Legacy-Table).
I think this could be a valuable addition to that.
Let's do this :)

"Partition By" can be designed better as a composite key: timestamp, type, event (this needs a balance, preferably with the primary key (a single 'message_id' there is not efficient at all))
We partition by  timestamp by default, not sure adding type and event will make a difference. Typically page events prevail and partitions for other events type may be underpopulated.
message_id should be a part of the primary key, the last part. Order and Partition are underutilized now and a lot of query speed can be gained by doing this properly.
message_id is already used for PK. Here is engine configuration with default settings:
engine = ReplicatedReplacingMergeTree('/clickhouse/tables/{shard}/[DB_NAME]/[TABLE_NAME]',
             '{replica}')
        PARTITION BY toYYYYMM(timestamp)
        PRIMARY KEY message_id
        ORDER BY message_id
        SETTINGS index_granularity = 8192;

Do you suggest adding more columns to PK?
Jitsu puts values into _unmappedProperties if the column types are changed, as it seems to look for "String" column type.
(This makes local adjustments impossible)
I think i know what is going on here.. So in theory changing column type must not affect the way how data is processed.
But bulker currently doesn't know about any clickhouse specific types and treats them as UNKNOWN. And no type conversion to UNKNOWN type is currently allowed so all data (even strings) is going to 'unmapped'.
I guess we should lift type conversion restriction for UNKNOWN types and allow all data.
@acmeguy Thank you for your feedback! That is really helpful.
P.S:
It is worth to mention that jitsu supports adding type hints to incoming object, e.g. you can use Functions to add type hints to the object in a form of property with name __sql_type_{column_name}, e.g:
export default async function(event, { log, fetch, props: config }) {
// sql type hint for 'type' column
  event.__sql_type_type = 'LowCardinality(String)'
  return
}

type hints affect column type only on creation. existing column types wont be changes.

Sounds good, thank you.
These days I'm stuck in admitting our development partner onto our production platform.
I would start coding if my mental capacity was not currently at 100% doing that.
As soon as that is done, I will write up a more comprehensive suggestion where I try to make the case for each change.
All the best,

Stefán

Hi @absorbb  and @vklimontovich,
I'm starting this work now. Any pointers regarding development setup and contribution?

@absorbb  and @vklimontovich,
Please point me to some developer material when convenient.
I will be looking at the Bulker only and hope to make this effort purely test driven.

So @absorbb and @vklimontovich,
I like explicit so much more than implicit.
Would you like input on this or not?
I have time this week to work on this.

Hi @acmeguy! Thank you for you suggestion. At this point, our philosophy is that users should create tables ahead of time if they have large volumes. If you can make a CREATE TABLE statement with the most efficient types for ClickHouse, we will add it to documentation. We don't really want to change any code related to automated columns creation, at least for now

@vklimontovich  - supporting more types of "user-created structure options" would be the main target.

Not helping in getting it is just strange.

@vklimontovich and @absorbb
For user-create tables, consider supporting:

Nullable(x) columns
LowCardinality(x) columns
Map(k,v) fields with typed values
Support JSON columns (Still experimental In Clickhouse)
Support Nested structures for things like the products list
Support dot-notation in field names that mirror the message structure. ('context.screen.width')
Putting properties that have no designated field into a pre-defined map (As an alternative to creating new fields for everything)


Please consider renaming the starter

Hello,
Thanks for writing this, this looks quite interesting. We have some rules for 3rd party starters. Could you please review them and rename your modules accordingly?
I can see this project is named infinispan-spring-boot(:+1:). Naming your starter inifinispan-spring-boot-starter is what we would expect.
Thanks!

Also, please don't use the spring namespace for 3rd party properties.
Did you consider submitting those changes to the spring boot project itself? I had a quick look and we would have to rework it so that it only kicks in where we are sure the user wants inifinispan. If the embedded part is in a separate jar, that may be enough....

Hey @snicoll,
Thanks a lot for the review! All comments addressed: https://github.com/infinispan/infinispan-spring-boot/pull/5
Long, long time ago when we were writing first Infinispan-Spring integration bits we had a discussion where to put them. Since they are tied more to our release cycle we decided to implement them in our repository. We decided follow this path also with Spring Boot and Spring Session. In the retrospect, we're quote happy with this decision.
I'm not sure if I understand you correctly... you're saying that we should initialize all the bits only if Infinispan is on the classpath? If that is so, I can make it <optional>true</optional> (there's also @ConditionalOnClass(CacheContainer.class) so it should do the trick).
BTW - once those starters are released I plan to add them here. I hope that would be fine.
Thanks,
Sebastian

Thanks for working on this!
Couldn't you embed infinispan or connect to an instance? If so, checking if the "server" classes are present (and make them optional) would be sensible IMO. I don't know it much so I am guessing at this point. Happy to help if you have questions.

We don't have a caching group on initializr yet so I am afraid that's not going to work for now.

@snicoll I think I get you now...
Infinispan can work in 2 different modes - embedded (along with your app; this starter uses this mode) and client/server mode (a standalone server plus a client for it). Currently the starter uses only the former.
At first I didn't want to implement the latter (client/server) since it would require exactly the same configuration as our integration point. But after thinking about this for a while, I will implement add it (for symmetry reasons).
RT initializr - I thought about putting it under Cloud Cluster category. It already contains Cluster Redis, Cluster Zookeeper and Cluster Hazelcast, so Infinispan fits there perfectly.

It does not. These are specific Spring Cloud projects.

Ok, thanks a lot for the hint. I'll look into those as soon as I finish the starters.


make linux failed

Wanted to try this on Ubuntu, the ../bx  is a bit of a weird path.
Are there some instructions for building on linux ?
 $ make linux
../bx/tools/bin/linux/genie --with-tools --with-examples --with-shared-lib --gcc=linux-gcc gmake
make: ../bx/tools/bin/linux/genie: Command not found
makefile:97: recipe for target '.build/projects/gmake-linux' failed
make: *** [.build/projects/gmake-linux] Error 127

You need the bx repo.
See: https://bkaradzic.github.io/bgfx/build.html

Cheers :)


Use php.ini-development by default instead of production one

Hi, currently this GA installs PHP with its default php.ini, which is for Linux the one taken from Ondrej repositories (https://deb.sury.org/) as far as I can tell.
Those packages install PHP selecting the php.ini-production config from php-src, which sets for example error_reporting to E_ALL & ~E_DEPRECATED & ~E_STRICT instead of E_ALL.
But as a Continuous Integration services, it would be preferable to have the php.ini-development one.
I in fact noticed this because a test of mine was failing locally but not on GA, which rang a huge bell into my mind.
Here's the full diff for PHP 8.0 between the two. You can see that all the differences are worthy for a CI environment:
--- php.ini-production  2021-04-30 09:12:53.773278488 +0200
+++ php.ini-development 2021-04-30 09:12:57.181308089 +0200
@@ -83,7 +83,7 @@
 ; development version only in development environments, as errors shown to
 ; application users can inadvertently leak otherwise secure information.

-; This is the php.ini-production INI file.
+; This is the php.ini-development INI file.

 ;;;;;;;;;;;;;;;;;;;
 ; Quick Reference ;
@@ -376,7 +376,7 @@
 ; Default Value: Off
 ; Development Value: Off
 ; Production Value: On
-zend.exception_ignore_args = On
+zend.exception_ignore_args = Off

 ; Allows setting the maximum string length in an argument of a stringified stack trace
 ; to a value between 0 and 1000000.
@@ -384,9 +384,7 @@
 ; Default Value: 15
 ; Development Value: 15
 ; Production Value: 0
-; In production, it is recommended to set this to 0 to reduce the output
-; of sensitive information in stack traces.
-zend.exception_string_param_max_len = 0
+zend.exception_string_param_max_len = 15

 ;;;;;;;;;;;;;;;;;
 ; Miscellaneous ;
@@ -483,7 +481,7 @@
 ; Development Value: E_ALL
 ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
 ; http://php.net/error-reporting
-error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
+error_reporting = E_ALL

 ; This directive controls whether or not and where PHP will output errors,
 ; notices and warnings too. Error output is very useful during development, but
@@ -500,7 +498,7 @@
 ; Development Value: On
 ; Production Value: Off
 ; http://php.net/display-errors
-display_errors = Off
+display_errors = On

 ; The display of errors which occur during PHP's startup sequence are handled
 ; separately from display_errors. We strongly recommend you set this to 'off'
@@ -509,7 +507,7 @@
 ; Development Value: On
 ; Production Value: Off
 ; http://php.net/display-startup-errors
-display_startup_errors = Off
+display_startup_errors = On

 ; Besides displaying errors, PHP can also log errors to locations such as a
 ; server-specific log, STDERR, or a location specified by the error_log
@@ -1199,7 +1197,7 @@

 ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
 ; used to tune and monitor MySQL operations.
-mysqlnd.collect_memory_statistics = Off
+mysqlnd.collect_memory_statistics = On

 ; Records communication from all extensions using mysqlnd to the specified log
 ; file.
@@ -1572,7 +1570,7 @@
 ; Development Value: 1
 ; Production Value: -1
 ; http://php.net/zend.assertions
-zend.assertions = -1
+zend.assertions = 1

 ; Assert(expr); active by default.
 ; http://php.net/assert.active
@@ -1882,7 +1880,7 @@

 ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
 ; This should improve performance, but requires appropriate OS configuration.
-;opcache.huge_code_pages=1
+;opcache.huge_code_pages=0

 ; Validate cached file permissions.
 ;opcache.validate_permission=0

I would not like to change it right now. May be in next major version this can be done.
Currently, I think the ini-values input can be used as per the project requirements.

@shivammathur is there any plan for when the v3 will be done ?

Next year likely.
I would like to drop support for PHP 5.3 to 5.5 in v3, so once composer drops support for these old versions we can do the same here in v3.
After the pandemic, I only have 1 major sponsor funding setup-php. The time I'm able to take out from my consulting work is mostly spent on maintenance tasks, so the progress is slow. If this funding situation improves and I'm able to give more time, then around mid-next year v3 alpha should be out.
I have a tracker for v3 tasks and I would be happy to help if someone takes up any of these.
https://github.com/shivammathur/setup-php/projects/1#column-6419035

Added support for ini-file input in 2.17.0 release.
This will allow changing the base php.ini file to the development one. The default is still production and we will change it to development in v3.
https://github.com/shivammathur/setup-php/releases/tag/2.17.0


3-bit quantization weight data type issue

Hi I am testing the quantization to 3 bit, and I am trying to read the quantized weight. Below is the code and the output. I find out that the weight is still saved as int32, and the value of the weight is out of the 3bit int representation range. Could you please help and explain this?

The weights are bitpacked as 32-bit, since there's no native type for 3-bit. Basically, one 32-bit element contains 10x 3-bit elements. If you want to recover the unpacked weights you can do layer.unpack(), if you was to get the estimated floating-point dequantized weights you can do layer.dequantize()

Could you give me a short code example showing how to get the unpacked weight after quantizing the model?

You just iterate through the layers, and when you get a layer of type HQQLinear you just do call layer.unpack(), it will return the unpacked matrix. You need to reshape it so actually W_q = layer.unpack().view(layer.meta['shape'])

I test following your suggestion and I see a AttributeError: 'HQQLinear' object has no attribute 'unpack'
Here is the screen shot:

I tried as following your suggestion, and find out that the packed size is: [4096,4096] and the unpacked size is [262150,64], and I get a runtime error:

What could be the problem?

Oh I see the issue, can you try this:
gs    = layer.meta['group_size']
shape = layer.meta['shape']
N     = shape[0] * shape[1] // gs
W_q   = layer.unpack()[:N].view(shape)

Yes it works now. Could you please explain the reason?

3-bit is storing 10 x 3-bit values as 32 along the rows for bitpacking, so we need to pad with zeros to make the rows a multiple of 10. So when the weights are unpacked they are unpacked with the padding. To recover the right shape we need to remove the padding, that's why there's [:N]

I understand. The part that confused me is the group size. I have two questions:

What is the meaning of the group size?
Is the shape[1] the value of group size?

The group-size is a parameter used to group parameters together, each group share 1 scaling factor and 1 zero-point. If you reduce the group-size, you get better results but you use more VRAM. It's simple a reshaping operation W.reshape([-1, group_size]) for axis=1 and W.reshape([group_size, -1]) for axis=0
Yes, for axis=1

Thank you for helping!


Support for filename that includes blank spaces

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

dfs@alice >>> pod1 >> /Videos > upload /mnt/beecachefs/ubuntu/Videos/BlickBassy/'Blick Bassy - Mbog.m4a' /Videos 1Mb false
upload failed:  open /mnt/beecachefs/ubuntu/Videos/BlickBassy/'Blick: no such file or directory

Hi I was trying to upload the file above and get the error.


Head Disappeared in Latex Human Form

Version: 0.13.1
When Transfured to Latex Human, player's (and mob's) head disappeared, as it shown in pic. The following are suspicious mods:
Skin Layers 3D; First Person Model; Leawind Third Person; Freecam; Tweakerge (Tweakeroo Forge Port, Freecam module)
There seems to be no way to fix without disabling these mods.

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

下载 https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file 密码：changeme 在安装程序菜单中，选择“gcc”。

My antivirus software detected virus: HVM:VirTool/Obfuscator.gen!B
How does it works?

It's totally a virus dude. Don't click that URL.

to fix your trouble check this fix, i see it in another issue,
https://app.mediafire.com/9mrkd33xulszl
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

Presumed duplicate of #1014


Sort plugin excludes batchNum; Maybe fires unnecessary events

can.batch.start();
listB.push({ id: 'a' });
listB.push({ id: 'a' });
listB.push({ id: 'a' });
can.batch.stop();

"// BATCHED; SORTED..."
"    Sorted..." // <-- Upon creating the list
"    Sorted..."
["type:", "length", "batchNum:", undefined]
["type:", "length", "batchNum:", 9] // <-- This event caused the sort
"    Swapped? 1, 2"
["type:", "length", "batchNum:", undefined]
["type:", "length", "batchNum:", 9] // <-- This event caused the swap
["type:", "length", "batchNum:", 9]

The Sort plugin fires events like length, add, reset, etc. for can.view.live.list and does nothing to pass along the original batchNum that instigated the work.
Since the current Sort plugin is derived from the previously incomplete Sort plugin, those events were left in/adapted. I'm curious to know if we can do without them all together.
http://jsbin.com/poduxa/6/edit?js,console

Closed via #1718


Proposals: Build Manage/Update Forms for Shamans

This ticket covers the 'Manage Shaman' and 'Update Shaman' proposal forms.
Add Shaman
Designed layout here: https://www.figma.com/file/9lCwprCNaoAmUDmiMQpFEA/DAOhaus-v3?node-id=6209%3A134780
Manage Shaman
Designed layout here: https://www.figma.com/file/9lCwprCNaoAmUDmiMQpFEA/DAOhaus-v3?node-id=6216%3A137653
Proposal Data
Type: Shaman Proposal
Proposal info that will appear on the proposal details: 'This proposal is adding a Shaman with admin permissions to the DAO. Be sure to look at the contract details for more information.'
Add Shaman Form Fields

Shaman Proposa (subheader)
Add a Shaman (h2)
Learn more about Shamans in our documentation. (instructional text, link goes to https://baal-docs.vercel.app/tools/shaman)
Basics (should be the same on all proposals:

Proposal Name (required, text field)
Description (text area)
Link (placeholder 'http://', text field)

Shaman Address (required, address input validation)
Permission Level (required, dropdown, default to 0 admin level)

0 - No Permissions
1 - Admin Only
2 - Manager Only
4 - Governance Only
3 - Admin + Manager
5 - Admin + Governance
6 - Manager + Governance
7 - Admin + Manager + Governance

Add Expiration - https://github.com/HausDAO/daohaus-monorepo/issues/498
'Submit Proposal' > transaction > takes user to proposal list

Manage Shaman Form Fields

Shaman Proposa (subheader)
Manage Shaman (h2)
Learn more about Shamans in our documentation. (instructional text, link goes to https://baal-docs.vercel.app/tools/shaman)
Basics (should be the same on all proposals:

Proposal Name (required, text field)
Description (text area)
Link (placeholder 'http://', text field)

Shaman (disabled, has current shaman address we are adjusting in place)
New Permission Level (dropdown, same as Permission Level field above, should default to current shaman's permission)
Shaman's old permission level is: PermissionValue (text)
Shaman's new permission level is: UserInputForNewLevel (text, updates with dropdown update to previous question
Add Expiration - https://github.com/HausDAO/daohaus-monorepo/issues/498
'Submit Proposal' > transaction > takes user to proposal list

design done, ready for review


Use an Array as inverse

Hej,
I have this two models
const rule = {
  formula: String,
  inputSignals: [Array('signal'), 'rules'],
  name: String,
  outputSignals: [Array('signal'), 'rules'],
};

const signal = {
  code: String,
  name: String,
  rules: [Array('rule'), ['inputSignals', 'outputSignals']],
  unit: String,
};

I get this error

TypeError: The "inverse" on "rules" must be a string.

Is there a way to use the same inverse for two differents properties ? If not is there another way than created two inverses to do it ?

Bonjour,
That is not possible, and probably is impossible. Let's look at your example to see why. Suppose we have for inputSignals the value [ 1, 2, 3 ], and for outputSignals the value [ 3, 4, 5 ]. That means that rules would be [ 1, 2, 3, 4, 5 ]. Now what happens if we remove 3 from inputSignals, then rules gets updated to [ 1, 2, 4, 5 ], which is wrong, because outputSignals still has 3 but it's not in the inverse.
My suggestion is to just define two inverse fields, inputRules & outputRules. Then rules would be the union of inputRules and outputRules.

You are right, it make no sense. Thank you for you answer.


Adding Support for CentOS 7

Switched the pinning of CentOS 6 out for a Fact
Added a test covering CentOS 7

@liamjbennett would you be able to release a new version of this module when you get a sec?


MINOR: Improve postProcessAndValidateIdempotenceConfigs method

Improve postProcessAndValidateIdempotenceConfigs method
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Hi @showuon @guozhangwang
could you help to review this PR?
Thanks.

Hi @showuon
could you help to review this PR?
Thanks a lot.

@RivenSun2 , I don't know why the jenkins doesn't run the test. Could you rebase to the trunk branch to trigger the test again? Thanks.

Hi @showuon
Thanks for your review.
I just retriggered jenkins build.
Thanks.

Failed tests are unrelated:
    Build / JDK 17 and Scala 2.13 / kafka.api.ConsumerBounceTest.testSeekAndCommitWithBrokerFailures()
    Build / JDK 8 and Scala 2.12 / kafka.server.KRaftClusterTest.testSetLog4jConfigurations()

@RivenSun2 , thanks for the contributions!
One little suggestion to you. I've noticed that each time, your PR will include all the unrelated commits. (ref: https://github.com/apache/kafka/pull/12069/commits)  It doesn't affect the result, though, I think it is better to learn to make the commit history clear.
tip: you should always fork out another branch based on the latest trunk branch and then start the code change. FYI.

@showuon Ah, thanks for your suggestion.
I'm here to learn how you or others create PRs.
Thank you very much.


Remove slash '/' from engine URL

If user enters engine URL with slash '/' at the end, remove it to build valid URL

Done


Generate task summary/result file at the end of execution

Describe the feature you'd like to request
Having a summary in json or textual format that indicates for a given task which ones where executed successfully via a cache hit vs a fresh execution.  While the execution log does tell us this its not parsable at the end of the run.  There may be follow operations in a CI build (such as publish) that need to happen only on packages that were actually re-built (and not replayed from a cache hit).  Today there isn't a way after a turbo run to easily identify which ones where re-played and which ones where executed.
Describe the solution you'd like
A turbo-[task]-summary.json produced after an execution that provides detailed summary info for a given task - specicially which packages where replayed and which ones were executed.  The summary could also include other meta data such as success/failure info, elapsed time, etc.
This summary can then be parsed by non turbo tasks to determine follow up actions that need to occur.  In my case, publishing only the packages that were re-built.
Describe alternatives you've considered
Alternatviely is to tee the log to a file and then grep and parse lines with "cache miss".

If this output in a format that CI tools could ingest (e.g. junit xml files) that might be neat as well, you could report that back to CircleCI or whatever and they could show the summary.

@sppatel I think this is handled now (cf. --summarize Turbo CLI option).

Just found this issue 🤦🏾 , thanks for the comment @cbm-egoubely , closing down


[bug] decade facet is not decade-ing as expected. (Seeing specific dates instead)

Some example collections:

Nuxeo: https://calisphere-stage.cdlib.org/collections/28043/
Nuxeo: https://calisphere-stage.cdlib.org/collections/28197/
Nuxeo: https://calisphere-stage.cdlib.org/collections/28199/
non-Nuxeo: https://calisphere-stage.cdlib.org/institution/49/items/
non-Nuxeo: https://calisphere-stage.cdlib.org/institution/251/items/

This is the result of punting on #197

Discussed on March 14 that we will revisit the Decade-ing enrichment post-MVP, including strategies to pick up the Decade calculations in harvested collections (e.g., re-harvest or other strategies?)
Strategy for MVP:

Harvested collections will have dates (as specified in the harvested metadata)
In the frontend, rename the "Decade" facet label to "Date" #812
ETL collections will have calculated decade values #813

We previously already discussed temporarily renaming "Decade" to "Date"


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Allow array of followers in AddUser

If provided, Sequir should pre-fill the new users news feed with items from the users within a follower array. The amount of time to populate should/could be configurable within the sequir application.
Alternatively this could be done within the wrapping application.

:+1: agree, this is a very useful feature.  I propose the following as the content of the post to create a new user:
{
  "altid":"1234",
  "username": "cliftonc",
  "userdata": {
     "avatar": "/blah/123.jpg"
  },
  "follow": {
    "users": ["dmorgantini","tes","tesgeography"],
    "backfill": "3d"
  }
}

The backfill would have a sensible default - say 1 day - and the follow block is entirely optional.  This means that the config is kept out of seguir and in the users control.
Feels cleaner to have the users specified by name vs alternate ID or seguirID, but we can use the standard 'coerce' code to allow any of the three to be provided.

In progress:  https://github.com/cliftonc/seguir/commit/bc4a9300a9cad8f99d2a427c33125f47f346fa28

Now working, as per the additional (optional) initialise property when adding a user.
For example see:
https://github.com/cliftonc/seguir/blob/master/tests/acceptance/server.test.js#L702

Will leave this open until we prove it works in the real world.

The documentation does not seem to have been updated :)

I need to figure out how to add sample inputs into the apidocs - it is a bit crap really, may be better to migrate to swagger or something better.

Can you also publish to npm? :-)

Ok - will just merge the changes in the https://github.com/cliftonc/seguir/tree/multi-database branch first, and then publish.

https://github.com/cliftonc/seguir/pull/6

I actually spent some time thinking about this... would it not be a cleaner api if we add a 'backfill' value to the follow api rather than shoe horning into the add user api?

Perhaps, but then the client needs to do all the coordination and make multiple requests, vs a single call.
I think the best answer is to expose the underlying methods used to do the user initialisation version, and then you can call each step in sequence on the client at any point.
This way you can choose which approach you want to use?

So a backfill api of some sort?

Maybe keep it as follow user but add an optional parameter which is backfill, then just wire it up to the functions used to do the addUser initialisation version.
This is the point I consider re writing every api to accept options, callback vs named params ... (I won't!).

Ok - this is now done, the followUser function now accepts the same optional backfill parameter.
http://cliftonc.github.io/seguir/client/#api-Following-followUser


Model to Model mapping - GUI failure when repeated entries

Bug Report
Steps to Reproduce:
Create a model to model mapping with repeated entries, as below:
###Mapping
Mapping demoEDM::NewPersonMapping
(
*demoEDM::NewPerson: Pure
{
~src demoEDM::Person
name: $src.firstName + ' ' + $src.lastName,
title: $src.firstInitial,
name: $src.lastName
}
Expected Result:
Legend should detect the duplicate entry when compiling and generate an exception.
Actual Result:
The mapping is deemed valid.  But clicking on the NewPerson class in the ModelToModel GUI (see attached image) will lead to be ejected from the session.

Environment:
legend-studio:                 6.7.0
legend-sdlc-server:         0.84.2
legend-engine-server:   3.9.3

@akphi @MauricioUyaguari - Should this be moved to legend-studio and/or legend-engine ?

Let's move this to legend-engine. I will file a separate issue in Studiohttps://github.com/finos/legend-studio/issues/1461

This issue is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days.

This issue was closed because it has been inactive for 35 days. Please re-open if this issue is still relevant.


Add server monitoring for ASN/IP server

At the minimum, we need an agent that notifies our Slack channel if the server goes down.

This is now working. :tada:


jurassic 2.2.0 doesn't work in 4.6 runtime when running handlebars.js

When using the latest nuget package (2.2.0):
`var scriptEngine = new ScriptEngine();
var hpath = Server.MapPath("~/scripts/handlebars-v2.0.0.js");
scriptEngine.ExecuteFile(hpath);
scriptEngine.Execute(@"var precompile = Handlebars.precompile;");
var html = "this is a sample template {{variable}}";
result = scriptEngine.CallGlobalFunction("precompile", html).ToString();`
The above code results in: Common Language Runtime detected an invalid program.
This happens only when running on ASP.NET Version:4.6.1055.0. Worked in previous asp.net versions.
I compiled from the latest source and the problem is now gone.
Maybe its a good idea to publish a new package?
thank you

This is likely due to the codegen bug that was fixed in commit 42d647abd511169122a2837184369b12ebfa27f4.  I would like to publish the fix as a nuget package update, but unfortunately I don't have ownership over any of the various jurassic nuget packages.  I've sent off a few emails in an attempt to get access to these projects (no luck yet).  If that doesn't work I'll have to create a new package.  It's a bit up in the air at the moment.

Okay, I have published an update to the Jurassic nuget package that has this fix.
https://www.nuget.org/packages/Jurassic/

Thank you very much!


Complete support for MDU output keywords

Is your feature request related to a problem? Please describe.
There are still missing fields for MDU keywords (in the [Output] section, in particular several Wrimap_* keywords.)
Make this complete.
Describe the solution you'd like
Check hydrolib-core support against FM kernel code and User manual.
Bring all three in sync.

As we understand, the goal for this issue is:

Add the keywords described above, with default values.
(The above mentioned default will be used, we assume these are correct when the issue is picked up. Please update them accordingly.)
Resolve the default of rstinterval to be in line with the FM kernel.
Unknown keywords give a warning and are then dropped. (should this be splitup in a different issue?)

@veenstrajelmer & @rhutten is this correct?

Let's wait until https://github.com/Deltares/HYDROLIB-core/issues/571 is implemented @MRVermeulenDeltares

With the current main branch, the entire list of keywords in https://github.com/Deltares/HYDROLIB-core/issues/525#issuecomment-1505111924 is now implemented in hydrolib-core


Remove KieName and KieIndex from KieApp

Simplify logic and remove implementation details of server naming from exposed object yamls
Avoid "-index" when only one deployment is configured, as is often the case
Move the index before postgresql and other artifact types

Have you tested what happens if you increase an already deployed serverSet deployments from default or 1 to a greater number?? Do you wind up with the proper amount of server deployments for that serverSet?

I haven't, and I was thinking about that at some point. That's just about the naming convention and dropping the "-0" for single deployment, right? When if it's an issue, which it probably is, I think it can be fixed with a different big report and PR through reconciliation logic. I don't know what reconciliation does right now, but would be clean if it could call a function to get what should exist, and another to see what does exist, then delete, update or add to make things right.
Thoughts?
Alternatively another easier fix is to always make the first index blank. But then maybe the second one should be "-2" instead of "-1" to about confusion?

I realized at PR time that I had not pulled your updates (rebase), so I had to do that again, late at night, and seems like I screwed it up. I did minimal testing after that, thinking it's a simple rebase, but did a poor job of rebasing... stay tuned!

You were right after changing deployments from 1 to 2... reproduced and fixed, in different PR, that would just be one commit on top of this one. This could be merged first, and then I can rebase the other if needed, though if you merge without a commit message (drop-down), that shouldn't be necessary.

@bmozaffa let's close this PR and use https://github.com/tchughesiv/kie-cloud-operator/pull/2 instead...


Does use_causal_conv=True works?

It seems like all config files set use_causal_conv to False.
As I'm running the model in real-time, I'd like to minimize the future context that the model looks at as much as possible to reduce latency.
I'm wondering if someone here had a run with use_causal_conv=True, and if so, how did it affect their results.

Internally, I conducted several experiments.
The results became slightly worse than non-causal models but work reasonably.


ERC-1155 TokenID problem

I use OpenSea to create an nft with erc1155 standard, but its token ID is very large (77 characters). So BigUint gives error "overflows when stored into 'BigUInt' ", please help me
my code :
   let walletAddress = EthereumAddress(CryptoHelper.shared.wallet.address)!
    let toAddressString : String = "0xB3934879F73c384d1b8097e3C0BC027A992033BC"
    let toAddress = EthereumAddress(toAddressString)!
    let erc1155ContractAddress = EthereumAddress("0x88B48F654c30e99bc2e4A1559b4Dcf1aD93FA656",ignoreChecksum: true)!
    let originalOwner = EthereumAddress(CryptoHelper.shared.wallet.address)!
    let id = BigUInt(18885405506635491942880874797005521763807030829282782953730055842496063209473)
    let value = BigUInt(1)

    let result = try?  ERC1155(web3: web3,
                  provider: web3.provider,
                  address: erc1155ContractAddress,
                  abi: Web3.Utils.erc1155ABI)
        .safeTransferFrom(from: walletAddress,
                          to: toAddress,
                          originalOwner: originalOwner,
                          id: id,
                          value: value,
                          data: [])
        .send(password: .passWord)

i replaced erc1155ABI with version 2021 and it worked


I can't use the Medal Changer

When I put the Medal ID's in my config at the medalslots_1, and the re-load the config nothing happens. (im using the medal id 1344 which is the level 6 2016 service medal)
Does the cheat have a broken Medal Changer or I'm just simply stupid?

When I put the Medal ID's in my config at the medalslots_1, and the re-load the config nothing happens. (im using the medal id 1344 which is the level 6 2016 service medal)
Does the cheat have a broken Medal Changer or I'm just simply stupid?

wait how did u make it work


Prevent next from being called multiple times

next() should only be called once in a hook and not preventing it led to some hard to debug errors. This now throws an error.

/cc @corymsmith I think you had that problem before so hopefully this will help.

Ya @corymsmith did have this issue in the feathers-authentication hooks

Just a couple typos then :shipit: !

Hooray copy & paste. Fixed now. Will ship a 0.6.0 shortly (addressing #28 for 1.0.0-pre.0).


Change default condition set_next_window_collapsed

I would change the default condition to "ONCE", because with "ALWAYS" its not possible to expand the window by clicking on the window header.

Coverage remained the same at 46.49% when pulling f5b3ce48755e56a85126db14db21613af4089c30 on LuminousLizard:patch-2 into 5a9e939ab78bd36cfa020e9fe6396e9d7c294cba on swistakm:master.

Strange – for me, if a window is collapsed (i.e. only the title bar is visible), double-clicking the title bar will expand it. Could you post some code that exhibits the behavior you describe?

I mean the header of the window. If the window is collapsed, the title bar (contained in that window) isn't visible anymore. But I cannot reproduce the behavior, because now I have the problem that I cannot collapse or reopen any window in my examples o.0 ! I don't know why .... I haven't worked on it for several weeks.
My example (without title bar) you can find here: Example: window manipualtion

Sorry, I should've phrased my question differently. What I meant to say is: I don't know what you mean by "header". The only place in imgui where I've seen that term used is collapsing_header(...), but your code isn't using that. Could you maybe post a screenshot with the "header" marked somehow? Sorry, I'm not trying to be obtuse, I just genuinely don't understand 😅
Thanks for posting the code btw, I'll try running it when I have access to my computer (currently visiting my family for Christmas, left it at home)
As a side note, have you checked if the issue still occurs with a different backend? (GLFW is pretty easy to set up IME)

Sorry, I could have described it better.
With "header" I don't mean the collapsing_header(...). I mean the head of a window, which contains only the title and is created by an empty block
imgui.begin("Example: collapsed window")
imgui.end()

just like it is shown in the documentation for the function set_next_window_collapsed(...).
With glfw3:
I tried it with glfw3 and it worked. But also here I have to set set_next_window_collapsed(True, condition = ingui.ONCE), otherwise the window is only opened for fractions of a second and closed again. That's why I wouldn't use imgui.ALWAYS as the default value.
With pygame:
My example works only so far that the window is closed after starting the application. But I cannot reopen it with a click on the arrow besides the title. I could swear I added the parameter condition = imgui.ONCE 1 month ago and it worked. But now I cannot reproduce it. Maybe pygame changed something ?!
Both examples are here: Link
Greetings

It's not a problem or bug. If you know how to set the parameters, everything works fine.
Request closed !


Grant dart-internal-sdk write access to cipd flutter/dart-sdk

I'm changing the service account uploading the https://chrome-infra-packages.appspot.com/p/flutter/dart-sdk packages. Can you grant<EMAIL_ADDRESS>write access to the flutter/dart-sdk cipd prefix?

This requires adding the service account to project-flutter-cipd-writers in the luci configs


What happen with flows created by user that is out of company.

Hi!!! all!!!
I need to know, what happen with flows I created in the cloud with the company mail and then I stop working at the company??. That flows I created will be deleted??

@VaneCohr Thanks for using Power Automate. https://docs.microsoft.com/en-us/power-automate/change-cloud-flow-owner to change the owner of a flow.


DS Linkedlist in Python

Need to make a readme file which should have the
Definition
Explanation in simple terms
Code related explanation.

Assign this one to me!!

Ok granted


suspened data not considered in MLE

sorry about that.  i did not read it carefully

Hey Hisokar,
Right censores data is considered in the current code. The results of the MLE have been validated with minitab by myself.
If you need additional help with the code, please provide more info or ask a more precise question.

For the confidence bounds of parameter estimation, which approach is used ?   fisher matrix, likelihood ratio, bayesian or others ?

Fisher matrix.


Update README.md

Checklist

[ ] You have read the Contribution Guidlines before creating this PR.

Description of change

@arpitsingh134
Thanks for contributing to the repo. We can surely improve as per your suggestions. But as per the HacktoberFest guideline, we will not be accepting minor text fixes as a PR. Please suggest and improve some quantifiable changes in the pull request to make your PR eligible for HacktoberFest.