How to get the lines sorted with the maximum execution count?

I have the html report and it shows how many times each line of the code was executed. I also have .nyc_output/out.json
The code base has over 100 files. I want to find the most executed lines of the code base.

So in the above image I want to run something from the command line that will create a table like this:

Line location
Execution count

Line 502
3434

Line 515
3434

...
....

Line 551
12

The most executed lines of the code base will allow me to do performance optimizations.
I am able to use grep on command line to get closer to the results I need:
> grep count coverage/clover.xml
<line num="12" count="10" type="stmt"/>
<line num="76" count="10" type="stmt"/>
<line num="4" count="10" type="stmt"/>
<line num="6" count="10" type="stmt"/>
<line num="11" count="9" type="stmt"/>
<line num="14" count="6404" type="stmt"/>
<line num="19" count="6401" type="stmt"/>
<line num="20" count="6401" type="stmt"/>
<line num="21" count="6401" type="stmt"/>
<line num="24" count="6388" type="stmt"/>

In 2nd step I cut and then sorted
> grep count cc-report-archives//ui-focus/2023-01-01/clover.xml | awk -F"\"" '{print $2","$4}'
12,10
76,10
4,10
6,10
11,9
14,6404
19,6401
20,6401
21,6401
24,6388

In the 3rd step I sort it on the 2nd field
> grep count cc-report-archives//ui-focus/2023-01-01/clover.xml | awk -F"\"" '{print $2","$4}' | sort -t, -nk2
835,6394
19,6401
20,6401
21,6401
14,6404
616,6475
904,6506
687,6605
810,6755
501,32992

I need to find the file the line number is referring to.
Is there a pre-existing tool that does this?

Have a looked at .nyc_output/out.json.


Bug fix for dragonfly and CI tests.

Added build-std flag to CI, so for targets that support std but are tier 3 targets, we can use the experimental build-std support to ensure they build. Also patches linking on dragonfly to ensure we use libgcc_s instead of libgcc_pic, which no longer exists. We just create a symlink for that purpose.
Necessary to merge #775.

bors try --target *-dragonfly

it's not working

Checking it, yeah don't merge it yet.

Ok I think I've fixed everything. I've just changed the logic so instead of cross, we use ${CROSS[@]} and "${CROSS_FLAGS[@]}" everywhere, which then sets the toolchain version and if we need -Zbuild-std. It works locally on my machine.
bors try --target x86_64-unknown-dragonfly --target arm-unknown-linux-gnueabihf --target thumbv6m-none-eabi

im not a fan of this, instead I think it'd suffice if we make https://github.com/cross-rs/cross/blob/ee2fc1b55d3e5fd4aee37d3ce3ffa88016fd26cc/src/lib.rs#L352-L354 actually properly determine if build-std is needed, and then provide the needed flags if possible. Obviously, that's a bigger change than this simple fix, but I think that's the long-term solution, especially if we add more t3 targets to be "builtins"

im not a fan of this, instead I think it'd suffice if we make
https://github.com/cross-rs/cross/blob/ee2fc1b55d3e5fd4aee37d3ce3ffa88016fd26cc/src/lib.rs#L352-L354
actually properly determine if build-std is needed, and then provide the needed flags if possible. Obviously, that's a bigger change than this simple fix, but I think that's the long-term solution, especially if we add more t3 targets to be "builtins"

Probably a more logical solution, should I incorporate this into this PR then? It's probably better to have this logic outside our test suite for sure.

I'm fine with merging this already or with the suggested "real" fix.

bors r-

bors r+


expand editor code region styles - fsharp

Expand editor code region styles. Allow a space after the leading comment indicator. Allow both single line and block comments.
Examples:
// #region name
(* region name *)

Thanks @pr-yemibedu !


[BUG] - About page not rendering correctly

Describe the bug
The page is not rendering as it should. Haven't checked but appears to be a CSS issue.
To Reproduce
Steps to reproduce the behavior:

Go to https://play-with-go.dev/about
Scroll down to the bottom of the page
See the error

Expected behavior
The page should render correctly.
Screenshots

Desktop (please complete the following information):

OS: macOS Big Sur (10.0.1) and iOS 14 (14.2)
Browser Safari
Version 14.0.1 (macOS)

Pardon me if this belongs to the site repo and not this one. Only noticed it now 🤦♂

@rafaelcpalmeida no, you're absolutely right to report here, thank you!
Looks to be a Safari issue - I can reproduce.
cc @marcosnils


Run main.py erro

Hello, I encountered an issue. When I followed the steps to set up everything and ran main.py, a problem occurred.
(brainvis) cqy@fuying-System-Product-Name:~/myproject/BrainVis$ python main.py
data loaded
已杀死
It seems that when loading the data, the system's memory limit was exceeded. Have you encountered this issue before?

Thank you for your reply, I have one more question! If I only need the classification task of the job to obtain textual prompts for its EEG labels, can I avoid the detailed description obtained through BLIP?

At what stage should I train to know the accuracy of EEG classification CA, as shown in Table 3 of your paper! Look forward to your reply

Thanks for your interests in our work.
In the default settings, the GPU needs to have at least 40GB of memory. We have not observed the system memory requirements since the system memory is usually sufficient. However, I think at least 16 or 32GB of system memory is needed.
If you run the code on a 16GB machine, you might need to comment out the code for loading CLIP embeddings, as they are not required during the training of EEG encoders. Additionally, you should use torch.tensor(0) to placeholder for the commented-out variables to avoid issues with incompatible variables in the subsequent code.

你好，我检查了我的设备是2张32的内存条，按道理是不会出现该问题的呀！ 我如果只是需要得到该工作中的EEG分类器，我能否进行一些操作得到EEG的分类部分

If you need to obtain the EEG classifier, you only need to proceed to Part 4 of "Train the model."

Any text descriptions or labels are not needed, as the classification task uses one-hot encoding.

I have not received any reports from others encountering similar issues, so I suspect there might be an issue with your local setup. I'm not sure why “已杀死” is occurring, as it does not seem to be a standard error message in Python. Please check if other external programs might be causing the interruption. If the issue cannot be resolved, I recommend using the Colab platform for experiments, as it provides a more stable environment.

If you want to obtain the EEG classifier, you only need to proceed the steps to 4 of "Train the model", 5 and 6 is not required.
Any text descriptions or labels are not needed, as the classification task uses one-hot code.
I have not received any reports from others encountering similar issues, so I suspect there might be an issue with your local setup. I'm not sure why “已杀死” is occurring, as it does not seem to be a standard error message in Python. Please check if other external programs might be causing the interruption. If the issue cannot be resolved, I recommend using the Colab platform for experiments, as it provides a more stable environment.

Thank you for your reply. I have changed the length of len (train_dataset) to 5000 to enable it to run. When I changed it to 5000, the memory displayed occupied 48GB. If I were to use the original length directly, it would exceed the memory capacity

If you want to obtain the EEG classifier, you only need to proceed the steps to 4 of "Train the model", 5 and 6 is not required.
Any text descriptions or labels are not needed, as the classification task uses one-hot code.
I have not received any reports from others encountering similar issues, so I suspect there might be an issue with your local setup. I'm not sure why “已杀死” is occurring, as it does not seem to be a standard error message in Python. Please check if other external programs might be causing the interruption. If the issue cannot be resolved, I recommend using the Colab platform for experiments, as it provides a more stable environment.

1.Thank you for your reply. I have changed the length of len (train_dataset) to 5000 to enable it to run. When I changed it to 5000, the memory displayed occupied 48GB. If I were to use the original length directly, it would exceed the memory capacity

2.Finally, there is one more question, how much does changing the training length to 5000 affect its accuracy？

The extent of the impact is difficult to assess since we have not trained on 5,000 samples. However, generally speaking, performing unsupervised learning with half the number of samples could significantly affect the final results. You can comment out the loading of CLIP embeddings, which should greatly alleviate your memory usage issues.

The extent of the impact is difficult to assess since we have not trained on 5,000 samples. However, generally speaking, performing unsupervised learning with half the number of samples could significantly affect the final results. You can comment out the loading of CLIP embeddings, which should greatly alleviate your memory usage issues.

Thank you for your reply. If I only needed an EEG classifier, would it operate like the one shown in the picture below?

Thank you for your work. I will continue to try

The extent of the impact is difficult to assess since we have not trained on 5,000 samples. However, generally speaking, performing unsupervised learning with half the number of samples could significantly affect the final results. You can comment out the loading of CLIP embeddings, which should greatly alleviate your memory usage issues.

Thank you for your reply. I only need the EEG classification module. Does embedding CLIP for annotation not affect the accuracy of EEG classification?

Thank you for your work. I will continue to try

By examining your code,  the EEG classification module actually the timefreq_madel module? I have found that my training results are not very good. If you could send me a pre training weight of the EEG classification module you trained, I would be very grateful!! My QQ email is<EMAIL_ADDRESS>

I have found that my training results are not very good.

2.Is the EEG classification module of this work a combination of time encoding and frequency encoding?
3.If you could send me a pre training weight of the EEG classification module you trained, I would be very grateful!! My QQ email is<EMAIL_ADDRESS>

Yes, CLIP embeddings of annotations do not affect the accuracy of EEG classification.

The classification result for each subject should be similar to Table 2 of our paper (arXiv version). If the results for the corresponding subjects differ significantly from those reported in the table, in addition to the possibility that the data you are using is insufficient, please check whether steps 1, 2, and 3 were executed correctly.

Yes, but they need to be jointly fine-tuned.

I’m sorry, I didn’t save the ckpts of the classification network; I only saved the model used for generating images. I suggest you use a machine with more memory to run the code, or use Colab.

Yes, CLIP embeddings of annotations do not affect the accuracy of EEG classification.
The classification result for each subject should be similar to Table 2 of our paper (arXiv version). If the results for the corresponding subjects differ significantly from those reported in the table, in addition to the possibility that the data you are using is insufficient, please check whether steps 1, 2, and 3 were executed correctly.
Yes, but they need to be jointly fine-tuned.
I’m sorry, I didn’t save the ckpts of the classification network; I only saved the model used for generating images. I suggest you use a machine with more memory to run the code, or use Colab.

Thank you for your reply！

Can you provide the trained timefreqmodel. pkl, finetune_model.pkl,pretrain_model.pkl?

If I have a trained timefreq model, can I randomly obtain an EEG signal from the dataset and obtain its category label? What is your opinion on this?Thank you！！

Sorry, as I mentioned in point 4 of my previous comment, I currently only have the final model used for generating images.

Its category label is defined by the dataset creators, and you can find it in 'eeg_5_95_std.pth', which is unrelated to any trained model.  You can obtain the label (0-39) of any signal along with its identifier in ImageNet. However, you cannot directly obtain its specific description, such as 'cat,' but I have provided more information in 'cascaded_diffusion.py.

Thank you very much, looking forward to more work from you!

You are welcome. Wishing you smooth progress in your research.

Can you provide the model used for generating images? I wonder to know more about  generating images!   My QQ email is<EMAIL_ADDRESS>

Sure, have done.


Changes references from pg 9.5 to 9.6

Fixes #191
Changed all occurrences except in installation/requirements.rst where it says, "Citus 5.2 requires PostgreSQL 9.5 or later versions."
Also spidered the docs checking for broken links. Did not find any from the version renaming but did find some for the mobile nav menu. Included a fix in this PR as well.

The installation instructions refer to https://install.citusdata.com/community/rpm.sh which is still on postgres 9.5. We'll need an updated version of this for 9.6, perhaps renamed rpm-96.sh so that the old docs remain valid.

I think it may be more productive to fully test install instructions once the new Citus is released. Otherwise testing is more difficult and also not completely representative of the process.

Pushed a few more updates to this PR.

Approving changes, after pushing a few more fixes. Before we push, we'll want to test the instructions thoroughly with the packages to validate these changes. Let's do that tomorrow.


[Testing Blocked] Upgrade Text Emebedding Model to text-embedding-3-small

Please describe the feature you'd like to see
Upgrade Text Emebedding Model to text-embedding-3-small from text-embedding-ada-002
Describe the solution you'd like
Change the model used in weaviate index to text-embedding-3-small
Are there any alternatives to this feature?
text-embedding-3-large can also be explored, but at the moment text-embedding-3-small is the direct replacement of ada-002
Additional context

Acceptance Criteria

[ ] Change Weaviate Ingestion Index to used text-embedding-3-small

Testing is blocked until I get access to Weaviate cloud cluster to upgrade


SCRUM-2446 WB Phenotype ontology loading

Can we make the case of the various class names consistent - you have Wbphenotype for DAO and controller, but WbPhenotype for interface. Also is WBPheno an acceptable abbreviation? If so, we should probably use this abbreviation for the entity class for consistency (i.e. WBPhenoTerm).

I've now unified the casing of all WB Phenotype Term classes, the decision to abbriate all classnames or not is up to @chris-grove I think. The abbreviated form WBPheno makes more sense on the dashboard and the data type selection, as that benefits from shorter names.


cannot find all the layers in TIFF

Hello, and thanks for tackling the issue of PSD tags in TIFFs, this is really helpful!
This is a follow up of https://github.com/python-pillow/Pillow/issues/8323#issuecomment-2304160425 which I'll copy here:
I have the following tiff file:
11b.zip
That has two layers according to imagemagick:
$ identify 11b.tif
11b.tif[0] TIFF 3926x852 3926x852+0+0 8-bit sRGB 18.6303MiB 0.030u 0:00.029
11b.tif[1] TIFF 3890x851 3890x851+36+1 8-bit sRGB 18.6303MiB 0.000u 0:00.000
identify-im6.q16: Incompatible type for "RichTIFFIPTC"; tag ignored. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/949.

but it seems psdtags only detects one:
import psdtags
print(len(psdtags.TiffImageSourceData.fromtiff('11b.tif').layers))

prints 1. Is there a way to get the number of layers in this tiff file through psdtags?
Thanks!

There is only one layer image in the ImageSourceData tag value of your file. The other, regular image is the from the first TIFF page. It's not a layer. There's also a smaller thumbnail image in the ImageResources tag value.


Adds a demo multi-site scanning script

Incoming

I wonder if we should call this something like "multiple sites scanner" instead, just to avoid people confusing it with a multisite.

I wonder if we should call this something like "multiple sites scanner" instead, just to avoid people confusing it with a multisite.

Yeah, I was wondering about that myself honestly. I just ran with the way it was described in the task, but if you also agree then I'm going to change it.


Improve download logic.

Move retries up to the main entrypoint, so they happen on all handlers
Workers are all downloading at once, so no way to set timeout accurately
boto already uses a randomly-named tempfile then swaps in, so rely on that instead of rolling our own
If file already exists when swapping in, raises FileNotFoundError, so catch that

Closing this and going with #1074 to remove download conflicts.


Add a blog post on detecting and dealing with outliers.

@juliusv

I like it – grammar check thoughtfully left for @juliusv :)

Maybe sneak in a short mention + link of the query language docs before the example starts.

Yeah, very nice...

Suggestion: for the minor grammar/wording stuff, would it be ok for me to just push a final commit on top of this at the end? I'll comment a bit on other stuff now.

(for the above to work, it would be nice to push the anomaly branch into the official prometheus/docs docs repo instead of the fork)

See #121


Does the tool run with python3?

Python2 is deprecated. Trying to run the tool with python3 but getting syntax errors i.e
ubuntu@ip-172-31-40-7:~/nccgroup/aws-inventory$ python3 aws_inventory.py
File "/home/ubuntu/nccgroup/aws-inventory/aws_inventory.py", line 246
print aws_inventory.version
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
It seems that the python script cannot be executed on python3 after the syntax changes that have been introduced there.
I am using an Ubuntu 20.04 VM. By default, the available python (and pip coming with python) is version 3.x. Even if I manage to install python2.7, pip installs the requirements with the new python3.x versions so I cannot run the script with python2.7. It says that the modules in the requirements are not found when actually the requirements are installed. example:
ubuntu@ip-172-31-40-7:~/nccgroup/aws-inventory$ python2 aws_inventory.py
Traceback (most recent call last):
File "aws_inventory.py", line 6, in
import botocore
ImportError: No module named botocore
ubuntu@ip-172-31-40-7:~/nccgroup/aws-inventory$ pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: botocore in /usr/local/lib/python3.10/dist-packages (from -r requirements.txt (line 1)) (1.25.13)
...
I also tried running the tool on an amzn2-linux machine where the environment is python2.7 and I managed the get it running. However, the tool freezes the VM completely at the beginning of the execution. It breaks the GUI and the VM becomes unresponsive. After reading the comments, I understand that this tool is running only on Ubuntu Desktop (GUI) environment with only python2.7. Am I correct? Thanks

Same.  I wonder if this script is dead.


feat: add ref to textarea

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


docs(): Added issue template to help guide users through the issue ad…

…ding process
Added issue template to help guide users through the issue adding process and get us the information
we need to further debug the problem

Thank you very much for this pull request :smile:.
Here are my initial thoughts:

I don't think we need a Problems Summary section. Maybe an Additional comments section at the bottom would work better?

The instructions ("If any of the below sections do not apply to you feel free to ignore or remove them...") should be inside a comment. See the React Router ISSUE_TEMPLATE.md for an example.

I think the Steps to reproduce section should come before the Actual and Expected sections. It is more natural to read: "This is what I did, this is what happened but this is what I expected to happen"

Expected and Actual are a bit ambiguous. Perhaps Expected behaviour and Actual behaviour would be better headings?

I'm not sure we need the Theme and template you are trying to compile as well as background section because that information should be in Steps to reproduce. Also, I think you mean brightness not background.

Your commit summary is too long and it does not adhere to the commit message convention but I can change that with a rebase.
If you want to make these changes or debate them with me then :ok_hand:.

Hey @CrashyBang 😄
I merged this and made some updates. Please can I have your feedback?

Hey @alexbooker,
sorry I meant to get into this but have been having some issue's with my home PC (clean booting tonight). Had a look over I like it you have made it much clearer and easier to follow :)

I'm sure you're just being polite but there's no need to apologize ☺
Thanks for getting this going! Hopefully when your system is running smoothly you'll still be interested in helping with #96

Hey @alexbooker, definitely, I am really looking forward to it :).


Mac running .so issue

Hi Eric,
I have the same issue as the one open issue in DeepCFR while I am running either DeepCFR or Dream. Do you have any idea how to address this issue? It quite expansive to run the same experiment on AWS for 1 week, I would like to use my own Mac pro to test the code alternatively.
self.handle = dlopen(self.name, mode)
OSError: dlopen(/Deep-CFR/DeepCFR/PokerRL/game//cpp_wrappers/lib_luts.so, 6): no suitable image found.  Did find:
/Deep-CFR/DeepCFR/PokerRL/game//cpp_wrappers/lib_luts.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00
/Deep-CFR/DeepCFR/PokerRL/game//cpp_wrappers/lib_luts.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00
Thanks a lot,
Joena

Sorry for meddling here and not being Eric, but .so is a compiled library for general Linux like Ubuntu/RedHat/CentOS etc., and normally it does not work on Mac(although it is Unix-derived), like you won't be able to use win32 PE .dll here.

Hi! Thanks for your interest in my code.
@diditforlulz273 is right about how it's compiled.
The reason I used AWS is that running it on your Macbook would take a lot longer than one week or, in the case of FHP experiments, be impossible because you need too much RAM. As a rule of thumb, if it's expensive on AWS, it won't run on your Macbook.
Running Leduc on AWS for one run will literally cost you cents, not even full dollars. Anything bigger than Leduc won't run on your Mac anyway... Also: it should cost you a few 10s of dollars to run one FHP experiment and a few 100s to run the full suite of experiments we ran if you use AWS spot instances.
Thanks,
Eric


Sumcheck fails with zero polynomial

We are working on a project that requires to use of a zero polynomial for the sumcheck, and it seems that the verifier cannot handle this. Demo for the bug:
let mut g: VirtualPolynomial<Fr> = VirtualPolynomial::new(2);
    let temp = [Fr::zero()];
    let mle = dense_vec_to_dense_mle(2, &temp);

    let vp_aux_info = VPAuxInfo::<Fr> {
        max_degree: 2,
        num_variables: 2,
        phantom: PhantomData::<Fr>,
    };

    g.add_mle_list([Arc::new(mle.clone()), Arc::new(mle.clone())], Fr::one()).expect("TODO: panic message");

    let sumcheck_proof = IOPSumCheck::<Projective,
        PoseidonTranscript<Projective>>::prove(&g, &mut transcript_p)
        .map_err(|err| Error::SumCheckProveError(err.to_string())).unwrap();

    let sumcheck_subclaim =
        IOPSumCheck::<Projective, PoseidonTranscript<Projective>>::verify(running_committed_instance.x[0], &sumcheck_proof, &vp_aux_info, &mut transcript_p)
            .map_err(|err| Error::SumCheckVerifyError(err.to_string()));

Error: thread 'main' panicked at .../sonobe-internal/folding-schemes/src/utils/espresso/sum_check/verifier.rs:140:59 index out of bounds: the len is 0 but the index is 0

Thanks for reporting this! Could you provide a small repo where we can reproduce this? From the code snipped above I'm not sure to understand how you're using Sonobe to end up in this sumcheck situation.
Again, thanks for reporting the issue!

I added this code https://github.com/NiDimi/sonobe/blob/main/examples/sumcheck_fail.rs.  Thanks for the reproducible code!
The error should not appear when using the Sonobe folding interface, since the $g(X)$ poly should not be zero, but it could appear in the future with other usages of the sumcheck (or as it is now, by somebody directly using the sumcheck without sonobe as you showed in this issue), so thanks a lot for reporting it!
I've added you as a co-author of the commit that fixes it, since the fix has been made thanks to you: https://github.com/privacy-scaling-explorations/sonobe/pull/126
Again, thanks for reporting this! ^^


feat(pagination): add slots for prev and next

@Haythamasalama Thanks for your PR 😊

Okay, I'll work on the requested changes, I made changes, then undid them when I first started.

I've made some changes in your PR that makes circles and groups possible through the ui customization. Let me know what you think 😊

I've made some changes in your PR that makes circles and groups possible through the ui customization. Let me know what you think 😊

very awesome


docs: remove step 2

Summary
Fixes the following broken links by removing step 2 from the setup guide. Log correlation is enabled by default in version 1.30:
08:40:20 INFO:build_docs:Bad cross-document links:
08:40:20 INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/ecs-logging/java/0.x/intro.html contains broken links to:
08:40:20 INFO:build_docs:   - en/apm/agent/java/current/config-logging.html#config-enable-log-correlation
08:40:20 INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/ecs-logging/java/0.x/setup.html contains broken links to:
08:40:20 INFO:build_docs:   - en/apm/agent/java/current/config-logging.html#config-enable-log-correlation
08:40:20 INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/ecs-logging/java/1.x/setup.html contains broken links to:
08:40:20 INFO:build_docs:   - en/apm/agent/java/current/config-logging.html#config-enable-log-correlation
08:40:20 INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/ecs-logging/java/current/setup.html contains broken links to:
08:40:20 INFO:build_docs:   - en/apm/agent/java/current/config-logging.html#config-enable-log-correlation
08:40:20 INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/ecs-logging/java/master/setup.html contains broken links to:
08:40:20 INFO:build_docs:   - en/apm/agent/java/current/config-logging.html#config-enable-log-correlation

Downside / Question
Because only the 1.x version of the Java agent docs are published, we don't have anywhere to send users who are using
a version > 1.30. I'm wondering if we should keep deprecated enable_log_correlation documentation for these users. See https://github.com/elastic/apm-agent-java/issues/2535#issuecomment-1075580099 for more context.
Related
For https://github.com/elastic/apm-agent-java/issues/2535.
Backport
Backport to 1.x and 0.x.

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-03-22T19:53:05.132+0000

Duration: 7 min 1 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
196

Skipped
0

Total
196

:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

Because only the 1.x version of the Java agent docs are published, we don't have anywhere to send users who are using
a version > 1.30. I'm wondering if we should keep deprecated enable_log_correlation documentation for these users.

See https://github.com/elastic/apm-agent-java/issues/2535#issuecomment-1079852953 - would a plain mention in the proper page be sufficient?

See https://github.com/elastic/apm-agent-java/issues/2535#issuecomment-1079852953 - would a plain mention in the agent docs with a similar explanation and/or reference to this page here be sufficient?

Added a note to these docs in cb6d7f6.

💚 All backports created successfully

Status
Branch
Result

✅
1.x

Questions ?
Please refer to the Backport tool documentation


The app can not be use in landscape posición in Samsung galaxy tab S8

 (Hey team, this is Joan from Team Kodeco. I'm helping out the member by adding some details here. Please contact me or check https://app.hubspot.com/contacts/6286470/record/0-5/1687381306/ for the actual photos.  The app can not be use in landscape posición in Samsung galaxy tab s8. IS not easy to use portrait IS too small for training
Kodeco ↓

Other learning platforms ↓

 The app can not be use in landscape posición in Samsung galaxy tab s8. IS not easy to use portrait IS too small for training
Steps to reproduce
 Please check it using the device mentioned above, if able

Expected behavior

Actual behavior

Environment

Android Version:  latest version as of June 14 2023
Kodeco App Version: latest version as of June 14 2023
Device: Samsung galaxy tab s8

Hi @KelvnPere , let me reach out to the member. Thanks!

Hi @KelvnPere , just letting you know that I've emailed the member again today and hopefully he responds soon. Thanks!

Awesome, thanks @joangalula1

@KelvnPere OK—thanks for investigating,. I think for now we're going to have to leave this—we don't have any design resource available to tackle it, nor the resources for a long fix. This is disappointing, but hopefully at some point in the future we might be able to do something.

Hello @KelvnPere , I have not heard back from the member, sadly BUT I checked the screenshot from the emulator and it definitely looked a thousand times better than how it did before. Thank you so much!

Hi @sammyd this will be a long fix because it requires making sure that almost every screen is fine in the landscape mode. I have been working on getting it to work. But still in progress. I try getting to work with an in-house designer but didn't get a response so this is just me trying to try out different dimensions that "looks good.
@joangalula1 does the below screenshot looks good? Here is currently a Samsung tablet of the current updated screen Currently still working on more of the screens:
Image Preview of before and after


How to verify license file?

Hello, Nikolay!
The documentation is clear state how to generate a license key. But I can't understand, how to verify these license file?

Hi,
You need to learn how to sign information with openssl and a private key and then verify the signed with openssl and the public key on the customer's end.
Basically, the produced license text contains all the information that you need to reconstruct the signed chunk of text. Once you parse the license key on the customer's end, you reconstruct the signed text and verify this same text was signed with the private key. You do the verification using the public key.
complexCheckOfCustomerData

Hi!
Based on your idea, I have created a similar one License file generator and parser with ability of content validation.
https://github.com/bushev/nodejs-license-file


Use a dot before patch release number for RCs

Using RC release versions like 0.22.0-rc.2 instead of 0.22.0.rc2 will allow NPM to pick up patch releases to the RC.

By analyzing the blame information on this pull request, we identified @grabbou and @mkonicek to be potential reviewers.

cc @bestander

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.


Please update repository

3.9.7 is already released - please update your repository!

This repo isnt maintained any longer.....   The consensus on the Unifi VIdeo forums was that pducharme/unifi-video-controller seems the best updated.   Its what I swapped to and seems to work perfectly well.   See https://community.ubnt.com/t5/UniFi-Video/Running-Unifi-Video-3-1-5-in-Docker-on-Synology/td-p/1573739/page/11


feat(wasm): output symbol IDs in scope tree

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#5266  👈
#5264
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite


feature request - add submit() form function

Probably an easy addition, but would be nice to have a submit() function since there is already a reset().  This would add the ability to programmatically run the requestSubmit() function built into JS.
J

Good suggestion. I assume we can use the internal submit() function instead since we don't want to revalidate the form with the native validators.

Would you expect the $form.submit() call to fail if the form isn't valid - like for requestSubmit()? Moreover should all fields be marked as "touched" afterwards? I look forward to hearing your take on this.

I would think just run the requestSubmit() under the hood.  Maybe also a way to run checkValidity() as well so that people have more control.  Now that I think about it, a direct link to the form node may would help and have all this as well?
J

I'm not really set on the idea of calling requestSubmit directly since the library does not yet support setting custom validation messages. By that I mean the browser specific message bubbles that appear when the field is invalid. This causes the generic message "This field is invalid" to appear which won't work for multilingual projects.
However, a direct link to the node would definitely be convenient.
btw you can check the validity using $form.valid.

You could easily do a custom validation by calling the native el.setCustomValidity('some_code'); for invalid and el.setCustomValidity(''); for valid, then creating a message with {#if el?.validationMessage === 'some_code'}.  Of course this would be under the hood for you, and would work with regular form validation.
Just thoughts...
J


Update Add-TeamChannelUser.md

Rewrote introductory notice on adding members and owners, fixed typo
Fixes #11328

@JohanFreelancer9, gladly committed the suggested changes

@get-itips


Site Name shall come from configuration/model

Currently this is wired into the layout.cshtml in element #hometext

Totally pu to the views.  See 18e1abef729766759cc654cb0bb3d1402d270d67!


Update google-auto-auth

@alexander-fenster @callmehiphop -- CI lint is getting this error:
#!/bin/bash -eo pipefail
npm run lint

><EMAIL_ADDRESS>lint /root/project
> repo-tools lint --cmd eslint -- src/ samples/ system-test/ test/

lint: Linting files in: /root/project
lint: Running: eslint src/ samples/ system-test/ test/

/root/project/system-test/resource.js
  22:26  error  "google-auto-auth" is not found  node/no-missing-require

https://circleci.com/gh/googleapis/nodejs-resource/643
Do you know how to fix?

I do! Just copied it to another PR but I can copy here as well! Cmd+C Cmd+V just works :)
rm -rf node_modules package-lock.json samples/package-lock.json samples/node_modules
npm install && npm link && cd samples && npm link ../ && npm install && cd .. && npm run lint
git add package-lock.json samples/package-lock.json

The idea is, when main packages' dependencies change and package-lock.json is regenerated, we need to take care of samples' package-lock.json as well. It looks like a kind of downside of having package-lock.json checked in (heh), but let's live with it for a while and we'll see how we can improve it.

Thanks!


Add instance tags [run-systemtest]

@jonmv please review, but we can hold off merge until after tomorrows arch meeting

Thanks!

Also need a stable ordering for tests ...


PowershellGallery.com Integration

[x] Figure out how metadata works for this feed (since it doesnt use NuGet/Nuspec)
[x] Add step on build process to push module to this feed.

Turns out the metadata comes from the .psd1 file. Neat
I've added a build step to publish the module to PowershellGallery.com and disabled the steps to upload to NuGet.org and Chocolatey.
PowershellGallery seems to work better for publishing powershell modules.


Version 1.0.6 is not in pypi

It would be nice if you could push version 1.0.6 into pypi so that we could use pip to install it.
The latest version on pypi is 1.0.5. and it's from September and there were some changes since then.
Thanks

+1

+1

+1.
This lib looks abandoned, tbh.


SET_VAR(query_timeout = xxx) do not take effect

Steps to reproduce the behavior (Required)
SELECT /*+ SET_VAR(query_timeout = 1) */ sleep(3);
Expected behavior (Required)
return timeout error.
Real behavior (Required)
return no error.
+----------+
| sleep(3) |
+----------+
|        1 |
+----------+
1 row in set (3.50 sec)

StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()
branch-3.1

It seems this bug is related to the MYSQL client protocol, the server receives a query without the interval comments, but when using the JDBC client the hints can take effect.


fix: fixed legacyDerive

Signed-off-by: Andrei Kuzmiankov<EMAIL_ADDRESS>

Closing this from internal discussion. The fixes have been applied to main. @andrix10 Can you port those to releases/1.x?

Closing this from internal discussion. The fixes have been applied to main. @andrix10 Can you port those to releases/1.x?

just saw this, i am on it


No example of authenticate method in README

It'd be really helpful if any single example used the authenticate method, even with basic auth. There are no examples to be found that employ authentication.

I created the #59 Pull Request for that.


Compiled Windows version

OS (if applicable): windows
Version (or "dev" if compiling from source):
Please!!

I uploaded a windows build, you can donwload it here:
https://github.com/bontric/Rack-MIDICC-Fork/raw/master/Rack-midi.zip
(Did not test it though)


Verify Running Parse Server

According to Parse Migration guides, after I get the server up and going I need to verify that it is working, they say this:

VERIFICATION

Make sure saving an object and retrieving it via a query works:
curl -X POST
-H "X-Parse-Application-Id: YOUR_APP_ID"
-H "Content-Type: application/json"
-d '{"score":1337,"playerName":"Sean Plott","cheatMode":false}'
http://localhost:1337/parse/classes/GameScore
curl -X GET
-H "X-Parse-Application-Id: YOUR_APP_ID"
-H "X-Parse-Master-Key: YOUR_APP_MASTER_KEY"
http://localhost:1337/parse/classes/GameScore

My only issue is that I'm not sure exactly where to run this from. Do I do it from the same terminal window after I start mongo, or do I run it from same terminal window after starting npm?  Where I have tried running it before, I get this error:

-H "X-Parse-Application-Id": "fritchChurch"
2016-10-06T10:23:11.818-0500 E QUERY    [thread1] SyntaxError: missing ; before statement @(shell):1:3

-H "Content-Type": "application/json"
2016-10-06T10:23:11.819-0500 E QUERY    [thread1] SyntaxError: missing ; before statement @(shell):1:3

-d '{"HerCell":1337, "title":"Sean Plott", "address":false}'
2016-10-06T10:23:11.821-0500 E QUERY    [thread1] SyntaxError: missing ; before statement @(shell):1:3

I saw in your index.js that your app id was Fritch Church of Christ
Try in this way (one liner):
curl -X POST -H "X-Parse-Application-Id: YOUR_APP_ID" -H "Content-Type: application/json" -d '{"score":1337,"playerName":"Sean Plott","cheatMode":false}' http://localhost:1337/parse/classes/GameScore

Ok, I tried that and didn't get any errors, but I also don't know if it was successful.  It didn't add it to the mLab mongodb that is set up, but I'm not honestly sure if it was supposed to.

Take a look is there new record in GameScore class/collection :) via MongoChef

I opened up the Mongo collection and nothing new

Try with the right X-Parse-Application-Id.
Btw if you run the curl with -I argument will return response headers you you'll can debug easier :)

I tried making change to correct ID, and running curl -I but it still didn't work and no headers came up.  Only thing I did notice is when I ran mondog, I got this:

2016-10-06T13:34:53.189-0500 E NETWORK  [initandlisten] listen(): bind() failed errno:48 Address already in use for socket: <IP_ADDRESS>:27017
2016-10-06T13:34:53.189-0500 E NETWORK  [initandlisten]   addr already in use
2016-10-06T13:34:53.189-0500 E STORAGE  [initandlisten] Failed to set up sockets during startup.
2016-10-06T13:34:53.189-0500 I CONTROL  [initandlisten] dbexit:  rc: 48

Yes you are trying to run another MongoDB with port 27017 :) You should stop the other mongo ;)

I just don't know where the other MongoDB is being ran from.  Just booted up computer, went into Terminal and ran mongod, didn't do another thing.

Ok, I found the process killed it, and mongod now shows:

[initandlisten] waiting for connections on port 27017
2016-10-06T13:45:06.821-0500 I NETWORK  [initandlisten] connection accepted from <IP_ADDRESS>:56401 #1 (1 connection now open)

I then run the curl, but get nothing, including no headers. I am running:
curl -X -I POST -H "X-Parse-Application-Id:APPID" -H "Content-Type: application/json" -d '{"HerCell":1337,"title":"Sean Plott","address":321}' http://localhost:1337/parse/classes/FritchDirectory

Your APPID is "Fritch Church of Christ", right? Try replacing APPID with "Fritch Church of Christ" in the command above.

Ok, I had a typo in the App ID, so I fixed that, and then tried it again.  Finally got some feedback:

[HostnameCanonicalizationWorker] Failed to obtain name info for: [ (<IP_ADDRESS>, "nodename nor servname provided, or not known"), (<IP_ADDRESS>, "nodename nor servname provided, or not known") ]


Customize action space

High Level Description
I am currently planning to customize a lane following task which will follow the lane automatically and only control the speed of ego car, i.e. I only want longitudinal control (which will control the speed) instead of both longitudinal and lateral control. I did not find a currently existing action space that satisfy the requirement so I wonder is there any documentation that can help me custiomize my own action space? Thank you.
Desired SMARTS version
0.4.16
Operating System
ubuntu 16.04
Problems
Also in the documentation, I found that you mention ActionSpaceType.Lane will be changed to a tuple of integer for lange_change and a float for target_speed. Will it be helpful for my requirement? If so, about how soon will it be released? Thank you.

Hi @Leoluo0320,

I wonder is there any documentation that can help me customize my own action space?

As far as I am aware, SMARTS does not support this easily. Is this correct @Gamenot?

I found that you mention ActionSpaceType.Lane will be changed to a tuple of integer for lange_change and a float for target_speed.

I believe this has now been changed to its own action space type, specifically, the ActionSpaceType.LaneWithContinuousSpeed: https://github.com/huawei-noah/SMARTS/blob/c5a16088152e840dbaa9afe302e8bb9338bc6a93/smarts/core/controllers/init.py#L45 It allows the agent to set a target speed and a lane change direction: https://github.com/huawei-noah/SMARTS/blob/c5a16088152e840dbaa9afe302e8bb9338bc6a93/smarts/core/controllers/init.py#L89-L98
I believe that the ActionSpaceType.LaneWithContinuousSpeed could be helpful for your requirement. The action that an agent using this action space type would be in the form of [target_speed, lane_change]. So, if you make your agent only select a target speed, and always ensure that the lane change part of the action is 0, then you will achieve purely longitudinal control.

Thank you for your reply. I also found this ActionSpaceType yesterday and am currently using it. It is still helpful to confirm it is the right thing to do, thank you!


[ADD] Classes for spectral approximation with cached Lanczos iterations

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

64 of 66 (96.97%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.7%) to 90.141%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

curvlinops/papyan2020traces/spectrum.py
64
66
96.97%

Totals

Change from base Build<PHONE_NUMBER>:
0.7%

Covered Lines:
320

Relevant Lines:
355

💛  - Coveralls


New Feature: Live Caption

Description of the new feature / enhancement
Will generate live caption anywhere where video (with proper recognizable audio) is being played.
Auto language detection (but first English will be good)
Scenario when this would be used?
Actually, I use other browsers and sometimes download movies or shows for offline viewing and searching subtitle or caption is a mess.
Supporting information
No response

Live captions are a Windows 11 feature.
https://support.microsoft.com/en-us/windows/use-live-captions-to-better-understand-audio-b52da59c-14b8-4031-aeeb-f6a47e6055df

Live captions are a Windows 11 feature.
https://support.microsoft.com/en-us/windows/use-live-captions-to-better-understand-audio-b52da59c-14b8-4031-aeeb-f6a47e6055df

So win10 will never have this feature, won't it?

I agree, we need that at windows 10!


When the homeserver is down we shouldn't be claiming the user has an unknown token

We should be throwing back a 500 or similar error to avoid Riot automatically logging out during a homeserver outage.

This caused this: https://github.com/vector-im/riot-web/issues/6487

Fixed by https://github.com/turt2live/matrix-media-repo/commit/a745540cd94f1c9815482b8afb2c8974b38e14ba (wrong reference in commit)


Deploy script no documentation for -L in the script header text only G, R, RC, and REBOOT.

Fixed in #109.


fix: Variables key name should not be translated

Why:
Closes #8359
What's being changed:
Translation
Check off the following:

[x] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

Moving to Crowdin

Moving to Crowdin

Thanks for opening this pull request and issue @Dragon-Fish! Unfortunately, we are not able to accept pull requests for translated content. Our translation process involves an integration with an external service at crowdin.com, where all translation activity happens. We hope to eventually open up the translation process to the open-source community, but we're not there yet.
See https://github.com/github/docs/blob/main/CONTRIBUTING.md#earth_asia-translations for more details.
I've opened an internal issue for our translators to take a look at 💛


Bastion host limits

In the Bastion Host limits it states that the limit is around 100 sessions however I think it is good to update this since we now have standard and basic bastion hosts.
From other MS page
https://docs.microsoft.com/en-us/azure/bastion/configuration-settings#instance
Each instance can support 10 concurrent RDP connections and 50 concurrent SSH connections. The number of connections per instances depends on what actions you are taking when connected to the client VM. For example, if you are doing something data intensive, it creates a larger load for the instance to process. Once the concurrent sessions are exceeded, an additional scale unit (instance) is required.

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

ID: 36f49a06-90b1-cbe1-3853-2c38277b79f8
Version Independent ID: 02ff6f6c-3ef6-b48f-060d-b290419e0aba
Content: Azure subscription limits and quotas - Azure Resource Manager
Content Source: articles/azure-resource-manager/management/azure-subscription-service-limits.md
Service: azure-resource-manager
Sub-service: management
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@CharlPels Thanks for your comment! We will review and provide an update as appropriate.

Assigning to @tfitzmac for visibility, review and document enhancement consideration as appropriate.

@cherylmc - can you take a look at this request to update Bastion limits?


GetFolderAsync & GetFileAsync error handling issue

I'm using GetFolderAsync & GetFileAsync to perform application serialization and deserialization. The related coroutines require the use on non local data for storage and retrieval.
From my testing there appears no problem in reading/updating this non local data except when there is a missing file or folder. I use try/catch for GetFolderAsync and GetFileAsync., In that case the try does a throw but my catch is not called. If I remove all reference to non local data the try/catch works OK.
I'm attempting to replicate my C# UWP app's serialization and deserialization. There they are called in application startup and shutdown. For startup deserialization is called prior to the call to navigate to the mainpage.
My workaround is to use two coroutines in the deserializaton process. One (with only local data) will use the try/catch to create missing folders or files. The second will use non-local data to complete the deserialization.
Is there a better way? I feel uncomfortable with this approach.

Can you share a minimal standalone repro?

Can do,,,

Just installed Visual Studio Community 2017 Preview, Version 15.3 and problem still exists.

Once we have the minimal standalone repro, we'll investigate...

Hi Brent –
Make a copy of IBuffer. The attached zip file has 5 files,  add them to iBuffer. There are 2 classes and a replacement for App.cpp.  Add cppwinrt to the project properties. It should compile…
Set 3 break points
        DataBase::ReadDataBase

                    36 try

                    39 catch

        App.cpp  ClickHandler

                    89 – just after the call to ReadDataBase

If you run the app you will only stop at break point line 36
If you remove lines 65 & 66 of ReadDataBase and run the app, it will stop at all 3 break points.
You will also see a returned value of -1 and it you select continue  after the App break point and file picker will be displayed.
If this does not fail then I can take hope that  the problem is of my own making.  When I discover it I’ll let you know
Thanks again
Jack D

From: Brent Rector<EMAIL_ADDRESS>Sent: Wednesday, May 31, 2017 11:31:47 AM
To: Microsoft/cppwinrt
Cc: JackDetrick; Author
Subject: Re: [Microsoft/cppwinrt] GetFolderAsync & GetFileAsync error handling issue (#197)
Once we have the minimal standalone repro, we'll investigate...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/cppwinrt/issues/197#issuecomment-305276895, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADSGiS3LNQgztteOFJRz-kxJXyTRNQwRks5r_bITgaJpZM4Nc9lk.

Sorry for the delay. I started to look into this but there is no attachment so I don't know how to repro the issue.

Lets see if this works

From: Brent Rector<EMAIL_ADDRESS>Sent: Wednesday, June 14, 2017 10:16:29 AM
To: Microsoft/cppwinrt
Cc: JackDetrick; Author
Subject: Re: [Microsoft/cppwinrt] GetFolderAsync & GetFileAsync error handling issue (#197)
Sorry for the delay. I started to look into this but there is no attachment so I don't know how to repro the issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/cppwinrt/issues/197#issuecomment-308498974, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADSGicIcf9anwSnR5Zstzc52QXzcZN9Oks5sEBVtgaJpZM4Nc9lk.

Repro_197.zip

I still don't see an attachment. Are you attaching this by dragging and dropping them into the edit window here? Or by clicking the "selecting them" highlight text at the bottom of the edit window?

Never mind. I see the response with them now! Thanks.

Today (8/22/2017} I downloaded VS 15.3.1 and guess what--- this problem has been resolved.
Thanks again to all of the staff


Add Firing/Resolved to title

Somehow indicate in the message if the alert message is for a firing or a resolved event.

Opened a pull request with a possible solution: https://github.com/DRuggeri/alertmanager_gotify_bridge/pull/7

Wow - thanks, @CubicrootXYZ! I really appreciate both the idea and the contribution! I've added a few comments in the PR because I think this is a great way to solve for the need. I'll go ahead and close this issue and we can continue the conversation in the PR until it's merged.
(Sorry for the slow reply - been in and out of machine access a while)

Thanks for the kind words and no need to rush here :).

Hi, I am wondering how you get it rendered correctly in gotify. For me it outputs the HTML code in the app and that looks not very nice, still I like to have the status in the message, otherwise there's no way to distinguish between firing and resolved alerts.
Any suggestion? @CubicrootXYZ @DRuggeri?

Hi, I am wondering how you get it rendered correctly in gotify. For me it outputs the HTML code in the app and that looks not very nice, still I like to have the status in the message, otherwise there's no way to distinguish between firing and resolved alerts.
Any suggestion? @CubicrootXYZ @DRuggeri?

I did not use this with gotify but rather with pushbits which sends the messages to matrix where HTML rendering works.

OK. :-) Thought so, cause the project is named gotify bridge, nevertheless, I think that the parameter doesn't make much sense for gotify itself. Markdown would make sense as it can be correctly rendered within gotify or maybe I am missing something here.
TBH, I am trying to figure out how to get FIRING and RESOLVED into the messages, but I had no luck doing so. The .Status is not available inside the annotations in the alerts section of a rule of alertmanager.

Any idea how I can make this work for gotify is much appreciated. 👍


Organize the code better

Better cohesion in the source files

Split networking code (EntertainmentCommThread etc.) off to its own file, and remove color averaging code from it. Either that's got to go into another thread (meh), or EntertainmentCommThread should use a function pointer / lambda fed in from elsewhere.

The frame grabber code could also be moved out of huestacena.cpp; I'm less concerned about doing this right now because I'd like to tackle it as part of #19

Split up home.qml, it's getting hard to work with this much nesting.
Move source files into /src and /include directories

std::function<QColor(EntertainmentLight)>


How to make it really work?

[Enter feedback here]
Are there any other specific requirements to make it work?
I've done these steps https://docs.microsoft.com/en-gb/powerapps/maker/canvas-apps/geospatial-overview#prerequisites
I then build a simple app just consist of the address input component. I set its properties:

Enable autofill: ON
Set within radius: ON
Radius: 100
Language: Indonesia (Indonesia)
Country set: ID

I keep the search result limit and both latitude and longitude to the default values, which is 4, 0, 0 respectively.
I have allowed location access to my browsers (Chrome, Edge) and in my android phone, yet none of them return anything when I typed some address nearby.
Then I tried changing the latitude and longitude to some point near my office, it also didn't work - still showing nothing.
I'd appreciate any kind of help of what did I missed/wronged. Thank you.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b9eb3724-e178-4a84-11d3-06fc40046516
Version Independent ID: a9bad591-e77d-10bc-0c1a-2e4f49f0bf85
Content: Address input component (Preview) - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/geospatial-component-input-address.md
Service: powerapps
GitHub Login: @iaanw
Microsoft Alias: iawilt

These are the screenshots:

Location access from web
![msedge_0WFVzYg1ub](https://user-images.githubusercontent.com/11976855/92548869-483f4e00-f282-11ea-9cdf-bb5a0cf2ce3b.png)

Address input properties
![explorer_Yt5HltOSva](https://user-images.githubusercontent.com/11976855/92549012-93596100-f282-11ea-833c-1bf8becc187d.png)

The button was supposed to retrieve the selected result from user

Button code
![vivaldi_qBgofXDZof](https://user-images.githubusercontent.com/11976855/92549102-c56ac300-f282-11ea-8916-9c4469adf1d9.png)

It is very basic, yet somehow it didn't work.
My AppID: c36a0d5f-9944-433d-a5f7-75e2e270459e

Hi, is any progress in here?
I know this is an experimental feature, but is there anything I do to help to speed up the process? I do not see any logs can be pulled from the apps, no debugging available. Or does it only work in the US?

Are you able to get a sessionID?  https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/get-sessionid
I've forwarded your messages to the engineers and we're seeing if we can find a fix.

Thank God, finally a reply! Here is my session id, run in my phone cause it's past midnight in here.
48e50c9b-5d31-4ee9-983f-9f0643a0ccd4
I really hope someone can shed some lights on this particular case.

Sorry for the delay, but we are looking into it now!
From: Ariestya Dibyanugraha<EMAIL_ADDRESS>Sent: Friday, September 11, 2020 10:34 AM
To: MicrosoftDocs/powerapps-docs<EMAIL_ADDRESS>Cc: Iaan D'Souza-Wiltshire<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/powerapps-docs] How to make it really work? (#1726)
Thank God, finally a reply! Here is my session id, run in my phone cause it's past midnight in here.
48e50c9b-5d31-4ee9-983f-9f0643a0ccd4
I really hope someone can shed some lights on this particular case.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fpowerapps-docs%2Fissues%2F1726%23issuecomment-691223335&data=02|01|iaan.wiltshire%40microsoft.com|a32a1808e2424e52962208d85678d5d6|72f988bf86f141af91ab2d7cd011db47|1|0|637354424266051000&sdata=z45CE7hQdiiKurbhlKXSzFNQIYKHLtNWEhWIkD%2FphS4%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADZ737K56RL3KC5IKXVEL7LSFJNPTANCNFSM4Q7SEZ4A&data=02|01|iaan.wiltshire%40microsoft.com|a32a1808e2424e52962208d85678d5d6|72f988bf86f141af91ab2d7cd011db47|1|0|637354424266060967&sdata=%2FoHukHDQuam5r9N9pFqhu7Sz43E5zmKvOf1Q1nHBLTo%3D&reserved=0.

Hello! It looks like the address search is working, but returns zero results. Looking at the address input control parameters, it appears that it is looking for addresses within 100 meters of (-6.185, 106.76876). What characters are you typing into the address input component and what are the addresses you expect it to return?

Jl. Panjang (the biggest and longest road nearby - with all combination of it "panjang", "panjang st."), duri kepa. Even if I extend the radius to 100000 meters, it still yields nothing. Searching nearby places also yields zero results.

The address input control requires a numeric character before it will return results. So if I type something like "panjang 2" I will get the results below when using radius 100000 meters and the control properties you shared earlier. The address control will only return point addresses (not points of interest or streets or geographic points). Let me know if adding a number to your search does not return suggestions.

Alright, it works. Thank you for the explanation. May I ask, why it wasn't being mentioned at all that it needs at least one numeric character in the manual? And why in several results contains double numeric characters just like your screenshot?

We are updating the documentation to include that requirement. For the double characters, I'm not particularly familiar with international addresses, but the full form address seems to be broken down as:

streetNumber: 3
streetName: Jalan Utan Panjang 3
municipality: Jakarta
etc

Which is combined to be [Jalan Utan Panjang 3] [3], [Jakarta], [etc]. If this is wrong, the address search is backed by azure maps and you can provide feedback using their tool: https://feedback.azuremaps.com/

Alright, thank you so much, I really appreciate the help and the thorough explanation. I will close this issue.


Add ReceptiveField class and coordinate conversion methods.

This PR adds a ReceptiveField class which supports coordinate conversion from the input to the feature space and vice versa while maintaining backwards compatibility.

Can one of the admins verify this patch?

Jenkins, test this please.

@marksandler @andrefaraujo can you take a look?

yes, will look into it soon. (next day or so)

apologies on the delay for this, things got busy. Will make sure to review it next week.

@andrefaraujo, thanks for the feedback. Comments should be addressed.

@martinwicke , not sure if I need to do something else now. I approved but the "TF Test Suite" and "Ubuntu CC" checks have been pending for ~12hs now. Let me know if I need to do something.

Jenkins, test this please.

@martinwicke, do you know why the Google cloud source builds are failing?

No, but it's definitely unrelated to this change.


Update README.md

fixes indentation for pom.xml and make it shorter
adds a fixed version as an example
fixes typo s/air-capped/air-gapped/

Outdated. Addressed with 47d67abf212f5e10d7ad121b7cec7449c710c94b.


Add support for running any fastembed model.

Describe the issue

Add support for passing model via API.

Fixed by #28


'No buffer space available' error while testing

When the AK60Manager is instantiated, it gives continuous "Error while writing to socket: No buffer space available" error.There is no problem with writing the frame, motor does work.

Increasing the txqueue size solves the problem as it allows for leniency against the thread sending the messages.
Simply do sudo ip link set can0 txqueuelen 1000 before setting the interface up.


Configurable HAProxy Advanced Redis Health Check

Main issue: #17
Similar to: #18
Some links

https://www.haproxy.com/blog/haproxy-advanced-redis-health-check/
https://www.serverlab.ca/tutorials/linux/network-services/how-to-configure-haproxy-health-checks/

This issue is not about create a role to install Redis without external dependencies (...not yet) but to allow some way to, via specifications under some alb_* variables, make changes on the HAProxy component of AP-ALB to deploy already well tested HAProxy Advanced Redis Health Check.
At the https://github.com/fititnt/ap-alb-cluster-demo we're testing role davidwittman.redis and could just make ALB play very nice with this and document very well.

Good to know that the official HAProxy configuration for redis have at https://www.haproxy.com/blog/haproxy-advanced-redis-health-check/ seems to not work with lastest version of HAProxy because of missings "".
So what in the documentation was
backend bk_redis
 option tcp-check
 tcp-check send PINGrn
 tcp-check expect string +PONG
 tcp-check send info replicationrn
 tcp-check expect string role:master
 tcp-check send QUITrn
 tcp-check expect string +OK
 server R1 <IP_ADDRESS>:6379 check inter 1s
 server R2 <IP_ADDRESS>:6379 check inter 1s

Should be more like
(...)
     tcp-check send PING\r\n
     tcp-check expect string +PONG
     tcp-check send info\ replication\r\n
     tcp-check expect string role:master
     tcp-check send QUIT\r\n
     tcp-check expect string +OK
     server delta <IP_ADDRESS>:6379 check inter 5s
     server echo <IP_ADDRESS>:6379 check inter 5s
     server foxtrot <IP_ADDRESS>:6379 check inter 5s

I put this on-hold for now.
This is not a priority for the ALB v0.8.x and clustering related options #17, in special because of this commend https://github.com/fititnt/ap-application-load-balancer/issues/22#issuecomment-561272394 and the MVP of Consul storage adapter to lua-resty-auto-ssl #25 have a working redis cluster is not a strong requisite.
Anyway, have this type of health check still very interesting. Maybe will do it if start to make AP-ALB also have health checks for other databases like MariaDB


WIP: website revamp

I have slowly been moving things over to the 0.15 branch which has a simpler style and hopefully a bit easier to navigate. Things left are:

[ ] Migrate examples over
[ ] Migrate learn pages over
[ ] Do responsive CSS stuff to make it all look nice on small screens
[ ] Update examples to cover some more modern cases
[ ] Adapt learn pages to fit in a more book-like format

The larger goal is to make the learning resources better overall. This means making the documentation for types and tasks and ports and such fit together better. It also means refreshing all the examples. That may mean getting rid of some and creating new ones. It also means figuring out a way to make the path through examples clearer.

So I want to help migrate examples. Is the old subdirectory structure of the examples going to be kept?
I see two examples directly in src/examples on the 0.15 branch. But when I run the website, I can't find a URL that accessed those files as an editor. I quickly looked at the backend code but I don't know Snap.. What URL should I use to actually access an example in the split view with editor?

I've actually been curating as I move them over, and now that I'm in the swing of it, I think the process works well. It takes time, but I'm really happy with the results.
I think if you can figure out how to make things responsive (CSS that handles different sizes) that'd be the biggest help. I know that's not your specialty, but I think it's important and totally not blocked by me.

I've noticed that on mobile everything looks tiny. I don't know about how the Haskell framework works, but it could be valuable to add this meta tag in the head:
<meta name="viewport" content="width=device-width, initial-scale=1">

Hopefully it could help make things more responsive.
Resources about meta viewport:
https://developer.mozilla.org/en/docs/Mozilla/Mobile/Viewport_meta_tag
https://css-tricks.com/snippets/html/responsive-meta-tag/

I'd like to add that, but not all pages will play nice. Many need 600px and cannot go lower as is. I think we can make some changes in how this works and then it'd be fine.
From there, we can add in that meta tag here (or around there...)

Okay, I'm gonna open an issue specifically about making things nicer on small devices.


S3 bucket SSE configuration not found

What happened?
There seem to be an issues with S3 bucket forProvider fields around server side encryption. This issue is similar to the one already reported in #385. When bucket configuration contains serverSideEncryptionConfiguration with sseAlgorithm specified it results in S3 bucket being provisioned with the encryption disabled. Managed resource READY status remains False. The same behaviour observed with both sseAlgorithm value options (AES256, aws:kms).
How can we reproduce it?
With bucket configuration containing:
forProvider:
   ...
   serverSideEncryptionConfiguration:
   rules:
     - applyServerSideEncryptionByDefault:
           sseAlgorithm: AES256

Results in the following reconciler error message:
    Message:               observe failed: cannot get Bucket encryption configuration: ServerSideEncryptionConfigurationNotFoundError: The server side encryption configuration was not found
                           status code: 404, request id: 868D8CA56BF0A080, host id: xxxxxxxxxxxxxx
    Reason:                ReconcileError

What environment did it happen in?
Crossplane version: v0.13.0
AWS provider version: v0.12.0

I think this is duplicate of https://github.com/crossplane/provider-aws/issues/380 and has been fixed in master via https://github.com/crossplane/provider-aws/pull/381 Feel free to reopen if you think this is a different issue.


feat(release): Add bump version script

This automatically bumps what is in pyproject.toml, and craft needs it

hmmm I want to add auto newline formatting, I keep forgetting to commit those


Regional steps output variables availability

We have a scenario where we need to access regional step's output named 'foo' in the following step which runs only in primary region. It would be handy if we can get hold of collection of 'foo' output variable generated from each regional step or output prefixed with region name and passed on to following step.
Ex:- stepname_foo = ['bar','bar2']
Ex:- stepname_regionname_foo = "bar"

This wouldn't be possible in current flow as all primary step deployments execute prior to the first regional step deployment.
What is the use case?

Agreed! We want to use the output variables generated in regional step in the next step but not in the same step.
For instance, step1(foo) regional output variables availability in step2 (bar).
├── step1_foo
├──--- regional
├──--------.tf
├── step2_bar
├──------.tf

Do you mind sharing the use case in regards to what you are trying to accomplish from a cloud perspective?


Fix Sketch Page Size Limitation

Explanation
While scrolling down, the size of the canvas seems to be limited (w.r.t the length of the toolbar on the left). Ideally, it should be possible to draw on the entire screen.
Sample Snapshot

NOTE: If you don't know how to fix this, do not comment "I am interested"

@smaranjitghose  I want to work on this

Can, I work on this issue ??

@smaranjitghose I want to work on this

Assigned for 2 days

@smaranjitghose can I work on this?

@smaranjitghose please assign me this also

@smaranjitghose is this already fixed if not how to reproduce it please tell me

@smaranjitghose please reply


Configure the execution window to embed directly in the debug view instead of separate window

This issue has been moved from a ticket on Developer Community.

When debugging python programs, always automatically open a new window, it looks bad, can you add this function: when debugging Python programs, you can open a python execution window directly in the DEBUG view of the VS IDE window, do not open a separate Python execution window, just like in VSCode.

Original Comments
Feedback Bot on 12/30/2021, 01:13 AM:
(private comment, text removed)

The team looked into this awhile ago and VS did not provide support for an integrated terminal, although the debugger itself supports this through DAP spec.
We need to do an up to date investigation to see if VS added support to enable this.


"Connection refused" integTest failures

I have failing integration tests because the exception message of org.apache.http.conn.HttpHostConnectException has changed for some reason. I don't know whether that reason is Java 8u112, macOS 10.12.1 or apache.http.
The output in question now looks like this
org.gradle.api.UncheckedIOException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:54268 [localhost/<IP_ADDRESS>, localhost/0:0:0:0:0:0:0:1, localhost/fe80:0:0:0:0:0:0:1%1] failed: Connection refused (Connection refused)
instead of either
org.gradle.api.UncheckedIOException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:54268 [localhost/<IP_ADDRESS>, localhost/0:0:0:0:0:0:0:1, localhost/fe80:0:0:0:0:0:0:1%1] failed: Connection refused
or
org.gradle.api.UncheckedIOException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:54268 [localhost/<IP_ADDRESS>, localhost/0:0:0:0:0:0:0:1, localhost/fe80:0:0:0:0:0:0:1%1] failed: Connection refused: connect
which the current regex could handle.
Expected Behavior

The integration tests should not fail.

Current Behavior

The following integration tests fail:

org.gradle.api.publish.ivy.IvyPublishHttpIntegTest

"reports failure publishing to HTTP repository"

org.gradle.integtests.publish.ivy.IvyHttpPublishIntegrationTest

reportsFailedPublishToHttpRepository

org.gradle.plugin.use.resolve.service.PluginResolutionServiceCommsIntegrationTest

"non contactable resolution service produces error"
"non contactable dependency repository produces error"

The regex used to check the message should be altered. It currently contains the following string:
Connection refused(: connect)?
This should be changed to either
Connection refused.* (relaxing the checking)
or
Connection refused(: connect|\\ \\(Connection refused\\))? (adding my current output to the set of valid outputs).
Context

I'm currently trying to ensure that #699 won't break your integration tests. That PR extends GradleExecuter in such a way that you either have to declare incubation warnings or say that you aren't interested in them - similar to the way deprecation warnings are currently handled already. This is guaranteed to break all integration tests of incubating features and I want to include the proper fix for those broken tests in my PR - because otherwise you probably won't like my PR very much.
To achieve this, I need working integration tests to begin with.

Steps to Reproduce (for bugs)

Execute ./gradlew check in the root of the gradle repository with my environment.

Your Environment
------------------------------------------------------------
Gradle 3.3-20161025000042+0000
------------------------------------------------------------

Build time:   2016-10-25 00:00:42 UTC
Revision:     2b77833dc5c3eb654e051913e78967cfcace8345

Groovy:       2.4.7
Ant:          Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM:          1.8.0_112 (Oracle Corporation 25.112-b16)
OS:           Mac OS X 10.12.1 x86_64

Should I close this issue or will you do it once this has been in a release?

Cards are closed when users get the benefit, so I think this can be closed
immediately. Thanks!
On Fri, Nov 18, 2016 at 2:21 AM Jörn Huxhorn<EMAIL_ADDRESS>wrote:

Should I close this issue or will you do it once this has been in a
release?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/gradle/gradle/issues/788#issuecomment-261485254, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AADJTuHPNfzGCcupTgOhA61cFDeREgI4ks5q_W4sgaJpZM4Km-UY
.


Web UI not showing

I Installed it backstage on my local machine but the web UI not working

Actual Behavior
backstage installing and it runs without showing any error when i try to open the web portal in the port 3000
it shows " This site can't be reached "

Steps to Reproduce

Step 1
Step 2
...

Context

Your Environment
I'm using Ubuntu 22 server edition

Browser Information:

Output of yarn backstage-cli info:

$ /home/lab/backstage/node_modules/.bin/backstage-cli info
OS:   Linux 5.15.0-25-generic - linux/x64
node: v14.17.0
yarn: 1.22.19
cli:  0.18.0 (installed)

Dependencies:
  @backstage/app-defaults                          1.0.4
  @backstage/backend-common                        0.14.1
  @backstage/backend-plugin-api                    0.1.0
  @backstage/backend-tasks                         0.3.3
  @backstage/catalog-client                        1.0.4
  @backstage/catalog-model                         1.1.0
  @backstage/cli-common                            0.1.9
  @backstage/cli                                   0.18.0
  @backstage/config-loader                         1.1.3
  @backstage/config                                1.0.1
  @backstage/core-app-api                          1.0.4
  @backstage/core-components                       0.10.0
  @backstage/core-plugin-api                       1.0.4
  @backstage/errors                                1.1.0
  @backstage/integration-react                     1.1.2
  @backstage/integration                           1.2.2
  @backstage/plugin-api-docs                       0.8.7
  @backstage/plugin-app-backend                    0.3.34
  @backstage/plugin-auth-backend                   0.15.0
  @backstage/plugin-auth-node                      0.2.3
  @backstage/plugin-catalog-backend                1.3.0
  @backstage/plugin-catalog-common                 1.0.4
  @backstage/plugin-catalog-graph                  0.2.19
  @backstage/plugin-catalog-import                 0.8.10
  @backstage/plugin-catalog-node                   1.0.0
  @backstage/plugin-catalog-react                  1.1.2
  @backstage/plugin-catalog                        1.4.0
  @backstage/plugin-github-actions                 0.5.7
  @backstage/plugin-org                            0.5.7
  @backstage/plugin-permission-common              0.6.3
  @backstage/plugin-permission-node                0.6.3
  @backstage/plugin-permission-react               0.4.3
  @backstage/plugin-proxy-backend                  0.2.28
  @backstage/plugin-scaffolder-backend             1.4.0
  @backstage/plugin-scaffolder-common              1.1.2
  @backstage/plugin-scaffolder                     1.4.0
  @backstage/plugin-search-backend-module-pg       0.3.5
  @backstage/plugin-search-backend-node            1.0.0
  @backstage/plugin-search-backend                 1.0.0
  @backstage/plugin-search-common                  1.0.0
  @backstage/plugin-search-react                   1.0.0
  @backstage/plugin-search                         1.0.0
  @backstage/plugin-tech-radar                     0.5.14
  @backstage/plugin-techdocs-backend               1.2.0
  @backstage/plugin-techdocs-module-addons-contrib 1.0.2
  @backstage/plugin-techdocs-node                  1.2.0
  @backstage/plugin-techdocs-react                 1.0.2
  @backstage/plugin-techdocs                       1.3.0
  @backstage/plugin-user-settings                  0.4.6
  @backstage/release-manifests                     0.0.5
  @backstage/test-utils                            1.1.2
  @backstage/theme                                 0.2.16
  @backstage/types                                 1.0.0
  @backstage/version-bridge                        1.0.1
Done in 0.52s.

Hi, sorry to hear that. I'm not able to reproduce this myself, would you be able to supply the commands used for starting the backend?
I can yarn start and then once it's fully started reach the website. Please supply the log output.
Also note that yarn start-backend is needed to display some useful data but you should at least see backstage with some errors if you only run yarn start.

yarn start :
'''
:~/backstage$ yarn start
yarn run v1.22.19
$ yarn workspace app start
$ backstage-cli package start
Loaded config from app-config.yaml
fatal: not a git repository (or any of the parent directories): .git
WARNING: Failed to read git commit, ExitCodeError: Command 'git rev-parse HEAD' exited with code 128
fatal: not a git repository (or any of the parent directories): .git
WARNING: Failed to describe git version, ExitCodeError: Command 'git describe --always' exited with code 128
 [webpack-dev-server] "hot: true" automatically applies HMR plugin, you don't have to add it manually to your webpack configuration.
 [webpack-dev-server] Project is running at:
 [webpack-dev-server] Loopback: http://localhost:3000/, http://<IP_ADDRESS>:3000/
 [webpack-dev-server] Content not from webpack is served from '/home/lab/backstage/packages/app/public' directory
 [webpack-dev-server] 404s will fallback to '/index.html'
webpack compiled successfully
'''
yarn start-backend:
'''
:~/backstage$ yarn start
yarn run v1.22.19
$ yarn workspace app start
$ backstage-cli package start
Loaded config from app-config.yaml
fatal: not a git repository (or any of the parent directories): .git
WARNING: Failed to read git commit, ExitCodeError: Command 'git rev-parse HEAD' exited with code 128
fatal: not a git repository (or any of the parent directories): .git
WARNING: Failed to describe git version, ExitCodeError: Command 'git describe --always' exited with code 128
 [webpack-dev-server] "hot: true" automatically applies HMR plugin, you don't have to add it manually to your webpack configuration.
 [webpack-dev-server] Project is running at:
 [webpack-dev-server] Loopback: http://localhost:3000/, http://<IP_ADDRESS>:3000/
 [webpack-dev-server] Content not from webpack is served from '/home/lab/backstage/packages/app/public' directory
 [webpack-dev-server] 404s will fallback to '/index.html'
webpack compiled successfully
'''

Hi, sorry to hear that. I'm not able to reproduce this myself, would you be able to supply the commands used for starting the backend?
I can yarn start and then once it's fully started reach the website. Please supply the log output. Also note that yarn start-backend is needed to display some useful data but you should at least see backstage with some errors if you only run yarn start.

yarn start :
:~/backstage$ yarn start
yarn run v1.22.19
$ yarn workspace app start
$ backstage-cli package start
Loaded config from app-config.yaml
fatal: not a git repository (or any of the parent directories): .git
WARNING: Failed to read git commit, ExitCodeError: Command 'git rev-parse HEAD' exited with code 128
fatal: not a git repository (or any of the parent directories): .git
WARNING: Failed to describe git version, ExitCodeError: Command 'git describe --always' exited with code 128
<w> [webpack-dev-server] "hot: true" automatically applies HMR plugin, you don't have to add it manually to your webpack configuration.
<i> [webpack-dev-server] Project is running at:
<i> [webpack-dev-server] Loopback: http://localhost:3000/, http://<IP_ADDRESS>:3000/
<i> [webpack-dev-server] Content not from webpack is served from '/home/lab/backstage/packages/app/public' directory
<i> [webpack-dev-server] 404s will fallback to '/index.html'
webpack compiled successfully

yarn start-backend:
~/backstage$ yarn start-backend
yarn run v1.22.19
$ yarn workspace backend start
$ backstage-cli package start
Build succeeded
2022-08-12T10:35:23.058Z backstage info Loaded config from app-config.yaml
2022-08-12T10:35:23.068Z backstage info 1 secret found in the config which will be redacted
2022-08-12T10:35:23.079Z backstage info Created UrlReader predicateMux{readers=azure{host=dev.azure.com,authed=false},bitbucketCloud{host=bitbucket.org,authed=false},github{host=github.com,authed=false},gitlab{host=gitlab.com,authed=false},awsS3{host=amazonaws.com,authed=false},fetch{}
2022-08-12T10:35:23.092Z catalog info Performing database migration type=plugin
2022-08-12T10:35:23.187Z auth info Configuring "database" as KeyStore provider type=plugin
2022-08-12T10:35:23.196Z techdocs info Creating Local publisher for TechDocs type=plugin
2022-08-12T10:35:23.200Z proxy info [HPM] Proxy created: /test  -> https://example.com type=plugin
2022-08-12T10:35:23.200Z proxy info [HPM] Proxy rewrite rule created: "^/api/proxy/test/?" ~> "/" type=plugin
2022-08-12T10:35:23.201Z search info Added DefaultCatalogCollatorFactory collator factory for type software-catalog type=plugin
2022-08-12T10:35:23.201Z search info Added DefaultTechDocsCollatorFactory collator factory for type techdocs type=plugin
2022-08-12T10:35:23.202Z search info Starting all scheduled search tasks. type=plugin
2022-08-12T10:35:23.207Z app warn Can't serve static app content from /home/lab/backstage/packages/app/dist/static, directory doesn't exist type=plugin
2022-08-12T10:35:23.209Z backstage info Initializing http server
2022-08-12T10:35:23.210Z backstage info Listening on :7007
2022-08-12T10:35:23.217Z search info Task worker starting: search_index_software_catalog, {"version":2,"cadence":"PT10M","initialDelayDuration":"PT3S","timeoutAfterDuration":"PT15M"} type=taskManager task=search_index_software_catalog
2022-08-12T10:35:23.218Z search info Task worker starting: search_index_techdocs, {"version":2,"cadence":"PT10M","initialDelayDuration":"PT3S","timeoutAfterDuration":"PT15M"} type=taskManager task=search_index_techdocs
2022-08-12T10:35:26.224Z search info Collating documents for software-catalog via DefaultCatalogCollatorFactory type=plugin
2022-08-12T10:35:26.258Z search info Collating documents for techdocs via DefaultTechDocsCollatorFactory type=plugin
2022-08-12T10:35:26.296Z backstage info ::ffff:<IP_ADDRESS> - - [12/Aug/2022:10:35:26 +0000] "GET /api/catalog/entities?filter=metadata.annotations.backstage.io%2Ftechdocs-ref&fields=kind,namespace,metadata.annotations,metadata.name,metadata.title,metadata.namespace,spec.type,spec.lifecycle,relations&offset=0&limit=500 HTTP/1.1" 200 2 "-" "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" type=incomingRequest
2022-08-12T10:35:26.304Z search info Collating documents for techdocs succeeded type=plugin
2022-08-12T10:35:26.307Z backstage info ::ffff:<IP_ADDRESS> - - [12/Aug/2022:10:35:26 +0000] "GET /api/catalog/entities?offset=0&limit=500 HTTP/1.1" 200 - "-" "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" type=incomingRequest
2022-08-12T10:35:26.319Z search info Collating documents for software-catalog succeeded type=plugin

Hmm, I have the same output which as you.
What does curl http://localhost:3000 give you?

Hi @jeevagan1,
Do you just get a blank page? What error do you get in the dev-tools in your browser?
Was facing something similar and then added this to the app-config.yaml and it worked:
csp:
    upgrade-insecure-requests: false
    # connect-src: ["'self'", 'http:', 'https:']
    # Content-Security-Policy directives follow the Helmet format: https://helmetjs.github.io/#reference
    # Default Helmet Content-Security-Policy values can be removed by setting the key to false

I observe the same issue on Safari 16.0:

@jeevagan1 what browser were you using?
This may be due to lack of support of regex lookbehind in Safari:
https://stackoverflow.com/questions/51568821/works-in-chrome-but-breaks-in-safari-invalid-regular-expression-invalid-group
https://caniuse.com/js-regexp-lookbehind

The safari bug has now been fixed in https://github.com/backstage/backstage/pull/13441. Try bumping backstage and see if that resolves the issue

Closing as this should be fixed


Capture scrollable content

For those who are looking for a solution to capture scrollable content, I've created a small solution that I believe with some modifications and improvements, could be a functionality of the library.
The solution is based on AndroidView with a ScrollView with Composable content. The difference is that the captured content is that of the ScrollView, with scrollView.getChildAt(0).height. Since ScrollableCapturable is scrollable by default, it is important not to use other scrollable layouts such as LazyColumn or scrollable Column.
Unfortunately, in my tests, drawToBitmapPostLaidOut() did not work as expected to resolve the problems with network image loading. Despite solving problems with "Software rendering doesn't support hardware bitmaps", the Bitmap image is distorted and the Composable content is not completely captured.
The solution I found for this, which is not really a solution, is to use a different library and test if the problem disappears. In my case, I used the landscapist library (with the glide version) instead of the coil and it worked fine.

ScrollableCapturable:
/**
 * @param controller A [CaptureController] which gives control to capture the [content].
 * @param modifier The [Modifier] to be applied to the layout.
 * @param onCaptured The callback which gives back [Bitmap] after composable is captured.
 * If any error is occurred while capturing bitmap, [Exception] is provided.
 * @param content [Composable] content to be captured.
 *
 * Note: Don't use scrollable layouts such as LazyColumn or scrollable Column. This will cause
 * an error. The content will be scrollable by default, because it's wrapped in a ScrollView.
 */
@Composable
fun ScrollableCapturable(
    modifier: Modifier = Modifier,
    controller: CaptureController,
    onCaptured: (Bitmap?, Throwable?) -> Unit,
    content: @Composable () -> Unit
) {
    AndroidView(
        factory = { context ->
            val scrollView = ScrollView(context)
            val composeView = ComposeView(context).apply {
                setContent {
                    content()
                }
            }
            scrollView.addView(composeView)
            scrollView
        },
        update = { scrollView ->
            if (controller.readyForCapture) {
                // Hide scrollbars for capture
                scrollView.isVerticalScrollBarEnabled = false
                scrollView.isHorizontalScrollBarEnabled = false
                try {
                    val bitmap = loadBitmapFromScrollView(scrollView)
                    onCaptured(bitmap, null)
                } catch (throwable: Throwable) {
                    onCaptured(null, throwable)
                }
                scrollView.isVerticalScrollBarEnabled = true
                scrollView.isHorizontalScrollBarEnabled = true
                controller.captured()
            }
        },
        modifier = modifier
    )
}

/**
 * Need to use view.getChildAt(0).height instead of just view.height,
 * so you can get all ScrollView content.
 */
private fun loadBitmapFromScrollView(scrollView: ScrollView): Bitmap {
    val bitmap = Bitmap.createBitmap(
        scrollView.width,
        scrollView.getChildAt(0).height,
        Bitmap.Config.ARGB_8888
    )
    val canvas = Canvas(bitmap)
    scrollView.draw(canvas)
    return bitmap
}

class CaptureController {
    var readyForCapture by mutableStateOf(false)
        private set

    fun capture() {
        readyForCapture = true
    }

    internal fun captured() {
        readyForCapture = false
    }
}

@Composable
fun rememberCaptureController(): CaptureController {
    return remember { CaptureController() }
}

Example of use:
@Composable
fun CapturableScreen() {
    val captureController = rememberCaptureController()

    Column(modifier = Modifier.fillMaxSize()) {
        ScrollableCapturable(
            controller = captureController,
            onCaptured = { bitmap, error ->
                bitmap?.let {
                    Log.d("Capturable", "Success in capturing.")
                }
                error?.let {
                    Log.d("Capturable", "Error: ${it.message}\n${it.stackTrace.joinToString()}")
                }
            },
            modifier = Modifier.weight(1f)
        ) {
            ScreenContent()
        }

        Button(
            onClick = { captureController.capture() },
            modifier = Modifier.align(Alignment.CenterHorizontally)
        ) {
            Text(text = "Take screenshot")
        }
    }
}

@Composable
private fun ScreenContent() {
    val text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor " +
            "incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis" +
            " nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat." +
            " Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore" +
            " eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt" +
            " in culpa qui officia deserunt mollit anim id est laborum."
    Column(
        verticalArrangement = Arrangement.Center,
        horizontalAlignment = Alignment.CenterHorizontally,
        modifier = Modifier
            .fillMaxSize()
            .background(Color.White)
            .padding(12.dp)
    ) {
        /**
         * When using the "io.coil-kt:coil-compose" library it can cause:
         * java.lang.IllegalArgumentException: Software rendering doesn't support hardware bitmaps
         * You can use "com.github.skydoves:landcapist-glide" to try to solve this.
         */
        GlideImage(
            imageModel = "https://raw.githubusercontent.com/PatilShreyas/Capturable/master/art/header.png",
            modifier = Modifier
                .size(200.dp)
                .clip(RoundedCornerShape(12.dp))
        )

        Spacer(Modifier.height(10.dp))

        for (i in 0..3) {
            Box(
                modifier = Modifier
                    .size(100.dp)
                    .background(Color.Black)
            )
            Spacer(Modifier.height(4.dp))
            Text(
                text = text,
                color = Color.Black,
                fontSize = 18.sp,
            )
        }
    }
}

Screenshots:

@jsericksk Thanks for the solutions. Will see how these can fit in this library

Thanks @jsericksk . you solution worked like charm.

Seems to work.


Hide factory methods of primitive properties

Primitive properties like org.spongepowered.api.data.property.BooleanProperty currently have their of(Object) factory methods set to public. This may cause confusion when people more specific properties such as org.spongepowered.api.data.property.block.SolidCubeProperty, and get confused when they expect the of(Object) method, and others, of that class to work properly.
A suggestion would to make the of(Object) factory methods protected in all primitive properties, and have the specific properties override this method only when they support it. If devs require this method for a generic property that does not yet have a class, a class named like SimpleBooleanProperty can be created that wraps super.of(Object) the current behaviour. There should also be a fromPrimitive() value made that is public, that only accepts that specific primitive, for creating objects to compare (such as with matches()).

This isn't so much of an issue of primitive properties more so than the static methods being their functional equivalents to just calling a constructor. In any case, they can be hidden by simply writing new of() methods for every Property in the Data API.


IPV6_V6ONLY socket option should fail if the socket is bound

On build 14905:
Run the following C++ code:
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <err.h>
#include <errno.h>
#include <stdio.h>

int main(void)
{
    printf("Creating socket\n");
    int s = socket(AF_INET6, SOCK_STREAM, 0);
    if (s < 0)
        err(1, "%d", errno);

    printf("Seting V6ONLY=false\n");
    int v6only = 0;
    if (setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, &v6only, sizeof(v6only)) != 0)
        err(1, "%d", errno);

    printf("Binding socket\n");
    sockaddr_in6 addr;
    addr.sin6_family = AF_INET6;
    addr.sin6_addr = in6addr_any;
    addr.sin6_port = 0;
    addr.sin6_scope_id = 0;
    if (bind(s, (sockaddr*)&addr, sizeof(addr)) != 0)
        err(1, "%d", errno);

    printf("Setting V6ONLY=true.  We expect this to fail with EINVAL\n");
    v6only = 1;
    if (setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, &v6only, sizeof(v6only)) == 0 || errno != EINVAL)
    {
        err(1, "Should have failed with EINVAL, but got %d", errno);
    }

    printf("Success!\n");
    return 0;
}

On Linux, attempting to change IPV6_V6ONLY after the socket is bound results in an EINVAL error.  On Windows, this call returns success.

@ericeil - Thanks for reporting the issue. In essence, this is a dupe of #393 . There are some limitations in the IPV6_V6ONLY WSL implementation and we are working with the networking team to resolve them.

With the help of the Windows networking team, we were able to fully implement the IPV6_V6ONLY flag. That resolves this issue. The fix is still in our dev branch, but should soon hit the release branch.

Just FYI that this is fixed in 14936 (see release notes)

this is fixed in 14936

Great!  I tried validating this with our tests, but running those tests on 14936 seems to result in a BSOD.  I assume this is the same probablem as #1138 (and as mentioned in the release notes for this build).  When that issue is resolved, I will try again.

@ericeil Just a note that 14942 is now available.

Closing this out since this should be now resolved in 14942+.


update genesis files to current state

Update sovrin genesis files (changed too much -> brakes pool update)

Fixes https://github.com/IDunion/indy-did-resolver/issues/28 - currently the sovrin staging can't do a proper pool update anymore with the old genesis file.


The instruction of item on block "join" is not clear

Repro steps:
• Navigate to https://makecode.microbit.org/beta
• Drag blocks as below picture
• Click "setting" on block "join" and move cursor mouse on "item"
Expect result:
The instruction of item should be more clear
Actual result:
The instruction of item is not clear on block "join"

Dupe of https://github.com/Microsoft/pxt-microbit/issues/737


Where is the source of  Depth Map Improvements for Stereo-based Depth Cameras on Drones

Hello,
On this white paper
https://dev.intelrealsense.com/docs/depth-map-improvements-for-stereo-based-depth-cameras-on-drones#section-references
They make reference to the source code:
Our highly optimized algorithms for post-processing are released as open source under https://github.com/IntelRealSense/librealsense.
Where is the code ?
The only post-processing code I see is here:
https://github.com/IntelRealSense/librealsense/tree/master/examples/post-processing
And I cannot relate this to the  paper.

Files for the various filter types can be found in the proc folder of Librealsense.
https://github.com/IntelRealSense/librealsense/tree/master/src/proc

@patrickpoirier51 , the demo you mention is one of the examples that utilizes post-processing filters.
To see the source code follow the link provided by @MartyG-RealSense.
But before delving into the code I would suggest to go through its documentation

Thanks for quick response
The white paper refers to different techniques based on openCV , maybe @dorodnic can answer as he is one of the authors

Hi @patrickpoirier51
I placed the implementation under wrappers/opencv/depth-filter
Sorry its not easy to find, feel free to ask any question about the code

@dorodnic  ah cool thanks
Maybe you could a direct reference on the white paper ?
Regards

@dorodnic  I do have a question:
Did you implemented this technique to the flight controler stack for onboard navigation ?
If so, how did you extract information to sent to Flight Controller?
Regards

Tagging @dorodnic as a reminder to kindly provide input for the two questions above from @patrickpoirier51  - thanks!

Hi @patrickpoirier51
Thanks @MartyG-RealSense , I apologise for late response.
I've updated the link in the white-paper.
Unfortunately, I cannot answer your second question - my contribution to this project was limited to camera software.

Case closed due to no further comments received.  Thanks everyone!


Reuse utils, methods and classes across gMLP and TabTransformer implementations.

Currently utility functions such as exists = lambda val : val is not None and block classes - PreNorm, Residual, etc. are present in both g_mlp.py, gated_tab_transformer.py.

https://github.com/radi-cho/GatedTabTransformer/commit/5dcaf0a0d6398bf9004c7441fe9367e72b9fa426